diff --git a/foudations/mogo-socket/src/main/java/com/mogo/cloud/socket/entity/SocketDownData.java b/foudations/mogo-socket/src/main/java/com/mogo/cloud/socket/entity/SocketDownData.java index 365bab5..ba0a526 100644 --- a/foudations/mogo-socket/src/main/java/com/mogo/cloud/socket/entity/SocketDownData.java +++ b/foudations/mogo-socket/src/main/java/com/mogo/cloud/socket/entity/SocketDownData.java @@ -45,7 +45,7 @@ public final class SocketDownData { /** * optional string sn = 7; */ - String getSn(); + java.lang.String getSn(); /** * optional string sn = 7; */ @@ -55,7 +55,7 @@ public final class SocketDownData { /** * optional string uuid = 8; */ - String getUuid(); + java.lang.String getUuid(); /** * optional string uuid = 8; */ @@ -65,7 +65,7 @@ public final class SocketDownData { /** * optional string cardId = 9; */ - String getCardId(); + java.lang.String getCardId(); /** * optional string cardId = 9; */ @@ -88,27 +88,32 @@ public final class SocketDownData { long getSystemTime(); /** - * optional uint32 lightStatus = 13; + * optional uint64 satelliteTime = 13; + */ + long getSatelliteTime(); + + /** + * optional uint32 lightStatus = 14; */ int getLightStatus(); /** - * optional uint32 lightLeftTime = 14; + * optional uint32 lightLeftTime = 15; */ int getLightLeftTime(); /** - * optional string rtmpUrl = 15; + * optional string rtmpUrl = 16; */ - String getRtmpUrl(); + java.lang.String getRtmpUrl(); /** - * optional string rtmpUrl = 15; + * optional string rtmpUrl = 16; */ com.google.protobuf.ByteString getRtmpUrlBytes(); /** - * optional double distance = 16; + * optional double distance = 17; */ double getDistance(); } @@ -265,11 +270,11 @@ public final class SocketDownData { } public static final int SN_FIELD_NUMBER = 7; - private String sn_; + private java.lang.String sn_; /** * optional string sn = 7; */ - public String getSn() { + public java.lang.String getSn() { return sn_; } /** @@ -283,7 +288,7 @@ public final class SocketDownData { * optional string sn = 7; */ private void setSn( - String value) { + java.lang.String value) { if (value == null) { throw new NullPointerException(); } @@ -311,11 +316,11 @@ public final class SocketDownData { } public static final int UUID_FIELD_NUMBER = 8; - private String uuid_; + private java.lang.String uuid_; /** * optional string uuid = 8; */ - public String getUuid() { + public java.lang.String getUuid() { return uuid_; } /** @@ -329,7 +334,7 @@ public final class SocketDownData { * optional string uuid = 8; */ private void setUuid( - String value) { + java.lang.String value) { if (value == null) { throw new NullPointerException(); } @@ -357,11 +362,11 @@ public final class SocketDownData { } public static final int CARDID_FIELD_NUMBER = 9; - private String cardId_; + private java.lang.String cardId_; /** * optional string cardId = 9; */ - public String getCardId() { + public java.lang.String getCardId() { return cardId_; } /** @@ -375,7 +380,7 @@ public final class SocketDownData { * optional string cardId = 9; */ private void setCardId( - String value) { + java.lang.String value) { if (value == null) { throw new NullPointerException(); } @@ -471,72 +476,95 @@ public final class SocketDownData { systemTime_ = 0L; } - public static final int LIGHTSTATUS_FIELD_NUMBER = 13; + public static final int SATELLITETIME_FIELD_NUMBER = 13; + private long satelliteTime_; + /** + * optional uint64 satelliteTime = 13; + */ + public long getSatelliteTime() { + return satelliteTime_; + } + /** + * optional uint64 satelliteTime = 13; + */ + private void setSatelliteTime(long value) { + + satelliteTime_ = value; + } + /** + * optional uint64 satelliteTime = 13; + */ + private void clearSatelliteTime() { + + satelliteTime_ = 0L; + } + + public static final int LIGHTSTATUS_FIELD_NUMBER = 14; private int lightStatus_; /** - * optional uint32 lightStatus = 13; + * optional uint32 lightStatus = 14; */ public int getLightStatus() { return lightStatus_; } /** - * optional uint32 lightStatus = 13; + * optional uint32 lightStatus = 14; */ private void setLightStatus(int value) { lightStatus_ = value; } /** - * optional uint32 lightStatus = 13; + * optional uint32 lightStatus = 14; */ private void clearLightStatus() { lightStatus_ = 0; } - public static final int LIGHTLEFTTIME_FIELD_NUMBER = 14; + public static final int LIGHTLEFTTIME_FIELD_NUMBER = 15; private int lightLeftTime_; /** - * optional uint32 lightLeftTime = 14; + * optional uint32 lightLeftTime = 15; */ public int getLightLeftTime() { return lightLeftTime_; } /** - * optional uint32 lightLeftTime = 14; + * optional uint32 lightLeftTime = 15; */ private void setLightLeftTime(int value) { lightLeftTime_ = value; } /** - * optional uint32 lightLeftTime = 14; + * optional uint32 lightLeftTime = 15; */ private void clearLightLeftTime() { lightLeftTime_ = 0; } - public static final int RTMPURL_FIELD_NUMBER = 15; - private String rtmpUrl_; + public static final int RTMPURL_FIELD_NUMBER = 16; + private java.lang.String rtmpUrl_; /** - * optional string rtmpUrl = 15; + * optional string rtmpUrl = 16; */ - public String getRtmpUrl() { + public java.lang.String getRtmpUrl() { return rtmpUrl_; } /** - * optional string rtmpUrl = 15; + * optional string rtmpUrl = 16; */ public com.google.protobuf.ByteString getRtmpUrlBytes() { return com.google.protobuf.ByteString.copyFromUtf8(rtmpUrl_); } /** - * optional string rtmpUrl = 15; + * optional string rtmpUrl = 16; */ private void setRtmpUrl( - String value) { + java.lang.String value) { if (value == null) { throw new NullPointerException(); } @@ -544,14 +572,14 @@ public final class SocketDownData { rtmpUrl_ = value; } /** - * optional string rtmpUrl = 15; + * optional string rtmpUrl = 16; */ private void clearRtmpUrl() { rtmpUrl_ = getDefaultInstance().getRtmpUrl(); } /** - * optional string rtmpUrl = 15; + * optional string rtmpUrl = 16; */ private void setRtmpUrlBytes( com.google.protobuf.ByteString value) { @@ -563,23 +591,23 @@ public final class SocketDownData { rtmpUrl_ = value.toStringUtf8(); } - public static final int DISTANCE_FIELD_NUMBER = 16; + public static final int DISTANCE_FIELD_NUMBER = 17; private double distance_; /** - * optional double distance = 16; + * optional double distance = 17; */ public double getDistance() { return distance_; } /** - * optional double distance = 16; + * optional double distance = 17; */ private void setDistance(double value) { distance_ = value; } /** - * optional double distance = 16; + * optional double distance = 17; */ private void clearDistance() { @@ -624,17 +652,20 @@ public final class SocketDownData { if (systemTime_ != 0L) { output.writeUInt64(12, systemTime_); } + if (satelliteTime_ != 0L) { + output.writeUInt64(13, satelliteTime_); + } if (lightStatus_ != 0) { - output.writeUInt32(13, lightStatus_); + output.writeUInt32(14, lightStatus_); } if (lightLeftTime_ != 0) { - output.writeUInt32(14, lightLeftTime_); + output.writeUInt32(15, lightLeftTime_); } if (!rtmpUrl_.isEmpty()) { - output.writeString(15, getRtmpUrl()); + output.writeString(16, getRtmpUrl()); } if (distance_ != 0D) { - output.writeDouble(16, distance_); + output.writeDouble(17, distance_); } } @@ -691,80 +722,84 @@ public final class SocketDownData { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(12, systemTime_); } + if (satelliteTime_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(13, satelliteTime_); + } if (lightStatus_ != 0) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(13, lightStatus_); + .computeUInt32Size(14, lightStatus_); } if (lightLeftTime_ != 0) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(14, lightLeftTime_); + .computeUInt32Size(15, lightLeftTime_); } if (!rtmpUrl_.isEmpty()) { size += com.google.protobuf.CodedOutputStream - .computeStringSize(15, getRtmpUrl()); + .computeStringSize(16, getRtmpUrl()); } if (distance_ != 0D) { size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(16, distance_); + .computeDoubleSize(17, distance_); } memoizedSerializedSize = size; return size; } - public static CloudRoadDataProto parseFrom( + public static com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } - public static CloudRoadDataProto parseFrom( + public static com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } - public static CloudRoadDataProto parseFrom(byte[] data) + public static com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } - public static CloudRoadDataProto parseFrom( + public static com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } - public static CloudRoadDataProto parseFrom(java.io.InputStream input) + public static com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } - public static CloudRoadDataProto parseFrom( + public static com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } - public static CloudRoadDataProto parseDelimitedFrom(java.io.InputStream input) + public static com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } - public static CloudRoadDataProto parseDelimitedFrom( + public static com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } - public static CloudRoadDataProto parseFrom( + public static com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } - public static CloudRoadDataProto parseFrom( + public static com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -775,7 +810,7 @@ public final class SocketDownData { public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(CloudRoadDataProto prototype) { + public static Builder newBuilder(com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -784,9 +819,9 @@ public final class SocketDownData { */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< - CloudRoadDataProto, Builder> implements + com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto, Builder> implements // @@protoc_insertion_point(builder_implements:tutorial.CloudRoadDataProto) - CloudRoadDataProtoOrBuilder { + com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProtoOrBuilder { // Construct using com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.newBuilder() private Builder() { super(DEFAULT_INSTANCE); @@ -934,7 +969,7 @@ public final class SocketDownData { /** * optional string sn = 7; */ - public String getSn() { + public java.lang.String getSn() { return instance.getSn(); } /** @@ -948,7 +983,7 @@ public final class SocketDownData { * optional string sn = 7; */ public Builder setSn( - String value) { + java.lang.String value) { copyOnWrite(); instance.setSn(value); return this; @@ -974,7 +1009,7 @@ public final class SocketDownData { /** * optional string uuid = 8; */ - public String getUuid() { + public java.lang.String getUuid() { return instance.getUuid(); } /** @@ -988,7 +1023,7 @@ public final class SocketDownData { * optional string uuid = 8; */ public Builder setUuid( - String value) { + java.lang.String value) { copyOnWrite(); instance.setUuid(value); return this; @@ -1014,7 +1049,7 @@ public final class SocketDownData { /** * optional string cardId = 9; */ - public String getCardId() { + public java.lang.String getCardId() { return instance.getCardId(); } /** @@ -1028,7 +1063,7 @@ public final class SocketDownData { * optional string cardId = 9; */ public Builder setCardId( - String value) { + java.lang.String value) { copyOnWrite(); instance.setCardId(value); return this; @@ -1121,13 +1156,36 @@ public final class SocketDownData { } /** - * optional uint32 lightStatus = 13; + * optional uint64 satelliteTime = 13; + */ + public long getSatelliteTime() { + return instance.getSatelliteTime(); + } + /** + * optional uint64 satelliteTime = 13; + */ + public Builder setSatelliteTime(long value) { + copyOnWrite(); + instance.setSatelliteTime(value); + return this; + } + /** + * optional uint64 satelliteTime = 13; + */ + public Builder clearSatelliteTime() { + copyOnWrite(); + instance.clearSatelliteTime(); + return this; + } + + /** + * optional uint32 lightStatus = 14; */ public int getLightStatus() { return instance.getLightStatus(); } /** - * optional uint32 lightStatus = 13; + * optional uint32 lightStatus = 14; */ public Builder setLightStatus(int value) { copyOnWrite(); @@ -1135,7 +1193,7 @@ public final class SocketDownData { return this; } /** - * optional uint32 lightStatus = 13; + * optional uint32 lightStatus = 14; */ public Builder clearLightStatus() { copyOnWrite(); @@ -1144,13 +1202,13 @@ public final class SocketDownData { } /** - * optional uint32 lightLeftTime = 14; + * optional uint32 lightLeftTime = 15; */ public int getLightLeftTime() { return instance.getLightLeftTime(); } /** - * optional uint32 lightLeftTime = 14; + * optional uint32 lightLeftTime = 15; */ public Builder setLightLeftTime(int value) { copyOnWrite(); @@ -1158,7 +1216,7 @@ public final class SocketDownData { return this; } /** - * optional uint32 lightLeftTime = 14; + * optional uint32 lightLeftTime = 15; */ public Builder clearLightLeftTime() { copyOnWrite(); @@ -1167,29 +1225,29 @@ public final class SocketDownData { } /** - * optional string rtmpUrl = 15; + * optional string rtmpUrl = 16; */ - public String getRtmpUrl() { + public java.lang.String getRtmpUrl() { return instance.getRtmpUrl(); } /** - * optional string rtmpUrl = 15; + * optional string rtmpUrl = 16; */ public com.google.protobuf.ByteString getRtmpUrlBytes() { return instance.getRtmpUrlBytes(); } /** - * optional string rtmpUrl = 15; + * optional string rtmpUrl = 16; */ public Builder setRtmpUrl( - String value) { + java.lang.String value) { copyOnWrite(); instance.setRtmpUrl(value); return this; } /** - * optional string rtmpUrl = 15; + * optional string rtmpUrl = 16; */ public Builder clearRtmpUrl() { copyOnWrite(); @@ -1197,7 +1255,7 @@ public final class SocketDownData { return this; } /** - * optional string rtmpUrl = 15; + * optional string rtmpUrl = 16; */ public Builder setRtmpUrlBytes( com.google.protobuf.ByteString value) { @@ -1207,13 +1265,13 @@ public final class SocketDownData { } /** - * optional double distance = 16; + * optional double distance = 17; */ public double getDistance() { return instance.getDistance(); } /** - * optional double distance = 16; + * optional double distance = 17; */ public Builder setDistance(double value) { copyOnWrite(); @@ -1221,7 +1279,7 @@ public final class SocketDownData { return this; } /** - * optional double distance = 16; + * optional double distance = 17; */ public Builder clearDistance() { copyOnWrite(); @@ -1232,11 +1290,11 @@ public final class SocketDownData { // @@protoc_insertion_point(builder_scope:tutorial.CloudRoadDataProto) } protected final Object dynamicMethod( - MethodToInvoke method, - Object arg0, Object arg1) { + com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, + Object arg0, Object arg1) { switch (method) { case NEW_MUTABLE_INSTANCE: { - return new CloudRoadDataProto(); + return new com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto(); } case IS_INITIALIZED: { return DEFAULT_INSTANCE; @@ -1249,7 +1307,7 @@ public final class SocketDownData { } case VISIT: { Visitor visitor = (Visitor) arg0; - CloudRoadDataProto other = (CloudRoadDataProto) arg1; + com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto other = (com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto) arg1; type_ = visitor.visitInt(type_ != 0, type_, other.type_ != 0, other.type_); fromType_ = visitor.visitInt(fromType_ != 0, fromType_, @@ -1274,6 +1332,8 @@ public final class SocketDownData { other.heading_ != 0D, other.heading_); systemTime_ = visitor.visitLong(systemTime_ != 0L, systemTime_, other.systemTime_ != 0L, other.systemTime_); + satelliteTime_ = visitor.visitLong(satelliteTime_ != 0L, satelliteTime_, + other.satelliteTime_ != 0L, other.satelliteTime_); lightStatus_ = visitor.visitInt(lightStatus_ != 0, lightStatus_, other.lightStatus_ != 0, other.lightStatus_); lightLeftTime_ = visitor.visitInt(lightLeftTime_ != 0, lightLeftTime_, @@ -1282,7 +1342,7 @@ public final class SocketDownData { !other.rtmpUrl_.isEmpty(), other.rtmpUrl_); distance_ = visitor.visitDouble(distance_ != 0D, distance_, other.distance_ != 0D, other.distance_); - if (visitor == MergeFromVisitor + if (visitor == com.google.protobuf.GeneratedMessageLite.MergeFromVisitor .INSTANCE) { } return this; @@ -1371,21 +1431,26 @@ public final class SocketDownData { } case 104: { - lightStatus_ = input.readUInt32(); + satelliteTime_ = input.readUInt64(); break; } case 112: { + lightStatus_ = input.readUInt32(); + break; + } + case 120: { + lightLeftTime_ = input.readUInt32(); break; } - case 122: { + case 130: { String s = input.readStringRequireUtf8(); rtmpUrl_ = s; break; } - case 129: { + case 137: { distance_ = input.readDouble(); break; @@ -1405,7 +1470,7 @@ public final class SocketDownData { return DEFAULT_INSTANCE; } case GET_PARSER: { - if (PARSER == null) { synchronized (CloudRoadDataProto.class) { + if (PARSER == null) { synchronized (com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.class) { if (PARSER == null) { PARSER = new DefaultInstanceBasedParser(DEFAULT_INSTANCE); } @@ -1419,13 +1484,13 @@ public final class SocketDownData { // @@protoc_insertion_point(class_scope:tutorial.CloudRoadDataProto) - private static final CloudRoadDataProto DEFAULT_INSTANCE; + private static final com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new CloudRoadDataProto(); DEFAULT_INSTANCE.makeImmutable(); } - public static CloudRoadDataProto getDefaultInstance() { + public static com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto getDefaultInstance() { return DEFAULT_INSTANCE; } @@ -1443,12 +1508,12 @@ public final class SocketDownData { /** * repeated .tutorial.CloudRoadDataProto allList = 1; */ - java.util.List + java.util.List getAllListList(); /** * repeated .tutorial.CloudRoadDataProto allList = 1; */ - CloudRoadDataProto getAllList(int index); + com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto getAllList(int index); /** * repeated .tutorial.CloudRoadDataProto allList = 1; */ @@ -1457,12 +1522,12 @@ public final class SocketDownData { /** * repeated .tutorial.CloudRoadDataProto nearList = 2; */ - java.util.List + java.util.List getNearListList(); /** * repeated .tutorial.CloudRoadDataProto nearList = 2; */ - CloudRoadDataProto getNearList(int index); + com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto getNearList(int index); /** * repeated .tutorial.CloudRoadDataProto nearList = 2; */ @@ -1475,12 +1540,12 @@ public final class SocketDownData { /** * optional .tutorial.CloudRoadDataProto camera = 3; */ - CloudRoadDataProto getCamera(); + com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto getCamera(); /** * optional string msgId = 4; */ - String getMsgId(); + java.lang.String getMsgId(); /** * optional string msgId = 4; */ @@ -1512,17 +1577,17 @@ public final class SocketDownData { } private int bitField0_; public static final int ALLLIST_FIELD_NUMBER = 1; - private com.google.protobuf.Internal.ProtobufList allList_; + private com.google.protobuf.Internal.ProtobufList allList_; /** * repeated .tutorial.CloudRoadDataProto allList = 1; */ - public java.util.List getAllListList() { + public java.util.List getAllListList() { return allList_; } /** * repeated .tutorial.CloudRoadDataProto allList = 1; */ - public java.util.List + public java.util.List getAllListOrBuilderList() { return allList_; } @@ -1535,13 +1600,13 @@ public final class SocketDownData { /** * repeated .tutorial.CloudRoadDataProto allList = 1; */ - public CloudRoadDataProto getAllList(int index) { + public com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto getAllList(int index) { return allList_.get(index); } /** * repeated .tutorial.CloudRoadDataProto allList = 1; */ - public CloudRoadDataProtoOrBuilder getAllListOrBuilder( + public com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProtoOrBuilder getAllListOrBuilder( int index) { return allList_.get(index); } @@ -1556,7 +1621,7 @@ public final class SocketDownData { * repeated .tutorial.CloudRoadDataProto allList = 1; */ private void setAllList( - int index, CloudRoadDataProto value) { + int index, com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto value) { if (value == null) { throw new NullPointerException(); } @@ -1567,14 +1632,14 @@ public final class SocketDownData { * repeated .tutorial.CloudRoadDataProto allList = 1; */ private void setAllList( - int index, CloudRoadDataProto.Builder builderForValue) { + int index, com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.Builder builderForValue) { ensureAllListIsMutable(); allList_.set(index, builderForValue.build()); } /** * repeated .tutorial.CloudRoadDataProto allList = 1; */ - private void addAllList(CloudRoadDataProto value) { + private void addAllList(com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto value) { if (value == null) { throw new NullPointerException(); } @@ -1585,7 +1650,7 @@ public final class SocketDownData { * repeated .tutorial.CloudRoadDataProto allList = 1; */ private void addAllList( - int index, CloudRoadDataProto value) { + int index, com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto value) { if (value == null) { throw new NullPointerException(); } @@ -1596,7 +1661,7 @@ public final class SocketDownData { * repeated .tutorial.CloudRoadDataProto allList = 1; */ private void addAllList( - CloudRoadDataProto.Builder builderForValue) { + com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.Builder builderForValue) { ensureAllListIsMutable(); allList_.add(builderForValue.build()); } @@ -1604,7 +1669,7 @@ public final class SocketDownData { * repeated .tutorial.CloudRoadDataProto allList = 1; */ private void addAllList( - int index, CloudRoadDataProto.Builder builderForValue) { + int index, com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.Builder builderForValue) { ensureAllListIsMutable(); allList_.add(index, builderForValue.build()); } @@ -1612,7 +1677,7 @@ public final class SocketDownData { * repeated .tutorial.CloudRoadDataProto allList = 1; */ private void addAllAllList( - Iterable values) { + java.lang.Iterable values) { ensureAllListIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, allList_); @@ -1632,17 +1697,17 @@ public final class SocketDownData { } public static final int NEARLIST_FIELD_NUMBER = 2; - private com.google.protobuf.Internal.ProtobufList nearList_; + private com.google.protobuf.Internal.ProtobufList nearList_; /** * repeated .tutorial.CloudRoadDataProto nearList = 2; */ - public java.util.List getNearListList() { + public java.util.List getNearListList() { return nearList_; } /** * repeated .tutorial.CloudRoadDataProto nearList = 2; */ - public java.util.List + public java.util.List getNearListOrBuilderList() { return nearList_; } @@ -1655,13 +1720,13 @@ public final class SocketDownData { /** * repeated .tutorial.CloudRoadDataProto nearList = 2; */ - public CloudRoadDataProto getNearList(int index) { + public com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto getNearList(int index) { return nearList_.get(index); } /** * repeated .tutorial.CloudRoadDataProto nearList = 2; */ - public CloudRoadDataProtoOrBuilder getNearListOrBuilder( + public com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProtoOrBuilder getNearListOrBuilder( int index) { return nearList_.get(index); } @@ -1676,7 +1741,7 @@ public final class SocketDownData { * repeated .tutorial.CloudRoadDataProto nearList = 2; */ private void setNearList( - int index, CloudRoadDataProto value) { + int index, com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto value) { if (value == null) { throw new NullPointerException(); } @@ -1687,14 +1752,14 @@ public final class SocketDownData { * repeated .tutorial.CloudRoadDataProto nearList = 2; */ private void setNearList( - int index, CloudRoadDataProto.Builder builderForValue) { + int index, com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.Builder builderForValue) { ensureNearListIsMutable(); nearList_.set(index, builderForValue.build()); } /** * repeated .tutorial.CloudRoadDataProto nearList = 2; */ - private void addNearList(CloudRoadDataProto value) { + private void addNearList(com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto value) { if (value == null) { throw new NullPointerException(); } @@ -1705,7 +1770,7 @@ public final class SocketDownData { * repeated .tutorial.CloudRoadDataProto nearList = 2; */ private void addNearList( - int index, CloudRoadDataProto value) { + int index, com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto value) { if (value == null) { throw new NullPointerException(); } @@ -1716,7 +1781,7 @@ public final class SocketDownData { * repeated .tutorial.CloudRoadDataProto nearList = 2; */ private void addNearList( - CloudRoadDataProto.Builder builderForValue) { + com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.Builder builderForValue) { ensureNearListIsMutable(); nearList_.add(builderForValue.build()); } @@ -1724,7 +1789,7 @@ public final class SocketDownData { * repeated .tutorial.CloudRoadDataProto nearList = 2; */ private void addNearList( - int index, CloudRoadDataProto.Builder builderForValue) { + int index, com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.Builder builderForValue) { ensureNearListIsMutable(); nearList_.add(index, builderForValue.build()); } @@ -1732,7 +1797,7 @@ public final class SocketDownData { * repeated .tutorial.CloudRoadDataProto nearList = 2; */ private void addAllNearList( - Iterable values) { + java.lang.Iterable values) { ensureNearListIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, nearList_); @@ -1752,7 +1817,7 @@ public final class SocketDownData { } public static final int CAMERA_FIELD_NUMBER = 3; - private CloudRoadDataProto camera_; + private com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto camera_; /** * optional .tutorial.CloudRoadDataProto camera = 3; */ @@ -1762,13 +1827,13 @@ public final class SocketDownData { /** * optional .tutorial.CloudRoadDataProto camera = 3; */ - public CloudRoadDataProto getCamera() { - return camera_ == null ? CloudRoadDataProto.getDefaultInstance() : camera_; + public com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto getCamera() { + return camera_ == null ? com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.getDefaultInstance() : camera_; } /** * optional .tutorial.CloudRoadDataProto camera = 3; */ - private void setCamera(CloudRoadDataProto value) { + private void setCamera(com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto value) { if (value == null) { throw new NullPointerException(); } @@ -1779,18 +1844,18 @@ public final class SocketDownData { * optional .tutorial.CloudRoadDataProto camera = 3; */ private void setCamera( - CloudRoadDataProto.Builder builderForValue) { + com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.Builder builderForValue) { camera_ = builderForValue.build(); } /** * optional .tutorial.CloudRoadDataProto camera = 3; */ - private void mergeCamera(CloudRoadDataProto value) { + private void mergeCamera(com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto value) { if (camera_ != null && - camera_ != CloudRoadDataProto.getDefaultInstance()) { + camera_ != com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.getDefaultInstance()) { camera_ = - CloudRoadDataProto.newBuilder(camera_).mergeFrom(value).buildPartial(); + com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.newBuilder(camera_).mergeFrom(value).buildPartial(); } else { camera_ = value; } @@ -1804,11 +1869,11 @@ public final class SocketDownData { } public static final int MSGID_FIELD_NUMBER = 4; - private String msgId_; + private java.lang.String msgId_; /** * optional string msgId = 4; */ - public String getMsgId() { + public java.lang.String getMsgId() { return msgId_; } /** @@ -1822,7 +1887,7 @@ public final class SocketDownData { * optional string msgId = 4; */ private void setMsgId( - String value) { + java.lang.String value) { if (value == null) { throw new NullPointerException(); } @@ -1950,60 +2015,60 @@ public final class SocketDownData { return size; } - public static LauncherSnapshotProto parseFrom( + public static com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } - public static LauncherSnapshotProto parseFrom( + public static com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } - public static LauncherSnapshotProto parseFrom(byte[] data) + public static com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } - public static LauncherSnapshotProto parseFrom( + public static com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } - public static LauncherSnapshotProto parseFrom(java.io.InputStream input) + public static com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } - public static LauncherSnapshotProto parseFrom( + public static com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } - public static LauncherSnapshotProto parseDelimitedFrom(java.io.InputStream input) + public static com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } - public static LauncherSnapshotProto parseDelimitedFrom( + public static com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } - public static LauncherSnapshotProto parseFrom( + public static com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } - public static LauncherSnapshotProto parseFrom( + public static com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -2014,7 +2079,7 @@ public final class SocketDownData { public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(LauncherSnapshotProto prototype) { + public static Builder newBuilder(com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -2023,9 +2088,9 @@ public final class SocketDownData { */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< - LauncherSnapshotProto, Builder> implements + com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto, Builder> implements // @@protoc_insertion_point(builder_implements:tutorial.LauncherSnapshotProto) - LauncherSnapshotProtoOrBuilder { + com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProtoOrBuilder { // Construct using com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto.newBuilder() private Builder() { super(DEFAULT_INSTANCE); @@ -2035,7 +2100,7 @@ public final class SocketDownData { /** * repeated .tutorial.CloudRoadDataProto allList = 1; */ - public java.util.List getAllListList() { + public java.util.List getAllListList() { return java.util.Collections.unmodifiableList( instance.getAllListList()); } @@ -2047,14 +2112,14 @@ public final class SocketDownData { }/** * repeated .tutorial.CloudRoadDataProto allList = 1; */ - public CloudRoadDataProto getAllList(int index) { + public com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto getAllList(int index) { return instance.getAllList(index); } /** * repeated .tutorial.CloudRoadDataProto allList = 1; */ public Builder setAllList( - int index, CloudRoadDataProto value) { + int index, com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto value) { copyOnWrite(); instance.setAllList(index, value); return this; @@ -2063,7 +2128,7 @@ public final class SocketDownData { * repeated .tutorial.CloudRoadDataProto allList = 1; */ public Builder setAllList( - int index, CloudRoadDataProto.Builder builderForValue) { + int index, com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.Builder builderForValue) { copyOnWrite(); instance.setAllList(index, builderForValue); return this; @@ -2071,7 +2136,7 @@ public final class SocketDownData { /** * repeated .tutorial.CloudRoadDataProto allList = 1; */ - public Builder addAllList(CloudRoadDataProto value) { + public Builder addAllList(com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto value) { copyOnWrite(); instance.addAllList(value); return this; @@ -2080,7 +2145,7 @@ public final class SocketDownData { * repeated .tutorial.CloudRoadDataProto allList = 1; */ public Builder addAllList( - int index, CloudRoadDataProto value) { + int index, com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto value) { copyOnWrite(); instance.addAllList(index, value); return this; @@ -2089,7 +2154,7 @@ public final class SocketDownData { * repeated .tutorial.CloudRoadDataProto allList = 1; */ public Builder addAllList( - CloudRoadDataProto.Builder builderForValue) { + com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.Builder builderForValue) { copyOnWrite(); instance.addAllList(builderForValue); return this; @@ -2098,7 +2163,7 @@ public final class SocketDownData { * repeated .tutorial.CloudRoadDataProto allList = 1; */ public Builder addAllList( - int index, CloudRoadDataProto.Builder builderForValue) { + int index, com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.Builder builderForValue) { copyOnWrite(); instance.addAllList(index, builderForValue); return this; @@ -2107,7 +2172,7 @@ public final class SocketDownData { * repeated .tutorial.CloudRoadDataProto allList = 1; */ public Builder addAllAllList( - Iterable values) { + java.lang.Iterable values) { copyOnWrite(); instance.addAllAllList(values); return this; @@ -2132,7 +2197,7 @@ public final class SocketDownData { /** * repeated .tutorial.CloudRoadDataProto nearList = 2; */ - public java.util.List getNearListList() { + public java.util.List getNearListList() { return java.util.Collections.unmodifiableList( instance.getNearListList()); } @@ -2144,14 +2209,14 @@ public final class SocketDownData { }/** * repeated .tutorial.CloudRoadDataProto nearList = 2; */ - public CloudRoadDataProto getNearList(int index) { + public com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto getNearList(int index) { return instance.getNearList(index); } /** * repeated .tutorial.CloudRoadDataProto nearList = 2; */ public Builder setNearList( - int index, CloudRoadDataProto value) { + int index, com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto value) { copyOnWrite(); instance.setNearList(index, value); return this; @@ -2160,7 +2225,7 @@ public final class SocketDownData { * repeated .tutorial.CloudRoadDataProto nearList = 2; */ public Builder setNearList( - int index, CloudRoadDataProto.Builder builderForValue) { + int index, com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.Builder builderForValue) { copyOnWrite(); instance.setNearList(index, builderForValue); return this; @@ -2168,7 +2233,7 @@ public final class SocketDownData { /** * repeated .tutorial.CloudRoadDataProto nearList = 2; */ - public Builder addNearList(CloudRoadDataProto value) { + public Builder addNearList(com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto value) { copyOnWrite(); instance.addNearList(value); return this; @@ -2177,7 +2242,7 @@ public final class SocketDownData { * repeated .tutorial.CloudRoadDataProto nearList = 2; */ public Builder addNearList( - int index, CloudRoadDataProto value) { + int index, com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto value) { copyOnWrite(); instance.addNearList(index, value); return this; @@ -2186,7 +2251,7 @@ public final class SocketDownData { * repeated .tutorial.CloudRoadDataProto nearList = 2; */ public Builder addNearList( - CloudRoadDataProto.Builder builderForValue) { + com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.Builder builderForValue) { copyOnWrite(); instance.addNearList(builderForValue); return this; @@ -2195,7 +2260,7 @@ public final class SocketDownData { * repeated .tutorial.CloudRoadDataProto nearList = 2; */ public Builder addNearList( - int index, CloudRoadDataProto.Builder builderForValue) { + int index, com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.Builder builderForValue) { copyOnWrite(); instance.addNearList(index, builderForValue); return this; @@ -2204,7 +2269,7 @@ public final class SocketDownData { * repeated .tutorial.CloudRoadDataProto nearList = 2; */ public Builder addAllNearList( - Iterable values) { + java.lang.Iterable values) { copyOnWrite(); instance.addAllNearList(values); return this; @@ -2235,13 +2300,13 @@ public final class SocketDownData { /** * optional .tutorial.CloudRoadDataProto camera = 3; */ - public CloudRoadDataProto getCamera() { + public com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto getCamera() { return instance.getCamera(); } /** * optional .tutorial.CloudRoadDataProto camera = 3; */ - public Builder setCamera(CloudRoadDataProto value) { + public Builder setCamera(com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto value) { copyOnWrite(); instance.setCamera(value); return this; @@ -2250,7 +2315,7 @@ public final class SocketDownData { * optional .tutorial.CloudRoadDataProto camera = 3; */ public Builder setCamera( - CloudRoadDataProto.Builder builderForValue) { + com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.Builder builderForValue) { copyOnWrite(); instance.setCamera(builderForValue); return this; @@ -2258,7 +2323,7 @@ public final class SocketDownData { /** * optional .tutorial.CloudRoadDataProto camera = 3; */ - public Builder mergeCamera(CloudRoadDataProto value) { + public Builder mergeCamera(com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto value) { copyOnWrite(); instance.mergeCamera(value); return this; @@ -2274,7 +2339,7 @@ public final class SocketDownData { /** * optional string msgId = 4; */ - public String getMsgId() { + public java.lang.String getMsgId() { return instance.getMsgId(); } /** @@ -2288,7 +2353,7 @@ public final class SocketDownData { * optional string msgId = 4; */ public Builder setMsgId( - String value) { + java.lang.String value) { copyOnWrite(); instance.setMsgId(value); return this; @@ -2360,11 +2425,11 @@ public final class SocketDownData { // @@protoc_insertion_point(builder_scope:tutorial.LauncherSnapshotProto) } protected final Object dynamicMethod( - MethodToInvoke method, - Object arg0, Object arg1) { + com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, + Object arg0, Object arg1) { switch (method) { case NEW_MUTABLE_INSTANCE: { - return new LauncherSnapshotProto(); + return new com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto(); } case IS_INITIALIZED: { return DEFAULT_INSTANCE; @@ -2379,7 +2444,7 @@ public final class SocketDownData { } case VISIT: { Visitor visitor = (Visitor) arg0; - LauncherSnapshotProto other = (LauncherSnapshotProto) arg1; + com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto other = (com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto) arg1; allList_= visitor.visitList(allList_, other.allList_); nearList_= visitor.visitList(nearList_, other.nearList_); camera_ = visitor.visitMessage(camera_, other.camera_); @@ -2389,7 +2454,7 @@ public final class SocketDownData { other.time_ != 0L, other.time_); expire_ = visitor.visitLong(expire_ != 0L, expire_, other.expire_ != 0L, other.expire_); - if (visitor == MergeFromVisitor + if (visitor == com.google.protobuf.GeneratedMessageLite.MergeFromVisitor .INSTANCE) { bitField0_ |= other.bitField0_; } @@ -2420,7 +2485,7 @@ public final class SocketDownData { com.google.protobuf.GeneratedMessageLite.mutableCopy(allList_); } allList_.add( - input.readMessage(CloudRoadDataProto.parser(), extensionRegistry)); + input.readMessage(com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.parser(), extensionRegistry)); break; } case 18: { @@ -2429,15 +2494,15 @@ public final class SocketDownData { com.google.protobuf.GeneratedMessageLite.mutableCopy(nearList_); } nearList_.add( - input.readMessage(CloudRoadDataProto.parser(), extensionRegistry)); + input.readMessage(com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.parser(), extensionRegistry)); break; } case 26: { - CloudRoadDataProto.Builder subBuilder = null; + com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.Builder subBuilder = null; if (camera_ != null) { subBuilder = camera_.toBuilder(); } - camera_ = input.readMessage(CloudRoadDataProto.parser(), extensionRegistry); + camera_ = input.readMessage(com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(camera_); camera_ = subBuilder.buildPartial(); @@ -2476,7 +2541,7 @@ public final class SocketDownData { return DEFAULT_INSTANCE; } case GET_PARSER: { - if (PARSER == null) { synchronized (LauncherSnapshotProto.class) { + if (PARSER == null) { synchronized (com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto.class) { if (PARSER == null) { PARSER = new DefaultInstanceBasedParser(DEFAULT_INSTANCE); } @@ -2490,13 +2555,13 @@ public final class SocketDownData { // @@protoc_insertion_point(class_scope:tutorial.LauncherSnapshotProto) - private static final LauncherSnapshotProto DEFAULT_INSTANCE; + private static final com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new LauncherSnapshotProto(); DEFAULT_INSTANCE.makeImmutable(); } - public static LauncherSnapshotProto getDefaultInstance() { + public static com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto getDefaultInstance() { return DEFAULT_INSTANCE; } @@ -2524,7 +2589,7 @@ public final class SocketDownData { /** * optional string sn = 3; */ - String getSn(); + java.lang.String getSn(); /** * optional string sn = 3; */ @@ -2538,7 +2603,7 @@ public final class SocketDownData { /** * optional .tutorial.LauncherSnapshotProto data = 4; */ - LauncherSnapshotProto getData(); + com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto getData(); /** * optional uint64 utcTime = 5; @@ -2553,7 +2618,7 @@ public final class SocketDownData { /** * optional string cityCode = 7; */ - String getCityCode(); + java.lang.String getCityCode(); /** * optional string cityCode = 7; */ @@ -2619,11 +2684,11 @@ public final class SocketDownData { } public static final int SN_FIELD_NUMBER = 3; - private String sn_; + private java.lang.String sn_; /** * optional string sn = 3; */ - public String getSn() { + public java.lang.String getSn() { return sn_; } /** @@ -2637,7 +2702,7 @@ public final class SocketDownData { * optional string sn = 3; */ private void setSn( - String value) { + java.lang.String value) { if (value == null) { throw new NullPointerException(); } @@ -2665,7 +2730,7 @@ public final class SocketDownData { } public static final int DATA_FIELD_NUMBER = 4; - private LauncherSnapshotProto data_; + private com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto data_; /** * optional .tutorial.LauncherSnapshotProto data = 4; */ @@ -2675,13 +2740,13 @@ public final class SocketDownData { /** * optional .tutorial.LauncherSnapshotProto data = 4; */ - public LauncherSnapshotProto getData() { - return data_ == null ? LauncherSnapshotProto.getDefaultInstance() : data_; + public com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto getData() { + return data_ == null ? com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto.getDefaultInstance() : data_; } /** * optional .tutorial.LauncherSnapshotProto data = 4; */ - private void setData(LauncherSnapshotProto value) { + private void setData(com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto value) { if (value == null) { throw new NullPointerException(); } @@ -2692,18 +2757,18 @@ public final class SocketDownData { * optional .tutorial.LauncherSnapshotProto data = 4; */ private void setData( - LauncherSnapshotProto.Builder builderForValue) { + com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto.Builder builderForValue) { data_ = builderForValue.build(); } /** * optional .tutorial.LauncherSnapshotProto data = 4; */ - private void mergeData(LauncherSnapshotProto value) { + private void mergeData(com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto value) { if (data_ != null && - data_ != LauncherSnapshotProto.getDefaultInstance()) { + data_ != com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto.getDefaultInstance()) { data_ = - LauncherSnapshotProto.newBuilder(data_).mergeFrom(value).buildPartial(); + com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto.newBuilder(data_).mergeFrom(value).buildPartial(); } else { data_ = value; } @@ -2763,11 +2828,11 @@ public final class SocketDownData { } public static final int CITYCODE_FIELD_NUMBER = 7; - private String cityCode_; + private java.lang.String cityCode_; /** * optional string cityCode = 7; */ - public String getCityCode() { + public java.lang.String getCityCode() { return cityCode_; } /** @@ -2781,7 +2846,7 @@ public final class SocketDownData { * optional string cityCode = 7; */ private void setCityCode( - String value) { + java.lang.String value) { if (value == null) { throw new NullPointerException(); } @@ -2870,60 +2935,60 @@ public final class SocketDownData { return size; } - public static SocketDownDataProto parseFrom( + public static com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProto parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } - public static SocketDownDataProto parseFrom( + public static com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProto parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } - public static SocketDownDataProto parseFrom(byte[] data) + public static com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } - public static SocketDownDataProto parseFrom( + public static com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProto parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } - public static SocketDownDataProto parseFrom(java.io.InputStream input) + public static com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProto parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } - public static SocketDownDataProto parseFrom( + public static com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProto parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } - public static SocketDownDataProto parseDelimitedFrom(java.io.InputStream input) + public static com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProto parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } - public static SocketDownDataProto parseDelimitedFrom( + public static com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProto parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } - public static SocketDownDataProto parseFrom( + public static com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProto parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } - public static SocketDownDataProto parseFrom( + public static com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProto parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -2934,7 +2999,7 @@ public final class SocketDownData { public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(SocketDownDataProto prototype) { + public static Builder newBuilder(com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProto prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -2943,9 +3008,9 @@ public final class SocketDownData { */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< - SocketDownDataProto, Builder> implements + com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProto, Builder> implements // @@protoc_insertion_point(builder_implements:tutorial.SocketDownDataProto) - SocketDownDataProtoOrBuilder { + com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProtoOrBuilder { // Construct using com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProto.newBuilder() private Builder() { super(DEFAULT_INSTANCE); @@ -3001,7 +3066,7 @@ public final class SocketDownData { /** * optional string sn = 3; */ - public String getSn() { + public java.lang.String getSn() { return instance.getSn(); } /** @@ -3015,7 +3080,7 @@ public final class SocketDownData { * optional string sn = 3; */ public Builder setSn( - String value) { + java.lang.String value) { copyOnWrite(); instance.setSn(value); return this; @@ -3047,13 +3112,13 @@ public final class SocketDownData { /** * optional .tutorial.LauncherSnapshotProto data = 4; */ - public LauncherSnapshotProto getData() { + public com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto getData() { return instance.getData(); } /** * optional .tutorial.LauncherSnapshotProto data = 4; */ - public Builder setData(LauncherSnapshotProto value) { + public Builder setData(com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto value) { copyOnWrite(); instance.setData(value); return this; @@ -3062,7 +3127,7 @@ public final class SocketDownData { * optional .tutorial.LauncherSnapshotProto data = 4; */ public Builder setData( - LauncherSnapshotProto.Builder builderForValue) { + com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto.Builder builderForValue) { copyOnWrite(); instance.setData(builderForValue); return this; @@ -3070,7 +3135,7 @@ public final class SocketDownData { /** * optional .tutorial.LauncherSnapshotProto data = 4; */ - public Builder mergeData(LauncherSnapshotProto value) { + public Builder mergeData(com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto value) { copyOnWrite(); instance.mergeData(value); return this; @@ -3132,7 +3197,7 @@ public final class SocketDownData { /** * optional string cityCode = 7; */ - public String getCityCode() { + public java.lang.String getCityCode() { return instance.getCityCode(); } /** @@ -3146,7 +3211,7 @@ public final class SocketDownData { * optional string cityCode = 7; */ public Builder setCityCode( - String value) { + java.lang.String value) { copyOnWrite(); instance.setCityCode(value); return this; @@ -3172,11 +3237,11 @@ public final class SocketDownData { // @@protoc_insertion_point(builder_scope:tutorial.SocketDownDataProto) } protected final Object dynamicMethod( - MethodToInvoke method, - Object arg0, Object arg1) { + com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, + Object arg0, Object arg1) { switch (method) { case NEW_MUTABLE_INSTANCE: { - return new SocketDownDataProto(); + return new com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProto(); } case IS_INITIALIZED: { return DEFAULT_INSTANCE; @@ -3189,7 +3254,7 @@ public final class SocketDownData { } case VISIT: { Visitor visitor = (Visitor) arg0; - SocketDownDataProto other = (SocketDownDataProto) arg1; + com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProto other = (com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProto) arg1; seq_ = visitor.visitLong(seq_ != 0L, seq_, other.seq_ != 0L, other.seq_); msgType_ = visitor.visitInt(msgType_ != 0, msgType_, @@ -3203,7 +3268,7 @@ public final class SocketDownData { other.upUtcTime_ != 0L, other.upUtcTime_); cityCode_ = visitor.visitString(!cityCode_.isEmpty(), cityCode_, !other.cityCode_.isEmpty(), other.cityCode_); - if (visitor == MergeFromVisitor + if (visitor == com.google.protobuf.GeneratedMessageLite.MergeFromVisitor .INSTANCE) { } return this; @@ -3244,11 +3309,11 @@ public final class SocketDownData { break; } case 34: { - LauncherSnapshotProto.Builder subBuilder = null; + com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto.Builder subBuilder = null; if (data_ != null) { subBuilder = data_.toBuilder(); } - data_ = input.readMessage(LauncherSnapshotProto.parser(), extensionRegistry); + data_ = input.readMessage(com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(data_); data_ = subBuilder.buildPartial(); @@ -3287,7 +3352,7 @@ public final class SocketDownData { return DEFAULT_INSTANCE; } case GET_PARSER: { - if (PARSER == null) { synchronized (SocketDownDataProto.class) { + if (PARSER == null) { synchronized (com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProto.class) { if (PARSER == null) { PARSER = new DefaultInstanceBasedParser(DEFAULT_INSTANCE); } @@ -3301,13 +3366,13 @@ public final class SocketDownData { // @@protoc_insertion_point(class_scope:tutorial.SocketDownDataProto) - private static final SocketDownDataProto DEFAULT_INSTANCE; + private static final com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProto DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new SocketDownDataProto(); DEFAULT_INSTANCE.makeImmutable(); } - public static SocketDownDataProto getDefaultInstance() { + public static com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProto getDefaultInstance() { return DEFAULT_INSTANCE; } diff --git a/foudations/mogo-socket/src/main/java/com/mogo/cloud/socket/entity/SocketDownDataHelper.java b/foudations/mogo-socket/src/main/java/com/mogo/cloud/socket/entity/SocketDownDataHelper.java new file mode 100644 index 0000000..1ea1eab --- /dev/null +++ b/foudations/mogo-socket/src/main/java/com/mogo/cloud/socket/entity/SocketDownDataHelper.java @@ -0,0 +1,8 @@ +package com.mogo.cloud.socket.entity; + +public class SocketDownDataHelper { + + public static final int FROM_MY_LOCATION = 1; + public static final int FROM_ADAS = 2; + public static final int FROM_ROAD_UNIT = 3; +} diff --git a/gradle.properties b/gradle.properties index 8c387dc..28ebd61 100644 --- a/gradle.properties +++ b/gradle.properties @@ -30,20 +30,20 @@ PASSWORD=xintai2018 RELEASE=true # AI CLOUD 云平台 # 工具类 -MOGO_UTILS_VERSION=1.1.2 +MOGO_UTILS_VERSION=1.1.4 # 网络请求 -MOGO_NETWORK_VERSION=1.1.2 +MOGO_NETWORK_VERSION=1.1.4 # 网络DNS -MOGO_HTTPDNS_VERSION=1.1.2 +MOGO_HTTPDNS_VERSION=1.1.4 # 鉴权 -MOGO_PASSPORT_VERSION=1.1.2 +MOGO_PASSPORT_VERSION=1.1.4 # 常链接 -MOGO_SOCKET_VERSION=1.1.2 +MOGO_SOCKET_VERSION=1.1.4 # 数据采集 -MOGO_REALTIME_VERSION=1.1.2 +MOGO_REALTIME_VERSION=1.1.4 # 探路,道路事件发布,获取 -MOGO_TANLU_VERSION=1.1.2 +MOGO_TANLU_VERSION=1.1.4 # 直播推流 -MOGO_LIVE_VERSION=1.1.2 +MOGO_LIVE_VERSION=1.1.4 # 直播拉流 -MOGO_TRAFFICLIVE_VERSION=1.1.2 +MOGO_TRAFFICLIVE_VERSION=1.1.4