// Generated by the protocol buffer compiler. DO NOT EDIT!
|
// source: rt_event_common.proto
|
|
package com.xiaopeng.api.vo.automaticPilot.protobuf;
|
|
/**
|
* Protobuf type {@code acm.proto.intelliservices.rt.TaskRunningStateEvent}
|
*/
|
public final class TaskRunningStateEvent extends
|
com.google.protobuf.GeneratedMessageV3 implements
|
// @@protoc_insertion_point(message_implements:acm.proto.intelliservices.rt.TaskRunningStateEvent)
|
TaskRunningStateEventOrBuilder {
|
private static final long serialVersionUID = 0L;
|
// Use TaskRunningStateEvent.newBuilder() to construct.
|
private TaskRunningStateEvent(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
super(builder);
|
}
|
private TaskRunningStateEvent() {
|
eventType_ = 0;
|
}
|
|
@Override
|
@SuppressWarnings({"unused"})
|
protected Object newInstance(
|
UnusedPrivateParameter unused) {
|
return new TaskRunningStateEvent();
|
}
|
|
@Override
|
public final com.google.protobuf.UnknownFieldSet
|
getUnknownFields() {
|
return this.unknownFields;
|
}
|
private TaskRunningStateEvent(
|
com.google.protobuf.CodedInputStream input,
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
this();
|
if (extensionRegistry == null) {
|
throw new NullPointerException();
|
}
|
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
com.google.protobuf.UnknownFieldSet.newBuilder();
|
try {
|
boolean done = false;
|
while (!done) {
|
int tag = input.readTag();
|
switch (tag) {
|
case 0:
|
done = true;
|
break;
|
case 8: {
|
int rawValue = input.readEnum();
|
|
eventType_ = rawValue;
|
break;
|
}
|
case 18: {
|
TaskRunningState.Builder subBuilder = null;
|
if (taskRunningState_ != null) {
|
subBuilder = taskRunningState_.toBuilder();
|
}
|
taskRunningState_ = input.readMessage(TaskRunningState.parser(), extensionRegistry);
|
if (subBuilder != null) {
|
subBuilder.mergeFrom(taskRunningState_);
|
taskRunningState_ = subBuilder.buildPartial();
|
}
|
|
break;
|
}
|
case 26: {
|
Waypoint.Builder subBuilder = null;
|
if (point_ != null) {
|
subBuilder = point_.toBuilder();
|
}
|
point_ = input.readMessage(Waypoint.parser(), extensionRegistry);
|
if (subBuilder != null) {
|
subBuilder.mergeFrom(point_);
|
point_ = subBuilder.buildPartial();
|
}
|
|
break;
|
}
|
case 32: {
|
|
timestamp_ = input.readInt64();
|
break;
|
}
|
default: {
|
if (!parseUnknownField(
|
input, unknownFields, extensionRegistry, tag)) {
|
done = true;
|
}
|
break;
|
}
|
}
|
}
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
throw e.setUnfinishedMessage(this);
|
} catch (java.io.IOException e) {
|
throw new com.google.protobuf.InvalidProtocolBufferException(
|
e).setUnfinishedMessage(this);
|
} finally {
|
this.unknownFields = unknownFields.build();
|
makeExtensionsImmutable();
|
}
|
}
|
public static final com.google.protobuf.Descriptors.Descriptor
|
getDescriptor() {
|
return RtEventCommon.internal_static_acm_proto_intelliservices_rt_TaskRunningStateEvent_descriptor;
|
}
|
|
@Override
|
protected FieldAccessorTable
|
internalGetFieldAccessorTable() {
|
return RtEventCommon.internal_static_acm_proto_intelliservices_rt_TaskRunningStateEvent_fieldAccessorTable
|
.ensureFieldAccessorsInitialized(
|
TaskRunningStateEvent.class, Builder.class);
|
}
|
|
public static final int EVENT_TYPE_FIELD_NUMBER = 1;
|
private int eventType_;
|
/**
|
* <code>.acm.proto.intelliservices.rt.RtEventType event_type = 1;</code>
|
* @return The enum numeric value on the wire for eventType.
|
*/
|
@Override public int getEventTypeValue() {
|
return eventType_;
|
}
|
/**
|
* <code>.acm.proto.intelliservices.rt.RtEventType event_type = 1;</code>
|
* @return The eventType.
|
*/
|
@Override public RtEventType getEventType() {
|
@SuppressWarnings("deprecation")
|
RtEventType result = RtEventType.valueOf(eventType_);
|
return result == null ? RtEventType.UNRECOGNIZED : result;
|
}
|
|
public static final int TASK_RUNNING_STATE_FIELD_NUMBER = 2;
|
private TaskRunningState taskRunningState_;
|
/**
|
* <code>.acm.proto.intelliservices.rt.TaskRunningState task_running_state = 2;</code>
|
* @return Whether the taskRunningState field is set.
|
*/
|
@Override
|
public boolean hasTaskRunningState() {
|
return taskRunningState_ != null;
|
}
|
/**
|
* <code>.acm.proto.intelliservices.rt.TaskRunningState task_running_state = 2;</code>
|
* @return The taskRunningState.
|
*/
|
@Override
|
public TaskRunningState getTaskRunningState() {
|
return taskRunningState_ == null ? TaskRunningState.getDefaultInstance() : taskRunningState_;
|
}
|
/**
|
* <code>.acm.proto.intelliservices.rt.TaskRunningState task_running_state = 2;</code>
|
*/
|
@Override
|
public TaskRunningStateOrBuilder getTaskRunningStateOrBuilder() {
|
return getTaskRunningState();
|
}
|
|
public static final int POINT_FIELD_NUMBER = 3;
|
private Waypoint point_;
|
/**
|
* <pre>
|
*事件发生的点位
|
* </pre>
|
*
|
* <code>.acm.proto.intelliservices.rt.Waypoint point = 3;</code>
|
* @return Whether the point field is set.
|
*/
|
@Override
|
public boolean hasPoint() {
|
return point_ != null;
|
}
|
/**
|
* <pre>
|
*事件发生的点位
|
* </pre>
|
*
|
* <code>.acm.proto.intelliservices.rt.Waypoint point = 3;</code>
|
* @return The point.
|
*/
|
@Override
|
public Waypoint getPoint() {
|
return point_ == null ? Waypoint.getDefaultInstance() : point_;
|
}
|
/**
|
* <pre>
|
*事件发生的点位
|
* </pre>
|
*
|
* <code>.acm.proto.intelliservices.rt.Waypoint point = 3;</code>
|
*/
|
@Override
|
public WaypointOrBuilder getPointOrBuilder() {
|
return getPoint();
|
}
|
|
public static final int TIMESTAMP_FIELD_NUMBER = 4;
|
private long timestamp_;
|
/**
|
* <pre>
|
* 时间戳(毫秒)
|
* </pre>
|
*
|
* <code>int64 timestamp = 4;</code>
|
* @return The timestamp.
|
*/
|
@Override
|
public long getTimestamp() {
|
return timestamp_;
|
}
|
|
private byte memoizedIsInitialized = -1;
|
@Override
|
public final boolean isInitialized() {
|
byte isInitialized = memoizedIsInitialized;
|
if (isInitialized == 1) return true;
|
if (isInitialized == 0) return false;
|
|
memoizedIsInitialized = 1;
|
return true;
|
}
|
|
@Override
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
throws java.io.IOException {
|
if (eventType_ != RtEventType.kEventUnspecified.getNumber()) {
|
output.writeEnum(1, eventType_);
|
}
|
if (taskRunningState_ != null) {
|
output.writeMessage(2, getTaskRunningState());
|
}
|
if (point_ != null) {
|
output.writeMessage(3, getPoint());
|
}
|
if (timestamp_ != 0L) {
|
output.writeInt64(4, timestamp_);
|
}
|
unknownFields.writeTo(output);
|
}
|
|
@Override
|
public int getSerializedSize() {
|
int size = memoizedSize;
|
if (size != -1) return size;
|
|
size = 0;
|
if (eventType_ != RtEventType.kEventUnspecified.getNumber()) {
|
size += com.google.protobuf.CodedOutputStream
|
.computeEnumSize(1, eventType_);
|
}
|
if (taskRunningState_ != null) {
|
size += com.google.protobuf.CodedOutputStream
|
.computeMessageSize(2, getTaskRunningState());
|
}
|
if (point_ != null) {
|
size += com.google.protobuf.CodedOutputStream
|
.computeMessageSize(3, getPoint());
|
}
|
if (timestamp_ != 0L) {
|
size += com.google.protobuf.CodedOutputStream
|
.computeInt64Size(4, timestamp_);
|
}
|
size += unknownFields.getSerializedSize();
|
memoizedSize = size;
|
return size;
|
}
|
|
@Override
|
public boolean equals(final Object obj) {
|
if (obj == this) {
|
return true;
|
}
|
if (!(obj instanceof TaskRunningStateEvent)) {
|
return super.equals(obj);
|
}
|
TaskRunningStateEvent other = (TaskRunningStateEvent) obj;
|
|
if (eventType_ != other.eventType_) return false;
|
if (hasTaskRunningState() != other.hasTaskRunningState()) return false;
|
if (hasTaskRunningState()) {
|
if (!getTaskRunningState()
|
.equals(other.getTaskRunningState())) return false;
|
}
|
if (hasPoint() != other.hasPoint()) return false;
|
if (hasPoint()) {
|
if (!getPoint()
|
.equals(other.getPoint())) return false;
|
}
|
if (getTimestamp()
|
!= other.getTimestamp()) return false;
|
if (!unknownFields.equals(other.unknownFields)) return false;
|
return true;
|
}
|
|
@Override
|
public int hashCode() {
|
if (memoizedHashCode != 0) {
|
return memoizedHashCode;
|
}
|
int hash = 41;
|
hash = (19 * hash) + getDescriptor().hashCode();
|
hash = (37 * hash) + EVENT_TYPE_FIELD_NUMBER;
|
hash = (53 * hash) + eventType_;
|
if (hasTaskRunningState()) {
|
hash = (37 * hash) + TASK_RUNNING_STATE_FIELD_NUMBER;
|
hash = (53 * hash) + getTaskRunningState().hashCode();
|
}
|
if (hasPoint()) {
|
hash = (37 * hash) + POINT_FIELD_NUMBER;
|
hash = (53 * hash) + getPoint().hashCode();
|
}
|
hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER;
|
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
getTimestamp());
|
hash = (29 * hash) + unknownFields.hashCode();
|
memoizedHashCode = hash;
|
return hash;
|
}
|
|
public static TaskRunningStateEvent parseFrom(
|
java.nio.ByteBuffer data)
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
return PARSER.parseFrom(data);
|
}
|
public static TaskRunningStateEvent parseFrom(
|
java.nio.ByteBuffer data,
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
return PARSER.parseFrom(data, extensionRegistry);
|
}
|
public static TaskRunningStateEvent parseFrom(
|
com.google.protobuf.ByteString data)
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
return PARSER.parseFrom(data);
|
}
|
public static TaskRunningStateEvent parseFrom(
|
com.google.protobuf.ByteString data,
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
return PARSER.parseFrom(data, extensionRegistry);
|
}
|
public static TaskRunningStateEvent parseFrom(byte[] data)
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
return PARSER.parseFrom(data);
|
}
|
public static TaskRunningStateEvent parseFrom(
|
byte[] data,
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
return PARSER.parseFrom(data, extensionRegistry);
|
}
|
public static TaskRunningStateEvent parseFrom(java.io.InputStream input)
|
throws java.io.IOException {
|
return com.google.protobuf.GeneratedMessageV3
|
.parseWithIOException(PARSER, input);
|
}
|
public static TaskRunningStateEvent parseFrom(
|
java.io.InputStream input,
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
throws java.io.IOException {
|
return com.google.protobuf.GeneratedMessageV3
|
.parseWithIOException(PARSER, input, extensionRegistry);
|
}
|
public static TaskRunningStateEvent parseDelimitedFrom(java.io.InputStream input)
|
throws java.io.IOException {
|
return com.google.protobuf.GeneratedMessageV3
|
.parseDelimitedWithIOException(PARSER, input);
|
}
|
public static TaskRunningStateEvent parseDelimitedFrom(
|
java.io.InputStream input,
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
throws java.io.IOException {
|
return com.google.protobuf.GeneratedMessageV3
|
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
|
}
|
public static TaskRunningStateEvent parseFrom(
|
com.google.protobuf.CodedInputStream input)
|
throws java.io.IOException {
|
return com.google.protobuf.GeneratedMessageV3
|
.parseWithIOException(PARSER, input);
|
}
|
public static TaskRunningStateEvent parseFrom(
|
com.google.protobuf.CodedInputStream input,
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
throws java.io.IOException {
|
return com.google.protobuf.GeneratedMessageV3
|
.parseWithIOException(PARSER, input, extensionRegistry);
|
}
|
|
@Override
|
public Builder newBuilderForType() { return newBuilder(); }
|
public static Builder newBuilder() {
|
return DEFAULT_INSTANCE.toBuilder();
|
}
|
public static Builder newBuilder(TaskRunningStateEvent prototype) {
|
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
}
|
@Override
|
public Builder toBuilder() {
|
return this == DEFAULT_INSTANCE
|
? new Builder() : new Builder().mergeFrom(this);
|
}
|
|
@Override
|
protected Builder newBuilderForType(
|
BuilderParent parent) {
|
Builder builder = new Builder(parent);
|
return builder;
|
}
|
/**
|
* Protobuf type {@code acm.proto.intelliservices.rt.TaskRunningStateEvent}
|
*/
|
public static final class Builder extends
|
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
// @@protoc_insertion_point(builder_implements:acm.proto.intelliservices.rt.TaskRunningStateEvent)
|
TaskRunningStateEventOrBuilder {
|
public static final com.google.protobuf.Descriptors.Descriptor
|
getDescriptor() {
|
return RtEventCommon.internal_static_acm_proto_intelliservices_rt_TaskRunningStateEvent_descriptor;
|
}
|
|
@Override
|
protected FieldAccessorTable
|
internalGetFieldAccessorTable() {
|
return RtEventCommon.internal_static_acm_proto_intelliservices_rt_TaskRunningStateEvent_fieldAccessorTable
|
.ensureFieldAccessorsInitialized(
|
TaskRunningStateEvent.class, Builder.class);
|
}
|
|
// Construct using com.xiaopeng.api.vo.automaticPilot.protobuf.TaskRunningStateEvent.newBuilder()
|
private Builder() {
|
maybeForceBuilderInitialization();
|
}
|
|
private Builder(
|
BuilderParent parent) {
|
super(parent);
|
maybeForceBuilderInitialization();
|
}
|
private void maybeForceBuilderInitialization() {
|
if (com.google.protobuf.GeneratedMessageV3
|
.alwaysUseFieldBuilders) {
|
}
|
}
|
@Override
|
public Builder clear() {
|
super.clear();
|
eventType_ = 0;
|
|
if (taskRunningStateBuilder_ == null) {
|
taskRunningState_ = null;
|
} else {
|
taskRunningState_ = null;
|
taskRunningStateBuilder_ = null;
|
}
|
if (pointBuilder_ == null) {
|
point_ = null;
|
} else {
|
point_ = null;
|
pointBuilder_ = null;
|
}
|
timestamp_ = 0L;
|
|
return this;
|
}
|
|
@Override
|
public com.google.protobuf.Descriptors.Descriptor
|
getDescriptorForType() {
|
return RtEventCommon.internal_static_acm_proto_intelliservices_rt_TaskRunningStateEvent_descriptor;
|
}
|
|
@Override
|
public TaskRunningStateEvent getDefaultInstanceForType() {
|
return TaskRunningStateEvent.getDefaultInstance();
|
}
|
|
@Override
|
public TaskRunningStateEvent build() {
|
TaskRunningStateEvent result = buildPartial();
|
if (!result.isInitialized()) {
|
throw newUninitializedMessageException(result);
|
}
|
return result;
|
}
|
|
@Override
|
public TaskRunningStateEvent buildPartial() {
|
TaskRunningStateEvent result = new TaskRunningStateEvent(this);
|
result.eventType_ = eventType_;
|
if (taskRunningStateBuilder_ == null) {
|
result.taskRunningState_ = taskRunningState_;
|
} else {
|
result.taskRunningState_ = taskRunningStateBuilder_.build();
|
}
|
if (pointBuilder_ == null) {
|
result.point_ = point_;
|
} else {
|
result.point_ = pointBuilder_.build();
|
}
|
result.timestamp_ = timestamp_;
|
onBuilt();
|
return result;
|
}
|
|
@Override
|
public Builder clone() {
|
return super.clone();
|
}
|
@Override
|
public Builder setField(
|
com.google.protobuf.Descriptors.FieldDescriptor field,
|
Object value) {
|
return super.setField(field, value);
|
}
|
@Override
|
public Builder clearField(
|
com.google.protobuf.Descriptors.FieldDescriptor field) {
|
return super.clearField(field);
|
}
|
@Override
|
public Builder clearOneof(
|
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
|
return super.clearOneof(oneof);
|
}
|
@Override
|
public Builder setRepeatedField(
|
com.google.protobuf.Descriptors.FieldDescriptor field,
|
int index, Object value) {
|
return super.setRepeatedField(field, index, value);
|
}
|
@Override
|
public Builder addRepeatedField(
|
com.google.protobuf.Descriptors.FieldDescriptor field,
|
Object value) {
|
return super.addRepeatedField(field, value);
|
}
|
@Override
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
if (other instanceof TaskRunningStateEvent) {
|
return mergeFrom((TaskRunningStateEvent)other);
|
} else {
|
super.mergeFrom(other);
|
return this;
|
}
|
}
|
|
public Builder mergeFrom(TaskRunningStateEvent other) {
|
if (other == TaskRunningStateEvent.getDefaultInstance()) return this;
|
if (other.eventType_ != 0) {
|
setEventTypeValue(other.getEventTypeValue());
|
}
|
if (other.hasTaskRunningState()) {
|
mergeTaskRunningState(other.getTaskRunningState());
|
}
|
if (other.hasPoint()) {
|
mergePoint(other.getPoint());
|
}
|
if (other.getTimestamp() != 0L) {
|
setTimestamp(other.getTimestamp());
|
}
|
this.mergeUnknownFields(other.unknownFields);
|
onChanged();
|
return this;
|
}
|
|
@Override
|
public final boolean isInitialized() {
|
return true;
|
}
|
|
@Override
|
public Builder mergeFrom(
|
com.google.protobuf.CodedInputStream input,
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
throws java.io.IOException {
|
TaskRunningStateEvent parsedMessage = null;
|
try {
|
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
parsedMessage = (TaskRunningStateEvent) e.getUnfinishedMessage();
|
throw e.unwrapIOException();
|
} finally {
|
if (parsedMessage != null) {
|
mergeFrom(parsedMessage);
|
}
|
}
|
return this;
|
}
|
|
private int eventType_ = 0;
|
/**
|
* <code>.acm.proto.intelliservices.rt.RtEventType event_type = 1;</code>
|
* @return The enum numeric value on the wire for eventType.
|
*/
|
@Override public int getEventTypeValue() {
|
return eventType_;
|
}
|
/**
|
* <code>.acm.proto.intelliservices.rt.RtEventType event_type = 1;</code>
|
* @param value The enum numeric value on the wire for eventType to set.
|
* @return This builder for chaining.
|
*/
|
public Builder setEventTypeValue(int value) {
|
|
eventType_ = value;
|
onChanged();
|
return this;
|
}
|
/**
|
* <code>.acm.proto.intelliservices.rt.RtEventType event_type = 1;</code>
|
* @return The eventType.
|
*/
|
@Override
|
public RtEventType getEventType() {
|
@SuppressWarnings("deprecation")
|
RtEventType result = RtEventType.valueOf(eventType_);
|
return result == null ? RtEventType.UNRECOGNIZED : result;
|
}
|
/**
|
* <code>.acm.proto.intelliservices.rt.RtEventType event_type = 1;</code>
|
* @param value The eventType to set.
|
* @return This builder for chaining.
|
*/
|
public Builder setEventType(RtEventType value) {
|
if (value == null) {
|
throw new NullPointerException();
|
}
|
|
eventType_ = value.getNumber();
|
onChanged();
|
return this;
|
}
|
/**
|
* <code>.acm.proto.intelliservices.rt.RtEventType event_type = 1;</code>
|
* @return This builder for chaining.
|
*/
|
public Builder clearEventType() {
|
|
eventType_ = 0;
|
onChanged();
|
return this;
|
}
|
|
private TaskRunningState taskRunningState_;
|
private com.google.protobuf.SingleFieldBuilderV3<
|
TaskRunningState, TaskRunningState.Builder, TaskRunningStateOrBuilder> taskRunningStateBuilder_;
|
/**
|
* <code>.acm.proto.intelliservices.rt.TaskRunningState task_running_state = 2;</code>
|
* @return Whether the taskRunningState field is set.
|
*/
|
public boolean hasTaskRunningState() {
|
return taskRunningStateBuilder_ != null || taskRunningState_ != null;
|
}
|
/**
|
* <code>.acm.proto.intelliservices.rt.TaskRunningState task_running_state = 2;</code>
|
* @return The taskRunningState.
|
*/
|
public TaskRunningState getTaskRunningState() {
|
if (taskRunningStateBuilder_ == null) {
|
return taskRunningState_ == null ? TaskRunningState.getDefaultInstance() : taskRunningState_;
|
} else {
|
return taskRunningStateBuilder_.getMessage();
|
}
|
}
|
/**
|
* <code>.acm.proto.intelliservices.rt.TaskRunningState task_running_state = 2;</code>
|
*/
|
public Builder setTaskRunningState(TaskRunningState value) {
|
if (taskRunningStateBuilder_ == null) {
|
if (value == null) {
|
throw new NullPointerException();
|
}
|
taskRunningState_ = value;
|
onChanged();
|
} else {
|
taskRunningStateBuilder_.setMessage(value);
|
}
|
|
return this;
|
}
|
/**
|
* <code>.acm.proto.intelliservices.rt.TaskRunningState task_running_state = 2;</code>
|
*/
|
public Builder setTaskRunningState(
|
TaskRunningState.Builder builderForValue) {
|
if (taskRunningStateBuilder_ == null) {
|
taskRunningState_ = builderForValue.build();
|
onChanged();
|
} else {
|
taskRunningStateBuilder_.setMessage(builderForValue.build());
|
}
|
|
return this;
|
}
|
/**
|
* <code>.acm.proto.intelliservices.rt.TaskRunningState task_running_state = 2;</code>
|
*/
|
public Builder mergeTaskRunningState(TaskRunningState value) {
|
if (taskRunningStateBuilder_ == null) {
|
if (taskRunningState_ != null) {
|
taskRunningState_ =
|
TaskRunningState.newBuilder(taskRunningState_).mergeFrom(value).buildPartial();
|
} else {
|
taskRunningState_ = value;
|
}
|
onChanged();
|
} else {
|
taskRunningStateBuilder_.mergeFrom(value);
|
}
|
|
return this;
|
}
|
/**
|
* <code>.acm.proto.intelliservices.rt.TaskRunningState task_running_state = 2;</code>
|
*/
|
public Builder clearTaskRunningState() {
|
if (taskRunningStateBuilder_ == null) {
|
taskRunningState_ = null;
|
onChanged();
|
} else {
|
taskRunningState_ = null;
|
taskRunningStateBuilder_ = null;
|
}
|
|
return this;
|
}
|
/**
|
* <code>.acm.proto.intelliservices.rt.TaskRunningState task_running_state = 2;</code>
|
*/
|
public TaskRunningState.Builder getTaskRunningStateBuilder() {
|
|
onChanged();
|
return getTaskRunningStateFieldBuilder().getBuilder();
|
}
|
/**
|
* <code>.acm.proto.intelliservices.rt.TaskRunningState task_running_state = 2;</code>
|
*/
|
public TaskRunningStateOrBuilder getTaskRunningStateOrBuilder() {
|
if (taskRunningStateBuilder_ != null) {
|
return taskRunningStateBuilder_.getMessageOrBuilder();
|
} else {
|
return taskRunningState_ == null ?
|
TaskRunningState.getDefaultInstance() : taskRunningState_;
|
}
|
}
|
/**
|
* <code>.acm.proto.intelliservices.rt.TaskRunningState task_running_state = 2;</code>
|
*/
|
private com.google.protobuf.SingleFieldBuilderV3<
|
TaskRunningState, TaskRunningState.Builder, TaskRunningStateOrBuilder>
|
getTaskRunningStateFieldBuilder() {
|
if (taskRunningStateBuilder_ == null) {
|
taskRunningStateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
TaskRunningState, TaskRunningState.Builder, TaskRunningStateOrBuilder>(
|
getTaskRunningState(),
|
getParentForChildren(),
|
isClean());
|
taskRunningState_ = null;
|
}
|
return taskRunningStateBuilder_;
|
}
|
|
private Waypoint point_;
|
private com.google.protobuf.SingleFieldBuilderV3<
|
Waypoint, Waypoint.Builder, WaypointOrBuilder> pointBuilder_;
|
/**
|
* <pre>
|
*事件发生的点位
|
* </pre>
|
*
|
* <code>.acm.proto.intelliservices.rt.Waypoint point = 3;</code>
|
* @return Whether the point field is set.
|
*/
|
public boolean hasPoint() {
|
return pointBuilder_ != null || point_ != null;
|
}
|
/**
|
* <pre>
|
*事件发生的点位
|
* </pre>
|
*
|
* <code>.acm.proto.intelliservices.rt.Waypoint point = 3;</code>
|
* @return The point.
|
*/
|
public Waypoint getPoint() {
|
if (pointBuilder_ == null) {
|
return point_ == null ? Waypoint.getDefaultInstance() : point_;
|
} else {
|
return pointBuilder_.getMessage();
|
}
|
}
|
/**
|
* <pre>
|
*事件发生的点位
|
* </pre>
|
*
|
* <code>.acm.proto.intelliservices.rt.Waypoint point = 3;</code>
|
*/
|
public Builder setPoint(Waypoint value) {
|
if (pointBuilder_ == null) {
|
if (value == null) {
|
throw new NullPointerException();
|
}
|
point_ = value;
|
onChanged();
|
} else {
|
pointBuilder_.setMessage(value);
|
}
|
|
return this;
|
}
|
/**
|
* <pre>
|
*事件发生的点位
|
* </pre>
|
*
|
* <code>.acm.proto.intelliservices.rt.Waypoint point = 3;</code>
|
*/
|
public Builder setPoint(
|
Waypoint.Builder builderForValue) {
|
if (pointBuilder_ == null) {
|
point_ = builderForValue.build();
|
onChanged();
|
} else {
|
pointBuilder_.setMessage(builderForValue.build());
|
}
|
|
return this;
|
}
|
/**
|
* <pre>
|
*事件发生的点位
|
* </pre>
|
*
|
* <code>.acm.proto.intelliservices.rt.Waypoint point = 3;</code>
|
*/
|
public Builder mergePoint(Waypoint value) {
|
if (pointBuilder_ == null) {
|
if (point_ != null) {
|
point_ =
|
Waypoint.newBuilder(point_).mergeFrom(value).buildPartial();
|
} else {
|
point_ = value;
|
}
|
onChanged();
|
} else {
|
pointBuilder_.mergeFrom(value);
|
}
|
|
return this;
|
}
|
/**
|
* <pre>
|
*事件发生的点位
|
* </pre>
|
*
|
* <code>.acm.proto.intelliservices.rt.Waypoint point = 3;</code>
|
*/
|
public Builder clearPoint() {
|
if (pointBuilder_ == null) {
|
point_ = null;
|
onChanged();
|
} else {
|
point_ = null;
|
pointBuilder_ = null;
|
}
|
|
return this;
|
}
|
/**
|
* <pre>
|
*事件发生的点位
|
* </pre>
|
*
|
* <code>.acm.proto.intelliservices.rt.Waypoint point = 3;</code>
|
*/
|
public Waypoint.Builder getPointBuilder() {
|
|
onChanged();
|
return getPointFieldBuilder().getBuilder();
|
}
|
/**
|
* <pre>
|
*事件发生的点位
|
* </pre>
|
*
|
* <code>.acm.proto.intelliservices.rt.Waypoint point = 3;</code>
|
*/
|
public WaypointOrBuilder getPointOrBuilder() {
|
if (pointBuilder_ != null) {
|
return pointBuilder_.getMessageOrBuilder();
|
} else {
|
return point_ == null ?
|
Waypoint.getDefaultInstance() : point_;
|
}
|
}
|
/**
|
* <pre>
|
*事件发生的点位
|
* </pre>
|
*
|
* <code>.acm.proto.intelliservices.rt.Waypoint point = 3;</code>
|
*/
|
private com.google.protobuf.SingleFieldBuilderV3<
|
Waypoint, Waypoint.Builder, WaypointOrBuilder>
|
getPointFieldBuilder() {
|
if (pointBuilder_ == null) {
|
pointBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
Waypoint, Waypoint.Builder, WaypointOrBuilder>(
|
getPoint(),
|
getParentForChildren(),
|
isClean());
|
point_ = null;
|
}
|
return pointBuilder_;
|
}
|
|
private long timestamp_ ;
|
/**
|
* <pre>
|
* 时间戳(毫秒)
|
* </pre>
|
*
|
* <code>int64 timestamp = 4;</code>
|
* @return The timestamp.
|
*/
|
@Override
|
public long getTimestamp() {
|
return timestamp_;
|
}
|
/**
|
* <pre>
|
* 时间戳(毫秒)
|
* </pre>
|
*
|
* <code>int64 timestamp = 4;</code>
|
* @param value The timestamp to set.
|
* @return This builder for chaining.
|
*/
|
public Builder setTimestamp(long value) {
|
|
timestamp_ = value;
|
onChanged();
|
return this;
|
}
|
/**
|
* <pre>
|
* 时间戳(毫秒)
|
* </pre>
|
*
|
* <code>int64 timestamp = 4;</code>
|
* @return This builder for chaining.
|
*/
|
public Builder clearTimestamp() {
|
|
timestamp_ = 0L;
|
onChanged();
|
return this;
|
}
|
@Override
|
public final Builder setUnknownFields(
|
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
return super.setUnknownFields(unknownFields);
|
}
|
|
@Override
|
public final Builder mergeUnknownFields(
|
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
return super.mergeUnknownFields(unknownFields);
|
}
|
|
|
// @@protoc_insertion_point(builder_scope:acm.proto.intelliservices.rt.TaskRunningStateEvent)
|
}
|
|
// @@protoc_insertion_point(class_scope:acm.proto.intelliservices.rt.TaskRunningStateEvent)
|
private static final TaskRunningStateEvent DEFAULT_INSTANCE;
|
static {
|
DEFAULT_INSTANCE = new TaskRunningStateEvent();
|
}
|
|
public static TaskRunningStateEvent getDefaultInstance() {
|
return DEFAULT_INSTANCE;
|
}
|
|
private static final com.google.protobuf.Parser<TaskRunningStateEvent>
|
PARSER = new com.google.protobuf.AbstractParser<TaskRunningStateEvent>() {
|
@Override
|
public TaskRunningStateEvent parsePartialFrom(
|
com.google.protobuf.CodedInputStream input,
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
return new TaskRunningStateEvent(input, extensionRegistry);
|
}
|
};
|
|
public static com.google.protobuf.Parser<TaskRunningStateEvent> parser() {
|
return PARSER;
|
}
|
|
@Override
|
public com.google.protobuf.Parser<TaskRunningStateEvent> getParserForType() {
|
return PARSER;
|
}
|
|
@Override
|
public TaskRunningStateEvent getDefaultInstanceForType() {
|
return DEFAULT_INSTANCE;
|
}
|
|
}
|