// Generated by the protocol buffer compiler. DO NOT EDIT! // source: rt_system.proto package com.xiaopeng.api.vo.automaticPilot.protobuf; /** *
 * 设备能力信息(用于状态上报)
 * 
* * Protobuf type {@code acm.proto.intelliservices.rt.L4CapabilityInfo} */ public final class L4CapabilityInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:acm.proto.intelliservices.rt.L4CapabilityInfo) L4CapabilityInfoOrBuilder { private static final long serialVersionUID = 0L; // Use L4CapabilityInfo.newBuilder() to construct. private L4CapabilityInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private L4CapabilityInfo() { vin_ = ""; l4Capabilities_ = java.util.Collections.emptyList(); mqttAccount_ = ""; } @Override @SuppressWarnings({"unused"}) protected Object newInstance( UnusedPrivateParameter unused) { return new L4CapabilityInfo(); } @Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private L4CapabilityInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { String s = input.readStringRequireUtf8(); vin_ = s; break; } case 16: { userId_ = input.readInt64(); break; } case 24: { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { l4Capabilities_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } l4Capabilities_.add(rawValue); break; } case 26: { int length = input.readRawVarint32(); int oldLimit = input.pushLimit(length); while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { l4Capabilities_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } l4Capabilities_.add(rawValue); } input.popLimit(oldLimit); break; } case 34: { String s = input.readStringRequireUtf8(); mqttAccount_ = s; break; } case 40: { timestamp_ = input.readInt64(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { l4Capabilities_ = java.util.Collections.unmodifiableList(l4Capabilities_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return RtSystem.internal_static_acm_proto_intelliservices_rt_L4CapabilityInfo_descriptor; } @Override protected FieldAccessorTable internalGetFieldAccessorTable() { return RtSystem.internal_static_acm_proto_intelliservices_rt_L4CapabilityInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( L4CapabilityInfo.class, Builder.class); } public static final int VIN_FIELD_NUMBER = 1; private volatile Object vin_; /** *
   * 车辆ID
   * 
* * string vin = 1; * @return The vin. */ @Override public String getVin() { Object ref = vin_; if (ref instanceof String) { return (String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; String s = bs.toStringUtf8(); vin_ = s; return s; } } /** *
   * 车辆ID
   * 
* * string vin = 1; * @return The bytes for vin. */ @Override public com.google.protobuf.ByteString getVinBytes() { Object ref = vin_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (String) ref); vin_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int USER_ID_FIELD_NUMBER = 2; private long userId_; /** *
   * 用户ID
   * 
* * int64 user_id = 2; * @return The userId. */ @Override public long getUserId() { return userId_; } public static final int L4_CAPABILITIES_FIELD_NUMBER = 3; private java.util.List l4Capabilities_; private static final com.google.protobuf.Internal.ListAdapter.Converter< Integer, L4CapabilityType> l4Capabilities_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< Integer, L4CapabilityType>() { public L4CapabilityType convert(Integer from) { @SuppressWarnings("deprecation") L4CapabilityType result = L4CapabilityType.valueOf(from); return result == null ? L4CapabilityType.UNRECOGNIZED : result; } }; /** *
   * L4功能能力
   * 
* * repeated .acm.proto.intelliservices.rt.L4CapabilityType l4_capabilities = 3; * @return A list containing the l4Capabilities. */ @Override public java.util.List getL4CapabilitiesList() { return new com.google.protobuf.Internal.ListAdapter< Integer, L4CapabilityType>(l4Capabilities_, l4Capabilities_converter_); } /** *
   * L4功能能力
   * 
* * repeated .acm.proto.intelliservices.rt.L4CapabilityType l4_capabilities = 3; * @return The count of l4Capabilities. */ @Override public int getL4CapabilitiesCount() { return l4Capabilities_.size(); } /** *
   * L4功能能力
   * 
* * repeated .acm.proto.intelliservices.rt.L4CapabilityType l4_capabilities = 3; * @param index The index of the element to return. * @return The l4Capabilities at the given index. */ @Override public L4CapabilityType getL4Capabilities(int index) { return l4Capabilities_converter_.convert(l4Capabilities_.get(index)); } /** *
   * L4功能能力
   * 
* * repeated .acm.proto.intelliservices.rt.L4CapabilityType l4_capabilities = 3; * @return A list containing the enum numeric values on the wire for l4Capabilities. */ @Override public java.util.List getL4CapabilitiesValueList() { return l4Capabilities_; } /** *
   * L4功能能力
   * 
* * repeated .acm.proto.intelliservices.rt.L4CapabilityType l4_capabilities = 3; * @param index The index of the value to return. * @return The enum numeric value on the wire of l4Capabilities at the given index. */ @Override public int getL4CapabilitiesValue(int index) { return l4Capabilities_.get(index); } private int l4CapabilitiesMemoizedSerializedSize; public static final int MQTT_ACCOUNT_FIELD_NUMBER = 4; private volatile Object mqttAccount_; /** * string mqtt_account = 4; * @return The mqttAccount. */ @Override public String getMqttAccount() { Object ref = mqttAccount_; if (ref instanceof String) { return (String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; String s = bs.toStringUtf8(); mqttAccount_ = s; return s; } } /** * string mqtt_account = 4; * @return The bytes for mqttAccount. */ @Override public com.google.protobuf.ByteString getMqttAccountBytes() { Object ref = mqttAccount_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (String) ref); mqttAccount_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TIMESTAMP_FIELD_NUMBER = 5; private long timestamp_; /** *
   * 更新时间
   * 
* * int64 timestamp = 5; * @return The timestamp. */ @Override public long getTimestamp() { return timestamp_; } private byte memoizedIsInitialized = -1; @Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vin_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, vin_); } if (userId_ != 0L) { output.writeInt64(2, userId_); } if (getL4CapabilitiesList().size() > 0) { output.writeUInt32NoTag(26); output.writeUInt32NoTag(l4CapabilitiesMemoizedSerializedSize); } for (int i = 0; i < l4Capabilities_.size(); i++) { output.writeEnumNoTag(l4Capabilities_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mqttAccount_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, mqttAccount_); } if (timestamp_ != 0L) { output.writeInt64(5, timestamp_); } unknownFields.writeTo(output); } @Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vin_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, vin_); } if (userId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, userId_); } { int dataSize = 0; for (int i = 0; i < l4Capabilities_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeEnumSizeNoTag(l4Capabilities_.get(i)); } size += dataSize; if (!getL4CapabilitiesList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeUInt32SizeNoTag(dataSize); }l4CapabilitiesMemoizedSerializedSize = dataSize; } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mqttAccount_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, mqttAccount_); } if (timestamp_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(5, timestamp_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @Override public boolean equals(final Object obj) { if (obj == this) { return true; } if (!(obj instanceof L4CapabilityInfo)) { return super.equals(obj); } L4CapabilityInfo other = (L4CapabilityInfo) obj; if (!getVin() .equals(other.getVin())) return false; if (getUserId() != other.getUserId()) return false; if (!l4Capabilities_.equals(other.l4Capabilities_)) return false; if (!getMqttAccount() .equals(other.getMqttAccount())) return false; if (getTimestamp() != other.getTimestamp()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + VIN_FIELD_NUMBER; hash = (53 * hash) + getVin().hashCode(); hash = (37 * hash) + USER_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getUserId()); if (getL4CapabilitiesCount() > 0) { hash = (37 * hash) + L4_CAPABILITIES_FIELD_NUMBER; hash = (53 * hash) + l4Capabilities_.hashCode(); } hash = (37 * hash) + MQTT_ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getMqttAccount().hashCode(); hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTimestamp()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static L4CapabilityInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static L4CapabilityInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static L4CapabilityInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static L4CapabilityInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static L4CapabilityInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static L4CapabilityInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static L4CapabilityInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static L4CapabilityInfo 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 L4CapabilityInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static L4CapabilityInfo 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 L4CapabilityInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static L4CapabilityInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(L4CapabilityInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @Override protected Builder newBuilderForType( BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
   * 设备能力信息(用于状态上报)
   * 
* * Protobuf type {@code acm.proto.intelliservices.rt.L4CapabilityInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:acm.proto.intelliservices.rt.L4CapabilityInfo) L4CapabilityInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return RtSystem.internal_static_acm_proto_intelliservices_rt_L4CapabilityInfo_descriptor; } @Override protected FieldAccessorTable internalGetFieldAccessorTable() { return RtSystem.internal_static_acm_proto_intelliservices_rt_L4CapabilityInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( L4CapabilityInfo.class, Builder.class); } // Construct using com.xiaopeng.api.vo.automaticPilot.protobuf.L4CapabilityInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @Override public Builder clear() { super.clear(); vin_ = ""; userId_ = 0L; l4Capabilities_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); mqttAccount_ = ""; timestamp_ = 0L; return this; } @Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return RtSystem.internal_static_acm_proto_intelliservices_rt_L4CapabilityInfo_descriptor; } @Override public L4CapabilityInfo getDefaultInstanceForType() { return L4CapabilityInfo.getDefaultInstance(); } @Override public L4CapabilityInfo build() { L4CapabilityInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @Override public L4CapabilityInfo buildPartial() { L4CapabilityInfo result = new L4CapabilityInfo(this); int from_bitField0_ = bitField0_; result.vin_ = vin_; result.userId_ = userId_; if (((bitField0_ & 0x00000001) != 0)) { l4Capabilities_ = java.util.Collections.unmodifiableList(l4Capabilities_); bitField0_ = (bitField0_ & ~0x00000001); } result.l4Capabilities_ = l4Capabilities_; result.mqttAccount_ = mqttAccount_; result.timestamp_ = timestamp_; onBuilt(); return result; } @Override public Builder clone() { return super.clone(); } @Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, Object value) { return super.setField(field, value); } @Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return super.setRepeatedField(field, index, value); } @Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, Object value) { return super.addRepeatedField(field, value); } @Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof L4CapabilityInfo) { return mergeFrom((L4CapabilityInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(L4CapabilityInfo other) { if (other == L4CapabilityInfo.getDefaultInstance()) return this; if (!other.getVin().isEmpty()) { vin_ = other.vin_; onChanged(); } if (other.getUserId() != 0L) { setUserId(other.getUserId()); } if (!other.l4Capabilities_.isEmpty()) { if (l4Capabilities_.isEmpty()) { l4Capabilities_ = other.l4Capabilities_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureL4CapabilitiesIsMutable(); l4Capabilities_.addAll(other.l4Capabilities_); } onChanged(); } if (!other.getMqttAccount().isEmpty()) { mqttAccount_ = other.mqttAccount_; onChanged(); } if (other.getTimestamp() != 0L) { setTimestamp(other.getTimestamp()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @Override public final boolean isInitialized() { return true; } @Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { L4CapabilityInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (L4CapabilityInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private Object vin_ = ""; /** *
     * 车辆ID
     * 
* * string vin = 1; * @return The vin. */ public String getVin() { Object ref = vin_; if (!(ref instanceof String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; String s = bs.toStringUtf8(); vin_ = s; return s; } else { return (String) ref; } } /** *
     * 车辆ID
     * 
* * string vin = 1; * @return The bytes for vin. */ public com.google.protobuf.ByteString getVinBytes() { Object ref = vin_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (String) ref); vin_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * 车辆ID
     * 
* * string vin = 1; * @param value The vin to set. * @return This builder for chaining. */ public Builder setVin( String value) { if (value == null) { throw new NullPointerException(); } vin_ = value; onChanged(); return this; } /** *
     * 车辆ID
     * 
* * string vin = 1; * @return This builder for chaining. */ public Builder clearVin() { vin_ = getDefaultInstance().getVin(); onChanged(); return this; } /** *
     * 车辆ID
     * 
* * string vin = 1; * @param value The bytes for vin to set. * @return This builder for chaining. */ public Builder setVinBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); vin_ = value; onChanged(); return this; } private long userId_ ; /** *
     * 用户ID
     * 
* * int64 user_id = 2; * @return The userId. */ @Override public long getUserId() { return userId_; } /** *
     * 用户ID
     * 
* * int64 user_id = 2; * @param value The userId to set. * @return This builder for chaining. */ public Builder setUserId(long value) { userId_ = value; onChanged(); return this; } /** *
     * 用户ID
     * 
* * int64 user_id = 2; * @return This builder for chaining. */ public Builder clearUserId() { userId_ = 0L; onChanged(); return this; } private java.util.List l4Capabilities_ = java.util.Collections.emptyList(); private void ensureL4CapabilitiesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { l4Capabilities_ = new java.util.ArrayList(l4Capabilities_); bitField0_ |= 0x00000001; } } /** *
     * L4功能能力
     * 
* * repeated .acm.proto.intelliservices.rt.L4CapabilityType l4_capabilities = 3; * @return A list containing the l4Capabilities. */ public java.util.List getL4CapabilitiesList() { return new com.google.protobuf.Internal.ListAdapter< Integer, L4CapabilityType>(l4Capabilities_, l4Capabilities_converter_); } /** *
     * L4功能能力
     * 
* * repeated .acm.proto.intelliservices.rt.L4CapabilityType l4_capabilities = 3; * @return The count of l4Capabilities. */ public int getL4CapabilitiesCount() { return l4Capabilities_.size(); } /** *
     * L4功能能力
     * 
* * repeated .acm.proto.intelliservices.rt.L4CapabilityType l4_capabilities = 3; * @param index The index of the element to return. * @return The l4Capabilities at the given index. */ public L4CapabilityType getL4Capabilities(int index) { return l4Capabilities_converter_.convert(l4Capabilities_.get(index)); } /** *
     * L4功能能力
     * 
* * repeated .acm.proto.intelliservices.rt.L4CapabilityType l4_capabilities = 3; * @param index The index to set the value at. * @param value The l4Capabilities to set. * @return This builder for chaining. */ public Builder setL4Capabilities( int index, L4CapabilityType value) { if (value == null) { throw new NullPointerException(); } ensureL4CapabilitiesIsMutable(); l4Capabilities_.set(index, value.getNumber()); onChanged(); return this; } /** *
     * L4功能能力
     * 
* * repeated .acm.proto.intelliservices.rt.L4CapabilityType l4_capabilities = 3; * @param value The l4Capabilities to add. * @return This builder for chaining. */ public Builder addL4Capabilities(L4CapabilityType value) { if (value == null) { throw new NullPointerException(); } ensureL4CapabilitiesIsMutable(); l4Capabilities_.add(value.getNumber()); onChanged(); return this; } /** *
     * L4功能能力
     * 
* * repeated .acm.proto.intelliservices.rt.L4CapabilityType l4_capabilities = 3; * @param values The l4Capabilities to add. * @return This builder for chaining. */ public Builder addAllL4Capabilities( Iterable values) { ensureL4CapabilitiesIsMutable(); for (L4CapabilityType value : values) { l4Capabilities_.add(value.getNumber()); } onChanged(); return this; } /** *
     * L4功能能力
     * 
* * repeated .acm.proto.intelliservices.rt.L4CapabilityType l4_capabilities = 3; * @return This builder for chaining. */ public Builder clearL4Capabilities() { l4Capabilities_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
     * L4功能能力
     * 
* * repeated .acm.proto.intelliservices.rt.L4CapabilityType l4_capabilities = 3; * @return A list containing the enum numeric values on the wire for l4Capabilities. */ public java.util.List getL4CapabilitiesValueList() { return java.util.Collections.unmodifiableList(l4Capabilities_); } /** *
     * L4功能能力
     * 
* * repeated .acm.proto.intelliservices.rt.L4CapabilityType l4_capabilities = 3; * @param index The index of the value to return. * @return The enum numeric value on the wire of l4Capabilities at the given index. */ public int getL4CapabilitiesValue(int index) { return l4Capabilities_.get(index); } /** *
     * L4功能能力
     * 
* * repeated .acm.proto.intelliservices.rt.L4CapabilityType l4_capabilities = 3; * @param index The index of the value to return. * @return The enum numeric value on the wire of l4Capabilities at the given index. * @return This builder for chaining. */ public Builder setL4CapabilitiesValue( int index, int value) { ensureL4CapabilitiesIsMutable(); l4Capabilities_.set(index, value); onChanged(); return this; } /** *
     * L4功能能力
     * 
* * repeated .acm.proto.intelliservices.rt.L4CapabilityType l4_capabilities = 3; * @param value The enum numeric value on the wire for l4Capabilities to add. * @return This builder for chaining. */ public Builder addL4CapabilitiesValue(int value) { ensureL4CapabilitiesIsMutable(); l4Capabilities_.add(value); onChanged(); return this; } /** *
     * L4功能能力
     * 
* * repeated .acm.proto.intelliservices.rt.L4CapabilityType l4_capabilities = 3; * @param values The enum numeric values on the wire for l4Capabilities to add. * @return This builder for chaining. */ public Builder addAllL4CapabilitiesValue( Iterable values) { ensureL4CapabilitiesIsMutable(); for (int value : values) { l4Capabilities_.add(value); } onChanged(); return this; } private Object mqttAccount_ = ""; /** * string mqtt_account = 4; * @return The mqttAccount. */ public String getMqttAccount() { Object ref = mqttAccount_; if (!(ref instanceof String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; String s = bs.toStringUtf8(); mqttAccount_ = s; return s; } else { return (String) ref; } } /** * string mqtt_account = 4; * @return The bytes for mqttAccount. */ public com.google.protobuf.ByteString getMqttAccountBytes() { Object ref = mqttAccount_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (String) ref); mqttAccount_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string mqtt_account = 4; * @param value The mqttAccount to set. * @return This builder for chaining. */ public Builder setMqttAccount( String value) { if (value == null) { throw new NullPointerException(); } mqttAccount_ = value; onChanged(); return this; } /** * string mqtt_account = 4; * @return This builder for chaining. */ public Builder clearMqttAccount() { mqttAccount_ = getDefaultInstance().getMqttAccount(); onChanged(); return this; } /** * string mqtt_account = 4; * @param value The bytes for mqttAccount to set. * @return This builder for chaining. */ public Builder setMqttAccountBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); mqttAccount_ = value; onChanged(); return this; } private long timestamp_ ; /** *
     * 更新时间
     * 
* * int64 timestamp = 5; * @return The timestamp. */ @Override public long getTimestamp() { return timestamp_; } /** *
     * 更新时间
     * 
* * int64 timestamp = 5; * @param value The timestamp to set. * @return This builder for chaining. */ public Builder setTimestamp(long value) { timestamp_ = value; onChanged(); return this; } /** *
     * 更新时间
     * 
* * int64 timestamp = 5; * @return This builder for chaining. */ public Builder clearTimestamp() { timestamp_ = 0L; onChanged(); return this; } @Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:acm.proto.intelliservices.rt.L4CapabilityInfo) } // @@protoc_insertion_point(class_scope:acm.proto.intelliservices.rt.L4CapabilityInfo) private static final L4CapabilityInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new L4CapabilityInfo(); } public static L4CapabilityInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @Override public L4CapabilityInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new L4CapabilityInfo(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @Override public L4CapabilityInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }