// Generated by the protocol buffer compiler. DO NOT EDIT!
|
// source: rt_system.proto
|
|
package com.xiaopeng.api.vo.automaticPilot.protobuf;
|
|
/**
|
* <pre>
|
* 车辆状态
|
* </pre>
|
*
|
* Protobuf type {@code acm.proto.intelliservices.rt.VehicleStatus}
|
*/
|
public final class VehicleStatus extends
|
com.google.protobuf.GeneratedMessageV3 implements
|
// @@protoc_insertion_point(message_implements:acm.proto.intelliservices.rt.VehicleStatus)
|
VehicleStatusOrBuilder {
|
private static final long serialVersionUID = 0L;
|
// Use VehicleStatus.newBuilder() to construct.
|
private VehicleStatus(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
super(builder);
|
}
|
private VehicleStatus() {
|
}
|
|
@Override
|
@SuppressWarnings({"unused"})
|
protected Object newInstance(
|
UnusedPrivateParameter unused) {
|
return new VehicleStatus();
|
}
|
|
@Override
|
public final com.google.protobuf.UnknownFieldSet
|
getUnknownFields() {
|
return this.unknownFields;
|
}
|
private VehicleStatus(
|
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 10: {
|
VehicleStaticInfo.Builder subBuilder = null;
|
if (staticInfo_ != null) {
|
subBuilder = staticInfo_.toBuilder();
|
}
|
staticInfo_ = input.readMessage(VehicleStaticInfo.parser(), extensionRegistry);
|
if (subBuilder != null) {
|
subBuilder.mergeFrom(staticInfo_);
|
staticInfo_ = subBuilder.buildPartial();
|
}
|
|
break;
|
}
|
case 18: {
|
VehicleDynamicStatus.Builder subBuilder = null;
|
if (dynamicStatus_ != null) {
|
subBuilder = dynamicStatus_.toBuilder();
|
}
|
dynamicStatus_ = input.readMessage(VehicleDynamicStatus.parser(), extensionRegistry);
|
if (subBuilder != null) {
|
subBuilder.mergeFrom(dynamicStatus_);
|
dynamicStatus_ = subBuilder.buildPartial();
|
}
|
|
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 RtSystem.internal_static_acm_proto_intelliservices_rt_VehicleStatus_descriptor;
|
}
|
|
@Override
|
protected FieldAccessorTable
|
internalGetFieldAccessorTable() {
|
return RtSystem.internal_static_acm_proto_intelliservices_rt_VehicleStatus_fieldAccessorTable
|
.ensureFieldAccessorsInitialized(
|
VehicleStatus.class, Builder.class);
|
}
|
|
public static final int STATIC_INFO_FIELD_NUMBER = 1;
|
private VehicleStaticInfo staticInfo_;
|
/**
|
* <pre>
|
* 静态信息
|
* </pre>
|
*
|
* <code>.acm.proto.intelliservices.rt.VehicleStaticInfo static_info = 1;</code>
|
* @return Whether the staticInfo field is set.
|
*/
|
@Override
|
public boolean hasStaticInfo() {
|
return staticInfo_ != null;
|
}
|
/**
|
* <pre>
|
* 静态信息
|
* </pre>
|
*
|
* <code>.acm.proto.intelliservices.rt.VehicleStaticInfo static_info = 1;</code>
|
* @return The staticInfo.
|
*/
|
@Override
|
public VehicleStaticInfo getStaticInfo() {
|
return staticInfo_ == null ? VehicleStaticInfo.getDefaultInstance() : staticInfo_;
|
}
|
/**
|
* <pre>
|
* 静态信息
|
* </pre>
|
*
|
* <code>.acm.proto.intelliservices.rt.VehicleStaticInfo static_info = 1;</code>
|
*/
|
@Override
|
public VehicleStaticInfoOrBuilder getStaticInfoOrBuilder() {
|
return getStaticInfo();
|
}
|
|
public static final int DYNAMIC_STATUS_FIELD_NUMBER = 2;
|
private VehicleDynamicStatus dynamicStatus_;
|
/**
|
* <pre>
|
* 动态状态
|
* </pre>
|
*
|
* <code>.acm.proto.intelliservices.rt.VehicleDynamicStatus dynamic_status = 2;</code>
|
* @return Whether the dynamicStatus field is set.
|
*/
|
@Override
|
public boolean hasDynamicStatus() {
|
return dynamicStatus_ != null;
|
}
|
/**
|
* <pre>
|
* 动态状态
|
* </pre>
|
*
|
* <code>.acm.proto.intelliservices.rt.VehicleDynamicStatus dynamic_status = 2;</code>
|
* @return The dynamicStatus.
|
*/
|
@Override
|
public VehicleDynamicStatus getDynamicStatus() {
|
return dynamicStatus_ == null ? VehicleDynamicStatus.getDefaultInstance() : dynamicStatus_;
|
}
|
/**
|
* <pre>
|
* 动态状态
|
* </pre>
|
*
|
* <code>.acm.proto.intelliservices.rt.VehicleDynamicStatus dynamic_status = 2;</code>
|
*/
|
@Override
|
public VehicleDynamicStatusOrBuilder getDynamicStatusOrBuilder() {
|
return getDynamicStatus();
|
}
|
|
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 (staticInfo_ != null) {
|
output.writeMessage(1, getStaticInfo());
|
}
|
if (dynamicStatus_ != null) {
|
output.writeMessage(2, getDynamicStatus());
|
}
|
unknownFields.writeTo(output);
|
}
|
|
@Override
|
public int getSerializedSize() {
|
int size = memoizedSize;
|
if (size != -1) return size;
|
|
size = 0;
|
if (staticInfo_ != null) {
|
size += com.google.protobuf.CodedOutputStream
|
.computeMessageSize(1, getStaticInfo());
|
}
|
if (dynamicStatus_ != null) {
|
size += com.google.protobuf.CodedOutputStream
|
.computeMessageSize(2, getDynamicStatus());
|
}
|
size += unknownFields.getSerializedSize();
|
memoizedSize = size;
|
return size;
|
}
|
|
@Override
|
public boolean equals(final Object obj) {
|
if (obj == this) {
|
return true;
|
}
|
if (!(obj instanceof VehicleStatus)) {
|
return super.equals(obj);
|
}
|
VehicleStatus other = (VehicleStatus) obj;
|
|
if (hasStaticInfo() != other.hasStaticInfo()) return false;
|
if (hasStaticInfo()) {
|
if (!getStaticInfo()
|
.equals(other.getStaticInfo())) return false;
|
}
|
if (hasDynamicStatus() != other.hasDynamicStatus()) return false;
|
if (hasDynamicStatus()) {
|
if (!getDynamicStatus()
|
.equals(other.getDynamicStatus())) 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();
|
if (hasStaticInfo()) {
|
hash = (37 * hash) + STATIC_INFO_FIELD_NUMBER;
|
hash = (53 * hash) + getStaticInfo().hashCode();
|
}
|
if (hasDynamicStatus()) {
|
hash = (37 * hash) + DYNAMIC_STATUS_FIELD_NUMBER;
|
hash = (53 * hash) + getDynamicStatus().hashCode();
|
}
|
hash = (29 * hash) + unknownFields.hashCode();
|
memoizedHashCode = hash;
|
return hash;
|
}
|
|
public static VehicleStatus parseFrom(
|
java.nio.ByteBuffer data)
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
return PARSER.parseFrom(data);
|
}
|
public static VehicleStatus parseFrom(
|
java.nio.ByteBuffer data,
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
return PARSER.parseFrom(data, extensionRegistry);
|
}
|
public static VehicleStatus parseFrom(
|
com.google.protobuf.ByteString data)
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
return PARSER.parseFrom(data);
|
}
|
public static VehicleStatus parseFrom(
|
com.google.protobuf.ByteString data,
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
return PARSER.parseFrom(data, extensionRegistry);
|
}
|
public static VehicleStatus parseFrom(byte[] data)
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
return PARSER.parseFrom(data);
|
}
|
public static VehicleStatus parseFrom(
|
byte[] data,
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
return PARSER.parseFrom(data, extensionRegistry);
|
}
|
public static VehicleStatus parseFrom(java.io.InputStream input)
|
throws java.io.IOException {
|
return com.google.protobuf.GeneratedMessageV3
|
.parseWithIOException(PARSER, input);
|
}
|
public static VehicleStatus 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 VehicleStatus parseDelimitedFrom(java.io.InputStream input)
|
throws java.io.IOException {
|
return com.google.protobuf.GeneratedMessageV3
|
.parseDelimitedWithIOException(PARSER, input);
|
}
|
public static VehicleStatus 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 VehicleStatus parseFrom(
|
com.google.protobuf.CodedInputStream input)
|
throws java.io.IOException {
|
return com.google.protobuf.GeneratedMessageV3
|
.parseWithIOException(PARSER, input);
|
}
|
public static VehicleStatus 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(VehicleStatus 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;
|
}
|
/**
|
* <pre>
|
* 车辆状态
|
* </pre>
|
*
|
* Protobuf type {@code acm.proto.intelliservices.rt.VehicleStatus}
|
*/
|
public static final class Builder extends
|
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
// @@protoc_insertion_point(builder_implements:acm.proto.intelliservices.rt.VehicleStatus)
|
VehicleStatusOrBuilder {
|
public static final com.google.protobuf.Descriptors.Descriptor
|
getDescriptor() {
|
return RtSystem.internal_static_acm_proto_intelliservices_rt_VehicleStatus_descriptor;
|
}
|
|
@Override
|
protected FieldAccessorTable
|
internalGetFieldAccessorTable() {
|
return RtSystem.internal_static_acm_proto_intelliservices_rt_VehicleStatus_fieldAccessorTable
|
.ensureFieldAccessorsInitialized(
|
VehicleStatus.class, Builder.class);
|
}
|
|
// Construct using com.xiaopeng.api.vo.automaticPilot.protobuf.VehicleStatus.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();
|
if (staticInfoBuilder_ == null) {
|
staticInfo_ = null;
|
} else {
|
staticInfo_ = null;
|
staticInfoBuilder_ = null;
|
}
|
if (dynamicStatusBuilder_ == null) {
|
dynamicStatus_ = null;
|
} else {
|
dynamicStatus_ = null;
|
dynamicStatusBuilder_ = null;
|
}
|
return this;
|
}
|
|
@Override
|
public com.google.protobuf.Descriptors.Descriptor
|
getDescriptorForType() {
|
return RtSystem.internal_static_acm_proto_intelliservices_rt_VehicleStatus_descriptor;
|
}
|
|
@Override
|
public VehicleStatus getDefaultInstanceForType() {
|
return VehicleStatus.getDefaultInstance();
|
}
|
|
@Override
|
public VehicleStatus build() {
|
VehicleStatus result = buildPartial();
|
if (!result.isInitialized()) {
|
throw newUninitializedMessageException(result);
|
}
|
return result;
|
}
|
|
@Override
|
public VehicleStatus buildPartial() {
|
VehicleStatus result = new VehicleStatus(this);
|
if (staticInfoBuilder_ == null) {
|
result.staticInfo_ = staticInfo_;
|
} else {
|
result.staticInfo_ = staticInfoBuilder_.build();
|
}
|
if (dynamicStatusBuilder_ == null) {
|
result.dynamicStatus_ = dynamicStatus_;
|
} else {
|
result.dynamicStatus_ = dynamicStatusBuilder_.build();
|
}
|
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 VehicleStatus) {
|
return mergeFrom((VehicleStatus)other);
|
} else {
|
super.mergeFrom(other);
|
return this;
|
}
|
}
|
|
public Builder mergeFrom(VehicleStatus other) {
|
if (other == VehicleStatus.getDefaultInstance()) return this;
|
if (other.hasStaticInfo()) {
|
mergeStaticInfo(other.getStaticInfo());
|
}
|
if (other.hasDynamicStatus()) {
|
mergeDynamicStatus(other.getDynamicStatus());
|
}
|
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 {
|
VehicleStatus parsedMessage = null;
|
try {
|
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
parsedMessage = (VehicleStatus) e.getUnfinishedMessage();
|
throw e.unwrapIOException();
|
} finally {
|
if (parsedMessage != null) {
|
mergeFrom(parsedMessage);
|
}
|
}
|
return this;
|
}
|
|
private VehicleStaticInfo staticInfo_;
|
private com.google.protobuf.SingleFieldBuilderV3<
|
VehicleStaticInfo, VehicleStaticInfo.Builder, VehicleStaticInfoOrBuilder> staticInfoBuilder_;
|
/**
|
* <pre>
|
* 静态信息
|
* </pre>
|
*
|
* <code>.acm.proto.intelliservices.rt.VehicleStaticInfo static_info = 1;</code>
|
* @return Whether the staticInfo field is set.
|
*/
|
public boolean hasStaticInfo() {
|
return staticInfoBuilder_ != null || staticInfo_ != null;
|
}
|
/**
|
* <pre>
|
* 静态信息
|
* </pre>
|
*
|
* <code>.acm.proto.intelliservices.rt.VehicleStaticInfo static_info = 1;</code>
|
* @return The staticInfo.
|
*/
|
public VehicleStaticInfo getStaticInfo() {
|
if (staticInfoBuilder_ == null) {
|
return staticInfo_ == null ? VehicleStaticInfo.getDefaultInstance() : staticInfo_;
|
} else {
|
return staticInfoBuilder_.getMessage();
|
}
|
}
|
/**
|
* <pre>
|
* 静态信息
|
* </pre>
|
*
|
* <code>.acm.proto.intelliservices.rt.VehicleStaticInfo static_info = 1;</code>
|
*/
|
public Builder setStaticInfo(VehicleStaticInfo value) {
|
if (staticInfoBuilder_ == null) {
|
if (value == null) {
|
throw new NullPointerException();
|
}
|
staticInfo_ = value;
|
onChanged();
|
} else {
|
staticInfoBuilder_.setMessage(value);
|
}
|
|
return this;
|
}
|
/**
|
* <pre>
|
* 静态信息
|
* </pre>
|
*
|
* <code>.acm.proto.intelliservices.rt.VehicleStaticInfo static_info = 1;</code>
|
*/
|
public Builder setStaticInfo(
|
VehicleStaticInfo.Builder builderForValue) {
|
if (staticInfoBuilder_ == null) {
|
staticInfo_ = builderForValue.build();
|
onChanged();
|
} else {
|
staticInfoBuilder_.setMessage(builderForValue.build());
|
}
|
|
return this;
|
}
|
/**
|
* <pre>
|
* 静态信息
|
* </pre>
|
*
|
* <code>.acm.proto.intelliservices.rt.VehicleStaticInfo static_info = 1;</code>
|
*/
|
public Builder mergeStaticInfo(VehicleStaticInfo value) {
|
if (staticInfoBuilder_ == null) {
|
if (staticInfo_ != null) {
|
staticInfo_ =
|
VehicleStaticInfo.newBuilder(staticInfo_).mergeFrom(value).buildPartial();
|
} else {
|
staticInfo_ = value;
|
}
|
onChanged();
|
} else {
|
staticInfoBuilder_.mergeFrom(value);
|
}
|
|
return this;
|
}
|
/**
|
* <pre>
|
* 静态信息
|
* </pre>
|
*
|
* <code>.acm.proto.intelliservices.rt.VehicleStaticInfo static_info = 1;</code>
|
*/
|
public Builder clearStaticInfo() {
|
if (staticInfoBuilder_ == null) {
|
staticInfo_ = null;
|
onChanged();
|
} else {
|
staticInfo_ = null;
|
staticInfoBuilder_ = null;
|
}
|
|
return this;
|
}
|
/**
|
* <pre>
|
* 静态信息
|
* </pre>
|
*
|
* <code>.acm.proto.intelliservices.rt.VehicleStaticInfo static_info = 1;</code>
|
*/
|
public VehicleStaticInfo.Builder getStaticInfoBuilder() {
|
|
onChanged();
|
return getStaticInfoFieldBuilder().getBuilder();
|
}
|
/**
|
* <pre>
|
* 静态信息
|
* </pre>
|
*
|
* <code>.acm.proto.intelliservices.rt.VehicleStaticInfo static_info = 1;</code>
|
*/
|
public VehicleStaticInfoOrBuilder getStaticInfoOrBuilder() {
|
if (staticInfoBuilder_ != null) {
|
return staticInfoBuilder_.getMessageOrBuilder();
|
} else {
|
return staticInfo_ == null ?
|
VehicleStaticInfo.getDefaultInstance() : staticInfo_;
|
}
|
}
|
/**
|
* <pre>
|
* 静态信息
|
* </pre>
|
*
|
* <code>.acm.proto.intelliservices.rt.VehicleStaticInfo static_info = 1;</code>
|
*/
|
private com.google.protobuf.SingleFieldBuilderV3<
|
VehicleStaticInfo, VehicleStaticInfo.Builder, VehicleStaticInfoOrBuilder>
|
getStaticInfoFieldBuilder() {
|
if (staticInfoBuilder_ == null) {
|
staticInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
VehicleStaticInfo, VehicleStaticInfo.Builder, VehicleStaticInfoOrBuilder>(
|
getStaticInfo(),
|
getParentForChildren(),
|
isClean());
|
staticInfo_ = null;
|
}
|
return staticInfoBuilder_;
|
}
|
|
private VehicleDynamicStatus dynamicStatus_;
|
private com.google.protobuf.SingleFieldBuilderV3<
|
VehicleDynamicStatus, VehicleDynamicStatus.Builder, VehicleDynamicStatusOrBuilder> dynamicStatusBuilder_;
|
/**
|
* <pre>
|
* 动态状态
|
* </pre>
|
*
|
* <code>.acm.proto.intelliservices.rt.VehicleDynamicStatus dynamic_status = 2;</code>
|
* @return Whether the dynamicStatus field is set.
|
*/
|
public boolean hasDynamicStatus() {
|
return dynamicStatusBuilder_ != null || dynamicStatus_ != null;
|
}
|
/**
|
* <pre>
|
* 动态状态
|
* </pre>
|
*
|
* <code>.acm.proto.intelliservices.rt.VehicleDynamicStatus dynamic_status = 2;</code>
|
* @return The dynamicStatus.
|
*/
|
public VehicleDynamicStatus getDynamicStatus() {
|
if (dynamicStatusBuilder_ == null) {
|
return dynamicStatus_ == null ? VehicleDynamicStatus.getDefaultInstance() : dynamicStatus_;
|
} else {
|
return dynamicStatusBuilder_.getMessage();
|
}
|
}
|
/**
|
* <pre>
|
* 动态状态
|
* </pre>
|
*
|
* <code>.acm.proto.intelliservices.rt.VehicleDynamicStatus dynamic_status = 2;</code>
|
*/
|
public Builder setDynamicStatus(VehicleDynamicStatus value) {
|
if (dynamicStatusBuilder_ == null) {
|
if (value == null) {
|
throw new NullPointerException();
|
}
|
dynamicStatus_ = value;
|
onChanged();
|
} else {
|
dynamicStatusBuilder_.setMessage(value);
|
}
|
|
return this;
|
}
|
/**
|
* <pre>
|
* 动态状态
|
* </pre>
|
*
|
* <code>.acm.proto.intelliservices.rt.VehicleDynamicStatus dynamic_status = 2;</code>
|
*/
|
public Builder setDynamicStatus(
|
VehicleDynamicStatus.Builder builderForValue) {
|
if (dynamicStatusBuilder_ == null) {
|
dynamicStatus_ = builderForValue.build();
|
onChanged();
|
} else {
|
dynamicStatusBuilder_.setMessage(builderForValue.build());
|
}
|
|
return this;
|
}
|
/**
|
* <pre>
|
* 动态状态
|
* </pre>
|
*
|
* <code>.acm.proto.intelliservices.rt.VehicleDynamicStatus dynamic_status = 2;</code>
|
*/
|
public Builder mergeDynamicStatus(VehicleDynamicStatus value) {
|
if (dynamicStatusBuilder_ == null) {
|
if (dynamicStatus_ != null) {
|
dynamicStatus_ =
|
VehicleDynamicStatus.newBuilder(dynamicStatus_).mergeFrom(value).buildPartial();
|
} else {
|
dynamicStatus_ = value;
|
}
|
onChanged();
|
} else {
|
dynamicStatusBuilder_.mergeFrom(value);
|
}
|
|
return this;
|
}
|
/**
|
* <pre>
|
* 动态状态
|
* </pre>
|
*
|
* <code>.acm.proto.intelliservices.rt.VehicleDynamicStatus dynamic_status = 2;</code>
|
*/
|
public Builder clearDynamicStatus() {
|
if (dynamicStatusBuilder_ == null) {
|
dynamicStatus_ = null;
|
onChanged();
|
} else {
|
dynamicStatus_ = null;
|
dynamicStatusBuilder_ = null;
|
}
|
|
return this;
|
}
|
/**
|
* <pre>
|
* 动态状态
|
* </pre>
|
*
|
* <code>.acm.proto.intelliservices.rt.VehicleDynamicStatus dynamic_status = 2;</code>
|
*/
|
public VehicleDynamicStatus.Builder getDynamicStatusBuilder() {
|
|
onChanged();
|
return getDynamicStatusFieldBuilder().getBuilder();
|
}
|
/**
|
* <pre>
|
* 动态状态
|
* </pre>
|
*
|
* <code>.acm.proto.intelliservices.rt.VehicleDynamicStatus dynamic_status = 2;</code>
|
*/
|
public VehicleDynamicStatusOrBuilder getDynamicStatusOrBuilder() {
|
if (dynamicStatusBuilder_ != null) {
|
return dynamicStatusBuilder_.getMessageOrBuilder();
|
} else {
|
return dynamicStatus_ == null ?
|
VehicleDynamicStatus.getDefaultInstance() : dynamicStatus_;
|
}
|
}
|
/**
|
* <pre>
|
* 动态状态
|
* </pre>
|
*
|
* <code>.acm.proto.intelliservices.rt.VehicleDynamicStatus dynamic_status = 2;</code>
|
*/
|
private com.google.protobuf.SingleFieldBuilderV3<
|
VehicleDynamicStatus, VehicleDynamicStatus.Builder, VehicleDynamicStatusOrBuilder>
|
getDynamicStatusFieldBuilder() {
|
if (dynamicStatusBuilder_ == null) {
|
dynamicStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
VehicleDynamicStatus, VehicleDynamicStatus.Builder, VehicleDynamicStatusOrBuilder>(
|
getDynamicStatus(),
|
getParentForChildren(),
|
isClean());
|
dynamicStatus_ = null;
|
}
|
return dynamicStatusBuilder_;
|
}
|
@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.VehicleStatus)
|
}
|
|
// @@protoc_insertion_point(class_scope:acm.proto.intelliservices.rt.VehicleStatus)
|
private static final VehicleStatus DEFAULT_INSTANCE;
|
static {
|
DEFAULT_INSTANCE = new VehicleStatus();
|
}
|
|
public static VehicleStatus getDefaultInstance() {
|
return DEFAULT_INSTANCE;
|
}
|
|
private static final com.google.protobuf.Parser<VehicleStatus>
|
PARSER = new com.google.protobuf.AbstractParser<VehicleStatus>() {
|
@Override
|
public VehicleStatus parsePartialFrom(
|
com.google.protobuf.CodedInputStream input,
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
return new VehicleStatus(input, extensionRegistry);
|
}
|
};
|
|
public static com.google.protobuf.Parser<VehicleStatus> parser() {
|
return PARSER;
|
}
|
|
@Override
|
public com.google.protobuf.Parser<VehicleStatus> getParserForType() {
|
return PARSER;
|
}
|
|
@Override
|
public VehicleStatus getDefaultInstanceForType() {
|
return DEFAULT_INSTANCE;
|
}
|
|
}
|