diff --git a/app/src/main/java/com/mogo/cloud/SPIRealTimeTestClass.java b/app/src/main/java/com/mogo/cloud/SPIRealTimeTestClass.java index 8b11ca8..294d890 100644 --- a/app/src/main/java/com/mogo/cloud/SPIRealTimeTestClass.java +++ b/app/src/main/java/com/mogo/cloud/SPIRealTimeTestClass.java @@ -38,19 +38,25 @@ class SPIRealTimeTestClass implements IRealTimeProvider { .setSn(MoGoAiCloudClientConfig.getInstance().getSn()) .build(); - SocketReceiveDataProto3.MyLocationReq myLocationReq = SocketReceiveDataProto3.MyLocationReq.newBuilder() - .setLastCoordinate(locationInfoProto) - .setDataAccuracy(1) - .setMortonCode(mortonCode) - .setFromType(1) - .setSn(MoGoAiCloudClientConfig.getInstance().getSn()) - .build(); + SocketReceiveDataProto3.MyLocationReq myLocationReq = + SocketReceiveDataProto3.MyLocationReq.newBuilder() + .setLastCoordinate(locationInfoProto) + .setDataAccuracy(1) + .setMortonCode(mortonCode) + .setFromType(1) + .setSn(MoGoAiCloudClientConfig.getInstance().getSn()) + .build(); - SocketReceiveDataProto3.OnePerSecondSendReqProto self = SocketReceiveDataProto3.OnePerSecondSendReqProto.newBuilder() - .setSelf(myLocationReq).build(); + SocketReceiveDataProto3.OnePerSecondSendReqProto self = + SocketReceiveDataProto3.OnePerSecondSendReqProto.newBuilder() + .setSelf(myLocationReq) + .build(); - DataCollectMsgDataProto.DataCollectMsgData msgData = DataCollectMsgDataProto.DataCollectMsgData.newBuilder() - .setPayload(self.toByteString()).build(); + DataCollectMsgDataProto.DataCollectMsgData msgData = + DataCollectMsgDataProto.DataCollectMsgData.newBuilder() + .setPayload(self.toByteString()) + .setMsgType(MSG_TYPE_UPLINK_CAR_DATA.getMsgType()) + .build(); return DataCollectWrapper.DataCollectMsg.newBuilder() .setData(msgData.toByteString()) 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 5a7823c..8a03a13 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 @@ -94,53 +94,28 @@ public final class SocketReceiveDataProto3 { OnePerSecondSendReqProtoOrBuilder getDataOrBuilder(); /** - *
- ** 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;
+ * uint64 utcTime = 6;
*/
long getUtcTime();
/**
- * uint64 upUtcTime = 8;
+ * uint64 upUtcTime = 7;
*/
long getUpUtcTime();
/**
- * string cityCode = 9;
+ * string cityCode = 8;
*/
String getCityCode();
/**
- * string cityCode = 9;
+ * string cityCode = 8;
*/
com.google.protobuf.ByteString
getCityCodeBytes();
}
/**
*
- * 接收工控机主实体
+ * 接收工控制主实体
*
*
* Protobuf type {@code mogo.yycp.service.SocketReceiveDataProto}
@@ -223,30 +198,17 @@ public final class SocketReceiveDataProto3 {
break;
}
- 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();
- }
-
- break;
- }
- case 56: {
+ case 48: {
utcTime_ = input.readUInt64();
break;
}
- case 64: {
+ case 56: {
upUtcTime_ = input.readUInt64();
break;
}
- case 74: {
+ case 66: {
String s = input.readStringRequireUtf8();
cityCode_ = s;
@@ -423,61 +385,28 @@ public final class SocketReceiveDataProto3 {
return getData();
}
- 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;
+ public static final int UTCTIME_FIELD_NUMBER = 6;
private long utcTime_;
/**
- * uint64 utcTime = 7;
+ * uint64 utcTime = 6;
*/
public long getUtcTime() {
return utcTime_;
}
- public static final int UPUTCTIME_FIELD_NUMBER = 8;
+ public static final int UPUTCTIME_FIELD_NUMBER = 7;
private long upUtcTime_;
/**
- * uint64 upUtcTime = 8;
+ * uint64 upUtcTime = 7;
*/
public long getUpUtcTime() {
return upUtcTime_;
}
- public static final int CITYCODE_FIELD_NUMBER = 9;
+ public static final int CITYCODE_FIELD_NUMBER = 8;
private volatile Object cityCode_;
/**
- * string cityCode = 9;
+ * string cityCode = 8;
*/
public String getCityCode() {
Object ref = cityCode_;
@@ -492,7 +421,7 @@ public final class SocketReceiveDataProto3 {
}
}
/**
- * string cityCode = 9;
+ * string cityCode = 8;
*/
public com.google.protobuf.ByteString
getCityCodeBytes() {
@@ -537,17 +466,14 @@ public final class SocketReceiveDataProto3 {
if (data_ != null) {
output.writeMessage(5, getData());
}
- if (data2_ != null) {
- output.writeMessage(6, getData2());
- }
if (utcTime_ != 0L) {
- output.writeUInt64(7, utcTime_);
+ output.writeUInt64(6, utcTime_);
}
if (upUtcTime_ != 0L) {
- output.writeUInt64(8, upUtcTime_);
+ output.writeUInt64(7, upUtcTime_);
}
if (!getCityCodeBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 9, cityCode_);
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 8, cityCode_);
}
unknownFields.writeTo(output);
}
@@ -576,20 +502,16 @@ 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(7, utcTime_);
+ .computeUInt64Size(6, utcTime_);
}
if (upUtcTime_ != 0L) {
size += com.google.protobuf.CodedOutputStream
- .computeUInt64Size(8, upUtcTime_);
+ .computeUInt64Size(7, upUtcTime_);
}
if (!getCityCodeBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, cityCode_);
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, cityCode_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -620,11 +542,6 @@ 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()
@@ -655,10 +572,6 @@ 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());
@@ -764,7 +677,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- * 接收工控机主实体
+ * 接收工控制主实体
*
*
* Protobuf type {@code mogo.yycp.service.SocketReceiveDataProto}
@@ -818,12 +731,6 @@ public final class SocketReceiveDataProto3 {
data_ = null;
dataBuilder_ = null;
}
- if (data2Builder_ == null) {
- data2_ = null;
- } else {
- data2_ = null;
- data2Builder_ = null;
- }
utcTime_ = 0L;
upUtcTime_ = 0L;
@@ -865,11 +772,6 @@ 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_;
@@ -938,9 +840,6 @@ public final class SocketReceiveDataProto3 {
if (other.hasData()) {
mergeData(other.getData());
}
- if (other.hasData2()) {
- mergeData2(other.getData2());
- }
if (other.getUtcTime() != 0L) {
setUtcTime(other.getUtcTime());
}
@@ -1375,168 +1274,15 @@ 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 = 7;
+ * uint64 utcTime = 6;
*/
public long getUtcTime() {
return utcTime_;
}
/**
- * uint64 utcTime = 7;
+ * uint64 utcTime = 6;
*/
public Builder setUtcTime(long value) {
@@ -1545,7 +1291,7 @@ public final class SocketReceiveDataProto3 {
return this;
}
/**
- * uint64 utcTime = 7;
+ * uint64 utcTime = 6;
*/
public Builder clearUtcTime() {
@@ -1556,13 +1302,13 @@ public final class SocketReceiveDataProto3 {
private long upUtcTime_ ;
/**
- * uint64 upUtcTime = 8;
+ * uint64 upUtcTime = 7;
*/
public long getUpUtcTime() {
return upUtcTime_;
}
/**
- * uint64 upUtcTime = 8;
+ * uint64 upUtcTime = 7;
*/
public Builder setUpUtcTime(long value) {
@@ -1571,7 +1317,7 @@ public final class SocketReceiveDataProto3 {
return this;
}
/**
- * uint64 upUtcTime = 8;
+ * uint64 upUtcTime = 7;
*/
public Builder clearUpUtcTime() {
@@ -1582,7 +1328,7 @@ public final class SocketReceiveDataProto3 {
private Object cityCode_ = "";
/**
- * string cityCode = 9;
+ * string cityCode = 8;
*/
public String getCityCode() {
Object ref = cityCode_;
@@ -1597,7 +1343,7 @@ public final class SocketReceiveDataProto3 {
}
}
/**
- * string cityCode = 9;
+ * string cityCode = 8;
*/
public com.google.protobuf.ByteString
getCityCodeBytes() {
@@ -1613,7 +1359,7 @@ public final class SocketReceiveDataProto3 {
}
}
/**
- * string cityCode = 9;
+ * string cityCode = 8;
*/
public Builder setCityCode(
String value) {
@@ -1626,7 +1372,7 @@ public final class SocketReceiveDataProto3 {
return this;
}
/**
- * string cityCode = 9;
+ * string cityCode = 8;
*/
public Builder clearCityCode() {
@@ -1635,7 +1381,7 @@ public final class SocketReceiveDataProto3 {
return this;
}
/**
- * string cityCode = 9;
+ * string cityCode = 8;
*/
public Builder setCityCodeBytes(
com.google.protobuf.ByteString value) {
@@ -4556,7 +4302,7 @@ public final class SocketReceiveDataProto3 {
/**
*
- ** 惯导车速 --更准
+ ** 车速
*
*
* double speed = 10;
@@ -4565,37 +4311,10 @@ public final class SocketReceiveDataProto3 {
/**
*
- ** 自车速度 --一般
+ ** morton码 工控制可转否?
*
*
- * double vehicleSpeed = 11;
- */
- double getVehicleSpeed();
-
- /**
- * - ** 加速度 - *- * - *
double acceleration = 12;
- */
- double getAcceleration();
-
- /**
- * - ** 横摆率 - *- * - *
double yawRate = 13;
- */
- double getYawRate();
-
- /**
- * - ** morton码 - *- * - *
uint64 mortonCode = 14;
+ * uint64 mortonCode = 11;
*/
long getMortonCode();
@@ -4604,7 +4323,7 @@ public final class SocketReceiveDataProto3 {
**城市编码
*
*
- * string cityCode = 15;
+ * string cityCode = 12;
*/
String getCityCode();
/**
@@ -4612,7 +4331,7 @@ public final class SocketReceiveDataProto3 {
**城市编码
*
*
- * string cityCode = 15;
+ * string cityCode = 12;
*/
com.google.protobuf.ByteString
getCityCodeBytes();
@@ -4622,7 +4341,7 @@ public final class SocketReceiveDataProto3 {
**运营车辆类型 9出租车车 10小巴
*
*
- * uint32 vehicleType = 16;
+ * uint32 vehicleType = 13;
*/
int getVehicleType();
@@ -4631,7 +4350,7 @@ public final class SocketReceiveDataProto3 {
** 数据来源精度(来自上层) 0 - 普通定位、1 - 高精定位
*
*
- * uint32 dataAccuracy = 17;
+ * uint32 dataAccuracy = 14;
*/
int getDataAccuracy();
@@ -4640,7 +4359,7 @@ public final class SocketReceiveDataProto3 {
** 瓦片ID --必传
*
*
- * string tileId = 18;
+ * string tileId = 19;
*/
String getTileId();
/**
@@ -4648,19 +4367,10 @@ public final class SocketReceiveDataProto3 {
** 瓦片ID --必传
*
*
- * string tileId = 18;
+ * string tileId = 19;
*/
com.google.protobuf.ByteString
getTileIdBytes();
-
- /**
- * - ** 0. 不开转向灯, 1. 左转灯开, 2. 右转灯开 - *- * - *
uint32 turnLight = 19;
- */
- int getTurnLight();
}
/**
*
@@ -4689,15 +4399,11 @@ 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
@@ -4777,53 +4483,33 @@ public final class SocketReceiveDataProto3 {
speed_ = input.readDouble();
break;
}
- case 89: {
-
- vehicleSpeed_ = input.readDouble();
- break;
- }
- case 97: {
-
- acceleration_ = input.readDouble();
- break;
- }
- case 105: {
-
- yawRate_ = input.readDouble();
- break;
- }
- case 112: {
+ case 88: {
mortonCode_ = input.readUInt64();
break;
}
- case 122: {
+ case 98: {
String s = input.readStringRequireUtf8();
cityCode_ = s;
break;
}
- case 128: {
+ case 104: {
vehicleType_ = input.readUInt32();
break;
}
- case 136: {
+ case 112: {
dataAccuracy_ = input.readUInt32();
break;
}
- case 146: {
+ case 154: {
String s = input.readStringRequireUtf8();
tileId_ = s;
break;
}
- case 152: {
-
- turnLight_ = input.readUInt32();
- break;
- }
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
@@ -5064,7 +4750,7 @@ public final class SocketReceiveDataProto3 {
private double speed_;
/**
*
- ** 惯导车速 --更准
+ ** 车速
*
*
* double speed = 10;
@@ -5073,66 +4759,27 @@ public final class SocketReceiveDataProto3 {
return speed_;
}
- 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;
+ public static final int MORTONCODE_FIELD_NUMBER = 11;
private long mortonCode_;
/**
*
- ** morton码
+ ** morton码 工控制可转否?
*
*
- * uint64 mortonCode = 14;
+ * uint64 mortonCode = 11;
*/
public long getMortonCode() {
return mortonCode_;
}
- public static final int CITYCODE_FIELD_NUMBER = 15;
+ public static final int CITYCODE_FIELD_NUMBER = 12;
private volatile Object cityCode_;
/**
*
**城市编码
*
*
- * string cityCode = 15;
+ * string cityCode = 12;
*/
public String getCityCode() {
Object ref = cityCode_;
@@ -5151,7 +4798,7 @@ public final class SocketReceiveDataProto3 {
**城市编码
*
*
- * string cityCode = 15;
+ * string cityCode = 12;
*/
public com.google.protobuf.ByteString
getCityCodeBytes() {
@@ -5167,40 +4814,40 @@ public final class SocketReceiveDataProto3 {
}
}
- public static final int VEHICLETYPE_FIELD_NUMBER = 16;
+ public static final int VEHICLETYPE_FIELD_NUMBER = 13;
private int vehicleType_;
/**
*
**运营车辆类型 9出租车车 10小巴
*
*
- * uint32 vehicleType = 16;
+ * uint32 vehicleType = 13;
*/
public int getVehicleType() {
return vehicleType_;
}
- public static final int DATAACCURACY_FIELD_NUMBER = 17;
+ public static final int DATAACCURACY_FIELD_NUMBER = 14;
private int dataAccuracy_;
/**
*
** 数据来源精度(来自上层) 0 - 普通定位、1 - 高精定位
*
*
- * uint32 dataAccuracy = 17;
+ * uint32 dataAccuracy = 14;
*/
public int getDataAccuracy() {
return dataAccuracy_;
}
- public static final int TILEID_FIELD_NUMBER = 18;
+ public static final int TILEID_FIELD_NUMBER = 19;
private volatile Object tileId_;
/**
*
** 瓦片ID --必传
*
*
- * string tileId = 18;
+ * string tileId = 19;
*/
public String getTileId() {
Object ref = tileId_;
@@ -5219,7 +4866,7 @@ public final class SocketReceiveDataProto3 {
** 瓦片ID --必传
*
*
- * string tileId = 18;
+ * string tileId = 19;
*/
public com.google.protobuf.ByteString
getTileIdBytes() {
@@ -5235,19 +4882,6 @@ 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() {
@@ -5292,32 +4926,20 @@ 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(14, mortonCode_);
+ output.writeUInt64(11, mortonCode_);
}
if (!getCityCodeBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 15, cityCode_);
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 12, cityCode_);
}
if (vehicleType_ != 0) {
- output.writeUInt32(16, vehicleType_);
+ output.writeUInt32(13, vehicleType_);
}
if (dataAccuracy_ != 0) {
- output.writeUInt32(17, dataAccuracy_);
+ output.writeUInt32(14, dataAccuracy_);
}
if (!getTileIdBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 18, tileId_);
- }
- if (turnLight_ != 0) {
- output.writeUInt32(19, turnLight_);
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 19, tileId_);
}
unknownFields.writeTo(output);
}
@@ -5365,39 +4987,23 @@ 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(14, mortonCode_);
+ .computeUInt64Size(11, mortonCode_);
}
if (!getCityCodeBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, cityCode_);
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, cityCode_);
}
if (vehicleType_ != 0) {
size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(16, vehicleType_);
+ .computeUInt32Size(13, vehicleType_);
}
if (dataAccuracy_ != 0) {
size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(17, dataAccuracy_);
+ .computeUInt32Size(14, dataAccuracy_);
}
if (!getTileIdBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, tileId_);
- }
- if (turnLight_ != 0) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(19, turnLight_);
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, tileId_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -5445,18 +5051,6 @@ 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()
@@ -5467,8 +5061,6 @@ 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;
}
@@ -5507,15 +5099,6 @@ 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());
@@ -5527,8 +5110,6 @@ 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;
@@ -5686,12 +5267,6 @@ public final class SocketReceiveDataProto3 {
speed_ = 0D;
- vehicleSpeed_ = 0D;
-
- acceleration_ = 0D;
-
- yawRate_ = 0D;
-
mortonCode_ = 0L;
cityCode_ = "";
@@ -5702,8 +5277,6 @@ public final class SocketReceiveDataProto3 {
tileId_ = "";
- turnLight_ = 0;
-
return this;
}
@@ -5740,15 +5313,11 @@ 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;
}
@@ -5830,15 +5399,6 @@ 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());
}
@@ -5856,9 +5416,6 @@ public final class SocketReceiveDataProto3 {
tileId_ = other.tileId_;
onChanged();
}
- if (other.getTurnLight() != 0) {
- setTurnLight(other.getTurnLight());
- }
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -6386,7 +5943,7 @@ public final class SocketReceiveDataProto3 {
private double speed_ ;
/**
*
- ** 惯导车速 --更准
+ ** 车速
*
*
* double speed = 10;
@@ -6396,7 +5953,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 惯导车速 --更准
+ ** 车速
*
*
* double speed = 10;
@@ -6409,7 +5966,7 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** 惯导车速 --更准
+ ** 车速
*
*
* double speed = 10;
@@ -6421,137 +5978,23 @@ public final class SocketReceiveDataProto3 {
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 = 14;
+ * uint64 mortonCode = 11;
*/
public long getMortonCode() {
return mortonCode_;
}
/**
*
- ** morton码
+ ** morton码 工控制可转否?
*
*
- * uint64 mortonCode = 14;
+ * uint64 mortonCode = 11;
*/
public Builder setMortonCode(long value) {
@@ -6561,10 +6004,10 @@ public final class SocketReceiveDataProto3 {
}
/**
*
- ** morton码
+ ** morton码 工控制可转否?
*
*
- * uint64 mortonCode = 14;
+ * uint64 mortonCode = 11;
*/
public Builder clearMortonCode() {
@@ -6579,7 +6022,7 @@ public final class SocketReceiveDataProto3 {
**城市编码
*
*
- * string cityCode = 15;
+ * string cityCode = 12;
*/
public String getCityCode() {
Object ref = cityCode_;
@@ -6598,7 +6041,7 @@ public final class SocketReceiveDataProto3 {
**城市编码
*
*
- * string cityCode = 15;
+ * string cityCode = 12;
*/
public com.google.protobuf.ByteString
getCityCodeBytes() {
@@ -6618,7 +6061,7 @@ public final class SocketReceiveDataProto3 {
**城市编码
*
*
- * string cityCode = 15;
+ * string cityCode = 12;
*/
public Builder setCityCode(
String value) {
@@ -6635,7 +6078,7 @@ public final class SocketReceiveDataProto3 {
**城市编码
*
*
- * string cityCode = 15;
+ * string cityCode = 12;
*/
public Builder clearCityCode() {
@@ -6648,7 +6091,7 @@ public final class SocketReceiveDataProto3 {
**城市编码
*
*
- * string cityCode = 15;
+ * string cityCode = 12;
*/
public Builder setCityCodeBytes(
com.google.protobuf.ByteString value) {
@@ -6668,7 +6111,7 @@ public final class SocketReceiveDataProto3 {
**运营车辆类型 9出租车车 10小巴
*
*
- * uint32 vehicleType = 16;
+ * uint32 vehicleType = 13;
*/
public int getVehicleType() {
return vehicleType_;
@@ -6678,7 +6121,7 @@ public final class SocketReceiveDataProto3 {
**运营车辆类型 9出租车车 10小巴
*
*
- * uint32 vehicleType = 16;
+ * uint32 vehicleType = 13;
*/
public Builder setVehicleType(int value) {
@@ -6691,7 +6134,7 @@ public final class SocketReceiveDataProto3 {
**运营车辆类型 9出租车车 10小巴
*
*
- * uint32 vehicleType = 16;
+ * uint32 vehicleType = 13;
*/
public Builder clearVehicleType() {
@@ -6706,7 +6149,7 @@ public final class SocketReceiveDataProto3 {
** 数据来源精度(来自上层) 0 - 普通定位、1 - 高精定位
*
*
- * uint32 dataAccuracy = 17;
+ * uint32 dataAccuracy = 14;
*/
public int getDataAccuracy() {
return dataAccuracy_;
@@ -6716,7 +6159,7 @@ public final class SocketReceiveDataProto3 {
** 数据来源精度(来自上层) 0 - 普通定位、1 - 高精定位
*
*
- * uint32 dataAccuracy = 17;
+ * uint32 dataAccuracy = 14;
*/
public Builder setDataAccuracy(int value) {
@@ -6729,7 +6172,7 @@ public final class SocketReceiveDataProto3 {
** 数据来源精度(来自上层) 0 - 普通定位、1 - 高精定位
*
*
- * uint32 dataAccuracy = 17;
+ * uint32 dataAccuracy = 14;
*/
public Builder clearDataAccuracy() {
@@ -6744,7 +6187,7 @@ public final class SocketReceiveDataProto3 {
** 瓦片ID --必传
*
*
- * string tileId = 18;
+ * string tileId = 19;
*/
public String getTileId() {
Object ref = tileId_;
@@ -6763,7 +6206,7 @@ public final class SocketReceiveDataProto3 {
** 瓦片ID --必传
*
*
- * string tileId = 18;
+ * string tileId = 19;
*/
public com.google.protobuf.ByteString
getTileIdBytes() {
@@ -6783,7 +6226,7 @@ public final class SocketReceiveDataProto3 {
** 瓦片ID --必传
*
*
- * string tileId = 18;
+ * string tileId = 19;
*/
public Builder setTileId(
String value) {
@@ -6800,7 +6243,7 @@ public final class SocketReceiveDataProto3 {
** 瓦片ID --必传
*
*
- * string tileId = 18;
+ * string tileId = 19;
*/
public Builder clearTileId() {
@@ -6813,7 +6256,7 @@ public final class SocketReceiveDataProto3 {
** 瓦片ID --必传
*
*
- * string tileId = 18;
+ * string tileId = 19;
*/
public Builder setTileIdBytes(
com.google.protobuf.ByteString value) {
@@ -6826,44 +6269,6 @@ public final class SocketReceiveDataProto3 {
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) {
@@ -7127,24 +6532,6 @@ public final class SocketReceiveDataProto3 {
* uint32 drawlevel = 18;
*/
int getDrawlevel();
-
- /**
- * - ** 采集设备到被采车辆X距离 - *- * - *
double distanceX = 19;
- */
- double getDistanceX();
-
- /**
- * - ** 采集设备到被采车辆Y距离 - *- * - *
double distanceY = 20;
- */
- double getDistanceY();
}
/**
*
@@ -7181,8 +6568,6 @@ public final class SocketReceiveDataProto3 {
distance_ = 0D;
tileId_ = "";
drawlevel_ = 0;
- distanceX_ = 0D;
- distanceY_ = 0D;
}
@Override
@@ -7304,16 +6689,6 @@ public final class SocketReceiveDataProto3 {
drawlevel_ = input.readUInt32();
break;
}
- case 153: {
-
- distanceX_ = input.readDouble();
- break;
- }
- case 161: {
-
- distanceY_ = input.readDouble();
- break;
- }
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
@@ -7725,32 +7100,6 @@ 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_;
- }
-
private byte memoizedIsInitialized = -1;
@Override
public final boolean isInitialized() {
@@ -7819,12 +7168,6 @@ 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_);
- }
unknownFields.writeTo(output);
}
@@ -7901,14 +7244,6 @@ 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_);
- }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -7973,14 +7308,6 @@ 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 && unknownFields.equals(other.unknownFields);
return result;
}
@@ -8037,12 +7364,6 @@ 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 = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -8216,10 +7537,6 @@ public final class SocketReceiveDataProto3 {
drawlevel_ = 0;
- distanceX_ = 0D;
-
- distanceY_ = 0D;
-
return this;
}
@@ -8264,8 +7581,6 @@ public final class SocketReceiveDataProto3 {
result.distance_ = distance_;
result.tileId_ = tileId_;
result.drawlevel_ = drawlevel_;
- result.distanceX_ = distanceX_;
- result.distanceY_ = distanceY_;
onBuilt();
return result;
}
@@ -8373,12 +7688,6 @@ 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());
- }
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -9346,82 +8655,6 @@ public final class SocketReceiveDataProto3 {
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;
- }
@Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -9475,1236 +8708,6 @@ 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 mogo.yycp.proto.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
@@ -10730,11 +8733,6 @@ public final class SocketReceiveDataProto3 {
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() {
@@ -10745,44 +8743,36 @@ public final class SocketReceiveDataProto3 {
static {
String[] descriptorData = {
"\n\027socketReceiveData.proto\022\021mogo.yycp.ser" +
- "vice\"\365\001\n\026SocketReceiveDataProto\022\013\n\003seq\030\001" +
+ "vice\"\302\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\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\"\320\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\"\341\002\n\021Loca" +
- "tionInfoProto\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\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\005s" +
- "peed\030\n \001(\001\022\024\n\014vehicleSpeed\030\013 \001(\001\022\024\n\014acce" +
- "leration\030\014 \001(\001\022\017\n\007yawRate\030\r \001(\001\022\022\n\nmorto" +
- "nCode\030\016 \001(\004\022\020\n\010cityCode\030\017 \001(\t\022\023\n\013vehicle" +
- "Type\030\020 \001(\r\022\024\n\014dataAccuracy\030\021 \001(\r\022\016\n\006tile" +
- "Id\030\022 \001(\t\022\021\n\tturnLight\030\023 \001(\r\"\354\002\n\021ADASReco" +
- "gnizedReq\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\nsyste" +
- "mTime\030\010 \001(\004\022\025\n\rsatelliteTime\030\t \001(\004\022\013\n\003al" +
- "t\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\t" +
- "distanceX\030\023 \001(\001\022\021\n\tdistanceY\030\024 \001(\001\"\214\001\n\017S" +
- "ocketRequestVo\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\013vehicl" +
- "eType\030\005 \001(\r\022\031\n\021trackingVehicleSn\030\006 \001(\t\022\021" +
- "\n\tqueryType\030\007 \001(\rB*\n\017mogo.yycp.protoB\027So" +
- "cketReceiveDataProto3b\006proto3"
+ "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"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
@@ -10801,7 +8791,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", "Data2", "UtcTime", "UpUtcTime", "CityCode", });
+ new String[] { "Seq", "MsgType", "Sn", "IPCSn", "Data", "UtcTime", "UpUtcTime", "CityCode", });
internal_static_mogo_yycp_service_OnePerSecondSendReqProto_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_mogo_yycp_service_OnePerSecondSendReqProto_fieldAccessorTable = new
@@ -10819,19 +8809,13 @@ public final class SocketReceiveDataProto3 {
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", "VehicleSpeed", "Acceleration", "YawRate", "MortonCode", "CityCode", "VehicleType", "DataAccuracy", "TileId", "TurnLight", });
+ new String[] { "Sn", "Color", "CardId", "Lat", "Lon", "Heading", "SystemTime", "SatelliteTime", "Alt", "Speed", "MortonCode", "CityCode", "VehicleType", "DataAccuracy", "TileId", });
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", "DistanceX", "DistanceY", });
- 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", });
+ new String[] { "Type", "Uuid", "Color", "CardId", "Lat", "Lon", "Heading", "SystemTime", "SatelliteTime", "Alt", "Speed", "MortonCode", "CityCode", "VehicleType", "DataAccuracy", "Distance", "TileId", "Drawlevel", });
}
// @@protoc_insertion_point(outer_class_scope)