// Generated by the protocol buffer compiler. DO NOT EDIT! // source: rt_navigation.proto package com.xiaopeng.api.vo.automaticPilot.protobuf; /** * Protobuf type {@code acm.proto.intelliservices.rt.NavigationDeviationMessage} */ public final class NavigationDeviationMessage extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:acm.proto.intelliservices.rt.NavigationDeviationMessage) NavigationDeviationMessageOrBuilder { private static final long serialVersionUID = 0L; // Use NavigationDeviationMessage.newBuilder() to construct. private NavigationDeviationMessage(com.google.protobuf.GeneratedMessageV3.Builder> builder) { super(builder); } private NavigationDeviationMessage() { orderId_ = ""; taskId_ = ""; routeId_ = ""; } @Override @SuppressWarnings({"unused"}) protected Object newInstance( UnusedPrivateParameter unused) { return new NavigationDeviationMessage(); } @Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private NavigationDeviationMessage( 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: { String s = input.readStringRequireUtf8(); orderId_ = s; break; } case 18: { String s = input.readStringRequireUtf8(); taskId_ = s; break; } case 24: { navigationId_ = input.readUInt64(); break; } case 32: { naviRecalcRequestSeq_ = input.readUInt64(); break; } case 42: { Wgs.Builder subBuilder = null; if (point_ != null) { subBuilder = point_.toBuilder(); } point_ = input.readMessage(Wgs.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(point_); point_ = subBuilder.buildPartial(); } break; } case 48: { timestamp_ = input.readInt64(); break; } case 58: { String s = input.readStringRequireUtf8(); routeId_ = s; 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 RtNavigation.internal_static_acm_proto_intelliservices_rt_NavigationDeviationMessage_descriptor; } @Override protected FieldAccessorTable internalGetFieldAccessorTable() { return RtNavigation.internal_static_acm_proto_intelliservices_rt_NavigationDeviationMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( NavigationDeviationMessage.class, Builder.class); } public static final int ORDER_ID_FIELD_NUMBER = 1; private volatile Object orderId_; /** *
* 订单ID ** *
string order_id = 1;
* @return The orderId.
*/
@Override
public String getOrderId() {
Object ref = orderId_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
orderId_ = s;
return s;
}
}
/**
* * 订单ID ** *
string order_id = 1;
* @return The bytes for orderId.
*/
@Override
public com.google.protobuf.ByteString
getOrderIdBytes() {
Object ref = orderId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
orderId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TASK_ID_FIELD_NUMBER = 2;
private volatile Object taskId_;
/**
* * 任务ID ** *
string task_id = 2;
* @return The taskId.
*/
@Override
public String getTaskId() {
Object ref = taskId_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
taskId_ = s;
return s;
}
}
/**
* * 任务ID ** *
string task_id = 2;
* @return The bytes for taskId.
*/
@Override
public com.google.protobuf.ByteString
getTaskIdBytes() {
Object ref = taskId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
taskId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NAVIGATION_ID_FIELD_NUMBER = 3;
private long navigationId_;
/**
* * 偏航前的导航ID ** *
uint64 navigation_id = 3;
* @return The navigationId.
*/
@Override
public long getNavigationId() {
return navigationId_;
}
public static final int NAVI_RECALC_REQUEST_SEQ_FIELD_NUMBER = 4;
private long naviRecalcRequestSeq_;
/**
* * 导航重算请求序号,可取值毫秒级时间戳 ** *
uint64 navi_recalc_request_seq = 4;
* @return The naviRecalcRequestSeq.
*/
@Override
public long getNaviRecalcRequestSeq() {
return naviRecalcRequestSeq_;
}
public static final int POINT_FIELD_NUMBER = 5;
private Wgs point_;
/**
* * 发生偏航的坐标点,GCJ-02 ** *
.acm.proto.intelliservices.rt.Wgs point = 5;
* @return Whether the point field is set.
*/
@Override
public boolean hasPoint() {
return point_ != null;
}
/**
* * 发生偏航的坐标点,GCJ-02 ** *
.acm.proto.intelliservices.rt.Wgs point = 5;
* @return The point.
*/
@Override
public Wgs getPoint() {
return point_ == null ? Wgs.getDefaultInstance() : point_;
}
/**
* * 发生偏航的坐标点,GCJ-02 ** *
.acm.proto.intelliservices.rt.Wgs point = 5;
*/
@Override
public WgsOrBuilder getPointOrBuilder() {
return getPoint();
}
public static final int TIMESTAMP_FIELD_NUMBER = 6;
private long timestamp_;
/**
* * 时间戳(毫秒) ** *
int64 timestamp = 6;
* @return The timestamp.
*/
@Override
public long getTimestamp() {
return timestamp_;
}
public static final int ROUTE_ID_FIELD_NUMBER = 7;
private volatile Object routeId_;
/**
* * 偏航前的高德导航路线ID ** *
string route_id = 7;
* @return The routeId.
*/
@Override
public String getRouteId() {
Object ref = routeId_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
routeId_ = s;
return s;
}
}
/**
* * 偏航前的高德导航路线ID ** *
string route_id = 7;
* @return The bytes for routeId.
*/
@Override
public com.google.protobuf.ByteString
getRouteIdBytes() {
Object ref = routeId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
routeId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, orderId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(taskId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, taskId_);
}
if (navigationId_ != 0L) {
output.writeUInt64(3, navigationId_);
}
if (naviRecalcRequestSeq_ != 0L) {
output.writeUInt64(4, naviRecalcRequestSeq_);
}
if (point_ != null) {
output.writeMessage(5, getPoint());
}
if (timestamp_ != 0L) {
output.writeInt64(6, timestamp_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(routeId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, routeId_);
}
unknownFields.writeTo(output);
}
@Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, orderId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(taskId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, taskId_);
}
if (navigationId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(3, navigationId_);
}
if (naviRecalcRequestSeq_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(4, naviRecalcRequestSeq_);
}
if (point_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getPoint());
}
if (timestamp_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(6, timestamp_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(routeId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, routeId_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@Override
public boolean equals(final Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof NavigationDeviationMessage)) {
return super.equals(obj);
}
NavigationDeviationMessage other = (NavigationDeviationMessage) obj;
if (!getOrderId()
.equals(other.getOrderId())) return false;
if (!getTaskId()
.equals(other.getTaskId())) return false;
if (getNavigationId()
!= other.getNavigationId()) return false;
if (getNaviRecalcRequestSeq()
!= other.getNaviRecalcRequestSeq()) return false;
if (hasPoint() != other.hasPoint()) return false;
if (hasPoint()) {
if (!getPoint()
.equals(other.getPoint())) return false;
}
if (getTimestamp()
!= other.getTimestamp()) return false;
if (!getRouteId()
.equals(other.getRouteId())) 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) + ORDER_ID_FIELD_NUMBER;
hash = (53 * hash) + getOrderId().hashCode();
hash = (37 * hash) + TASK_ID_FIELD_NUMBER;
hash = (53 * hash) + getTaskId().hashCode();
hash = (37 * hash) + NAVIGATION_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getNavigationId());
hash = (37 * hash) + NAVI_RECALC_REQUEST_SEQ_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getNaviRecalcRequestSeq());
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 = (37 * hash) + ROUTE_ID_FIELD_NUMBER;
hash = (53 * hash) + getRouteId().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static NavigationDeviationMessage parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static NavigationDeviationMessage parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static NavigationDeviationMessage parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static NavigationDeviationMessage parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static NavigationDeviationMessage parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static NavigationDeviationMessage parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static NavigationDeviationMessage parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static NavigationDeviationMessage 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 NavigationDeviationMessage parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static NavigationDeviationMessage 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 NavigationDeviationMessage parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static NavigationDeviationMessage 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(NavigationDeviationMessage 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.NavigationDeviationMessage}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder
* 订单ID
*
*
* string order_id = 1;
* @return The orderId.
*/
public String getOrderId() {
Object ref = orderId_;
if (!(ref instanceof String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
orderId_ = s;
return s;
} else {
return (String) ref;
}
}
/**
*
* 订单ID
*
*
* string order_id = 1;
* @return The bytes for orderId.
*/
public com.google.protobuf.ByteString
getOrderIdBytes() {
Object ref = orderId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
orderId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 订单ID
*
*
* string order_id = 1;
* @param value The orderId to set.
* @return This builder for chaining.
*/
public Builder setOrderId(
String value) {
if (value == null) {
throw new NullPointerException();
}
orderId_ = value;
onChanged();
return this;
}
/**
*
* 订单ID
*
*
* string order_id = 1;
* @return This builder for chaining.
*/
public Builder clearOrderId() {
orderId_ = getDefaultInstance().getOrderId();
onChanged();
return this;
}
/**
*
* 订单ID
*
*
* string order_id = 1;
* @param value The bytes for orderId to set.
* @return This builder for chaining.
*/
public Builder setOrderIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
orderId_ = value;
onChanged();
return this;
}
private Object taskId_ = "";
/**
*
* 任务ID
*
*
* string task_id = 2;
* @return The taskId.
*/
public String getTaskId() {
Object ref = taskId_;
if (!(ref instanceof String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
taskId_ = s;
return s;
} else {
return (String) ref;
}
}
/**
*
* 任务ID
*
*
* string task_id = 2;
* @return The bytes for taskId.
*/
public com.google.protobuf.ByteString
getTaskIdBytes() {
Object ref = taskId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
taskId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 任务ID
*
*
* string task_id = 2;
* @param value The taskId to set.
* @return This builder for chaining.
*/
public Builder setTaskId(
String value) {
if (value == null) {
throw new NullPointerException();
}
taskId_ = value;
onChanged();
return this;
}
/**
*
* 任务ID
*
*
* string task_id = 2;
* @return This builder for chaining.
*/
public Builder clearTaskId() {
taskId_ = getDefaultInstance().getTaskId();
onChanged();
return this;
}
/**
*
* 任务ID
*
*
* string task_id = 2;
* @param value The bytes for taskId to set.
* @return This builder for chaining.
*/
public Builder setTaskIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
taskId_ = value;
onChanged();
return this;
}
private long navigationId_ ;
/**
*
* 偏航前的导航ID
*
*
* uint64 navigation_id = 3;
* @return The navigationId.
*/
@Override
public long getNavigationId() {
return navigationId_;
}
/**
*
* 偏航前的导航ID
*
*
* uint64 navigation_id = 3;
* @param value The navigationId to set.
* @return This builder for chaining.
*/
public Builder setNavigationId(long value) {
navigationId_ = value;
onChanged();
return this;
}
/**
*
* 偏航前的导航ID
*
*
* uint64 navigation_id = 3;
* @return This builder for chaining.
*/
public Builder clearNavigationId() {
navigationId_ = 0L;
onChanged();
return this;
}
private long naviRecalcRequestSeq_ ;
/**
*
* 导航重算请求序号,可取值毫秒级时间戳
*
*
* uint64 navi_recalc_request_seq = 4;
* @return The naviRecalcRequestSeq.
*/
@Override
public long getNaviRecalcRequestSeq() {
return naviRecalcRequestSeq_;
}
/**
*
* 导航重算请求序号,可取值毫秒级时间戳
*
*
* uint64 navi_recalc_request_seq = 4;
* @param value The naviRecalcRequestSeq to set.
* @return This builder for chaining.
*/
public Builder setNaviRecalcRequestSeq(long value) {
naviRecalcRequestSeq_ = value;
onChanged();
return this;
}
/**
*
* 导航重算请求序号,可取值毫秒级时间戳
*
*
* uint64 navi_recalc_request_seq = 4;
* @return This builder for chaining.
*/
public Builder clearNaviRecalcRequestSeq() {
naviRecalcRequestSeq_ = 0L;
onChanged();
return this;
}
private Wgs point_;
private com.google.protobuf.SingleFieldBuilderV3<
Wgs, Wgs.Builder, WgsOrBuilder> pointBuilder_;
/**
*
* 发生偏航的坐标点,GCJ-02
*
*
* .acm.proto.intelliservices.rt.Wgs point = 5;
* @return Whether the point field is set.
*/
public boolean hasPoint() {
return pointBuilder_ != null || point_ != null;
}
/**
*
* 发生偏航的坐标点,GCJ-02
*
*
* .acm.proto.intelliservices.rt.Wgs point = 5;
* @return The point.
*/
public Wgs getPoint() {
if (pointBuilder_ == null) {
return point_ == null ? Wgs.getDefaultInstance() : point_;
} else {
return pointBuilder_.getMessage();
}
}
/**
*
* 发生偏航的坐标点,GCJ-02
*
*
* .acm.proto.intelliservices.rt.Wgs point = 5;
*/
public Builder setPoint(Wgs value) {
if (pointBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
point_ = value;
onChanged();
} else {
pointBuilder_.setMessage(value);
}
return this;
}
/**
*
* 发生偏航的坐标点,GCJ-02
*
*
* .acm.proto.intelliservices.rt.Wgs point = 5;
*/
public Builder setPoint(
Wgs.Builder builderForValue) {
if (pointBuilder_ == null) {
point_ = builderForValue.build();
onChanged();
} else {
pointBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* 发生偏航的坐标点,GCJ-02
*
*
* .acm.proto.intelliservices.rt.Wgs point = 5;
*/
public Builder mergePoint(Wgs value) {
if (pointBuilder_ == null) {
if (point_ != null) {
point_ =
Wgs.newBuilder(point_).mergeFrom(value).buildPartial();
} else {
point_ = value;
}
onChanged();
} else {
pointBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* 发生偏航的坐标点,GCJ-02
*
*
* .acm.proto.intelliservices.rt.Wgs point = 5;
*/
public Builder clearPoint() {
if (pointBuilder_ == null) {
point_ = null;
onChanged();
} else {
point_ = null;
pointBuilder_ = null;
}
return this;
}
/**
*
* 发生偏航的坐标点,GCJ-02
*
*
* .acm.proto.intelliservices.rt.Wgs point = 5;
*/
public Wgs.Builder getPointBuilder() {
onChanged();
return getPointFieldBuilder().getBuilder();
}
/**
*
* 发生偏航的坐标点,GCJ-02
*
*
* .acm.proto.intelliservices.rt.Wgs point = 5;
*/
public WgsOrBuilder getPointOrBuilder() {
if (pointBuilder_ != null) {
return pointBuilder_.getMessageOrBuilder();
} else {
return point_ == null ?
Wgs.getDefaultInstance() : point_;
}
}
/**
*
* 发生偏航的坐标点,GCJ-02
*
*
* .acm.proto.intelliservices.rt.Wgs point = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
Wgs, Wgs.Builder, WgsOrBuilder>
getPointFieldBuilder() {
if (pointBuilder_ == null) {
pointBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
Wgs, Wgs.Builder, WgsOrBuilder>(
getPoint(),
getParentForChildren(),
isClean());
point_ = null;
}
return pointBuilder_;
}
private long timestamp_ ;
/**
*
* 时间戳(毫秒)
*
*
* int64 timestamp = 6;
* @return The timestamp.
*/
@Override
public long getTimestamp() {
return timestamp_;
}
/**
*
* 时间戳(毫秒)
*
*
* int64 timestamp = 6;
* @param value The timestamp to set.
* @return This builder for chaining.
*/
public Builder setTimestamp(long value) {
timestamp_ = value;
onChanged();
return this;
}
/**
*
* 时间戳(毫秒)
*
*
* int64 timestamp = 6;
* @return This builder for chaining.
*/
public Builder clearTimestamp() {
timestamp_ = 0L;
onChanged();
return this;
}
private Object routeId_ = "";
/**
*
* 偏航前的高德导航路线ID
*
*
* string route_id = 7;
* @return The routeId.
*/
public String getRouteId() {
Object ref = routeId_;
if (!(ref instanceof String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
routeId_ = s;
return s;
} else {
return (String) ref;
}
}
/**
*
* 偏航前的高德导航路线ID
*
*
* string route_id = 7;
* @return The bytes for routeId.
*/
public com.google.protobuf.ByteString
getRouteIdBytes() {
Object ref = routeId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
routeId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 偏航前的高德导航路线ID
*
*
* string route_id = 7;
* @param value The routeId to set.
* @return This builder for chaining.
*/
public Builder setRouteId(
String value) {
if (value == null) {
throw new NullPointerException();
}
routeId_ = value;
onChanged();
return this;
}
/**
*
* 偏航前的高德导航路线ID
*
*
* string route_id = 7;
* @return This builder for chaining.
*/
public Builder clearRouteId() {
routeId_ = getDefaultInstance().getRouteId();
onChanged();
return this;
}
/**
*
* 偏航前的高德导航路线ID
*
*
* string route_id = 7;
* @param value The bytes for routeId to set.
* @return This builder for chaining.
*/
public Builder setRouteIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
routeId_ = value;
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.NavigationDeviationMessage)
}
// @@protoc_insertion_point(class_scope:acm.proto.intelliservices.rt.NavigationDeviationMessage)
private static final NavigationDeviationMessage DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new NavigationDeviationMessage();
}
public static NavigationDeviationMessage getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser