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 ba0a526..a4cf6de 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
@@ -1,5 +1,5 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: SocketDownData.proto
+// source: SocketDownDataProto3.proto
package com.mogo.cloud.socket.entity;
@@ -8,612 +8,3810 @@ public final class SocketDownData {
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
- public interface CloudRoadDataProtoOrBuilder extends
- // @@protoc_insertion_point(interface_extends:tutorial.CloudRoadDataProto)
- com.google.protobuf.MessageLiteOrBuilder {
+
+ public static void registerAllExtensions(
+ com.google.protobuf.ExtensionRegistry registry) {
+ registerAllExtensions(
+ (com.google.protobuf.ExtensionRegistryLite) registry);
+ }
+ public interface SocketDownDataProtoOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:mogo.yycp.service.SocketDownDataProto)
+ com.google.protobuf.MessageOrBuilder {
/**
- * optional uint32 type = 1;
+ * uint64 seq = 1;
*/
- int getType();
+ long getSeq();
/**
- * optional uint32 fromType = 2;
+ * uint32 msgType = 2;
*/
- int getFromType();
+ int getMsgType();
/**
- * optional double lat = 3;
- */
- double getLat();
-
- /**
- * optional double lon = 4;
- */
- double getLon();
-
- /**
- * optional double wgslat = 5;
- */
- double getWgslat();
-
- /**
- * optional double wgslon = 6;
- */
- double getWgslon();
-
- /**
- * optional string sn = 7;
+ * string sn = 3;
*/
java.lang.String getSn();
/**
- * optional string sn = 7;
+ * string sn = 3;
*/
com.google.protobuf.ByteString
getSnBytes();
/**
- * optional string uuid = 8;
+ * .mogo.yycp.service.LauncherSnapshotProto data = 4;
+ */
+ boolean hasData();
+ /**
+ * .mogo.yycp.service.LauncherSnapshotProto data = 4;
+ */
+ com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto getData();
+ /**
+ * .mogo.yycp.service.LauncherSnapshotProto data = 4;
+ */
+ com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProtoOrBuilder getDataOrBuilder();
+
+ /**
+ * uint64 utcTime = 5;
+ */
+ long getUtcTime();
+
+ /**
+ * uint64 upUtcTime = 6;
+ */
+ long getUpUtcTime();
+
+ /**
+ * string cityCode = 7;
+ */
+ java.lang.String getCityCode();
+ /**
+ * string cityCode = 7;
+ */
+ com.google.protobuf.ByteString
+ getCityCodeBytes();
+ }
+ /**
+ *
+ *返回车机主实体 + *+ * + * Protobuf type {@code mogo.yycp.service.SocketDownDataProto} + */ + public static final class SocketDownDataProto extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:mogo.yycp.service.SocketDownDataProto) + SocketDownDataProtoOrBuilder { + private static final long serialVersionUID = 0L; + // Use SocketDownDataProto.newBuilder() to construct. + private SocketDownDataProto(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private SocketDownDataProto() { + seq_ = 0L; + msgType_ = 0; + sn_ = ""; + utcTime_ = 0L; + upUtcTime_ = 0L; + cityCode_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private SocketDownDataProto( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.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 8: { + + seq_ = input.readUInt64(); + break; + } + case 16: { + + msgType_ = input.readUInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + sn_ = s; + break; + } + case 34: { + com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto.Builder subBuilder = null; + if (data_ != null) { + subBuilder = data_.toBuilder(); + } + data_ = input.readMessage(com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(data_); + data_ = subBuilder.buildPartial(); + } + + break; + } + case 40: { + + utcTime_ = input.readUInt64(); + break; + } + case 48: { + + upUtcTime_ = input.readUInt64(); + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + + cityCode_ = s; + 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 com.mogo.cloud.socket.entity.SocketDownData.internal_static_mogo_yycp_service_SocketDownDataProto_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.mogo.cloud.socket.entity.SocketDownData.internal_static_mogo_yycp_service_SocketDownDataProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProto.class, com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProto.Builder.class); + } + + public static final int SEQ_FIELD_NUMBER = 1; + private long seq_; + /** + *
uint64 seq = 1;
+ */
+ public long getSeq() {
+ return seq_;
+ }
+
+ public static final int MSGTYPE_FIELD_NUMBER = 2;
+ private int msgType_;
+ /**
+ * uint32 msgType = 2;
+ */
+ public int getMsgType() {
+ return msgType_;
+ }
+
+ public static final int SN_FIELD_NUMBER = 3;
+ private volatile java.lang.Object sn_;
+ /**
+ * string sn = 3;
+ */
+ public java.lang.String getSn() {
+ java.lang.Object ref = sn_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ sn_ = s;
+ return s;
+ }
+ }
+ /**
+ * string sn = 3;
+ */
+ public com.google.protobuf.ByteString
+ getSnBytes() {
+ java.lang.Object ref = sn_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ sn_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int DATA_FIELD_NUMBER = 4;
+ private com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto data_;
+ /**
+ * .mogo.yycp.service.LauncherSnapshotProto data = 4;
+ */
+ public boolean hasData() {
+ return data_ != null;
+ }
+ /**
+ * .mogo.yycp.service.LauncherSnapshotProto data = 4;
+ */
+ public com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto getData() {
+ return data_ == null ? com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto.getDefaultInstance() : data_;
+ }
+ /**
+ * .mogo.yycp.service.LauncherSnapshotProto data = 4;
+ */
+ public com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProtoOrBuilder getDataOrBuilder() {
+ return getData();
+ }
+
+ public static final int UTCTIME_FIELD_NUMBER = 5;
+ private long utcTime_;
+ /**
+ * uint64 utcTime = 5;
+ */
+ public long getUtcTime() {
+ return utcTime_;
+ }
+
+ public static final int UPUTCTIME_FIELD_NUMBER = 6;
+ private long upUtcTime_;
+ /**
+ * uint64 upUtcTime = 6;
+ */
+ public long getUpUtcTime() {
+ return upUtcTime_;
+ }
+
+ public static final int CITYCODE_FIELD_NUMBER = 7;
+ private volatile java.lang.Object cityCode_;
+ /**
+ * string cityCode = 7;
+ */
+ public java.lang.String getCityCode() {
+ java.lang.Object ref = cityCode_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ cityCode_ = s;
+ return s;
+ }
+ }
+ /**
+ * string cityCode = 7;
+ */
+ public com.google.protobuf.ByteString
+ getCityCodeBytes() {
+ java.lang.Object ref = cityCode_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ cityCode_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private byte memoizedIsInitialized = -1;
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ if (seq_ != 0L) {
+ output.writeUInt64(1, seq_);
+ }
+ if (msgType_ != 0) {
+ output.writeUInt32(2, msgType_);
+ }
+ if (!getSnBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, sn_);
+ }
+ if (data_ != null) {
+ output.writeMessage(4, getData());
+ }
+ if (utcTime_ != 0L) {
+ output.writeUInt64(5, utcTime_);
+ }
+ if (upUtcTime_ != 0L) {
+ output.writeUInt64(6, upUtcTime_);
+ }
+ if (!getCityCodeBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 7, cityCode_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (seq_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(1, seq_);
+ }
+ if (msgType_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(2, msgType_);
+ }
+ if (!getSnBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, sn_);
+ }
+ if (data_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(4, getData());
+ }
+ if (utcTime_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(5, utcTime_);
+ }
+ if (upUtcTime_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(6, upUtcTime_);
+ }
+ if (!getCityCodeBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, cityCode_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProto)) {
+ return super.equals(obj);
+ }
+ com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProto other = (com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProto) obj;
+
+ boolean result = true;
+ result = result && (getSeq()
+ == other.getSeq());
+ result = result && (getMsgType()
+ == other.getMsgType());
+ result = result && getSn()
+ .equals(other.getSn());
+ result = result && (hasData() == other.hasData());
+ if (hasData()) {
+ result = result && getData()
+ .equals(other.getData());
+ }
+ result = result && (getUtcTime()
+ == other.getUtcTime());
+ result = result && (getUpUtcTime()
+ == other.getUpUtcTime());
+ result = result && getCityCode()
+ .equals(other.getCityCode());
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + SEQ_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getSeq());
+ hash = (37 * hash) + MSGTYPE_FIELD_NUMBER;
+ hash = (53 * hash) + getMsgType();
+ hash = (37 * hash) + SN_FIELD_NUMBER;
+ hash = (53 * hash) + getSn().hashCode();
+ if (hasData()) {
+ hash = (37 * hash) + DATA_FIELD_NUMBER;
+ hash = (53 * hash) + getData().hashCode();
+ }
+ hash = (37 * hash) + UTCTIME_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getUtcTime());
+ hash = (37 * hash) + UPUTCTIME_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getUpUtcTime());
+ hash = (37 * hash) + CITYCODE_FIELD_NUMBER;
+ hash = (53 * hash) + getCityCode().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProto parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProto parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProto parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ 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 PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProto parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProto parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProto parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ 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.GeneratedMessageV3
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProto parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProto 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 com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProto parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProto parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+ public static Builder newBuilder(com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProto prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE
+ ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * + *返回车机主实体 + *+ * + * Protobuf type {@code mogo.yycp.service.SocketDownDataProto} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
uint64 seq = 1;
+ */
+ public long getSeq() {
+ return seq_;
+ }
+ /**
+ * uint64 seq = 1;
+ */
+ public Builder setSeq(long value) {
+
+ seq_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint64 seq = 1;
+ */
+ public Builder clearSeq() {
+
+ seq_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private int msgType_ ;
+ /**
+ * uint32 msgType = 2;
+ */
+ public int getMsgType() {
+ return msgType_;
+ }
+ /**
+ * uint32 msgType = 2;
+ */
+ public Builder setMsgType(int value) {
+
+ msgType_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint32 msgType = 2;
+ */
+ public Builder clearMsgType() {
+
+ msgType_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object sn_ = "";
+ /**
+ * string sn = 3;
+ */
+ public java.lang.String getSn() {
+ java.lang.Object ref = sn_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ sn_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * string sn = 3;
+ */
+ public com.google.protobuf.ByteString
+ getSnBytes() {
+ java.lang.Object ref = sn_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ sn_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * string sn = 3;
+ */
+ public Builder setSn(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ sn_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * string sn = 3;
+ */
+ public Builder clearSn() {
+
+ sn_ = getDefaultInstance().getSn();
+ onChanged();
+ return this;
+ }
+ /**
+ * string sn = 3;
+ */
+ public Builder setSnBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ sn_ = value;
+ onChanged();
+ return this;
+ }
+
+ private com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto data_ = null;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto, com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto.Builder, com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProtoOrBuilder> dataBuilder_;
+ /**
+ * .mogo.yycp.service.LauncherSnapshotProto data = 4;
+ */
+ public boolean hasData() {
+ return dataBuilder_ != null || data_ != null;
+ }
+ /**
+ * .mogo.yycp.service.LauncherSnapshotProto data = 4;
+ */
+ public com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto getData() {
+ if (dataBuilder_ == null) {
+ return data_ == null ? com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto.getDefaultInstance() : data_;
+ } else {
+ return dataBuilder_.getMessage();
+ }
+ }
+ /**
+ * .mogo.yycp.service.LauncherSnapshotProto data = 4;
+ */
+ public Builder setData(com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto value) {
+ if (dataBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ data_ = value;
+ onChanged();
+ } else {
+ dataBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * .mogo.yycp.service.LauncherSnapshotProto data = 4;
+ */
+ public Builder setData(
+ com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto.Builder builderForValue) {
+ if (dataBuilder_ == null) {
+ data_ = builderForValue.build();
+ onChanged();
+ } else {
+ dataBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * .mogo.yycp.service.LauncherSnapshotProto data = 4;
+ */
+ public Builder mergeData(com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto value) {
+ if (dataBuilder_ == null) {
+ if (data_ != null) {
+ data_ =
+ com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto.newBuilder(data_).mergeFrom(value).buildPartial();
+ } else {
+ data_ = value;
+ }
+ onChanged();
+ } else {
+ dataBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * .mogo.yycp.service.LauncherSnapshotProto data = 4;
+ */
+ public Builder clearData() {
+ if (dataBuilder_ == null) {
+ data_ = null;
+ onChanged();
+ } else {
+ data_ = null;
+ dataBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * .mogo.yycp.service.LauncherSnapshotProto data = 4;
+ */
+ public com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto.Builder getDataBuilder() {
+
+ onChanged();
+ return getDataFieldBuilder().getBuilder();
+ }
+ /**
+ * .mogo.yycp.service.LauncherSnapshotProto data = 4;
+ */
+ public com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProtoOrBuilder getDataOrBuilder() {
+ if (dataBuilder_ != null) {
+ return dataBuilder_.getMessageOrBuilder();
+ } else {
+ return data_ == null ?
+ com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto.getDefaultInstance() : data_;
+ }
+ }
+ /**
+ * .mogo.yycp.service.LauncherSnapshotProto data = 4;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto, com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto.Builder, com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProtoOrBuilder>
+ getDataFieldBuilder() {
+ if (dataBuilder_ == null) {
+ dataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto, com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto.Builder, com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProtoOrBuilder>(
+ getData(),
+ getParentForChildren(),
+ isClean());
+ data_ = null;
+ }
+ return dataBuilder_;
+ }
+
+ private long utcTime_ ;
+ /**
+ * uint64 utcTime = 5;
+ */
+ public long getUtcTime() {
+ return utcTime_;
+ }
+ /**
+ * uint64 utcTime = 5;
+ */
+ public Builder setUtcTime(long value) {
+
+ utcTime_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint64 utcTime = 5;
+ */
+ public Builder clearUtcTime() {
+
+ utcTime_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long upUtcTime_ ;
+ /**
+ * uint64 upUtcTime = 6;
+ */
+ public long getUpUtcTime() {
+ return upUtcTime_;
+ }
+ /**
+ * uint64 upUtcTime = 6;
+ */
+ public Builder setUpUtcTime(long value) {
+
+ upUtcTime_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint64 upUtcTime = 6;
+ */
+ public Builder clearUpUtcTime() {
+
+ upUtcTime_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object cityCode_ = "";
+ /**
+ * string cityCode = 7;
+ */
+ public java.lang.String getCityCode() {
+ java.lang.Object ref = cityCode_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ cityCode_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * string cityCode = 7;
+ */
+ public com.google.protobuf.ByteString
+ getCityCodeBytes() {
+ java.lang.Object ref = cityCode_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ cityCode_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * string cityCode = 7;
+ */
+ public Builder setCityCode(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ cityCode_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * string cityCode = 7;
+ */
+ public Builder clearCityCode() {
+
+ cityCode_ = getDefaultInstance().getCityCode();
+ onChanged();
+ return this;
+ }
+ /**
+ * string cityCode = 7;
+ */
+ public Builder setCityCodeBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ cityCode_ = value;
+ onChanged();
+ return this;
+ }
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFieldsProto3(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+
+ // @@protoc_insertion_point(builder_scope:mogo.yycp.service.SocketDownDataProto)
+ }
+
+ // @@protoc_insertion_point(class_scope:mogo.yycp.service.SocketDownDataProto)
+ private static final com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProto DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProto();
+ }
+
+ public static com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProto getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ *总数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto allList = 1;
+ */
+ java.util.List+ *总数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto allList = 1;
+ */
+ com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto getAllList(int index);
+ /**
+ * + *总数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto allList = 1;
+ */
+ int getAllListCount();
+ /**
+ * + *总数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto allList = 1;
+ */
+ java.util.List extends com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProtoOrBuilder>
+ getAllListOrBuilderList();
+ /**
+ * + *总数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto allList = 1;
+ */
+ com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProtoOrBuilder getAllListOrBuilder(
+ int index);
+
+ /**
+ * + *前方50米数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto nearList = 2;
+ */
+ java.util.List+ *前方50米数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto nearList = 2;
+ */
+ com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto getNearList(int index);
+ /**
+ * + *前方50米数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto nearList = 2;
+ */
+ int getNearListCount();
+ /**
+ * + *前方50米数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto nearList = 2;
+ */
+ java.util.List extends com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProtoOrBuilder>
+ getNearListOrBuilderList();
+ /**
+ * + *前方50米数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto nearList = 2;
+ */
+ com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProtoOrBuilder getNearListOrBuilder(
+ int index);
+
+ /**
+ * + *摄像头 RoadDataVo + *+ * + *
.mogo.yycp.service.CloudRoadDataProto camera = 3;
+ */
+ boolean hasCamera();
+ /**
+ * + *摄像头 RoadDataVo + *+ * + *
.mogo.yycp.service.CloudRoadDataProto camera = 3;
+ */
+ com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto getCamera();
+ /**
+ * + *摄像头 RoadDataVo + *+ * + *
.mogo.yycp.service.CloudRoadDataProto camera = 3;
+ */
+ com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProtoOrBuilder getCameraOrBuilder();
+
+ /**
+ * string msgId = 4;
+ */
+ java.lang.String getMsgId();
+ /**
+ * string msgId = 4;
+ */
+ com.google.protobuf.ByteString
+ getMsgIdBytes();
+
+ /**
+ * uint64 time = 5;
+ */
+ long getTime();
+
+ /**
+ * + *过期时间 + *+ * + *
uint64 expire = 6;
+ */
+ long getExpire();
+ }
+ /**
+ * + *LauncherSnapshot数据响应VO + *+ * + * Protobuf type {@code mogo.yycp.service.LauncherSnapshotProto} + */ + public static final class LauncherSnapshotProto extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:mogo.yycp.service.LauncherSnapshotProto) + LauncherSnapshotProtoOrBuilder { + private static final long serialVersionUID = 0L; + // Use LauncherSnapshotProto.newBuilder() to construct. + private LauncherSnapshotProto(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private LauncherSnapshotProto() { + allList_ = java.util.Collections.emptyList(); + nearList_ = java.util.Collections.emptyList(); + msgId_ = ""; + time_ = 0L; + expire_ = 0L; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private LauncherSnapshotProto( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.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: { + if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + allList_ = new java.util.ArrayList
+ *总数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto allList = 1;
+ */
+ public java.util.List+ *总数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto allList = 1;
+ */
+ public java.util.List extends com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProtoOrBuilder>
+ getAllListOrBuilderList() {
+ return allList_;
+ }
+ /**
+ * + *总数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto allList = 1;
+ */
+ public int getAllListCount() {
+ return allList_.size();
+ }
+ /**
+ * + *总数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto allList = 1;
+ */
+ public com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto getAllList(int index) {
+ return allList_.get(index);
+ }
+ /**
+ * + *总数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto allList = 1;
+ */
+ public com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProtoOrBuilder getAllListOrBuilder(
+ int index) {
+ return allList_.get(index);
+ }
+
+ public static final int NEARLIST_FIELD_NUMBER = 2;
+ private java.util.List+ *前方50米数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto nearList = 2;
+ */
+ public java.util.List+ *前方50米数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto nearList = 2;
+ */
+ public java.util.List extends com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProtoOrBuilder>
+ getNearListOrBuilderList() {
+ return nearList_;
+ }
+ /**
+ * + *前方50米数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto nearList = 2;
+ */
+ public int getNearListCount() {
+ return nearList_.size();
+ }
+ /**
+ * + *前方50米数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto nearList = 2;
+ */
+ public com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto getNearList(int index) {
+ return nearList_.get(index);
+ }
+ /**
+ * + *前方50米数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto nearList = 2;
+ */
+ public com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProtoOrBuilder getNearListOrBuilder(
+ int index) {
+ return nearList_.get(index);
+ }
+
+ public static final int CAMERA_FIELD_NUMBER = 3;
+ private com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto camera_;
+ /**
+ * + *摄像头 RoadDataVo + *+ * + *
.mogo.yycp.service.CloudRoadDataProto camera = 3;
+ */
+ public boolean hasCamera() {
+ return camera_ != null;
+ }
+ /**
+ * + *摄像头 RoadDataVo + *+ * + *
.mogo.yycp.service.CloudRoadDataProto camera = 3;
+ */
+ public com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto getCamera() {
+ return camera_ == null ? com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.getDefaultInstance() : camera_;
+ }
+ /**
+ * + *摄像头 RoadDataVo + *+ * + *
.mogo.yycp.service.CloudRoadDataProto camera = 3;
+ */
+ public com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProtoOrBuilder getCameraOrBuilder() {
+ return getCamera();
+ }
+
+ public static final int MSGID_FIELD_NUMBER = 4;
+ private volatile java.lang.Object msgId_;
+ /**
+ * string msgId = 4;
+ */
+ public java.lang.String getMsgId() {
+ java.lang.Object ref = msgId_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ msgId_ = s;
+ return s;
+ }
+ }
+ /**
+ * string msgId = 4;
+ */
+ public com.google.protobuf.ByteString
+ getMsgIdBytes() {
+ java.lang.Object ref = msgId_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ msgId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int TIME_FIELD_NUMBER = 5;
+ private long time_;
+ /**
+ * uint64 time = 5;
+ */
+ public long getTime() {
+ return time_;
+ }
+
+ public static final int EXPIRE_FIELD_NUMBER = 6;
+ private long expire_;
+ /**
+ * + *过期时间 + *+ * + *
uint64 expire = 6;
+ */
+ public long getExpire() {
+ return expire_;
+ }
+
+ private byte memoizedIsInitialized = -1;
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ for (int i = 0; i < allList_.size(); i++) {
+ output.writeMessage(1, allList_.get(i));
+ }
+ for (int i = 0; i < nearList_.size(); i++) {
+ output.writeMessage(2, nearList_.get(i));
+ }
+ if (camera_ != null) {
+ output.writeMessage(3, getCamera());
+ }
+ if (!getMsgIdBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 4, msgId_);
+ }
+ if (time_ != 0L) {
+ output.writeUInt64(5, time_);
+ }
+ if (expire_ != 0L) {
+ output.writeUInt64(6, expire_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ for (int i = 0; i < allList_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, allList_.get(i));
+ }
+ for (int i = 0; i < nearList_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(2, nearList_.get(i));
+ }
+ if (camera_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(3, getCamera());
+ }
+ if (!getMsgIdBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, msgId_);
+ }
+ if (time_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(5, time_);
+ }
+ if (expire_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(6, expire_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto)) {
+ return super.equals(obj);
+ }
+ com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto other = (com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto) obj;
+
+ boolean result = true;
+ result = result && getAllListList()
+ .equals(other.getAllListList());
+ result = result && getNearListList()
+ .equals(other.getNearListList());
+ result = result && (hasCamera() == other.hasCamera());
+ if (hasCamera()) {
+ result = result && getCamera()
+ .equals(other.getCamera());
+ }
+ result = result && getMsgId()
+ .equals(other.getMsgId());
+ result = result && (getTime()
+ == other.getTime());
+ result = result && (getExpire()
+ == other.getExpire());
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (getAllListCount() > 0) {
+ hash = (37 * hash) + ALLLIST_FIELD_NUMBER;
+ hash = (53 * hash) + getAllListList().hashCode();
+ }
+ if (getNearListCount() > 0) {
+ hash = (37 * hash) + NEARLIST_FIELD_NUMBER;
+ hash = (53 * hash) + getNearListList().hashCode();
+ }
+ if (hasCamera()) {
+ hash = (37 * hash) + CAMERA_FIELD_NUMBER;
+ hash = (53 * hash) + getCamera().hashCode();
+ }
+ hash = (37 * hash) + MSGID_FIELD_NUMBER;
+ hash = (53 * hash) + getMsgId().hashCode();
+ hash = (37 * hash) + TIME_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getTime());
+ hash = (37 * hash) + EXPIRE_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getExpire());
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ 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 PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ 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.GeneratedMessageV3
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto 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 com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+ public static Builder newBuilder(com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE
+ ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * + *LauncherSnapshot数据响应VO + *+ * + * Protobuf type {@code mogo.yycp.service.LauncherSnapshotProto} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
+ *总数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto allList = 1;
+ */
+ public java.util.List+ *总数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto allList = 1;
+ */
+ public int getAllListCount() {
+ if (allListBuilder_ == null) {
+ return allList_.size();
+ } else {
+ return allListBuilder_.getCount();
+ }
+ }
+ /**
+ * + *总数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto allList = 1;
+ */
+ public com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto getAllList(int index) {
+ if (allListBuilder_ == null) {
+ return allList_.get(index);
+ } else {
+ return allListBuilder_.getMessage(index);
+ }
+ }
+ /**
+ * + *总数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto allList = 1;
+ */
+ public Builder setAllList(
+ int index, com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto value) {
+ if (allListBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureAllListIsMutable();
+ allList_.set(index, value);
+ onChanged();
+ } else {
+ allListBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * + *总数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto allList = 1;
+ */
+ public Builder setAllList(
+ int index, com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.Builder builderForValue) {
+ if (allListBuilder_ == null) {
+ ensureAllListIsMutable();
+ allList_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ allListBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + *总数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto allList = 1;
+ */
+ public Builder addAllList(com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto value) {
+ if (allListBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureAllListIsMutable();
+ allList_.add(value);
+ onChanged();
+ } else {
+ allListBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ * + *总数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto allList = 1;
+ */
+ public Builder addAllList(
+ int index, com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto value) {
+ if (allListBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureAllListIsMutable();
+ allList_.add(index, value);
+ onChanged();
+ } else {
+ allListBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * + *总数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto allList = 1;
+ */
+ public Builder addAllList(
+ com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.Builder builderForValue) {
+ if (allListBuilder_ == null) {
+ ensureAllListIsMutable();
+ allList_.add(builderForValue.build());
+ onChanged();
+ } else {
+ allListBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + *总数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto allList = 1;
+ */
+ public Builder addAllList(
+ int index, com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.Builder builderForValue) {
+ if (allListBuilder_ == null) {
+ ensureAllListIsMutable();
+ allList_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ allListBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + *总数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto allList = 1;
+ */
+ public Builder addAllAllList(
+ java.lang.Iterable extends com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto> values) {
+ if (allListBuilder_ == null) {
+ ensureAllListIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, allList_);
+ onChanged();
+ } else {
+ allListBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ * + *总数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto allList = 1;
+ */
+ public Builder clearAllList() {
+ if (allListBuilder_ == null) {
+ allList_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ } else {
+ allListBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ * + *总数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto allList = 1;
+ */
+ public Builder removeAllList(int index) {
+ if (allListBuilder_ == null) {
+ ensureAllListIsMutable();
+ allList_.remove(index);
+ onChanged();
+ } else {
+ allListBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ * + *总数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto allList = 1;
+ */
+ public com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.Builder getAllListBuilder(
+ int index) {
+ return getAllListFieldBuilder().getBuilder(index);
+ }
+ /**
+ * + *总数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto allList = 1;
+ */
+ public com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProtoOrBuilder getAllListOrBuilder(
+ int index) {
+ if (allListBuilder_ == null) {
+ return allList_.get(index); } else {
+ return allListBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ * + *总数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto allList = 1;
+ */
+ public java.util.List extends com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProtoOrBuilder>
+ getAllListOrBuilderList() {
+ if (allListBuilder_ != null) {
+ return allListBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(allList_);
+ }
+ }
+ /**
+ * + *总数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto allList = 1;
+ */
+ public com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.Builder addAllListBuilder() {
+ return getAllListFieldBuilder().addBuilder(
+ com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.getDefaultInstance());
+ }
+ /**
+ * + *总数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto allList = 1;
+ */
+ public com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.Builder addAllListBuilder(
+ int index) {
+ return getAllListFieldBuilder().addBuilder(
+ index, com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.getDefaultInstance());
+ }
+ /**
+ * + *总数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto allList = 1;
+ */
+ public java.util.List+ *前方50米数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto nearList = 2;
+ */
+ public java.util.List+ *前方50米数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto nearList = 2;
+ */
+ public int getNearListCount() {
+ if (nearListBuilder_ == null) {
+ return nearList_.size();
+ } else {
+ return nearListBuilder_.getCount();
+ }
+ }
+ /**
+ * + *前方50米数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto nearList = 2;
+ */
+ public com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto getNearList(int index) {
+ if (nearListBuilder_ == null) {
+ return nearList_.get(index);
+ } else {
+ return nearListBuilder_.getMessage(index);
+ }
+ }
+ /**
+ * + *前方50米数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto nearList = 2;
+ */
+ public Builder setNearList(
+ int index, com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto value) {
+ if (nearListBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureNearListIsMutable();
+ nearList_.set(index, value);
+ onChanged();
+ } else {
+ nearListBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * + *前方50米数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto nearList = 2;
+ */
+ public Builder setNearList(
+ int index, com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.Builder builderForValue) {
+ if (nearListBuilder_ == null) {
+ ensureNearListIsMutable();
+ nearList_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ nearListBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + *前方50米数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto nearList = 2;
+ */
+ public Builder addNearList(com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto value) {
+ if (nearListBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureNearListIsMutable();
+ nearList_.add(value);
+ onChanged();
+ } else {
+ nearListBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ * + *前方50米数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto nearList = 2;
+ */
+ public Builder addNearList(
+ int index, com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto value) {
+ if (nearListBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureNearListIsMutable();
+ nearList_.add(index, value);
+ onChanged();
+ } else {
+ nearListBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * + *前方50米数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto nearList = 2;
+ */
+ public Builder addNearList(
+ com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.Builder builderForValue) {
+ if (nearListBuilder_ == null) {
+ ensureNearListIsMutable();
+ nearList_.add(builderForValue.build());
+ onChanged();
+ } else {
+ nearListBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + *前方50米数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto nearList = 2;
+ */
+ public Builder addNearList(
+ int index, com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.Builder builderForValue) {
+ if (nearListBuilder_ == null) {
+ ensureNearListIsMutable();
+ nearList_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ nearListBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + *前方50米数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto nearList = 2;
+ */
+ public Builder addAllNearList(
+ java.lang.Iterable extends com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto> values) {
+ if (nearListBuilder_ == null) {
+ ensureNearListIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, nearList_);
+ onChanged();
+ } else {
+ nearListBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ * + *前方50米数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto nearList = 2;
+ */
+ public Builder clearNearList() {
+ if (nearListBuilder_ == null) {
+ nearList_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ } else {
+ nearListBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ * + *前方50米数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto nearList = 2;
+ */
+ public Builder removeNearList(int index) {
+ if (nearListBuilder_ == null) {
+ ensureNearListIsMutable();
+ nearList_.remove(index);
+ onChanged();
+ } else {
+ nearListBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ * + *前方50米数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto nearList = 2;
+ */
+ public com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.Builder getNearListBuilder(
+ int index) {
+ return getNearListFieldBuilder().getBuilder(index);
+ }
+ /**
+ * + *前方50米数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto nearList = 2;
+ */
+ public com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProtoOrBuilder getNearListOrBuilder(
+ int index) {
+ if (nearListBuilder_ == null) {
+ return nearList_.get(index); } else {
+ return nearListBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ * + *前方50米数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto nearList = 2;
+ */
+ public java.util.List extends com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProtoOrBuilder>
+ getNearListOrBuilderList() {
+ if (nearListBuilder_ != null) {
+ return nearListBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(nearList_);
+ }
+ }
+ /**
+ * + *前方50米数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto nearList = 2;
+ */
+ public com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.Builder addNearListBuilder() {
+ return getNearListFieldBuilder().addBuilder(
+ com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.getDefaultInstance());
+ }
+ /**
+ * + *前方50米数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto nearList = 2;
+ */
+ public com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.Builder addNearListBuilder(
+ int index) {
+ return getNearListFieldBuilder().addBuilder(
+ index, com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.getDefaultInstance());
+ }
+ /**
+ * + *前方50米数据集合 RoadDataVo + *+ * + *
repeated .mogo.yycp.service.CloudRoadDataProto nearList = 2;
+ */
+ public java.util.List+ *摄像头 RoadDataVo + *+ * + *
.mogo.yycp.service.CloudRoadDataProto camera = 3;
+ */
+ public boolean hasCamera() {
+ return cameraBuilder_ != null || camera_ != null;
+ }
+ /**
+ * + *摄像头 RoadDataVo + *+ * + *
.mogo.yycp.service.CloudRoadDataProto camera = 3;
+ */
+ public com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto getCamera() {
+ if (cameraBuilder_ == null) {
+ return camera_ == null ? com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.getDefaultInstance() : camera_;
+ } else {
+ return cameraBuilder_.getMessage();
+ }
+ }
+ /**
+ * + *摄像头 RoadDataVo + *+ * + *
.mogo.yycp.service.CloudRoadDataProto camera = 3;
+ */
+ public Builder setCamera(com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto value) {
+ if (cameraBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ camera_ = value;
+ onChanged();
+ } else {
+ cameraBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *摄像头 RoadDataVo + *+ * + *
.mogo.yycp.service.CloudRoadDataProto camera = 3;
+ */
+ public Builder setCamera(
+ com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.Builder builderForValue) {
+ if (cameraBuilder_ == null) {
+ camera_ = builderForValue.build();
+ onChanged();
+ } else {
+ cameraBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + *摄像头 RoadDataVo + *+ * + *
.mogo.yycp.service.CloudRoadDataProto camera = 3;
+ */
+ public Builder mergeCamera(com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto value) {
+ if (cameraBuilder_ == null) {
+ if (camera_ != null) {
+ camera_ =
+ com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.newBuilder(camera_).mergeFrom(value).buildPartial();
+ } else {
+ camera_ = value;
+ }
+ onChanged();
+ } else {
+ cameraBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *摄像头 RoadDataVo + *+ * + *
.mogo.yycp.service.CloudRoadDataProto camera = 3;
+ */
+ public Builder clearCamera() {
+ if (cameraBuilder_ == null) {
+ camera_ = null;
+ onChanged();
+ } else {
+ camera_ = null;
+ cameraBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + *摄像头 RoadDataVo + *+ * + *
.mogo.yycp.service.CloudRoadDataProto camera = 3;
+ */
+ public com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.Builder getCameraBuilder() {
+
+ onChanged();
+ return getCameraFieldBuilder().getBuilder();
+ }
+ /**
+ * + *摄像头 RoadDataVo + *+ * + *
.mogo.yycp.service.CloudRoadDataProto camera = 3;
+ */
+ public com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProtoOrBuilder getCameraOrBuilder() {
+ if (cameraBuilder_ != null) {
+ return cameraBuilder_.getMessageOrBuilder();
+ } else {
+ return camera_ == null ?
+ com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.getDefaultInstance() : camera_;
+ }
+ }
+ /**
+ * + *摄像头 RoadDataVo + *+ * + *
.mogo.yycp.service.CloudRoadDataProto camera = 3;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto, com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.Builder, com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProtoOrBuilder>
+ getCameraFieldBuilder() {
+ if (cameraBuilder_ == null) {
+ cameraBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto, com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.Builder, com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProtoOrBuilder>(
+ getCamera(),
+ getParentForChildren(),
+ isClean());
+ camera_ = null;
+ }
+ return cameraBuilder_;
+ }
+
+ private java.lang.Object msgId_ = "";
+ /**
+ * string msgId = 4;
+ */
+ public java.lang.String getMsgId() {
+ java.lang.Object ref = msgId_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ msgId_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * string msgId = 4;
+ */
+ public com.google.protobuf.ByteString
+ getMsgIdBytes() {
+ java.lang.Object ref = msgId_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ msgId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * string msgId = 4;
+ */
+ public Builder setMsgId(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ msgId_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * string msgId = 4;
+ */
+ public Builder clearMsgId() {
+
+ msgId_ = getDefaultInstance().getMsgId();
+ onChanged();
+ return this;
+ }
+ /**
+ * string msgId = 4;
+ */
+ public Builder setMsgIdBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ msgId_ = value;
+ onChanged();
+ return this;
+ }
+
+ private long time_ ;
+ /**
+ * uint64 time = 5;
+ */
+ public long getTime() {
+ return time_;
+ }
+ /**
+ * uint64 time = 5;
+ */
+ public Builder setTime(long value) {
+
+ time_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint64 time = 5;
+ */
+ public Builder clearTime() {
+
+ time_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long expire_ ;
+ /**
+ * + *过期时间 + *+ * + *
uint64 expire = 6;
+ */
+ public long getExpire() {
+ return expire_;
+ }
+ /**
+ * + *过期时间 + *+ * + *
uint64 expire = 6;
+ */
+ public Builder setExpire(long value) {
+
+ expire_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + *过期时间 + *+ * + *
uint64 expire = 6;
+ */
+ public Builder clearExpire() {
+
+ expire_ = 0L;
+ onChanged();
+ return this;
+ }
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFieldsProto3(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+
+ // @@protoc_insertion_point(builder_scope:mogo.yycp.service.LauncherSnapshotProto)
+ }
+
+ // @@protoc_insertion_point(class_scope:mogo.yycp.service.LauncherSnapshotProto)
+ private static final com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto();
+ }
+
+ public static com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ **物体类型 1-人 2-自行车 3-小轿车 4-摩托车 5-红绿灯 6-bus 8-truck 9-路边摄像头 + *+ * + *
uint32 type = 1;
+ */
+ int getType();
+
+ /**
+ * + **数据来源 1,"自车数据" 2,"ADAS数据" 3,"路测设备识别数据" + *+ * + *
uint32 fromType = 2;
+ */
+ int getFromType();
+
+ /**
+ * + ** + * 车机上行pgs坐标给lat,lon两个成员变量 + * 在下发车机时计算高德经纬度 + * 1.将gps(lat,lon)给wgslat,wgalon + * 2.高德算法算出高德经纬度,给lat,lon + *+ * + *
double lat = 3;
+ */
+ double getLat();
+
+ /**
+ * + *gps->gd + *+ * + *
double lon = 4;
+ */
+ double getLon();
+
+ /**
+ * + *原gps + *+ * + *
double wgslat = 5;
+ */
+ double getWgslat();
+
+ /**
+ * + *原gps + *+ * + *
double wgslon = 6;
+ */
+ double getWgslon();
+
+ /**
+ * + *车机sn + *+ * + *
string sn = 7;
+ */
+ java.lang.String getSn();
+ /**
+ * + *车机sn + *+ * + *
string sn = 7;
+ */
+ com.google.protobuf.ByteString
+ getSnBytes();
+
+ /**
+ * + *车辆UUID + *+ * + *
string uuid = 8;
*/
java.lang.String getUuid();
/**
- * optional string uuid = 8;
+ * + *车辆UUID + *+ * + *
string uuid = 8;
*/
com.google.protobuf.ByteString
getUuidBytes();
/**
- * optional string cardId = 9;
+ * + ** 车牌号 + *+ * + *
string cardId = 9;
*/
java.lang.String getCardId();
/**
- * optional string cardId = 9;
+ * + ** 车牌号 + *+ * + *
string cardId = 9;
*/
com.google.protobuf.ByteString
getCardIdBytes();
/**
- * optional double speed = 10;
+ * + **速度 + *+ * + *
double speed = 10;
*/
double getSpeed();
/**
- * optional double heading = 11;
+ * + **方向 + *+ * + *
double heading = 11;
*/
double getHeading();
/**
- * optional uint64 systemTime = 12;
+ * + ** 系统时间 + *+ * + *
uint64 systemTime = 12;
*/
long getSystemTime();
/**
- * optional uint64 satelliteTime = 13;
+ * + ** 星历时间 + *+ * + *
uint64 satelliteTime = 13;
*/
long getSatelliteTime();
/**
- * optional uint32 lightStatus = 14;
+ * + **红绿灯状态 1红 2绿 3黄 + *+ * + *
uint32 lightStatus = 14;
*/
int getLightStatus();
/**
- * optional uint32 lightLeftTime = 15;
+ * + **红绿灯剩余时间 读秒 + *+ * + *
uint32 lightLeftTime = 15;
*/
int getLightLeftTime();
/**
- * optional string rtmpUrl = 16;
+ * + **视频流直播地址 + *+ * + *
string rtmpUrl = 16;
*/
java.lang.String getRtmpUrl();
/**
- * optional string rtmpUrl = 16;
+ * + **视频流直播地址 + *+ * + *
string rtmpUrl = 16;
*/
com.google.protobuf.ByteString
getRtmpUrlBytes();
/**
- * optional double distance = 17;
+ * + **距离 + *+ * + *
double distance = 17;
*/
double getDistance();
}
/**
- * Protobuf type {@code tutorial.CloudRoadDataProto}
+ * + *RoadDataVo + *+ * + * Protobuf type {@code mogo.yycp.service.CloudRoadDataProto} */ public static final class CloudRoadDataProto extends - com.google.protobuf.GeneratedMessageLite< - CloudRoadDataProto, CloudRoadDataProto.Builder> implements - // @@protoc_insertion_point(message_implements:tutorial.CloudRoadDataProto) + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:mogo.yycp.service.CloudRoadDataProto) CloudRoadDataProtoOrBuilder { + private static final long serialVersionUID = 0L; + // Use CloudRoadDataProto.newBuilder() to construct. + private CloudRoadDataProto(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } private CloudRoadDataProto() { + type_ = 0; + fromType_ = 0; + lat_ = 0D; + lon_ = 0D; + wgslat_ = 0D; + wgslon_ = 0D; sn_ = ""; uuid_ = ""; cardId_ = ""; + speed_ = 0D; + heading_ = 0D; + systemTime_ = 0L; + satelliteTime_ = 0L; + lightStatus_ = 0; + lightLeftTime_ = 0; rtmpUrl_ = ""; + distance_ = 0D; } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CloudRoadDataProto( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.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 8: { + + type_ = input.readUInt32(); + break; + } + case 16: { + + fromType_ = input.readUInt32(); + break; + } + case 25: { + + lat_ = input.readDouble(); + break; + } + case 33: { + + lon_ = input.readDouble(); + break; + } + case 41: { + + wgslat_ = input.readDouble(); + break; + } + case 49: { + + wgslon_ = input.readDouble(); + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + + sn_ = s; + break; + } + case 66: { + java.lang.String s = input.readStringRequireUtf8(); + + uuid_ = s; + break; + } + case 74: { + java.lang.String s = input.readStringRequireUtf8(); + + cardId_ = s; + break; + } + case 81: { + + speed_ = input.readDouble(); + break; + } + case 89: { + + heading_ = input.readDouble(); + break; + } + case 96: { + + systemTime_ = input.readUInt64(); + break; + } + case 104: { + + satelliteTime_ = input.readUInt64(); + break; + } + case 112: { + + lightStatus_ = input.readUInt32(); + break; + } + case 120: { + + lightLeftTime_ = input.readUInt32(); + break; + } + case 130: { + java.lang.String s = input.readStringRequireUtf8(); + + rtmpUrl_ = s; + break; + } + case 137: { + + distance_ = input.readDouble(); + 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 com.mogo.cloud.socket.entity.SocketDownData.internal_static_mogo_yycp_service_CloudRoadDataProto_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.mogo.cloud.socket.entity.SocketDownData.internal_static_mogo_yycp_service_CloudRoadDataProto_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.class, com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.Builder.class); + } + public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** - *
optional uint32 type = 1;
+ * + **物体类型 1-人 2-自行车 3-小轿车 4-摩托车 5-红绿灯 6-bus 8-truck 9-路边摄像头 + *+ * + *
uint32 type = 1;
*/
public int getType() {
return type_;
}
- /**
- * optional uint32 type = 1;
- */
- private void setType(int value) {
-
- type_ = value;
- }
- /**
- * optional uint32 type = 1;
- */
- private void clearType() {
-
- type_ = 0;
- }
public static final int FROMTYPE_FIELD_NUMBER = 2;
private int fromType_;
/**
- * optional uint32 fromType = 2;
+ * + **数据来源 1,"自车数据" 2,"ADAS数据" 3,"路测设备识别数据" + *+ * + *
uint32 fromType = 2;
*/
public int getFromType() {
return fromType_;
}
- /**
- * optional uint32 fromType = 2;
- */
- private void setFromType(int value) {
-
- fromType_ = value;
- }
- /**
- * optional uint32 fromType = 2;
- */
- private void clearFromType() {
-
- fromType_ = 0;
- }
public static final int LAT_FIELD_NUMBER = 3;
private double lat_;
/**
- * optional double lat = 3;
+ * + ** + * 车机上行pgs坐标给lat,lon两个成员变量 + * 在下发车机时计算高德经纬度 + * 1.将gps(lat,lon)给wgslat,wgalon + * 2.高德算法算出高德经纬度,给lat,lon + *+ * + *
double lat = 3;
*/
public double getLat() {
return lat_;
}
- /**
- * optional double lat = 3;
- */
- private void setLat(double value) {
-
- lat_ = value;
- }
- /**
- * optional double lat = 3;
- */
- private void clearLat() {
-
- lat_ = 0D;
- }
public static final int LON_FIELD_NUMBER = 4;
private double lon_;
/**
- * optional double lon = 4;
+ * + *gps->gd + *+ * + *
double lon = 4;
*/
public double getLon() {
return lon_;
}
- /**
- * optional double lon = 4;
- */
- private void setLon(double value) {
-
- lon_ = value;
- }
- /**
- * optional double lon = 4;
- */
- private void clearLon() {
-
- lon_ = 0D;
- }
public static final int WGSLAT_FIELD_NUMBER = 5;
private double wgslat_;
/**
- * optional double wgslat = 5;
+ * + *原gps + *+ * + *
double wgslat = 5;
*/
public double getWgslat() {
return wgslat_;
}
- /**
- * optional double wgslat = 5;
- */
- private void setWgslat(double value) {
-
- wgslat_ = value;
- }
- /**
- * optional double wgslat = 5;
- */
- private void clearWgslat() {
-
- wgslat_ = 0D;
- }
public static final int WGSLON_FIELD_NUMBER = 6;
private double wgslon_;
/**
- * optional double wgslon = 6;
+ * + *原gps + *+ * + *
double wgslon = 6;
*/
public double getWgslon() {
return wgslon_;
}
- /**
- * optional double wgslon = 6;
- */
- private void setWgslon(double value) {
-
- wgslon_ = value;
- }
- /**
- * optional double wgslon = 6;
- */
- private void clearWgslon() {
-
- wgslon_ = 0D;
- }
public static final int SN_FIELD_NUMBER = 7;
- private java.lang.String sn_;
+ private volatile java.lang.Object sn_;
/**
- * optional string sn = 7;
+ * + *车机sn + *+ * + *
string sn = 7;
*/
public java.lang.String getSn() {
- return sn_;
+ java.lang.Object ref = sn_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ sn_ = s;
+ return s;
+ }
}
/**
- * optional string sn = 7;
+ * + *车机sn + *+ * + *
string sn = 7;
*/
public com.google.protobuf.ByteString
getSnBytes() {
- return com.google.protobuf.ByteString.copyFromUtf8(sn_);
- }
- /**
- * optional string sn = 7;
- */
- private void setSn(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- sn_ = value;
- }
- /**
- * optional string sn = 7;
- */
- private void clearSn() {
-
- sn_ = getDefaultInstance().getSn();
- }
- /**
- * optional string sn = 7;
- */
- private void setSnBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- sn_ = value.toStringUtf8();
+ java.lang.Object ref = sn_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ sn_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
}
public static final int UUID_FIELD_NUMBER = 8;
- private java.lang.String uuid_;
+ private volatile java.lang.Object uuid_;
/**
- * optional string uuid = 8;
+ * + *车辆UUID + *+ * + *
string uuid = 8;
*/
public java.lang.String getUuid() {
- return uuid_;
+ java.lang.Object ref = uuid_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ uuid_ = s;
+ return s;
+ }
}
/**
- * optional string uuid = 8;
+ * + *车辆UUID + *+ * + *
string uuid = 8;
*/
public com.google.protobuf.ByteString
getUuidBytes() {
- return com.google.protobuf.ByteString.copyFromUtf8(uuid_);
- }
- /**
- * optional string uuid = 8;
- */
- private void setUuid(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- uuid_ = value;
- }
- /**
- * optional string uuid = 8;
- */
- private void clearUuid() {
-
- uuid_ = getDefaultInstance().getUuid();
- }
- /**
- * optional string uuid = 8;
- */
- private void setUuidBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- uuid_ = value.toStringUtf8();
+ java.lang.Object ref = uuid_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ uuid_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
}
public static final int CARDID_FIELD_NUMBER = 9;
- private java.lang.String cardId_;
+ private volatile java.lang.Object cardId_;
/**
- * optional string cardId = 9;
+ * + ** 车牌号 + *+ * + *
string cardId = 9;
*/
public java.lang.String getCardId() {
- return cardId_;
+ java.lang.Object ref = cardId_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ cardId_ = s;
+ return s;
+ }
}
/**
- * optional string cardId = 9;
+ * + ** 车牌号 + *+ * + *
string cardId = 9;
*/
public com.google.protobuf.ByteString
getCardIdBytes() {
- return com.google.protobuf.ByteString.copyFromUtf8(cardId_);
- }
- /**
- * optional string cardId = 9;
- */
- private void setCardId(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- cardId_ = value;
- }
- /**
- * optional string cardId = 9;
- */
- private void clearCardId() {
-
- cardId_ = getDefaultInstance().getCardId();
- }
- /**
- * optional string cardId = 9;
- */
- private void setCardIdBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- cardId_ = value.toStringUtf8();
+ java.lang.Object ref = cardId_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ cardId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
}
public static final int SPEED_FIELD_NUMBER = 10;
private double speed_;
/**
- * optional double speed = 10;
+ * + **速度 + *+ * + *
double speed = 10;
*/
public double getSpeed() {
return speed_;
}
- /**
- * optional double speed = 10;
- */
- private void setSpeed(double value) {
-
- speed_ = value;
- }
- /**
- * optional double speed = 10;
- */
- private void clearSpeed() {
-
- speed_ = 0D;
- }
public static final int HEADING_FIELD_NUMBER = 11;
private double heading_;
/**
- * optional double heading = 11;
+ * + **方向 + *+ * + *
double heading = 11;
*/
public double getHeading() {
return heading_;
}
- /**
- * optional double heading = 11;
- */
- private void setHeading(double value) {
-
- heading_ = value;
- }
- /**
- * optional double heading = 11;
- */
- private void clearHeading() {
-
- heading_ = 0D;
- }
public static final int SYSTEMTIME_FIELD_NUMBER = 12;
private long systemTime_;
/**
- * optional uint64 systemTime = 12;
+ * + ** 系统时间 + *+ * + *
uint64 systemTime = 12;
*/
public long getSystemTime() {
return systemTime_;
}
- /**
- * optional uint64 systemTime = 12;
- */
- private void setSystemTime(long value) {
-
- systemTime_ = value;
- }
- /**
- * optional uint64 systemTime = 12;
- */
- private void clearSystemTime() {
-
- systemTime_ = 0L;
- }
public static final int SATELLITETIME_FIELD_NUMBER = 13;
private long satelliteTime_;
/**
- * optional uint64 satelliteTime = 13;
+ * + ** 星历时间 + *+ * + *
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 = 14;
+ * + **红绿灯状态 1红 2绿 3黄 + *+ * + *
uint32 lightStatus = 14;
*/
public int getLightStatus() {
return lightStatus_;
}
- /**
- * optional uint32 lightStatus = 14;
- */
- private void setLightStatus(int value) {
-
- lightStatus_ = value;
- }
- /**
- * optional uint32 lightStatus = 14;
- */
- private void clearLightStatus() {
-
- lightStatus_ = 0;
- }
public static final int LIGHTLEFTTIME_FIELD_NUMBER = 15;
private int lightLeftTime_;
/**
- * optional uint32 lightLeftTime = 15;
+ * + **红绿灯剩余时间 读秒 + *+ * + *
uint32 lightLeftTime = 15;
*/
public int getLightLeftTime() {
return lightLeftTime_;
}
- /**
- * optional uint32 lightLeftTime = 15;
- */
- private void setLightLeftTime(int value) {
-
- lightLeftTime_ = value;
- }
- /**
- * optional uint32 lightLeftTime = 15;
- */
- private void clearLightLeftTime() {
-
- lightLeftTime_ = 0;
- }
public static final int RTMPURL_FIELD_NUMBER = 16;
- private java.lang.String rtmpUrl_;
+ private volatile java.lang.Object rtmpUrl_;
/**
- * optional string rtmpUrl = 16;
+ * + **视频流直播地址 + *+ * + *
string rtmpUrl = 16;
*/
public java.lang.String getRtmpUrl() {
- return rtmpUrl_;
+ java.lang.Object ref = rtmpUrl_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ rtmpUrl_ = s;
+ return s;
+ }
}
/**
- * optional string rtmpUrl = 16;
+ * + **视频流直播地址 + *+ * + *
string rtmpUrl = 16;
*/
public com.google.protobuf.ByteString
getRtmpUrlBytes() {
- return com.google.protobuf.ByteString.copyFromUtf8(rtmpUrl_);
- }
- /**
- * optional string rtmpUrl = 16;
- */
- private void setRtmpUrl(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- rtmpUrl_ = value;
- }
- /**
- * optional string rtmpUrl = 16;
- */
- private void clearRtmpUrl() {
-
- rtmpUrl_ = getDefaultInstance().getRtmpUrl();
- }
- /**
- * optional string rtmpUrl = 16;
- */
- private void setRtmpUrlBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- rtmpUrl_ = value.toStringUtf8();
+ java.lang.Object ref = rtmpUrl_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ rtmpUrl_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
}
public static final int DISTANCE_FIELD_NUMBER = 17;
private double distance_;
/**
- * optional double distance = 17;
+ * + **距离 + *+ * + *
double distance = 17;
*/
public double getDistance() {
return distance_;
}
- /**
- * optional double distance = 17;
- */
- private void setDistance(double value) {
-
- distance_ = value;
- }
- /**
- * optional double distance = 17;
- */
- private void clearDistance() {
-
- distance_ = 0D;
+
+ private byte memoizedIsInitialized = -1;
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (type_ != 0) {
@@ -634,14 +3832,14 @@ public final class SocketDownData {
if (wgslon_ != 0D) {
output.writeDouble(6, wgslon_);
}
- if (!sn_.isEmpty()) {
- output.writeString(7, getSn());
+ if (!getSnBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 7, sn_);
}
- if (!uuid_.isEmpty()) {
- output.writeString(8, getUuid());
+ if (!getUuidBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 8, uuid_);
}
- if (!cardId_.isEmpty()) {
- output.writeString(9, getCardId());
+ if (!getCardIdBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 9, cardId_);
}
if (speed_ != 0D) {
output.writeDouble(10, speed_);
@@ -661,16 +3859,18 @@ public final class SocketDownData {
if (lightLeftTime_ != 0) {
output.writeUInt32(15, lightLeftTime_);
}
- if (!rtmpUrl_.isEmpty()) {
- output.writeString(16, getRtmpUrl());
+ if (!getRtmpUrlBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 16, rtmpUrl_);
}
if (distance_ != 0D) {
output.writeDouble(17, distance_);
}
+ unknownFields.writeTo(output);
}
+ @java.lang.Override
public int getSerializedSize() {
- int size = memoizedSerializedSize;
+ int size = memoizedSize;
if (size != -1) return size;
size = 0;
@@ -698,17 +3898,14 @@ public final class SocketDownData {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(6, wgslon_);
}
- if (!sn_.isEmpty()) {
- size += com.google.protobuf.CodedOutputStream
- .computeStringSize(7, getSn());
+ if (!getSnBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, sn_);
}
- if (!uuid_.isEmpty()) {
- size += com.google.protobuf.CodedOutputStream
- .computeStringSize(8, getUuid());
+ if (!getUuidBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, uuid_);
}
- if (!cardId_.isEmpty()) {
- size += com.google.protobuf.CodedOutputStream
- .computeStringSize(9, getCardId());
+ if (!getCardIdBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, cardId_);
}
if (speed_ != 0D) {
size += com.google.protobuf.CodedOutputStream
@@ -734,2657 +3931,1467 @@ public final class SocketDownData {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(15, lightLeftTime_);
}
- if (!rtmpUrl_.isEmpty()) {
- size += com.google.protobuf.CodedOutputStream
- .computeStringSize(16, getRtmpUrl());
+ if (!getRtmpUrlBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, rtmpUrl_);
}
if (distance_ != 0D) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(17, distance_);
}
- memoizedSerializedSize = size;
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
return size;
}
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto)) {
+ return super.equals(obj);
+ }
+ com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto other = (com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto) obj;
+
+ boolean result = true;
+ result = result && (getType()
+ == other.getType());
+ result = result && (getFromType()
+ == other.getFromType());
+ result = result && (
+ java.lang.Double.doubleToLongBits(getLat())
+ == java.lang.Double.doubleToLongBits(
+ other.getLat()));
+ result = result && (
+ java.lang.Double.doubleToLongBits(getLon())
+ == java.lang.Double.doubleToLongBits(
+ other.getLon()));
+ result = result && (
+ java.lang.Double.doubleToLongBits(getWgslat())
+ == java.lang.Double.doubleToLongBits(
+ other.getWgslat()));
+ result = result && (
+ java.lang.Double.doubleToLongBits(getWgslon())
+ == java.lang.Double.doubleToLongBits(
+ other.getWgslon()));
+ result = result && getSn()
+ .equals(other.getSn());
+ result = result && getUuid()
+ .equals(other.getUuid());
+ result = result && getCardId()
+ .equals(other.getCardId());
+ result = result && (
+ java.lang.Double.doubleToLongBits(getSpeed())
+ == java.lang.Double.doubleToLongBits(
+ other.getSpeed()));
+ result = result && (
+ java.lang.Double.doubleToLongBits(getHeading())
+ == java.lang.Double.doubleToLongBits(
+ other.getHeading()));
+ result = result && (getSystemTime()
+ == other.getSystemTime());
+ result = result && (getSatelliteTime()
+ == other.getSatelliteTime());
+ result = result && (getLightStatus()
+ == other.getLightStatus());
+ result = result && (getLightLeftTime()
+ == other.getLightLeftTime());
+ result = result && getRtmpUrl()
+ .equals(other.getRtmpUrl());
+ result = result && (
+ java.lang.Double.doubleToLongBits(getDistance())
+ == java.lang.Double.doubleToLongBits(
+ other.getDistance()));
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + TYPE_FIELD_NUMBER;
+ hash = (53 * hash) + getType();
+ hash = (37 * hash) + FROMTYPE_FIELD_NUMBER;
+ hash = (53 * hash) + getFromType();
+ hash = (37 * hash) + LAT_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ java.lang.Double.doubleToLongBits(getLat()));
+ hash = (37 * hash) + LON_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ java.lang.Double.doubleToLongBits(getLon()));
+ hash = (37 * hash) + WGSLAT_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ java.lang.Double.doubleToLongBits(getWgslat()));
+ hash = (37 * hash) + WGSLON_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ java.lang.Double.doubleToLongBits(getWgslon()));
+ hash = (37 * hash) + SN_FIELD_NUMBER;
+ hash = (53 * hash) + getSn().hashCode();
+ hash = (37 * hash) + UUID_FIELD_NUMBER;
+ hash = (53 * hash) + getUuid().hashCode();
+ hash = (37 * hash) + CARDID_FIELD_NUMBER;
+ hash = (53 * hash) + getCardId().hashCode();
+ hash = (37 * hash) + SPEED_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ java.lang.Double.doubleToLongBits(getSpeed()));
+ hash = (37 * hash) + HEADING_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ java.lang.Double.doubleToLongBits(getHeading()));
+ hash = (37 * hash) + SYSTEMTIME_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getSystemTime());
+ hash = (37 * hash) + SATELLITETIME_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getSatelliteTime());
+ hash = (37 * hash) + LIGHTSTATUS_FIELD_NUMBER;
+ hash = (53 * hash) + getLightStatus();
+ hash = (37 * hash) + LIGHTLEFTTIME_FIELD_NUMBER;
+ hash = (53 * hash) + getLightLeftTime();
+ hash = (37 * hash) + RTMPURL_FIELD_NUMBER;
+ hash = (53 * hash) + getRtmpUrl().hashCode();
+ hash = (37 * hash) + DISTANCE_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ java.lang.Double.doubleToLongBits(getDistance()));
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
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);
+ return PARSER.parseFrom(data);
}
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);
+ return PARSER.parseFrom(data, extensionRegistry);
}
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);
+ return PARSER.parseFrom(data);
}
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);
+ return PARSER.parseFrom(data, extensionRegistry);
}
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);
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
}
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);
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return parseDelimitedFrom(DEFAULT_INSTANCE, input);
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
}
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);
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
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);
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
}
public static com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageLite.parseFrom(
- DEFAULT_INSTANCE, input, extensionRegistry);
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input, extensionRegistry);
}
+ @java.lang.Override
+ public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE
+ ? new Builder() : new Builder().mergeFrom(this);
+ }
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
/**
- * Protobuf type {@code tutorial.CloudRoadDataProto}
+ * + *RoadDataVo + *+ * + * Protobuf type {@code mogo.yycp.service.CloudRoadDataProto} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto, Builder> implements - // @@protoc_insertion_point(builder_implements:tutorial.CloudRoadDataProto) + com.google.protobuf.GeneratedMessageV3.Builder
optional uint32 type = 1;
+ * + **物体类型 1-人 2-自行车 3-小轿车 4-摩托车 5-红绿灯 6-bus 8-truck 9-路边摄像头 + *+ * + *
uint32 type = 1;
*/
public int getType() {
- return instance.getType();
+ return type_;
}
/**
- * optional uint32 type = 1;
+ * + **物体类型 1-人 2-自行车 3-小轿车 4-摩托车 5-红绿灯 6-bus 8-truck 9-路边摄像头 + *+ * + *
uint32 type = 1;
*/
public Builder setType(int value) {
- copyOnWrite();
- instance.setType(value);
+
+ type_ = value;
+ onChanged();
return this;
}
/**
- * optional uint32 type = 1;
+ * + **物体类型 1-人 2-自行车 3-小轿车 4-摩托车 5-红绿灯 6-bus 8-truck 9-路边摄像头 + *+ * + *
uint32 type = 1;
*/
public Builder clearType() {
- copyOnWrite();
- instance.clearType();
+
+ type_ = 0;
+ onChanged();
return this;
}
+ private int fromType_ ;
/**
- * optional uint32 fromType = 2;
+ * + **数据来源 1,"自车数据" 2,"ADAS数据" 3,"路测设备识别数据" + *+ * + *
uint32 fromType = 2;
*/
public int getFromType() {
- return instance.getFromType();
+ return fromType_;
}
/**
- * optional uint32 fromType = 2;
+ * + **数据来源 1,"自车数据" 2,"ADAS数据" 3,"路测设备识别数据" + *+ * + *
uint32 fromType = 2;
*/
public Builder setFromType(int value) {
- copyOnWrite();
- instance.setFromType(value);
+
+ fromType_ = value;
+ onChanged();
return this;
}
/**
- * optional uint32 fromType = 2;
+ * + **数据来源 1,"自车数据" 2,"ADAS数据" 3,"路测设备识别数据" + *+ * + *
uint32 fromType = 2;
*/
public Builder clearFromType() {
- copyOnWrite();
- instance.clearFromType();
+
+ fromType_ = 0;
+ onChanged();
return this;
}
+ private double lat_ ;
/**
- * optional double lat = 3;
+ * + ** + * 车机上行pgs坐标给lat,lon两个成员变量 + * 在下发车机时计算高德经纬度 + * 1.将gps(lat,lon)给wgslat,wgalon + * 2.高德算法算出高德经纬度,给lat,lon + *+ * + *
double lat = 3;
*/
public double getLat() {
- return instance.getLat();
+ return lat_;
}
/**
- * optional double lat = 3;
+ * + ** + * 车机上行pgs坐标给lat,lon两个成员变量 + * 在下发车机时计算高德经纬度 + * 1.将gps(lat,lon)给wgslat,wgalon + * 2.高德算法算出高德经纬度,给lat,lon + *+ * + *
double lat = 3;
*/
public Builder setLat(double value) {
- copyOnWrite();
- instance.setLat(value);
+
+ lat_ = value;
+ onChanged();
return this;
}
/**
- * optional double lat = 3;
+ * + ** + * 车机上行pgs坐标给lat,lon两个成员变量 + * 在下发车机时计算高德经纬度 + * 1.将gps(lat,lon)给wgslat,wgalon + * 2.高德算法算出高德经纬度,给lat,lon + *+ * + *
double lat = 3;
*/
public Builder clearLat() {
- copyOnWrite();
- instance.clearLat();
+
+ lat_ = 0D;
+ onChanged();
return this;
}
+ private double lon_ ;
/**
- * optional double lon = 4;
+ * + *gps->gd + *+ * + *
double lon = 4;
*/
public double getLon() {
- return instance.getLon();
+ return lon_;
}
/**
- * optional double lon = 4;
+ * + *gps->gd + *+ * + *
double lon = 4;
*/
public Builder setLon(double value) {
- copyOnWrite();
- instance.setLon(value);
+
+ lon_ = value;
+ onChanged();
return this;
}
/**
- * optional double lon = 4;
+ * + *gps->gd + *+ * + *
double lon = 4;
*/
public Builder clearLon() {
- copyOnWrite();
- instance.clearLon();
+
+ lon_ = 0D;
+ onChanged();
return this;
}
+ private double wgslat_ ;
/**
- * optional double wgslat = 5;
+ * + *原gps + *+ * + *
double wgslat = 5;
*/
public double getWgslat() {
- return instance.getWgslat();
+ return wgslat_;
}
/**
- * optional double wgslat = 5;
+ * + *原gps + *+ * + *
double wgslat = 5;
*/
public Builder setWgslat(double value) {
- copyOnWrite();
- instance.setWgslat(value);
+
+ wgslat_ = value;
+ onChanged();
return this;
}
/**
- * optional double wgslat = 5;
+ * + *原gps + *+ * + *
double wgslat = 5;
*/
public Builder clearWgslat() {
- copyOnWrite();
- instance.clearWgslat();
+
+ wgslat_ = 0D;
+ onChanged();
return this;
}
+ private double wgslon_ ;
/**
- * optional double wgslon = 6;
+ * + *原gps + *+ * + *
double wgslon = 6;
*/
public double getWgslon() {
- return instance.getWgslon();
+ return wgslon_;
}
/**
- * optional double wgslon = 6;
+ * + *原gps + *+ * + *
double wgslon = 6;
*/
public Builder setWgslon(double value) {
- copyOnWrite();
- instance.setWgslon(value);
+
+ wgslon_ = value;
+ onChanged();
return this;
}
/**
- * optional double wgslon = 6;
+ * + *原gps + *+ * + *
double wgslon = 6;
*/
public Builder clearWgslon() {
- copyOnWrite();
- instance.clearWgslon();
+
+ wgslon_ = 0D;
+ onChanged();
return this;
}
+ private java.lang.Object sn_ = "";
/**
- * optional string sn = 7;
+ * + *车机sn + *+ * + *
string sn = 7;
*/
public java.lang.String getSn() {
- return instance.getSn();
+ java.lang.Object ref = sn_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ sn_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
}
/**
- * optional string sn = 7;
+ * + *车机sn + *+ * + *
string sn = 7;
*/
public com.google.protobuf.ByteString
getSnBytes() {
- return instance.getSnBytes();
+ java.lang.Object ref = sn_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ sn_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
}
/**
- * optional string sn = 7;
+ * + *车机sn + *+ * + *
string sn = 7;
*/
public Builder setSn(
java.lang.String value) {
- copyOnWrite();
- instance.setSn(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ sn_ = value;
+ onChanged();
return this;
}
/**
- * optional string sn = 7;
+ * + *车机sn + *+ * + *
string sn = 7;
*/
public Builder clearSn() {
- copyOnWrite();
- instance.clearSn();
+
+ sn_ = getDefaultInstance().getSn();
+ onChanged();
return this;
}
/**
- * optional string sn = 7;
+ * + *车机sn + *+ * + *
string sn = 7;
*/
public Builder setSnBytes(
com.google.protobuf.ByteString value) {
- copyOnWrite();
- instance.setSnBytes(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ sn_ = value;
+ onChanged();
return this;
}
+ private java.lang.Object uuid_ = "";
/**
- * optional string uuid = 8;
+ * + *车辆UUID + *+ * + *
string uuid = 8;
*/
public java.lang.String getUuid() {
- return instance.getUuid();
+ java.lang.Object ref = uuid_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ uuid_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
}
/**
- * optional string uuid = 8;
+ * + *车辆UUID + *+ * + *
string uuid = 8;
*/
public com.google.protobuf.ByteString
getUuidBytes() {
- return instance.getUuidBytes();
+ java.lang.Object ref = uuid_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ uuid_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
}
/**
- * optional string uuid = 8;
+ * + *车辆UUID + *+ * + *
string uuid = 8;
*/
public Builder setUuid(
java.lang.String value) {
- copyOnWrite();
- instance.setUuid(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ uuid_ = value;
+ onChanged();
return this;
}
/**
- * optional string uuid = 8;
+ * + *车辆UUID + *+ * + *
string uuid = 8;
*/
public Builder clearUuid() {
- copyOnWrite();
- instance.clearUuid();
+
+ uuid_ = getDefaultInstance().getUuid();
+ onChanged();
return this;
}
/**
- * optional string uuid = 8;
+ * + *车辆UUID + *+ * + *
string uuid = 8;
*/
public Builder setUuidBytes(
com.google.protobuf.ByteString value) {
- copyOnWrite();
- instance.setUuidBytes(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ uuid_ = value;
+ onChanged();
return this;
}
+ private java.lang.Object cardId_ = "";
/**
- * optional string cardId = 9;
+ * + ** 车牌号 + *+ * + *
string cardId = 9;
*/
public java.lang.String getCardId() {
- return instance.getCardId();
+ java.lang.Object ref = cardId_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ cardId_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
}
/**
- * optional string cardId = 9;
+ * + ** 车牌号 + *+ * + *
string cardId = 9;
*/
public com.google.protobuf.ByteString
getCardIdBytes() {
- return instance.getCardIdBytes();
+ java.lang.Object ref = cardId_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ cardId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
}
/**
- * optional string cardId = 9;
+ * + ** 车牌号 + *+ * + *
string cardId = 9;
*/
public Builder setCardId(
java.lang.String value) {
- copyOnWrite();
- instance.setCardId(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ cardId_ = value;
+ onChanged();
return this;
}
/**
- * optional string cardId = 9;
+ * + ** 车牌号 + *+ * + *
string cardId = 9;
*/
public Builder clearCardId() {
- copyOnWrite();
- instance.clearCardId();
+
+ cardId_ = getDefaultInstance().getCardId();
+ onChanged();
return this;
}
/**
- * optional string cardId = 9;
+ * + ** 车牌号 + *+ * + *
string cardId = 9;
*/
public Builder setCardIdBytes(
com.google.protobuf.ByteString value) {
- copyOnWrite();
- instance.setCardIdBytes(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ cardId_ = value;
+ onChanged();
return this;
}
+ private double speed_ ;
/**
- * optional double speed = 10;
+ * + **速度 + *+ * + *
double speed = 10;
*/
public double getSpeed() {
- return instance.getSpeed();
+ return speed_;
}
/**
- * optional double speed = 10;
+ * + **速度 + *+ * + *
double speed = 10;
*/
public Builder setSpeed(double value) {
- copyOnWrite();
- instance.setSpeed(value);
+
+ speed_ = value;
+ onChanged();
return this;
}
/**
- * optional double speed = 10;
+ * + **速度 + *+ * + *
double speed = 10;
*/
public Builder clearSpeed() {
- copyOnWrite();
- instance.clearSpeed();
+
+ speed_ = 0D;
+ onChanged();
return this;
}
+ private double heading_ ;
/**
- * optional double heading = 11;
+ * + **方向 + *+ * + *
double heading = 11;
*/
public double getHeading() {
- return instance.getHeading();
+ return heading_;
}
/**
- * optional double heading = 11;
+ * + **方向 + *+ * + *
double heading = 11;
*/
public Builder setHeading(double value) {
- copyOnWrite();
- instance.setHeading(value);
+
+ heading_ = value;
+ onChanged();
return this;
}
/**
- * optional double heading = 11;
+ * + **方向 + *+ * + *
double heading = 11;
*/
public Builder clearHeading() {
- copyOnWrite();
- instance.clearHeading();
+
+ heading_ = 0D;
+ onChanged();
return this;
}
+ private long systemTime_ ;
/**
- * optional uint64 systemTime = 12;
+ * + ** 系统时间 + *+ * + *
uint64 systemTime = 12;
*/
public long getSystemTime() {
- return instance.getSystemTime();
+ return systemTime_;
}
/**
- * optional uint64 systemTime = 12;
+ * + ** 系统时间 + *+ * + *
uint64 systemTime = 12;
*/
public Builder setSystemTime(long value) {
- copyOnWrite();
- instance.setSystemTime(value);
+
+ systemTime_ = value;
+ onChanged();
return this;
}
/**
- * optional uint64 systemTime = 12;
+ * + ** 系统时间 + *+ * + *
uint64 systemTime = 12;
*/
public Builder clearSystemTime() {
- copyOnWrite();
- instance.clearSystemTime();
+
+ systemTime_ = 0L;
+ onChanged();
return this;
}
+ private long satelliteTime_ ;
/**
- * optional uint64 satelliteTime = 13;
+ * + ** 星历时间 + *+ * + *
uint64 satelliteTime = 13;
*/
public long getSatelliteTime() {
- return instance.getSatelliteTime();
+ return satelliteTime_;
}
/**
- * optional uint64 satelliteTime = 13;
+ * + ** 星历时间 + *+ * + *
uint64 satelliteTime = 13;
*/
public Builder setSatelliteTime(long value) {
- copyOnWrite();
- instance.setSatelliteTime(value);
+
+ satelliteTime_ = value;
+ onChanged();
return this;
}
/**
- * optional uint64 satelliteTime = 13;
+ * + ** 星历时间 + *+ * + *
uint64 satelliteTime = 13;
*/
public Builder clearSatelliteTime() {
- copyOnWrite();
- instance.clearSatelliteTime();
+
+ satelliteTime_ = 0L;
+ onChanged();
return this;
}
+ private int lightStatus_ ;
/**
- * optional uint32 lightStatus = 14;
+ * + **红绿灯状态 1红 2绿 3黄 + *+ * + *
uint32 lightStatus = 14;
*/
public int getLightStatus() {
- return instance.getLightStatus();
+ return lightStatus_;
}
/**
- * optional uint32 lightStatus = 14;
+ * + **红绿灯状态 1红 2绿 3黄 + *+ * + *
uint32 lightStatus = 14;
*/
public Builder setLightStatus(int value) {
- copyOnWrite();
- instance.setLightStatus(value);
+
+ lightStatus_ = value;
+ onChanged();
return this;
}
/**
- * optional uint32 lightStatus = 14;
+ * + **红绿灯状态 1红 2绿 3黄 + *+ * + *
uint32 lightStatus = 14;
*/
public Builder clearLightStatus() {
- copyOnWrite();
- instance.clearLightStatus();
+
+ lightStatus_ = 0;
+ onChanged();
return this;
}
+ private int lightLeftTime_ ;
/**
- * optional uint32 lightLeftTime = 15;
+ * + **红绿灯剩余时间 读秒 + *+ * + *
uint32 lightLeftTime = 15;
*/
public int getLightLeftTime() {
- return instance.getLightLeftTime();
+ return lightLeftTime_;
}
/**
- * optional uint32 lightLeftTime = 15;
+ * + **红绿灯剩余时间 读秒 + *+ * + *
uint32 lightLeftTime = 15;
*/
public Builder setLightLeftTime(int value) {
- copyOnWrite();
- instance.setLightLeftTime(value);
+
+ lightLeftTime_ = value;
+ onChanged();
return this;
}
/**
- * optional uint32 lightLeftTime = 15;
+ * + **红绿灯剩余时间 读秒 + *+ * + *
uint32 lightLeftTime = 15;
*/
public Builder clearLightLeftTime() {
- copyOnWrite();
- instance.clearLightLeftTime();
+
+ lightLeftTime_ = 0;
+ onChanged();
return this;
}
+ private java.lang.Object rtmpUrl_ = "";
/**
- * optional string rtmpUrl = 16;
+ * + **视频流直播地址 + *+ * + *
string rtmpUrl = 16;
*/
public java.lang.String getRtmpUrl() {
- return instance.getRtmpUrl();
+ java.lang.Object ref = rtmpUrl_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ rtmpUrl_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
}
/**
- * optional string rtmpUrl = 16;
+ * + **视频流直播地址 + *+ * + *
string rtmpUrl = 16;
*/
public com.google.protobuf.ByteString
getRtmpUrlBytes() {
- return instance.getRtmpUrlBytes();
+ java.lang.Object ref = rtmpUrl_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ rtmpUrl_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
}
/**
- * optional string rtmpUrl = 16;
+ * + **视频流直播地址 + *+ * + *
string rtmpUrl = 16;
*/
public Builder setRtmpUrl(
java.lang.String value) {
- copyOnWrite();
- instance.setRtmpUrl(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ rtmpUrl_ = value;
+ onChanged();
return this;
}
/**
- * optional string rtmpUrl = 16;
+ * + **视频流直播地址 + *+ * + *
string rtmpUrl = 16;
*/
public Builder clearRtmpUrl() {
- copyOnWrite();
- instance.clearRtmpUrl();
+
+ rtmpUrl_ = getDefaultInstance().getRtmpUrl();
+ onChanged();
return this;
}
/**
- * optional string rtmpUrl = 16;
+ * + **视频流直播地址 + *+ * + *
string rtmpUrl = 16;
*/
public Builder setRtmpUrlBytes(
com.google.protobuf.ByteString value) {
- copyOnWrite();
- instance.setRtmpUrlBytes(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ rtmpUrl_ = value;
+ onChanged();
return this;
}
+ private double distance_ ;
/**
- * optional double distance = 17;
+ * + **距离 + *+ * + *
double distance = 17;
*/
public double getDistance() {
- return instance.getDistance();
+ return distance_;
}
/**
- * optional double distance = 17;
+ * + **距离 + *+ * + *
double distance = 17;
*/
public Builder setDistance(double value) {
- copyOnWrite();
- instance.setDistance(value);
+
+ distance_ = value;
+ onChanged();
return this;
}
/**
- * optional double distance = 17;
+ * + **距离 + *+ * + *
double distance = 17;
*/
public Builder clearDistance() {
- copyOnWrite();
- instance.clearDistance();
+
+ distance_ = 0D;
+ onChanged();
return this;
}
-
- // @@protoc_insertion_point(builder_scope:tutorial.CloudRoadDataProto)
- }
- protected final Object dynamicMethod(
- com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
- Object arg0, Object arg1) {
- switch (method) {
- case NEW_MUTABLE_INSTANCE: {
- return new com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto();
- }
- case IS_INITIALIZED: {
- return DEFAULT_INSTANCE;
- }
- case MAKE_IMMUTABLE: {
- return null;
- }
- case NEW_BUILDER: {
- return new Builder();
- }
- case VISIT: {
- Visitor visitor = (Visitor) arg0;
- 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_,
- other.fromType_ != 0, other.fromType_);
- lat_ = visitor.visitDouble(lat_ != 0D, lat_,
- other.lat_ != 0D, other.lat_);
- lon_ = visitor.visitDouble(lon_ != 0D, lon_,
- other.lon_ != 0D, other.lon_);
- wgslat_ = visitor.visitDouble(wgslat_ != 0D, wgslat_,
- other.wgslat_ != 0D, other.wgslat_);
- wgslon_ = visitor.visitDouble(wgslon_ != 0D, wgslon_,
- other.wgslon_ != 0D, other.wgslon_);
- sn_ = visitor.visitString(!sn_.isEmpty(), sn_,
- !other.sn_.isEmpty(), other.sn_);
- uuid_ = visitor.visitString(!uuid_.isEmpty(), uuid_,
- !other.uuid_.isEmpty(), other.uuid_);
- cardId_ = visitor.visitString(!cardId_.isEmpty(), cardId_,
- !other.cardId_.isEmpty(), other.cardId_);
- speed_ = visitor.visitDouble(speed_ != 0D, speed_,
- other.speed_ != 0D, other.speed_);
- heading_ = visitor.visitDouble(heading_ != 0D, heading_,
- 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_,
- other.lightLeftTime_ != 0, other.lightLeftTime_);
- rtmpUrl_ = visitor.visitString(!rtmpUrl_.isEmpty(), rtmpUrl_,
- !other.rtmpUrl_.isEmpty(), other.rtmpUrl_);
- distance_ = visitor.visitDouble(distance_ != 0D, distance_,
- other.distance_ != 0D, other.distance_);
- if (visitor == com.google.protobuf.GeneratedMessageLite.MergeFromVisitor
- .INSTANCE) {
- }
- return this;
- }
- case MERGE_FROM_STREAM: {
- com.google.protobuf.CodedInputStream input =
- (com.google.protobuf.CodedInputStream) arg0;
- com.google.protobuf.ExtensionRegistryLite extensionRegistry =
- (com.google.protobuf.ExtensionRegistryLite) arg1;
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- default: {
- if (!input.skipField(tag)) {
- done = true;
- }
- break;
- }
- case 8: {
-
- type_ = input.readUInt32();
- break;
- }
- case 16: {
-
- fromType_ = input.readUInt32();
- break;
- }
- case 25: {
-
- lat_ = input.readDouble();
- break;
- }
- case 33: {
-
- lon_ = input.readDouble();
- break;
- }
- case 41: {
-
- wgslat_ = input.readDouble();
- break;
- }
- case 49: {
-
- wgslon_ = input.readDouble();
- break;
- }
- case 58: {
- String s = input.readStringRequireUtf8();
-
- sn_ = s;
- break;
- }
- case 66: {
- String s = input.readStringRequireUtf8();
-
- uuid_ = s;
- break;
- }
- case 74: {
- String s = input.readStringRequireUtf8();
-
- cardId_ = s;
- break;
- }
- case 81: {
-
- speed_ = input.readDouble();
- break;
- }
- case 89: {
-
- heading_ = input.readDouble();
- break;
- }
- case 96: {
-
- systemTime_ = input.readUInt64();
- break;
- }
- case 104: {
-
- satelliteTime_ = input.readUInt64();
- break;
- }
- case 112: {
-
- lightStatus_ = input.readUInt32();
- break;
- }
- case 120: {
-
- lightLeftTime_ = input.readUInt32();
- break;
- }
- case 130: {
- String s = input.readStringRequireUtf8();
-
- rtmpUrl_ = s;
- break;
- }
- case 137: {
-
- distance_ = input.readDouble();
- break;
- }
- }
- }
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw new RuntimeException(e.setUnfinishedMessage(this));
- } catch (java.io.IOException e) {
- throw new RuntimeException(
- new com.google.protobuf.InvalidProtocolBufferException(
- e.getMessage()).setUnfinishedMessage(this));
- } finally {
- }
- }
- case GET_DEFAULT_INSTANCE: {
- return DEFAULT_INSTANCE;
- }
- case GET_PARSER: {
- if (PARSER == null) { synchronized (com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.class) {
- if (PARSER == null) {
- PARSER = new DefaultInstanceBasedParser(DEFAULT_INSTANCE);
- }
- }
- }
- return PARSER;
- }
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFieldsProto3(unknownFields);
}
- throw new UnsupportedOperationException();
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+
+ // @@protoc_insertion_point(builder_scope:mogo.yycp.service.CloudRoadDataProto)
}
-
- // @@protoc_insertion_point(class_scope:tutorial.CloudRoadDataProto)
+ // @@protoc_insertion_point(class_scope:mogo.yycp.service.CloudRoadDataProto)
private static final com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto DEFAULT_INSTANCE;
static {
- DEFAULT_INSTANCE = new CloudRoadDataProto();
- DEFAULT_INSTANCE.makeImmutable();
+ DEFAULT_INSTANCE = new com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto();
}
public static com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
- private static volatile com.google.protobuf.Parserrepeated .tutorial.CloudRoadDataProto allList = 1;
- */
- java.util.Listrepeated .tutorial.CloudRoadDataProto allList = 1;
- */
- com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto getAllList(int index);
- /**
- * repeated .tutorial.CloudRoadDataProto allList = 1;
- */
- int getAllListCount();
-
- /**
- * repeated .tutorial.CloudRoadDataProto nearList = 2;
- */
- java.util.Listrepeated .tutorial.CloudRoadDataProto nearList = 2;
- */
- com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto getNearList(int index);
- /**
- * repeated .tutorial.CloudRoadDataProto nearList = 2;
- */
- int getNearListCount();
-
- /**
- * optional .tutorial.CloudRoadDataProto camera = 3;
- */
- boolean hasCamera();
- /**
- * optional .tutorial.CloudRoadDataProto camera = 3;
- */
- com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto getCamera();
-
- /**
- * optional string msgId = 4;
- */
- java.lang.String getMsgId();
- /**
- * optional string msgId = 4;
- */
- com.google.protobuf.ByteString
- getMsgIdBytes();
-
- /**
- * optional uint64 time = 5;
- */
- long getTime();
-
- /**
- * optional uint64 expire = 6;
- */
- long getExpire();
- }
- /**
- * Protobuf type {@code tutorial.LauncherSnapshotProto}
- */
- public static final class LauncherSnapshotProto extends
- com.google.protobuf.GeneratedMessageLite<
- LauncherSnapshotProto, LauncherSnapshotProto.Builder> implements
- // @@protoc_insertion_point(message_implements:tutorial.LauncherSnapshotProto)
- LauncherSnapshotProtoOrBuilder {
- private LauncherSnapshotProto() {
- allList_ = emptyProtobufList();
- nearList_ = emptyProtobufList();
- msgId_ = "";
- }
- private int bitField0_;
- public static final int ALLLIST_FIELD_NUMBER = 1;
- private com.google.protobuf.Internal.ProtobufListrepeated .tutorial.CloudRoadDataProto allList = 1;
- */
- public java.util.Listrepeated .tutorial.CloudRoadDataProto allList = 1;
- */
- public java.util.List extends com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProtoOrBuilder>
- getAllListOrBuilderList() {
- return allList_;
- }
- /**
- * repeated .tutorial.CloudRoadDataProto allList = 1;
- */
- public int getAllListCount() {
- return allList_.size();
- }
- /**
- * repeated .tutorial.CloudRoadDataProto allList = 1;
- */
- public com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto getAllList(int index) {
- return allList_.get(index);
- }
- /**
- * repeated .tutorial.CloudRoadDataProto allList = 1;
- */
- public com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProtoOrBuilder getAllListOrBuilder(
- int index) {
- return allList_.get(index);
- }
- private void ensureAllListIsMutable() {
- if (!allList_.isModifiable()) {
- allList_ =
- com.google.protobuf.GeneratedMessageLite.mutableCopy(allList_);
- }
+ return PARSER;
}
- /**
- * repeated .tutorial.CloudRoadDataProto allList = 1;
- */
- private void setAllList(
- int index, com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureAllListIsMutable();
- allList_.set(index, value);
- }
- /**
- * repeated .tutorial.CloudRoadDataProto allList = 1;
- */
- private void setAllList(
- 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(com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureAllListIsMutable();
- allList_.add(value);
- }
- /**
- * repeated .tutorial.CloudRoadDataProto allList = 1;
- */
- private void addAllList(
- int index, com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureAllListIsMutable();
- allList_.add(index, value);
- }
- /**
- * repeated .tutorial.CloudRoadDataProto allList = 1;
- */
- private void addAllList(
- com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.Builder builderForValue) {
- ensureAllListIsMutable();
- allList_.add(builderForValue.build());
- }
- /**
- * repeated .tutorial.CloudRoadDataProto allList = 1;
- */
- private void addAllList(
- int index, com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.Builder builderForValue) {
- ensureAllListIsMutable();
- allList_.add(index, builderForValue.build());
- }
- /**
- * repeated .tutorial.CloudRoadDataProto allList = 1;
- */
- private void addAllAllList(
- java.lang.Iterable extends com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto> values) {
- ensureAllListIsMutable();
- com.google.protobuf.AbstractMessageLite.addAll(
- values, allList_);
- }
- /**
- * repeated .tutorial.CloudRoadDataProto allList = 1;
- */
- private void clearAllList() {
- allList_ = emptyProtobufList();
- }
- /**
- * repeated .tutorial.CloudRoadDataProto allList = 1;
- */
- private void removeAllList(int index) {
- ensureAllListIsMutable();
- allList_.remove(index);
+ @java.lang.Override
+ public com.google.protobuf.Parserrepeated .tutorial.CloudRoadDataProto nearList = 2;
- */
- public java.util.Listrepeated .tutorial.CloudRoadDataProto nearList = 2;
- */
- public java.util.List extends com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProtoOrBuilder>
- getNearListOrBuilderList() {
- return nearList_;
- }
- /**
- * repeated .tutorial.CloudRoadDataProto nearList = 2;
- */
- public int getNearListCount() {
- return nearList_.size();
- }
- /**
- * repeated .tutorial.CloudRoadDataProto nearList = 2;
- */
- public com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto getNearList(int index) {
- return nearList_.get(index);
- }
- /**
- * repeated .tutorial.CloudRoadDataProto nearList = 2;
- */
- public com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProtoOrBuilder getNearListOrBuilder(
- int index) {
- return nearList_.get(index);
- }
- private void ensureNearListIsMutable() {
- if (!nearList_.isModifiable()) {
- nearList_ =
- com.google.protobuf.GeneratedMessageLite.mutableCopy(nearList_);
- }
- }
-
- /**
- * repeated .tutorial.CloudRoadDataProto nearList = 2;
- */
- private void setNearList(
- int index, com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureNearListIsMutable();
- nearList_.set(index, value);
- }
- /**
- * repeated .tutorial.CloudRoadDataProto nearList = 2;
- */
- private void setNearList(
- 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(com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureNearListIsMutable();
- nearList_.add(value);
- }
- /**
- * repeated .tutorial.CloudRoadDataProto nearList = 2;
- */
- private void addNearList(
- int index, com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureNearListIsMutable();
- nearList_.add(index, value);
- }
- /**
- * repeated .tutorial.CloudRoadDataProto nearList = 2;
- */
- private void addNearList(
- com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.Builder builderForValue) {
- ensureNearListIsMutable();
- nearList_.add(builderForValue.build());
- }
- /**
- * repeated .tutorial.CloudRoadDataProto nearList = 2;
- */
- private void addNearList(
- int index, com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.Builder builderForValue) {
- ensureNearListIsMutable();
- nearList_.add(index, builderForValue.build());
- }
- /**
- * repeated .tutorial.CloudRoadDataProto nearList = 2;
- */
- private void addAllNearList(
- java.lang.Iterable extends com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto> values) {
- ensureNearListIsMutable();
- com.google.protobuf.AbstractMessageLite.addAll(
- values, nearList_);
- }
- /**
- * repeated .tutorial.CloudRoadDataProto nearList = 2;
- */
- private void clearNearList() {
- nearList_ = emptyProtobufList();
- }
- /**
- * repeated .tutorial.CloudRoadDataProto nearList = 2;
- */
- private void removeNearList(int index) {
- ensureNearListIsMutable();
- nearList_.remove(index);
- }
-
- public static final int CAMERA_FIELD_NUMBER = 3;
- private com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto camera_;
- /**
- * optional .tutorial.CloudRoadDataProto camera = 3;
- */
- public boolean hasCamera() {
- return camera_ != null;
- }
- /**
- * optional .tutorial.CloudRoadDataProto camera = 3;
- */
- 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(com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto value) {
- if (value == null) {
- throw new NullPointerException();
- }
- camera_ = value;
-
- }
- /**
- * optional .tutorial.CloudRoadDataProto camera = 3;
- */
- private void setCamera(
- com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.Builder builderForValue) {
- camera_ = builderForValue.build();
-
- }
- /**
- * optional .tutorial.CloudRoadDataProto camera = 3;
- */
- private void mergeCamera(com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto value) {
- if (camera_ != null &&
- camera_ != com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.getDefaultInstance()) {
- camera_ =
- com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.newBuilder(camera_).mergeFrom(value).buildPartial();
- } else {
- camera_ = value;
- }
-
- }
- /**
- * optional .tutorial.CloudRoadDataProto camera = 3;
- */
- private void clearCamera() { camera_ = null;
-
- }
-
- public static final int MSGID_FIELD_NUMBER = 4;
- private java.lang.String msgId_;
- /**
- * optional string msgId = 4;
- */
- public java.lang.String getMsgId() {
- return msgId_;
- }
- /**
- * optional string msgId = 4;
- */
- public com.google.protobuf.ByteString
- getMsgIdBytes() {
- return com.google.protobuf.ByteString.copyFromUtf8(msgId_);
- }
- /**
- * optional string msgId = 4;
- */
- private void setMsgId(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- msgId_ = value;
- }
- /**
- * optional string msgId = 4;
- */
- private void clearMsgId() {
-
- msgId_ = getDefaultInstance().getMsgId();
- }
- /**
- * optional string msgId = 4;
- */
- private void setMsgIdBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- msgId_ = value.toStringUtf8();
- }
-
- public static final int TIME_FIELD_NUMBER = 5;
- private long time_;
- /**
- * optional uint64 time = 5;
- */
- public long getTime() {
- return time_;
- }
- /**
- * optional uint64 time = 5;
- */
- private void setTime(long value) {
-
- time_ = value;
- }
- /**
- * optional uint64 time = 5;
- */
- private void clearTime() {
-
- time_ = 0L;
- }
-
- public static final int EXPIRE_FIELD_NUMBER = 6;
- private long expire_;
- /**
- * optional uint64 expire = 6;
- */
- public long getExpire() {
- return expire_;
- }
- /**
- * optional uint64 expire = 6;
- */
- private void setExpire(long value) {
-
- expire_ = value;
- }
- /**
- * optional uint64 expire = 6;
- */
- private void clearExpire() {
-
- expire_ = 0L;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- for (int i = 0; i < allList_.size(); i++) {
- output.writeMessage(1, allList_.get(i));
- }
- for (int i = 0; i < nearList_.size(); i++) {
- output.writeMessage(2, nearList_.get(i));
- }
- if (camera_ != null) {
- output.writeMessage(3, getCamera());
- }
- if (!msgId_.isEmpty()) {
- output.writeString(4, getMsgId());
- }
- if (time_ != 0L) {
- output.writeUInt64(5, time_);
- }
- if (expire_ != 0L) {
- output.writeUInt64(6, expire_);
- }
- }
-
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- for (int i = 0; i < allList_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, allList_.get(i));
- }
- for (int i = 0; i < nearList_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, nearList_.get(i));
- }
- if (camera_ != null) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(3, getCamera());
- }
- if (!msgId_.isEmpty()) {
- size += com.google.protobuf.CodedOutputStream
- .computeStringSize(4, getMsgId());
- }
- if (time_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt64Size(5, time_);
- }
- if (expire_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt64Size(6, expire_);
- }
- memoizedSerializedSize = size;
- return size;
- }
-
- 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 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 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 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 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 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 com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return parseDelimitedFrom(DEFAULT_INSTANCE, input);
- }
- 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 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 com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageLite.parseFrom(
- DEFAULT_INSTANCE, input, extensionRegistry);
- }
-
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
- }
- public static Builder newBuilder(com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
-
- /**
- * Protobuf type {@code tutorial.LauncherSnapshotProto}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessageLite.Builder<
- com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto, Builder> implements
- // @@protoc_insertion_point(builder_implements:tutorial.LauncherSnapshotProto)
- com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProtoOrBuilder {
- // Construct using com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto.newBuilder()
- private Builder() {
- super(DEFAULT_INSTANCE);
- }
-
-
- /**
- * repeated .tutorial.CloudRoadDataProto allList = 1;
- */
- public java.util.Listrepeated .tutorial.CloudRoadDataProto allList = 1;
- */
- public int getAllListCount() {
- return instance.getAllListCount();
- }/**
- * repeated .tutorial.CloudRoadDataProto allList = 1;
- */
- 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, com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto value) {
- copyOnWrite();
- instance.setAllList(index, value);
- return this;
- }
- /**
- * repeated .tutorial.CloudRoadDataProto allList = 1;
- */
- public Builder setAllList(
- int index, com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.Builder builderForValue) {
- copyOnWrite();
- instance.setAllList(index, builderForValue);
- return this;
- }
- /**
- * repeated .tutorial.CloudRoadDataProto allList = 1;
- */
- public Builder addAllList(com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto value) {
- copyOnWrite();
- instance.addAllList(value);
- return this;
- }
- /**
- * repeated .tutorial.CloudRoadDataProto allList = 1;
- */
- public Builder addAllList(
- int index, com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto value) {
- copyOnWrite();
- instance.addAllList(index, value);
- return this;
- }
- /**
- * repeated .tutorial.CloudRoadDataProto allList = 1;
- */
- public Builder addAllList(
- com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.Builder builderForValue) {
- copyOnWrite();
- instance.addAllList(builderForValue);
- return this;
- }
- /**
- * repeated .tutorial.CloudRoadDataProto allList = 1;
- */
- public Builder addAllList(
- int index, com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.Builder builderForValue) {
- copyOnWrite();
- instance.addAllList(index, builderForValue);
- return this;
- }
- /**
- * repeated .tutorial.CloudRoadDataProto allList = 1;
- */
- public Builder addAllAllList(
- java.lang.Iterable extends com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto> values) {
- copyOnWrite();
- instance.addAllAllList(values);
- return this;
- }
- /**
- * repeated .tutorial.CloudRoadDataProto allList = 1;
- */
- public Builder clearAllList() {
- copyOnWrite();
- instance.clearAllList();
- return this;
- }
- /**
- * repeated .tutorial.CloudRoadDataProto allList = 1;
- */
- public Builder removeAllList(int index) {
- copyOnWrite();
- instance.removeAllList(index);
- return this;
- }
-
- /**
- * repeated .tutorial.CloudRoadDataProto nearList = 2;
- */
- public java.util.Listrepeated .tutorial.CloudRoadDataProto nearList = 2;
- */
- public int getNearListCount() {
- return instance.getNearListCount();
- }/**
- * repeated .tutorial.CloudRoadDataProto nearList = 2;
- */
- 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, com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto value) {
- copyOnWrite();
- instance.setNearList(index, value);
- return this;
- }
- /**
- * repeated .tutorial.CloudRoadDataProto nearList = 2;
- */
- public Builder setNearList(
- int index, com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.Builder builderForValue) {
- copyOnWrite();
- instance.setNearList(index, builderForValue);
- return this;
- }
- /**
- * repeated .tutorial.CloudRoadDataProto nearList = 2;
- */
- public Builder addNearList(com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto value) {
- copyOnWrite();
- instance.addNearList(value);
- return this;
- }
- /**
- * repeated .tutorial.CloudRoadDataProto nearList = 2;
- */
- public Builder addNearList(
- int index, com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto value) {
- copyOnWrite();
- instance.addNearList(index, value);
- return this;
- }
- /**
- * repeated .tutorial.CloudRoadDataProto nearList = 2;
- */
- public Builder addNearList(
- com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.Builder builderForValue) {
- copyOnWrite();
- instance.addNearList(builderForValue);
- return this;
- }
- /**
- * repeated .tutorial.CloudRoadDataProto nearList = 2;
- */
- public Builder addNearList(
- int index, com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.Builder builderForValue) {
- copyOnWrite();
- instance.addNearList(index, builderForValue);
- return this;
- }
- /**
- * repeated .tutorial.CloudRoadDataProto nearList = 2;
- */
- public Builder addAllNearList(
- java.lang.Iterable extends com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto> values) {
- copyOnWrite();
- instance.addAllNearList(values);
- return this;
- }
- /**
- * repeated .tutorial.CloudRoadDataProto nearList = 2;
- */
- public Builder clearNearList() {
- copyOnWrite();
- instance.clearNearList();
- return this;
- }
- /**
- * repeated .tutorial.CloudRoadDataProto nearList = 2;
- */
- public Builder removeNearList(int index) {
- copyOnWrite();
- instance.removeNearList(index);
- return this;
- }
-
- /**
- * optional .tutorial.CloudRoadDataProto camera = 3;
- */
- public boolean hasCamera() {
- return instance.hasCamera();
- }
- /**
- * optional .tutorial.CloudRoadDataProto camera = 3;
- */
- public com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto getCamera() {
- return instance.getCamera();
- }
- /**
- * optional .tutorial.CloudRoadDataProto camera = 3;
- */
- public Builder setCamera(com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto value) {
- copyOnWrite();
- instance.setCamera(value);
- return this;
- }
- /**
- * optional .tutorial.CloudRoadDataProto camera = 3;
- */
- public Builder setCamera(
- com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.Builder builderForValue) {
- copyOnWrite();
- instance.setCamera(builderForValue);
- return this;
- }
- /**
- * optional .tutorial.CloudRoadDataProto camera = 3;
- */
- public Builder mergeCamera(com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto value) {
- copyOnWrite();
- instance.mergeCamera(value);
- return this;
- }
- /**
- * optional .tutorial.CloudRoadDataProto camera = 3;
- */
- public Builder clearCamera() { copyOnWrite();
- instance.clearCamera();
- return this;
- }
-
- /**
- * optional string msgId = 4;
- */
- public java.lang.String getMsgId() {
- return instance.getMsgId();
- }
- /**
- * optional string msgId = 4;
- */
- public com.google.protobuf.ByteString
- getMsgIdBytes() {
- return instance.getMsgIdBytes();
- }
- /**
- * optional string msgId = 4;
- */
- public Builder setMsgId(
- java.lang.String value) {
- copyOnWrite();
- instance.setMsgId(value);
- return this;
- }
- /**
- * optional string msgId = 4;
- */
- public Builder clearMsgId() {
- copyOnWrite();
- instance.clearMsgId();
- return this;
- }
- /**
- * optional string msgId = 4;
- */
- public Builder setMsgIdBytes(
- com.google.protobuf.ByteString value) {
- copyOnWrite();
- instance.setMsgIdBytes(value);
- return this;
- }
-
- /**
- * optional uint64 time = 5;
- */
- public long getTime() {
- return instance.getTime();
- }
- /**
- * optional uint64 time = 5;
- */
- public Builder setTime(long value) {
- copyOnWrite();
- instance.setTime(value);
- return this;
- }
- /**
- * optional uint64 time = 5;
- */
- public Builder clearTime() {
- copyOnWrite();
- instance.clearTime();
- return this;
- }
-
- /**
- * optional uint64 expire = 6;
- */
- public long getExpire() {
- return instance.getExpire();
- }
- /**
- * optional uint64 expire = 6;
- */
- public Builder setExpire(long value) {
- copyOnWrite();
- instance.setExpire(value);
- return this;
- }
- /**
- * optional uint64 expire = 6;
- */
- public Builder clearExpire() {
- copyOnWrite();
- instance.clearExpire();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:tutorial.LauncherSnapshotProto)
- }
- protected final Object dynamicMethod(
- com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
- Object arg0, Object arg1) {
- switch (method) {
- case NEW_MUTABLE_INSTANCE: {
- return new com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto();
- }
- case IS_INITIALIZED: {
- return DEFAULT_INSTANCE;
- }
- case MAKE_IMMUTABLE: {
- allList_.makeImmutable();
- nearList_.makeImmutable();
- return null;
- }
- case NEW_BUILDER: {
- return new Builder();
- }
- case VISIT: {
- Visitor visitor = (Visitor) arg0;
- 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_);
- msgId_ = visitor.visitString(!msgId_.isEmpty(), msgId_,
- !other.msgId_.isEmpty(), other.msgId_);
- time_ = visitor.visitLong(time_ != 0L, time_,
- other.time_ != 0L, other.time_);
- expire_ = visitor.visitLong(expire_ != 0L, expire_,
- other.expire_ != 0L, other.expire_);
- if (visitor == com.google.protobuf.GeneratedMessageLite.MergeFromVisitor
- .INSTANCE) {
- bitField0_ |= other.bitField0_;
- }
- return this;
- }
- case MERGE_FROM_STREAM: {
- com.google.protobuf.CodedInputStream input =
- (com.google.protobuf.CodedInputStream) arg0;
- com.google.protobuf.ExtensionRegistryLite extensionRegistry =
- (com.google.protobuf.ExtensionRegistryLite) arg1;
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- default: {
- if (!input.skipField(tag)) {
- done = true;
- }
- break;
- }
- case 10: {
- if (!allList_.isModifiable()) {
- allList_ =
- com.google.protobuf.GeneratedMessageLite.mutableCopy(allList_);
- }
- allList_.add(
- input.readMessage(com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.parser(), extensionRegistry));
- break;
- }
- case 18: {
- if (!nearList_.isModifiable()) {
- nearList_ =
- com.google.protobuf.GeneratedMessageLite.mutableCopy(nearList_);
- }
- nearList_.add(
- input.readMessage(com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.parser(), extensionRegistry));
- break;
- }
- case 26: {
- com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.Builder subBuilder = null;
- if (camera_ != null) {
- subBuilder = camera_.toBuilder();
- }
- camera_ = input.readMessage(com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto.parser(), extensionRegistry);
- if (subBuilder != null) {
- subBuilder.mergeFrom(camera_);
- camera_ = subBuilder.buildPartial();
- }
-
- break;
- }
- case 34: {
- String s = input.readStringRequireUtf8();
-
- msgId_ = s;
- break;
- }
- case 40: {
-
- time_ = input.readUInt64();
- break;
- }
- case 48: {
-
- expire_ = input.readUInt64();
- break;
- }
- }
- }
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw new RuntimeException(e.setUnfinishedMessage(this));
- } catch (java.io.IOException e) {
- throw new RuntimeException(
- new com.google.protobuf.InvalidProtocolBufferException(
- e.getMessage()).setUnfinishedMessage(this));
- } finally {
- }
- }
- case GET_DEFAULT_INSTANCE: {
- return DEFAULT_INSTANCE;
- }
- case GET_PARSER: {
- if (PARSER == null) { synchronized (com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto.class) {
- if (PARSER == null) {
- PARSER = new DefaultInstanceBasedParser(DEFAULT_INSTANCE);
- }
- }
- }
- return PARSER;
- }
- }
- throw new UnsupportedOperationException();
- }
-
-
- // @@protoc_insertion_point(class_scope:tutorial.LauncherSnapshotProto)
- private static final com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new LauncherSnapshotProto();
- DEFAULT_INSTANCE.makeImmutable();
- }
-
- public static com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto getDefaultInstance() {
+ @java.lang.Override
+ public com.mogo.cloud.socket.entity.SocketDownData.CloudRoadDataProto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
- private static volatile com.google.protobuf.Parseroptional uint64 seq = 1;
- */
- long getSeq();
-
- /**
- * optional uint32 msgType = 2;
- */
- int getMsgType();
-
- /**
- * optional string sn = 3;
- */
- java.lang.String getSn();
- /**
- * optional string sn = 3;
- */
- com.google.protobuf.ByteString
- getSnBytes();
-
- /**
- * optional .tutorial.LauncherSnapshotProto data = 4;
- */
- boolean hasData();
- /**
- * optional .tutorial.LauncherSnapshotProto data = 4;
- */
- com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto getData();
-
- /**
- * optional uint64 utcTime = 5;
- */
- long getUtcTime();
-
- /**
- * optional uint64 upUtcTime = 6;
- */
- long getUpUtcTime();
-
- /**
- * optional string cityCode = 7;
- */
- java.lang.String getCityCode();
- /**
- * optional string cityCode = 7;
- */
- com.google.protobuf.ByteString
- getCityCodeBytes();
+ public static com.google.protobuf.Descriptors.FileDescriptor
+ getDescriptor() {
+ return descriptor;
}
- /**
- * Protobuf type {@code tutorial.SocketDownDataProto}
- */
- public static final class SocketDownDataProto extends
- com.google.protobuf.GeneratedMessageLite<
- SocketDownDataProto, SocketDownDataProto.Builder> implements
- // @@protoc_insertion_point(message_implements:tutorial.SocketDownDataProto)
- SocketDownDataProtoOrBuilder {
- private SocketDownDataProto() {
- sn_ = "";
- cityCode_ = "";
- }
- public static final int SEQ_FIELD_NUMBER = 1;
- private long seq_;
- /**
- * optional uint64 seq = 1;
- */
- public long getSeq() {
- return seq_;
- }
- /**
- * optional uint64 seq = 1;
- */
- private void setSeq(long value) {
-
- seq_ = value;
- }
- /**
- * optional uint64 seq = 1;
- */
- private void clearSeq() {
-
- seq_ = 0L;
- }
-
- public static final int MSGTYPE_FIELD_NUMBER = 2;
- private int msgType_;
- /**
- * optional uint32 msgType = 2;
- */
- public int getMsgType() {
- return msgType_;
- }
- /**
- * optional uint32 msgType = 2;
- */
- private void setMsgType(int value) {
-
- msgType_ = value;
- }
- /**
- * optional uint32 msgType = 2;
- */
- private void clearMsgType() {
-
- msgType_ = 0;
- }
-
- public static final int SN_FIELD_NUMBER = 3;
- private java.lang.String sn_;
- /**
- * optional string sn = 3;
- */
- public java.lang.String getSn() {
- return sn_;
- }
- /**
- * optional string sn = 3;
- */
- public com.google.protobuf.ByteString
- getSnBytes() {
- return com.google.protobuf.ByteString.copyFromUtf8(sn_);
- }
- /**
- * optional string sn = 3;
- */
- private void setSn(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- sn_ = value;
- }
- /**
- * optional string sn = 3;
- */
- private void clearSn() {
-
- sn_ = getDefaultInstance().getSn();
- }
- /**
- * optional string sn = 3;
- */
- private void setSnBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- sn_ = value.toStringUtf8();
- }
-
- public static final int DATA_FIELD_NUMBER = 4;
- private com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto data_;
- /**
- * optional .tutorial.LauncherSnapshotProto data = 4;
- */
- public boolean hasData() {
- return data_ != null;
- }
- /**
- * optional .tutorial.LauncherSnapshotProto data = 4;
- */
- 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(com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto value) {
- if (value == null) {
- throw new NullPointerException();
- }
- data_ = value;
-
- }
- /**
- * optional .tutorial.LauncherSnapshotProto data = 4;
- */
- private void setData(
- com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto.Builder builderForValue) {
- data_ = builderForValue.build();
-
- }
- /**
- * optional .tutorial.LauncherSnapshotProto data = 4;
- */
- private void mergeData(com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto value) {
- if (data_ != null &&
- data_ != com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto.getDefaultInstance()) {
- data_ =
- com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto.newBuilder(data_).mergeFrom(value).buildPartial();
- } else {
- data_ = value;
- }
-
- }
- /**
- * optional .tutorial.LauncherSnapshotProto data = 4;
- */
- private void clearData() { data_ = null;
-
- }
-
- public static final int UTCTIME_FIELD_NUMBER = 5;
- private long utcTime_;
- /**
- * optional uint64 utcTime = 5;
- */
- public long getUtcTime() {
- return utcTime_;
- }
- /**
- * optional uint64 utcTime = 5;
- */
- private void setUtcTime(long value) {
-
- utcTime_ = value;
- }
- /**
- * optional uint64 utcTime = 5;
- */
- private void clearUtcTime() {
-
- utcTime_ = 0L;
- }
-
- public static final int UPUTCTIME_FIELD_NUMBER = 6;
- private long upUtcTime_;
- /**
- * optional uint64 upUtcTime = 6;
- */
- public long getUpUtcTime() {
- return upUtcTime_;
- }
- /**
- * optional uint64 upUtcTime = 6;
- */
- private void setUpUtcTime(long value) {
-
- upUtcTime_ = value;
- }
- /**
- * optional uint64 upUtcTime = 6;
- */
- private void clearUpUtcTime() {
-
- upUtcTime_ = 0L;
- }
-
- public static final int CITYCODE_FIELD_NUMBER = 7;
- private java.lang.String cityCode_;
- /**
- * optional string cityCode = 7;
- */
- public java.lang.String getCityCode() {
- return cityCode_;
- }
- /**
- * optional string cityCode = 7;
- */
- public com.google.protobuf.ByteString
- getCityCodeBytes() {
- return com.google.protobuf.ByteString.copyFromUtf8(cityCode_);
- }
- /**
- * optional string cityCode = 7;
- */
- private void setCityCode(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- cityCode_ = value;
- }
- /**
- * optional string cityCode = 7;
- */
- private void clearCityCode() {
-
- cityCode_ = getDefaultInstance().getCityCode();
- }
- /**
- * optional string cityCode = 7;
- */
- private void setCityCodeBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- cityCode_ = value.toStringUtf8();
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (seq_ != 0L) {
- output.writeUInt64(1, seq_);
- }
- if (msgType_ != 0) {
- output.writeUInt32(2, msgType_);
- }
- if (!sn_.isEmpty()) {
- output.writeString(3, getSn());
- }
- if (data_ != null) {
- output.writeMessage(4, getData());
- }
- if (utcTime_ != 0L) {
- output.writeUInt64(5, utcTime_);
- }
- if (upUtcTime_ != 0L) {
- output.writeUInt64(6, upUtcTime_);
- }
- if (!cityCode_.isEmpty()) {
- output.writeString(7, getCityCode());
- }
- }
-
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (seq_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt64Size(1, seq_);
- }
- if (msgType_ != 0) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(2, msgType_);
- }
- if (!sn_.isEmpty()) {
- size += com.google.protobuf.CodedOutputStream
- .computeStringSize(3, getSn());
- }
- if (data_ != null) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(4, getData());
- }
- if (utcTime_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt64Size(5, utcTime_);
- }
- if (upUtcTime_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt64Size(6, upUtcTime_);
- }
- if (!cityCode_.isEmpty()) {
- size += com.google.protobuf.CodedOutputStream
- .computeStringSize(7, getCityCode());
- }
- memoizedSerializedSize = size;
- return size;
- }
-
- 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 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 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 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 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 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 com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProto parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return parseDelimitedFrom(DEFAULT_INSTANCE, input);
- }
- 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 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 com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProto parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageLite.parseFrom(
- DEFAULT_INSTANCE, input, extensionRegistry);
- }
-
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
- }
- public static Builder newBuilder(com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProto prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
-
- /**
- * Protobuf type {@code tutorial.SocketDownDataProto}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessageLite.Builder<
- com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProto, Builder> implements
- // @@protoc_insertion_point(builder_implements:tutorial.SocketDownDataProto)
- com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProtoOrBuilder {
- // Construct using com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProto.newBuilder()
- private Builder() {
- super(DEFAULT_INSTANCE);
- }
-
-
- /**
- * optional uint64 seq = 1;
- */
- public long getSeq() {
- return instance.getSeq();
- }
- /**
- * optional uint64 seq = 1;
- */
- public Builder setSeq(long value) {
- copyOnWrite();
- instance.setSeq(value);
- return this;
- }
- /**
- * optional uint64 seq = 1;
- */
- public Builder clearSeq() {
- copyOnWrite();
- instance.clearSeq();
- return this;
- }
-
- /**
- * optional uint32 msgType = 2;
- */
- public int getMsgType() {
- return instance.getMsgType();
- }
- /**
- * optional uint32 msgType = 2;
- */
- public Builder setMsgType(int value) {
- copyOnWrite();
- instance.setMsgType(value);
- return this;
- }
- /**
- * optional uint32 msgType = 2;
- */
- public Builder clearMsgType() {
- copyOnWrite();
- instance.clearMsgType();
- return this;
- }
-
- /**
- * optional string sn = 3;
- */
- public java.lang.String getSn() {
- return instance.getSn();
- }
- /**
- * optional string sn = 3;
- */
- public com.google.protobuf.ByteString
- getSnBytes() {
- return instance.getSnBytes();
- }
- /**
- * optional string sn = 3;
- */
- public Builder setSn(
- java.lang.String value) {
- copyOnWrite();
- instance.setSn(value);
- return this;
- }
- /**
- * optional string sn = 3;
- */
- public Builder clearSn() {
- copyOnWrite();
- instance.clearSn();
- return this;
- }
- /**
- * optional string sn = 3;
- */
- public Builder setSnBytes(
- com.google.protobuf.ByteString value) {
- copyOnWrite();
- instance.setSnBytes(value);
- return this;
- }
-
- /**
- * optional .tutorial.LauncherSnapshotProto data = 4;
- */
- public boolean hasData() {
- return instance.hasData();
- }
- /**
- * optional .tutorial.LauncherSnapshotProto data = 4;
- */
- public com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto getData() {
- return instance.getData();
- }
- /**
- * optional .tutorial.LauncherSnapshotProto data = 4;
- */
- public Builder setData(com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto value) {
- copyOnWrite();
- instance.setData(value);
- return this;
- }
- /**
- * optional .tutorial.LauncherSnapshotProto data = 4;
- */
- public Builder setData(
- com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto.Builder builderForValue) {
- copyOnWrite();
- instance.setData(builderForValue);
- return this;
- }
- /**
- * optional .tutorial.LauncherSnapshotProto data = 4;
- */
- public Builder mergeData(com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto value) {
- copyOnWrite();
- instance.mergeData(value);
- return this;
- }
- /**
- * optional .tutorial.LauncherSnapshotProto data = 4;
- */
- public Builder clearData() { copyOnWrite();
- instance.clearData();
- return this;
- }
-
- /**
- * optional uint64 utcTime = 5;
- */
- public long getUtcTime() {
- return instance.getUtcTime();
- }
- /**
- * optional uint64 utcTime = 5;
- */
- public Builder setUtcTime(long value) {
- copyOnWrite();
- instance.setUtcTime(value);
- return this;
- }
- /**
- * optional uint64 utcTime = 5;
- */
- public Builder clearUtcTime() {
- copyOnWrite();
- instance.clearUtcTime();
- return this;
- }
-
- /**
- * optional uint64 upUtcTime = 6;
- */
- public long getUpUtcTime() {
- return instance.getUpUtcTime();
- }
- /**
- * optional uint64 upUtcTime = 6;
- */
- public Builder setUpUtcTime(long value) {
- copyOnWrite();
- instance.setUpUtcTime(value);
- return this;
- }
- /**
- * optional uint64 upUtcTime = 6;
- */
- public Builder clearUpUtcTime() {
- copyOnWrite();
- instance.clearUpUtcTime();
- return this;
- }
-
- /**
- * optional string cityCode = 7;
- */
- public java.lang.String getCityCode() {
- return instance.getCityCode();
- }
- /**
- * optional string cityCode = 7;
- */
- public com.google.protobuf.ByteString
- getCityCodeBytes() {
- return instance.getCityCodeBytes();
- }
- /**
- * optional string cityCode = 7;
- */
- public Builder setCityCode(
- java.lang.String value) {
- copyOnWrite();
- instance.setCityCode(value);
- return this;
- }
- /**
- * optional string cityCode = 7;
- */
- public Builder clearCityCode() {
- copyOnWrite();
- instance.clearCityCode();
- return this;
- }
- /**
- * optional string cityCode = 7;
- */
- public Builder setCityCodeBytes(
- com.google.protobuf.ByteString value) {
- copyOnWrite();
- instance.setCityCodeBytes(value);
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:tutorial.SocketDownDataProto)
- }
- protected final Object dynamicMethod(
- com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
- Object arg0, Object arg1) {
- switch (method) {
- case NEW_MUTABLE_INSTANCE: {
- return new com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProto();
- }
- case IS_INITIALIZED: {
- return DEFAULT_INSTANCE;
- }
- case MAKE_IMMUTABLE: {
- return null;
- }
- case NEW_BUILDER: {
- return new Builder();
- }
- case VISIT: {
- Visitor visitor = (Visitor) arg0;
- 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_,
- other.msgType_ != 0, other.msgType_);
- sn_ = visitor.visitString(!sn_.isEmpty(), sn_,
- !other.sn_.isEmpty(), other.sn_);
- data_ = visitor.visitMessage(data_, other.data_);
- utcTime_ = visitor.visitLong(utcTime_ != 0L, utcTime_,
- other.utcTime_ != 0L, other.utcTime_);
- upUtcTime_ = visitor.visitLong(upUtcTime_ != 0L, upUtcTime_,
- other.upUtcTime_ != 0L, other.upUtcTime_);
- cityCode_ = visitor.visitString(!cityCode_.isEmpty(), cityCode_,
- !other.cityCode_.isEmpty(), other.cityCode_);
- if (visitor == com.google.protobuf.GeneratedMessageLite.MergeFromVisitor
- .INSTANCE) {
- }
- return this;
- }
- case MERGE_FROM_STREAM: {
- com.google.protobuf.CodedInputStream input =
- (com.google.protobuf.CodedInputStream) arg0;
- com.google.protobuf.ExtensionRegistryLite extensionRegistry =
- (com.google.protobuf.ExtensionRegistryLite) arg1;
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- default: {
- if (!input.skipField(tag)) {
- done = true;
- }
- break;
- }
- case 8: {
-
- seq_ = input.readUInt64();
- break;
- }
- case 16: {
-
- msgType_ = input.readUInt32();
- break;
- }
- case 26: {
- String s = input.readStringRequireUtf8();
-
- sn_ = s;
- break;
- }
- case 34: {
- com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto.Builder subBuilder = null;
- if (data_ != null) {
- subBuilder = data_.toBuilder();
- }
- data_ = input.readMessage(com.mogo.cloud.socket.entity.SocketDownData.LauncherSnapshotProto.parser(), extensionRegistry);
- if (subBuilder != null) {
- subBuilder.mergeFrom(data_);
- data_ = subBuilder.buildPartial();
- }
-
- break;
- }
- case 40: {
-
- utcTime_ = input.readUInt64();
- break;
- }
- case 48: {
-
- upUtcTime_ = input.readUInt64();
- break;
- }
- case 58: {
- String s = input.readStringRequireUtf8();
-
- cityCode_ = s;
- break;
- }
- }
- }
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw new RuntimeException(e.setUnfinishedMessage(this));
- } catch (java.io.IOException e) {
- throw new RuntimeException(
- new com.google.protobuf.InvalidProtocolBufferException(
- e.getMessage()).setUnfinishedMessage(this));
- } finally {
- }
- }
- case GET_DEFAULT_INSTANCE: {
- return DEFAULT_INSTANCE;
- }
- case GET_PARSER: {
- if (PARSER == null) { synchronized (com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProto.class) {
- if (PARSER == null) {
- PARSER = new DefaultInstanceBasedParser(DEFAULT_INSTANCE);
- }
- }
- }
- return PARSER;
- }
- }
- throw new UnsupportedOperationException();
- }
-
-
- // @@protoc_insertion_point(class_scope:tutorial.SocketDownDataProto)
- private static final com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProto DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new SocketDownDataProto();
- DEFAULT_INSTANCE.makeImmutable();
- }
-
- public static com.mogo.cloud.socket.entity.SocketDownData.SocketDownDataProto getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- private static volatile com.google.protobuf.Parser