diff --git a/gradle.properties b/gradle.properties index f2757fb..612ba37 100644 --- a/gradle.properties +++ b/gradle.properties @@ -30,20 +30,20 @@ PASSWORD=xintai2018 RELEASE=true # AI CLOUD 云平台 # 工具类 -MOGO_UTILS_VERSION=1.1.16 +MOGO_UTILS_VERSION=1.1.18 # 网络请求 -MOGO_NETWORK_VERSION=1.1.16 +MOGO_NETWORK_VERSION=1.1.18 # 网络DNS -MOGO_HTTPDNS_VERSION=1.1.16 +MOGO_HTTPDNS_VERSION=1.1.18 # 鉴权 -MOGO_PASSPORT_VERSION=1.1.16 +MOGO_PASSPORT_VERSION=1.1.18 # 常链接 -MOGO_SOCKET_VERSION=1.1.16 +MOGO_SOCKET_VERSION=1.1.18 # 数据采集 -MOGO_REALTIME_VERSION=1.1.16 +MOGO_REALTIME_VERSION=1.1.18 # 探路,道路事件发布,获取 -MOGO_TANLU_VERSION=1.1.16 +MOGO_TANLU_VERSION=1.1.18 # 直播推流 -MOGO_LIVE_VERSION=1.1.16 +MOGO_LIVE_VERSION=1.1.18 # 直播拉流 -MOGO_TRAFFICLIVE_VERSION=1.1.16 +MOGO_TRAFFICLIVE_VERSION=1.1.18 diff --git a/modules/mogo-realtime/src/main/java/com/mogo/realtime/entity/SocketReceiveDataProto3.java b/modules/mogo-realtime/src/main/java/com/mogo/realtime/entity/SocketReceiveDataProto3.java index 8a03a13..2500cdf 100644 --- a/modules/mogo-realtime/src/main/java/com/mogo/realtime/entity/SocketReceiveDataProto3.java +++ b/modules/mogo-realtime/src/main/java/com/mogo/realtime/entity/SocketReceiveDataProto3.java @@ -25,7 +25,7 @@ public final class SocketReceiveDataProto3 { /** *
- ** 消息来自:0.自车与ADAS数据
+ ** 消息来自:0.自车与ADAS数据
*
*
* uint32 msgType = 2;
@@ -34,7 +34,7 @@ public final class SocketReceiveDataProto3 {
/**
*
- ** 工控机对应的车机sn
+ ** 工控机对应的车机sn
*
*
* string sn = 3;
@@ -42,7 +42,7 @@ public final class SocketReceiveDataProto3 {
String getSn();
/**
*
- ** 工控机对应的车机sn
+ ** 工控机对应的车机sn
*
*
* string sn = 3;
@@ -52,7 +52,7 @@ public final class SocketReceiveDataProto3 {
/**
*
- ** 工控机sn
+ ** 工控机sn
*
*
* string IPCSn = 4;
@@ -60,7 +60,7 @@ public final class SocketReceiveDataProto3 {
String getIPCSn();
/**
*
- ** 工控机sn
+ ** 工控机sn
*
*
* string IPCSn = 4;
@@ -70,7 +70,7 @@ public final class SocketReceiveDataProto3 {
/**
*
- ** 自车、adas的实体组合数据
+ ** 自车、adas的实体组合数据
*
*
* .mogo.yycp.service.OnePerSecondSendReqProto data = 5;
@@ -78,7 +78,7 @@ public final class SocketReceiveDataProto3 {
boolean hasData();
/**
*
- ** 自车、adas的实体组合数据
+ ** 自车、adas的实体组合数据
*
*
* .mogo.yycp.service.OnePerSecondSendReqProto data = 5;
@@ -86,7 +86,7 @@ public final class SocketReceiveDataProto3 {
OnePerSecondSendReqProto getData();
/**
*
- ** 自车、adas的实体组合数据
+ ** 自车、adas的实体组合数据
*
*
* .mogo.yycp.service.OnePerSecondSendReqProto data = 5;
@@ -94,28 +94,53 @@ public final class SocketReceiveDataProto3 {
OnePerSecondSendReqProtoOrBuilder getDataOrBuilder();
/**
- * uint64 utcTime = 6;
+ * + ** AI云上行数据处理 / 小程序上行数据处理 + *+ * + *
.mogo.yycp.service.SocketRequestVo data2 = 6;
+ */
+ boolean hasData2();
+ /**
+ * + ** AI云上行数据处理 / 小程序上行数据处理 + *+ * + *
.mogo.yycp.service.SocketRequestVo data2 = 6;
+ */
+ SocketRequestVo getData2();
+ /**
+ * + ** AI云上行数据处理 / 小程序上行数据处理 + *+ * + *
.mogo.yycp.service.SocketRequestVo data2 = 6;
+ */
+ SocketRequestVoOrBuilder getData2OrBuilder();
+
+ /**
+ * uint64 utcTime = 7;
*/
long getUtcTime();
/**
- * uint64 upUtcTime = 7;
+ * uint64 upUtcTime = 8;
*/
long getUpUtcTime();
/**
- * string cityCode = 8;
+ * string cityCode = 9;
*/
String getCityCode();
/**
- * string cityCode = 8;
+ * string cityCode = 9;
*/
com.google.protobuf.ByteString
getCityCodeBytes();
}
/**
*
- * 接收工控制主实体
+ * 接收工控机主实体
*
*
* Protobuf type {@code mogo.yycp.service.SocketReceiveDataProto}
@@ -198,17 +223,30 @@ public final class SocketReceiveDataProto3 {
break;
}
- case 48: {
+ case 50: {
+ SocketRequestVo.Builder subBuilder = null;
+ if (data2_ != null) {
+ subBuilder = data2_.toBuilder();
+ }
+ data2_ = input.readMessage(SocketRequestVo.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(data2_);
+ data2_ = subBuilder.buildPartial();
+ }
- utcTime_ = input.readUInt64();
break;
}
case 56: {
+ utcTime_ = input.readUInt64();
+ break;
+ }
+ case 64: {
+
upUtcTime_ = input.readUInt64();
break;
}
- case 66: {
+ case 74: {
String s = input.readStringRequireUtf8();
cityCode_ = s;
@@ -259,7 +297,7 @@ public final class SocketReceiveDataProto3 {
private int msgType_;
/**
*
- ** 消息来自:0.自车与ADAS数据
+ ** 消息来自:0.自车与ADAS数据
*
*
* uint32 msgType = 2;
@@ -272,7 +310,7 @@ public final class SocketReceiveDataProto3 {
private volatile Object sn_;
/**
*
- ** 工控机对应的车机sn
+ ** 工控机对应的车机sn
*
*
* string sn = 3;
@@ -282,7 +320,7 @@ public final class SocketReceiveDataProto3 {
if (ref instanceof String) {
return (String) ref;
} else {
- com.google.protobuf.ByteString bs =
+ com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
sn_ = s;
@@ -291,7 +329,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 工控机对应的车机sn
+ ** 工控机对应的车机sn
*
*
* string sn = 3;
@@ -300,7 +338,7 @@ public final class SocketReceiveDataProto3 {
getSnBytes() {
Object ref = sn_;
if (ref instanceof String) {
- com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
sn_ = b;
@@ -314,7 +352,7 @@ public final class SocketReceiveDataProto3 {
private volatile Object iPCSn_;
/**
*
- ** 工控机sn
+ ** 工控机sn
*
*
* string IPCSn = 4;
@@ -324,7 +362,7 @@ public final class SocketReceiveDataProto3 {
if (ref instanceof String) {
return (String) ref;
} else {
- com.google.protobuf.ByteString bs =
+ com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
iPCSn_ = s;
@@ -333,7 +371,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 工控机sn
+ ** 工控机sn
*
*
* string IPCSn = 4;
@@ -342,7 +380,7 @@ public final class SocketReceiveDataProto3 {
getIPCSnBytes() {
Object ref = iPCSn_;
if (ref instanceof String) {
- com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
iPCSn_ = b;
@@ -356,7 +394,7 @@ public final class SocketReceiveDataProto3 {
private OnePerSecondSendReqProto data_;
/**
*
- ** 自车、adas的实体组合数据
+ ** 自车、adas的实体组合数据
*
*
* .mogo.yycp.service.OnePerSecondSendReqProto data = 5;
@@ -366,7 +404,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 自车、adas的实体组合数据
+ ** 自车、adas的实体组合数据
*
*
* .mogo.yycp.service.OnePerSecondSendReqProto data = 5;
@@ -376,7 +414,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 自车、adas的实体组合数据
+ ** 自车、adas的实体组合数据
*
*
* .mogo.yycp.service.OnePerSecondSendReqProto data = 5;
@@ -385,35 +423,68 @@ public final class SocketReceiveDataProto3 {
return getData();
}
- public static final int UTCTIME_FIELD_NUMBER = 6;
+ public static final int DATA2_FIELD_NUMBER = 6;
+ private SocketRequestVo data2_;
+ /**
+ * + ** AI云上行数据处理 / 小程序上行数据处理 + *+ * + *
.mogo.yycp.service.SocketRequestVo data2 = 6;
+ */
+ public boolean hasData2() {
+ return data2_ != null;
+ }
+ /**
+ * + ** AI云上行数据处理 / 小程序上行数据处理 + *+ * + *
.mogo.yycp.service.SocketRequestVo data2 = 6;
+ */
+ public SocketRequestVo getData2() {
+ return data2_ == null ? SocketRequestVo.getDefaultInstance() : data2_;
+ }
+ /**
+ * + ** AI云上行数据处理 / 小程序上行数据处理 + *+ * + *
.mogo.yycp.service.SocketRequestVo data2 = 6;
+ */
+ public SocketRequestVoOrBuilder getData2OrBuilder() {
+ return getData2();
+ }
+
+ public static final int UTCTIME_FIELD_NUMBER = 7;
private long utcTime_;
/**
- * uint64 utcTime = 6;
+ * uint64 utcTime = 7;
*/
public long getUtcTime() {
return utcTime_;
}
- public static final int UPUTCTIME_FIELD_NUMBER = 7;
+ public static final int UPUTCTIME_FIELD_NUMBER = 8;
private long upUtcTime_;
/**
- * uint64 upUtcTime = 7;
+ * uint64 upUtcTime = 8;
*/
public long getUpUtcTime() {
return upUtcTime_;
}
- public static final int CITYCODE_FIELD_NUMBER = 8;
+ public static final int CITYCODE_FIELD_NUMBER = 9;
private volatile Object cityCode_;
/**
- * string cityCode = 8;
+ * string cityCode = 9;
*/
public String getCityCode() {
Object ref = cityCode_;
if (ref instanceof String) {
return (String) ref;
} else {
- com.google.protobuf.ByteString bs =
+ com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
cityCode_ = s;
@@ -421,13 +492,13 @@ public final class SocketReceiveDataProto3 {
}
}
/**
- * string cityCode = 8;
+ * string cityCode = 9;
*/
public com.google.protobuf.ByteString
getCityCodeBytes() {
Object ref = cityCode_;
if (ref instanceof String) {
- com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
cityCode_ = b;
@@ -466,14 +537,17 @@ public final class SocketReceiveDataProto3 {
if (data_ != null) {
output.writeMessage(5, getData());
}
+ if (data2_ != null) {
+ output.writeMessage(6, getData2());
+ }
if (utcTime_ != 0L) {
- output.writeUInt64(6, utcTime_);
+ output.writeUInt64(7, utcTime_);
}
if (upUtcTime_ != 0L) {
- output.writeUInt64(7, upUtcTime_);
+ output.writeUInt64(8, upUtcTime_);
}
if (!getCityCodeBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 8, cityCode_);
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 9, cityCode_);
}
unknownFields.writeTo(output);
}
@@ -502,16 +576,20 @@ public final class SocketReceiveDataProto3 {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getData());
}
+ if (data2_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(6, getData2());
+ }
if (utcTime_ != 0L) {
size += com.google.protobuf.CodedOutputStream
- .computeUInt64Size(6, utcTime_);
+ .computeUInt64Size(7, utcTime_);
}
if (upUtcTime_ != 0L) {
size += com.google.protobuf.CodedOutputStream
- .computeUInt64Size(7, upUtcTime_);
+ .computeUInt64Size(8, upUtcTime_);
}
if (!getCityCodeBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, cityCode_);
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, cityCode_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -542,6 +620,11 @@ public final class SocketReceiveDataProto3 {
result = result && getData()
.equals(other.getData());
}
+ result = result && (hasData2() == other.hasData2());
+ if (hasData2()) {
+ result = result && getData2()
+ .equals(other.getData2());
+ }
result = result && (getUtcTime()
== other.getUtcTime());
result = result && (getUpUtcTime()
@@ -572,6 +655,10 @@ public final class SocketReceiveDataProto3 {
hash = (37 * hash) + DATA_FIELD_NUMBER;
hash = (53 * hash) + getData().hashCode();
}
+ if (hasData2()) {
+ hash = (37 * hash) + DATA2_FIELD_NUMBER;
+ hash = (53 * hash) + getData2().hashCode();
+ }
hash = (37 * hash) + UTCTIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getUtcTime());
@@ -677,7 +764,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- * 接收工控制主实体
+ * 接收工控机主实体
*
*
* Protobuf type {@code mogo.yycp.service.SocketReceiveDataProto}
@@ -699,7 +786,7 @@ public final class SocketReceiveDataProto3 {
SocketReceiveDataProto.class, Builder.class);
}
- // Construct using mogo.yycp.proto.SocketReceiveDataProto3.SocketReceiveDataProto.newBuilder()
+ // Construct using com.mogo.realtime.entity.SocketReceiveDataProto3.SocketReceiveDataProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
@@ -731,6 +818,12 @@ public final class SocketReceiveDataProto3 {
data_ = null;
dataBuilder_ = null;
}
+ if (data2Builder_ == null) {
+ data2_ = null;
+ } else {
+ data2_ = null;
+ data2Builder_ = null;
+ }
utcTime_ = 0L;
upUtcTime_ = 0L;
@@ -772,6 +865,11 @@ public final class SocketReceiveDataProto3 {
} else {
result.data_ = dataBuilder_.build();
}
+ if (data2Builder_ == null) {
+ result.data2_ = data2_;
+ } else {
+ result.data2_ = data2Builder_.build();
+ }
result.utcTime_ = utcTime_;
result.upUtcTime_ = upUtcTime_;
result.cityCode_ = cityCode_;
@@ -840,6 +938,9 @@ public final class SocketReceiveDataProto3 {
if (other.hasData()) {
mergeData(other.getData());
}
+ if (other.hasData2()) {
+ mergeData2(other.getData2());
+ }
if (other.getUtcTime() != 0L) {
setUtcTime(other.getUtcTime());
}
@@ -890,7 +991,7 @@ public final class SocketReceiveDataProto3 {
* uint64 seq = 1;
*/
public Builder setSeq(long value) {
-
+
seq_ = value;
onChanged();
return this;
@@ -899,7 +1000,7 @@ public final class SocketReceiveDataProto3 {
* uint64 seq = 1;
*/
public Builder clearSeq() {
-
+
seq_ = 0L;
onChanged();
return this;
@@ -908,7 +1009,7 @@ public final class SocketReceiveDataProto3 {
private int msgType_ ;
/**
*
- ** 消息来自:0.自车与ADAS数据
+ ** 消息来自:0.自车与ADAS数据
*
*
* uint32 msgType = 2;
@@ -918,26 +1019,26 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 消息来自:0.自车与ADAS数据
+ ** 消息来自:0.自车与ADAS数据
*
*
* uint32 msgType = 2;
*/
public Builder setMsgType(int value) {
-
+
msgType_ = value;
onChanged();
return this;
}
/**
*
- ** 消息来自:0.自车与ADAS数据
+ ** 消息来自:0.自车与ADAS数据
*
*
* uint32 msgType = 2;
*/
public Builder clearMsgType() {
-
+
msgType_ = 0;
onChanged();
return this;
@@ -946,7 +1047,7 @@ public final class SocketReceiveDataProto3 {
private Object sn_ = "";
/**
*
- ** 工控机对应的车机sn
+ ** 工控机对应的车机sn
*
*
* string sn = 3;
@@ -965,7 +1066,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 工控机对应的车机sn
+ ** 工控机对应的车机sn
*
*
* string sn = 3;
@@ -974,7 +1075,7 @@ public final class SocketReceiveDataProto3 {
getSnBytes() {
Object ref = sn_;
if (ref instanceof String) {
- com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
sn_ = b;
@@ -985,7 +1086,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 工控机对应的车机sn
+ ** 工控机对应的车机sn
*
*
* string sn = 3;
@@ -995,27 +1096,27 @@ public final class SocketReceiveDataProto3 {
if (value == null) {
throw new NullPointerException();
}
-
+
sn_ = value;
onChanged();
return this;
}
/**
*
- ** 工控机对应的车机sn
+ ** 工控机对应的车机sn
*
*
* string sn = 3;
*/
public Builder clearSn() {
-
+
sn_ = getDefaultInstance().getSn();
onChanged();
return this;
}
/**
*
- ** 工控机对应的车机sn
+ ** 工控机对应的车机sn
*
*
* string sn = 3;
@@ -1026,7 +1127,7 @@ public final class SocketReceiveDataProto3 {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
+
sn_ = value;
onChanged();
return this;
@@ -1035,7 +1136,7 @@ public final class SocketReceiveDataProto3 {
private Object iPCSn_ = "";
/**
*
- ** 工控机sn
+ ** 工控机sn
*
*
* string IPCSn = 4;
@@ -1054,7 +1155,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 工控机sn
+ ** 工控机sn
*
*
* string IPCSn = 4;
@@ -1063,7 +1164,7 @@ public final class SocketReceiveDataProto3 {
getIPCSnBytes() {
Object ref = iPCSn_;
if (ref instanceof String) {
- com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
iPCSn_ = b;
@@ -1074,7 +1175,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 工控机sn
+ ** 工控机sn
*
*
* string IPCSn = 4;
@@ -1084,27 +1185,27 @@ public final class SocketReceiveDataProto3 {
if (value == null) {
throw new NullPointerException();
}
-
+
iPCSn_ = value;
onChanged();
return this;
}
/**
*
- ** 工控机sn
+ ** 工控机sn
*
*
* string IPCSn = 4;
*/
public Builder clearIPCSn() {
-
+
iPCSn_ = getDefaultInstance().getIPCSn();
onChanged();
return this;
}
/**
*
- ** 工控机sn
+ ** 工控机sn
*
*
* string IPCSn = 4;
@@ -1115,7 +1216,7 @@ public final class SocketReceiveDataProto3 {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
+
iPCSn_ = value;
onChanged();
return this;
@@ -1126,7 +1227,7 @@ public final class SocketReceiveDataProto3 {
OnePerSecondSendReqProto, OnePerSecondSendReqProto.Builder, OnePerSecondSendReqProtoOrBuilder> dataBuilder_;
/**
*
- ** 自车、adas的实体组合数据
+ ** 自车、adas的实体组合数据
*
*
* .mogo.yycp.service.OnePerSecondSendReqProto data = 5;
@@ -1136,7 +1237,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 自车、adas的实体组合数据
+ ** 自车、adas的实体组合数据
*
*
* .mogo.yycp.service.OnePerSecondSendReqProto data = 5;
@@ -1150,7 +1251,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 自车、adas的实体组合数据
+ ** 自车、adas的实体组合数据
*
*
* .mogo.yycp.service.OnePerSecondSendReqProto data = 5;
@@ -1170,7 +1271,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 自车、adas的实体组合数据
+ ** 自车、adas的实体组合数据
*
*
* .mogo.yycp.service.OnePerSecondSendReqProto data = 5;
@@ -1188,7 +1289,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 自车、adas的实体组合数据
+ ** 自车、adas的实体组合数据
*
*
* .mogo.yycp.service.OnePerSecondSendReqProto data = 5;
@@ -1210,7 +1311,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 自车、adas的实体组合数据
+ ** 自车、adas的实体组合数据
*
*
* .mogo.yycp.service.OnePerSecondSendReqProto data = 5;
@@ -1228,19 +1329,19 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 自车、adas的实体组合数据
+ ** 自车、adas的实体组合数据
*
*
* .mogo.yycp.service.OnePerSecondSendReqProto data = 5;
*/
public OnePerSecondSendReqProto.Builder getDataBuilder() {
-
+
onChanged();
return getDataFieldBuilder().getBuilder();
}
/**
*
- ** 自车、adas的实体组合数据
+ ** 自车、adas的实体组合数据
*
*
* .mogo.yycp.service.OnePerSecondSendReqProto data = 5;
@@ -1255,7 +1356,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 自车、adas的实体组合数据
+ ** 自车、adas的实体组合数据
*
*
* .mogo.yycp.service.OnePerSecondSendReqProto data = 5;
@@ -1274,27 +1375,180 @@ public final class SocketReceiveDataProto3 {
return dataBuilder_;
}
+ private SocketRequestVo data2_ = null;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ SocketRequestVo, SocketRequestVo.Builder, SocketRequestVoOrBuilder> data2Builder_;
+ /**
+ * + ** AI云上行数据处理 / 小程序上行数据处理 + *+ * + *
.mogo.yycp.service.SocketRequestVo data2 = 6;
+ */
+ public boolean hasData2() {
+ return data2Builder_ != null || data2_ != null;
+ }
+ /**
+ * + ** AI云上行数据处理 / 小程序上行数据处理 + *+ * + *
.mogo.yycp.service.SocketRequestVo data2 = 6;
+ */
+ public SocketRequestVo getData2() {
+ if (data2Builder_ == null) {
+ return data2_ == null ? SocketRequestVo.getDefaultInstance() : data2_;
+ } else {
+ return data2Builder_.getMessage();
+ }
+ }
+ /**
+ * + ** AI云上行数据处理 / 小程序上行数据处理 + *+ * + *
.mogo.yycp.service.SocketRequestVo data2 = 6;
+ */
+ public Builder setData2(SocketRequestVo value) {
+ if (data2Builder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ data2_ = value;
+ onChanged();
+ } else {
+ data2Builder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + ** AI云上行数据处理 / 小程序上行数据处理 + *+ * + *
.mogo.yycp.service.SocketRequestVo data2 = 6;
+ */
+ public Builder setData2(
+ SocketRequestVo.Builder builderForValue) {
+ if (data2Builder_ == null) {
+ data2_ = builderForValue.build();
+ onChanged();
+ } else {
+ data2Builder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + ** AI云上行数据处理 / 小程序上行数据处理 + *+ * + *
.mogo.yycp.service.SocketRequestVo data2 = 6;
+ */
+ public Builder mergeData2(SocketRequestVo value) {
+ if (data2Builder_ == null) {
+ if (data2_ != null) {
+ data2_ =
+ SocketRequestVo.newBuilder(data2_).mergeFrom(value).buildPartial();
+ } else {
+ data2_ = value;
+ }
+ onChanged();
+ } else {
+ data2Builder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + ** AI云上行数据处理 / 小程序上行数据处理 + *+ * + *
.mogo.yycp.service.SocketRequestVo data2 = 6;
+ */
+ public Builder clearData2() {
+ if (data2Builder_ == null) {
+ data2_ = null;
+ onChanged();
+ } else {
+ data2_ = null;
+ data2Builder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + ** AI云上行数据处理 / 小程序上行数据处理 + *+ * + *
.mogo.yycp.service.SocketRequestVo data2 = 6;
+ */
+ public SocketRequestVo.Builder getData2Builder() {
+
+ onChanged();
+ return getData2FieldBuilder().getBuilder();
+ }
+ /**
+ * + ** AI云上行数据处理 / 小程序上行数据处理 + *+ * + *
.mogo.yycp.service.SocketRequestVo data2 = 6;
+ */
+ public SocketRequestVoOrBuilder getData2OrBuilder() {
+ if (data2Builder_ != null) {
+ return data2Builder_.getMessageOrBuilder();
+ } else {
+ return data2_ == null ?
+ SocketRequestVo.getDefaultInstance() : data2_;
+ }
+ }
+ /**
+ * + ** AI云上行数据处理 / 小程序上行数据处理 + *+ * + *
.mogo.yycp.service.SocketRequestVo data2 = 6;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ SocketRequestVo, SocketRequestVo.Builder, SocketRequestVoOrBuilder>
+ getData2FieldBuilder() {
+ if (data2Builder_ == null) {
+ data2Builder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ SocketRequestVo, SocketRequestVo.Builder, SocketRequestVoOrBuilder>(
+ getData2(),
+ getParentForChildren(),
+ isClean());
+ data2_ = null;
+ }
+ return data2Builder_;
+ }
+
private long utcTime_ ;
/**
- * uint64 utcTime = 6;
+ * uint64 utcTime = 7;
*/
public long getUtcTime() {
return utcTime_;
}
/**
- * uint64 utcTime = 6;
+ * uint64 utcTime = 7;
*/
public Builder setUtcTime(long value) {
-
+
utcTime_ = value;
onChanged();
return this;
}
/**
- * uint64 utcTime = 6;
+ * uint64 utcTime = 7;
*/
public Builder clearUtcTime() {
-
+
utcTime_ = 0L;
onChanged();
return this;
@@ -1302,25 +1556,25 @@ public final class SocketReceiveDataProto3 {
private long upUtcTime_ ;
/**
- * uint64 upUtcTime = 7;
+ * uint64 upUtcTime = 8;
*/
public long getUpUtcTime() {
return upUtcTime_;
}
/**
- * uint64 upUtcTime = 7;
+ * uint64 upUtcTime = 8;
*/
public Builder setUpUtcTime(long value) {
-
+
upUtcTime_ = value;
onChanged();
return this;
}
/**
- * uint64 upUtcTime = 7;
+ * uint64 upUtcTime = 8;
*/
public Builder clearUpUtcTime() {
-
+
upUtcTime_ = 0L;
onChanged();
return this;
@@ -1328,7 +1582,7 @@ public final class SocketReceiveDataProto3 {
private Object cityCode_ = "";
/**
- * string cityCode = 8;
+ * string cityCode = 9;
*/
public String getCityCode() {
Object ref = cityCode_;
@@ -1343,13 +1597,13 @@ public final class SocketReceiveDataProto3 {
}
}
/**
- * string cityCode = 8;
+ * string cityCode = 9;
*/
public com.google.protobuf.ByteString
getCityCodeBytes() {
Object ref = cityCode_;
if (ref instanceof String) {
- com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
cityCode_ = b;
@@ -1359,29 +1613,29 @@ public final class SocketReceiveDataProto3 {
}
}
/**
- * string cityCode = 8;
+ * string cityCode = 9;
*/
public Builder setCityCode(
String value) {
if (value == null) {
throw new NullPointerException();
}
-
+
cityCode_ = value;
onChanged();
return this;
}
/**
- * string cityCode = 8;
+ * string cityCode = 9;
*/
public Builder clearCityCode() {
-
+
cityCode_ = getDefaultInstance().getCityCode();
onChanged();
return this;
}
/**
- * string cityCode = 8;
+ * string cityCode = 9;
*/
public Builder setCityCodeBytes(
com.google.protobuf.ByteString value) {
@@ -1389,7 +1643,7 @@ public final class SocketReceiveDataProto3 {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
+
cityCode_ = value;
onChanged();
return this;
@@ -1518,7 +1772,7 @@ public final class SocketReceiveDataProto3 {
* repeated .mogo.yycp.service.ADASRecognizedReq adas = 2;
*/
ADASRecognizedReqOrBuilder getAdasOrBuilder(
- int index);
+ int index);
}
/**
*
@@ -1908,7 +2162,7 @@ public final class SocketReceiveDataProto3 {
OnePerSecondSendReqProto.class, Builder.class);
}
- // Construct using mogo.yycp.proto.SocketReceiveDataProto3.OnePerSecondSendReqProto.newBuilder()
+ // Construct using com.mogo.realtime.entity.SocketReceiveDataProto3.OnePerSecondSendReqProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
@@ -2051,7 +2305,7 @@ public final class SocketReceiveDataProto3 {
adasBuilder_ = null;
adas_ = other.adas_;
bitField0_ = (bitField0_ & ~0x00000002);
- adasBuilder_ =
+ adasBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getAdasFieldBuilder() : null;
} else {
@@ -2202,7 +2456,7 @@ public final class SocketReceiveDataProto3 {
* .mogo.yycp.service.MyLocationReq self = 1;
*/
public MyLocationReq.Builder getSelfBuilder() {
-
+
onChanged();
return getSelfFieldBuilder().getBuilder();
}
@@ -2612,7 +2866,7 @@ public final class SocketReceiveDataProto3 {
/**
*
- ** 车机sn
+ ** 车机sn
*
*
* string sn = 1;
@@ -2620,7 +2874,7 @@ public final class SocketReceiveDataProto3 {
String getSn();
/**
*
- ** 车机sn
+ ** 车机sn
*
*
* string sn = 1;
@@ -2630,7 +2884,7 @@ public final class SocketReceiveDataProto3 {
/**
*
- ** morton码
+ ** morton码
*
*
* uint64 mortonCode = 2;
@@ -2639,7 +2893,7 @@ public final class SocketReceiveDataProto3 {
/**
*
- ** 最后一个车机定位信息
+ ** 最后一个车机定位信息
*
*
* .mogo.yycp.service.LocationInfoProto lastCoordinate = 3;
@@ -2647,7 +2901,7 @@ public final class SocketReceiveDataProto3 {
boolean hasLastCoordinate();
/**
*
- ** 最后一个车机定位信息
+ ** 最后一个车机定位信息
*
*
* .mogo.yycp.service.LocationInfoProto lastCoordinate = 3;
@@ -2655,7 +2909,7 @@ public final class SocketReceiveDataProto3 {
LocationInfoProto getLastCoordinate();
/**
*
- ** 最后一个车机定位信息
+ ** 最后一个车机定位信息
*
*
* .mogo.yycp.service.LocationInfoProto lastCoordinate = 3;
@@ -2664,7 +2918,7 @@ public final class SocketReceiveDataProto3 {
/**
*
- ** 高精采集在时间段内采集多次车机定位信息
+ ** 高精采集在时间段内采集多次车机定位信息
*
*
* repeated .mogo.yycp.service.LocationInfoProto coordinates = 4;
@@ -2673,7 +2927,7 @@ public final class SocketReceiveDataProto3 {
getCoordinatesList();
/**
*
- ** 高精采集在时间段内采集多次车机定位信息
+ ** 高精采集在时间段内采集多次车机定位信息
*
*
* repeated .mogo.yycp.service.LocationInfoProto coordinates = 4;
@@ -2681,7 +2935,7 @@ public final class SocketReceiveDataProto3 {
LocationInfoProto getCoordinates(int index);
/**
*
- ** 高精采集在时间段内采集多次车机定位信息
+ ** 高精采集在时间段内采集多次车机定位信息
*
*
* repeated .mogo.yycp.service.LocationInfoProto coordinates = 4;
@@ -2689,7 +2943,7 @@ public final class SocketReceiveDataProto3 {
int getCoordinatesCount();
/**
*
- ** 高精采集在时间段内采集多次车机定位信息
+ ** 高精采集在时间段内采集多次车机定位信息
*
*
* repeated .mogo.yycp.service.LocationInfoProto coordinates = 4;
@@ -2698,17 +2952,17 @@ public final class SocketReceiveDataProto3 {
getCoordinatesOrBuilderList();
/**
*
- ** 高精采集在时间段内采集多次车机定位信息
+ ** 高精采集在时间段内采集多次车机定位信息
*
*
* repeated .mogo.yycp.service.LocationInfoProto coordinates = 4;
*/
LocationInfoProtoOrBuilder getCoordinatesOrBuilder(
- int index);
+ int index);
/**
*
- ** {@link mogo.yycp.api.eunm.DataSourceType}
+ ** {@link mogo.yycp.api.eunm.DataSourceType}
*
*
* uint32 fromType = 5;
@@ -2717,12 +2971,21 @@ public final class SocketReceiveDataProto3 {
/**
*
- ** 数据来源精度 0 - 普通定位、1 - 高精定位
+ ** 数据来源精度 0 - 普通定位、1 - 高精定位
*
*
* uint32 dataAccuracy = 6;
*/
int getDataAccuracy();
+
+ /**
+ *
+ ** 业务类型:1.车机展示, 2.数字孪生
+ *
+ *
+ * uint32 businessType = 7;
+ */
+ int getBusinessType();
}
/**
*
@@ -2746,6 +3009,7 @@ public final class SocketReceiveDataProto3 {
coordinates_ = java.util.Collections.emptyList();
fromType_ = 0;
dataAccuracy_ = 0;
+ businessType_ = 0;
}
@Override
@@ -2815,6 +3079,11 @@ public final class SocketReceiveDataProto3 {
dataAccuracy_ = input.readUInt32();
break;
}
+ case 56: {
+
+ businessType_ = input.readUInt32();
+ break;
+ }
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
@@ -2855,7 +3124,7 @@ public final class SocketReceiveDataProto3 {
private volatile Object sn_;
/**
*
- ** 车机sn
+ ** 车机sn
*
*
* string sn = 1;
@@ -2865,7 +3134,7 @@ public final class SocketReceiveDataProto3 {
if (ref instanceof String) {
return (String) ref;
} else {
- com.google.protobuf.ByteString bs =
+ com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
sn_ = s;
@@ -2874,7 +3143,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 车机sn
+ ** 车机sn
*
*
* string sn = 1;
@@ -2883,7 +3152,7 @@ public final class SocketReceiveDataProto3 {
getSnBytes() {
Object ref = sn_;
if (ref instanceof String) {
- com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
sn_ = b;
@@ -2897,7 +3166,7 @@ public final class SocketReceiveDataProto3 {
private long mortonCode_;
/**
*
- ** morton码
+ ** morton码
*
*
* uint64 mortonCode = 2;
@@ -2910,7 +3179,7 @@ public final class SocketReceiveDataProto3 {
private LocationInfoProto lastCoordinate_;
/**
*
- ** 最后一个车机定位信息
+ ** 最后一个车机定位信息
*
*
* .mogo.yycp.service.LocationInfoProto lastCoordinate = 3;
@@ -2920,7 +3189,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 最后一个车机定位信息
+ ** 最后一个车机定位信息
*
*
* .mogo.yycp.service.LocationInfoProto lastCoordinate = 3;
@@ -2930,7 +3199,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 最后一个车机定位信息
+ ** 最后一个车机定位信息
*
*
* .mogo.yycp.service.LocationInfoProto lastCoordinate = 3;
@@ -2943,7 +3212,7 @@ public final class SocketReceiveDataProto3 {
private java.util.List coordinates_;
/**
*
- ** 高精采集在时间段内采集多次车机定位信息
+ ** 高精采集在时间段内采集多次车机定位信息
*
*
* repeated .mogo.yycp.service.LocationInfoProto coordinates = 4;
@@ -2953,7 +3222,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 高精采集在时间段内采集多次车机定位信息
+ ** 高精采集在时间段内采集多次车机定位信息
*
*
* repeated .mogo.yycp.service.LocationInfoProto coordinates = 4;
@@ -2964,7 +3233,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 高精采集在时间段内采集多次车机定位信息
+ ** 高精采集在时间段内采集多次车机定位信息
*
*
* repeated .mogo.yycp.service.LocationInfoProto coordinates = 4;
@@ -2974,7 +3243,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 高精采集在时间段内采集多次车机定位信息
+ ** 高精采集在时间段内采集多次车机定位信息
*
*
* repeated .mogo.yycp.service.LocationInfoProto coordinates = 4;
@@ -2984,7 +3253,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 高精采集在时间段内采集多次车机定位信息
+ ** 高精采集在时间段内采集多次车机定位信息
*
*
* repeated .mogo.yycp.service.LocationInfoProto coordinates = 4;
@@ -2998,7 +3267,7 @@ public final class SocketReceiveDataProto3 {
private int fromType_;
/**
*
- ** {@link mogo.yycp.api.eunm.DataSourceType}
+ ** {@link mogo.yycp.api.eunm.DataSourceType}
*
*
* uint32 fromType = 5;
@@ -3011,7 +3280,7 @@ public final class SocketReceiveDataProto3 {
private int dataAccuracy_;
/**
*
- ** 数据来源精度 0 - 普通定位、1 - 高精定位
+ ** 数据来源精度 0 - 普通定位、1 - 高精定位
*
*
* uint32 dataAccuracy = 6;
@@ -3020,6 +3289,19 @@ public final class SocketReceiveDataProto3 {
return dataAccuracy_;
}
+ public static final int BUSINESSTYPE_FIELD_NUMBER = 7;
+ private int businessType_;
+ /**
+ *
+ ** 业务类型:1.车机展示, 2.数字孪生
+ *
+ *
+ * uint32 businessType = 7;
+ */
+ public int getBusinessType() {
+ return businessType_;
+ }
+
private byte memoizedIsInitialized = -1;
@Override
public final boolean isInitialized() {
@@ -3052,6 +3334,9 @@ public final class SocketReceiveDataProto3 {
if (dataAccuracy_ != 0) {
output.writeUInt32(6, dataAccuracy_);
}
+ if (businessType_ != 0) {
+ output.writeUInt32(7, businessType_);
+ }
unknownFields.writeTo(output);
}
@@ -3084,6 +3369,10 @@ public final class SocketReceiveDataProto3 {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(6, dataAccuracy_);
}
+ if (businessType_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(7, businessType_);
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -3115,6 +3404,8 @@ public final class SocketReceiveDataProto3 {
== other.getFromType());
result = result && (getDataAccuracy()
== other.getDataAccuracy());
+ result = result && (getBusinessType()
+ == other.getBusinessType());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@@ -3143,6 +3434,8 @@ public final class SocketReceiveDataProto3 {
hash = (53 * hash) + getFromType();
hash = (37 * hash) + DATAACCURACY_FIELD_NUMBER;
hash = (53 * hash) + getDataAccuracy();
+ hash = (37 * hash) + BUSINESSTYPE_FIELD_NUMBER;
+ hash = (53 * hash) + getBusinessType();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -3262,7 +3555,7 @@ public final class SocketReceiveDataProto3 {
MyLocationReq.class, Builder.class);
}
- // Construct using mogo.yycp.proto.SocketReceiveDataProto3.MyLocationReq.newBuilder()
+ // Construct using com.mogo.realtime.entity.SocketReceiveDataProto3.MyLocationReq.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
@@ -3301,6 +3594,8 @@ public final class SocketReceiveDataProto3 {
dataAccuracy_ = 0;
+ businessType_ = 0;
+
return this;
}
@@ -3347,6 +3642,7 @@ public final class SocketReceiveDataProto3 {
}
result.fromType_ = fromType_;
result.dataAccuracy_ = dataAccuracy_;
+ result.businessType_ = businessType_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
@@ -3424,7 +3720,7 @@ public final class SocketReceiveDataProto3 {
coordinatesBuilder_ = null;
coordinates_ = other.coordinates_;
bitField0_ = (bitField0_ & ~0x00000008);
- coordinatesBuilder_ =
+ coordinatesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getCoordinatesFieldBuilder() : null;
} else {
@@ -3438,6 +3734,9 @@ public final class SocketReceiveDataProto3 {
if (other.getDataAccuracy() != 0) {
setDataAccuracy(other.getDataAccuracy());
}
+ if (other.getBusinessType() != 0) {
+ setBusinessType(other.getBusinessType());
+ }
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -3471,7 +3770,7 @@ public final class SocketReceiveDataProto3 {
private Object sn_ = "";
/**
*
- ** 车机sn
+ ** 车机sn
*
*
* string sn = 1;
@@ -3490,7 +3789,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 车机sn
+ ** 车机sn
*
*
* string sn = 1;
@@ -3499,7 +3798,7 @@ public final class SocketReceiveDataProto3 {
getSnBytes() {
Object ref = sn_;
if (ref instanceof String) {
- com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
sn_ = b;
@@ -3510,7 +3809,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 车机sn
+ ** 车机sn
*
*
* string sn = 1;
@@ -3520,27 +3819,27 @@ public final class SocketReceiveDataProto3 {
if (value == null) {
throw new NullPointerException();
}
-
+
sn_ = value;
onChanged();
return this;
}
/**
*
- ** 车机sn
+ ** 车机sn
*
*
* string sn = 1;
*/
public Builder clearSn() {
-
+
sn_ = getDefaultInstance().getSn();
onChanged();
return this;
}
/**
*
- ** 车机sn
+ ** 车机sn
*
*
* string sn = 1;
@@ -3551,7 +3850,7 @@ public final class SocketReceiveDataProto3 {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
+
sn_ = value;
onChanged();
return this;
@@ -3560,7 +3859,7 @@ public final class SocketReceiveDataProto3 {
private long mortonCode_ ;
/**
*
- ** morton码
+ ** morton码
*
*
* uint64 mortonCode = 2;
@@ -3570,26 +3869,26 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** morton码
+ ** morton码
*
*
* uint64 mortonCode = 2;
*/
public Builder setMortonCode(long value) {
-
+
mortonCode_ = value;
onChanged();
return this;
}
/**
*
- ** morton码
+ ** morton码
*
*
* uint64 mortonCode = 2;
*/
public Builder clearMortonCode() {
-
+
mortonCode_ = 0L;
onChanged();
return this;
@@ -3600,7 +3899,7 @@ public final class SocketReceiveDataProto3 {
LocationInfoProto, LocationInfoProto.Builder, LocationInfoProtoOrBuilder> lastCoordinateBuilder_;
/**
*
- ** 最后一个车机定位信息
+ ** 最后一个车机定位信息
*
*
* .mogo.yycp.service.LocationInfoProto lastCoordinate = 3;
@@ -3610,7 +3909,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 最后一个车机定位信息
+ ** 最后一个车机定位信息
*
*
* .mogo.yycp.service.LocationInfoProto lastCoordinate = 3;
@@ -3624,7 +3923,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 最后一个车机定位信息
+ ** 最后一个车机定位信息
*
*
* .mogo.yycp.service.LocationInfoProto lastCoordinate = 3;
@@ -3644,7 +3943,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 最后一个车机定位信息
+ ** 最后一个车机定位信息
*
*
* .mogo.yycp.service.LocationInfoProto lastCoordinate = 3;
@@ -3662,7 +3961,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 最后一个车机定位信息
+ ** 最后一个车机定位信息
*
*
* .mogo.yycp.service.LocationInfoProto lastCoordinate = 3;
@@ -3684,7 +3983,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 最后一个车机定位信息
+ ** 最后一个车机定位信息
*
*
* .mogo.yycp.service.LocationInfoProto lastCoordinate = 3;
@@ -3702,19 +4001,19 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 最后一个车机定位信息
+ ** 最后一个车机定位信息
*
*
* .mogo.yycp.service.LocationInfoProto lastCoordinate = 3;
*/
public LocationInfoProto.Builder getLastCoordinateBuilder() {
-
+
onChanged();
return getLastCoordinateFieldBuilder().getBuilder();
}
/**
*
- ** 最后一个车机定位信息
+ ** 最后一个车机定位信息
*
*
* .mogo.yycp.service.LocationInfoProto lastCoordinate = 3;
@@ -3729,7 +4028,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 最后一个车机定位信息
+ ** 最后一个车机定位信息
*
*
* .mogo.yycp.service.LocationInfoProto lastCoordinate = 3;
@@ -3762,7 +4061,7 @@ public final class SocketReceiveDataProto3 {
/**
*
- ** 高精采集在时间段内采集多次车机定位信息
+ ** 高精采集在时间段内采集多次车机定位信息
*
*
* repeated .mogo.yycp.service.LocationInfoProto coordinates = 4;
@@ -3776,7 +4075,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 高精采集在时间段内采集多次车机定位信息
+ ** 高精采集在时间段内采集多次车机定位信息
*
*
* repeated .mogo.yycp.service.LocationInfoProto coordinates = 4;
@@ -3790,7 +4089,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 高精采集在时间段内采集多次车机定位信息
+ ** 高精采集在时间段内采集多次车机定位信息
*
*
* repeated .mogo.yycp.service.LocationInfoProto coordinates = 4;
@@ -3804,7 +4103,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 高精采集在时间段内采集多次车机定位信息
+ ** 高精采集在时间段内采集多次车机定位信息
*
*
* repeated .mogo.yycp.service.LocationInfoProto coordinates = 4;
@@ -3825,7 +4124,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 高精采集在时间段内采集多次车机定位信息
+ ** 高精采集在时间段内采集多次车机定位信息
*
*
* repeated .mogo.yycp.service.LocationInfoProto coordinates = 4;
@@ -3843,7 +4142,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 高精采集在时间段内采集多次车机定位信息
+ ** 高精采集在时间段内采集多次车机定位信息
*
*
* repeated .mogo.yycp.service.LocationInfoProto coordinates = 4;
@@ -3863,7 +4162,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 高精采集在时间段内采集多次车机定位信息
+ ** 高精采集在时间段内采集多次车机定位信息
*
*
* repeated .mogo.yycp.service.LocationInfoProto coordinates = 4;
@@ -3884,7 +4183,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 高精采集在时间段内采集多次车机定位信息
+ ** 高精采集在时间段内采集多次车机定位信息
*
*
* repeated .mogo.yycp.service.LocationInfoProto coordinates = 4;
@@ -3902,7 +4201,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 高精采集在时间段内采集多次车机定位信息
+ ** 高精采集在时间段内采集多次车机定位信息
*
*
* repeated .mogo.yycp.service.LocationInfoProto coordinates = 4;
@@ -3920,7 +4219,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 高精采集在时间段内采集多次车机定位信息
+ ** 高精采集在时间段内采集多次车机定位信息
*
*
* repeated .mogo.yycp.service.LocationInfoProto coordinates = 4;
@@ -3939,7 +4238,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 高精采集在时间段内采集多次车机定位信息
+ ** 高精采集在时间段内采集多次车机定位信息
*
*
* repeated .mogo.yycp.service.LocationInfoProto coordinates = 4;
@@ -3956,7 +4255,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 高精采集在时间段内采集多次车机定位信息
+ ** 高精采集在时间段内采集多次车机定位信息
*
*
* repeated .mogo.yycp.service.LocationInfoProto coordinates = 4;
@@ -3973,7 +4272,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 高精采集在时间段内采集多次车机定位信息
+ ** 高精采集在时间段内采集多次车机定位信息
*
*
* repeated .mogo.yycp.service.LocationInfoProto coordinates = 4;
@@ -3984,7 +4283,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 高精采集在时间段内采集多次车机定位信息
+ ** 高精采集在时间段内采集多次车机定位信息
*
*
* repeated .mogo.yycp.service.LocationInfoProto coordinates = 4;
@@ -3998,7 +4297,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 高精采集在时间段内采集多次车机定位信息
+ ** 高精采集在时间段内采集多次车机定位信息
*
*
* repeated .mogo.yycp.service.LocationInfoProto coordinates = 4;
@@ -4013,7 +4312,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 高精采集在时间段内采集多次车机定位信息
+ ** 高精采集在时间段内采集多次车机定位信息
*
*
* repeated .mogo.yycp.service.LocationInfoProto coordinates = 4;
@@ -4024,7 +4323,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 高精采集在时间段内采集多次车机定位信息
+ ** 高精采集在时间段内采集多次车机定位信息
*
*
* repeated .mogo.yycp.service.LocationInfoProto coordinates = 4;
@@ -4036,7 +4335,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 高精采集在时间段内采集多次车机定位信息
+ ** 高精采集在时间段内采集多次车机定位信息
*
*
* repeated .mogo.yycp.service.LocationInfoProto coordinates = 4;
@@ -4063,7 +4362,7 @@ public final class SocketReceiveDataProto3 {
private int fromType_ ;
/**
*
- ** {@link mogo.yycp.api.eunm.DataSourceType}
+ ** {@link mogo.yycp.api.eunm.DataSourceType}
*
*
* uint32 fromType = 5;
@@ -4073,26 +4372,26 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** {@link mogo.yycp.api.eunm.DataSourceType}
+ ** {@link mogo.yycp.api.eunm.DataSourceType}
*
*
* uint32 fromType = 5;
*/
public Builder setFromType(int value) {
-
+
fromType_ = value;
onChanged();
return this;
}
/**
*
- ** {@link mogo.yycp.api.eunm.DataSourceType}
+ ** {@link mogo.yycp.api.eunm.DataSourceType}
*
*
* uint32 fromType = 5;
*/
public Builder clearFromType() {
-
+
fromType_ = 0;
onChanged();
return this;
@@ -4101,7 +4400,7 @@ public final class SocketReceiveDataProto3 {
private int dataAccuracy_ ;
/**
*
- ** 数据来源精度 0 - 普通定位、1 - 高精定位
+ ** 数据来源精度 0 - 普通定位、1 - 高精定位
*
*
* uint32 dataAccuracy = 6;
@@ -4111,30 +4410,68 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 数据来源精度 0 - 普通定位、1 - 高精定位
+ ** 数据来源精度 0 - 普通定位、1 - 高精定位
*
*
* uint32 dataAccuracy = 6;
*/
public Builder setDataAccuracy(int value) {
-
+
dataAccuracy_ = value;
onChanged();
return this;
}
/**
*
- ** 数据来源精度 0 - 普通定位、1 - 高精定位
+ ** 数据来源精度 0 - 普通定位、1 - 高精定位
*
*
* uint32 dataAccuracy = 6;
*/
public Builder clearDataAccuracy() {
-
+
dataAccuracy_ = 0;
onChanged();
return this;
}
+
+ private int businessType_ ;
+ /**
+ *
+ ** 业务类型:1.车机展示, 2.数字孪生
+ *
+ *
+ * uint32 businessType = 7;
+ */
+ public int getBusinessType() {
+ return businessType_;
+ }
+ /**
+ *
+ ** 业务类型:1.车机展示, 2.数字孪生
+ *
+ *
+ * uint32 businessType = 7;
+ */
+ public Builder setBusinessType(int value) {
+
+ businessType_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ ** 业务类型:1.车机展示, 2.数字孪生
+ *
+ *
+ * uint32 businessType = 7;
+ */
+ public Builder clearBusinessType() {
+
+ businessType_ = 0;
+ onChanged();
+ return this;
+ }
@Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -4212,7 +4549,7 @@ public final class SocketReceiveDataProto3 {
/**
*
- ** 颜色
+ ** 颜色
*
*
* string color = 2;
@@ -4220,7 +4557,7 @@ public final class SocketReceiveDataProto3 {
String getColor();
/**
*
- ** 颜色
+ ** 颜色
*
*
* string color = 2;
@@ -4230,7 +4567,7 @@ public final class SocketReceiveDataProto3 {
/**
*
- ** 车牌号
+ ** 车牌号
*
*
* string cardId = 3;
@@ -4238,7 +4575,7 @@ public final class SocketReceiveDataProto3 {
String getCardId();
/**
*
- ** 车牌号
+ ** 车牌号
*
*
* string cardId = 3;
@@ -4248,7 +4585,7 @@ public final class SocketReceiveDataProto3 {
/**
*
- ** 纬度
+ ** 纬度
*
*
* double lat = 4;
@@ -4257,7 +4594,7 @@ public final class SocketReceiveDataProto3 {
/**
*
- ** 经度
+ ** 经度
*
*
* double lon = 5;
@@ -4266,7 +4603,7 @@ public final class SocketReceiveDataProto3 {
/**
*
- ** 方向
+ ** 方向
*
*
* double heading = 6;
@@ -4275,7 +4612,7 @@ public final class SocketReceiveDataProto3 {
/**
*
- ** 采集时间
+ ** 采集时间
*
*
* uint64 systemTime = 7;
@@ -4284,7 +4621,7 @@ public final class SocketReceiveDataProto3 {
/**
*
- ** 卫星时间
+ ** 卫星时间
*
*
* uint64 satelliteTime = 8;
@@ -4293,7 +4630,7 @@ public final class SocketReceiveDataProto3 {
/**
*
- ** 海拔
+ ** 海拔
*
*
* double alt = 9;
@@ -4302,7 +4639,7 @@ public final class SocketReceiveDataProto3 {
/**
*
- ** 车速
+ ** 惯导车速 --更准
*
*
* double speed = 10;
@@ -4311,10 +4648,37 @@ public final class SocketReceiveDataProto3 {
/**
*
- ** morton码 工控制可转否?
+ ** 自车速度 --一般
*
*
- * uint64 mortonCode = 11;
+ * double vehicleSpeed = 11;
+ */
+ double getVehicleSpeed();
+
+ /**
+ *
+ ** 加速度
+ *
+ *
+ * double acceleration = 12;
+ */
+ double getAcceleration();
+
+ /**
+ *
+ ** 横摆率
+ *
+ *
+ * double yawRate = 13;
+ */
+ double getYawRate();
+
+ /**
+ *
+ ** morton码
+ *
+ *
+ * uint64 mortonCode = 14;
*/
long getMortonCode();
@@ -4323,7 +4687,7 @@ public final class SocketReceiveDataProto3 {
**城市编码
*
*
- * string cityCode = 12;
+ * string cityCode = 15;
*/
String getCityCode();
/**
@@ -4331,7 +4695,7 @@ public final class SocketReceiveDataProto3 {
**城市编码
*
*
- * string cityCode = 12;
+ * string cityCode = 15;
*/
com.google.protobuf.ByteString
getCityCodeBytes();
@@ -4341,16 +4705,16 @@ public final class SocketReceiveDataProto3 {
**运营车辆类型 9出租车车 10小巴
*
*
- * uint32 vehicleType = 13;
+ * uint32 vehicleType = 16;
*/
int getVehicleType();
/**
*
- ** 数据来源精度(来自上层) 0 - 普通定位、1 - 高精定位
+ ** 数据来源精度(来自上层) 0 - 普通定位、1 - 高精定位
*
*
- * uint32 dataAccuracy = 14;
+ * uint32 dataAccuracy = 17;
*/
int getDataAccuracy();
@@ -4359,7 +4723,7 @@ public final class SocketReceiveDataProto3 {
** 瓦片ID --必传
*
*
- * string tileId = 19;
+ * string tileId = 18;
*/
String getTileId();
/**
@@ -4367,10 +4731,19 @@ public final class SocketReceiveDataProto3 {
** 瓦片ID --必传
*
*
- * string tileId = 19;
+ * string tileId = 18;
*/
com.google.protobuf.ByteString
getTileIdBytes();
+
+ /**
+ * + ** 0. 不开转向灯, 1. 左转灯开, 2. 右转灯开 + *+ * + *
uint32 turnLight = 19;
+ */
+ int getTurnLight();
}
/**
*
@@ -4399,11 +4772,15 @@ public final class SocketReceiveDataProto3 {
satelliteTime_ = 0L;
alt_ = 0D;
speed_ = 0D;
+ vehicleSpeed_ = 0D;
+ acceleration_ = 0D;
+ yawRate_ = 0D;
mortonCode_ = 0L;
cityCode_ = "";
vehicleType_ = 0;
dataAccuracy_ = 0;
tileId_ = "";
+ turnLight_ = 0;
}
@Override
@@ -4483,33 +4860,53 @@ public final class SocketReceiveDataProto3 {
speed_ = input.readDouble();
break;
}
- case 88: {
+ case 89: {
+
+ vehicleSpeed_ = input.readDouble();
+ break;
+ }
+ case 97: {
+
+ acceleration_ = input.readDouble();
+ break;
+ }
+ case 105: {
+
+ yawRate_ = input.readDouble();
+ break;
+ }
+ case 112: {
mortonCode_ = input.readUInt64();
break;
}
- case 98: {
+ case 122: {
String s = input.readStringRequireUtf8();
cityCode_ = s;
break;
}
- case 104: {
+ case 128: {
vehicleType_ = input.readUInt32();
break;
}
- case 112: {
+ case 136: {
dataAccuracy_ = input.readUInt32();
break;
}
- case 154: {
+ case 146: {
String s = input.readStringRequireUtf8();
tileId_ = s;
break;
}
+ case 152: {
+
+ turnLight_ = input.readUInt32();
+ break;
+ }
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
@@ -4556,7 +4953,7 @@ public final class SocketReceiveDataProto3 {
if (ref instanceof String) {
return (String) ref;
} else {
- com.google.protobuf.ByteString bs =
+ com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
sn_ = s;
@@ -4574,7 +4971,7 @@ public final class SocketReceiveDataProto3 {
getSnBytes() {
Object ref = sn_;
if (ref instanceof String) {
- com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
sn_ = b;
@@ -4588,7 +4985,7 @@ public final class SocketReceiveDataProto3 {
private volatile Object color_;
/**
*
- ** 颜色
+ ** 颜色
*
*
* string color = 2;
@@ -4598,7 +4995,7 @@ public final class SocketReceiveDataProto3 {
if (ref instanceof String) {
return (String) ref;
} else {
- com.google.protobuf.ByteString bs =
+ com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
color_ = s;
@@ -4607,7 +5004,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 颜色
+ ** 颜色
*
*
* string color = 2;
@@ -4616,7 +5013,7 @@ public final class SocketReceiveDataProto3 {
getColorBytes() {
Object ref = color_;
if (ref instanceof String) {
- com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
color_ = b;
@@ -4630,7 +5027,7 @@ public final class SocketReceiveDataProto3 {
private volatile Object cardId_;
/**
*
- ** 车牌号
+ ** 车牌号
*
*
* string cardId = 3;
@@ -4640,7 +5037,7 @@ public final class SocketReceiveDataProto3 {
if (ref instanceof String) {
return (String) ref;
} else {
- com.google.protobuf.ByteString bs =
+ com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
cardId_ = s;
@@ -4649,7 +5046,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 车牌号
+ ** 车牌号
*
*
* string cardId = 3;
@@ -4658,7 +5055,7 @@ public final class SocketReceiveDataProto3 {
getCardIdBytes() {
Object ref = cardId_;
if (ref instanceof String) {
- com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
cardId_ = b;
@@ -4672,7 +5069,7 @@ public final class SocketReceiveDataProto3 {
private double lat_;
/**
*
- ** 纬度
+ ** 纬度
*
*
* double lat = 4;
@@ -4685,7 +5082,7 @@ public final class SocketReceiveDataProto3 {
private double lon_;
/**
*
- ** 经度
+ ** 经度
*
*
* double lon = 5;
@@ -4698,7 +5095,7 @@ public final class SocketReceiveDataProto3 {
private double heading_;
/**
*
- ** 方向
+ ** 方向
*
*
* double heading = 6;
@@ -4711,7 +5108,7 @@ public final class SocketReceiveDataProto3 {
private long systemTime_;
/**
*
- ** 采集时间
+ ** 采集时间
*
*
* uint64 systemTime = 7;
@@ -4724,7 +5121,7 @@ public final class SocketReceiveDataProto3 {
private long satelliteTime_;
/**
*
- ** 卫星时间
+ ** 卫星时间
*
*
* uint64 satelliteTime = 8;
@@ -4737,7 +5134,7 @@ public final class SocketReceiveDataProto3 {
private double alt_;
/**
*
- ** 海拔
+ ** 海拔
*
*
* double alt = 9;
@@ -4750,7 +5147,7 @@ public final class SocketReceiveDataProto3 {
private double speed_;
/**
*
- ** 车速
+ ** 惯导车速 --更准
*
*
* double speed = 10;
@@ -4759,34 +5156,73 @@ public final class SocketReceiveDataProto3 {
return speed_;
}
- public static final int MORTONCODE_FIELD_NUMBER = 11;
+ public static final int VEHICLESPEED_FIELD_NUMBER = 11;
+ private double vehicleSpeed_;
+ /**
+ *
+ ** 自车速度 --一般
+ *
+ *
+ * double vehicleSpeed = 11;
+ */
+ public double getVehicleSpeed() {
+ return vehicleSpeed_;
+ }
+
+ public static final int ACCELERATION_FIELD_NUMBER = 12;
+ private double acceleration_;
+ /**
+ *
+ ** 加速度
+ *
+ *
+ * double acceleration = 12;
+ */
+ public double getAcceleration() {
+ return acceleration_;
+ }
+
+ public static final int YAWRATE_FIELD_NUMBER = 13;
+ private double yawRate_;
+ /**
+ *
+ ** 横摆率
+ *
+ *
+ * double yawRate = 13;
+ */
+ public double getYawRate() {
+ return yawRate_;
+ }
+
+ public static final int MORTONCODE_FIELD_NUMBER = 14;
private long mortonCode_;
/**
*
- ** morton码 工控制可转否?
+ ** morton码
*
*
- * uint64 mortonCode = 11;
+ * uint64 mortonCode = 14;
*/
public long getMortonCode() {
return mortonCode_;
}
- public static final int CITYCODE_FIELD_NUMBER = 12;
+ public static final int CITYCODE_FIELD_NUMBER = 15;
private volatile Object cityCode_;
/**
*
**城市编码
*
*
- * string cityCode = 12;
+ * string cityCode = 15;
*/
public String getCityCode() {
Object ref = cityCode_;
if (ref instanceof String) {
return (String) ref;
} else {
- com.google.protobuf.ByteString bs =
+ com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
cityCode_ = s;
@@ -4798,13 +5234,13 @@ public final class SocketReceiveDataProto3 {
**城市编码
*
*
- * string cityCode = 12;
+ * string cityCode = 15;
*/
public com.google.protobuf.ByteString
getCityCodeBytes() {
Object ref = cityCode_;
if (ref instanceof String) {
- com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
cityCode_ = b;
@@ -4814,47 +5250,47 @@ public final class SocketReceiveDataProto3 {
}
}
- public static final int VEHICLETYPE_FIELD_NUMBER = 13;
+ public static final int VEHICLETYPE_FIELD_NUMBER = 16;
private int vehicleType_;
/**
*
**运营车辆类型 9出租车车 10小巴
*
*
- * uint32 vehicleType = 13;
+ * uint32 vehicleType = 16;
*/
public int getVehicleType() {
return vehicleType_;
}
- public static final int DATAACCURACY_FIELD_NUMBER = 14;
+ public static final int DATAACCURACY_FIELD_NUMBER = 17;
private int dataAccuracy_;
/**
*
- ** 数据来源精度(来自上层) 0 - 普通定位、1 - 高精定位
+ ** 数据来源精度(来自上层) 0 - 普通定位、1 - 高精定位
*
*
- * uint32 dataAccuracy = 14;
+ * uint32 dataAccuracy = 17;
*/
public int getDataAccuracy() {
return dataAccuracy_;
}
- public static final int TILEID_FIELD_NUMBER = 19;
+ public static final int TILEID_FIELD_NUMBER = 18;
private volatile Object tileId_;
/**
*
** 瓦片ID --必传
*
*
- * string tileId = 19;
+ * string tileId = 18;
*/
public String getTileId() {
Object ref = tileId_;
if (ref instanceof String) {
return (String) ref;
} else {
- com.google.protobuf.ByteString bs =
+ com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
tileId_ = s;
@@ -4866,13 +5302,13 @@ public final class SocketReceiveDataProto3 {
** 瓦片ID --必传
*
*
- * string tileId = 19;
+ * string tileId = 18;
*/
public com.google.protobuf.ByteString
getTileIdBytes() {
Object ref = tileId_;
if (ref instanceof String) {
- com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
tileId_ = b;
@@ -4882,6 +5318,19 @@ public final class SocketReceiveDataProto3 {
}
}
+ public static final int TURNLIGHT_FIELD_NUMBER = 19;
+ private int turnLight_;
+ /**
+ * + ** 0. 不开转向灯, 1. 左转灯开, 2. 右转灯开 + *+ * + *
uint32 turnLight = 19;
+ */
+ public int getTurnLight() {
+ return turnLight_;
+ }
+
private byte memoizedIsInitialized = -1;
@Override
public final boolean isInitialized() {
@@ -4926,20 +5375,32 @@ public final class SocketReceiveDataProto3 {
if (speed_ != 0D) {
output.writeDouble(10, speed_);
}
+ if (vehicleSpeed_ != 0D) {
+ output.writeDouble(11, vehicleSpeed_);
+ }
+ if (acceleration_ != 0D) {
+ output.writeDouble(12, acceleration_);
+ }
+ if (yawRate_ != 0D) {
+ output.writeDouble(13, yawRate_);
+ }
if (mortonCode_ != 0L) {
- output.writeUInt64(11, mortonCode_);
+ output.writeUInt64(14, mortonCode_);
}
if (!getCityCodeBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 12, cityCode_);
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 15, cityCode_);
}
if (vehicleType_ != 0) {
- output.writeUInt32(13, vehicleType_);
+ output.writeUInt32(16, vehicleType_);
}
if (dataAccuracy_ != 0) {
- output.writeUInt32(14, dataAccuracy_);
+ output.writeUInt32(17, dataAccuracy_);
}
if (!getTileIdBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 19, tileId_);
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 18, tileId_);
+ }
+ if (turnLight_ != 0) {
+ output.writeUInt32(19, turnLight_);
}
unknownFields.writeTo(output);
}
@@ -4987,23 +5448,39 @@ public final class SocketReceiveDataProto3 {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(10, speed_);
}
+ if (vehicleSpeed_ != 0D) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeDoubleSize(11, vehicleSpeed_);
+ }
+ if (acceleration_ != 0D) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeDoubleSize(12, acceleration_);
+ }
+ if (yawRate_ != 0D) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeDoubleSize(13, yawRate_);
+ }
if (mortonCode_ != 0L) {
size += com.google.protobuf.CodedOutputStream
- .computeUInt64Size(11, mortonCode_);
+ .computeUInt64Size(14, mortonCode_);
}
if (!getCityCodeBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, cityCode_);
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, cityCode_);
}
if (vehicleType_ != 0) {
size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(13, vehicleType_);
+ .computeUInt32Size(16, vehicleType_);
}
if (dataAccuracy_ != 0) {
size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(14, dataAccuracy_);
+ .computeUInt32Size(17, dataAccuracy_);
}
if (!getTileIdBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, tileId_);
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, tileId_);
+ }
+ if (turnLight_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(19, turnLight_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -5051,6 +5528,18 @@ public final class SocketReceiveDataProto3 {
Double.doubleToLongBits(getSpeed())
== Double.doubleToLongBits(
other.getSpeed()));
+ result = result && (
+ Double.doubleToLongBits(getVehicleSpeed())
+ == Double.doubleToLongBits(
+ other.getVehicleSpeed()));
+ result = result && (
+ Double.doubleToLongBits(getAcceleration())
+ == Double.doubleToLongBits(
+ other.getAcceleration()));
+ result = result && (
+ Double.doubleToLongBits(getYawRate())
+ == Double.doubleToLongBits(
+ other.getYawRate()));
result = result && (getMortonCode()
== other.getMortonCode());
result = result && getCityCode()
@@ -5061,6 +5550,8 @@ public final class SocketReceiveDataProto3 {
== other.getDataAccuracy());
result = result && getTileId()
.equals(other.getTileId());
+ result = result && (getTurnLight()
+ == other.getTurnLight());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@@ -5099,6 +5590,15 @@ public final class SocketReceiveDataProto3 {
hash = (37 * hash) + SPEED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
Double.doubleToLongBits(getSpeed()));
+ hash = (37 * hash) + VEHICLESPEED_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ Double.doubleToLongBits(getVehicleSpeed()));
+ hash = (37 * hash) + ACCELERATION_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ Double.doubleToLongBits(getAcceleration()));
+ hash = (37 * hash) + YAWRATE_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ Double.doubleToLongBits(getYawRate()));
hash = (37 * hash) + MORTONCODE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getMortonCode());
@@ -5110,6 +5610,8 @@ public final class SocketReceiveDataProto3 {
hash = (53 * hash) + getDataAccuracy();
hash = (37 * hash) + TILEID_FIELD_NUMBER;
hash = (53 * hash) + getTileId().hashCode();
+ hash = (37 * hash) + TURNLIGHT_FIELD_NUMBER;
+ hash = (53 * hash) + getTurnLight();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -5229,7 +5731,7 @@ public final class SocketReceiveDataProto3 {
LocationInfoProto.class, Builder.class);
}
- // Construct using mogo.yycp.proto.SocketReceiveDataProto3.LocationInfoProto.newBuilder()
+ // Construct using com.mogo.realtime.entity.SocketReceiveDataProto3.LocationInfoProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
@@ -5267,6 +5769,12 @@ public final class SocketReceiveDataProto3 {
speed_ = 0D;
+ vehicleSpeed_ = 0D;
+
+ acceleration_ = 0D;
+
+ yawRate_ = 0D;
+
mortonCode_ = 0L;
cityCode_ = "";
@@ -5277,6 +5785,8 @@ public final class SocketReceiveDataProto3 {
tileId_ = "";
+ turnLight_ = 0;
+
return this;
}
@@ -5313,11 +5823,15 @@ public final class SocketReceiveDataProto3 {
result.satelliteTime_ = satelliteTime_;
result.alt_ = alt_;
result.speed_ = speed_;
+ result.vehicleSpeed_ = vehicleSpeed_;
+ result.acceleration_ = acceleration_;
+ result.yawRate_ = yawRate_;
result.mortonCode_ = mortonCode_;
result.cityCode_ = cityCode_;
result.vehicleType_ = vehicleType_;
result.dataAccuracy_ = dataAccuracy_;
result.tileId_ = tileId_;
+ result.turnLight_ = turnLight_;
onBuilt();
return result;
}
@@ -5399,6 +5913,15 @@ public final class SocketReceiveDataProto3 {
if (other.getSpeed() != 0D) {
setSpeed(other.getSpeed());
}
+ if (other.getVehicleSpeed() != 0D) {
+ setVehicleSpeed(other.getVehicleSpeed());
+ }
+ if (other.getAcceleration() != 0D) {
+ setAcceleration(other.getAcceleration());
+ }
+ if (other.getYawRate() != 0D) {
+ setYawRate(other.getYawRate());
+ }
if (other.getMortonCode() != 0L) {
setMortonCode(other.getMortonCode());
}
@@ -5416,6 +5939,9 @@ public final class SocketReceiveDataProto3 {
tileId_ = other.tileId_;
onChanged();
}
+ if (other.getTurnLight() != 0) {
+ setTurnLight(other.getTurnLight());
+ }
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -5476,7 +6002,7 @@ public final class SocketReceiveDataProto3 {
getSnBytes() {
Object ref = sn_;
if (ref instanceof String) {
- com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
sn_ = b;
@@ -5497,7 +6023,7 @@ public final class SocketReceiveDataProto3 {
if (value == null) {
throw new NullPointerException();
}
-
+
sn_ = value;
onChanged();
return this;
@@ -5510,7 +6036,7 @@ public final class SocketReceiveDataProto3 {
* string sn = 1;
*/
public Builder clearSn() {
-
+
sn_ = getDefaultInstance().getSn();
onChanged();
return this;
@@ -5528,7 +6054,7 @@ public final class SocketReceiveDataProto3 {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
+
sn_ = value;
onChanged();
return this;
@@ -5537,7 +6063,7 @@ public final class SocketReceiveDataProto3 {
private Object color_ = "";
/**
*
- ** 颜色
+ ** 颜色
*
*
* string color = 2;
@@ -5556,7 +6082,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 颜色
+ ** 颜色
*
*
* string color = 2;
@@ -5565,7 +6091,7 @@ public final class SocketReceiveDataProto3 {
getColorBytes() {
Object ref = color_;
if (ref instanceof String) {
- com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
color_ = b;
@@ -5576,7 +6102,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 颜色
+ ** 颜色
*
*
* string color = 2;
@@ -5586,27 +6112,27 @@ public final class SocketReceiveDataProto3 {
if (value == null) {
throw new NullPointerException();
}
-
+
color_ = value;
onChanged();
return this;
}
/**
*
- ** 颜色
+ ** 颜色
*
*
* string color = 2;
*/
public Builder clearColor() {
-
+
color_ = getDefaultInstance().getColor();
onChanged();
return this;
}
/**
*
- ** 颜色
+ ** 颜色
*
*
* string color = 2;
@@ -5617,7 +6143,7 @@ public final class SocketReceiveDataProto3 {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
+
color_ = value;
onChanged();
return this;
@@ -5626,7 +6152,7 @@ public final class SocketReceiveDataProto3 {
private Object cardId_ = "";
/**
*
- ** 车牌号
+ ** 车牌号
*
*
* string cardId = 3;
@@ -5645,7 +6171,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 车牌号
+ ** 车牌号
*
*
* string cardId = 3;
@@ -5654,7 +6180,7 @@ public final class SocketReceiveDataProto3 {
getCardIdBytes() {
Object ref = cardId_;
if (ref instanceof String) {
- com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
cardId_ = b;
@@ -5665,7 +6191,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 车牌号
+ ** 车牌号
*
*
* string cardId = 3;
@@ -5675,27 +6201,27 @@ public final class SocketReceiveDataProto3 {
if (value == null) {
throw new NullPointerException();
}
-
+
cardId_ = value;
onChanged();
return this;
}
/**
*
- ** 车牌号
+ ** 车牌号
*
*
* string cardId = 3;
*/
public Builder clearCardId() {
-
+
cardId_ = getDefaultInstance().getCardId();
onChanged();
return this;
}
/**
*
- ** 车牌号
+ ** 车牌号
*
*
* string cardId = 3;
@@ -5706,7 +6232,7 @@ public final class SocketReceiveDataProto3 {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
+
cardId_ = value;
onChanged();
return this;
@@ -5715,7 +6241,7 @@ public final class SocketReceiveDataProto3 {
private double lat_ ;
/**
*
- ** 纬度
+ ** 纬度
*
*
* double lat = 4;
@@ -5725,26 +6251,26 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 纬度
+ ** 纬度
*
*
* double lat = 4;
*/
public Builder setLat(double value) {
-
+
lat_ = value;
onChanged();
return this;
}
/**
*
- ** 纬度
+ ** 纬度
*
*
* double lat = 4;
*/
public Builder clearLat() {
-
+
lat_ = 0D;
onChanged();
return this;
@@ -5753,7 +6279,7 @@ public final class SocketReceiveDataProto3 {
private double lon_ ;
/**
*
- ** 经度
+ ** 经度
*
*
* double lon = 5;
@@ -5763,26 +6289,26 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 经度
+ ** 经度
*
*
* double lon = 5;
*/
public Builder setLon(double value) {
-
+
lon_ = value;
onChanged();
return this;
}
/**
*
- ** 经度
+ ** 经度
*
*
* double lon = 5;
*/
public Builder clearLon() {
-
+
lon_ = 0D;
onChanged();
return this;
@@ -5791,7 +6317,7 @@ public final class SocketReceiveDataProto3 {
private double heading_ ;
/**
*
- ** 方向
+ ** 方向
*
*
* double heading = 6;
@@ -5801,26 +6327,26 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 方向
+ ** 方向
*
*
* double heading = 6;
*/
public Builder setHeading(double value) {
-
+
heading_ = value;
onChanged();
return this;
}
/**
*
- ** 方向
+ ** 方向
*
*
* double heading = 6;
*/
public Builder clearHeading() {
-
+
heading_ = 0D;
onChanged();
return this;
@@ -5829,7 +6355,7 @@ public final class SocketReceiveDataProto3 {
private long systemTime_ ;
/**
*
- ** 采集时间
+ ** 采集时间
*
*
* uint64 systemTime = 7;
@@ -5839,26 +6365,26 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 采集时间
+ ** 采集时间
*
*
* uint64 systemTime = 7;
*/
public Builder setSystemTime(long value) {
-
+
systemTime_ = value;
onChanged();
return this;
}
/**
*
- ** 采集时间
+ ** 采集时间
*
*
* uint64 systemTime = 7;
*/
public Builder clearSystemTime() {
-
+
systemTime_ = 0L;
onChanged();
return this;
@@ -5867,7 +6393,7 @@ public final class SocketReceiveDataProto3 {
private long satelliteTime_ ;
/**
*
- ** 卫星时间
+ ** 卫星时间
*
*
* uint64 satelliteTime = 8;
@@ -5877,26 +6403,26 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 卫星时间
+ ** 卫星时间
*
*
* uint64 satelliteTime = 8;
*/
public Builder setSatelliteTime(long value) {
-
+
satelliteTime_ = value;
onChanged();
return this;
}
/**
*
- ** 卫星时间
+ ** 卫星时间
*
*
* uint64 satelliteTime = 8;
*/
public Builder clearSatelliteTime() {
-
+
satelliteTime_ = 0L;
onChanged();
return this;
@@ -5905,7 +6431,7 @@ public final class SocketReceiveDataProto3 {
private double alt_ ;
/**
*
- ** 海拔
+ ** 海拔
*
*
* double alt = 9;
@@ -5915,26 +6441,26 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 海拔
+ ** 海拔
*
*
* double alt = 9;
*/
public Builder setAlt(double value) {
-
+
alt_ = value;
onChanged();
return this;
}
/**
*
- ** 海拔
+ ** 海拔
*
*
* double alt = 9;
*/
public Builder clearAlt() {
-
+
alt_ = 0D;
onChanged();
return this;
@@ -5943,7 +6469,7 @@ public final class SocketReceiveDataProto3 {
private double speed_ ;
/**
*
- ** 车速
+ ** 惯导车速 --更准
*
*
* double speed = 10;
@@ -5953,64 +6479,178 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 车速
+ ** 惯导车速 --更准
*
*
* double speed = 10;
*/
public Builder setSpeed(double value) {
-
+
speed_ = value;
onChanged();
return this;
}
/**
*
- ** 车速
+ ** 惯导车速 --更准
*
*
* double speed = 10;
*/
public Builder clearSpeed() {
-
+
speed_ = 0D;
onChanged();
return this;
}
+ private double vehicleSpeed_ ;
+ /**
+ * + ** 自车速度 --一般 + *+ * + *
double vehicleSpeed = 11;
+ */
+ public double getVehicleSpeed() {
+ return vehicleSpeed_;
+ }
+ /**
+ * + ** 自车速度 --一般 + *+ * + *
double vehicleSpeed = 11;
+ */
+ public Builder setVehicleSpeed(double value) {
+
+ vehicleSpeed_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + ** 自车速度 --一般 + *+ * + *
double vehicleSpeed = 11;
+ */
+ public Builder clearVehicleSpeed() {
+
+ vehicleSpeed_ = 0D;
+ onChanged();
+ return this;
+ }
+
+ private double acceleration_ ;
+ /**
+ * + ** 加速度 + *+ * + *
double acceleration = 12;
+ */
+ public double getAcceleration() {
+ return acceleration_;
+ }
+ /**
+ * + ** 加速度 + *+ * + *
double acceleration = 12;
+ */
+ public Builder setAcceleration(double value) {
+
+ acceleration_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + ** 加速度 + *+ * + *
double acceleration = 12;
+ */
+ public Builder clearAcceleration() {
+
+ acceleration_ = 0D;
+ onChanged();
+ return this;
+ }
+
+ private double yawRate_ ;
+ /**
+ * + ** 横摆率 + *+ * + *
double yawRate = 13;
+ */
+ public double getYawRate() {
+ return yawRate_;
+ }
+ /**
+ * + ** 横摆率 + *+ * + *
double yawRate = 13;
+ */
+ public Builder setYawRate(double value) {
+
+ yawRate_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + ** 横摆率 + *+ * + *
double yawRate = 13;
+ */
+ public Builder clearYawRate() {
+
+ yawRate_ = 0D;
+ onChanged();
+ return this;
+ }
+
private long mortonCode_ ;
/**
*
- ** morton码 工控制可转否?
+ ** morton码
*
*
- * uint64 mortonCode = 11;
+ * uint64 mortonCode = 14;
*/
public long getMortonCode() {
return mortonCode_;
}
/**
*
- ** morton码 工控制可转否?
+ ** morton码
*
*
- * uint64 mortonCode = 11;
+ * uint64 mortonCode = 14;
*/
public Builder setMortonCode(long value) {
-
+
mortonCode_ = value;
onChanged();
return this;
}
/**
*
- ** morton码 工控制可转否?
+ ** morton码
*
*
- * uint64 mortonCode = 11;
+ * uint64 mortonCode = 14;
*/
public Builder clearMortonCode() {
-
+
mortonCode_ = 0L;
onChanged();
return this;
@@ -6022,7 +6662,7 @@ public final class SocketReceiveDataProto3 {
**城市编码
*
*
- * string cityCode = 12;
+ * string cityCode = 15;
*/
public String getCityCode() {
Object ref = cityCode_;
@@ -6041,13 +6681,13 @@ public final class SocketReceiveDataProto3 {
**城市编码
*
*
- * string cityCode = 12;
+ * string cityCode = 15;
*/
public com.google.protobuf.ByteString
getCityCodeBytes() {
Object ref = cityCode_;
if (ref instanceof String) {
- com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
cityCode_ = b;
@@ -6061,14 +6701,14 @@ public final class SocketReceiveDataProto3 {
**城市编码
*
*
- * string cityCode = 12;
+ * string cityCode = 15;
*/
public Builder setCityCode(
String value) {
if (value == null) {
throw new NullPointerException();
}
-
+
cityCode_ = value;
onChanged();
return this;
@@ -6078,10 +6718,10 @@ public final class SocketReceiveDataProto3 {
**城市编码
*
*
- * string cityCode = 12;
+ * string cityCode = 15;
*/
public Builder clearCityCode() {
-
+
cityCode_ = getDefaultInstance().getCityCode();
onChanged();
return this;
@@ -6091,7 +6731,7 @@ public final class SocketReceiveDataProto3 {
**城市编码
*
*
- * string cityCode = 12;
+ * string cityCode = 15;
*/
public Builder setCityCodeBytes(
com.google.protobuf.ByteString value) {
@@ -6099,7 +6739,7 @@ public final class SocketReceiveDataProto3 {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
+
cityCode_ = value;
onChanged();
return this;
@@ -6111,7 +6751,7 @@ public final class SocketReceiveDataProto3 {
**运营车辆类型 9出租车车 10小巴
*
*
- * uint32 vehicleType = 13;
+ * uint32 vehicleType = 16;
*/
public int getVehicleType() {
return vehicleType_;
@@ -6121,10 +6761,10 @@ public final class SocketReceiveDataProto3 {
**运营车辆类型 9出租车车 10小巴
*
*
- * uint32 vehicleType = 13;
+ * uint32 vehicleType = 16;
*/
public Builder setVehicleType(int value) {
-
+
vehicleType_ = value;
onChanged();
return this;
@@ -6134,10 +6774,10 @@ public final class SocketReceiveDataProto3 {
**运营车辆类型 9出租车车 10小巴
*
*
- * uint32 vehicleType = 13;
+ * uint32 vehicleType = 16;
*/
public Builder clearVehicleType() {
-
+
vehicleType_ = 0;
onChanged();
return this;
@@ -6146,36 +6786,36 @@ public final class SocketReceiveDataProto3 {
private int dataAccuracy_ ;
/**
*
- ** 数据来源精度(来自上层) 0 - 普通定位、1 - 高精定位
+ ** 数据来源精度(来自上层) 0 - 普通定位、1 - 高精定位
*
*
- * uint32 dataAccuracy = 14;
+ * uint32 dataAccuracy = 17;
*/
public int getDataAccuracy() {
return dataAccuracy_;
}
/**
*
- ** 数据来源精度(来自上层) 0 - 普通定位、1 - 高精定位
+ ** 数据来源精度(来自上层) 0 - 普通定位、1 - 高精定位
*
*
- * uint32 dataAccuracy = 14;
+ * uint32 dataAccuracy = 17;
*/
public Builder setDataAccuracy(int value) {
-
+
dataAccuracy_ = value;
onChanged();
return this;
}
/**
*
- ** 数据来源精度(来自上层) 0 - 普通定位、1 - 高精定位
+ ** 数据来源精度(来自上层) 0 - 普通定位、1 - 高精定位
*
*
- * uint32 dataAccuracy = 14;
+ * uint32 dataAccuracy = 17;
*/
public Builder clearDataAccuracy() {
-
+
dataAccuracy_ = 0;
onChanged();
return this;
@@ -6187,7 +6827,7 @@ public final class SocketReceiveDataProto3 {
** 瓦片ID --必传
*
*
- * string tileId = 19;
+ * string tileId = 18;
*/
public String getTileId() {
Object ref = tileId_;
@@ -6206,13 +6846,13 @@ public final class SocketReceiveDataProto3 {
** 瓦片ID --必传
*
*
- * string tileId = 19;
+ * string tileId = 18;
*/
public com.google.protobuf.ByteString
getTileIdBytes() {
Object ref = tileId_;
if (ref instanceof String) {
- com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
tileId_ = b;
@@ -6226,14 +6866,14 @@ public final class SocketReceiveDataProto3 {
** 瓦片ID --必传
*
*
- * string tileId = 19;
+ * string tileId = 18;
*/
public Builder setTileId(
String value) {
if (value == null) {
throw new NullPointerException();
}
-
+
tileId_ = value;
onChanged();
return this;
@@ -6243,10 +6883,10 @@ public final class SocketReceiveDataProto3 {
** 瓦片ID --必传
*
*
- * string tileId = 19;
+ * string tileId = 18;
*/
public Builder clearTileId() {
-
+
tileId_ = getDefaultInstance().getTileId();
onChanged();
return this;
@@ -6256,7 +6896,7 @@ public final class SocketReceiveDataProto3 {
** 瓦片ID --必传
*
*
- * string tileId = 19;
+ * string tileId = 18;
*/
public Builder setTileIdBytes(
com.google.protobuf.ByteString value) {
@@ -6264,11 +6904,49 @@ public final class SocketReceiveDataProto3 {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
+
tileId_ = value;
onChanged();
return this;
}
+
+ private int turnLight_ ;
+ /**
+ * + ** 0. 不开转向灯, 1. 左转灯开, 2. 右转灯开 + *+ * + *
uint32 turnLight = 19;
+ */
+ public int getTurnLight() {
+ return turnLight_;
+ }
+ /**
+ * + ** 0. 不开转向灯, 1. 左转灯开, 2. 右转灯开 + *+ * + *
uint32 turnLight = 19;
+ */
+ public Builder setTurnLight(int value) {
+
+ turnLight_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + ** 0. 不开转向灯, 1. 左转灯开, 2. 右转灯开 + *+ * + *
uint32 turnLight = 19;
+ */
+ public Builder clearTurnLight() {
+
+ turnLight_ = 0;
+ onChanged();
+ return this;
+ }
@Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -6328,7 +7006,7 @@ public final class SocketReceiveDataProto3 {
/**
*
- ** 类型: 1-人 2-自行车 3-小轿车 4-摩托车 5-红绿灯 6-bus 8-truck 9-路边摄像头
+ ** 类型: 1-人 2-自行车 3-小轿车 4-摩托车 5-红绿灯 6-bus 8-truck 9-路边摄像头
*
*
* uint32 type = 1;
@@ -6355,7 +7033,7 @@ public final class SocketReceiveDataProto3 {
/**
*
- ** 颜色
+ ** 颜色
*
*
* string color = 3;
@@ -6363,7 +7041,7 @@ public final class SocketReceiveDataProto3 {
String getColor();
/**
*
- ** 颜色
+ ** 颜色
*
*
* string color = 3;
@@ -6373,7 +7051,7 @@ public final class SocketReceiveDataProto3 {
/**
*
- ** 车牌号
+ ** 车牌号
*
*
* string cardId = 4;
@@ -6381,7 +7059,7 @@ public final class SocketReceiveDataProto3 {
String getCardId();
/**
*
- ** 车牌号
+ ** 车牌号
*
*
* string cardId = 4;
@@ -6391,7 +7069,7 @@ public final class SocketReceiveDataProto3 {
/**
*
- ** 纬度
+ ** 纬度
*
*
* double lat = 5;
@@ -6400,7 +7078,7 @@ public final class SocketReceiveDataProto3 {
/**
*
- ** 经度
+ ** 经度
*
*
* double lon = 6;
@@ -6409,7 +7087,7 @@ public final class SocketReceiveDataProto3 {
/**
*
- ** 方向
+ ** 方向
*
*
* double heading = 7;
@@ -6418,7 +7096,7 @@ public final class SocketReceiveDataProto3 {
/**
*
- ** 采集时间
+ ** 采集时间
*
*
* uint64 systemTime = 8;
@@ -6427,7 +7105,7 @@ public final class SocketReceiveDataProto3 {
/**
*
- ** 卫星时间
+ ** 卫星时间
*
*
* uint64 satelliteTime = 9;
@@ -6436,7 +7114,7 @@ public final class SocketReceiveDataProto3 {
/**
*
- ** 海拔
+ ** 海拔
*
*
* double alt = 10;
@@ -6445,7 +7123,7 @@ public final class SocketReceiveDataProto3 {
/**
*
- ** 车速
+ ** 车速
*
*
* double speed = 11;
@@ -6490,7 +7168,7 @@ public final class SocketReceiveDataProto3 {
/**
*
- ** 数据来源精度(来自上层) 0 - 普通定位、1 - 高精定位
+ ** 数据来源精度(来自上层) 0 - 普通定位、1 - 高精定位
*
*
* uint32 dataAccuracy = 15;
@@ -6499,7 +7177,7 @@ public final class SocketReceiveDataProto3 {
/**
*
- ** 采集设备到被采车辆距离
+ ** 采集设备到被采车辆距离
*
*
* double distance = 16;
@@ -6508,7 +7186,7 @@ public final class SocketReceiveDataProto3 {
/**
*
- ** 瓦片ID
+ ** 瓦片ID
*
*
* string tileId = 17;
@@ -6516,7 +7194,7 @@ public final class SocketReceiveDataProto3 {
String getTileId();
/**
*
- ** 瓦片ID
+ ** 瓦片ID
*
*
* string tileId = 17;
@@ -6526,12 +7204,57 @@ public final class SocketReceiveDataProto3 {
/**
*
- ** 危险级别 1 绿,2 黄,3 红
+ ** 危险级别 1 绿,2 黄,3 红
*
*
* uint32 drawlevel = 18;
*/
int getDrawlevel();
+
+ /**
+ * + ** 采集设备到被采车辆X距离 + *+ * + *
double distanceX = 19;
+ */
+ double getDistanceX();
+
+ /**
+ * + ** 采集设备到被采车辆Y距离 + *+ * + *
double distanceY = 20;
+ */
+ double getDistanceY();
+
+ /**
+ * + ** 道路ID + *+ * + *
string roadId = 21;
+ */
+ String getRoadId();
+ /**
+ * + ** 道路ID + *+ * + *
string roadId = 21;
+ */
+ com.google.protobuf.ByteString
+ getRoadIdBytes();
+
+ /**
+ * + ** 车道号:中心线编号为0, 中心线右侧编号为负数,3车道通行Road的车道编号,0,-1,-2,-3 + *+ * + *
uint32 laneNum = 22;
+ */
+ int getLaneNum();
}
/**
*
@@ -6568,6 +7291,10 @@ public final class SocketReceiveDataProto3 {
distance_ = 0D;
tileId_ = "";
drawlevel_ = 0;
+ distanceX_ = 0D;
+ distanceY_ = 0D;
+ roadId_ = "";
+ laneNum_ = 0;
}
@Override
@@ -6689,6 +7416,27 @@ public final class SocketReceiveDataProto3 {
drawlevel_ = input.readUInt32();
break;
}
+ case 153: {
+
+ distanceX_ = input.readDouble();
+ break;
+ }
+ case 161: {
+
+ distanceY_ = input.readDouble();
+ break;
+ }
+ case 170: {
+ String s = input.readStringRequireUtf8();
+
+ roadId_ = s;
+ break;
+ }
+ case 176: {
+
+ laneNum_ = input.readUInt32();
+ break;
+ }
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
@@ -6725,7 +7473,7 @@ public final class SocketReceiveDataProto3 {
private int type_;
/**
*
- ** 类型: 1-人 2-自行车 3-小轿车 4-摩托车 5-红绿灯 6-bus 8-truck 9-路边摄像头
+ ** 类型: 1-人 2-自行车 3-小轿车 4-摩托车 5-红绿灯 6-bus 8-truck 9-路边摄像头
*
*
* uint32 type = 1;
@@ -6748,7 +7496,7 @@ public final class SocketReceiveDataProto3 {
if (ref instanceof String) {
return (String) ref;
} else {
- com.google.protobuf.ByteString bs =
+ com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
uuid_ = s;
@@ -6766,7 +7514,7 @@ public final class SocketReceiveDataProto3 {
getUuidBytes() {
Object ref = uuid_;
if (ref instanceof String) {
- com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
uuid_ = b;
@@ -6780,7 +7528,7 @@ public final class SocketReceiveDataProto3 {
private volatile Object color_;
/**
*
- ** 颜色
+ ** 颜色
*
*
* string color = 3;
@@ -6790,7 +7538,7 @@ public final class SocketReceiveDataProto3 {
if (ref instanceof String) {
return (String) ref;
} else {
- com.google.protobuf.ByteString bs =
+ com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
color_ = s;
@@ -6799,7 +7547,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 颜色
+ ** 颜色
*
*
* string color = 3;
@@ -6808,7 +7556,7 @@ public final class SocketReceiveDataProto3 {
getColorBytes() {
Object ref = color_;
if (ref instanceof String) {
- com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
color_ = b;
@@ -6822,7 +7570,7 @@ public final class SocketReceiveDataProto3 {
private volatile Object cardId_;
/**
*
- ** 车牌号
+ ** 车牌号
*
*
* string cardId = 4;
@@ -6832,7 +7580,7 @@ public final class SocketReceiveDataProto3 {
if (ref instanceof String) {
return (String) ref;
} else {
- com.google.protobuf.ByteString bs =
+ com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
cardId_ = s;
@@ -6841,7 +7589,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 车牌号
+ ** 车牌号
*
*
* string cardId = 4;
@@ -6850,7 +7598,7 @@ public final class SocketReceiveDataProto3 {
getCardIdBytes() {
Object ref = cardId_;
if (ref instanceof String) {
- com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
cardId_ = b;
@@ -6864,7 +7612,7 @@ public final class SocketReceiveDataProto3 {
private double lat_;
/**
*
- ** 纬度
+ ** 纬度
*
*
* double lat = 5;
@@ -6877,7 +7625,7 @@ public final class SocketReceiveDataProto3 {
private double lon_;
/**
*
- ** 经度
+ ** 经度
*
*
* double lon = 6;
@@ -6890,7 +7638,7 @@ public final class SocketReceiveDataProto3 {
private double heading_;
/**
*
- ** 方向
+ ** 方向
*
*
* double heading = 7;
@@ -6903,7 +7651,7 @@ public final class SocketReceiveDataProto3 {
private long systemTime_;
/**
*
- ** 采集时间
+ ** 采集时间
*
*
* uint64 systemTime = 8;
@@ -6916,7 +7664,7 @@ public final class SocketReceiveDataProto3 {
private long satelliteTime_;
/**
*
- ** 卫星时间
+ ** 卫星时间
*
*
* uint64 satelliteTime = 9;
@@ -6929,7 +7677,7 @@ public final class SocketReceiveDataProto3 {
private double alt_;
/**
*
- ** 海拔
+ ** 海拔
*
*
* double alt = 10;
@@ -6942,7 +7690,7 @@ public final class SocketReceiveDataProto3 {
private double speed_;
/**
*
- ** 车速
+ ** 车速
*
*
* double speed = 11;
@@ -6978,7 +7726,7 @@ public final class SocketReceiveDataProto3 {
if (ref instanceof String) {
return (String) ref;
} else {
- com.google.protobuf.ByteString bs =
+ com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
cityCode_ = s;
@@ -6996,7 +7744,7 @@ public final class SocketReceiveDataProto3 {
getCityCodeBytes() {
Object ref = cityCode_;
if (ref instanceof String) {
- com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
cityCode_ = b;
@@ -7023,7 +7771,7 @@ public final class SocketReceiveDataProto3 {
private int dataAccuracy_;
/**
*
- ** 数据来源精度(来自上层) 0 - 普通定位、1 - 高精定位
+ ** 数据来源精度(来自上层) 0 - 普通定位、1 - 高精定位
*
*
* uint32 dataAccuracy = 15;
@@ -7036,7 +7784,7 @@ public final class SocketReceiveDataProto3 {
private double distance_;
/**
*
- ** 采集设备到被采车辆距离
+ ** 采集设备到被采车辆距离
*
*
* double distance = 16;
@@ -7049,7 +7797,7 @@ public final class SocketReceiveDataProto3 {
private volatile Object tileId_;
/**
*
- ** 瓦片ID
+ ** 瓦片ID
*
*
* string tileId = 17;
@@ -7059,7 +7807,7 @@ public final class SocketReceiveDataProto3 {
if (ref instanceof String) {
return (String) ref;
} else {
- com.google.protobuf.ByteString bs =
+ com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
tileId_ = s;
@@ -7068,7 +7816,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 瓦片ID
+ ** 瓦片ID
*
*
* string tileId = 17;
@@ -7077,7 +7825,7 @@ public final class SocketReceiveDataProto3 {
getTileIdBytes() {
Object ref = tileId_;
if (ref instanceof String) {
- com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
tileId_ = b;
@@ -7091,7 +7839,7 @@ public final class SocketReceiveDataProto3 {
private int drawlevel_;
/**
*
- ** 危险级别 1 绿,2 黄,3 红
+ ** 危险级别 1 绿,2 黄,3 红
*
*
* uint32 drawlevel = 18;
@@ -7100,6 +7848,87 @@ public final class SocketReceiveDataProto3 {
return drawlevel_;
}
+ public static final int DISTANCEX_FIELD_NUMBER = 19;
+ private double distanceX_;
+ /**
+ *
+ ** 采集设备到被采车辆X距离
+ *
+ *
+ * double distanceX = 19;
+ */
+ public double getDistanceX() {
+ return distanceX_;
+ }
+
+ public static final int DISTANCEY_FIELD_NUMBER = 20;
+ private double distanceY_;
+ /**
+ *
+ ** 采集设备到被采车辆Y距离
+ *
+ *
+ * double distanceY = 20;
+ */
+ public double getDistanceY() {
+ return distanceY_;
+ }
+
+ public static final int ROADID_FIELD_NUMBER = 21;
+ private volatile Object roadId_;
+ /**
+ *
+ ** 道路ID
+ *
+ *
+ * string roadId = 21;
+ */
+ public String getRoadId() {
+ Object ref = roadId_;
+ if (ref instanceof String) {
+ return (String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ String s = bs.toStringUtf8();
+ roadId_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ ** 道路ID
+ *
+ *
+ * string roadId = 21;
+ */
+ public com.google.protobuf.ByteString
+ getRoadIdBytes() {
+ Object ref = roadId_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (String) ref);
+ roadId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int LANENUM_FIELD_NUMBER = 22;
+ private int laneNum_;
+ /**
+ *
+ ** 车道号:中心线编号为0, 中心线右侧编号为负数,3车道通行Road的车道编号,0,-1,-2,-3
+ *
+ *
+ * uint32 laneNum = 22;
+ */
+ public int getLaneNum() {
+ return laneNum_;
+ }
+
private byte memoizedIsInitialized = -1;
@Override
public final boolean isInitialized() {
@@ -7168,6 +7997,18 @@ public final class SocketReceiveDataProto3 {
if (drawlevel_ != 0) {
output.writeUInt32(18, drawlevel_);
}
+ if (distanceX_ != 0D) {
+ output.writeDouble(19, distanceX_);
+ }
+ if (distanceY_ != 0D) {
+ output.writeDouble(20, distanceY_);
+ }
+ if (!getRoadIdBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 21, roadId_);
+ }
+ if (laneNum_ != 0) {
+ output.writeUInt32(22, laneNum_);
+ }
unknownFields.writeTo(output);
}
@@ -7244,6 +8085,21 @@ public final class SocketReceiveDataProto3 {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(18, drawlevel_);
}
+ if (distanceX_ != 0D) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeDoubleSize(19, distanceX_);
+ }
+ if (distanceY_ != 0D) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeDoubleSize(20, distanceY_);
+ }
+ if (!getRoadIdBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(21, roadId_);
+ }
+ if (laneNum_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(22, laneNum_);
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -7308,6 +8164,18 @@ public final class SocketReceiveDataProto3 {
.equals(other.getTileId());
result = result && (getDrawlevel()
== other.getDrawlevel());
+ result = result && (
+ Double.doubleToLongBits(getDistanceX())
+ == Double.doubleToLongBits(
+ other.getDistanceX()));
+ result = result && (
+ Double.doubleToLongBits(getDistanceY())
+ == Double.doubleToLongBits(
+ other.getDistanceY()));
+ result = result && getRoadId()
+ .equals(other.getRoadId());
+ result = result && (getLaneNum()
+ == other.getLaneNum());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@@ -7364,6 +8232,16 @@ public final class SocketReceiveDataProto3 {
hash = (53 * hash) + getTileId().hashCode();
hash = (37 * hash) + DRAWLEVEL_FIELD_NUMBER;
hash = (53 * hash) + getDrawlevel();
+ hash = (37 * hash) + DISTANCEX_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ Double.doubleToLongBits(getDistanceX()));
+ hash = (37 * hash) + DISTANCEY_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ Double.doubleToLongBits(getDistanceY()));
+ hash = (37 * hash) + ROADID_FIELD_NUMBER;
+ hash = (53 * hash) + getRoadId().hashCode();
+ hash = (37 * hash) + LANENUM_FIELD_NUMBER;
+ hash = (53 * hash) + getLaneNum();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -7483,7 +8361,7 @@ public final class SocketReceiveDataProto3 {
ADASRecognizedReq.class, Builder.class);
}
- // Construct using mogo.yycp.proto.SocketReceiveDataProto3.ADASRecognizedReq.newBuilder()
+ // Construct using com.mogo.realtime.entity.SocketReceiveDataProto3.ADASRecognizedReq.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
@@ -7537,6 +8415,14 @@ public final class SocketReceiveDataProto3 {
drawlevel_ = 0;
+ distanceX_ = 0D;
+
+ distanceY_ = 0D;
+
+ roadId_ = "";
+
+ laneNum_ = 0;
+
return this;
}
@@ -7581,6 +8467,10 @@ public final class SocketReceiveDataProto3 {
result.distance_ = distance_;
result.tileId_ = tileId_;
result.drawlevel_ = drawlevel_;
+ result.distanceX_ = distanceX_;
+ result.distanceY_ = distanceY_;
+ result.roadId_ = roadId_;
+ result.laneNum_ = laneNum_;
onBuilt();
return result;
}
@@ -7688,6 +8578,19 @@ public final class SocketReceiveDataProto3 {
if (other.getDrawlevel() != 0) {
setDrawlevel(other.getDrawlevel());
}
+ if (other.getDistanceX() != 0D) {
+ setDistanceX(other.getDistanceX());
+ }
+ if (other.getDistanceY() != 0D) {
+ setDistanceY(other.getDistanceY());
+ }
+ if (!other.getRoadId().isEmpty()) {
+ roadId_ = other.roadId_;
+ onChanged();
+ }
+ if (other.getLaneNum() != 0) {
+ setLaneNum(other.getLaneNum());
+ }
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -7720,7 +8623,7 @@ public final class SocketReceiveDataProto3 {
private int type_ ;
/**
*
- ** 类型: 1-人 2-自行车 3-小轿车 4-摩托车 5-红绿灯 6-bus 8-truck 9-路边摄像头
+ ** 类型: 1-人 2-自行车 3-小轿车 4-摩托车 5-红绿灯 6-bus 8-truck 9-路边摄像头
*
*
* uint32 type = 1;
@@ -7730,26 +8633,26 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 类型: 1-人 2-自行车 3-小轿车 4-摩托车 5-红绿灯 6-bus 8-truck 9-路边摄像头
+ ** 类型: 1-人 2-自行车 3-小轿车 4-摩托车 5-红绿灯 6-bus 8-truck 9-路边摄像头
*
*
* uint32 type = 1;
*/
public Builder setType(int value) {
-
+
type_ = value;
onChanged();
return this;
}
/**
*
- ** 类型: 1-人 2-自行车 3-小轿车 4-摩托车 5-红绿灯 6-bus 8-truck 9-路边摄像头
+ ** 类型: 1-人 2-自行车 3-小轿车 4-摩托车 5-红绿灯 6-bus 8-truck 9-路边摄像头
*
*
* uint32 type = 1;
*/
public Builder clearType() {
-
+
type_ = 0;
onChanged();
return this;
@@ -7786,7 +8689,7 @@ public final class SocketReceiveDataProto3 {
getUuidBytes() {
Object ref = uuid_;
if (ref instanceof String) {
- com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
uuid_ = b;
@@ -7807,7 +8710,7 @@ public final class SocketReceiveDataProto3 {
if (value == null) {
throw new NullPointerException();
}
-
+
uuid_ = value;
onChanged();
return this;
@@ -7820,7 +8723,7 @@ public final class SocketReceiveDataProto3 {
* string uuid = 2;
*/
public Builder clearUuid() {
-
+
uuid_ = getDefaultInstance().getUuid();
onChanged();
return this;
@@ -7838,7 +8741,7 @@ public final class SocketReceiveDataProto3 {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
+
uuid_ = value;
onChanged();
return this;
@@ -7847,7 +8750,7 @@ public final class SocketReceiveDataProto3 {
private Object color_ = "";
/**
*
- ** 颜色
+ ** 颜色
*
*
* string color = 3;
@@ -7866,7 +8769,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 颜色
+ ** 颜色
*
*
* string color = 3;
@@ -7875,7 +8778,7 @@ public final class SocketReceiveDataProto3 {
getColorBytes() {
Object ref = color_;
if (ref instanceof String) {
- com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
color_ = b;
@@ -7886,7 +8789,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 颜色
+ ** 颜色
*
*
* string color = 3;
@@ -7896,27 +8799,27 @@ public final class SocketReceiveDataProto3 {
if (value == null) {
throw new NullPointerException();
}
-
+
color_ = value;
onChanged();
return this;
}
/**
*
- ** 颜色
+ ** 颜色
*
*
* string color = 3;
*/
public Builder clearColor() {
-
+
color_ = getDefaultInstance().getColor();
onChanged();
return this;
}
/**
*
- ** 颜色
+ ** 颜色
*
*
* string color = 3;
@@ -7927,7 +8830,7 @@ public final class SocketReceiveDataProto3 {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
+
color_ = value;
onChanged();
return this;
@@ -7936,7 +8839,7 @@ public final class SocketReceiveDataProto3 {
private Object cardId_ = "";
/**
*
- ** 车牌号
+ ** 车牌号
*
*
* string cardId = 4;
@@ -7955,7 +8858,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 车牌号
+ ** 车牌号
*
*
* string cardId = 4;
@@ -7964,7 +8867,7 @@ public final class SocketReceiveDataProto3 {
getCardIdBytes() {
Object ref = cardId_;
if (ref instanceof String) {
- com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
cardId_ = b;
@@ -7975,7 +8878,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 车牌号
+ ** 车牌号
*
*
* string cardId = 4;
@@ -7985,27 +8888,27 @@ public final class SocketReceiveDataProto3 {
if (value == null) {
throw new NullPointerException();
}
-
+
cardId_ = value;
onChanged();
return this;
}
/**
*
- ** 车牌号
+ ** 车牌号
*
*
* string cardId = 4;
*/
public Builder clearCardId() {
-
+
cardId_ = getDefaultInstance().getCardId();
onChanged();
return this;
}
/**
*
- ** 车牌号
+ ** 车牌号
*
*
* string cardId = 4;
@@ -8016,7 +8919,7 @@ public final class SocketReceiveDataProto3 {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
+
cardId_ = value;
onChanged();
return this;
@@ -8025,7 +8928,7 @@ public final class SocketReceiveDataProto3 {
private double lat_ ;
/**
*
- ** 纬度
+ ** 纬度
*
*
* double lat = 5;
@@ -8035,26 +8938,26 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 纬度
+ ** 纬度
*
*
* double lat = 5;
*/
public Builder setLat(double value) {
-
+
lat_ = value;
onChanged();
return this;
}
/**
*
- ** 纬度
+ ** 纬度
*
*
* double lat = 5;
*/
public Builder clearLat() {
-
+
lat_ = 0D;
onChanged();
return this;
@@ -8063,7 +8966,7 @@ public final class SocketReceiveDataProto3 {
private double lon_ ;
/**
*
- ** 经度
+ ** 经度
*
*
* double lon = 6;
@@ -8073,26 +8976,26 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 经度
+ ** 经度
*
*
* double lon = 6;
*/
public Builder setLon(double value) {
-
+
lon_ = value;
onChanged();
return this;
}
/**
*
- ** 经度
+ ** 经度
*
*
* double lon = 6;
*/
public Builder clearLon() {
-
+
lon_ = 0D;
onChanged();
return this;
@@ -8101,7 +9004,7 @@ public final class SocketReceiveDataProto3 {
private double heading_ ;
/**
*
- ** 方向
+ ** 方向
*
*
* double heading = 7;
@@ -8111,26 +9014,26 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 方向
+ ** 方向
*
*
* double heading = 7;
*/
public Builder setHeading(double value) {
-
+
heading_ = value;
onChanged();
return this;
}
/**
*
- ** 方向
+ ** 方向
*
*
* double heading = 7;
*/
public Builder clearHeading() {
-
+
heading_ = 0D;
onChanged();
return this;
@@ -8139,7 +9042,7 @@ public final class SocketReceiveDataProto3 {
private long systemTime_ ;
/**
*
- ** 采集时间
+ ** 采集时间
*
*
* uint64 systemTime = 8;
@@ -8149,26 +9052,26 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 采集时间
+ ** 采集时间
*
*
* uint64 systemTime = 8;
*/
public Builder setSystemTime(long value) {
-
+
systemTime_ = value;
onChanged();
return this;
}
/**
*
- ** 采集时间
+ ** 采集时间
*
*
* uint64 systemTime = 8;
*/
public Builder clearSystemTime() {
-
+
systemTime_ = 0L;
onChanged();
return this;
@@ -8177,7 +9080,7 @@ public final class SocketReceiveDataProto3 {
private long satelliteTime_ ;
/**
*
- ** 卫星时间
+ ** 卫星时间
*
*
* uint64 satelliteTime = 9;
@@ -8187,26 +9090,26 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 卫星时间
+ ** 卫星时间
*
*
* uint64 satelliteTime = 9;
*/
public Builder setSatelliteTime(long value) {
-
+
satelliteTime_ = value;
onChanged();
return this;
}
/**
*
- ** 卫星时间
+ ** 卫星时间
*
*
* uint64 satelliteTime = 9;
*/
public Builder clearSatelliteTime() {
-
+
satelliteTime_ = 0L;
onChanged();
return this;
@@ -8215,7 +9118,7 @@ public final class SocketReceiveDataProto3 {
private double alt_ ;
/**
*
- ** 海拔
+ ** 海拔
*
*
* double alt = 10;
@@ -8225,26 +9128,26 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 海拔
+ ** 海拔
*
*
* double alt = 10;
*/
public Builder setAlt(double value) {
-
+
alt_ = value;
onChanged();
return this;
}
/**
*
- ** 海拔
+ ** 海拔
*
*
* double alt = 10;
*/
public Builder clearAlt() {
-
+
alt_ = 0D;
onChanged();
return this;
@@ -8253,7 +9156,7 @@ public final class SocketReceiveDataProto3 {
private double speed_ ;
/**
*
- ** 车速
+ ** 车速
*
*
* double speed = 11;
@@ -8263,26 +9166,26 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 车速
+ ** 车速
*
*
* double speed = 11;
*/
public Builder setSpeed(double value) {
-
+
speed_ = value;
onChanged();
return this;
}
/**
*
- ** 车速
+ ** 车速
*
*
* double speed = 11;
*/
public Builder clearSpeed() {
-
+
speed_ = 0D;
onChanged();
return this;
@@ -8307,7 +9210,7 @@ public final class SocketReceiveDataProto3 {
* uint64 mortonCode = 12;
*/
public Builder setMortonCode(long value) {
-
+
mortonCode_ = value;
onChanged();
return this;
@@ -8320,7 +9223,7 @@ public final class SocketReceiveDataProto3 {
* uint64 mortonCode = 12;
*/
public Builder clearMortonCode() {
-
+
mortonCode_ = 0L;
onChanged();
return this;
@@ -8357,7 +9260,7 @@ public final class SocketReceiveDataProto3 {
getCityCodeBytes() {
Object ref = cityCode_;
if (ref instanceof String) {
- com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
cityCode_ = b;
@@ -8378,7 +9281,7 @@ public final class SocketReceiveDataProto3 {
if (value == null) {
throw new NullPointerException();
}
-
+
cityCode_ = value;
onChanged();
return this;
@@ -8391,7 +9294,7 @@ public final class SocketReceiveDataProto3 {
* string cityCode = 13;
*/
public Builder clearCityCode() {
-
+
cityCode_ = getDefaultInstance().getCityCode();
onChanged();
return this;
@@ -8409,7 +9312,7 @@ public final class SocketReceiveDataProto3 {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
+
cityCode_ = value;
onChanged();
return this;
@@ -8434,7 +9337,7 @@ public final class SocketReceiveDataProto3 {
* uint32 vehicleType = 14;
*/
public Builder setVehicleType(int value) {
-
+
vehicleType_ = value;
onChanged();
return this;
@@ -8447,7 +9350,7 @@ public final class SocketReceiveDataProto3 {
* uint32 vehicleType = 14;
*/
public Builder clearVehicleType() {
-
+
vehicleType_ = 0;
onChanged();
return this;
@@ -8456,7 +9359,7 @@ public final class SocketReceiveDataProto3 {
private int dataAccuracy_ ;
/**
*
- ** 数据来源精度(来自上层) 0 - 普通定位、1 - 高精定位
+ ** 数据来源精度(来自上层) 0 - 普通定位、1 - 高精定位
*
*
* uint32 dataAccuracy = 15;
@@ -8466,26 +9369,26 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 数据来源精度(来自上层) 0 - 普通定位、1 - 高精定位
+ ** 数据来源精度(来自上层) 0 - 普通定位、1 - 高精定位
*
*
* uint32 dataAccuracy = 15;
*/
public Builder setDataAccuracy(int value) {
-
+
dataAccuracy_ = value;
onChanged();
return this;
}
/**
*
- ** 数据来源精度(来自上层) 0 - 普通定位、1 - 高精定位
+ ** 数据来源精度(来自上层) 0 - 普通定位、1 - 高精定位
*
*
* uint32 dataAccuracy = 15;
*/
public Builder clearDataAccuracy() {
-
+
dataAccuracy_ = 0;
onChanged();
return this;
@@ -8494,7 +9397,7 @@ public final class SocketReceiveDataProto3 {
private double distance_ ;
/**
*
- ** 采集设备到被采车辆距离
+ ** 采集设备到被采车辆距离
*
*
* double distance = 16;
@@ -8504,26 +9407,26 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 采集设备到被采车辆距离
+ ** 采集设备到被采车辆距离
*
*
* double distance = 16;
*/
public Builder setDistance(double value) {
-
+
distance_ = value;
onChanged();
return this;
}
/**
*
- ** 采集设备到被采车辆距离
+ ** 采集设备到被采车辆距离
*
*
* double distance = 16;
*/
public Builder clearDistance() {
-
+
distance_ = 0D;
onChanged();
return this;
@@ -8532,7 +9435,7 @@ public final class SocketReceiveDataProto3 {
private Object tileId_ = "";
/**
*
- ** 瓦片ID
+ ** 瓦片ID
*
*
* string tileId = 17;
@@ -8551,7 +9454,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 瓦片ID
+ ** 瓦片ID
*
*
* string tileId = 17;
@@ -8560,7 +9463,7 @@ public final class SocketReceiveDataProto3 {
getTileIdBytes() {
Object ref = tileId_;
if (ref instanceof String) {
- com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
tileId_ = b;
@@ -8571,7 +9474,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 瓦片ID
+ ** 瓦片ID
*
*
* string tileId = 17;
@@ -8581,27 +9484,27 @@ public final class SocketReceiveDataProto3 {
if (value == null) {
throw new NullPointerException();
}
-
+
tileId_ = value;
onChanged();
return this;
}
/**
*
- ** 瓦片ID
+ ** 瓦片ID
*
*
* string tileId = 17;
*/
public Builder clearTileId() {
-
+
tileId_ = getDefaultInstance().getTileId();
onChanged();
return this;
}
/**
*
- ** 瓦片ID
+ ** 瓦片ID
*
*
* string tileId = 17;
@@ -8612,7 +9515,7 @@ public final class SocketReceiveDataProto3 {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
+
tileId_ = value;
onChanged();
return this;
@@ -8621,7 +9524,7 @@ public final class SocketReceiveDataProto3 {
private int drawlevel_ ;
/**
*
- ** 危险级别 1 绿,2 黄,3 红
+ ** 危险级别 1 绿,2 黄,3 红
*
*
* uint32 drawlevel = 18;
@@ -8631,30 +9534,233 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 危险级别 1 绿,2 黄,3 红
+ ** 危险级别 1 绿,2 黄,3 红
*
*
* uint32 drawlevel = 18;
*/
public Builder setDrawlevel(int value) {
-
+
drawlevel_ = value;
onChanged();
return this;
}
/**
*
- ** 危险级别 1 绿,2 黄,3 红
+ ** 危险级别 1 绿,2 黄,3 红
*
*
* uint32 drawlevel = 18;
*/
public Builder clearDrawlevel() {
-
+
drawlevel_ = 0;
onChanged();
return this;
}
+
+ private double distanceX_ ;
+ /**
+ *
+ ** 采集设备到被采车辆X距离
+ *
+ *
+ * double distanceX = 19;
+ */
+ public double getDistanceX() {
+ return distanceX_;
+ }
+ /**
+ *
+ ** 采集设备到被采车辆X距离
+ *
+ *
+ * double distanceX = 19;
+ */
+ public Builder setDistanceX(double value) {
+
+ distanceX_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ ** 采集设备到被采车辆X距离
+ *
+ *
+ * double distanceX = 19;
+ */
+ public Builder clearDistanceX() {
+
+ distanceX_ = 0D;
+ onChanged();
+ return this;
+ }
+
+ private double distanceY_ ;
+ /**
+ *
+ ** 采集设备到被采车辆Y距离
+ *
+ *
+ * double distanceY = 20;
+ */
+ public double getDistanceY() {
+ return distanceY_;
+ }
+ /**
+ *
+ ** 采集设备到被采车辆Y距离
+ *
+ *
+ * double distanceY = 20;
+ */
+ public Builder setDistanceY(double value) {
+
+ distanceY_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ ** 采集设备到被采车辆Y距离
+ *
+ *
+ * double distanceY = 20;
+ */
+ public Builder clearDistanceY() {
+
+ distanceY_ = 0D;
+ onChanged();
+ return this;
+ }
+
+ private Object roadId_ = "";
+ /**
+ *
+ ** 道路ID
+ *
+ *
+ * string roadId = 21;
+ */
+ public String getRoadId() {
+ Object ref = roadId_;
+ if (!(ref instanceof String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ String s = bs.toStringUtf8();
+ roadId_ = s;
+ return s;
+ } else {
+ return (String) ref;
+ }
+ }
+ /**
+ *
+ ** 道路ID
+ *
+ *
+ * string roadId = 21;
+ */
+ public com.google.protobuf.ByteString
+ getRoadIdBytes() {
+ Object ref = roadId_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (String) ref);
+ roadId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ ** 道路ID
+ *
+ *
+ * string roadId = 21;
+ */
+ public Builder setRoadId(
+ String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ roadId_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ ** 道路ID
+ *
+ *
+ * string roadId = 21;
+ */
+ public Builder clearRoadId() {
+
+ roadId_ = getDefaultInstance().getRoadId();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ ** 道路ID
+ *
+ *
+ * string roadId = 21;
+ */
+ public Builder setRoadIdBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ roadId_ = value;
+ onChanged();
+ return this;
+ }
+
+ private int laneNum_ ;
+ /**
+ *
+ ** 车道号:中心线编号为0, 中心线右侧编号为负数,3车道通行Road的车道编号,0,-1,-2,-3
+ *
+ *
+ * uint32 laneNum = 22;
+ */
+ public int getLaneNum() {
+ return laneNum_;
+ }
+ /**
+ *
+ ** 车道号:中心线编号为0, 中心线右侧编号为负数,3车道通行Road的车道编号,0,-1,-2,-3
+ *
+ *
+ * uint32 laneNum = 22;
+ */
+ public Builder setLaneNum(int value) {
+
+ laneNum_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ ** 车道号:中心线编号为0, 中心线右侧编号为负数,3车道通行Road的车道编号,0,-1,-2,-3
+ *
+ *
+ * uint32 laneNum = 22;
+ */
+ public Builder clearLaneNum() {
+
+ laneNum_ = 0;
+ onChanged();
+ return this;
+ }
@Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -8708,31 +9814,1266 @@ public final class SocketReceiveDataProto3 {
}
+ public interface SocketRequestVoOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:mogo.yycp.service.SocketRequestVo)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ **sn
+ *
+ *
+ * string sn = 1;
+ */
+ String getSn();
+ /**
+ *
+ **sn
+ *
+ *
+ * string sn = 1;
+ */
+ com.google.protobuf.ByteString
+ getSnBytes();
+
+ /**
+ * double lat = 2;
+ */
+ double getLat();
+
+ /**
+ * double lon = 3;
+ */
+ double getLon();
+
+ /**
+ *
+ **城市编码
+ *
+ *
+ * string cityCode = 4;
+ */
+ String getCityCode();
+ /**
+ *
+ **城市编码
+ *
+ *
+ * string cityCode = 4;
+ */
+ com.google.protobuf.ByteString
+ getCityCodeBytes();
+
+ /**
+ *
+ **运营车辆类型 9出租车车 10小巴
+ *
+ *
+ * uint32 vehicleType = 5;
+ */
+ int getVehicleType();
+
+ /**
+ *
+ **追踪车辆 sn
+ *
+ *
+ * string trackingVehicleSn = 6;
+ */
+ String getTrackingVehicleSn();
+ /**
+ *
+ **追踪车辆 sn
+ *
+ *
+ * string trackingVehicleSn = 6;
+ */
+ com.google.protobuf.ByteString
+ getTrackingVehicleSnBytes();
+
+ /**
+ *
+ **0 查询所有车辆模式 1查询运营车辆模式 2查询指定车辆模式
+ *
+ *
+ * uint32 queryType = 7;
+ */
+ int getQueryType();
+ }
+ /**
+ * Protobuf type {@code mogo.yycp.service.SocketRequestVo}
+ */
+ public static final class SocketRequestVo extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:mogo.yycp.service.SocketRequestVo)
+ SocketRequestVoOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use SocketRequestVo.newBuilder() to construct.
+ private SocketRequestVo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private SocketRequestVo() {
+ sn_ = "";
+ lat_ = 0D;
+ lon_ = 0D;
+ cityCode_ = "";
+ vehicleType_ = 0;
+ trackingVehicleSn_ = "";
+ queryType_ = 0;
+ }
+
+ @Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private SocketRequestVo(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new NullPointerException();
+ }
+ int mutable_bitField0_ = 0;
+ 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();
+
+ sn_ = s;
+ break;
+ }
+ case 17: {
+
+ lat_ = input.readDouble();
+ break;
+ }
+ case 25: {
+
+ lon_ = input.readDouble();
+ break;
+ }
+ case 34: {
+ String s = input.readStringRequireUtf8();
+
+ cityCode_ = s;
+ break;
+ }
+ case 40: {
+
+ vehicleType_ = input.readUInt32();
+ break;
+ }
+ case 50: {
+ String s = input.readStringRequireUtf8();
+
+ trackingVehicleSn_ = s;
+ break;
+ }
+ case 56: {
+
+ queryType_ = input.readUInt32();
+ break;
+ }
+ default: {
+ if (!parseUnknownFieldProto3(
+ 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 SocketReceiveDataProto3.internal_static_mogo_yycp_service_SocketRequestVo_descriptor;
+ }
+
+ @Override
+ protected FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return SocketReceiveDataProto3.internal_static_mogo_yycp_service_SocketRequestVo_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ SocketRequestVo.class, Builder.class);
+ }
+
+ public static final int SN_FIELD_NUMBER = 1;
+ private volatile Object sn_;
+ /**
+ *
+ **sn
+ *
+ *
+ * string sn = 1;
+ */
+ public String getSn() {
+ Object ref = sn_;
+ if (ref instanceof String) {
+ return (String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ String s = bs.toStringUtf8();
+ sn_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ **sn
+ *
+ *
+ * string sn = 1;
+ */
+ public com.google.protobuf.ByteString
+ getSnBytes() {
+ Object ref = sn_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (String) ref);
+ sn_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int LAT_FIELD_NUMBER = 2;
+ private double lat_;
+ /**
+ * double lat = 2;
+ */
+ public double getLat() {
+ return lat_;
+ }
+
+ public static final int LON_FIELD_NUMBER = 3;
+ private double lon_;
+ /**
+ * double lon = 3;
+ */
+ public double getLon() {
+ return lon_;
+ }
+
+ public static final int CITYCODE_FIELD_NUMBER = 4;
+ private volatile Object cityCode_;
+ /**
+ *
+ **城市编码
+ *
+ *
+ * string cityCode = 4;
+ */
+ public String getCityCode() {
+ Object ref = cityCode_;
+ if (ref instanceof String) {
+ return (String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ String s = bs.toStringUtf8();
+ cityCode_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ **城市编码
+ *
+ *
+ * string cityCode = 4;
+ */
+ public com.google.protobuf.ByteString
+ getCityCodeBytes() {
+ Object ref = cityCode_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (String) ref);
+ cityCode_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int VEHICLETYPE_FIELD_NUMBER = 5;
+ private int vehicleType_;
+ /**
+ *
+ **运营车辆类型 9出租车车 10小巴
+ *
+ *
+ * uint32 vehicleType = 5;
+ */
+ public int getVehicleType() {
+ return vehicleType_;
+ }
+
+ public static final int TRACKINGVEHICLESN_FIELD_NUMBER = 6;
+ private volatile Object trackingVehicleSn_;
+ /**
+ *
+ **追踪车辆 sn
+ *
+ *
+ * string trackingVehicleSn = 6;
+ */
+ public String getTrackingVehicleSn() {
+ Object ref = trackingVehicleSn_;
+ if (ref instanceof String) {
+ return (String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ String s = bs.toStringUtf8();
+ trackingVehicleSn_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ **追踪车辆 sn
+ *
+ *
+ * string trackingVehicleSn = 6;
+ */
+ public com.google.protobuf.ByteString
+ getTrackingVehicleSnBytes() {
+ Object ref = trackingVehicleSn_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (String) ref);
+ trackingVehicleSn_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int QUERYTYPE_FIELD_NUMBER = 7;
+ private int queryType_;
+ /**
+ *
+ **0 查询所有车辆模式 1查询运营车辆模式 2查询指定车辆模式
+ *
+ *
+ * uint32 queryType = 7;
+ */
+ public int getQueryType() {
+ return queryType_;
+ }
+
+ 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 (!getSnBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sn_);
+ }
+ if (lat_ != 0D) {
+ output.writeDouble(2, lat_);
+ }
+ if (lon_ != 0D) {
+ output.writeDouble(3, lon_);
+ }
+ if (!getCityCodeBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 4, cityCode_);
+ }
+ if (vehicleType_ != 0) {
+ output.writeUInt32(5, vehicleType_);
+ }
+ if (!getTrackingVehicleSnBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 6, trackingVehicleSn_);
+ }
+ if (queryType_ != 0) {
+ output.writeUInt32(7, queryType_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!getSnBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sn_);
+ }
+ if (lat_ != 0D) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeDoubleSize(2, lat_);
+ }
+ if (lon_ != 0D) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeDoubleSize(3, lon_);
+ }
+ if (!getCityCodeBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, cityCode_);
+ }
+ if (vehicleType_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(5, vehicleType_);
+ }
+ if (!getTrackingVehicleSnBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, trackingVehicleSn_);
+ }
+ if (queryType_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(7, queryType_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @Override
+ public boolean equals(final Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof SocketRequestVo)) {
+ return super.equals(obj);
+ }
+ SocketRequestVo other = (SocketRequestVo) obj;
+
+ boolean result = true;
+ result = result && getSn()
+ .equals(other.getSn());
+ result = result && (
+ Double.doubleToLongBits(getLat())
+ == Double.doubleToLongBits(
+ other.getLat()));
+ result = result && (
+ Double.doubleToLongBits(getLon())
+ == Double.doubleToLongBits(
+ other.getLon()));
+ result = result && getCityCode()
+ .equals(other.getCityCode());
+ result = result && (getVehicleType()
+ == other.getVehicleType());
+ result = result && getTrackingVehicleSn()
+ .equals(other.getTrackingVehicleSn());
+ result = result && (getQueryType()
+ == other.getQueryType());
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
+ }
+
+ @Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + SN_FIELD_NUMBER;
+ hash = (53 * hash) + getSn().hashCode();
+ hash = (37 * hash) + LAT_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ Double.doubleToLongBits(getLat()));
+ hash = (37 * hash) + LON_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ Double.doubleToLongBits(getLon()));
+ hash = (37 * hash) + CITYCODE_FIELD_NUMBER;
+ hash = (53 * hash) + getCityCode().hashCode();
+ hash = (37 * hash) + VEHICLETYPE_FIELD_NUMBER;
+ hash = (53 * hash) + getVehicleType();
+ hash = (37 * hash) + TRACKINGVEHICLESN_FIELD_NUMBER;
+ hash = (53 * hash) + getTrackingVehicleSn().hashCode();
+ hash = (37 * hash) + QUERYTYPE_FIELD_NUMBER;
+ hash = (53 * hash) + getQueryType();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static SocketRequestVo parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static SocketRequestVo parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static SocketRequestVo parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static SocketRequestVo parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static SocketRequestVo parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static SocketRequestVo parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static SocketRequestVo parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static SocketRequestVo 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 SocketRequestVo parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static SocketRequestVo 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 SocketRequestVo parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static SocketRequestVo 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(SocketRequestVo 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 mogo.yycp.service.SocketRequestVo}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builder implements
+ // @@protoc_insertion_point(builder_implements:mogo.yycp.service.SocketRequestVo)
+ SocketRequestVoOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return SocketReceiveDataProto3.internal_static_mogo_yycp_service_SocketRequestVo_descriptor;
+ }
+
+ @Override
+ protected FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return SocketReceiveDataProto3.internal_static_mogo_yycp_service_SocketRequestVo_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ SocketRequestVo.class, Builder.class);
+ }
+
+ // Construct using com.mogo.realtime.entity.SocketReceiveDataProto3.SocketRequestVo.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();
+ sn_ = "";
+
+ lat_ = 0D;
+
+ lon_ = 0D;
+
+ cityCode_ = "";
+
+ vehicleType_ = 0;
+
+ trackingVehicleSn_ = "";
+
+ queryType_ = 0;
+
+ return this;
+ }
+
+ @Override
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return SocketReceiveDataProto3.internal_static_mogo_yycp_service_SocketRequestVo_descriptor;
+ }
+
+ @Override
+ public SocketRequestVo getDefaultInstanceForType() {
+ return SocketRequestVo.getDefaultInstance();
+ }
+
+ @Override
+ public SocketRequestVo build() {
+ SocketRequestVo result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @Override
+ public SocketRequestVo buildPartial() {
+ SocketRequestVo result = new SocketRequestVo(this);
+ result.sn_ = sn_;
+ result.lat_ = lat_;
+ result.lon_ = lon_;
+ result.cityCode_ = cityCode_;
+ result.vehicleType_ = vehicleType_;
+ result.trackingVehicleSn_ = trackingVehicleSn_;
+ result.queryType_ = queryType_;
+ onBuilt();
+ return result;
+ }
+
+ @Override
+ public Builder clone() {
+ return (Builder) super.clone();
+ }
+ @Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ Object value) {
+ return (Builder) super.setField(field, value);
+ }
+ @Override
+ public Builder clearField(
+ com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return (Builder) super.clearField(field);
+ }
+ @Override
+ public Builder clearOneof(
+ com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return (Builder) super.clearOneof(oneof);
+ }
+ @Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ int index, Object value) {
+ return (Builder) super.setRepeatedField(field, index, value);
+ }
+ @Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ Object value) {
+ return (Builder) super.addRepeatedField(field, value);
+ }
+ @Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof SocketRequestVo) {
+ return mergeFrom((SocketRequestVo)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(SocketRequestVo other) {
+ if (other == SocketRequestVo.getDefaultInstance()) return this;
+ if (!other.getSn().isEmpty()) {
+ sn_ = other.sn_;
+ onChanged();
+ }
+ if (other.getLat() != 0D) {
+ setLat(other.getLat());
+ }
+ if (other.getLon() != 0D) {
+ setLon(other.getLon());
+ }
+ if (!other.getCityCode().isEmpty()) {
+ cityCode_ = other.cityCode_;
+ onChanged();
+ }
+ if (other.getVehicleType() != 0) {
+ setVehicleType(other.getVehicleType());
+ }
+ if (!other.getTrackingVehicleSn().isEmpty()) {
+ trackingVehicleSn_ = other.trackingVehicleSn_;
+ onChanged();
+ }
+ if (other.getQueryType() != 0) {
+ setQueryType(other.getQueryType());
+ }
+ 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 {
+ SocketRequestVo parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (SocketRequestVo) e.getUnfinishedMessage();
+ throw e.unwrapIOException();
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+
+ private Object sn_ = "";
+ /**
+ *
+ **sn
+ *
+ *
+ * string sn = 1;
+ */
+ public String getSn() {
+ Object ref = sn_;
+ if (!(ref instanceof String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ String s = bs.toStringUtf8();
+ sn_ = s;
+ return s;
+ } else {
+ return (String) ref;
+ }
+ }
+ /**
+ *
+ **sn
+ *
+ *
+ * string sn = 1;
+ */
+ public com.google.protobuf.ByteString
+ getSnBytes() {
+ Object ref = sn_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (String) ref);
+ sn_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ **sn
+ *
+ *
+ * string sn = 1;
+ */
+ public Builder setSn(
+ String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ sn_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ **sn
+ *
+ *
+ * string sn = 1;
+ */
+ public Builder clearSn() {
+
+ sn_ = getDefaultInstance().getSn();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ **sn
+ *
+ *
+ * string sn = 1;
+ */
+ public Builder setSnBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ sn_ = value;
+ onChanged();
+ return this;
+ }
+
+ private double lat_ ;
+ /**
+ * double lat = 2;
+ */
+ public double getLat() {
+ return lat_;
+ }
+ /**
+ * double lat = 2;
+ */
+ public Builder setLat(double value) {
+
+ lat_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * double lat = 2;
+ */
+ public Builder clearLat() {
+
+ lat_ = 0D;
+ onChanged();
+ return this;
+ }
+
+ private double lon_ ;
+ /**
+ * double lon = 3;
+ */
+ public double getLon() {
+ return lon_;
+ }
+ /**
+ * double lon = 3;
+ */
+ public Builder setLon(double value) {
+
+ lon_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * double lon = 3;
+ */
+ public Builder clearLon() {
+
+ lon_ = 0D;
+ onChanged();
+ return this;
+ }
+
+ private Object cityCode_ = "";
+ /**
+ *
+ **城市编码
+ *
+ *
+ * string cityCode = 4;
+ */
+ public String getCityCode() {
+ Object ref = cityCode_;
+ if (!(ref instanceof String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ String s = bs.toStringUtf8();
+ cityCode_ = s;
+ return s;
+ } else {
+ return (String) ref;
+ }
+ }
+ /**
+ *
+ **城市编码
+ *
+ *
+ * string cityCode = 4;
+ */
+ public com.google.protobuf.ByteString
+ getCityCodeBytes() {
+ Object ref = cityCode_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (String) ref);
+ cityCode_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ **城市编码
+ *
+ *
+ * string cityCode = 4;
+ */
+ public Builder setCityCode(
+ String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ cityCode_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ **城市编码
+ *
+ *
+ * string cityCode = 4;
+ */
+ public Builder clearCityCode() {
+
+ cityCode_ = getDefaultInstance().getCityCode();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ **城市编码
+ *
+ *
+ * string cityCode = 4;
+ */
+ public Builder setCityCodeBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ cityCode_ = value;
+ onChanged();
+ return this;
+ }
+
+ private int vehicleType_ ;
+ /**
+ *
+ **运营车辆类型 9出租车车 10小巴
+ *
+ *
+ * uint32 vehicleType = 5;
+ */
+ public int getVehicleType() {
+ return vehicleType_;
+ }
+ /**
+ *
+ **运营车辆类型 9出租车车 10小巴
+ *
+ *
+ * uint32 vehicleType = 5;
+ */
+ public Builder setVehicleType(int value) {
+
+ vehicleType_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ **运营车辆类型 9出租车车 10小巴
+ *
+ *
+ * uint32 vehicleType = 5;
+ */
+ public Builder clearVehicleType() {
+
+ vehicleType_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private Object trackingVehicleSn_ = "";
+ /**
+ *
+ **追踪车辆 sn
+ *
+ *
+ * string trackingVehicleSn = 6;
+ */
+ public String getTrackingVehicleSn() {
+ Object ref = trackingVehicleSn_;
+ if (!(ref instanceof String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ String s = bs.toStringUtf8();
+ trackingVehicleSn_ = s;
+ return s;
+ } else {
+ return (String) ref;
+ }
+ }
+ /**
+ *
+ **追踪车辆 sn
+ *
+ *
+ * string trackingVehicleSn = 6;
+ */
+ public com.google.protobuf.ByteString
+ getTrackingVehicleSnBytes() {
+ Object ref = trackingVehicleSn_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (String) ref);
+ trackingVehicleSn_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ **追踪车辆 sn
+ *
+ *
+ * string trackingVehicleSn = 6;
+ */
+ public Builder setTrackingVehicleSn(
+ String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ trackingVehicleSn_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ **追踪车辆 sn
+ *
+ *
+ * string trackingVehicleSn = 6;
+ */
+ public Builder clearTrackingVehicleSn() {
+
+ trackingVehicleSn_ = getDefaultInstance().getTrackingVehicleSn();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ **追踪车辆 sn
+ *
+ *
+ * string trackingVehicleSn = 6;
+ */
+ public Builder setTrackingVehicleSnBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ trackingVehicleSn_ = value;
+ onChanged();
+ return this;
+ }
+
+ private int queryType_ ;
+ /**
+ *
+ **0 查询所有车辆模式 1查询运营车辆模式 2查询指定车辆模式
+ *
+ *
+ * uint32 queryType = 7;
+ */
+ public int getQueryType() {
+ return queryType_;
+ }
+ /**
+ *
+ **0 查询所有车辆模式 1查询运营车辆模式 2查询指定车辆模式
+ *
+ *
+ * uint32 queryType = 7;
+ */
+ public Builder setQueryType(int value) {
+
+ queryType_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ **0 查询所有车辆模式 1查询运营车辆模式 2查询指定车辆模式
+ *
+ *
+ * uint32 queryType = 7;
+ */
+ public Builder clearQueryType() {
+
+ queryType_ = 0;
+ onChanged();
+ return this;
+ }
+ @Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFieldsProto3(unknownFields);
+ }
+
+ @Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+
+ // @@protoc_insertion_point(builder_scope:mogo.yycp.service.SocketRequestVo)
+ }
+
+ // @@protoc_insertion_point(class_scope:mogo.yycp.service.SocketRequestVo)
+ private static final SocketRequestVo DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new SocketRequestVo();
+ }
+
+ public static SocketRequestVo getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser() {
+ @Override
+ public SocketRequestVo parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new SocketRequestVo(input, extensionRegistry);
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @Override
+ public SocketRequestVo getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+ }
+
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_mogo_yycp_service_SocketReceiveDataProto_descriptor;
- private static final
+ private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_mogo_yycp_service_SocketReceiveDataProto_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_mogo_yycp_service_OnePerSecondSendReqProto_descriptor;
- private static final
+ private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_mogo_yycp_service_OnePerSecondSendReqProto_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_mogo_yycp_service_MyLocationReq_descriptor;
- private static final
+ private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_mogo_yycp_service_MyLocationReq_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_mogo_yycp_service_LocationInfoProto_descriptor;
- private static final
+ private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_mogo_yycp_service_LocationInfoProto_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_mogo_yycp_service_ADASRecognizedReq_descriptor;
- private static final
+ private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_mogo_yycp_service_ADASRecognizedReq_fieldAccessorTable;
+ private static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_mogo_yycp_service_SocketRequestVo_descriptor;
+ private static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_mogo_yycp_service_SocketRequestVo_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
@@ -8743,36 +11084,46 @@ public final class SocketReceiveDataProto3 {
static {
String[] descriptorData = {
"\n\027socketReceiveData.proto\022\021mogo.yycp.ser" +
- "vice\"\302\001\n\026SocketReceiveDataProto\022\013\n\003seq\030\001" +
+ "vice\"\365\001\n\026SocketReceiveDataProto\022\013\n\003seq\030\001" +
" \001(\004\022\017\n\007msgType\030\002 \001(\r\022\n\n\002sn\030\003 \001(\t\022\r\n\005IPC" +
"Sn\030\004 \001(\t\0229\n\004data\030\005 \001(\0132+.mogo.yycp.servi" +
- "ce.OnePerSecondSendReqProto\022\017\n\007utcTime\030\006" +
- " \001(\004\022\021\n\tupUtcTime\030\007 \001(\004\022\020\n\010cityCode\030\010 \001(" +
- "\t\"~\n\030OnePerSecondSendReqProto\022.\n\004self\030\001 " +
- "\001(\0132 .mogo.yycp.service.MyLocationReq\0222\n" +
- "\004adas\030\002 \003(\0132$.mogo.yycp.service.ADASReco" +
- "gnizedReq\"\320\001\n\rMyLocationReq\022\n\n\002sn\030\001 \001(\t\022" +
- "\022\n\nmortonCode\030\002 \001(\004\022<\n\016lastCoordinate\030\003 " +
- "\001(\0132$.mogo.yycp.service.LocationInfoProt" +
- "o\0229\n\013coordinates\030\004 \003(\0132$.mogo.yycp.servi" +
- "ce.LocationInfoProto\022\020\n\010fromType\030\005 \001(\r\022\024" +
- "\n\014dataAccuracy\030\006 \001(\r\"\221\002\n\021LocationInfoPro" +
- "to\022\n\n\002sn\030\001 \001(\t\022\r\n\005color\030\002 \001(\t\022\016\n\006cardId\030" +
- "\003 \001(\t\022\013\n\003lat\030\004 \001(\001\022\013\n\003lon\030\005 \001(\001\022\017\n\007headi" +
- "ng\030\006 \001(\001\022\022\n\nsystemTime\030\007 \001(\004\022\025\n\rsatellit" +
- "eTime\030\010 \001(\004\022\013\n\003alt\030\t \001(\001\022\r\n\005speed\030\n \001(\001\022" +
- "\022\n\nmortonCode\030\013 \001(\004\022\020\n\010cityCode\030\014 \001(\t\022\023\n" +
- "\013vehicleType\030\r \001(\r\022\024\n\014dataAccuracy\030\016 \001(\r" +
- "\022\016\n\006tileId\030\023 \001(\t\"\306\002\n\021ADASRecognizedReq\022\014" +
- "\n\004type\030\001 \001(\r\022\014\n\004uuid\030\002 \001(\t\022\r\n\005color\030\003 \001(" +
- "\t\022\016\n\006cardId\030\004 \001(\t\022\013\n\003lat\030\005 \001(\001\022\013\n\003lon\030\006 " +
- "\001(\001\022\017\n\007heading\030\007 \001(\001\022\022\n\nsystemTime\030\010 \001(\004" +
- "\022\025\n\rsatelliteTime\030\t \001(\004\022\013\n\003alt\030\n \001(\001\022\r\n\005" +
- "speed\030\013 \001(\001\022\022\n\nmortonCode\030\014 \001(\004\022\020\n\010cityC" +
- "ode\030\r \001(\t\022\023\n\013vehicleType\030\016 \001(\r\022\024\n\014dataAc" +
- "curacy\030\017 \001(\r\022\020\n\010distance\030\020 \001(\001\022\016\n\006tileId" +
- "\030\021 \001(\t\022\021\n\tdrawlevel\030\022 \001(\rB$\n\twebsocketB\027" +
- "SocketReceiveDataProto3b\006proto3"
+ "ce.OnePerSecondSendReqProto\0221\n\005data2\030\006 \001" +
+ "(\0132\".mogo.yycp.service.SocketRequestVo\022\017" +
+ "\n\007utcTime\030\007 \001(\004\022\021\n\tupUtcTime\030\010 \001(\004\022\020\n\010ci" +
+ "tyCode\030\t \001(\t\"~\n\030OnePerSecondSendReqProto" +
+ "\022.\n\004self\030\001 \001(\0132 .mogo.yycp.service.MyLoc" +
+ "ationReq\0222\n\004adas\030\002 \003(\0132$.mogo.yycp.servi" +
+ "ce.ADASRecognizedReq\"\346\001\n\rMyLocationReq\022\n" +
+ "\n\002sn\030\001 \001(\t\022\022\n\nmortonCode\030\002 \001(\004\022<\n\016lastCo" +
+ "ordinate\030\003 \001(\0132$.mogo.yycp.service.Locat" +
+ "ionInfoProto\0229\n\013coordinates\030\004 \003(\0132$.mogo" +
+ ".yycp.service.LocationInfoProto\022\020\n\010fromT" +
+ "ype\030\005 \001(\r\022\024\n\014dataAccuracy\030\006 \001(\r\022\024\n\014busin" +
+ "essType\030\007 \001(\r\"\341\002\n\021LocationInfoProto\022\n\n\002s" +
+ "n\030\001 \001(\t\022\r\n\005color\030\002 \001(\t\022\016\n\006cardId\030\003 \001(\t\022\013" +
+ "\n\003lat\030\004 \001(\001\022\013\n\003lon\030\005 \001(\001\022\017\n\007heading\030\006 \001(" +
+ "\001\022\022\n\nsystemTime\030\007 \001(\004\022\025\n\rsatelliteTime\030\010" +
+ " \001(\004\022\013\n\003alt\030\t \001(\001\022\r\n\005speed\030\n \001(\001\022\024\n\014vehi" +
+ "cleSpeed\030\013 \001(\001\022\024\n\014acceleration\030\014 \001(\001\022\017\n\007" +
+ "yawRate\030\r \001(\001\022\022\n\nmortonCode\030\016 \001(\004\022\020\n\010cit" +
+ "yCode\030\017 \001(\t\022\023\n\013vehicleType\030\020 \001(\r\022\024\n\014data" +
+ "Accuracy\030\021 \001(\r\022\016\n\006tileId\030\022 \001(\t\022\021\n\tturnLi" +
+ "ght\030\023 \001(\r\"\215\003\n\021ADASRecognizedReq\022\014\n\004type\030" +
+ "\001 \001(\r\022\014\n\004uuid\030\002 \001(\t\022\r\n\005color\030\003 \001(\t\022\016\n\006ca" +
+ "rdId\030\004 \001(\t\022\013\n\003lat\030\005 \001(\001\022\013\n\003lon\030\006 \001(\001\022\017\n\007" +
+ "heading\030\007 \001(\001\022\022\n\nsystemTime\030\010 \001(\004\022\025\n\rsat" +
+ "elliteTime\030\t \001(\004\022\013\n\003alt\030\n \001(\001\022\r\n\005speed\030\013" +
+ " \001(\001\022\022\n\nmortonCode\030\014 \001(\004\022\020\n\010cityCode\030\r \001" +
+ "(\t\022\023\n\013vehicleType\030\016 \001(\r\022\024\n\014dataAccuracy\030" +
+ "\017 \001(\r\022\020\n\010distance\030\020 \001(\001\022\016\n\006tileId\030\021 \001(\t\022" +
+ "\021\n\tdrawlevel\030\022 \001(\r\022\021\n\tdistanceX\030\023 \001(\001\022\021\n" +
+ "\tdistanceY\030\024 \001(\001\022\016\n\006roadId\030\025 \001(\t\022\017\n\007lane" +
+ "Num\030\026 \001(\r\"\214\001\n\017SocketRequestVo\022\n\n\002sn\030\001 \001(" +
+ "\t\022\013\n\003lat\030\002 \001(\001\022\013\n\003lon\030\003 \001(\001\022\020\n\010cityCode\030" +
+ "\004 \001(\t\022\023\n\013vehicleType\030\005 \001(\r\022\031\n\021trackingVe" +
+ "hicleSn\030\006 \001(\t\022\021\n\tqueryType\030\007 \001(\rB3\n\030com." +
+ "mogo.realtime.entityB\027SocketReceiveDataP" +
+ "roto3b\006proto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
@@ -8791,7 +11142,7 @@ public final class SocketReceiveDataProto3 {
internal_static_mogo_yycp_service_SocketReceiveDataProto_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_mogo_yycp_service_SocketReceiveDataProto_descriptor,
- new String[] { "Seq", "MsgType", "Sn", "IPCSn", "Data", "UtcTime", "UpUtcTime", "CityCode", });
+ new String[] { "Seq", "MsgType", "Sn", "IPCSn", "Data", "Data2", "UtcTime", "UpUtcTime", "CityCode", });
internal_static_mogo_yycp_service_OnePerSecondSendReqProto_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_mogo_yycp_service_OnePerSecondSendReqProto_fieldAccessorTable = new
@@ -8803,19 +11154,25 @@ public final class SocketReceiveDataProto3 {
internal_static_mogo_yycp_service_MyLocationReq_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_mogo_yycp_service_MyLocationReq_descriptor,
- new String[] { "Sn", "MortonCode", "LastCoordinate", "Coordinates", "FromType", "DataAccuracy", });
+ new String[] { "Sn", "MortonCode", "LastCoordinate", "Coordinates", "FromType", "DataAccuracy", "BusinessType", });
internal_static_mogo_yycp_service_LocationInfoProto_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_mogo_yycp_service_LocationInfoProto_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_mogo_yycp_service_LocationInfoProto_descriptor,
- new String[] { "Sn", "Color", "CardId", "Lat", "Lon", "Heading", "SystemTime", "SatelliteTime", "Alt", "Speed", "MortonCode", "CityCode", "VehicleType", "DataAccuracy", "TileId", });
+ new String[] { "Sn", "Color", "CardId", "Lat", "Lon", "Heading", "SystemTime", "SatelliteTime", "Alt", "Speed", "VehicleSpeed", "Acceleration", "YawRate", "MortonCode", "CityCode", "VehicleType", "DataAccuracy", "TileId", "TurnLight", });
internal_static_mogo_yycp_service_ADASRecognizedReq_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_mogo_yycp_service_ADASRecognizedReq_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_mogo_yycp_service_ADASRecognizedReq_descriptor,
- new String[] { "Type", "Uuid", "Color", "CardId", "Lat", "Lon", "Heading", "SystemTime", "SatelliteTime", "Alt", "Speed", "MortonCode", "CityCode", "VehicleType", "DataAccuracy", "Distance", "TileId", "Drawlevel", });
+ new String[] { "Type", "Uuid", "Color", "CardId", "Lat", "Lon", "Heading", "SystemTime", "SatelliteTime", "Alt", "Speed", "MortonCode", "CityCode", "VehicleType", "DataAccuracy", "Distance", "TileId", "Drawlevel", "DistanceX", "DistanceY", "RoadId", "LaneNum", });
+ internal_static_mogo_yycp_service_SocketRequestVo_descriptor =
+ getDescriptor().getMessageTypes().get(5);
+ internal_static_mogo_yycp_service_SocketRequestVo_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_mogo_yycp_service_SocketRequestVo_descriptor,
+ new String[] { "Sn", "Lat", "Lon", "CityCode", "VehicleType", "TrackingVehicleSn", "QueryType", });
}
// @@protoc_insertion_point(outer_class_scope)
diff --git a/modules/mogo-realtime/src/main/java/com/mogo/realtime/spi/RealTimeProviderImp.java b/modules/mogo-realtime/src/main/java/com/mogo/realtime/spi/RealTimeProviderImp.java
index 767a31c..f9dca97 100644
--- a/modules/mogo-realtime/src/main/java/com/mogo/realtime/spi/RealTimeProviderImp.java
+++ b/modules/mogo-realtime/src/main/java/com/mogo/realtime/spi/RealTimeProviderImp.java
@@ -1,11 +1,8 @@
package com.mogo.realtime.spi;
import com.mogo.realtime.api.IRealTimeProvider;
-import com.mogo.realtime.entity.DataCollectWrapper;
import com.mogo.realtime.entity.SocketReceiveDataProto3;
-import java.util.List;
-
/**
* RealTime Provider SPI 单例对象
*/