diff --git a/src/main/java/club/joylink/rtss/iscs/proto/model/data/bas/BasLocalProto.java b/src/main/java/club/joylink/rtss/iscs/proto/model/data/bas/BasLocalProto.java new file mode 100644 index 000000000..dcf78fd7b --- /dev/null +++ b/src/main/java/club/joylink/rtss/iscs/proto/model/data/bas/BasLocalProto.java @@ -0,0 +1,1300 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: model/bas/BasLocal.proto + +package club.joylink.rtss.iscs.proto.model.data.bas; + +public final class BasLocalProto { + private BasLocalProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface BasLocalOrBuilder extends + // @@protoc_insertion_point(interface_extends:model.bas.BasLocal) + com.google.protobuf.MessageOrBuilder { + + /** + *
+ *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return Whether the identity field is set.
+ */
+ boolean hasIdentity();
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return The identity.
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel getIdentity();
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder getIdentityOrBuilder();
+
+ /**
+ * + *对应车站 + *+ * + *
string station = 2;
+ * @return The station.
+ */
+ java.lang.String getStation();
+ /**
+ * + *对应车站 + *+ * + *
string station = 2;
+ * @return The bytes for station.
+ */
+ com.google.protobuf.ByteString
+ getStationBytes();
+
+ /**
+ * + *端点 A,B端,或是 站厅 + *+ * + *
string endPoint = 3;
+ * @return The endPoint.
+ */
+ java.lang.String getEndPoint();
+ /**
+ * + *端点 A,B端,或是 站厅 + *+ * + *
string endPoint = 3;
+ * @return The bytes for endPoint.
+ */
+ com.google.protobuf.ByteString
+ getEndPointBytes();
+
+ /**
+ * + * 房间 + *+ * + *
string room = 4;
+ * @return The room.
+ */
+ java.lang.String getRoom();
+ /**
+ * + * 房间 + *+ * + *
string room = 4;
+ * @return The bytes for room.
+ */
+ com.google.protobuf.ByteString
+ getRoomBytes();
+ }
+ /**
+ * + *bas 基本信息(房间,端点,车站) + *+ * + * Protobuf type {@code model.bas.BasLocal} + */ + public static final class BasLocal extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:model.bas.BasLocal) + BasLocalOrBuilder { + private static final long serialVersionUID = 0L; + // Use BasLocal.newBuilder() to construct. + private BasLocal(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private BasLocal() { + station_ = ""; + endPoint_ = ""; + room_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new BasLocal(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private BasLocal( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + 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: { + club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder subBuilder = null; + if (identity_ != null) { + subBuilder = identity_.toBuilder(); + } + identity_ = input.readMessage(club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(identity_); + identity_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + station_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + endPoint_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + room_ = s; + 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 { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return club.joylink.rtss.iscs.proto.model.data.bas.BasLocalProto.internal_static_model_bas_BasLocal_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return club.joylink.rtss.iscs.proto.model.data.bas.BasLocalProto.internal_static_model_bas_BasLocal_fieldAccessorTable + .ensureFieldAccessorsInitialized( + club.joylink.rtss.iscs.proto.model.data.bas.BasLocalProto.BasLocal.class, club.joylink.rtss.iscs.proto.model.data.bas.BasLocalProto.BasLocal.Builder.class); + } + + public static final int IDENTITY_FIELD_NUMBER = 1; + private club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel identity_; + /** + *
+ *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return Whether the identity field is set.
+ */
+ @java.lang.Override
+ public boolean hasIdentity() {
+ return identity_ != null;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return The identity.
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel getIdentity() {
+ return identity_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.getDefaultInstance() : identity_;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder getIdentityOrBuilder() {
+ return getIdentity();
+ }
+
+ public static final int STATION_FIELD_NUMBER = 2;
+ private volatile java.lang.Object station_;
+ /**
+ * + *对应车站 + *+ * + *
string station = 2;
+ * @return The station.
+ */
+ @java.lang.Override
+ public java.lang.String getStation() {
+ java.lang.Object ref = station_;
+ 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();
+ station_ = s;
+ return s;
+ }
+ }
+ /**
+ * + *对应车站 + *+ * + *
string station = 2;
+ * @return The bytes for station.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getStationBytes() {
+ java.lang.Object ref = station_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ station_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int ENDPOINT_FIELD_NUMBER = 3;
+ private volatile java.lang.Object endPoint_;
+ /**
+ * + *端点 A,B端,或是 站厅 + *+ * + *
string endPoint = 3;
+ * @return The endPoint.
+ */
+ @java.lang.Override
+ public java.lang.String getEndPoint() {
+ java.lang.Object ref = endPoint_;
+ 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();
+ endPoint_ = s;
+ return s;
+ }
+ }
+ /**
+ * + *端点 A,B端,或是 站厅 + *+ * + *
string endPoint = 3;
+ * @return The bytes for endPoint.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getEndPointBytes() {
+ java.lang.Object ref = endPoint_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ endPoint_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int ROOM_FIELD_NUMBER = 4;
+ private volatile java.lang.Object room_;
+ /**
+ * + * 房间 + *+ * + *
string room = 4;
+ * @return The room.
+ */
+ @java.lang.Override
+ public java.lang.String getRoom() {
+ java.lang.Object ref = room_;
+ 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();
+ room_ = s;
+ return s;
+ }
+ }
+ /**
+ * + * 房间 + *+ * + *
string room = 4;
+ * @return The bytes for room.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getRoomBytes() {
+ java.lang.Object ref = room_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ room_ = 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 (identity_ != null) {
+ output.writeMessage(1, getIdentity());
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(station_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, station_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endPoint_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, endPoint_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(room_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 4, room_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (identity_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, getIdentity());
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(station_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, station_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endPoint_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, endPoint_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(room_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, room_);
+ }
+ 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 club.joylink.rtss.iscs.proto.model.data.bas.BasLocalProto.BasLocal)) {
+ return super.equals(obj);
+ }
+ club.joylink.rtss.iscs.proto.model.data.bas.BasLocalProto.BasLocal other = (club.joylink.rtss.iscs.proto.model.data.bas.BasLocalProto.BasLocal) obj;
+
+ if (hasIdentity() != other.hasIdentity()) return false;
+ if (hasIdentity()) {
+ if (!getIdentity()
+ .equals(other.getIdentity())) return false;
+ }
+ if (!getStation()
+ .equals(other.getStation())) return false;
+ if (!getEndPoint()
+ .equals(other.getEndPoint())) return false;
+ if (!getRoom()
+ .equals(other.getRoom())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasIdentity()) {
+ hash = (37 * hash) + IDENTITY_FIELD_NUMBER;
+ hash = (53 * hash) + getIdentity().hashCode();
+ }
+ hash = (37 * hash) + STATION_FIELD_NUMBER;
+ hash = (53 * hash) + getStation().hashCode();
+ hash = (37 * hash) + ENDPOINT_FIELD_NUMBER;
+ hash = (53 * hash) + getEndPoint().hashCode();
+ hash = (37 * hash) + ROOM_FIELD_NUMBER;
+ hash = (53 * hash) + getRoom().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static club.joylink.rtss.iscs.proto.model.data.bas.BasLocalProto.BasLocal parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.BasLocalProto.BasLocal parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.BasLocalProto.BasLocal parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.BasLocalProto.BasLocal parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.BasLocalProto.BasLocal parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.BasLocalProto.BasLocal parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.BasLocalProto.BasLocal parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.BasLocalProto.BasLocal 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 club.joylink.rtss.iscs.proto.model.data.bas.BasLocalProto.BasLocal parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.BasLocalProto.BasLocal 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 club.joylink.rtss.iscs.proto.model.data.bas.BasLocalProto.BasLocal parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.BasLocalProto.BasLocal 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(club.joylink.rtss.iscs.proto.model.data.bas.BasLocalProto.BasLocal 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;
+ }
+ /**
+ * + *bas 基本信息(房间,端点,车站) + *+ * + * Protobuf type {@code model.bas.BasLocal} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
+ *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return Whether the identity field is set.
+ */
+ public boolean hasIdentity() {
+ return identityBuilder_ != null || identity_ != null;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return The identity.
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel getIdentity() {
+ if (identityBuilder_ == null) {
+ return identity_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.getDefaultInstance() : identity_;
+ } else {
+ return identityBuilder_.getMessage();
+ }
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public Builder setIdentity(club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel value) {
+ if (identityBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ identity_ = value;
+ onChanged();
+ } else {
+ identityBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public Builder setIdentity(
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder builderForValue) {
+ if (identityBuilder_ == null) {
+ identity_ = builderForValue.build();
+ onChanged();
+ } else {
+ identityBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public Builder mergeIdentity(club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel value) {
+ if (identityBuilder_ == null) {
+ if (identity_ != null) {
+ identity_ =
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.newBuilder(identity_).mergeFrom(value).buildPartial();
+ } else {
+ identity_ = value;
+ }
+ onChanged();
+ } else {
+ identityBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public Builder clearIdentity() {
+ if (identityBuilder_ == null) {
+ identity_ = null;
+ onChanged();
+ } else {
+ identity_ = null;
+ identityBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder getIdentityBuilder() {
+
+ onChanged();
+ return getIdentityFieldBuilder().getBuilder();
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder getIdentityOrBuilder() {
+ if (identityBuilder_ != null) {
+ return identityBuilder_.getMessageOrBuilder();
+ } else {
+ return identity_ == null ?
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.getDefaultInstance() : identity_;
+ }
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder>
+ getIdentityFieldBuilder() {
+ if (identityBuilder_ == null) {
+ identityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder>(
+ getIdentity(),
+ getParentForChildren(),
+ isClean());
+ identity_ = null;
+ }
+ return identityBuilder_;
+ }
+
+ private java.lang.Object station_ = "";
+ /**
+ * + *对应车站 + *+ * + *
string station = 2;
+ * @return The station.
+ */
+ public java.lang.String getStation() {
+ java.lang.Object ref = station_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ station_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * + *对应车站 + *+ * + *
string station = 2;
+ * @return The bytes for station.
+ */
+ public com.google.protobuf.ByteString
+ getStationBytes() {
+ java.lang.Object ref = station_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ station_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * + *对应车站 + *+ * + *
string station = 2;
+ * @param value The station to set.
+ * @return This builder for chaining.
+ */
+ public Builder setStation(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ station_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + *对应车站 + *+ * + *
string station = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearStation() {
+
+ station_ = getDefaultInstance().getStation();
+ onChanged();
+ return this;
+ }
+ /**
+ * + *对应车站 + *+ * + *
string station = 2;
+ * @param value The bytes for station to set.
+ * @return This builder for chaining.
+ */
+ public Builder setStationBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ station_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object endPoint_ = "";
+ /**
+ * + *端点 A,B端,或是 站厅 + *+ * + *
string endPoint = 3;
+ * @return The endPoint.
+ */
+ public java.lang.String getEndPoint() {
+ java.lang.Object ref = endPoint_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ endPoint_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * + *端点 A,B端,或是 站厅 + *+ * + *
string endPoint = 3;
+ * @return The bytes for endPoint.
+ */
+ public com.google.protobuf.ByteString
+ getEndPointBytes() {
+ java.lang.Object ref = endPoint_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ endPoint_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * + *端点 A,B端,或是 站厅 + *+ * + *
string endPoint = 3;
+ * @param value The endPoint to set.
+ * @return This builder for chaining.
+ */
+ public Builder setEndPoint(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ endPoint_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + *端点 A,B端,或是 站厅 + *+ * + *
string endPoint = 3;
+ * @return This builder for chaining.
+ */
+ public Builder clearEndPoint() {
+
+ endPoint_ = getDefaultInstance().getEndPoint();
+ onChanged();
+ return this;
+ }
+ /**
+ * + *端点 A,B端,或是 站厅 + *+ * + *
string endPoint = 3;
+ * @param value The bytes for endPoint to set.
+ * @return This builder for chaining.
+ */
+ public Builder setEndPointBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ endPoint_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object room_ = "";
+ /**
+ * + * 房间 + *+ * + *
string room = 4;
+ * @return The room.
+ */
+ public java.lang.String getRoom() {
+ java.lang.Object ref = room_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ room_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * + * 房间 + *+ * + *
string room = 4;
+ * @return The bytes for room.
+ */
+ public com.google.protobuf.ByteString
+ getRoomBytes() {
+ java.lang.Object ref = room_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ room_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * + * 房间 + *+ * + *
string room = 4;
+ * @param value The room to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRoom(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ room_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 房间 + *+ * + *
string room = 4;
+ * @return This builder for chaining.
+ */
+ public Builder clearRoom() {
+
+ room_ = getDefaultInstance().getRoom();
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 房间 + *+ * + *
string room = 4;
+ * @param value The bytes for room to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRoomBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ room_ = value;
+ onChanged();
+ return this;
+ }
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+
+ // @@protoc_insertion_point(builder_scope:model.bas.BasLocal)
+ }
+
+ // @@protoc_insertion_point(class_scope:model.bas.BasLocal)
+ private static final club.joylink.rtss.iscs.proto.model.data.bas.BasLocalProto.BasLocal DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new club.joylink.rtss.iscs.proto.model.data.bas.BasLocalProto.BasLocal();
+ }
+
+ public static club.joylink.rtss.iscs.proto.model.data.bas.BasLocalProto.BasLocal getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return Whether the identity field is set.
+ */
+ boolean hasIdentity();
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return The identity.
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel getIdentity();
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder getIdentityOrBuilder();
+
+ /**
+ * + *网卡 + *+ * + *
.model.nms.DoubleNetwork netcard = 2;
+ * @return Whether the netcard field is set.
+ */
+ boolean hasNetcard();
+ /**
+ * + *网卡 + *+ * + *
.model.nms.DoubleNetwork netcard = 2;
+ * @return The netcard.
+ */
+ club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetwork getNetcard();
+ /**
+ * + *网卡 + *+ * + *
.model.nms.DoubleNetwork netcard = 2;
+ */
+ club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetworkOrBuilder getNetcardOrBuilder();
+
+ /**
+ * + *所在位置 + *basLocal + *+ * + *
.model.ModelRef local = 3;
+ * @return Whether the local field is set.
+ */
+ boolean hasLocal();
+ /**
+ * + *所在位置 + *basLocal + *+ * + *
.model.ModelRef local = 3;
+ * @return The local.
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getLocal();
+ /**
+ * + *所在位置 + *basLocal + *+ * + *
.model.ModelRef local = 3;
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getLocalOrBuilder();
+
+ /**
+ * + *所管辖的bas相关设备 + *+ * + *
repeated .model.ModelRef fasDevices = 4;
+ */
+ java.util.List+ *所管辖的bas相关设备 + *+ * + *
repeated .model.ModelRef fasDevices = 4;
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getFasDevices(int index);
+ /**
+ * + *所管辖的bas相关设备 + *+ * + *
repeated .model.ModelRef fasDevices = 4;
+ */
+ int getFasDevicesCount();
+ /**
+ * + *所管辖的bas相关设备 + *+ * + *
repeated .model.ModelRef fasDevices = 4;
+ */
+ java.util.List extends club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder>
+ getFasDevicesOrBuilderList();
+ /**
+ * + *所管辖的bas相关设备 + *+ * + *
repeated .model.ModelRef fasDevices = 4;
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getFasDevicesOrBuilder(
+ int index);
+ }
+ /**
+ * + *旁通阀开关 + *+ * + * Protobuf type {@code model.bas.BasServer} + */ + public static final class BasServer extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:model.bas.BasServer) + BasServerOrBuilder { + private static final long serialVersionUID = 0L; + // Use BasServer.newBuilder() to construct. + private BasServer(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private BasServer() { + fasDevices_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new BasServer(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private BasServer( + 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: { + club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder subBuilder = null; + if (identity_ != null) { + subBuilder = identity_.toBuilder(); + } + identity_ = input.readMessage(club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(identity_); + identity_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetwork.Builder subBuilder = null; + if (netcard_ != null) { + subBuilder = netcard_.toBuilder(); + } + netcard_ = input.readMessage(club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetwork.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(netcard_); + netcard_ = subBuilder.buildPartial(); + } + + break; + } + case 26: { + club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder subBuilder = null; + if (local_ != null) { + subBuilder = local_.toBuilder(); + } + local_ = input.readMessage(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(local_); + local_ = subBuilder.buildPartial(); + } + + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + fasDevices_ = new java.util.ArrayList
+ *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return Whether the identity field is set.
+ */
+ @java.lang.Override
+ public boolean hasIdentity() {
+ return identity_ != null;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return The identity.
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel getIdentity() {
+ return identity_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.getDefaultInstance() : identity_;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder getIdentityOrBuilder() {
+ return getIdentity();
+ }
+
+ public static final int NETCARD_FIELD_NUMBER = 2;
+ private club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetwork netcard_;
+ /**
+ * + *网卡 + *+ * + *
.model.nms.DoubleNetwork netcard = 2;
+ * @return Whether the netcard field is set.
+ */
+ @java.lang.Override
+ public boolean hasNetcard() {
+ return netcard_ != null;
+ }
+ /**
+ * + *网卡 + *+ * + *
.model.nms.DoubleNetwork netcard = 2;
+ * @return The netcard.
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetwork getNetcard() {
+ return netcard_ == null ? club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetwork.getDefaultInstance() : netcard_;
+ }
+ /**
+ * + *网卡 + *+ * + *
.model.nms.DoubleNetwork netcard = 2;
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetworkOrBuilder getNetcardOrBuilder() {
+ return getNetcard();
+ }
+
+ public static final int LOCAL_FIELD_NUMBER = 3;
+ private club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef local_;
+ /**
+ * + *所在位置 + *basLocal + *+ * + *
.model.ModelRef local = 3;
+ * @return Whether the local field is set.
+ */
+ @java.lang.Override
+ public boolean hasLocal() {
+ return local_ != null;
+ }
+ /**
+ * + *所在位置 + *basLocal + *+ * + *
.model.ModelRef local = 3;
+ * @return The local.
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getLocal() {
+ return local_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : local_;
+ }
+ /**
+ * + *所在位置 + *basLocal + *+ * + *
.model.ModelRef local = 3;
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getLocalOrBuilder() {
+ return getLocal();
+ }
+
+ public static final int FASDEVICES_FIELD_NUMBER = 4;
+ private java.util.List+ *所管辖的bas相关设备 + *+ * + *
repeated .model.ModelRef fasDevices = 4;
+ */
+ @java.lang.Override
+ public java.util.List+ *所管辖的bas相关设备 + *+ * + *
repeated .model.ModelRef fasDevices = 4;
+ */
+ @java.lang.Override
+ public java.util.List extends club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder>
+ getFasDevicesOrBuilderList() {
+ return fasDevices_;
+ }
+ /**
+ * + *所管辖的bas相关设备 + *+ * + *
repeated .model.ModelRef fasDevices = 4;
+ */
+ @java.lang.Override
+ public int getFasDevicesCount() {
+ return fasDevices_.size();
+ }
+ /**
+ * + *所管辖的bas相关设备 + *+ * + *
repeated .model.ModelRef fasDevices = 4;
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getFasDevices(int index) {
+ return fasDevices_.get(index);
+ }
+ /**
+ * + *所管辖的bas相关设备 + *+ * + *
repeated .model.ModelRef fasDevices = 4;
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getFasDevicesOrBuilder(
+ int index) {
+ return fasDevices_.get(index);
+ }
+
+ 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 (identity_ != null) {
+ output.writeMessage(1, getIdentity());
+ }
+ if (netcard_ != null) {
+ output.writeMessage(2, getNetcard());
+ }
+ if (local_ != null) {
+ output.writeMessage(3, getLocal());
+ }
+ for (int i = 0; i < fasDevices_.size(); i++) {
+ output.writeMessage(4, fasDevices_.get(i));
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (identity_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, getIdentity());
+ }
+ if (netcard_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(2, getNetcard());
+ }
+ if (local_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(3, getLocal());
+ }
+ for (int i = 0; i < fasDevices_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(4, fasDevices_.get(i));
+ }
+ 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 club.joylink.rtss.iscs.proto.model.data.bas.BasServerProto.BasServer)) {
+ return super.equals(obj);
+ }
+ club.joylink.rtss.iscs.proto.model.data.bas.BasServerProto.BasServer other = (club.joylink.rtss.iscs.proto.model.data.bas.BasServerProto.BasServer) obj;
+
+ if (hasIdentity() != other.hasIdentity()) return false;
+ if (hasIdentity()) {
+ if (!getIdentity()
+ .equals(other.getIdentity())) return false;
+ }
+ if (hasNetcard() != other.hasNetcard()) return false;
+ if (hasNetcard()) {
+ if (!getNetcard()
+ .equals(other.getNetcard())) return false;
+ }
+ if (hasLocal() != other.hasLocal()) return false;
+ if (hasLocal()) {
+ if (!getLocal()
+ .equals(other.getLocal())) return false;
+ }
+ if (!getFasDevicesList()
+ .equals(other.getFasDevicesList())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasIdentity()) {
+ hash = (37 * hash) + IDENTITY_FIELD_NUMBER;
+ hash = (53 * hash) + getIdentity().hashCode();
+ }
+ if (hasNetcard()) {
+ hash = (37 * hash) + NETCARD_FIELD_NUMBER;
+ hash = (53 * hash) + getNetcard().hashCode();
+ }
+ if (hasLocal()) {
+ hash = (37 * hash) + LOCAL_FIELD_NUMBER;
+ hash = (53 * hash) + getLocal().hashCode();
+ }
+ if (getFasDevicesCount() > 0) {
+ hash = (37 * hash) + FASDEVICES_FIELD_NUMBER;
+ hash = (53 * hash) + getFasDevicesList().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static club.joylink.rtss.iscs.proto.model.data.bas.BasServerProto.BasServer parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.BasServerProto.BasServer parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.BasServerProto.BasServer parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.BasServerProto.BasServer parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.BasServerProto.BasServer parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.BasServerProto.BasServer parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.BasServerProto.BasServer parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.BasServerProto.BasServer 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 club.joylink.rtss.iscs.proto.model.data.bas.BasServerProto.BasServer parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.BasServerProto.BasServer 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 club.joylink.rtss.iscs.proto.model.data.bas.BasServerProto.BasServer parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.BasServerProto.BasServer 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(club.joylink.rtss.iscs.proto.model.data.bas.BasServerProto.BasServer 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 model.bas.BasServer} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
+ *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return Whether the identity field is set.
+ */
+ public boolean hasIdentity() {
+ return identityBuilder_ != null || identity_ != null;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return The identity.
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel getIdentity() {
+ if (identityBuilder_ == null) {
+ return identity_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.getDefaultInstance() : identity_;
+ } else {
+ return identityBuilder_.getMessage();
+ }
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public Builder setIdentity(club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel value) {
+ if (identityBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ identity_ = value;
+ onChanged();
+ } else {
+ identityBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public Builder setIdentity(
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder builderForValue) {
+ if (identityBuilder_ == null) {
+ identity_ = builderForValue.build();
+ onChanged();
+ } else {
+ identityBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public Builder mergeIdentity(club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel value) {
+ if (identityBuilder_ == null) {
+ if (identity_ != null) {
+ identity_ =
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.newBuilder(identity_).mergeFrom(value).buildPartial();
+ } else {
+ identity_ = value;
+ }
+ onChanged();
+ } else {
+ identityBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public Builder clearIdentity() {
+ if (identityBuilder_ == null) {
+ identity_ = null;
+ onChanged();
+ } else {
+ identity_ = null;
+ identityBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder getIdentityBuilder() {
+
+ onChanged();
+ return getIdentityFieldBuilder().getBuilder();
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder getIdentityOrBuilder() {
+ if (identityBuilder_ != null) {
+ return identityBuilder_.getMessageOrBuilder();
+ } else {
+ return identity_ == null ?
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.getDefaultInstance() : identity_;
+ }
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder>
+ getIdentityFieldBuilder() {
+ if (identityBuilder_ == null) {
+ identityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder>(
+ getIdentity(),
+ getParentForChildren(),
+ isClean());
+ identity_ = null;
+ }
+ return identityBuilder_;
+ }
+
+ private club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetwork netcard_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetwork, club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetwork.Builder, club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetworkOrBuilder> netcardBuilder_;
+ /**
+ * + *网卡 + *+ * + *
.model.nms.DoubleNetwork netcard = 2;
+ * @return Whether the netcard field is set.
+ */
+ public boolean hasNetcard() {
+ return netcardBuilder_ != null || netcard_ != null;
+ }
+ /**
+ * + *网卡 + *+ * + *
.model.nms.DoubleNetwork netcard = 2;
+ * @return The netcard.
+ */
+ public club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetwork getNetcard() {
+ if (netcardBuilder_ == null) {
+ return netcard_ == null ? club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetwork.getDefaultInstance() : netcard_;
+ } else {
+ return netcardBuilder_.getMessage();
+ }
+ }
+ /**
+ * + *网卡 + *+ * + *
.model.nms.DoubleNetwork netcard = 2;
+ */
+ public Builder setNetcard(club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetwork value) {
+ if (netcardBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ netcard_ = value;
+ onChanged();
+ } else {
+ netcardBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *网卡 + *+ * + *
.model.nms.DoubleNetwork netcard = 2;
+ */
+ public Builder setNetcard(
+ club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetwork.Builder builderForValue) {
+ if (netcardBuilder_ == null) {
+ netcard_ = builderForValue.build();
+ onChanged();
+ } else {
+ netcardBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + *网卡 + *+ * + *
.model.nms.DoubleNetwork netcard = 2;
+ */
+ public Builder mergeNetcard(club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetwork value) {
+ if (netcardBuilder_ == null) {
+ if (netcard_ != null) {
+ netcard_ =
+ club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetwork.newBuilder(netcard_).mergeFrom(value).buildPartial();
+ } else {
+ netcard_ = value;
+ }
+ onChanged();
+ } else {
+ netcardBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *网卡 + *+ * + *
.model.nms.DoubleNetwork netcard = 2;
+ */
+ public Builder clearNetcard() {
+ if (netcardBuilder_ == null) {
+ netcard_ = null;
+ onChanged();
+ } else {
+ netcard_ = null;
+ netcardBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + *网卡 + *+ * + *
.model.nms.DoubleNetwork netcard = 2;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetwork.Builder getNetcardBuilder() {
+
+ onChanged();
+ return getNetcardFieldBuilder().getBuilder();
+ }
+ /**
+ * + *网卡 + *+ * + *
.model.nms.DoubleNetwork netcard = 2;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetworkOrBuilder getNetcardOrBuilder() {
+ if (netcardBuilder_ != null) {
+ return netcardBuilder_.getMessageOrBuilder();
+ } else {
+ return netcard_ == null ?
+ club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetwork.getDefaultInstance() : netcard_;
+ }
+ }
+ /**
+ * + *网卡 + *+ * + *
.model.nms.DoubleNetwork netcard = 2;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetwork, club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetwork.Builder, club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetworkOrBuilder>
+ getNetcardFieldBuilder() {
+ if (netcardBuilder_ == null) {
+ netcardBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetwork, club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetwork.Builder, club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetworkOrBuilder>(
+ getNetcard(),
+ getParentForChildren(),
+ isClean());
+ netcard_ = null;
+ }
+ return netcardBuilder_;
+ }
+
+ private club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef local_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder> localBuilder_;
+ /**
+ * + *所在位置 + *basLocal + *+ * + *
.model.ModelRef local = 3;
+ * @return Whether the local field is set.
+ */
+ public boolean hasLocal() {
+ return localBuilder_ != null || local_ != null;
+ }
+ /**
+ * + *所在位置 + *basLocal + *+ * + *
.model.ModelRef local = 3;
+ * @return The local.
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getLocal() {
+ if (localBuilder_ == null) {
+ return local_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : local_;
+ } else {
+ return localBuilder_.getMessage();
+ }
+ }
+ /**
+ * + *所在位置 + *basLocal + *+ * + *
.model.ModelRef local = 3;
+ */
+ public Builder setLocal(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef value) {
+ if (localBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ local_ = value;
+ onChanged();
+ } else {
+ localBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *所在位置 + *basLocal + *+ * + *
.model.ModelRef local = 3;
+ */
+ public Builder setLocal(
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder builderForValue) {
+ if (localBuilder_ == null) {
+ local_ = builderForValue.build();
+ onChanged();
+ } else {
+ localBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + *所在位置 + *basLocal + *+ * + *
.model.ModelRef local = 3;
+ */
+ public Builder mergeLocal(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef value) {
+ if (localBuilder_ == null) {
+ if (local_ != null) {
+ local_ =
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.newBuilder(local_).mergeFrom(value).buildPartial();
+ } else {
+ local_ = value;
+ }
+ onChanged();
+ } else {
+ localBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *所在位置 + *basLocal + *+ * + *
.model.ModelRef local = 3;
+ */
+ public Builder clearLocal() {
+ if (localBuilder_ == null) {
+ local_ = null;
+ onChanged();
+ } else {
+ local_ = null;
+ localBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + *所在位置 + *basLocal + *+ * + *
.model.ModelRef local = 3;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder getLocalBuilder() {
+
+ onChanged();
+ return getLocalFieldBuilder().getBuilder();
+ }
+ /**
+ * + *所在位置 + *basLocal + *+ * + *
.model.ModelRef local = 3;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getLocalOrBuilder() {
+ if (localBuilder_ != null) {
+ return localBuilder_.getMessageOrBuilder();
+ } else {
+ return local_ == null ?
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : local_;
+ }
+ }
+ /**
+ * + *所在位置 + *basLocal + *+ * + *
.model.ModelRef local = 3;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder>
+ getLocalFieldBuilder() {
+ if (localBuilder_ == null) {
+ localBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder>(
+ getLocal(),
+ getParentForChildren(),
+ isClean());
+ local_ = null;
+ }
+ return localBuilder_;
+ }
+
+ private java.util.List+ *所管辖的bas相关设备 + *+ * + *
repeated .model.ModelRef fasDevices = 4;
+ */
+ public java.util.List+ *所管辖的bas相关设备 + *+ * + *
repeated .model.ModelRef fasDevices = 4;
+ */
+ public int getFasDevicesCount() {
+ if (fasDevicesBuilder_ == null) {
+ return fasDevices_.size();
+ } else {
+ return fasDevicesBuilder_.getCount();
+ }
+ }
+ /**
+ * + *所管辖的bas相关设备 + *+ * + *
repeated .model.ModelRef fasDevices = 4;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getFasDevices(int index) {
+ if (fasDevicesBuilder_ == null) {
+ return fasDevices_.get(index);
+ } else {
+ return fasDevicesBuilder_.getMessage(index);
+ }
+ }
+ /**
+ * + *所管辖的bas相关设备 + *+ * + *
repeated .model.ModelRef fasDevices = 4;
+ */
+ public Builder setFasDevices(
+ int index, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef value) {
+ if (fasDevicesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureFasDevicesIsMutable();
+ fasDevices_.set(index, value);
+ onChanged();
+ } else {
+ fasDevicesBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * + *所管辖的bas相关设备 + *+ * + *
repeated .model.ModelRef fasDevices = 4;
+ */
+ public Builder setFasDevices(
+ int index, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder builderForValue) {
+ if (fasDevicesBuilder_ == null) {
+ ensureFasDevicesIsMutable();
+ fasDevices_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ fasDevicesBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + *所管辖的bas相关设备 + *+ * + *
repeated .model.ModelRef fasDevices = 4;
+ */
+ public Builder addFasDevices(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef value) {
+ if (fasDevicesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureFasDevicesIsMutable();
+ fasDevices_.add(value);
+ onChanged();
+ } else {
+ fasDevicesBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ * + *所管辖的bas相关设备 + *+ * + *
repeated .model.ModelRef fasDevices = 4;
+ */
+ public Builder addFasDevices(
+ int index, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef value) {
+ if (fasDevicesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureFasDevicesIsMutable();
+ fasDevices_.add(index, value);
+ onChanged();
+ } else {
+ fasDevicesBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * + *所管辖的bas相关设备 + *+ * + *
repeated .model.ModelRef fasDevices = 4;
+ */
+ public Builder addFasDevices(
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder builderForValue) {
+ if (fasDevicesBuilder_ == null) {
+ ensureFasDevicesIsMutable();
+ fasDevices_.add(builderForValue.build());
+ onChanged();
+ } else {
+ fasDevicesBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + *所管辖的bas相关设备 + *+ * + *
repeated .model.ModelRef fasDevices = 4;
+ */
+ public Builder addFasDevices(
+ int index, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder builderForValue) {
+ if (fasDevicesBuilder_ == null) {
+ ensureFasDevicesIsMutable();
+ fasDevices_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ fasDevicesBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + *所管辖的bas相关设备 + *+ * + *
repeated .model.ModelRef fasDevices = 4;
+ */
+ public Builder addAllFasDevices(
+ java.lang.Iterable extends club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef> values) {
+ if (fasDevicesBuilder_ == null) {
+ ensureFasDevicesIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, fasDevices_);
+ onChanged();
+ } else {
+ fasDevicesBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ * + *所管辖的bas相关设备 + *+ * + *
repeated .model.ModelRef fasDevices = 4;
+ */
+ public Builder clearFasDevices() {
+ if (fasDevicesBuilder_ == null) {
+ fasDevices_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ } else {
+ fasDevicesBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ * + *所管辖的bas相关设备 + *+ * + *
repeated .model.ModelRef fasDevices = 4;
+ */
+ public Builder removeFasDevices(int index) {
+ if (fasDevicesBuilder_ == null) {
+ ensureFasDevicesIsMutable();
+ fasDevices_.remove(index);
+ onChanged();
+ } else {
+ fasDevicesBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ * + *所管辖的bas相关设备 + *+ * + *
repeated .model.ModelRef fasDevices = 4;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder getFasDevicesBuilder(
+ int index) {
+ return getFasDevicesFieldBuilder().getBuilder(index);
+ }
+ /**
+ * + *所管辖的bas相关设备 + *+ * + *
repeated .model.ModelRef fasDevices = 4;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getFasDevicesOrBuilder(
+ int index) {
+ if (fasDevicesBuilder_ == null) {
+ return fasDevices_.get(index); } else {
+ return fasDevicesBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ * + *所管辖的bas相关设备 + *+ * + *
repeated .model.ModelRef fasDevices = 4;
+ */
+ public java.util.List extends club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder>
+ getFasDevicesOrBuilderList() {
+ if (fasDevicesBuilder_ != null) {
+ return fasDevicesBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(fasDevices_);
+ }
+ }
+ /**
+ * + *所管辖的bas相关设备 + *+ * + *
repeated .model.ModelRef fasDevices = 4;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder addFasDevicesBuilder() {
+ return getFasDevicesFieldBuilder().addBuilder(
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance());
+ }
+ /**
+ * + *所管辖的bas相关设备 + *+ * + *
repeated .model.ModelRef fasDevices = 4;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder addFasDevicesBuilder(
+ int index) {
+ return getFasDevicesFieldBuilder().addBuilder(
+ index, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance());
+ }
+ /**
+ * + *所管辖的bas相关设备 + *+ * + *
repeated .model.ModelRef fasDevices = 4;
+ */
+ public java.util.List+ *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return Whether the identity field is set.
+ */
+ boolean hasIdentity();
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return The identity.
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel getIdentity();
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder getIdentityOrBuilder();
+
+ /**
+ * + *消防私服主机 + *FireControlHost + *+ * + *
.model.ModelRef hostRef = 2;
+ * @return Whether the hostRef field is set.
+ */
+ boolean hasHostRef();
+ /**
+ * + *消防私服主机 + *FireControlHost + *+ * + *
.model.ModelRef hostRef = 2;
+ * @return The hostRef.
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getHostRef();
+ /**
+ * + *消防私服主机 + *FireControlHost + *+ * + *
.model.ModelRef hostRef = 2;
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getHostRefOrBuilder();
+
+ /**
+ * + *所在位置 + *basLocal + *+ * + *
.model.ModelRef local = 3;
+ * @return Whether the local field is set.
+ */
+ boolean hasLocal();
+ /**
+ * + *所在位置 + *basLocal + *+ * + *
.model.ModelRef local = 3;
+ * @return The local.
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getLocal();
+ /**
+ * + *所在位置 + *basLocal + *+ * + *
.model.ModelRef local = 3;
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getLocalOrBuilder();
+ }
+ /**
+ * + *冷冻水泵 + *+ * + * Protobuf type {@code model.bas.pump.ChilledWaterPump} + */ + public static final class ChilledWaterPump extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:model.bas.pump.ChilledWaterPump) + ChilledWaterPumpOrBuilder { + private static final long serialVersionUID = 0L; + // Use ChilledWaterPump.newBuilder() to construct. + private ChilledWaterPump(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private ChilledWaterPump() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ChilledWaterPump(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ChilledWaterPump( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + 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: { + club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder subBuilder = null; + if (identity_ != null) { + subBuilder = identity_.toBuilder(); + } + identity_ = input.readMessage(club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(identity_); + identity_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder subBuilder = null; + if (hostRef_ != null) { + subBuilder = hostRef_.toBuilder(); + } + hostRef_ = input.readMessage(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(hostRef_); + hostRef_ = subBuilder.buildPartial(); + } + + break; + } + case 26: { + club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder subBuilder = null; + if (local_ != null) { + subBuilder = local_.toBuilder(); + } + local_ = input.readMessage(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(local_); + local_ = subBuilder.buildPartial(); + } + + 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 { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return club.joylink.rtss.iscs.proto.model.data.bas.pump.ChilledWaterPumpProto.internal_static_model_bas_pump_ChilledWaterPump_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return club.joylink.rtss.iscs.proto.model.data.bas.pump.ChilledWaterPumpProto.internal_static_model_bas_pump_ChilledWaterPump_fieldAccessorTable + .ensureFieldAccessorsInitialized( + club.joylink.rtss.iscs.proto.model.data.bas.pump.ChilledWaterPumpProto.ChilledWaterPump.class, club.joylink.rtss.iscs.proto.model.data.bas.pump.ChilledWaterPumpProto.ChilledWaterPump.Builder.class); + } + + public static final int IDENTITY_FIELD_NUMBER = 1; + private club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel identity_; + /** + *
+ *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return Whether the identity field is set.
+ */
+ @java.lang.Override
+ public boolean hasIdentity() {
+ return identity_ != null;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return The identity.
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel getIdentity() {
+ return identity_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.getDefaultInstance() : identity_;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder getIdentityOrBuilder() {
+ return getIdentity();
+ }
+
+ public static final int HOSTREF_FIELD_NUMBER = 2;
+ private club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef hostRef_;
+ /**
+ * + *消防私服主机 + *FireControlHost + *+ * + *
.model.ModelRef hostRef = 2;
+ * @return Whether the hostRef field is set.
+ */
+ @java.lang.Override
+ public boolean hasHostRef() {
+ return hostRef_ != null;
+ }
+ /**
+ * + *消防私服主机 + *FireControlHost + *+ * + *
.model.ModelRef hostRef = 2;
+ * @return The hostRef.
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getHostRef() {
+ return hostRef_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : hostRef_;
+ }
+ /**
+ * + *消防私服主机 + *FireControlHost + *+ * + *
.model.ModelRef hostRef = 2;
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getHostRefOrBuilder() {
+ return getHostRef();
+ }
+
+ public static final int LOCAL_FIELD_NUMBER = 3;
+ private club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef local_;
+ /**
+ * + *所在位置 + *basLocal + *+ * + *
.model.ModelRef local = 3;
+ * @return Whether the local field is set.
+ */
+ @java.lang.Override
+ public boolean hasLocal() {
+ return local_ != null;
+ }
+ /**
+ * + *所在位置 + *basLocal + *+ * + *
.model.ModelRef local = 3;
+ * @return The local.
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getLocal() {
+ return local_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : local_;
+ }
+ /**
+ * + *所在位置 + *basLocal + *+ * + *
.model.ModelRef local = 3;
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getLocalOrBuilder() {
+ return getLocal();
+ }
+
+ 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 (identity_ != null) {
+ output.writeMessage(1, getIdentity());
+ }
+ if (hostRef_ != null) {
+ output.writeMessage(2, getHostRef());
+ }
+ if (local_ != null) {
+ output.writeMessage(3, getLocal());
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (identity_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, getIdentity());
+ }
+ if (hostRef_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(2, getHostRef());
+ }
+ if (local_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(3, getLocal());
+ }
+ 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 club.joylink.rtss.iscs.proto.model.data.bas.pump.ChilledWaterPumpProto.ChilledWaterPump)) {
+ return super.equals(obj);
+ }
+ club.joylink.rtss.iscs.proto.model.data.bas.pump.ChilledWaterPumpProto.ChilledWaterPump other = (club.joylink.rtss.iscs.proto.model.data.bas.pump.ChilledWaterPumpProto.ChilledWaterPump) obj;
+
+ if (hasIdentity() != other.hasIdentity()) return false;
+ if (hasIdentity()) {
+ if (!getIdentity()
+ .equals(other.getIdentity())) return false;
+ }
+ if (hasHostRef() != other.hasHostRef()) return false;
+ if (hasHostRef()) {
+ if (!getHostRef()
+ .equals(other.getHostRef())) return false;
+ }
+ if (hasLocal() != other.hasLocal()) return false;
+ if (hasLocal()) {
+ if (!getLocal()
+ .equals(other.getLocal())) return false;
+ }
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasIdentity()) {
+ hash = (37 * hash) + IDENTITY_FIELD_NUMBER;
+ hash = (53 * hash) + getIdentity().hashCode();
+ }
+ if (hasHostRef()) {
+ hash = (37 * hash) + HOSTREF_FIELD_NUMBER;
+ hash = (53 * hash) + getHostRef().hashCode();
+ }
+ if (hasLocal()) {
+ hash = (37 * hash) + LOCAL_FIELD_NUMBER;
+ hash = (53 * hash) + getLocal().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static club.joylink.rtss.iscs.proto.model.data.bas.pump.ChilledWaterPumpProto.ChilledWaterPump parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.pump.ChilledWaterPumpProto.ChilledWaterPump parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.pump.ChilledWaterPumpProto.ChilledWaterPump parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.pump.ChilledWaterPumpProto.ChilledWaterPump parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.pump.ChilledWaterPumpProto.ChilledWaterPump parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.pump.ChilledWaterPumpProto.ChilledWaterPump parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.pump.ChilledWaterPumpProto.ChilledWaterPump parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.pump.ChilledWaterPumpProto.ChilledWaterPump 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 club.joylink.rtss.iscs.proto.model.data.bas.pump.ChilledWaterPumpProto.ChilledWaterPump parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.pump.ChilledWaterPumpProto.ChilledWaterPump 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 club.joylink.rtss.iscs.proto.model.data.bas.pump.ChilledWaterPumpProto.ChilledWaterPump parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.pump.ChilledWaterPumpProto.ChilledWaterPump 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(club.joylink.rtss.iscs.proto.model.data.bas.pump.ChilledWaterPumpProto.ChilledWaterPump 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 model.bas.pump.ChilledWaterPump} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
+ *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return Whether the identity field is set.
+ */
+ public boolean hasIdentity() {
+ return identityBuilder_ != null || identity_ != null;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return The identity.
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel getIdentity() {
+ if (identityBuilder_ == null) {
+ return identity_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.getDefaultInstance() : identity_;
+ } else {
+ return identityBuilder_.getMessage();
+ }
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public Builder setIdentity(club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel value) {
+ if (identityBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ identity_ = value;
+ onChanged();
+ } else {
+ identityBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public Builder setIdentity(
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder builderForValue) {
+ if (identityBuilder_ == null) {
+ identity_ = builderForValue.build();
+ onChanged();
+ } else {
+ identityBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public Builder mergeIdentity(club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel value) {
+ if (identityBuilder_ == null) {
+ if (identity_ != null) {
+ identity_ =
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.newBuilder(identity_).mergeFrom(value).buildPartial();
+ } else {
+ identity_ = value;
+ }
+ onChanged();
+ } else {
+ identityBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public Builder clearIdentity() {
+ if (identityBuilder_ == null) {
+ identity_ = null;
+ onChanged();
+ } else {
+ identity_ = null;
+ identityBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder getIdentityBuilder() {
+
+ onChanged();
+ return getIdentityFieldBuilder().getBuilder();
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder getIdentityOrBuilder() {
+ if (identityBuilder_ != null) {
+ return identityBuilder_.getMessageOrBuilder();
+ } else {
+ return identity_ == null ?
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.getDefaultInstance() : identity_;
+ }
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder>
+ getIdentityFieldBuilder() {
+ if (identityBuilder_ == null) {
+ identityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder>(
+ getIdentity(),
+ getParentForChildren(),
+ isClean());
+ identity_ = null;
+ }
+ return identityBuilder_;
+ }
+
+ private club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef hostRef_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder> hostRefBuilder_;
+ /**
+ * + *消防私服主机 + *FireControlHost + *+ * + *
.model.ModelRef hostRef = 2;
+ * @return Whether the hostRef field is set.
+ */
+ public boolean hasHostRef() {
+ return hostRefBuilder_ != null || hostRef_ != null;
+ }
+ /**
+ * + *消防私服主机 + *FireControlHost + *+ * + *
.model.ModelRef hostRef = 2;
+ * @return The hostRef.
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getHostRef() {
+ if (hostRefBuilder_ == null) {
+ return hostRef_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : hostRef_;
+ } else {
+ return hostRefBuilder_.getMessage();
+ }
+ }
+ /**
+ * + *消防私服主机 + *FireControlHost + *+ * + *
.model.ModelRef hostRef = 2;
+ */
+ public Builder setHostRef(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef value) {
+ if (hostRefBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ hostRef_ = value;
+ onChanged();
+ } else {
+ hostRefBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *消防私服主机 + *FireControlHost + *+ * + *
.model.ModelRef hostRef = 2;
+ */
+ public Builder setHostRef(
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder builderForValue) {
+ if (hostRefBuilder_ == null) {
+ hostRef_ = builderForValue.build();
+ onChanged();
+ } else {
+ hostRefBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + *消防私服主机 + *FireControlHost + *+ * + *
.model.ModelRef hostRef = 2;
+ */
+ public Builder mergeHostRef(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef value) {
+ if (hostRefBuilder_ == null) {
+ if (hostRef_ != null) {
+ hostRef_ =
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.newBuilder(hostRef_).mergeFrom(value).buildPartial();
+ } else {
+ hostRef_ = value;
+ }
+ onChanged();
+ } else {
+ hostRefBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *消防私服主机 + *FireControlHost + *+ * + *
.model.ModelRef hostRef = 2;
+ */
+ public Builder clearHostRef() {
+ if (hostRefBuilder_ == null) {
+ hostRef_ = null;
+ onChanged();
+ } else {
+ hostRef_ = null;
+ hostRefBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + *消防私服主机 + *FireControlHost + *+ * + *
.model.ModelRef hostRef = 2;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder getHostRefBuilder() {
+
+ onChanged();
+ return getHostRefFieldBuilder().getBuilder();
+ }
+ /**
+ * + *消防私服主机 + *FireControlHost + *+ * + *
.model.ModelRef hostRef = 2;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getHostRefOrBuilder() {
+ if (hostRefBuilder_ != null) {
+ return hostRefBuilder_.getMessageOrBuilder();
+ } else {
+ return hostRef_ == null ?
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : hostRef_;
+ }
+ }
+ /**
+ * + *消防私服主机 + *FireControlHost + *+ * + *
.model.ModelRef hostRef = 2;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder>
+ getHostRefFieldBuilder() {
+ if (hostRefBuilder_ == null) {
+ hostRefBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder>(
+ getHostRef(),
+ getParentForChildren(),
+ isClean());
+ hostRef_ = null;
+ }
+ return hostRefBuilder_;
+ }
+
+ private club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef local_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder> localBuilder_;
+ /**
+ * + *所在位置 + *basLocal + *+ * + *
.model.ModelRef local = 3;
+ * @return Whether the local field is set.
+ */
+ public boolean hasLocal() {
+ return localBuilder_ != null || local_ != null;
+ }
+ /**
+ * + *所在位置 + *basLocal + *+ * + *
.model.ModelRef local = 3;
+ * @return The local.
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getLocal() {
+ if (localBuilder_ == null) {
+ return local_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : local_;
+ } else {
+ return localBuilder_.getMessage();
+ }
+ }
+ /**
+ * + *所在位置 + *basLocal + *+ * + *
.model.ModelRef local = 3;
+ */
+ public Builder setLocal(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef value) {
+ if (localBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ local_ = value;
+ onChanged();
+ } else {
+ localBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *所在位置 + *basLocal + *+ * + *
.model.ModelRef local = 3;
+ */
+ public Builder setLocal(
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder builderForValue) {
+ if (localBuilder_ == null) {
+ local_ = builderForValue.build();
+ onChanged();
+ } else {
+ localBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + *所在位置 + *basLocal + *+ * + *
.model.ModelRef local = 3;
+ */
+ public Builder mergeLocal(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef value) {
+ if (localBuilder_ == null) {
+ if (local_ != null) {
+ local_ =
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.newBuilder(local_).mergeFrom(value).buildPartial();
+ } else {
+ local_ = value;
+ }
+ onChanged();
+ } else {
+ localBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *所在位置 + *basLocal + *+ * + *
.model.ModelRef local = 3;
+ */
+ public Builder clearLocal() {
+ if (localBuilder_ == null) {
+ local_ = null;
+ onChanged();
+ } else {
+ local_ = null;
+ localBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + *所在位置 + *basLocal + *+ * + *
.model.ModelRef local = 3;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder getLocalBuilder() {
+
+ onChanged();
+ return getLocalFieldBuilder().getBuilder();
+ }
+ /**
+ * + *所在位置 + *basLocal + *+ * + *
.model.ModelRef local = 3;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getLocalOrBuilder() {
+ if (localBuilder_ != null) {
+ return localBuilder_.getMessageOrBuilder();
+ } else {
+ return local_ == null ?
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : local_;
+ }
+ }
+ /**
+ * + *所在位置 + *basLocal + *+ * + *
.model.ModelRef local = 3;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder>
+ getLocalFieldBuilder() {
+ if (localBuilder_ == null) {
+ localBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder>(
+ getLocal(),
+ getParentForChildren(),
+ isClean());
+ local_ = null;
+ }
+ return localBuilder_;
+ }
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+
+ // @@protoc_insertion_point(builder_scope:model.bas.pump.ChilledWaterPump)
+ }
+
+ // @@protoc_insertion_point(class_scope:model.bas.pump.ChilledWaterPump)
+ private static final club.joylink.rtss.iscs.proto.model.data.bas.pump.ChilledWaterPumpProto.ChilledWaterPump DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new club.joylink.rtss.iscs.proto.model.data.bas.pump.ChilledWaterPumpProto.ChilledWaterPump();
+ }
+
+ public static club.joylink.rtss.iscs.proto.model.data.bas.pump.ChilledWaterPumpProto.ChilledWaterPump getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return Whether the identity field is set.
+ */
+ boolean hasIdentity();
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return The identity.
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel getIdentity();
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder getIdentityOrBuilder();
+
+ /**
+ * + *消防私服主机 + *FireControlHost + *+ * + *
.model.ModelRef hostRef = 2;
+ * @return Whether the hostRef field is set.
+ */
+ boolean hasHostRef();
+ /**
+ * + *消防私服主机 + *FireControlHost + *+ * + *
.model.ModelRef hostRef = 2;
+ * @return The hostRef.
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getHostRef();
+ /**
+ * + *消防私服主机 + *FireControlHost + *+ * + *
.model.ModelRef hostRef = 2;
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getHostRefOrBuilder();
+
+ /**
+ * + *主机所在车站及房间 + *BasLocal + *+ * + *
.model.ModelRef local = 3;
+ * @return Whether the local field is set.
+ */
+ boolean hasLocal();
+ /**
+ * + *主机所在车站及房间 + *BasLocal + *+ * + *
.model.ModelRef local = 3;
+ * @return The local.
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getLocal();
+ /**
+ * + *主机所在车站及房间 + *BasLocal + *+ * + *
.model.ModelRef local = 3;
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getLocalOrBuilder();
+ }
+ /**
+ * + *二氧化碳传感器 + *+ * + * Protobuf type {@code model.bas.sensor.CO2Sensor} + */ + public static final class CO2Sensor extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:model.bas.sensor.CO2Sensor) + CO2SensorOrBuilder { + private static final long serialVersionUID = 0L; + // Use CO2Sensor.newBuilder() to construct. + private CO2Sensor(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private CO2Sensor() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CO2Sensor(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CO2Sensor( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + 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: { + club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder subBuilder = null; + if (identity_ != null) { + subBuilder = identity_.toBuilder(); + } + identity_ = input.readMessage(club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(identity_); + identity_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder subBuilder = null; + if (hostRef_ != null) { + subBuilder = hostRef_.toBuilder(); + } + hostRef_ = input.readMessage(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(hostRef_); + hostRef_ = subBuilder.buildPartial(); + } + + break; + } + case 26: { + club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder subBuilder = null; + if (local_ != null) { + subBuilder = local_.toBuilder(); + } + local_ = input.readMessage(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(local_); + local_ = subBuilder.buildPartial(); + } + + 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 { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return club.joylink.rtss.iscs.proto.model.data.bas.sensor.CO2SensorProto.internal_static_model_bas_sensor_CO2Sensor_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return club.joylink.rtss.iscs.proto.model.data.bas.sensor.CO2SensorProto.internal_static_model_bas_sensor_CO2Sensor_fieldAccessorTable + .ensureFieldAccessorsInitialized( + club.joylink.rtss.iscs.proto.model.data.bas.sensor.CO2SensorProto.CO2Sensor.class, club.joylink.rtss.iscs.proto.model.data.bas.sensor.CO2SensorProto.CO2Sensor.Builder.class); + } + + public static final int IDENTITY_FIELD_NUMBER = 1; + private club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel identity_; + /** + *
+ *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return Whether the identity field is set.
+ */
+ @java.lang.Override
+ public boolean hasIdentity() {
+ return identity_ != null;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return The identity.
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel getIdentity() {
+ return identity_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.getDefaultInstance() : identity_;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder getIdentityOrBuilder() {
+ return getIdentity();
+ }
+
+ public static final int HOSTREF_FIELD_NUMBER = 2;
+ private club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef hostRef_;
+ /**
+ * + *消防私服主机 + *FireControlHost + *+ * + *
.model.ModelRef hostRef = 2;
+ * @return Whether the hostRef field is set.
+ */
+ @java.lang.Override
+ public boolean hasHostRef() {
+ return hostRef_ != null;
+ }
+ /**
+ * + *消防私服主机 + *FireControlHost + *+ * + *
.model.ModelRef hostRef = 2;
+ * @return The hostRef.
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getHostRef() {
+ return hostRef_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : hostRef_;
+ }
+ /**
+ * + *消防私服主机 + *FireControlHost + *+ * + *
.model.ModelRef hostRef = 2;
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getHostRefOrBuilder() {
+ return getHostRef();
+ }
+
+ public static final int LOCAL_FIELD_NUMBER = 3;
+ private club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef local_;
+ /**
+ * + *主机所在车站及房间 + *BasLocal + *+ * + *
.model.ModelRef local = 3;
+ * @return Whether the local field is set.
+ */
+ @java.lang.Override
+ public boolean hasLocal() {
+ return local_ != null;
+ }
+ /**
+ * + *主机所在车站及房间 + *BasLocal + *+ * + *
.model.ModelRef local = 3;
+ * @return The local.
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getLocal() {
+ return local_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : local_;
+ }
+ /**
+ * + *主机所在车站及房间 + *BasLocal + *+ * + *
.model.ModelRef local = 3;
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getLocalOrBuilder() {
+ return getLocal();
+ }
+
+ 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 (identity_ != null) {
+ output.writeMessage(1, getIdentity());
+ }
+ if (hostRef_ != null) {
+ output.writeMessage(2, getHostRef());
+ }
+ if (local_ != null) {
+ output.writeMessage(3, getLocal());
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (identity_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, getIdentity());
+ }
+ if (hostRef_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(2, getHostRef());
+ }
+ if (local_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(3, getLocal());
+ }
+ 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 club.joylink.rtss.iscs.proto.model.data.bas.sensor.CO2SensorProto.CO2Sensor)) {
+ return super.equals(obj);
+ }
+ club.joylink.rtss.iscs.proto.model.data.bas.sensor.CO2SensorProto.CO2Sensor other = (club.joylink.rtss.iscs.proto.model.data.bas.sensor.CO2SensorProto.CO2Sensor) obj;
+
+ if (hasIdentity() != other.hasIdentity()) return false;
+ if (hasIdentity()) {
+ if (!getIdentity()
+ .equals(other.getIdentity())) return false;
+ }
+ if (hasHostRef() != other.hasHostRef()) return false;
+ if (hasHostRef()) {
+ if (!getHostRef()
+ .equals(other.getHostRef())) return false;
+ }
+ if (hasLocal() != other.hasLocal()) return false;
+ if (hasLocal()) {
+ if (!getLocal()
+ .equals(other.getLocal())) return false;
+ }
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasIdentity()) {
+ hash = (37 * hash) + IDENTITY_FIELD_NUMBER;
+ hash = (53 * hash) + getIdentity().hashCode();
+ }
+ if (hasHostRef()) {
+ hash = (37 * hash) + HOSTREF_FIELD_NUMBER;
+ hash = (53 * hash) + getHostRef().hashCode();
+ }
+ if (hasLocal()) {
+ hash = (37 * hash) + LOCAL_FIELD_NUMBER;
+ hash = (53 * hash) + getLocal().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static club.joylink.rtss.iscs.proto.model.data.bas.sensor.CO2SensorProto.CO2Sensor parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.sensor.CO2SensorProto.CO2Sensor parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.sensor.CO2SensorProto.CO2Sensor parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.sensor.CO2SensorProto.CO2Sensor parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.sensor.CO2SensorProto.CO2Sensor parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.sensor.CO2SensorProto.CO2Sensor parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.sensor.CO2SensorProto.CO2Sensor parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.sensor.CO2SensorProto.CO2Sensor 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 club.joylink.rtss.iscs.proto.model.data.bas.sensor.CO2SensorProto.CO2Sensor parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.sensor.CO2SensorProto.CO2Sensor 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 club.joylink.rtss.iscs.proto.model.data.bas.sensor.CO2SensorProto.CO2Sensor parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.sensor.CO2SensorProto.CO2Sensor 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(club.joylink.rtss.iscs.proto.model.data.bas.sensor.CO2SensorProto.CO2Sensor 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 model.bas.sensor.CO2Sensor} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
+ *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return Whether the identity field is set.
+ */
+ public boolean hasIdentity() {
+ return identityBuilder_ != null || identity_ != null;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return The identity.
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel getIdentity() {
+ if (identityBuilder_ == null) {
+ return identity_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.getDefaultInstance() : identity_;
+ } else {
+ return identityBuilder_.getMessage();
+ }
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public Builder setIdentity(club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel value) {
+ if (identityBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ identity_ = value;
+ onChanged();
+ } else {
+ identityBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public Builder setIdentity(
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder builderForValue) {
+ if (identityBuilder_ == null) {
+ identity_ = builderForValue.build();
+ onChanged();
+ } else {
+ identityBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public Builder mergeIdentity(club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel value) {
+ if (identityBuilder_ == null) {
+ if (identity_ != null) {
+ identity_ =
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.newBuilder(identity_).mergeFrom(value).buildPartial();
+ } else {
+ identity_ = value;
+ }
+ onChanged();
+ } else {
+ identityBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public Builder clearIdentity() {
+ if (identityBuilder_ == null) {
+ identity_ = null;
+ onChanged();
+ } else {
+ identity_ = null;
+ identityBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder getIdentityBuilder() {
+
+ onChanged();
+ return getIdentityFieldBuilder().getBuilder();
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder getIdentityOrBuilder() {
+ if (identityBuilder_ != null) {
+ return identityBuilder_.getMessageOrBuilder();
+ } else {
+ return identity_ == null ?
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.getDefaultInstance() : identity_;
+ }
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder>
+ getIdentityFieldBuilder() {
+ if (identityBuilder_ == null) {
+ identityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder>(
+ getIdentity(),
+ getParentForChildren(),
+ isClean());
+ identity_ = null;
+ }
+ return identityBuilder_;
+ }
+
+ private club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef hostRef_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder> hostRefBuilder_;
+ /**
+ * + *消防私服主机 + *FireControlHost + *+ * + *
.model.ModelRef hostRef = 2;
+ * @return Whether the hostRef field is set.
+ */
+ public boolean hasHostRef() {
+ return hostRefBuilder_ != null || hostRef_ != null;
+ }
+ /**
+ * + *消防私服主机 + *FireControlHost + *+ * + *
.model.ModelRef hostRef = 2;
+ * @return The hostRef.
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getHostRef() {
+ if (hostRefBuilder_ == null) {
+ return hostRef_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : hostRef_;
+ } else {
+ return hostRefBuilder_.getMessage();
+ }
+ }
+ /**
+ * + *消防私服主机 + *FireControlHost + *+ * + *
.model.ModelRef hostRef = 2;
+ */
+ public Builder setHostRef(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef value) {
+ if (hostRefBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ hostRef_ = value;
+ onChanged();
+ } else {
+ hostRefBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *消防私服主机 + *FireControlHost + *+ * + *
.model.ModelRef hostRef = 2;
+ */
+ public Builder setHostRef(
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder builderForValue) {
+ if (hostRefBuilder_ == null) {
+ hostRef_ = builderForValue.build();
+ onChanged();
+ } else {
+ hostRefBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + *消防私服主机 + *FireControlHost + *+ * + *
.model.ModelRef hostRef = 2;
+ */
+ public Builder mergeHostRef(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef value) {
+ if (hostRefBuilder_ == null) {
+ if (hostRef_ != null) {
+ hostRef_ =
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.newBuilder(hostRef_).mergeFrom(value).buildPartial();
+ } else {
+ hostRef_ = value;
+ }
+ onChanged();
+ } else {
+ hostRefBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *消防私服主机 + *FireControlHost + *+ * + *
.model.ModelRef hostRef = 2;
+ */
+ public Builder clearHostRef() {
+ if (hostRefBuilder_ == null) {
+ hostRef_ = null;
+ onChanged();
+ } else {
+ hostRef_ = null;
+ hostRefBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + *消防私服主机 + *FireControlHost + *+ * + *
.model.ModelRef hostRef = 2;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder getHostRefBuilder() {
+
+ onChanged();
+ return getHostRefFieldBuilder().getBuilder();
+ }
+ /**
+ * + *消防私服主机 + *FireControlHost + *+ * + *
.model.ModelRef hostRef = 2;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getHostRefOrBuilder() {
+ if (hostRefBuilder_ != null) {
+ return hostRefBuilder_.getMessageOrBuilder();
+ } else {
+ return hostRef_ == null ?
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : hostRef_;
+ }
+ }
+ /**
+ * + *消防私服主机 + *FireControlHost + *+ * + *
.model.ModelRef hostRef = 2;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder>
+ getHostRefFieldBuilder() {
+ if (hostRefBuilder_ == null) {
+ hostRefBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder>(
+ getHostRef(),
+ getParentForChildren(),
+ isClean());
+ hostRef_ = null;
+ }
+ return hostRefBuilder_;
+ }
+
+ private club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef local_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder> localBuilder_;
+ /**
+ * + *主机所在车站及房间 + *BasLocal + *+ * + *
.model.ModelRef local = 3;
+ * @return Whether the local field is set.
+ */
+ public boolean hasLocal() {
+ return localBuilder_ != null || local_ != null;
+ }
+ /**
+ * + *主机所在车站及房间 + *BasLocal + *+ * + *
.model.ModelRef local = 3;
+ * @return The local.
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getLocal() {
+ if (localBuilder_ == null) {
+ return local_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : local_;
+ } else {
+ return localBuilder_.getMessage();
+ }
+ }
+ /**
+ * + *主机所在车站及房间 + *BasLocal + *+ * + *
.model.ModelRef local = 3;
+ */
+ public Builder setLocal(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef value) {
+ if (localBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ local_ = value;
+ onChanged();
+ } else {
+ localBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *主机所在车站及房间 + *BasLocal + *+ * + *
.model.ModelRef local = 3;
+ */
+ public Builder setLocal(
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder builderForValue) {
+ if (localBuilder_ == null) {
+ local_ = builderForValue.build();
+ onChanged();
+ } else {
+ localBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + *主机所在车站及房间 + *BasLocal + *+ * + *
.model.ModelRef local = 3;
+ */
+ public Builder mergeLocal(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef value) {
+ if (localBuilder_ == null) {
+ if (local_ != null) {
+ local_ =
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.newBuilder(local_).mergeFrom(value).buildPartial();
+ } else {
+ local_ = value;
+ }
+ onChanged();
+ } else {
+ localBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *主机所在车站及房间 + *BasLocal + *+ * + *
.model.ModelRef local = 3;
+ */
+ public Builder clearLocal() {
+ if (localBuilder_ == null) {
+ local_ = null;
+ onChanged();
+ } else {
+ local_ = null;
+ localBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + *主机所在车站及房间 + *BasLocal + *+ * + *
.model.ModelRef local = 3;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder getLocalBuilder() {
+
+ onChanged();
+ return getLocalFieldBuilder().getBuilder();
+ }
+ /**
+ * + *主机所在车站及房间 + *BasLocal + *+ * + *
.model.ModelRef local = 3;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getLocalOrBuilder() {
+ if (localBuilder_ != null) {
+ return localBuilder_.getMessageOrBuilder();
+ } else {
+ return local_ == null ?
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : local_;
+ }
+ }
+ /**
+ * + *主机所在车站及房间 + *BasLocal + *+ * + *
.model.ModelRef local = 3;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder>
+ getLocalFieldBuilder() {
+ if (localBuilder_ == null) {
+ localBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder>(
+ getLocal(),
+ getParentForChildren(),
+ isClean());
+ local_ = null;
+ }
+ return localBuilder_;
+ }
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+
+ // @@protoc_insertion_point(builder_scope:model.bas.sensor.CO2Sensor)
+ }
+
+ // @@protoc_insertion_point(class_scope:model.bas.sensor.CO2Sensor)
+ private static final club.joylink.rtss.iscs.proto.model.data.bas.sensor.CO2SensorProto.CO2Sensor DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new club.joylink.rtss.iscs.proto.model.data.bas.sensor.CO2SensorProto.CO2Sensor();
+ }
+
+ public static club.joylink.rtss.iscs.proto.model.data.bas.sensor.CO2SensorProto.CO2Sensor getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return Whether the identity field is set.
+ */
+ boolean hasIdentity();
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return The identity.
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel getIdentity();
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder getIdentityOrBuilder();
+
+ /**
+ * + *消防私服主机 + *FireControlHost + *+ * + *
.model.ModelRef hostRef = 2;
+ * @return Whether the hostRef field is set.
+ */
+ boolean hasHostRef();
+ /**
+ * + *消防私服主机 + *FireControlHost + *+ * + *
.model.ModelRef hostRef = 2;
+ * @return The hostRef.
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getHostRef();
+ /**
+ * + *消防私服主机 + *FireControlHost + *+ * + *
.model.ModelRef hostRef = 2;
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getHostRefOrBuilder();
+
+ /**
+ * + *所在位置 + *basLocal + *+ * + *
.model.ModelRef local = 3;
+ * @return Whether the local field is set.
+ */
+ boolean hasLocal();
+ /**
+ * + *所在位置 + *basLocal + *+ * + *
.model.ModelRef local = 3;
+ * @return The local.
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getLocal();
+ /**
+ * + *所在位置 + *basLocal + *+ * + *
.model.ModelRef local = 3;
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getLocalOrBuilder();
+ }
+ /**
+ * + *旁通阀开关 + *+ * + * Protobuf type {@code model.bas.valve.BypassValve} + */ + public static final class BypassValve extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:model.bas.valve.BypassValve) + BypassValveOrBuilder { + private static final long serialVersionUID = 0L; + // Use BypassValve.newBuilder() to construct. + private BypassValve(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private BypassValve() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new BypassValve(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private BypassValve( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + 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: { + club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder subBuilder = null; + if (identity_ != null) { + subBuilder = identity_.toBuilder(); + } + identity_ = input.readMessage(club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(identity_); + identity_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder subBuilder = null; + if (hostRef_ != null) { + subBuilder = hostRef_.toBuilder(); + } + hostRef_ = input.readMessage(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(hostRef_); + hostRef_ = subBuilder.buildPartial(); + } + + break; + } + case 26: { + club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder subBuilder = null; + if (local_ != null) { + subBuilder = local_.toBuilder(); + } + local_ = input.readMessage(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(local_); + local_ = subBuilder.buildPartial(); + } + + 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 { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return club.joylink.rtss.iscs.proto.model.data.bas.valve.BypassValveProto.internal_static_model_bas_valve_BypassValve_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return club.joylink.rtss.iscs.proto.model.data.bas.valve.BypassValveProto.internal_static_model_bas_valve_BypassValve_fieldAccessorTable + .ensureFieldAccessorsInitialized( + club.joylink.rtss.iscs.proto.model.data.bas.valve.BypassValveProto.BypassValve.class, club.joylink.rtss.iscs.proto.model.data.bas.valve.BypassValveProto.BypassValve.Builder.class); + } + + public static final int IDENTITY_FIELD_NUMBER = 1; + private club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel identity_; + /** + *
+ *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return Whether the identity field is set.
+ */
+ @java.lang.Override
+ public boolean hasIdentity() {
+ return identity_ != null;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return The identity.
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel getIdentity() {
+ return identity_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.getDefaultInstance() : identity_;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder getIdentityOrBuilder() {
+ return getIdentity();
+ }
+
+ public static final int HOSTREF_FIELD_NUMBER = 2;
+ private club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef hostRef_;
+ /**
+ * + *消防私服主机 + *FireControlHost + *+ * + *
.model.ModelRef hostRef = 2;
+ * @return Whether the hostRef field is set.
+ */
+ @java.lang.Override
+ public boolean hasHostRef() {
+ return hostRef_ != null;
+ }
+ /**
+ * + *消防私服主机 + *FireControlHost + *+ * + *
.model.ModelRef hostRef = 2;
+ * @return The hostRef.
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getHostRef() {
+ return hostRef_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : hostRef_;
+ }
+ /**
+ * + *消防私服主机 + *FireControlHost + *+ * + *
.model.ModelRef hostRef = 2;
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getHostRefOrBuilder() {
+ return getHostRef();
+ }
+
+ public static final int LOCAL_FIELD_NUMBER = 3;
+ private club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef local_;
+ /**
+ * + *所在位置 + *basLocal + *+ * + *
.model.ModelRef local = 3;
+ * @return Whether the local field is set.
+ */
+ @java.lang.Override
+ public boolean hasLocal() {
+ return local_ != null;
+ }
+ /**
+ * + *所在位置 + *basLocal + *+ * + *
.model.ModelRef local = 3;
+ * @return The local.
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getLocal() {
+ return local_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : local_;
+ }
+ /**
+ * + *所在位置 + *basLocal + *+ * + *
.model.ModelRef local = 3;
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getLocalOrBuilder() {
+ return getLocal();
+ }
+
+ 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 (identity_ != null) {
+ output.writeMessage(1, getIdentity());
+ }
+ if (hostRef_ != null) {
+ output.writeMessage(2, getHostRef());
+ }
+ if (local_ != null) {
+ output.writeMessage(3, getLocal());
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (identity_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, getIdentity());
+ }
+ if (hostRef_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(2, getHostRef());
+ }
+ if (local_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(3, getLocal());
+ }
+ 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 club.joylink.rtss.iscs.proto.model.data.bas.valve.BypassValveProto.BypassValve)) {
+ return super.equals(obj);
+ }
+ club.joylink.rtss.iscs.proto.model.data.bas.valve.BypassValveProto.BypassValve other = (club.joylink.rtss.iscs.proto.model.data.bas.valve.BypassValveProto.BypassValve) obj;
+
+ if (hasIdentity() != other.hasIdentity()) return false;
+ if (hasIdentity()) {
+ if (!getIdentity()
+ .equals(other.getIdentity())) return false;
+ }
+ if (hasHostRef() != other.hasHostRef()) return false;
+ if (hasHostRef()) {
+ if (!getHostRef()
+ .equals(other.getHostRef())) return false;
+ }
+ if (hasLocal() != other.hasLocal()) return false;
+ if (hasLocal()) {
+ if (!getLocal()
+ .equals(other.getLocal())) return false;
+ }
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasIdentity()) {
+ hash = (37 * hash) + IDENTITY_FIELD_NUMBER;
+ hash = (53 * hash) + getIdentity().hashCode();
+ }
+ if (hasHostRef()) {
+ hash = (37 * hash) + HOSTREF_FIELD_NUMBER;
+ hash = (53 * hash) + getHostRef().hashCode();
+ }
+ if (hasLocal()) {
+ hash = (37 * hash) + LOCAL_FIELD_NUMBER;
+ hash = (53 * hash) + getLocal().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static club.joylink.rtss.iscs.proto.model.data.bas.valve.BypassValveProto.BypassValve parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.valve.BypassValveProto.BypassValve parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.valve.BypassValveProto.BypassValve parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.valve.BypassValveProto.BypassValve parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.valve.BypassValveProto.BypassValve parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.valve.BypassValveProto.BypassValve parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.valve.BypassValveProto.BypassValve parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.valve.BypassValveProto.BypassValve 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 club.joylink.rtss.iscs.proto.model.data.bas.valve.BypassValveProto.BypassValve parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.valve.BypassValveProto.BypassValve 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 club.joylink.rtss.iscs.proto.model.data.bas.valve.BypassValveProto.BypassValve parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.valve.BypassValveProto.BypassValve 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(club.joylink.rtss.iscs.proto.model.data.bas.valve.BypassValveProto.BypassValve 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 model.bas.valve.BypassValve} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
+ *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return Whether the identity field is set.
+ */
+ public boolean hasIdentity() {
+ return identityBuilder_ != null || identity_ != null;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return The identity.
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel getIdentity() {
+ if (identityBuilder_ == null) {
+ return identity_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.getDefaultInstance() : identity_;
+ } else {
+ return identityBuilder_.getMessage();
+ }
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public Builder setIdentity(club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel value) {
+ if (identityBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ identity_ = value;
+ onChanged();
+ } else {
+ identityBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public Builder setIdentity(
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder builderForValue) {
+ if (identityBuilder_ == null) {
+ identity_ = builderForValue.build();
+ onChanged();
+ } else {
+ identityBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public Builder mergeIdentity(club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel value) {
+ if (identityBuilder_ == null) {
+ if (identity_ != null) {
+ identity_ =
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.newBuilder(identity_).mergeFrom(value).buildPartial();
+ } else {
+ identity_ = value;
+ }
+ onChanged();
+ } else {
+ identityBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public Builder clearIdentity() {
+ if (identityBuilder_ == null) {
+ identity_ = null;
+ onChanged();
+ } else {
+ identity_ = null;
+ identityBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder getIdentityBuilder() {
+
+ onChanged();
+ return getIdentityFieldBuilder().getBuilder();
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder getIdentityOrBuilder() {
+ if (identityBuilder_ != null) {
+ return identityBuilder_.getMessageOrBuilder();
+ } else {
+ return identity_ == null ?
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.getDefaultInstance() : identity_;
+ }
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder>
+ getIdentityFieldBuilder() {
+ if (identityBuilder_ == null) {
+ identityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder>(
+ getIdentity(),
+ getParentForChildren(),
+ isClean());
+ identity_ = null;
+ }
+ return identityBuilder_;
+ }
+
+ private club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef hostRef_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder> hostRefBuilder_;
+ /**
+ * + *消防私服主机 + *FireControlHost + *+ * + *
.model.ModelRef hostRef = 2;
+ * @return Whether the hostRef field is set.
+ */
+ public boolean hasHostRef() {
+ return hostRefBuilder_ != null || hostRef_ != null;
+ }
+ /**
+ * + *消防私服主机 + *FireControlHost + *+ * + *
.model.ModelRef hostRef = 2;
+ * @return The hostRef.
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getHostRef() {
+ if (hostRefBuilder_ == null) {
+ return hostRef_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : hostRef_;
+ } else {
+ return hostRefBuilder_.getMessage();
+ }
+ }
+ /**
+ * + *消防私服主机 + *FireControlHost + *+ * + *
.model.ModelRef hostRef = 2;
+ */
+ public Builder setHostRef(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef value) {
+ if (hostRefBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ hostRef_ = value;
+ onChanged();
+ } else {
+ hostRefBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *消防私服主机 + *FireControlHost + *+ * + *
.model.ModelRef hostRef = 2;
+ */
+ public Builder setHostRef(
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder builderForValue) {
+ if (hostRefBuilder_ == null) {
+ hostRef_ = builderForValue.build();
+ onChanged();
+ } else {
+ hostRefBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + *消防私服主机 + *FireControlHost + *+ * + *
.model.ModelRef hostRef = 2;
+ */
+ public Builder mergeHostRef(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef value) {
+ if (hostRefBuilder_ == null) {
+ if (hostRef_ != null) {
+ hostRef_ =
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.newBuilder(hostRef_).mergeFrom(value).buildPartial();
+ } else {
+ hostRef_ = value;
+ }
+ onChanged();
+ } else {
+ hostRefBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *消防私服主机 + *FireControlHost + *+ * + *
.model.ModelRef hostRef = 2;
+ */
+ public Builder clearHostRef() {
+ if (hostRefBuilder_ == null) {
+ hostRef_ = null;
+ onChanged();
+ } else {
+ hostRef_ = null;
+ hostRefBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + *消防私服主机 + *FireControlHost + *+ * + *
.model.ModelRef hostRef = 2;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder getHostRefBuilder() {
+
+ onChanged();
+ return getHostRefFieldBuilder().getBuilder();
+ }
+ /**
+ * + *消防私服主机 + *FireControlHost + *+ * + *
.model.ModelRef hostRef = 2;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getHostRefOrBuilder() {
+ if (hostRefBuilder_ != null) {
+ return hostRefBuilder_.getMessageOrBuilder();
+ } else {
+ return hostRef_ == null ?
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : hostRef_;
+ }
+ }
+ /**
+ * + *消防私服主机 + *FireControlHost + *+ * + *
.model.ModelRef hostRef = 2;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder>
+ getHostRefFieldBuilder() {
+ if (hostRefBuilder_ == null) {
+ hostRefBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder>(
+ getHostRef(),
+ getParentForChildren(),
+ isClean());
+ hostRef_ = null;
+ }
+ return hostRefBuilder_;
+ }
+
+ private club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef local_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder> localBuilder_;
+ /**
+ * + *所在位置 + *basLocal + *+ * + *
.model.ModelRef local = 3;
+ * @return Whether the local field is set.
+ */
+ public boolean hasLocal() {
+ return localBuilder_ != null || local_ != null;
+ }
+ /**
+ * + *所在位置 + *basLocal + *+ * + *
.model.ModelRef local = 3;
+ * @return The local.
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getLocal() {
+ if (localBuilder_ == null) {
+ return local_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : local_;
+ } else {
+ return localBuilder_.getMessage();
+ }
+ }
+ /**
+ * + *所在位置 + *basLocal + *+ * + *
.model.ModelRef local = 3;
+ */
+ public Builder setLocal(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef value) {
+ if (localBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ local_ = value;
+ onChanged();
+ } else {
+ localBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *所在位置 + *basLocal + *+ * + *
.model.ModelRef local = 3;
+ */
+ public Builder setLocal(
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder builderForValue) {
+ if (localBuilder_ == null) {
+ local_ = builderForValue.build();
+ onChanged();
+ } else {
+ localBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + *所在位置 + *basLocal + *+ * + *
.model.ModelRef local = 3;
+ */
+ public Builder mergeLocal(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef value) {
+ if (localBuilder_ == null) {
+ if (local_ != null) {
+ local_ =
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.newBuilder(local_).mergeFrom(value).buildPartial();
+ } else {
+ local_ = value;
+ }
+ onChanged();
+ } else {
+ localBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *所在位置 + *basLocal + *+ * + *
.model.ModelRef local = 3;
+ */
+ public Builder clearLocal() {
+ if (localBuilder_ == null) {
+ local_ = null;
+ onChanged();
+ } else {
+ local_ = null;
+ localBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + *所在位置 + *basLocal + *+ * + *
.model.ModelRef local = 3;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder getLocalBuilder() {
+
+ onChanged();
+ return getLocalFieldBuilder().getBuilder();
+ }
+ /**
+ * + *所在位置 + *basLocal + *+ * + *
.model.ModelRef local = 3;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getLocalOrBuilder() {
+ if (localBuilder_ != null) {
+ return localBuilder_.getMessageOrBuilder();
+ } else {
+ return local_ == null ?
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : local_;
+ }
+ }
+ /**
+ * + *所在位置 + *basLocal + *+ * + *
.model.ModelRef local = 3;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder>
+ getLocalFieldBuilder() {
+ if (localBuilder_ == null) {
+ localBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder>(
+ getLocal(),
+ getParentForChildren(),
+ isClean());
+ local_ = null;
+ }
+ return localBuilder_;
+ }
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+
+ // @@protoc_insertion_point(builder_scope:model.bas.valve.BypassValve)
+ }
+
+ // @@protoc_insertion_point(class_scope:model.bas.valve.BypassValve)
+ private static final club.joylink.rtss.iscs.proto.model.data.bas.valve.BypassValveProto.BypassValve DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new club.joylink.rtss.iscs.proto.model.data.bas.valve.BypassValveProto.BypassValve();
+ }
+
+ public static club.joylink.rtss.iscs.proto.model.data.bas.valve.BypassValveProto.BypassValve getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ *摄像头类型 + *+ * + * Protobuf enum {@code model.cctv.CctvCameraType} + */ + public enum CctvCameraType + implements com.google.protobuf.ProtocolMessageEnum { + /** + *
+ *球形 + *+ * + *
Ball = 0;
+ */
+ Ball(0),
+ /**
+ * + *枪形 + *+ * + *
Gun = 1;
+ */
+ Gun(1),
+ UNRECOGNIZED(-1),
+ ;
+
+ /**
+ * + *球形 + *+ * + *
Ball = 0;
+ */
+ public static final int Ball_VALUE = 0;
+ /**
+ * + *枪形 + *+ * + *
Gun = 1;
+ */
+ public static final int Gun_VALUE = 1;
+
+
+ public final int getNumber() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalArgumentException(
+ "Can't get the number of an unknown enum value.");
+ }
+ return value;
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
+ public static CctvCameraType valueOf(int value) {
+ return forNumber(value);
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
+ public static CctvCameraType forNumber(int value) {
+ switch (value) {
+ case 0: return Ball;
+ case 1: return Gun;
+ default: return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap+ *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return Whether the identity field is set.
+ */
+ boolean hasIdentity();
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return The identity.
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel getIdentity();
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder getIdentityOrBuilder();
+
+ /**
+ * + *摄像头类型 + *+ * + *
.model.cctv.CctvCameraType type = 2;
+ * @return The enum numeric value on the wire for type.
+ */
+ int getTypeValue();
+ /**
+ * + *摄像头类型 + *+ * + *
.model.cctv.CctvCameraType type = 2;
+ * @return The type.
+ */
+ club.joylink.rtss.iscs.proto.model.data.cctv.CctvCameraModelProto.CctvCameraType getType();
+
+ /**
+ * + *所属CCTV服务器 + *CctvServerModel + *+ * + *
.model.ModelRef cctvServer = 3;
+ * @return Whether the cctvServer field is set.
+ */
+ boolean hasCctvServer();
+ /**
+ * + *所属CCTV服务器 + *CctvServerModel + *+ * + *
.model.ModelRef cctvServer = 3;
+ * @return The cctvServer.
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getCctvServer();
+ /**
+ * + *所属CCTV服务器 + *CctvServerModel + *+ * + *
.model.ModelRef cctvServer = 3;
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getCctvServerOrBuilder();
+ }
+ /**
+ * + ** + * CCTV 监控摄像头 + *+ * + * Protobuf type {@code model.cctv.CctvCameraModel} + */ + public static final class CctvCameraModel extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:model.cctv.CctvCameraModel) + CctvCameraModelOrBuilder { + private static final long serialVersionUID = 0L; + // Use CctvCameraModel.newBuilder() to construct. + private CctvCameraModel(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private CctvCameraModel() { + type_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CctvCameraModel(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CctvCameraModel( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + 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: { + club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder subBuilder = null; + if (identity_ != null) { + subBuilder = identity_.toBuilder(); + } + identity_ = input.readMessage(club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(identity_); + identity_ = subBuilder.buildPartial(); + } + + break; + } + case 16: { + int rawValue = input.readEnum(); + + type_ = rawValue; + break; + } + case 26: { + club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder subBuilder = null; + if (cctvServer_ != null) { + subBuilder = cctvServer_.toBuilder(); + } + cctvServer_ = input.readMessage(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(cctvServer_); + cctvServer_ = subBuilder.buildPartial(); + } + + 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 { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return club.joylink.rtss.iscs.proto.model.data.cctv.CctvCameraModelProto.internal_static_model_cctv_CctvCameraModel_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return club.joylink.rtss.iscs.proto.model.data.cctv.CctvCameraModelProto.internal_static_model_cctv_CctvCameraModel_fieldAccessorTable + .ensureFieldAccessorsInitialized( + club.joylink.rtss.iscs.proto.model.data.cctv.CctvCameraModelProto.CctvCameraModel.class, club.joylink.rtss.iscs.proto.model.data.cctv.CctvCameraModelProto.CctvCameraModel.Builder.class); + } + + public static final int IDENTITY_FIELD_NUMBER = 1; + private club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel identity_; + /** + *
+ *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return Whether the identity field is set.
+ */
+ @java.lang.Override
+ public boolean hasIdentity() {
+ return identity_ != null;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return The identity.
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel getIdentity() {
+ return identity_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.getDefaultInstance() : identity_;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder getIdentityOrBuilder() {
+ return getIdentity();
+ }
+
+ public static final int TYPE_FIELD_NUMBER = 2;
+ private int type_;
+ /**
+ * + *摄像头类型 + *+ * + *
.model.cctv.CctvCameraType type = 2;
+ * @return The enum numeric value on the wire for type.
+ */
+ @java.lang.Override public int getTypeValue() {
+ return type_;
+ }
+ /**
+ * + *摄像头类型 + *+ * + *
.model.cctv.CctvCameraType type = 2;
+ * @return The type.
+ */
+ @java.lang.Override public club.joylink.rtss.iscs.proto.model.data.cctv.CctvCameraModelProto.CctvCameraType getType() {
+ @SuppressWarnings("deprecation")
+ club.joylink.rtss.iscs.proto.model.data.cctv.CctvCameraModelProto.CctvCameraType result = club.joylink.rtss.iscs.proto.model.data.cctv.CctvCameraModelProto.CctvCameraType.valueOf(type_);
+ return result == null ? club.joylink.rtss.iscs.proto.model.data.cctv.CctvCameraModelProto.CctvCameraType.UNRECOGNIZED : result;
+ }
+
+ public static final int CCTVSERVER_FIELD_NUMBER = 3;
+ private club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef cctvServer_;
+ /**
+ * + *所属CCTV服务器 + *CctvServerModel + *+ * + *
.model.ModelRef cctvServer = 3;
+ * @return Whether the cctvServer field is set.
+ */
+ @java.lang.Override
+ public boolean hasCctvServer() {
+ return cctvServer_ != null;
+ }
+ /**
+ * + *所属CCTV服务器 + *CctvServerModel + *+ * + *
.model.ModelRef cctvServer = 3;
+ * @return The cctvServer.
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getCctvServer() {
+ return cctvServer_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : cctvServer_;
+ }
+ /**
+ * + *所属CCTV服务器 + *CctvServerModel + *+ * + *
.model.ModelRef cctvServer = 3;
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getCctvServerOrBuilder() {
+ return getCctvServer();
+ }
+
+ 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 (identity_ != null) {
+ output.writeMessage(1, getIdentity());
+ }
+ if (type_ != club.joylink.rtss.iscs.proto.model.data.cctv.CctvCameraModelProto.CctvCameraType.Ball.getNumber()) {
+ output.writeEnum(2, type_);
+ }
+ if (cctvServer_ != null) {
+ output.writeMessage(3, getCctvServer());
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (identity_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, getIdentity());
+ }
+ if (type_ != club.joylink.rtss.iscs.proto.model.data.cctv.CctvCameraModelProto.CctvCameraType.Ball.getNumber()) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeEnumSize(2, type_);
+ }
+ if (cctvServer_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(3, getCctvServer());
+ }
+ 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 club.joylink.rtss.iscs.proto.model.data.cctv.CctvCameraModelProto.CctvCameraModel)) {
+ return super.equals(obj);
+ }
+ club.joylink.rtss.iscs.proto.model.data.cctv.CctvCameraModelProto.CctvCameraModel other = (club.joylink.rtss.iscs.proto.model.data.cctv.CctvCameraModelProto.CctvCameraModel) obj;
+
+ if (hasIdentity() != other.hasIdentity()) return false;
+ if (hasIdentity()) {
+ if (!getIdentity()
+ .equals(other.getIdentity())) return false;
+ }
+ if (type_ != other.type_) return false;
+ if (hasCctvServer() != other.hasCctvServer()) return false;
+ if (hasCctvServer()) {
+ if (!getCctvServer()
+ .equals(other.getCctvServer())) return false;
+ }
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasIdentity()) {
+ hash = (37 * hash) + IDENTITY_FIELD_NUMBER;
+ hash = (53 * hash) + getIdentity().hashCode();
+ }
+ hash = (37 * hash) + TYPE_FIELD_NUMBER;
+ hash = (53 * hash) + type_;
+ if (hasCctvServer()) {
+ hash = (37 * hash) + CCTVSERVER_FIELD_NUMBER;
+ hash = (53 * hash) + getCctvServer().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static club.joylink.rtss.iscs.proto.model.data.cctv.CctvCameraModelProto.CctvCameraModel parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.cctv.CctvCameraModelProto.CctvCameraModel parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.cctv.CctvCameraModelProto.CctvCameraModel parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.cctv.CctvCameraModelProto.CctvCameraModel parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.cctv.CctvCameraModelProto.CctvCameraModel parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.cctv.CctvCameraModelProto.CctvCameraModel parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.cctv.CctvCameraModelProto.CctvCameraModel parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.cctv.CctvCameraModelProto.CctvCameraModel 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 club.joylink.rtss.iscs.proto.model.data.cctv.CctvCameraModelProto.CctvCameraModel parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.cctv.CctvCameraModelProto.CctvCameraModel 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 club.joylink.rtss.iscs.proto.model.data.cctv.CctvCameraModelProto.CctvCameraModel parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.cctv.CctvCameraModelProto.CctvCameraModel 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(club.joylink.rtss.iscs.proto.model.data.cctv.CctvCameraModelProto.CctvCameraModel 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;
+ }
+ /**
+ * + ** + * CCTV 监控摄像头 + *+ * + * Protobuf type {@code model.cctv.CctvCameraModel} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
+ *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return Whether the identity field is set.
+ */
+ public boolean hasIdentity() {
+ return identityBuilder_ != null || identity_ != null;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return The identity.
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel getIdentity() {
+ if (identityBuilder_ == null) {
+ return identity_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.getDefaultInstance() : identity_;
+ } else {
+ return identityBuilder_.getMessage();
+ }
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public Builder setIdentity(club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel value) {
+ if (identityBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ identity_ = value;
+ onChanged();
+ } else {
+ identityBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public Builder setIdentity(
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder builderForValue) {
+ if (identityBuilder_ == null) {
+ identity_ = builderForValue.build();
+ onChanged();
+ } else {
+ identityBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public Builder mergeIdentity(club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel value) {
+ if (identityBuilder_ == null) {
+ if (identity_ != null) {
+ identity_ =
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.newBuilder(identity_).mergeFrom(value).buildPartial();
+ } else {
+ identity_ = value;
+ }
+ onChanged();
+ } else {
+ identityBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public Builder clearIdentity() {
+ if (identityBuilder_ == null) {
+ identity_ = null;
+ onChanged();
+ } else {
+ identity_ = null;
+ identityBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder getIdentityBuilder() {
+
+ onChanged();
+ return getIdentityFieldBuilder().getBuilder();
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder getIdentityOrBuilder() {
+ if (identityBuilder_ != null) {
+ return identityBuilder_.getMessageOrBuilder();
+ } else {
+ return identity_ == null ?
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.getDefaultInstance() : identity_;
+ }
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder>
+ getIdentityFieldBuilder() {
+ if (identityBuilder_ == null) {
+ identityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder>(
+ getIdentity(),
+ getParentForChildren(),
+ isClean());
+ identity_ = null;
+ }
+ return identityBuilder_;
+ }
+
+ private int type_ = 0;
+ /**
+ * + *摄像头类型 + *+ * + *
.model.cctv.CctvCameraType type = 2;
+ * @return The enum numeric value on the wire for type.
+ */
+ @java.lang.Override public int getTypeValue() {
+ return type_;
+ }
+ /**
+ * + *摄像头类型 + *+ * + *
.model.cctv.CctvCameraType type = 2;
+ * @param value The enum numeric value on the wire for type to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTypeValue(int value) {
+
+ type_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + *摄像头类型 + *+ * + *
.model.cctv.CctvCameraType type = 2;
+ * @return The type.
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.cctv.CctvCameraModelProto.CctvCameraType getType() {
+ @SuppressWarnings("deprecation")
+ club.joylink.rtss.iscs.proto.model.data.cctv.CctvCameraModelProto.CctvCameraType result = club.joylink.rtss.iscs.proto.model.data.cctv.CctvCameraModelProto.CctvCameraType.valueOf(type_);
+ return result == null ? club.joylink.rtss.iscs.proto.model.data.cctv.CctvCameraModelProto.CctvCameraType.UNRECOGNIZED : result;
+ }
+ /**
+ * + *摄像头类型 + *+ * + *
.model.cctv.CctvCameraType type = 2;
+ * @param value The type to set.
+ * @return This builder for chaining.
+ */
+ public Builder setType(club.joylink.rtss.iscs.proto.model.data.cctv.CctvCameraModelProto.CctvCameraType value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ type_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+ /**
+ * + *摄像头类型 + *+ * + *
.model.cctv.CctvCameraType type = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearType() {
+
+ type_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef cctvServer_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder> cctvServerBuilder_;
+ /**
+ * + *所属CCTV服务器 + *CctvServerModel + *+ * + *
.model.ModelRef cctvServer = 3;
+ * @return Whether the cctvServer field is set.
+ */
+ public boolean hasCctvServer() {
+ return cctvServerBuilder_ != null || cctvServer_ != null;
+ }
+ /**
+ * + *所属CCTV服务器 + *CctvServerModel + *+ * + *
.model.ModelRef cctvServer = 3;
+ * @return The cctvServer.
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getCctvServer() {
+ if (cctvServerBuilder_ == null) {
+ return cctvServer_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : cctvServer_;
+ } else {
+ return cctvServerBuilder_.getMessage();
+ }
+ }
+ /**
+ * + *所属CCTV服务器 + *CctvServerModel + *+ * + *
.model.ModelRef cctvServer = 3;
+ */
+ public Builder setCctvServer(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef value) {
+ if (cctvServerBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ cctvServer_ = value;
+ onChanged();
+ } else {
+ cctvServerBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *所属CCTV服务器 + *CctvServerModel + *+ * + *
.model.ModelRef cctvServer = 3;
+ */
+ public Builder setCctvServer(
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder builderForValue) {
+ if (cctvServerBuilder_ == null) {
+ cctvServer_ = builderForValue.build();
+ onChanged();
+ } else {
+ cctvServerBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + *所属CCTV服务器 + *CctvServerModel + *+ * + *
.model.ModelRef cctvServer = 3;
+ */
+ public Builder mergeCctvServer(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef value) {
+ if (cctvServerBuilder_ == null) {
+ if (cctvServer_ != null) {
+ cctvServer_ =
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.newBuilder(cctvServer_).mergeFrom(value).buildPartial();
+ } else {
+ cctvServer_ = value;
+ }
+ onChanged();
+ } else {
+ cctvServerBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *所属CCTV服务器 + *CctvServerModel + *+ * + *
.model.ModelRef cctvServer = 3;
+ */
+ public Builder clearCctvServer() {
+ if (cctvServerBuilder_ == null) {
+ cctvServer_ = null;
+ onChanged();
+ } else {
+ cctvServer_ = null;
+ cctvServerBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + *所属CCTV服务器 + *CctvServerModel + *+ * + *
.model.ModelRef cctvServer = 3;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder getCctvServerBuilder() {
+
+ onChanged();
+ return getCctvServerFieldBuilder().getBuilder();
+ }
+ /**
+ * + *所属CCTV服务器 + *CctvServerModel + *+ * + *
.model.ModelRef cctvServer = 3;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getCctvServerOrBuilder() {
+ if (cctvServerBuilder_ != null) {
+ return cctvServerBuilder_.getMessageOrBuilder();
+ } else {
+ return cctvServer_ == null ?
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : cctvServer_;
+ }
+ }
+ /**
+ * + *所属CCTV服务器 + *CctvServerModel + *+ * + *
.model.ModelRef cctvServer = 3;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder>
+ getCctvServerFieldBuilder() {
+ if (cctvServerBuilder_ == null) {
+ cctvServerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder>(
+ getCctvServer(),
+ getParentForChildren(),
+ isClean());
+ cctvServer_ = null;
+ }
+ return cctvServerBuilder_;
+ }
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+
+ // @@protoc_insertion_point(builder_scope:model.cctv.CctvCameraModel)
+ }
+
+ // @@protoc_insertion_point(class_scope:model.cctv.CctvCameraModel)
+ private static final club.joylink.rtss.iscs.proto.model.data.cctv.CctvCameraModelProto.CctvCameraModel DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new club.joylink.rtss.iscs.proto.model.data.cctv.CctvCameraModelProto.CctvCameraModel();
+ }
+
+ public static club.joylink.rtss.iscs.proto.model.data.cctv.CctvCameraModelProto.CctvCameraModel getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return Whether the identity field is set.
+ */
+ boolean hasIdentity();
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return The identity.
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel getIdentity();
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder getIdentityOrBuilder();
+
+ /**
+ * + *当前模型作为网络设备的网络信息 + *+ * + *
.model.nms.DoubleNetwork identityNetwork = 2;
+ * @return Whether the identityNetwork field is set.
+ */
+ boolean hasIdentityNetwork();
+ /**
+ * + *当前模型作为网络设备的网络信息 + *+ * + *
.model.nms.DoubleNetwork identityNetwork = 2;
+ * @return The identityNetwork.
+ */
+ club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetwork getIdentityNetwork();
+ /**
+ * + *当前模型作为网络设备的网络信息 + *+ * + *
.model.nms.DoubleNetwork identityNetwork = 2;
+ */
+ club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetworkOrBuilder getIdentityNetworkOrBuilder();
+
+ /**
+ * + *该监控控制器管辖的所有摄像头 + *CctvCameraModel + *+ * + *
repeated .model.ModelRef cameras = 3;
+ */
+ java.util.List+ *该监控控制器管辖的所有摄像头 + *CctvCameraModel + *+ * + *
repeated .model.ModelRef cameras = 3;
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getCameras(int index);
+ /**
+ * + *该监控控制器管辖的所有摄像头 + *CctvCameraModel + *+ * + *
repeated .model.ModelRef cameras = 3;
+ */
+ int getCamerasCount();
+ /**
+ * + *该监控控制器管辖的所有摄像头 + *CctvCameraModel + *+ * + *
repeated .model.ModelRef cameras = 3;
+ */
+ java.util.List extends club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder>
+ getCamerasOrBuilderList();
+ /**
+ * + *该监控控制器管辖的所有摄像头 + *CctvCameraModel + *+ * + *
repeated .model.ModelRef cameras = 3;
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getCamerasOrBuilder(
+ int index);
+ }
+ /**
+ * + ** + * CCTV监控系统控制器 + *+ * + * Protobuf type {@code model.cctv.CctvServerModel} + */ + public static final class CctvServerModel extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:model.cctv.CctvServerModel) + CctvServerModelOrBuilder { + private static final long serialVersionUID = 0L; + // Use CctvServerModel.newBuilder() to construct. + private CctvServerModel(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private CctvServerModel() { + cameras_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CctvServerModel(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CctvServerModel( + 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: { + club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder subBuilder = null; + if (identity_ != null) { + subBuilder = identity_.toBuilder(); + } + identity_ = input.readMessage(club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(identity_); + identity_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetwork.Builder subBuilder = null; + if (identityNetwork_ != null) { + subBuilder = identityNetwork_.toBuilder(); + } + identityNetwork_ = input.readMessage(club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetwork.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(identityNetwork_); + identityNetwork_ = subBuilder.buildPartial(); + } + + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + cameras_ = new java.util.ArrayList
+ *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return Whether the identity field is set.
+ */
+ @java.lang.Override
+ public boolean hasIdentity() {
+ return identity_ != null;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return The identity.
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel getIdentity() {
+ return identity_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.getDefaultInstance() : identity_;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder getIdentityOrBuilder() {
+ return getIdentity();
+ }
+
+ public static final int IDENTITYNETWORK_FIELD_NUMBER = 2;
+ private club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetwork identityNetwork_;
+ /**
+ * + *当前模型作为网络设备的网络信息 + *+ * + *
.model.nms.DoubleNetwork identityNetwork = 2;
+ * @return Whether the identityNetwork field is set.
+ */
+ @java.lang.Override
+ public boolean hasIdentityNetwork() {
+ return identityNetwork_ != null;
+ }
+ /**
+ * + *当前模型作为网络设备的网络信息 + *+ * + *
.model.nms.DoubleNetwork identityNetwork = 2;
+ * @return The identityNetwork.
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetwork getIdentityNetwork() {
+ return identityNetwork_ == null ? club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetwork.getDefaultInstance() : identityNetwork_;
+ }
+ /**
+ * + *当前模型作为网络设备的网络信息 + *+ * + *
.model.nms.DoubleNetwork identityNetwork = 2;
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetworkOrBuilder getIdentityNetworkOrBuilder() {
+ return getIdentityNetwork();
+ }
+
+ public static final int CAMERAS_FIELD_NUMBER = 3;
+ private java.util.List+ *该监控控制器管辖的所有摄像头 + *CctvCameraModel + *+ * + *
repeated .model.ModelRef cameras = 3;
+ */
+ @java.lang.Override
+ public java.util.List+ *该监控控制器管辖的所有摄像头 + *CctvCameraModel + *+ * + *
repeated .model.ModelRef cameras = 3;
+ */
+ @java.lang.Override
+ public java.util.List extends club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder>
+ getCamerasOrBuilderList() {
+ return cameras_;
+ }
+ /**
+ * + *该监控控制器管辖的所有摄像头 + *CctvCameraModel + *+ * + *
repeated .model.ModelRef cameras = 3;
+ */
+ @java.lang.Override
+ public int getCamerasCount() {
+ return cameras_.size();
+ }
+ /**
+ * + *该监控控制器管辖的所有摄像头 + *CctvCameraModel + *+ * + *
repeated .model.ModelRef cameras = 3;
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getCameras(int index) {
+ return cameras_.get(index);
+ }
+ /**
+ * + *该监控控制器管辖的所有摄像头 + *CctvCameraModel + *+ * + *
repeated .model.ModelRef cameras = 3;
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getCamerasOrBuilder(
+ int index) {
+ return cameras_.get(index);
+ }
+
+ 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 (identity_ != null) {
+ output.writeMessage(1, getIdentity());
+ }
+ if (identityNetwork_ != null) {
+ output.writeMessage(2, getIdentityNetwork());
+ }
+ for (int i = 0; i < cameras_.size(); i++) {
+ output.writeMessage(3, cameras_.get(i));
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (identity_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, getIdentity());
+ }
+ if (identityNetwork_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(2, getIdentityNetwork());
+ }
+ for (int i = 0; i < cameras_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(3, cameras_.get(i));
+ }
+ 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 club.joylink.rtss.iscs.proto.model.data.cctv.CctvServerModelProto.CctvServerModel)) {
+ return super.equals(obj);
+ }
+ club.joylink.rtss.iscs.proto.model.data.cctv.CctvServerModelProto.CctvServerModel other = (club.joylink.rtss.iscs.proto.model.data.cctv.CctvServerModelProto.CctvServerModel) obj;
+
+ if (hasIdentity() != other.hasIdentity()) return false;
+ if (hasIdentity()) {
+ if (!getIdentity()
+ .equals(other.getIdentity())) return false;
+ }
+ if (hasIdentityNetwork() != other.hasIdentityNetwork()) return false;
+ if (hasIdentityNetwork()) {
+ if (!getIdentityNetwork()
+ .equals(other.getIdentityNetwork())) return false;
+ }
+ if (!getCamerasList()
+ .equals(other.getCamerasList())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasIdentity()) {
+ hash = (37 * hash) + IDENTITY_FIELD_NUMBER;
+ hash = (53 * hash) + getIdentity().hashCode();
+ }
+ if (hasIdentityNetwork()) {
+ hash = (37 * hash) + IDENTITYNETWORK_FIELD_NUMBER;
+ hash = (53 * hash) + getIdentityNetwork().hashCode();
+ }
+ if (getCamerasCount() > 0) {
+ hash = (37 * hash) + CAMERAS_FIELD_NUMBER;
+ hash = (53 * hash) + getCamerasList().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static club.joylink.rtss.iscs.proto.model.data.cctv.CctvServerModelProto.CctvServerModel parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.cctv.CctvServerModelProto.CctvServerModel parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.cctv.CctvServerModelProto.CctvServerModel parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.cctv.CctvServerModelProto.CctvServerModel parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.cctv.CctvServerModelProto.CctvServerModel parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.cctv.CctvServerModelProto.CctvServerModel parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.cctv.CctvServerModelProto.CctvServerModel parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.cctv.CctvServerModelProto.CctvServerModel 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 club.joylink.rtss.iscs.proto.model.data.cctv.CctvServerModelProto.CctvServerModel parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.cctv.CctvServerModelProto.CctvServerModel 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 club.joylink.rtss.iscs.proto.model.data.cctv.CctvServerModelProto.CctvServerModel parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.cctv.CctvServerModelProto.CctvServerModel 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(club.joylink.rtss.iscs.proto.model.data.cctv.CctvServerModelProto.CctvServerModel 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;
+ }
+ /**
+ * + ** + * CCTV监控系统控制器 + *+ * + * Protobuf type {@code model.cctv.CctvServerModel} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
+ *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return Whether the identity field is set.
+ */
+ public boolean hasIdentity() {
+ return identityBuilder_ != null || identity_ != null;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return The identity.
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel getIdentity() {
+ if (identityBuilder_ == null) {
+ return identity_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.getDefaultInstance() : identity_;
+ } else {
+ return identityBuilder_.getMessage();
+ }
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public Builder setIdentity(club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel value) {
+ if (identityBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ identity_ = value;
+ onChanged();
+ } else {
+ identityBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public Builder setIdentity(
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder builderForValue) {
+ if (identityBuilder_ == null) {
+ identity_ = builderForValue.build();
+ onChanged();
+ } else {
+ identityBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public Builder mergeIdentity(club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel value) {
+ if (identityBuilder_ == null) {
+ if (identity_ != null) {
+ identity_ =
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.newBuilder(identity_).mergeFrom(value).buildPartial();
+ } else {
+ identity_ = value;
+ }
+ onChanged();
+ } else {
+ identityBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public Builder clearIdentity() {
+ if (identityBuilder_ == null) {
+ identity_ = null;
+ onChanged();
+ } else {
+ identity_ = null;
+ identityBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder getIdentityBuilder() {
+
+ onChanged();
+ return getIdentityFieldBuilder().getBuilder();
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder getIdentityOrBuilder() {
+ if (identityBuilder_ != null) {
+ return identityBuilder_.getMessageOrBuilder();
+ } else {
+ return identity_ == null ?
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.getDefaultInstance() : identity_;
+ }
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder>
+ getIdentityFieldBuilder() {
+ if (identityBuilder_ == null) {
+ identityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder>(
+ getIdentity(),
+ getParentForChildren(),
+ isClean());
+ identity_ = null;
+ }
+ return identityBuilder_;
+ }
+
+ private club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetwork identityNetwork_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetwork, club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetwork.Builder, club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetworkOrBuilder> identityNetworkBuilder_;
+ /**
+ * + *当前模型作为网络设备的网络信息 + *+ * + *
.model.nms.DoubleNetwork identityNetwork = 2;
+ * @return Whether the identityNetwork field is set.
+ */
+ public boolean hasIdentityNetwork() {
+ return identityNetworkBuilder_ != null || identityNetwork_ != null;
+ }
+ /**
+ * + *当前模型作为网络设备的网络信息 + *+ * + *
.model.nms.DoubleNetwork identityNetwork = 2;
+ * @return The identityNetwork.
+ */
+ public club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetwork getIdentityNetwork() {
+ if (identityNetworkBuilder_ == null) {
+ return identityNetwork_ == null ? club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetwork.getDefaultInstance() : identityNetwork_;
+ } else {
+ return identityNetworkBuilder_.getMessage();
+ }
+ }
+ /**
+ * + *当前模型作为网络设备的网络信息 + *+ * + *
.model.nms.DoubleNetwork identityNetwork = 2;
+ */
+ public Builder setIdentityNetwork(club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetwork value) {
+ if (identityNetworkBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ identityNetwork_ = value;
+ onChanged();
+ } else {
+ identityNetworkBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型作为网络设备的网络信息 + *+ * + *
.model.nms.DoubleNetwork identityNetwork = 2;
+ */
+ public Builder setIdentityNetwork(
+ club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetwork.Builder builderForValue) {
+ if (identityNetworkBuilder_ == null) {
+ identityNetwork_ = builderForValue.build();
+ onChanged();
+ } else {
+ identityNetworkBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型作为网络设备的网络信息 + *+ * + *
.model.nms.DoubleNetwork identityNetwork = 2;
+ */
+ public Builder mergeIdentityNetwork(club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetwork value) {
+ if (identityNetworkBuilder_ == null) {
+ if (identityNetwork_ != null) {
+ identityNetwork_ =
+ club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetwork.newBuilder(identityNetwork_).mergeFrom(value).buildPartial();
+ } else {
+ identityNetwork_ = value;
+ }
+ onChanged();
+ } else {
+ identityNetworkBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型作为网络设备的网络信息 + *+ * + *
.model.nms.DoubleNetwork identityNetwork = 2;
+ */
+ public Builder clearIdentityNetwork() {
+ if (identityNetworkBuilder_ == null) {
+ identityNetwork_ = null;
+ onChanged();
+ } else {
+ identityNetwork_ = null;
+ identityNetworkBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型作为网络设备的网络信息 + *+ * + *
.model.nms.DoubleNetwork identityNetwork = 2;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetwork.Builder getIdentityNetworkBuilder() {
+
+ onChanged();
+ return getIdentityNetworkFieldBuilder().getBuilder();
+ }
+ /**
+ * + *当前模型作为网络设备的网络信息 + *+ * + *
.model.nms.DoubleNetwork identityNetwork = 2;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetworkOrBuilder getIdentityNetworkOrBuilder() {
+ if (identityNetworkBuilder_ != null) {
+ return identityNetworkBuilder_.getMessageOrBuilder();
+ } else {
+ return identityNetwork_ == null ?
+ club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetwork.getDefaultInstance() : identityNetwork_;
+ }
+ }
+ /**
+ * + *当前模型作为网络设备的网络信息 + *+ * + *
.model.nms.DoubleNetwork identityNetwork = 2;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetwork, club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetwork.Builder, club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetworkOrBuilder>
+ getIdentityNetworkFieldBuilder() {
+ if (identityNetworkBuilder_ == null) {
+ identityNetworkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetwork, club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetwork.Builder, club.joylink.rtss.iscs.proto.model.data.nms.NetworkTerminalProto.DoubleNetworkOrBuilder>(
+ getIdentityNetwork(),
+ getParentForChildren(),
+ isClean());
+ identityNetwork_ = null;
+ }
+ return identityNetworkBuilder_;
+ }
+
+ private java.util.List+ *该监控控制器管辖的所有摄像头 + *CctvCameraModel + *+ * + *
repeated .model.ModelRef cameras = 3;
+ */
+ public java.util.List+ *该监控控制器管辖的所有摄像头 + *CctvCameraModel + *+ * + *
repeated .model.ModelRef cameras = 3;
+ */
+ public int getCamerasCount() {
+ if (camerasBuilder_ == null) {
+ return cameras_.size();
+ } else {
+ return camerasBuilder_.getCount();
+ }
+ }
+ /**
+ * + *该监控控制器管辖的所有摄像头 + *CctvCameraModel + *+ * + *
repeated .model.ModelRef cameras = 3;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getCameras(int index) {
+ if (camerasBuilder_ == null) {
+ return cameras_.get(index);
+ } else {
+ return camerasBuilder_.getMessage(index);
+ }
+ }
+ /**
+ * + *该监控控制器管辖的所有摄像头 + *CctvCameraModel + *+ * + *
repeated .model.ModelRef cameras = 3;
+ */
+ public Builder setCameras(
+ int index, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef value) {
+ if (camerasBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureCamerasIsMutable();
+ cameras_.set(index, value);
+ onChanged();
+ } else {
+ camerasBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * + *该监控控制器管辖的所有摄像头 + *CctvCameraModel + *+ * + *
repeated .model.ModelRef cameras = 3;
+ */
+ public Builder setCameras(
+ int index, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder builderForValue) {
+ if (camerasBuilder_ == null) {
+ ensureCamerasIsMutable();
+ cameras_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ camerasBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + *该监控控制器管辖的所有摄像头 + *CctvCameraModel + *+ * + *
repeated .model.ModelRef cameras = 3;
+ */
+ public Builder addCameras(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef value) {
+ if (camerasBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureCamerasIsMutable();
+ cameras_.add(value);
+ onChanged();
+ } else {
+ camerasBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ * + *该监控控制器管辖的所有摄像头 + *CctvCameraModel + *+ * + *
repeated .model.ModelRef cameras = 3;
+ */
+ public Builder addCameras(
+ int index, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef value) {
+ if (camerasBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureCamerasIsMutable();
+ cameras_.add(index, value);
+ onChanged();
+ } else {
+ camerasBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * + *该监控控制器管辖的所有摄像头 + *CctvCameraModel + *+ * + *
repeated .model.ModelRef cameras = 3;
+ */
+ public Builder addCameras(
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder builderForValue) {
+ if (camerasBuilder_ == null) {
+ ensureCamerasIsMutable();
+ cameras_.add(builderForValue.build());
+ onChanged();
+ } else {
+ camerasBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + *该监控控制器管辖的所有摄像头 + *CctvCameraModel + *+ * + *
repeated .model.ModelRef cameras = 3;
+ */
+ public Builder addCameras(
+ int index, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder builderForValue) {
+ if (camerasBuilder_ == null) {
+ ensureCamerasIsMutable();
+ cameras_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ camerasBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + *该监控控制器管辖的所有摄像头 + *CctvCameraModel + *+ * + *
repeated .model.ModelRef cameras = 3;
+ */
+ public Builder addAllCameras(
+ java.lang.Iterable extends club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef> values) {
+ if (camerasBuilder_ == null) {
+ ensureCamerasIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, cameras_);
+ onChanged();
+ } else {
+ camerasBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ * + *该监控控制器管辖的所有摄像头 + *CctvCameraModel + *+ * + *
repeated .model.ModelRef cameras = 3;
+ */
+ public Builder clearCameras() {
+ if (camerasBuilder_ == null) {
+ cameras_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ } else {
+ camerasBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ * + *该监控控制器管辖的所有摄像头 + *CctvCameraModel + *+ * + *
repeated .model.ModelRef cameras = 3;
+ */
+ public Builder removeCameras(int index) {
+ if (camerasBuilder_ == null) {
+ ensureCamerasIsMutable();
+ cameras_.remove(index);
+ onChanged();
+ } else {
+ camerasBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ * + *该监控控制器管辖的所有摄像头 + *CctvCameraModel + *+ * + *
repeated .model.ModelRef cameras = 3;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder getCamerasBuilder(
+ int index) {
+ return getCamerasFieldBuilder().getBuilder(index);
+ }
+ /**
+ * + *该监控控制器管辖的所有摄像头 + *CctvCameraModel + *+ * + *
repeated .model.ModelRef cameras = 3;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getCamerasOrBuilder(
+ int index) {
+ if (camerasBuilder_ == null) {
+ return cameras_.get(index); } else {
+ return camerasBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ * + *该监控控制器管辖的所有摄像头 + *CctvCameraModel + *+ * + *
repeated .model.ModelRef cameras = 3;
+ */
+ public java.util.List extends club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder>
+ getCamerasOrBuilderList() {
+ if (camerasBuilder_ != null) {
+ return camerasBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(cameras_);
+ }
+ }
+ /**
+ * + *该监控控制器管辖的所有摄像头 + *CctvCameraModel + *+ * + *
repeated .model.ModelRef cameras = 3;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder addCamerasBuilder() {
+ return getCamerasFieldBuilder().addBuilder(
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance());
+ }
+ /**
+ * + *该监控控制器管辖的所有摄像头 + *CctvCameraModel + *+ * + *
repeated .model.ModelRef cameras = 3;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder addCamerasBuilder(
+ int index) {
+ return getCamerasFieldBuilder().addBuilder(
+ index, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance());
+ }
+ /**
+ * + *该监控控制器管辖的所有摄像头 + *CctvCameraModel + *+ * + *
repeated .model.ModelRef cameras = 3;
+ */
+ public java.util.List+ *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return Whether the identity field is set.
+ */
+ boolean hasIdentity();
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return The identity.
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel getIdentity();
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder getIdentityOrBuilder();
+
+ /**
+ * + *该广播所属控制器 + *PaServerModel + *+ * + *
.model.ModelRef paServer = 2;
+ * @return Whether the paServer field is set.
+ */
+ boolean hasPaServer();
+ /**
+ * + *该广播所属控制器 + *PaServerModel + *+ * + *
.model.ModelRef paServer = 2;
+ * @return The paServer.
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getPaServer();
+ /**
+ * + *该广播所属控制器 + *PaServerModel + *+ * + *
.model.ModelRef paServer = 2;
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getPaServerOrBuilder();
+ }
+ /**
+ * + ** + * 广播数据模型 + *+ * + * Protobuf type {@code model.pa.BroadcastModel} + */ + public static final class BroadcastModel extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:model.pa.BroadcastModel) + BroadcastModelOrBuilder { + private static final long serialVersionUID = 0L; + // Use BroadcastModel.newBuilder() to construct. + private BroadcastModel(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private BroadcastModel() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new BroadcastModel(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private BroadcastModel( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + 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: { + club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder subBuilder = null; + if (identity_ != null) { + subBuilder = identity_.toBuilder(); + } + identity_ = input.readMessage(club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(identity_); + identity_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder subBuilder = null; + if (paServer_ != null) { + subBuilder = paServer_.toBuilder(); + } + paServer_ = input.readMessage(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(paServer_); + paServer_ = subBuilder.buildPartial(); + } + + 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 { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return club.joylink.rtss.iscs.proto.model.data.pa.BroadcastModelProto.internal_static_model_pa_BroadcastModel_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return club.joylink.rtss.iscs.proto.model.data.pa.BroadcastModelProto.internal_static_model_pa_BroadcastModel_fieldAccessorTable + .ensureFieldAccessorsInitialized( + club.joylink.rtss.iscs.proto.model.data.pa.BroadcastModelProto.BroadcastModel.class, club.joylink.rtss.iscs.proto.model.data.pa.BroadcastModelProto.BroadcastModel.Builder.class); + } + + public static final int IDENTITY_FIELD_NUMBER = 1; + private club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel identity_; + /** + *
+ *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return Whether the identity field is set.
+ */
+ @java.lang.Override
+ public boolean hasIdentity() {
+ return identity_ != null;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return The identity.
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel getIdentity() {
+ return identity_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.getDefaultInstance() : identity_;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder getIdentityOrBuilder() {
+ return getIdentity();
+ }
+
+ public static final int PASERVER_FIELD_NUMBER = 2;
+ private club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef paServer_;
+ /**
+ * + *该广播所属控制器 + *PaServerModel + *+ * + *
.model.ModelRef paServer = 2;
+ * @return Whether the paServer field is set.
+ */
+ @java.lang.Override
+ public boolean hasPaServer() {
+ return paServer_ != null;
+ }
+ /**
+ * + *该广播所属控制器 + *PaServerModel + *+ * + *
.model.ModelRef paServer = 2;
+ * @return The paServer.
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getPaServer() {
+ return paServer_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : paServer_;
+ }
+ /**
+ * + *该广播所属控制器 + *PaServerModel + *+ * + *
.model.ModelRef paServer = 2;
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getPaServerOrBuilder() {
+ return getPaServer();
+ }
+
+ 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 (identity_ != null) {
+ output.writeMessage(1, getIdentity());
+ }
+ if (paServer_ != null) {
+ output.writeMessage(2, getPaServer());
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (identity_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, getIdentity());
+ }
+ if (paServer_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(2, getPaServer());
+ }
+ 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 club.joylink.rtss.iscs.proto.model.data.pa.BroadcastModelProto.BroadcastModel)) {
+ return super.equals(obj);
+ }
+ club.joylink.rtss.iscs.proto.model.data.pa.BroadcastModelProto.BroadcastModel other = (club.joylink.rtss.iscs.proto.model.data.pa.BroadcastModelProto.BroadcastModel) obj;
+
+ if (hasIdentity() != other.hasIdentity()) return false;
+ if (hasIdentity()) {
+ if (!getIdentity()
+ .equals(other.getIdentity())) return false;
+ }
+ if (hasPaServer() != other.hasPaServer()) return false;
+ if (hasPaServer()) {
+ if (!getPaServer()
+ .equals(other.getPaServer())) return false;
+ }
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasIdentity()) {
+ hash = (37 * hash) + IDENTITY_FIELD_NUMBER;
+ hash = (53 * hash) + getIdentity().hashCode();
+ }
+ if (hasPaServer()) {
+ hash = (37 * hash) + PASERVER_FIELD_NUMBER;
+ hash = (53 * hash) + getPaServer().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static club.joylink.rtss.iscs.proto.model.data.pa.BroadcastModelProto.BroadcastModel parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.pa.BroadcastModelProto.BroadcastModel parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.pa.BroadcastModelProto.BroadcastModel parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.pa.BroadcastModelProto.BroadcastModel parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.pa.BroadcastModelProto.BroadcastModel parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.pa.BroadcastModelProto.BroadcastModel parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.pa.BroadcastModelProto.BroadcastModel parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.pa.BroadcastModelProto.BroadcastModel 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 club.joylink.rtss.iscs.proto.model.data.pa.BroadcastModelProto.BroadcastModel parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.pa.BroadcastModelProto.BroadcastModel 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 club.joylink.rtss.iscs.proto.model.data.pa.BroadcastModelProto.BroadcastModel parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.pa.BroadcastModelProto.BroadcastModel 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(club.joylink.rtss.iscs.proto.model.data.pa.BroadcastModelProto.BroadcastModel 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 model.pa.BroadcastModel} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
+ *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return Whether the identity field is set.
+ */
+ public boolean hasIdentity() {
+ return identityBuilder_ != null || identity_ != null;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return The identity.
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel getIdentity() {
+ if (identityBuilder_ == null) {
+ return identity_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.getDefaultInstance() : identity_;
+ } else {
+ return identityBuilder_.getMessage();
+ }
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public Builder setIdentity(club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel value) {
+ if (identityBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ identity_ = value;
+ onChanged();
+ } else {
+ identityBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public Builder setIdentity(
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder builderForValue) {
+ if (identityBuilder_ == null) {
+ identity_ = builderForValue.build();
+ onChanged();
+ } else {
+ identityBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public Builder mergeIdentity(club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel value) {
+ if (identityBuilder_ == null) {
+ if (identity_ != null) {
+ identity_ =
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.newBuilder(identity_).mergeFrom(value).buildPartial();
+ } else {
+ identity_ = value;
+ }
+ onChanged();
+ } else {
+ identityBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public Builder clearIdentity() {
+ if (identityBuilder_ == null) {
+ identity_ = null;
+ onChanged();
+ } else {
+ identity_ = null;
+ identityBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder getIdentityBuilder() {
+
+ onChanged();
+ return getIdentityFieldBuilder().getBuilder();
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder getIdentityOrBuilder() {
+ if (identityBuilder_ != null) {
+ return identityBuilder_.getMessageOrBuilder();
+ } else {
+ return identity_ == null ?
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.getDefaultInstance() : identity_;
+ }
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder>
+ getIdentityFieldBuilder() {
+ if (identityBuilder_ == null) {
+ identityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder>(
+ getIdentity(),
+ getParentForChildren(),
+ isClean());
+ identity_ = null;
+ }
+ return identityBuilder_;
+ }
+
+ private club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef paServer_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder> paServerBuilder_;
+ /**
+ * + *该广播所属控制器 + *PaServerModel + *+ * + *
.model.ModelRef paServer = 2;
+ * @return Whether the paServer field is set.
+ */
+ public boolean hasPaServer() {
+ return paServerBuilder_ != null || paServer_ != null;
+ }
+ /**
+ * + *该广播所属控制器 + *PaServerModel + *+ * + *
.model.ModelRef paServer = 2;
+ * @return The paServer.
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getPaServer() {
+ if (paServerBuilder_ == null) {
+ return paServer_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : paServer_;
+ } else {
+ return paServerBuilder_.getMessage();
+ }
+ }
+ /**
+ * + *该广播所属控制器 + *PaServerModel + *+ * + *
.model.ModelRef paServer = 2;
+ */
+ public Builder setPaServer(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef value) {
+ if (paServerBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ paServer_ = value;
+ onChanged();
+ } else {
+ paServerBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *该广播所属控制器 + *PaServerModel + *+ * + *
.model.ModelRef paServer = 2;
+ */
+ public Builder setPaServer(
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder builderForValue) {
+ if (paServerBuilder_ == null) {
+ paServer_ = builderForValue.build();
+ onChanged();
+ } else {
+ paServerBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + *该广播所属控制器 + *PaServerModel + *+ * + *
.model.ModelRef paServer = 2;
+ */
+ public Builder mergePaServer(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef value) {
+ if (paServerBuilder_ == null) {
+ if (paServer_ != null) {
+ paServer_ =
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.newBuilder(paServer_).mergeFrom(value).buildPartial();
+ } else {
+ paServer_ = value;
+ }
+ onChanged();
+ } else {
+ paServerBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *该广播所属控制器 + *PaServerModel + *+ * + *
.model.ModelRef paServer = 2;
+ */
+ public Builder clearPaServer() {
+ if (paServerBuilder_ == null) {
+ paServer_ = null;
+ onChanged();
+ } else {
+ paServer_ = null;
+ paServerBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + *该广播所属控制器 + *PaServerModel + *+ * + *
.model.ModelRef paServer = 2;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder getPaServerBuilder() {
+
+ onChanged();
+ return getPaServerFieldBuilder().getBuilder();
+ }
+ /**
+ * + *该广播所属控制器 + *PaServerModel + *+ * + *
.model.ModelRef paServer = 2;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getPaServerOrBuilder() {
+ if (paServerBuilder_ != null) {
+ return paServerBuilder_.getMessageOrBuilder();
+ } else {
+ return paServer_ == null ?
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : paServer_;
+ }
+ }
+ /**
+ * + *该广播所属控制器 + *PaServerModel + *+ * + *
.model.ModelRef paServer = 2;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder>
+ getPaServerFieldBuilder() {
+ if (paServerBuilder_ == null) {
+ paServerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder>(
+ getPaServer(),
+ getParentForChildren(),
+ isClean());
+ paServer_ = null;
+ }
+ return paServerBuilder_;
+ }
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+
+ // @@protoc_insertion_point(builder_scope:model.pa.BroadcastModel)
+ }
+
+ // @@protoc_insertion_point(class_scope:model.pa.BroadcastModel)
+ private static final club.joylink.rtss.iscs.proto.model.data.pa.BroadcastModelProto.BroadcastModel DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new club.joylink.rtss.iscs.proto.model.data.pa.BroadcastModelProto.BroadcastModel();
+ }
+
+ public static club.joylink.rtss.iscs.proto.model.data.pa.BroadcastModelProto.BroadcastModel getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return Whether the identity field is set.
+ */
+ boolean hasIdentity();
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return The identity.
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel getIdentity();
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder getIdentityOrBuilder();
+ }
+ /**
+ * + ** + * 母联备自投 + *+ * + * Protobuf type {@code model.power.BusTieSpareSourceAutoSwitchModel} + */ + public static final class BusTieSpareSourceAutoSwitchModel extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:model.power.BusTieSpareSourceAutoSwitchModel) + BusTieSpareSourceAutoSwitchModelOrBuilder { + private static final long serialVersionUID = 0L; + // Use BusTieSpareSourceAutoSwitchModel.newBuilder() to construct. + private BusTieSpareSourceAutoSwitchModel(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private BusTieSpareSourceAutoSwitchModel() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new BusTieSpareSourceAutoSwitchModel(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private BusTieSpareSourceAutoSwitchModel( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + 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: { + club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder subBuilder = null; + if (identity_ != null) { + subBuilder = identity_.toBuilder(); + } + identity_ = input.readMessage(club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(identity_); + identity_ = subBuilder.buildPartial(); + } + + 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 { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.internal_static_model_power_BusTieSpareSourceAutoSwitchModel_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.internal_static_model_power_BusTieSpareSourceAutoSwitchModel_fieldAccessorTable + .ensureFieldAccessorsInitialized( + club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel.class, club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel.Builder.class); + } + + public static final int IDENTITY_FIELD_NUMBER = 1; + private club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel identity_; + /** + *
+ *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return Whether the identity field is set.
+ */
+ @java.lang.Override
+ public boolean hasIdentity() {
+ return identity_ != null;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return The identity.
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel getIdentity() {
+ return identity_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.getDefaultInstance() : identity_;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder getIdentityOrBuilder() {
+ return getIdentity();
+ }
+
+ 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 (identity_ != null) {
+ output.writeMessage(1, getIdentity());
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (identity_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, getIdentity());
+ }
+ 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 club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel)) {
+ return super.equals(obj);
+ }
+ club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel other = (club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel) obj;
+
+ if (hasIdentity() != other.hasIdentity()) return false;
+ if (hasIdentity()) {
+ if (!getIdentity()
+ .equals(other.getIdentity())) return false;
+ }
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasIdentity()) {
+ hash = (37 * hash) + IDENTITY_FIELD_NUMBER;
+ hash = (53 * hash) + getIdentity().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel 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 club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel 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 club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel 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(club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel 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 model.power.BusTieSpareSourceAutoSwitchModel} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
+ *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return Whether the identity field is set.
+ */
+ public boolean hasIdentity() {
+ return identityBuilder_ != null || identity_ != null;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return The identity.
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel getIdentity() {
+ if (identityBuilder_ == null) {
+ return identity_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.getDefaultInstance() : identity_;
+ } else {
+ return identityBuilder_.getMessage();
+ }
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public Builder setIdentity(club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel value) {
+ if (identityBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ identity_ = value;
+ onChanged();
+ } else {
+ identityBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public Builder setIdentity(
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder builderForValue) {
+ if (identityBuilder_ == null) {
+ identity_ = builderForValue.build();
+ onChanged();
+ } else {
+ identityBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public Builder mergeIdentity(club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel value) {
+ if (identityBuilder_ == null) {
+ if (identity_ != null) {
+ identity_ =
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.newBuilder(identity_).mergeFrom(value).buildPartial();
+ } else {
+ identity_ = value;
+ }
+ onChanged();
+ } else {
+ identityBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public Builder clearIdentity() {
+ if (identityBuilder_ == null) {
+ identity_ = null;
+ onChanged();
+ } else {
+ identity_ = null;
+ identityBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder getIdentityBuilder() {
+
+ onChanged();
+ return getIdentityFieldBuilder().getBuilder();
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder getIdentityOrBuilder() {
+ if (identityBuilder_ != null) {
+ return identityBuilder_.getMessageOrBuilder();
+ } else {
+ return identity_ == null ?
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.getDefaultInstance() : identity_;
+ }
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder>
+ getIdentityFieldBuilder() {
+ if (identityBuilder_ == null) {
+ identityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder>(
+ getIdentity(),
+ getParentForChildren(),
+ isClean());
+ identity_ = null;
+ }
+ return identityBuilder_;
+ }
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+
+ // @@protoc_insertion_point(builder_scope:model.power.BusTieSpareSourceAutoSwitchModel)
+ }
+
+ // @@protoc_insertion_point(class_scope:model.power.BusTieSpareSourceAutoSwitchModel)
+ private static final club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel();
+ }
+
+ public static club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return Whether the identity field is set.
+ */
+ boolean hasIdentity();
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return The identity.
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel getIdentity();
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder getIdentityOrBuilder();
+
+ /**
+ * + *接线端1 + *WireModel + *+ * + *
.model.ModelRef terminal1 = 2;
+ * @return Whether the terminal1 field is set.
+ */
+ boolean hasTerminal1();
+ /**
+ * + *接线端1 + *WireModel + *+ * + *
.model.ModelRef terminal1 = 2;
+ * @return The terminal1.
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getTerminal1();
+ /**
+ * + *接线端1 + *WireModel + *+ * + *
.model.ModelRef terminal1 = 2;
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getTerminal1OrBuilder();
+
+ /**
+ * + *接线端2 + *+ * + *
.model.ModelRef terminal2 = 3;
+ * @return Whether the terminal2 field is set.
+ */
+ boolean hasTerminal2();
+ /**
+ * + *接线端2 + *+ * + *
.model.ModelRef terminal2 = 3;
+ * @return The terminal2.
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getTerminal2();
+ /**
+ * + *接线端2 + *+ * + *
.model.ModelRef terminal2 = 3;
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getTerminal2OrBuilder();
+ }
+ /**
+ * + ** + * 电容器模型数据 + * <p> + * 通交流阻直流 + *+ * + * Protobuf type {@code model.power.CapacitorModel} + */ + public static final class CapacitorModel extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:model.power.CapacitorModel) + CapacitorModelOrBuilder { + private static final long serialVersionUID = 0L; + // Use CapacitorModel.newBuilder() to construct. + private CapacitorModel(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private CapacitorModel() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CapacitorModel(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CapacitorModel( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + 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: { + club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder subBuilder = null; + if (identity_ != null) { + subBuilder = identity_.toBuilder(); + } + identity_ = input.readMessage(club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(identity_); + identity_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder subBuilder = null; + if (terminal1_ != null) { + subBuilder = terminal1_.toBuilder(); + } + terminal1_ = input.readMessage(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(terminal1_); + terminal1_ = subBuilder.buildPartial(); + } + + break; + } + case 26: { + club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder subBuilder = null; + if (terminal2_ != null) { + subBuilder = terminal2_.toBuilder(); + } + terminal2_ = input.readMessage(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(terminal2_); + terminal2_ = subBuilder.buildPartial(); + } + + 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 { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return club.joylink.rtss.iscs.proto.model.data.power.CapacitorModelProto.internal_static_model_power_CapacitorModel_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return club.joylink.rtss.iscs.proto.model.data.power.CapacitorModelProto.internal_static_model_power_CapacitorModel_fieldAccessorTable + .ensureFieldAccessorsInitialized( + club.joylink.rtss.iscs.proto.model.data.power.CapacitorModelProto.CapacitorModel.class, club.joylink.rtss.iscs.proto.model.data.power.CapacitorModelProto.CapacitorModel.Builder.class); + } + + public static final int IDENTITY_FIELD_NUMBER = 1; + private club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel identity_; + /** + *
+ *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return Whether the identity field is set.
+ */
+ @java.lang.Override
+ public boolean hasIdentity() {
+ return identity_ != null;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return The identity.
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel getIdentity() {
+ return identity_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.getDefaultInstance() : identity_;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder getIdentityOrBuilder() {
+ return getIdentity();
+ }
+
+ public static final int TERMINAL1_FIELD_NUMBER = 2;
+ private club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef terminal1_;
+ /**
+ * + *接线端1 + *WireModel + *+ * + *
.model.ModelRef terminal1 = 2;
+ * @return Whether the terminal1 field is set.
+ */
+ @java.lang.Override
+ public boolean hasTerminal1() {
+ return terminal1_ != null;
+ }
+ /**
+ * + *接线端1 + *WireModel + *+ * + *
.model.ModelRef terminal1 = 2;
+ * @return The terminal1.
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getTerminal1() {
+ return terminal1_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : terminal1_;
+ }
+ /**
+ * + *接线端1 + *WireModel + *+ * + *
.model.ModelRef terminal1 = 2;
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getTerminal1OrBuilder() {
+ return getTerminal1();
+ }
+
+ public static final int TERMINAL2_FIELD_NUMBER = 3;
+ private club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef terminal2_;
+ /**
+ * + *接线端2 + *+ * + *
.model.ModelRef terminal2 = 3;
+ * @return Whether the terminal2 field is set.
+ */
+ @java.lang.Override
+ public boolean hasTerminal2() {
+ return terminal2_ != null;
+ }
+ /**
+ * + *接线端2 + *+ * + *
.model.ModelRef terminal2 = 3;
+ * @return The terminal2.
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getTerminal2() {
+ return terminal2_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : terminal2_;
+ }
+ /**
+ * + *接线端2 + *+ * + *
.model.ModelRef terminal2 = 3;
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getTerminal2OrBuilder() {
+ return getTerminal2();
+ }
+
+ 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 (identity_ != null) {
+ output.writeMessage(1, getIdentity());
+ }
+ if (terminal1_ != null) {
+ output.writeMessage(2, getTerminal1());
+ }
+ if (terminal2_ != null) {
+ output.writeMessage(3, getTerminal2());
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (identity_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, getIdentity());
+ }
+ if (terminal1_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(2, getTerminal1());
+ }
+ if (terminal2_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(3, getTerminal2());
+ }
+ 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 club.joylink.rtss.iscs.proto.model.data.power.CapacitorModelProto.CapacitorModel)) {
+ return super.equals(obj);
+ }
+ club.joylink.rtss.iscs.proto.model.data.power.CapacitorModelProto.CapacitorModel other = (club.joylink.rtss.iscs.proto.model.data.power.CapacitorModelProto.CapacitorModel) obj;
+
+ if (hasIdentity() != other.hasIdentity()) return false;
+ if (hasIdentity()) {
+ if (!getIdentity()
+ .equals(other.getIdentity())) return false;
+ }
+ if (hasTerminal1() != other.hasTerminal1()) return false;
+ if (hasTerminal1()) {
+ if (!getTerminal1()
+ .equals(other.getTerminal1())) return false;
+ }
+ if (hasTerminal2() != other.hasTerminal2()) return false;
+ if (hasTerminal2()) {
+ if (!getTerminal2()
+ .equals(other.getTerminal2())) return false;
+ }
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasIdentity()) {
+ hash = (37 * hash) + IDENTITY_FIELD_NUMBER;
+ hash = (53 * hash) + getIdentity().hashCode();
+ }
+ if (hasTerminal1()) {
+ hash = (37 * hash) + TERMINAL1_FIELD_NUMBER;
+ hash = (53 * hash) + getTerminal1().hashCode();
+ }
+ if (hasTerminal2()) {
+ hash = (37 * hash) + TERMINAL2_FIELD_NUMBER;
+ hash = (53 * hash) + getTerminal2().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static club.joylink.rtss.iscs.proto.model.data.power.CapacitorModelProto.CapacitorModel parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.power.CapacitorModelProto.CapacitorModel parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.power.CapacitorModelProto.CapacitorModel parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.power.CapacitorModelProto.CapacitorModel parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.power.CapacitorModelProto.CapacitorModel parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.power.CapacitorModelProto.CapacitorModel parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.power.CapacitorModelProto.CapacitorModel parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.power.CapacitorModelProto.CapacitorModel 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 club.joylink.rtss.iscs.proto.model.data.power.CapacitorModelProto.CapacitorModel parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.power.CapacitorModelProto.CapacitorModel 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 club.joylink.rtss.iscs.proto.model.data.power.CapacitorModelProto.CapacitorModel parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.power.CapacitorModelProto.CapacitorModel 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(club.joylink.rtss.iscs.proto.model.data.power.CapacitorModelProto.CapacitorModel 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;
+ }
+ /**
+ * + ** + * 电容器模型数据 + * <p> + * 通交流阻直流 + *+ * + * Protobuf type {@code model.power.CapacitorModel} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
+ *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return Whether the identity field is set.
+ */
+ public boolean hasIdentity() {
+ return identityBuilder_ != null || identity_ != null;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return The identity.
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel getIdentity() {
+ if (identityBuilder_ == null) {
+ return identity_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.getDefaultInstance() : identity_;
+ } else {
+ return identityBuilder_.getMessage();
+ }
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public Builder setIdentity(club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel value) {
+ if (identityBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ identity_ = value;
+ onChanged();
+ } else {
+ identityBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public Builder setIdentity(
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder builderForValue) {
+ if (identityBuilder_ == null) {
+ identity_ = builderForValue.build();
+ onChanged();
+ } else {
+ identityBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public Builder mergeIdentity(club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel value) {
+ if (identityBuilder_ == null) {
+ if (identity_ != null) {
+ identity_ =
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.newBuilder(identity_).mergeFrom(value).buildPartial();
+ } else {
+ identity_ = value;
+ }
+ onChanged();
+ } else {
+ identityBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public Builder clearIdentity() {
+ if (identityBuilder_ == null) {
+ identity_ = null;
+ onChanged();
+ } else {
+ identity_ = null;
+ identityBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder getIdentityBuilder() {
+
+ onChanged();
+ return getIdentityFieldBuilder().getBuilder();
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder getIdentityOrBuilder() {
+ if (identityBuilder_ != null) {
+ return identityBuilder_.getMessageOrBuilder();
+ } else {
+ return identity_ == null ?
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.getDefaultInstance() : identity_;
+ }
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder>
+ getIdentityFieldBuilder() {
+ if (identityBuilder_ == null) {
+ identityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder>(
+ getIdentity(),
+ getParentForChildren(),
+ isClean());
+ identity_ = null;
+ }
+ return identityBuilder_;
+ }
+
+ private club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef terminal1_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder> terminal1Builder_;
+ /**
+ * + *接线端1 + *WireModel + *+ * + *
.model.ModelRef terminal1 = 2;
+ * @return Whether the terminal1 field is set.
+ */
+ public boolean hasTerminal1() {
+ return terminal1Builder_ != null || terminal1_ != null;
+ }
+ /**
+ * + *接线端1 + *WireModel + *+ * + *
.model.ModelRef terminal1 = 2;
+ * @return The terminal1.
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getTerminal1() {
+ if (terminal1Builder_ == null) {
+ return terminal1_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : terminal1_;
+ } else {
+ return terminal1Builder_.getMessage();
+ }
+ }
+ /**
+ * + *接线端1 + *WireModel + *+ * + *
.model.ModelRef terminal1 = 2;
+ */
+ public Builder setTerminal1(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef value) {
+ if (terminal1Builder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ terminal1_ = value;
+ onChanged();
+ } else {
+ terminal1Builder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *接线端1 + *WireModel + *+ * + *
.model.ModelRef terminal1 = 2;
+ */
+ public Builder setTerminal1(
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder builderForValue) {
+ if (terminal1Builder_ == null) {
+ terminal1_ = builderForValue.build();
+ onChanged();
+ } else {
+ terminal1Builder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + *接线端1 + *WireModel + *+ * + *
.model.ModelRef terminal1 = 2;
+ */
+ public Builder mergeTerminal1(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef value) {
+ if (terminal1Builder_ == null) {
+ if (terminal1_ != null) {
+ terminal1_ =
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.newBuilder(terminal1_).mergeFrom(value).buildPartial();
+ } else {
+ terminal1_ = value;
+ }
+ onChanged();
+ } else {
+ terminal1Builder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *接线端1 + *WireModel + *+ * + *
.model.ModelRef terminal1 = 2;
+ */
+ public Builder clearTerminal1() {
+ if (terminal1Builder_ == null) {
+ terminal1_ = null;
+ onChanged();
+ } else {
+ terminal1_ = null;
+ terminal1Builder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + *接线端1 + *WireModel + *+ * + *
.model.ModelRef terminal1 = 2;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder getTerminal1Builder() {
+
+ onChanged();
+ return getTerminal1FieldBuilder().getBuilder();
+ }
+ /**
+ * + *接线端1 + *WireModel + *+ * + *
.model.ModelRef terminal1 = 2;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getTerminal1OrBuilder() {
+ if (terminal1Builder_ != null) {
+ return terminal1Builder_.getMessageOrBuilder();
+ } else {
+ return terminal1_ == null ?
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : terminal1_;
+ }
+ }
+ /**
+ * + *接线端1 + *WireModel + *+ * + *
.model.ModelRef terminal1 = 2;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder>
+ getTerminal1FieldBuilder() {
+ if (terminal1Builder_ == null) {
+ terminal1Builder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder>(
+ getTerminal1(),
+ getParentForChildren(),
+ isClean());
+ terminal1_ = null;
+ }
+ return terminal1Builder_;
+ }
+
+ private club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef terminal2_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder> terminal2Builder_;
+ /**
+ * + *接线端2 + *+ * + *
.model.ModelRef terminal2 = 3;
+ * @return Whether the terminal2 field is set.
+ */
+ public boolean hasTerminal2() {
+ return terminal2Builder_ != null || terminal2_ != null;
+ }
+ /**
+ * + *接线端2 + *+ * + *
.model.ModelRef terminal2 = 3;
+ * @return The terminal2.
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getTerminal2() {
+ if (terminal2Builder_ == null) {
+ return terminal2_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : terminal2_;
+ } else {
+ return terminal2Builder_.getMessage();
+ }
+ }
+ /**
+ * + *接线端2 + *+ * + *
.model.ModelRef terminal2 = 3;
+ */
+ public Builder setTerminal2(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef value) {
+ if (terminal2Builder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ terminal2_ = value;
+ onChanged();
+ } else {
+ terminal2Builder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *接线端2 + *+ * + *
.model.ModelRef terminal2 = 3;
+ */
+ public Builder setTerminal2(
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder builderForValue) {
+ if (terminal2Builder_ == null) {
+ terminal2_ = builderForValue.build();
+ onChanged();
+ } else {
+ terminal2Builder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + *接线端2 + *+ * + *
.model.ModelRef terminal2 = 3;
+ */
+ public Builder mergeTerminal2(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef value) {
+ if (terminal2Builder_ == null) {
+ if (terminal2_ != null) {
+ terminal2_ =
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.newBuilder(terminal2_).mergeFrom(value).buildPartial();
+ } else {
+ terminal2_ = value;
+ }
+ onChanged();
+ } else {
+ terminal2Builder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *接线端2 + *+ * + *
.model.ModelRef terminal2 = 3;
+ */
+ public Builder clearTerminal2() {
+ if (terminal2Builder_ == null) {
+ terminal2_ = null;
+ onChanged();
+ } else {
+ terminal2_ = null;
+ terminal2Builder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + *接线端2 + *+ * + *
.model.ModelRef terminal2 = 3;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder getTerminal2Builder() {
+
+ onChanged();
+ return getTerminal2FieldBuilder().getBuilder();
+ }
+ /**
+ * + *接线端2 + *+ * + *
.model.ModelRef terminal2 = 3;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getTerminal2OrBuilder() {
+ if (terminal2Builder_ != null) {
+ return terminal2Builder_.getMessageOrBuilder();
+ } else {
+ return terminal2_ == null ?
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : terminal2_;
+ }
+ }
+ /**
+ * + *接线端2 + *+ * + *
.model.ModelRef terminal2 = 3;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder>
+ getTerminal2FieldBuilder() {
+ if (terminal2Builder_ == null) {
+ terminal2Builder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder>(
+ getTerminal2(),
+ getParentForChildren(),
+ isClean());
+ terminal2_ = null;
+ }
+ return terminal2Builder_;
+ }
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+
+ // @@protoc_insertion_point(builder_scope:model.power.CapacitorModel)
+ }
+
+ // @@protoc_insertion_point(class_scope:model.power.CapacitorModel)
+ private static final club.joylink.rtss.iscs.proto.model.data.power.CapacitorModelProto.CapacitorModel DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new club.joylink.rtss.iscs.proto.model.data.power.CapacitorModelProto.CapacitorModel();
+ }
+
+ public static club.joylink.rtss.iscs.proto.model.data.power.CapacitorModelProto.CapacitorModel getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return Whether the identity field is set.
+ */
+ boolean hasIdentity();
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return The identity.
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel getIdentity();
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder getIdentityOrBuilder();
+
+ /**
+ * + *断路器接线端1 + *WireModel + *+ * + *
.model.ModelRef terminal1 = 2;
+ * @return Whether the terminal1 field is set.
+ */
+ boolean hasTerminal1();
+ /**
+ * + *断路器接线端1 + *WireModel + *+ * + *
.model.ModelRef terminal1 = 2;
+ * @return The terminal1.
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getTerminal1();
+ /**
+ * + *断路器接线端1 + *WireModel + *+ * + *
.model.ModelRef terminal1 = 2;
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getTerminal1OrBuilder();
+
+ /**
+ * + *断路器接线端1 + *WireModel + *+ * + *
.model.ModelRef terminal2 = 3;
+ * @return Whether the terminal2 field is set.
+ */
+ boolean hasTerminal2();
+ /**
+ * + *断路器接线端1 + *WireModel + *+ * + *
.model.ModelRef terminal2 = 3;
+ * @return The terminal2.
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getTerminal2();
+ /**
+ * + *断路器接线端1 + *WireModel + *+ * + *
.model.ModelRef terminal2 = 3;
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getTerminal2OrBuilder();
+ }
+ /**
+ * + ** + * 断路器模型数据 + *+ * + * Protobuf type {@code model.power.CircuitBreakerModel} + */ + public static final class CircuitBreakerModel extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:model.power.CircuitBreakerModel) + CircuitBreakerModelOrBuilder { + private static final long serialVersionUID = 0L; + // Use CircuitBreakerModel.newBuilder() to construct. + private CircuitBreakerModel(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private CircuitBreakerModel() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CircuitBreakerModel(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CircuitBreakerModel( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + 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: { + club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder subBuilder = null; + if (identity_ != null) { + subBuilder = identity_.toBuilder(); + } + identity_ = input.readMessage(club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(identity_); + identity_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder subBuilder = null; + if (terminal1_ != null) { + subBuilder = terminal1_.toBuilder(); + } + terminal1_ = input.readMessage(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(terminal1_); + terminal1_ = subBuilder.buildPartial(); + } + + break; + } + case 26: { + club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder subBuilder = null; + if (terminal2_ != null) { + subBuilder = terminal2_.toBuilder(); + } + terminal2_ = input.readMessage(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(terminal2_); + terminal2_ = subBuilder.buildPartial(); + } + + 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 { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return club.joylink.rtss.iscs.proto.model.data.power.CircuitBreakerModelProto.internal_static_model_power_CircuitBreakerModel_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return club.joylink.rtss.iscs.proto.model.data.power.CircuitBreakerModelProto.internal_static_model_power_CircuitBreakerModel_fieldAccessorTable + .ensureFieldAccessorsInitialized( + club.joylink.rtss.iscs.proto.model.data.power.CircuitBreakerModelProto.CircuitBreakerModel.class, club.joylink.rtss.iscs.proto.model.data.power.CircuitBreakerModelProto.CircuitBreakerModel.Builder.class); + } + + public static final int IDENTITY_FIELD_NUMBER = 1; + private club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel identity_; + /** + *
+ *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return Whether the identity field is set.
+ */
+ @java.lang.Override
+ public boolean hasIdentity() {
+ return identity_ != null;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return The identity.
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel getIdentity() {
+ return identity_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.getDefaultInstance() : identity_;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder getIdentityOrBuilder() {
+ return getIdentity();
+ }
+
+ public static final int TERMINAL1_FIELD_NUMBER = 2;
+ private club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef terminal1_;
+ /**
+ * + *断路器接线端1 + *WireModel + *+ * + *
.model.ModelRef terminal1 = 2;
+ * @return Whether the terminal1 field is set.
+ */
+ @java.lang.Override
+ public boolean hasTerminal1() {
+ return terminal1_ != null;
+ }
+ /**
+ * + *断路器接线端1 + *WireModel + *+ * + *
.model.ModelRef terminal1 = 2;
+ * @return The terminal1.
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getTerminal1() {
+ return terminal1_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : terminal1_;
+ }
+ /**
+ * + *断路器接线端1 + *WireModel + *+ * + *
.model.ModelRef terminal1 = 2;
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getTerminal1OrBuilder() {
+ return getTerminal1();
+ }
+
+ public static final int TERMINAL2_FIELD_NUMBER = 3;
+ private club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef terminal2_;
+ /**
+ * + *断路器接线端1 + *WireModel + *+ * + *
.model.ModelRef terminal2 = 3;
+ * @return Whether the terminal2 field is set.
+ */
+ @java.lang.Override
+ public boolean hasTerminal2() {
+ return terminal2_ != null;
+ }
+ /**
+ * + *断路器接线端1 + *WireModel + *+ * + *
.model.ModelRef terminal2 = 3;
+ * @return The terminal2.
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getTerminal2() {
+ return terminal2_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : terminal2_;
+ }
+ /**
+ * + *断路器接线端1 + *WireModel + *+ * + *
.model.ModelRef terminal2 = 3;
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getTerminal2OrBuilder() {
+ return getTerminal2();
+ }
+
+ 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 (identity_ != null) {
+ output.writeMessage(1, getIdentity());
+ }
+ if (terminal1_ != null) {
+ output.writeMessage(2, getTerminal1());
+ }
+ if (terminal2_ != null) {
+ output.writeMessage(3, getTerminal2());
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (identity_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, getIdentity());
+ }
+ if (terminal1_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(2, getTerminal1());
+ }
+ if (terminal2_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(3, getTerminal2());
+ }
+ 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 club.joylink.rtss.iscs.proto.model.data.power.CircuitBreakerModelProto.CircuitBreakerModel)) {
+ return super.equals(obj);
+ }
+ club.joylink.rtss.iscs.proto.model.data.power.CircuitBreakerModelProto.CircuitBreakerModel other = (club.joylink.rtss.iscs.proto.model.data.power.CircuitBreakerModelProto.CircuitBreakerModel) obj;
+
+ if (hasIdentity() != other.hasIdentity()) return false;
+ if (hasIdentity()) {
+ if (!getIdentity()
+ .equals(other.getIdentity())) return false;
+ }
+ if (hasTerminal1() != other.hasTerminal1()) return false;
+ if (hasTerminal1()) {
+ if (!getTerminal1()
+ .equals(other.getTerminal1())) return false;
+ }
+ if (hasTerminal2() != other.hasTerminal2()) return false;
+ if (hasTerminal2()) {
+ if (!getTerminal2()
+ .equals(other.getTerminal2())) return false;
+ }
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasIdentity()) {
+ hash = (37 * hash) + IDENTITY_FIELD_NUMBER;
+ hash = (53 * hash) + getIdentity().hashCode();
+ }
+ if (hasTerminal1()) {
+ hash = (37 * hash) + TERMINAL1_FIELD_NUMBER;
+ hash = (53 * hash) + getTerminal1().hashCode();
+ }
+ if (hasTerminal2()) {
+ hash = (37 * hash) + TERMINAL2_FIELD_NUMBER;
+ hash = (53 * hash) + getTerminal2().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static club.joylink.rtss.iscs.proto.model.data.power.CircuitBreakerModelProto.CircuitBreakerModel parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.power.CircuitBreakerModelProto.CircuitBreakerModel parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.power.CircuitBreakerModelProto.CircuitBreakerModel parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.power.CircuitBreakerModelProto.CircuitBreakerModel parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.power.CircuitBreakerModelProto.CircuitBreakerModel parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.power.CircuitBreakerModelProto.CircuitBreakerModel parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.power.CircuitBreakerModelProto.CircuitBreakerModel parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.power.CircuitBreakerModelProto.CircuitBreakerModel 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 club.joylink.rtss.iscs.proto.model.data.power.CircuitBreakerModelProto.CircuitBreakerModel parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.power.CircuitBreakerModelProto.CircuitBreakerModel 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 club.joylink.rtss.iscs.proto.model.data.power.CircuitBreakerModelProto.CircuitBreakerModel parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.power.CircuitBreakerModelProto.CircuitBreakerModel 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(club.joylink.rtss.iscs.proto.model.data.power.CircuitBreakerModelProto.CircuitBreakerModel 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 model.power.CircuitBreakerModel} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
+ *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return Whether the identity field is set.
+ */
+ public boolean hasIdentity() {
+ return identityBuilder_ != null || identity_ != null;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ * @return The identity.
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel getIdentity() {
+ if (identityBuilder_ == null) {
+ return identity_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.getDefaultInstance() : identity_;
+ } else {
+ return identityBuilder_.getMessage();
+ }
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public Builder setIdentity(club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel value) {
+ if (identityBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ identity_ = value;
+ onChanged();
+ } else {
+ identityBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public Builder setIdentity(
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder builderForValue) {
+ if (identityBuilder_ == null) {
+ identity_ = builderForValue.build();
+ onChanged();
+ } else {
+ identityBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public Builder mergeIdentity(club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel value) {
+ if (identityBuilder_ == null) {
+ if (identity_ != null) {
+ identity_ =
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.newBuilder(identity_).mergeFrom(value).buildPartial();
+ } else {
+ identity_ = value;
+ }
+ onChanged();
+ } else {
+ identityBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public Builder clearIdentity() {
+ if (identityBuilder_ == null) {
+ identity_ = null;
+ onChanged();
+ } else {
+ identity_ = null;
+ identityBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder getIdentityBuilder() {
+
+ onChanged();
+ return getIdentityFieldBuilder().getBuilder();
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder getIdentityOrBuilder() {
+ if (identityBuilder_ != null) {
+ return identityBuilder_.getMessageOrBuilder();
+ } else {
+ return identity_ == null ?
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.getDefaultInstance() : identity_;
+ }
+ }
+ /**
+ * + *当前模型数据唯一标识 + *+ * + *
.model.DataModel identity = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder>
+ getIdentityFieldBuilder() {
+ if (identityBuilder_ == null) {
+ identityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder>(
+ getIdentity(),
+ getParentForChildren(),
+ isClean());
+ identity_ = null;
+ }
+ return identityBuilder_;
+ }
+
+ private club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef terminal1_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder> terminal1Builder_;
+ /**
+ * + *断路器接线端1 + *WireModel + *+ * + *
.model.ModelRef terminal1 = 2;
+ * @return Whether the terminal1 field is set.
+ */
+ public boolean hasTerminal1() {
+ return terminal1Builder_ != null || terminal1_ != null;
+ }
+ /**
+ * + *断路器接线端1 + *WireModel + *+ * + *
.model.ModelRef terminal1 = 2;
+ * @return The terminal1.
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getTerminal1() {
+ if (terminal1Builder_ == null) {
+ return terminal1_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : terminal1_;
+ } else {
+ return terminal1Builder_.getMessage();
+ }
+ }
+ /**
+ * + *断路器接线端1 + *WireModel + *+ * + *
.model.ModelRef terminal1 = 2;
+ */
+ public Builder setTerminal1(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef value) {
+ if (terminal1Builder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ terminal1_ = value;
+ onChanged();
+ } else {
+ terminal1Builder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *断路器接线端1 + *WireModel + *+ * + *
.model.ModelRef terminal1 = 2;
+ */
+ public Builder setTerminal1(
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder builderForValue) {
+ if (terminal1Builder_ == null) {
+ terminal1_ = builderForValue.build();
+ onChanged();
+ } else {
+ terminal1Builder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + *断路器接线端1 + *WireModel + *+ * + *
.model.ModelRef terminal1 = 2;
+ */
+ public Builder mergeTerminal1(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef value) {
+ if (terminal1Builder_ == null) {
+ if (terminal1_ != null) {
+ terminal1_ =
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.newBuilder(terminal1_).mergeFrom(value).buildPartial();
+ } else {
+ terminal1_ = value;
+ }
+ onChanged();
+ } else {
+ terminal1Builder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *断路器接线端1 + *WireModel + *+ * + *
.model.ModelRef terminal1 = 2;
+ */
+ public Builder clearTerminal1() {
+ if (terminal1Builder_ == null) {
+ terminal1_ = null;
+ onChanged();
+ } else {
+ terminal1_ = null;
+ terminal1Builder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + *断路器接线端1 + *WireModel + *+ * + *
.model.ModelRef terminal1 = 2;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder getTerminal1Builder() {
+
+ onChanged();
+ return getTerminal1FieldBuilder().getBuilder();
+ }
+ /**
+ * + *断路器接线端1 + *WireModel + *+ * + *
.model.ModelRef terminal1 = 2;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getTerminal1OrBuilder() {
+ if (terminal1Builder_ != null) {
+ return terminal1Builder_.getMessageOrBuilder();
+ } else {
+ return terminal1_ == null ?
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : terminal1_;
+ }
+ }
+ /**
+ * + *断路器接线端1 + *WireModel + *+ * + *
.model.ModelRef terminal1 = 2;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder>
+ getTerminal1FieldBuilder() {
+ if (terminal1Builder_ == null) {
+ terminal1Builder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder>(
+ getTerminal1(),
+ getParentForChildren(),
+ isClean());
+ terminal1_ = null;
+ }
+ return terminal1Builder_;
+ }
+
+ private club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef terminal2_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder> terminal2Builder_;
+ /**
+ * + *断路器接线端1 + *WireModel + *+ * + *
.model.ModelRef terminal2 = 3;
+ * @return Whether the terminal2 field is set.
+ */
+ public boolean hasTerminal2() {
+ return terminal2Builder_ != null || terminal2_ != null;
+ }
+ /**
+ * + *断路器接线端1 + *WireModel + *+ * + *
.model.ModelRef terminal2 = 3;
+ * @return The terminal2.
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getTerminal2() {
+ if (terminal2Builder_ == null) {
+ return terminal2_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : terminal2_;
+ } else {
+ return terminal2Builder_.getMessage();
+ }
+ }
+ /**
+ * + *断路器接线端1 + *WireModel + *+ * + *
.model.ModelRef terminal2 = 3;
+ */
+ public Builder setTerminal2(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef value) {
+ if (terminal2Builder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ terminal2_ = value;
+ onChanged();
+ } else {
+ terminal2Builder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *断路器接线端1 + *WireModel + *+ * + *
.model.ModelRef terminal2 = 3;
+ */
+ public Builder setTerminal2(
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder builderForValue) {
+ if (terminal2Builder_ == null) {
+ terminal2_ = builderForValue.build();
+ onChanged();
+ } else {
+ terminal2Builder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + *断路器接线端1 + *WireModel + *+ * + *
.model.ModelRef terminal2 = 3;
+ */
+ public Builder mergeTerminal2(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef value) {
+ if (terminal2Builder_ == null) {
+ if (terminal2_ != null) {
+ terminal2_ =
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.newBuilder(terminal2_).mergeFrom(value).buildPartial();
+ } else {
+ terminal2_ = value;
+ }
+ onChanged();
+ } else {
+ terminal2Builder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *断路器接线端1 + *WireModel + *+ * + *
.model.ModelRef terminal2 = 3;
+ */
+ public Builder clearTerminal2() {
+ if (terminal2Builder_ == null) {
+ terminal2_ = null;
+ onChanged();
+ } else {
+ terminal2_ = null;
+ terminal2Builder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + *断路器接线端1 + *WireModel + *+ * + *
.model.ModelRef terminal2 = 3;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder getTerminal2Builder() {
+
+ onChanged();
+ return getTerminal2FieldBuilder().getBuilder();
+ }
+ /**
+ * + *断路器接线端1 + *WireModel + *+ * + *
.model.ModelRef terminal2 = 3;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getTerminal2OrBuilder() {
+ if (terminal2Builder_ != null) {
+ return terminal2Builder_.getMessageOrBuilder();
+ } else {
+ return terminal2_ == null ?
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : terminal2_;
+ }
+ }
+ /**
+ * + *断路器接线端1 + *WireModel + *+ * + *
.model.ModelRef terminal2 = 3;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder>
+ getTerminal2FieldBuilder() {
+ if (terminal2Builder_ == null) {
+ terminal2Builder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder>(
+ getTerminal2(),
+ getParentForChildren(),
+ isClean());
+ terminal2_ = null;
+ }
+ return terminal2Builder_;
+ }
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+
+ // @@protoc_insertion_point(builder_scope:model.power.CircuitBreakerModel)
+ }
+
+ // @@protoc_insertion_point(class_scope:model.power.CircuitBreakerModel)
+ private static final club.joylink.rtss.iscs.proto.model.data.power.CircuitBreakerModelProto.CircuitBreakerModel DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new club.joylink.rtss.iscs.proto.model.data.power.CircuitBreakerModelProto.CircuitBreakerModel();
+ }
+
+ public static club.joylink.rtss.iscs.proto.model.data.power.CircuitBreakerModelProto.CircuitBreakerModel getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser.model.ModelRef modelRef = 1;
+ * @return Whether the modelRef field is set.
+ */
+ boolean hasModelRef();
+ /**
+ * .model.ModelRef modelRef = 1;
+ * @return The modelRef.
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getModelRef();
+ /**
+ * .model.ModelRef modelRef = 1;
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getModelRefOrBuilder();
+
+ /**
+ * .status.bas.pump.ChilledWaterPumpState.State state = 2;
+ * @return The enum numeric value on the wire for state.
+ */
+ int getStateValue();
+ /**
+ * .status.bas.pump.ChilledWaterPumpState.State state = 2;
+ * @return The state.
+ */
+ club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState.State getState();
+ }
+ /**
+ * + *冷冻水泵 + *+ * + * Protobuf type {@code status.bas.pump.ChilledWaterPumpState} + */ + public static final class ChilledWaterPumpState extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:status.bas.pump.ChilledWaterPumpState) + ChilledWaterPumpStateOrBuilder { + private static final long serialVersionUID = 0L; + // Use ChilledWaterPumpState.newBuilder() to construct. + private ChilledWaterPumpState(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private ChilledWaterPumpState() { + state_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ChilledWaterPumpState(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ChilledWaterPumpState( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + 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: { + club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder subBuilder = null; + if (modelRef_ != null) { + subBuilder = modelRef_.toBuilder(); + } + modelRef_ = input.readMessage(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(modelRef_); + modelRef_ = subBuilder.buildPartial(); + } + + break; + } + case 16: { + int rawValue = input.readEnum(); + + state_ = rawValue; + 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 { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.internal_static_status_bas_pump_ChilledWaterPumpState_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.internal_static_status_bas_pump_ChilledWaterPumpState_fieldAccessorTable + .ensureFieldAccessorsInitialized( + club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState.class, club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState.Builder.class); + } + + /** + * Protobuf enum {@code status.bas.pump.ChilledWaterPumpState.State} + */ + public enum State + implements com.google.protobuf.ProtocolMessageEnum { + /** + *
+ *停止 + *+ * + *
STOP = 0;
+ */
+ STOP(0),
+ /**
+ * + *运行 + *+ * + *
RUNING = 1;
+ */
+ RUNING(1),
+ /**
+ * + *故障 + *+ * + *
FAULT = 2;
+ */
+ FAULT(2),
+ /**
+ * + *通信中断 + *+ * + *
OFFLINE = 3;
+ */
+ OFFLINE(3),
+ UNRECOGNIZED(-1),
+ ;
+
+ /**
+ * + *停止 + *+ * + *
STOP = 0;
+ */
+ public static final int STOP_VALUE = 0;
+ /**
+ * + *运行 + *+ * + *
RUNING = 1;
+ */
+ public static final int RUNING_VALUE = 1;
+ /**
+ * + *故障 + *+ * + *
FAULT = 2;
+ */
+ public static final int FAULT_VALUE = 2;
+ /**
+ * + *通信中断 + *+ * + *
OFFLINE = 3;
+ */
+ public static final int OFFLINE_VALUE = 3;
+
+
+ public final int getNumber() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalArgumentException(
+ "Can't get the number of an unknown enum value.");
+ }
+ return value;
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
+ public static State valueOf(int value) {
+ return forNumber(value);
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
+ public static State forNumber(int value) {
+ switch (value) {
+ case 0: return STOP;
+ case 1: return RUNING;
+ case 2: return FAULT;
+ case 3: return OFFLINE;
+ default: return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap.model.ModelRef modelRef = 1;
+ * @return Whether the modelRef field is set.
+ */
+ @java.lang.Override
+ public boolean hasModelRef() {
+ return modelRef_ != null;
+ }
+ /**
+ * .model.ModelRef modelRef = 1;
+ * @return The modelRef.
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getModelRef() {
+ return modelRef_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : modelRef_;
+ }
+ /**
+ * .model.ModelRef modelRef = 1;
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getModelRefOrBuilder() {
+ return getModelRef();
+ }
+
+ public static final int STATE_FIELD_NUMBER = 2;
+ private int state_;
+ /**
+ * .status.bas.pump.ChilledWaterPumpState.State state = 2;
+ * @return The enum numeric value on the wire for state.
+ */
+ @java.lang.Override public int getStateValue() {
+ return state_;
+ }
+ /**
+ * .status.bas.pump.ChilledWaterPumpState.State state = 2;
+ * @return The state.
+ */
+ @java.lang.Override public club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState.State getState() {
+ @SuppressWarnings("deprecation")
+ club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState.State result = club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState.State.valueOf(state_);
+ return result == null ? club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState.State.UNRECOGNIZED : result;
+ }
+
+ 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 (modelRef_ != null) {
+ output.writeMessage(1, getModelRef());
+ }
+ if (state_ != club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState.State.STOP.getNumber()) {
+ output.writeEnum(2, state_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (modelRef_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, getModelRef());
+ }
+ if (state_ != club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState.State.STOP.getNumber()) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeEnumSize(2, state_);
+ }
+ 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 club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState)) {
+ return super.equals(obj);
+ }
+ club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState other = (club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState) obj;
+
+ if (hasModelRef() != other.hasModelRef()) return false;
+ if (hasModelRef()) {
+ if (!getModelRef()
+ .equals(other.getModelRef())) return false;
+ }
+ if (state_ != other.state_) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasModelRef()) {
+ hash = (37 * hash) + MODELREF_FIELD_NUMBER;
+ hash = (53 * hash) + getModelRef().hashCode();
+ }
+ hash = (37 * hash) + STATE_FIELD_NUMBER;
+ hash = (53 * hash) + state_;
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState 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 club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState 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 club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState 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(club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState 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 status.bas.pump.ChilledWaterPumpState} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
.model.ModelRef modelRef = 1;
+ * @return Whether the modelRef field is set.
+ */
+ public boolean hasModelRef() {
+ return modelRefBuilder_ != null || modelRef_ != null;
+ }
+ /**
+ * .model.ModelRef modelRef = 1;
+ * @return The modelRef.
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getModelRef() {
+ if (modelRefBuilder_ == null) {
+ return modelRef_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : modelRef_;
+ } else {
+ return modelRefBuilder_.getMessage();
+ }
+ }
+ /**
+ * .model.ModelRef modelRef = 1;
+ */
+ public Builder setModelRef(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef value) {
+ if (modelRefBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ modelRef_ = value;
+ onChanged();
+ } else {
+ modelRefBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * .model.ModelRef modelRef = 1;
+ */
+ public Builder setModelRef(
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder builderForValue) {
+ if (modelRefBuilder_ == null) {
+ modelRef_ = builderForValue.build();
+ onChanged();
+ } else {
+ modelRefBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * .model.ModelRef modelRef = 1;
+ */
+ public Builder mergeModelRef(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef value) {
+ if (modelRefBuilder_ == null) {
+ if (modelRef_ != null) {
+ modelRef_ =
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.newBuilder(modelRef_).mergeFrom(value).buildPartial();
+ } else {
+ modelRef_ = value;
+ }
+ onChanged();
+ } else {
+ modelRefBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * .model.ModelRef modelRef = 1;
+ */
+ public Builder clearModelRef() {
+ if (modelRefBuilder_ == null) {
+ modelRef_ = null;
+ onChanged();
+ } else {
+ modelRef_ = null;
+ modelRefBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * .model.ModelRef modelRef = 1;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder getModelRefBuilder() {
+
+ onChanged();
+ return getModelRefFieldBuilder().getBuilder();
+ }
+ /**
+ * .model.ModelRef modelRef = 1;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getModelRefOrBuilder() {
+ if (modelRefBuilder_ != null) {
+ return modelRefBuilder_.getMessageOrBuilder();
+ } else {
+ return modelRef_ == null ?
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : modelRef_;
+ }
+ }
+ /**
+ * .model.ModelRef modelRef = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder>
+ getModelRefFieldBuilder() {
+ if (modelRefBuilder_ == null) {
+ modelRefBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder>(
+ getModelRef(),
+ getParentForChildren(),
+ isClean());
+ modelRef_ = null;
+ }
+ return modelRefBuilder_;
+ }
+
+ private int state_ = 0;
+ /**
+ * .status.bas.pump.ChilledWaterPumpState.State state = 2;
+ * @return The enum numeric value on the wire for state.
+ */
+ @java.lang.Override public int getStateValue() {
+ return state_;
+ }
+ /**
+ * .status.bas.pump.ChilledWaterPumpState.State state = 2;
+ * @param value The enum numeric value on the wire for state to set.
+ * @return This builder for chaining.
+ */
+ public Builder setStateValue(int value) {
+
+ state_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * .status.bas.pump.ChilledWaterPumpState.State state = 2;
+ * @return The state.
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState.State getState() {
+ @SuppressWarnings("deprecation")
+ club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState.State result = club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState.State.valueOf(state_);
+ return result == null ? club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState.State.UNRECOGNIZED : result;
+ }
+ /**
+ * .status.bas.pump.ChilledWaterPumpState.State state = 2;
+ * @param value The state to set.
+ * @return This builder for chaining.
+ */
+ public Builder setState(club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState.State value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ state_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+ /**
+ * .status.bas.pump.ChilledWaterPumpState.State state = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearState() {
+
+ state_ = 0;
+ onChanged();
+ return this;
+ }
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+
+ // @@protoc_insertion_point(builder_scope:status.bas.pump.ChilledWaterPumpState)
+ }
+
+ // @@protoc_insertion_point(class_scope:status.bas.pump.ChilledWaterPumpState)
+ private static final club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState();
+ }
+
+ public static club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser.model.ModelRef modelRef = 1;
+ * @return Whether the modelRef field is set.
+ */
+ boolean hasModelRef();
+ /**
+ * .model.ModelRef modelRef = 1;
+ * @return The modelRef.
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getModelRef();
+ /**
+ * .model.ModelRef modelRef = 1;
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getModelRefOrBuilder();
+
+ /**
+ * .status.bas.valve.BypassValveState.State state = 2;
+ * @return The enum numeric value on the wire for state.
+ */
+ int getStateValue();
+ /**
+ * .status.bas.valve.BypassValveState.State state = 2;
+ * @return The state.
+ */
+ club.joylink.rtss.iscs.proto.model.status.bas.valve.BypassValveStateProto.BypassValveState.State getState();
+
+ /**
+ * + *开度 + *+ * + *
float opening = 3;
+ * @return The opening.
+ */
+ float getOpening();
+ }
+ /**
+ * + *旁通阀开关 + *+ * + * Protobuf type {@code status.bas.valve.BypassValveState} + */ + public static final class BypassValveState extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:status.bas.valve.BypassValveState) + BypassValveStateOrBuilder { + private static final long serialVersionUID = 0L; + // Use BypassValveState.newBuilder() to construct. + private BypassValveState(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private BypassValveState() { + state_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new BypassValveState(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private BypassValveState( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + 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: { + club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder subBuilder = null; + if (modelRef_ != null) { + subBuilder = modelRef_.toBuilder(); + } + modelRef_ = input.readMessage(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(modelRef_); + modelRef_ = subBuilder.buildPartial(); + } + + break; + } + case 16: { + int rawValue = input.readEnum(); + + state_ = rawValue; + break; + } + case 29: { + + opening_ = input.readFloat(); + 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 { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return club.joylink.rtss.iscs.proto.model.status.bas.valve.BypassValveStateProto.internal_static_status_bas_valve_BypassValveState_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return club.joylink.rtss.iscs.proto.model.status.bas.valve.BypassValveStateProto.internal_static_status_bas_valve_BypassValveState_fieldAccessorTable + .ensureFieldAccessorsInitialized( + club.joylink.rtss.iscs.proto.model.status.bas.valve.BypassValveStateProto.BypassValveState.class, club.joylink.rtss.iscs.proto.model.status.bas.valve.BypassValveStateProto.BypassValveState.Builder.class); + } + + /** + * Protobuf enum {@code status.bas.valve.BypassValveState.State} + */ + public enum State + implements com.google.protobuf.ProtocolMessageEnum { + /** + *
+ *工作中 + *+ * + *
WORKED = 0;
+ */
+ WORKED(0),
+ /**
+ * + *通信中断 + *+ * + *
OFFLINE = 1;
+ */
+ OFFLINE(1),
+ UNRECOGNIZED(-1),
+ ;
+
+ /**
+ * + *工作中 + *+ * + *
WORKED = 0;
+ */
+ public static final int WORKED_VALUE = 0;
+ /**
+ * + *通信中断 + *+ * + *
OFFLINE = 1;
+ */
+ public static final int OFFLINE_VALUE = 1;
+
+
+ public final int getNumber() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalArgumentException(
+ "Can't get the number of an unknown enum value.");
+ }
+ return value;
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
+ public static State valueOf(int value) {
+ return forNumber(value);
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
+ public static State forNumber(int value) {
+ switch (value) {
+ case 0: return WORKED;
+ case 1: return OFFLINE;
+ default: return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap.model.ModelRef modelRef = 1;
+ * @return Whether the modelRef field is set.
+ */
+ @java.lang.Override
+ public boolean hasModelRef() {
+ return modelRef_ != null;
+ }
+ /**
+ * .model.ModelRef modelRef = 1;
+ * @return The modelRef.
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getModelRef() {
+ return modelRef_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : modelRef_;
+ }
+ /**
+ * .model.ModelRef modelRef = 1;
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getModelRefOrBuilder() {
+ return getModelRef();
+ }
+
+ public static final int STATE_FIELD_NUMBER = 2;
+ private int state_;
+ /**
+ * .status.bas.valve.BypassValveState.State state = 2;
+ * @return The enum numeric value on the wire for state.
+ */
+ @java.lang.Override public int getStateValue() {
+ return state_;
+ }
+ /**
+ * .status.bas.valve.BypassValveState.State state = 2;
+ * @return The state.
+ */
+ @java.lang.Override public club.joylink.rtss.iscs.proto.model.status.bas.valve.BypassValveStateProto.BypassValveState.State getState() {
+ @SuppressWarnings("deprecation")
+ club.joylink.rtss.iscs.proto.model.status.bas.valve.BypassValveStateProto.BypassValveState.State result = club.joylink.rtss.iscs.proto.model.status.bas.valve.BypassValveStateProto.BypassValveState.State.valueOf(state_);
+ return result == null ? club.joylink.rtss.iscs.proto.model.status.bas.valve.BypassValveStateProto.BypassValveState.State.UNRECOGNIZED : result;
+ }
+
+ public static final int OPENING_FIELD_NUMBER = 3;
+ private float opening_;
+ /**
+ * + *开度 + *+ * + *
float opening = 3;
+ * @return The opening.
+ */
+ @java.lang.Override
+ public float getOpening() {
+ return opening_;
+ }
+
+ 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 (modelRef_ != null) {
+ output.writeMessage(1, getModelRef());
+ }
+ if (state_ != club.joylink.rtss.iscs.proto.model.status.bas.valve.BypassValveStateProto.BypassValveState.State.WORKED.getNumber()) {
+ output.writeEnum(2, state_);
+ }
+ if (java.lang.Float.floatToRawIntBits(opening_) != 0) {
+ output.writeFloat(3, opening_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (modelRef_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, getModelRef());
+ }
+ if (state_ != club.joylink.rtss.iscs.proto.model.status.bas.valve.BypassValveStateProto.BypassValveState.State.WORKED.getNumber()) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeEnumSize(2, state_);
+ }
+ if (java.lang.Float.floatToRawIntBits(opening_) != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeFloatSize(3, opening_);
+ }
+ 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 club.joylink.rtss.iscs.proto.model.status.bas.valve.BypassValveStateProto.BypassValveState)) {
+ return super.equals(obj);
+ }
+ club.joylink.rtss.iscs.proto.model.status.bas.valve.BypassValveStateProto.BypassValveState other = (club.joylink.rtss.iscs.proto.model.status.bas.valve.BypassValveStateProto.BypassValveState) obj;
+
+ if (hasModelRef() != other.hasModelRef()) return false;
+ if (hasModelRef()) {
+ if (!getModelRef()
+ .equals(other.getModelRef())) return false;
+ }
+ if (state_ != other.state_) return false;
+ if (java.lang.Float.floatToIntBits(getOpening())
+ != java.lang.Float.floatToIntBits(
+ other.getOpening())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasModelRef()) {
+ hash = (37 * hash) + MODELREF_FIELD_NUMBER;
+ hash = (53 * hash) + getModelRef().hashCode();
+ }
+ hash = (37 * hash) + STATE_FIELD_NUMBER;
+ hash = (53 * hash) + state_;
+ hash = (37 * hash) + OPENING_FIELD_NUMBER;
+ hash = (53 * hash) + java.lang.Float.floatToIntBits(
+ getOpening());
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static club.joylink.rtss.iscs.proto.model.status.bas.valve.BypassValveStateProto.BypassValveState parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.bas.valve.BypassValveStateProto.BypassValveState parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.bas.valve.BypassValveStateProto.BypassValveState parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.bas.valve.BypassValveStateProto.BypassValveState parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.bas.valve.BypassValveStateProto.BypassValveState parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.bas.valve.BypassValveStateProto.BypassValveState parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.bas.valve.BypassValveStateProto.BypassValveState parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.bas.valve.BypassValveStateProto.BypassValveState 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 club.joylink.rtss.iscs.proto.model.status.bas.valve.BypassValveStateProto.BypassValveState parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.bas.valve.BypassValveStateProto.BypassValveState 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 club.joylink.rtss.iscs.proto.model.status.bas.valve.BypassValveStateProto.BypassValveState parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.bas.valve.BypassValveStateProto.BypassValveState 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(club.joylink.rtss.iscs.proto.model.status.bas.valve.BypassValveStateProto.BypassValveState 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 status.bas.valve.BypassValveState} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
.model.ModelRef modelRef = 1;
+ * @return Whether the modelRef field is set.
+ */
+ public boolean hasModelRef() {
+ return modelRefBuilder_ != null || modelRef_ != null;
+ }
+ /**
+ * .model.ModelRef modelRef = 1;
+ * @return The modelRef.
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getModelRef() {
+ if (modelRefBuilder_ == null) {
+ return modelRef_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : modelRef_;
+ } else {
+ return modelRefBuilder_.getMessage();
+ }
+ }
+ /**
+ * .model.ModelRef modelRef = 1;
+ */
+ public Builder setModelRef(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef value) {
+ if (modelRefBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ modelRef_ = value;
+ onChanged();
+ } else {
+ modelRefBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * .model.ModelRef modelRef = 1;
+ */
+ public Builder setModelRef(
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder builderForValue) {
+ if (modelRefBuilder_ == null) {
+ modelRef_ = builderForValue.build();
+ onChanged();
+ } else {
+ modelRefBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * .model.ModelRef modelRef = 1;
+ */
+ public Builder mergeModelRef(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef value) {
+ if (modelRefBuilder_ == null) {
+ if (modelRef_ != null) {
+ modelRef_ =
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.newBuilder(modelRef_).mergeFrom(value).buildPartial();
+ } else {
+ modelRef_ = value;
+ }
+ onChanged();
+ } else {
+ modelRefBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * .model.ModelRef modelRef = 1;
+ */
+ public Builder clearModelRef() {
+ if (modelRefBuilder_ == null) {
+ modelRef_ = null;
+ onChanged();
+ } else {
+ modelRef_ = null;
+ modelRefBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * .model.ModelRef modelRef = 1;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder getModelRefBuilder() {
+
+ onChanged();
+ return getModelRefFieldBuilder().getBuilder();
+ }
+ /**
+ * .model.ModelRef modelRef = 1;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getModelRefOrBuilder() {
+ if (modelRefBuilder_ != null) {
+ return modelRefBuilder_.getMessageOrBuilder();
+ } else {
+ return modelRef_ == null ?
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : modelRef_;
+ }
+ }
+ /**
+ * .model.ModelRef modelRef = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder>
+ getModelRefFieldBuilder() {
+ if (modelRefBuilder_ == null) {
+ modelRefBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder>(
+ getModelRef(),
+ getParentForChildren(),
+ isClean());
+ modelRef_ = null;
+ }
+ return modelRefBuilder_;
+ }
+
+ private int state_ = 0;
+ /**
+ * .status.bas.valve.BypassValveState.State state = 2;
+ * @return The enum numeric value on the wire for state.
+ */
+ @java.lang.Override public int getStateValue() {
+ return state_;
+ }
+ /**
+ * .status.bas.valve.BypassValveState.State state = 2;
+ * @param value The enum numeric value on the wire for state to set.
+ * @return This builder for chaining.
+ */
+ public Builder setStateValue(int value) {
+
+ state_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * .status.bas.valve.BypassValveState.State state = 2;
+ * @return The state.
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.status.bas.valve.BypassValveStateProto.BypassValveState.State getState() {
+ @SuppressWarnings("deprecation")
+ club.joylink.rtss.iscs.proto.model.status.bas.valve.BypassValveStateProto.BypassValveState.State result = club.joylink.rtss.iscs.proto.model.status.bas.valve.BypassValveStateProto.BypassValveState.State.valueOf(state_);
+ return result == null ? club.joylink.rtss.iscs.proto.model.status.bas.valve.BypassValveStateProto.BypassValveState.State.UNRECOGNIZED : result;
+ }
+ /**
+ * .status.bas.valve.BypassValveState.State state = 2;
+ * @param value The state to set.
+ * @return This builder for chaining.
+ */
+ public Builder setState(club.joylink.rtss.iscs.proto.model.status.bas.valve.BypassValveStateProto.BypassValveState.State value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ state_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+ /**
+ * .status.bas.valve.BypassValveState.State state = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearState() {
+
+ state_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private float opening_ ;
+ /**
+ * + *开度 + *+ * + *
float opening = 3;
+ * @return The opening.
+ */
+ @java.lang.Override
+ public float getOpening() {
+ return opening_;
+ }
+ /**
+ * + *开度 + *+ * + *
float opening = 3;
+ * @param value The opening to set.
+ * @return This builder for chaining.
+ */
+ public Builder setOpening(float value) {
+
+ opening_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + *开度 + *+ * + *
float opening = 3;
+ * @return This builder for chaining.
+ */
+ public Builder clearOpening() {
+
+ opening_ = 0F;
+ onChanged();
+ return this;
+ }
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+
+ // @@protoc_insertion_point(builder_scope:status.bas.valve.BypassValveState)
+ }
+
+ // @@protoc_insertion_point(class_scope:status.bas.valve.BypassValveState)
+ private static final club.joylink.rtss.iscs.proto.model.status.bas.valve.BypassValveStateProto.BypassValveState DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new club.joylink.rtss.iscs.proto.model.status.bas.valve.BypassValveStateProto.BypassValveState();
+ }
+
+ public static club.joylink.rtss.iscs.proto.model.status.bas.valve.BypassValveStateProto.BypassValveState getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ *表示哪个模型的状态 + *CctvServerModel + *+ * + *
.model.ModelRef modelRef = 1;
+ * @return Whether the modelRef field is set.
+ */
+ boolean hasModelRef();
+ /**
+ * + *表示哪个模型的状态 + *CctvServerModel + *+ * + *
.model.ModelRef modelRef = 1;
+ * @return The modelRef.
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getModelRef();
+ /**
+ * + *表示哪个模型的状态 + *CctvServerModel + *+ * + *
.model.ModelRef modelRef = 1;
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getModelRefOrBuilder();
+
+ /**
+ * + *nms网络状态 + *+ * + *
.status.nms.NetworkState networkState = 2;
+ * @return The enum numeric value on the wire for networkState.
+ */
+ int getNetworkStateValue();
+ /**
+ * + *nms网络状态 + *+ * + *
.status.nms.NetworkState networkState = 2;
+ * @return The networkState.
+ */
+ club.joylink.rtss.iscs.proto.model.status.nms.NetworkStateProto.NetworkState getNetworkState();
+ }
+ /**
+ * + ** + * CCTV监控系统控制器状态 + *+ * + * Protobuf type {@code status.cctv.CctvServerState} + */ + public static final class CctvServerState extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:status.cctv.CctvServerState) + CctvServerStateOrBuilder { + private static final long serialVersionUID = 0L; + // Use CctvServerState.newBuilder() to construct. + private CctvServerState(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private CctvServerState() { + networkState_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CctvServerState(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CctvServerState( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + 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: { + club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder subBuilder = null; + if (modelRef_ != null) { + subBuilder = modelRef_.toBuilder(); + } + modelRef_ = input.readMessage(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(modelRef_); + modelRef_ = subBuilder.buildPartial(); + } + + break; + } + case 16: { + int rawValue = input.readEnum(); + + networkState_ = rawValue; + 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 { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.internal_static_status_cctv_CctvServerState_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.internal_static_status_cctv_CctvServerState_fieldAccessorTable + .ensureFieldAccessorsInitialized( + club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState.class, club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState.Builder.class); + } + + public static final int MODELREF_FIELD_NUMBER = 1; + private club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef modelRef_; + /** + *
+ *表示哪个模型的状态 + *CctvServerModel + *+ * + *
.model.ModelRef modelRef = 1;
+ * @return Whether the modelRef field is set.
+ */
+ @java.lang.Override
+ public boolean hasModelRef() {
+ return modelRef_ != null;
+ }
+ /**
+ * + *表示哪个模型的状态 + *CctvServerModel + *+ * + *
.model.ModelRef modelRef = 1;
+ * @return The modelRef.
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getModelRef() {
+ return modelRef_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : modelRef_;
+ }
+ /**
+ * + *表示哪个模型的状态 + *CctvServerModel + *+ * + *
.model.ModelRef modelRef = 1;
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getModelRefOrBuilder() {
+ return getModelRef();
+ }
+
+ public static final int NETWORKSTATE_FIELD_NUMBER = 2;
+ private int networkState_;
+ /**
+ * + *nms网络状态 + *+ * + *
.status.nms.NetworkState networkState = 2;
+ * @return The enum numeric value on the wire for networkState.
+ */
+ @java.lang.Override public int getNetworkStateValue() {
+ return networkState_;
+ }
+ /**
+ * + *nms网络状态 + *+ * + *
.status.nms.NetworkState networkState = 2;
+ * @return The networkState.
+ */
+ @java.lang.Override public club.joylink.rtss.iscs.proto.model.status.nms.NetworkStateProto.NetworkState getNetworkState() {
+ @SuppressWarnings("deprecation")
+ club.joylink.rtss.iscs.proto.model.status.nms.NetworkStateProto.NetworkState result = club.joylink.rtss.iscs.proto.model.status.nms.NetworkStateProto.NetworkState.valueOf(networkState_);
+ return result == null ? club.joylink.rtss.iscs.proto.model.status.nms.NetworkStateProto.NetworkState.UNRECOGNIZED : result;
+ }
+
+ 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 (modelRef_ != null) {
+ output.writeMessage(1, getModelRef());
+ }
+ if (networkState_ != club.joylink.rtss.iscs.proto.model.status.nms.NetworkStateProto.NetworkState.Normal.getNumber()) {
+ output.writeEnum(2, networkState_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (modelRef_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, getModelRef());
+ }
+ if (networkState_ != club.joylink.rtss.iscs.proto.model.status.nms.NetworkStateProto.NetworkState.Normal.getNumber()) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeEnumSize(2, networkState_);
+ }
+ 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 club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState)) {
+ return super.equals(obj);
+ }
+ club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState other = (club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState) obj;
+
+ if (hasModelRef() != other.hasModelRef()) return false;
+ if (hasModelRef()) {
+ if (!getModelRef()
+ .equals(other.getModelRef())) return false;
+ }
+ if (networkState_ != other.networkState_) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasModelRef()) {
+ hash = (37 * hash) + MODELREF_FIELD_NUMBER;
+ hash = (53 * hash) + getModelRef().hashCode();
+ }
+ hash = (37 * hash) + NETWORKSTATE_FIELD_NUMBER;
+ hash = (53 * hash) + networkState_;
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState 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 club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState 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 club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState 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(club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState 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;
+ }
+ /**
+ * + ** + * CCTV监控系统控制器状态 + *+ * + * Protobuf type {@code status.cctv.CctvServerState} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
+ *表示哪个模型的状态 + *CctvServerModel + *+ * + *
.model.ModelRef modelRef = 1;
+ * @return Whether the modelRef field is set.
+ */
+ public boolean hasModelRef() {
+ return modelRefBuilder_ != null || modelRef_ != null;
+ }
+ /**
+ * + *表示哪个模型的状态 + *CctvServerModel + *+ * + *
.model.ModelRef modelRef = 1;
+ * @return The modelRef.
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getModelRef() {
+ if (modelRefBuilder_ == null) {
+ return modelRef_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : modelRef_;
+ } else {
+ return modelRefBuilder_.getMessage();
+ }
+ }
+ /**
+ * + *表示哪个模型的状态 + *CctvServerModel + *+ * + *
.model.ModelRef modelRef = 1;
+ */
+ public Builder setModelRef(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef value) {
+ if (modelRefBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ modelRef_ = value;
+ onChanged();
+ } else {
+ modelRefBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *表示哪个模型的状态 + *CctvServerModel + *+ * + *
.model.ModelRef modelRef = 1;
+ */
+ public Builder setModelRef(
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder builderForValue) {
+ if (modelRefBuilder_ == null) {
+ modelRef_ = builderForValue.build();
+ onChanged();
+ } else {
+ modelRefBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + *表示哪个模型的状态 + *CctvServerModel + *+ * + *
.model.ModelRef modelRef = 1;
+ */
+ public Builder mergeModelRef(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef value) {
+ if (modelRefBuilder_ == null) {
+ if (modelRef_ != null) {
+ modelRef_ =
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.newBuilder(modelRef_).mergeFrom(value).buildPartial();
+ } else {
+ modelRef_ = value;
+ }
+ onChanged();
+ } else {
+ modelRefBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *表示哪个模型的状态 + *CctvServerModel + *+ * + *
.model.ModelRef modelRef = 1;
+ */
+ public Builder clearModelRef() {
+ if (modelRefBuilder_ == null) {
+ modelRef_ = null;
+ onChanged();
+ } else {
+ modelRef_ = null;
+ modelRefBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + *表示哪个模型的状态 + *CctvServerModel + *+ * + *
.model.ModelRef modelRef = 1;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder getModelRefBuilder() {
+
+ onChanged();
+ return getModelRefFieldBuilder().getBuilder();
+ }
+ /**
+ * + *表示哪个模型的状态 + *CctvServerModel + *+ * + *
.model.ModelRef modelRef = 1;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getModelRefOrBuilder() {
+ if (modelRefBuilder_ != null) {
+ return modelRefBuilder_.getMessageOrBuilder();
+ } else {
+ return modelRef_ == null ?
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : modelRef_;
+ }
+ }
+ /**
+ * + *表示哪个模型的状态 + *CctvServerModel + *+ * + *
.model.ModelRef modelRef = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder>
+ getModelRefFieldBuilder() {
+ if (modelRefBuilder_ == null) {
+ modelRefBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder>(
+ getModelRef(),
+ getParentForChildren(),
+ isClean());
+ modelRef_ = null;
+ }
+ return modelRefBuilder_;
+ }
+
+ private int networkState_ = 0;
+ /**
+ * + *nms网络状态 + *+ * + *
.status.nms.NetworkState networkState = 2;
+ * @return The enum numeric value on the wire for networkState.
+ */
+ @java.lang.Override public int getNetworkStateValue() {
+ return networkState_;
+ }
+ /**
+ * + *nms网络状态 + *+ * + *
.status.nms.NetworkState networkState = 2;
+ * @param value The enum numeric value on the wire for networkState to set.
+ * @return This builder for chaining.
+ */
+ public Builder setNetworkStateValue(int value) {
+
+ networkState_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + *nms网络状态 + *+ * + *
.status.nms.NetworkState networkState = 2;
+ * @return The networkState.
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.status.nms.NetworkStateProto.NetworkState getNetworkState() {
+ @SuppressWarnings("deprecation")
+ club.joylink.rtss.iscs.proto.model.status.nms.NetworkStateProto.NetworkState result = club.joylink.rtss.iscs.proto.model.status.nms.NetworkStateProto.NetworkState.valueOf(networkState_);
+ return result == null ? club.joylink.rtss.iscs.proto.model.status.nms.NetworkStateProto.NetworkState.UNRECOGNIZED : result;
+ }
+ /**
+ * + *nms网络状态 + *+ * + *
.status.nms.NetworkState networkState = 2;
+ * @param value The networkState to set.
+ * @return This builder for chaining.
+ */
+ public Builder setNetworkState(club.joylink.rtss.iscs.proto.model.status.nms.NetworkStateProto.NetworkState value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ networkState_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+ /**
+ * + *nms网络状态 + *+ * + *
.status.nms.NetworkState networkState = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearNetworkState() {
+
+ networkState_ = 0;
+ onChanged();
+ return this;
+ }
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+
+ // @@protoc_insertion_point(builder_scope:status.cctv.CctvServerState)
+ }
+
+ // @@protoc_insertion_point(class_scope:status.cctv.CctvServerState)
+ private static final club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState();
+ }
+
+ public static club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ *表示哪个模型的状态 + *BroadcastModel + *+ * + *
.model.ModelRef modelRef = 1;
+ * @return Whether the modelRef field is set.
+ */
+ boolean hasModelRef();
+ /**
+ * + *表示哪个模型的状态 + *BroadcastModel + *+ * + *
.model.ModelRef modelRef = 1;
+ * @return The modelRef.
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getModelRef();
+ /**
+ * + *表示哪个模型的状态 + *BroadcastModel + *+ * + *
.model.ModelRef modelRef = 1;
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getModelRefOrBuilder();
+
+ /**
+ * .status.pa.BroadcastState.BroadcastDeviceState state = 2;
+ * @return The enum numeric value on the wire for state.
+ */
+ int getStateValue();
+ /**
+ * .status.pa.BroadcastState.BroadcastDeviceState state = 2;
+ * @return The state.
+ */
+ club.joylink.rtss.iscs.proto.model.status.pa.BroadcastStateProto.BroadcastState.BroadcastDeviceState getState();
+ }
+ /**
+ * + ** + * 广播状态 + *+ * + * Protobuf type {@code status.pa.BroadcastState} + */ + public static final class BroadcastState extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:status.pa.BroadcastState) + BroadcastStateOrBuilder { + private static final long serialVersionUID = 0L; + // Use BroadcastState.newBuilder() to construct. + private BroadcastState(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private BroadcastState() { + state_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new BroadcastState(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private BroadcastState( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + 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: { + club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder subBuilder = null; + if (modelRef_ != null) { + subBuilder = modelRef_.toBuilder(); + } + modelRef_ = input.readMessage(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(modelRef_); + modelRef_ = subBuilder.buildPartial(); + } + + break; + } + case 16: { + int rawValue = input.readEnum(); + + state_ = rawValue; + 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 { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return club.joylink.rtss.iscs.proto.model.status.pa.BroadcastStateProto.internal_static_status_pa_BroadcastState_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return club.joylink.rtss.iscs.proto.model.status.pa.BroadcastStateProto.internal_static_status_pa_BroadcastState_fieldAccessorTable + .ensureFieldAccessorsInitialized( + club.joylink.rtss.iscs.proto.model.status.pa.BroadcastStateProto.BroadcastState.class, club.joylink.rtss.iscs.proto.model.status.pa.BroadcastStateProto.BroadcastState.Builder.class); + } + + /** + *
+ *广播装置状态 + *+ * + * Protobuf enum {@code status.pa.BroadcastState.BroadcastDeviceState} + */ + public enum BroadcastDeviceState + implements com.google.protobuf.ProtocolMessageEnum { + /** + *
+ *正常 + *+ * + *
Normal = 0;
+ */
+ Normal(0),
+ /**
+ * + *关闭 + *+ * + *
Closed = 1;
+ */
+ Closed(1),
+ /**
+ * + *故障 + *+ * + *
Fault = 2;
+ */
+ Fault(2),
+ /**
+ * + *异常/通讯中断/离线状态 + *+ * + *
Exception = 3;
+ */
+ Exception(3),
+ UNRECOGNIZED(-1),
+ ;
+
+ /**
+ * + *正常 + *+ * + *
Normal = 0;
+ */
+ public static final int Normal_VALUE = 0;
+ /**
+ * + *关闭 + *+ * + *
Closed = 1;
+ */
+ public static final int Closed_VALUE = 1;
+ /**
+ * + *故障 + *+ * + *
Fault = 2;
+ */
+ public static final int Fault_VALUE = 2;
+ /**
+ * + *异常/通讯中断/离线状态 + *+ * + *
Exception = 3;
+ */
+ public static final int Exception_VALUE = 3;
+
+
+ public final int getNumber() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalArgumentException(
+ "Can't get the number of an unknown enum value.");
+ }
+ return value;
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
+ public static BroadcastDeviceState valueOf(int value) {
+ return forNumber(value);
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
+ public static BroadcastDeviceState forNumber(int value) {
+ switch (value) {
+ case 0: return Normal;
+ case 1: return Closed;
+ case 2: return Fault;
+ case 3: return Exception;
+ default: return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap+ *表示哪个模型的状态 + *BroadcastModel + *+ * + *
.model.ModelRef modelRef = 1;
+ * @return Whether the modelRef field is set.
+ */
+ @java.lang.Override
+ public boolean hasModelRef() {
+ return modelRef_ != null;
+ }
+ /**
+ * + *表示哪个模型的状态 + *BroadcastModel + *+ * + *
.model.ModelRef modelRef = 1;
+ * @return The modelRef.
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getModelRef() {
+ return modelRef_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : modelRef_;
+ }
+ /**
+ * + *表示哪个模型的状态 + *BroadcastModel + *+ * + *
.model.ModelRef modelRef = 1;
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getModelRefOrBuilder() {
+ return getModelRef();
+ }
+
+ public static final int STATE_FIELD_NUMBER = 2;
+ private int state_;
+ /**
+ * .status.pa.BroadcastState.BroadcastDeviceState state = 2;
+ * @return The enum numeric value on the wire for state.
+ */
+ @java.lang.Override public int getStateValue() {
+ return state_;
+ }
+ /**
+ * .status.pa.BroadcastState.BroadcastDeviceState state = 2;
+ * @return The state.
+ */
+ @java.lang.Override public club.joylink.rtss.iscs.proto.model.status.pa.BroadcastStateProto.BroadcastState.BroadcastDeviceState getState() {
+ @SuppressWarnings("deprecation")
+ club.joylink.rtss.iscs.proto.model.status.pa.BroadcastStateProto.BroadcastState.BroadcastDeviceState result = club.joylink.rtss.iscs.proto.model.status.pa.BroadcastStateProto.BroadcastState.BroadcastDeviceState.valueOf(state_);
+ return result == null ? club.joylink.rtss.iscs.proto.model.status.pa.BroadcastStateProto.BroadcastState.BroadcastDeviceState.UNRECOGNIZED : result;
+ }
+
+ 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 (modelRef_ != null) {
+ output.writeMessage(1, getModelRef());
+ }
+ if (state_ != club.joylink.rtss.iscs.proto.model.status.pa.BroadcastStateProto.BroadcastState.BroadcastDeviceState.Normal.getNumber()) {
+ output.writeEnum(2, state_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (modelRef_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, getModelRef());
+ }
+ if (state_ != club.joylink.rtss.iscs.proto.model.status.pa.BroadcastStateProto.BroadcastState.BroadcastDeviceState.Normal.getNumber()) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeEnumSize(2, state_);
+ }
+ 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 club.joylink.rtss.iscs.proto.model.status.pa.BroadcastStateProto.BroadcastState)) {
+ return super.equals(obj);
+ }
+ club.joylink.rtss.iscs.proto.model.status.pa.BroadcastStateProto.BroadcastState other = (club.joylink.rtss.iscs.proto.model.status.pa.BroadcastStateProto.BroadcastState) obj;
+
+ if (hasModelRef() != other.hasModelRef()) return false;
+ if (hasModelRef()) {
+ if (!getModelRef()
+ .equals(other.getModelRef())) return false;
+ }
+ if (state_ != other.state_) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasModelRef()) {
+ hash = (37 * hash) + MODELREF_FIELD_NUMBER;
+ hash = (53 * hash) + getModelRef().hashCode();
+ }
+ hash = (37 * hash) + STATE_FIELD_NUMBER;
+ hash = (53 * hash) + state_;
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static club.joylink.rtss.iscs.proto.model.status.pa.BroadcastStateProto.BroadcastState parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.pa.BroadcastStateProto.BroadcastState parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.pa.BroadcastStateProto.BroadcastState parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.pa.BroadcastStateProto.BroadcastState parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.pa.BroadcastStateProto.BroadcastState parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.pa.BroadcastStateProto.BroadcastState parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.pa.BroadcastStateProto.BroadcastState parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.pa.BroadcastStateProto.BroadcastState 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 club.joylink.rtss.iscs.proto.model.status.pa.BroadcastStateProto.BroadcastState parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.pa.BroadcastStateProto.BroadcastState 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 club.joylink.rtss.iscs.proto.model.status.pa.BroadcastStateProto.BroadcastState parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.pa.BroadcastStateProto.BroadcastState 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(club.joylink.rtss.iscs.proto.model.status.pa.BroadcastStateProto.BroadcastState 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 status.pa.BroadcastState} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
+ *表示哪个模型的状态 + *BroadcastModel + *+ * + *
.model.ModelRef modelRef = 1;
+ * @return Whether the modelRef field is set.
+ */
+ public boolean hasModelRef() {
+ return modelRefBuilder_ != null || modelRef_ != null;
+ }
+ /**
+ * + *表示哪个模型的状态 + *BroadcastModel + *+ * + *
.model.ModelRef modelRef = 1;
+ * @return The modelRef.
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getModelRef() {
+ if (modelRefBuilder_ == null) {
+ return modelRef_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : modelRef_;
+ } else {
+ return modelRefBuilder_.getMessage();
+ }
+ }
+ /**
+ * + *表示哪个模型的状态 + *BroadcastModel + *+ * + *
.model.ModelRef modelRef = 1;
+ */
+ public Builder setModelRef(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef value) {
+ if (modelRefBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ modelRef_ = value;
+ onChanged();
+ } else {
+ modelRefBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *表示哪个模型的状态 + *BroadcastModel + *+ * + *
.model.ModelRef modelRef = 1;
+ */
+ public Builder setModelRef(
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder builderForValue) {
+ if (modelRefBuilder_ == null) {
+ modelRef_ = builderForValue.build();
+ onChanged();
+ } else {
+ modelRefBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + *表示哪个模型的状态 + *BroadcastModel + *+ * + *
.model.ModelRef modelRef = 1;
+ */
+ public Builder mergeModelRef(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef value) {
+ if (modelRefBuilder_ == null) {
+ if (modelRef_ != null) {
+ modelRef_ =
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.newBuilder(modelRef_).mergeFrom(value).buildPartial();
+ } else {
+ modelRef_ = value;
+ }
+ onChanged();
+ } else {
+ modelRefBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *表示哪个模型的状态 + *BroadcastModel + *+ * + *
.model.ModelRef modelRef = 1;
+ */
+ public Builder clearModelRef() {
+ if (modelRefBuilder_ == null) {
+ modelRef_ = null;
+ onChanged();
+ } else {
+ modelRef_ = null;
+ modelRefBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + *表示哪个模型的状态 + *BroadcastModel + *+ * + *
.model.ModelRef modelRef = 1;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder getModelRefBuilder() {
+
+ onChanged();
+ return getModelRefFieldBuilder().getBuilder();
+ }
+ /**
+ * + *表示哪个模型的状态 + *BroadcastModel + *+ * + *
.model.ModelRef modelRef = 1;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getModelRefOrBuilder() {
+ if (modelRefBuilder_ != null) {
+ return modelRefBuilder_.getMessageOrBuilder();
+ } else {
+ return modelRef_ == null ?
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : modelRef_;
+ }
+ }
+ /**
+ * + *表示哪个模型的状态 + *BroadcastModel + *+ * + *
.model.ModelRef modelRef = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder>
+ getModelRefFieldBuilder() {
+ if (modelRefBuilder_ == null) {
+ modelRefBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder>(
+ getModelRef(),
+ getParentForChildren(),
+ isClean());
+ modelRef_ = null;
+ }
+ return modelRefBuilder_;
+ }
+
+ private int state_ = 0;
+ /**
+ * .status.pa.BroadcastState.BroadcastDeviceState state = 2;
+ * @return The enum numeric value on the wire for state.
+ */
+ @java.lang.Override public int getStateValue() {
+ return state_;
+ }
+ /**
+ * .status.pa.BroadcastState.BroadcastDeviceState state = 2;
+ * @param value The enum numeric value on the wire for state to set.
+ * @return This builder for chaining.
+ */
+ public Builder setStateValue(int value) {
+
+ state_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * .status.pa.BroadcastState.BroadcastDeviceState state = 2;
+ * @return The state.
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.status.pa.BroadcastStateProto.BroadcastState.BroadcastDeviceState getState() {
+ @SuppressWarnings("deprecation")
+ club.joylink.rtss.iscs.proto.model.status.pa.BroadcastStateProto.BroadcastState.BroadcastDeviceState result = club.joylink.rtss.iscs.proto.model.status.pa.BroadcastStateProto.BroadcastState.BroadcastDeviceState.valueOf(state_);
+ return result == null ? club.joylink.rtss.iscs.proto.model.status.pa.BroadcastStateProto.BroadcastState.BroadcastDeviceState.UNRECOGNIZED : result;
+ }
+ /**
+ * .status.pa.BroadcastState.BroadcastDeviceState state = 2;
+ * @param value The state to set.
+ * @return This builder for chaining.
+ */
+ public Builder setState(club.joylink.rtss.iscs.proto.model.status.pa.BroadcastStateProto.BroadcastState.BroadcastDeviceState value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ state_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+ /**
+ * .status.pa.BroadcastState.BroadcastDeviceState state = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearState() {
+
+ state_ = 0;
+ onChanged();
+ return this;
+ }
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+
+ // @@protoc_insertion_point(builder_scope:status.pa.BroadcastState)
+ }
+
+ // @@protoc_insertion_point(class_scope:status.pa.BroadcastState)
+ private static final club.joylink.rtss.iscs.proto.model.status.pa.BroadcastStateProto.BroadcastState DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new club.joylink.rtss.iscs.proto.model.status.pa.BroadcastStateProto.BroadcastState();
+ }
+
+ public static club.joylink.rtss.iscs.proto.model.status.pa.BroadcastStateProto.BroadcastState getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ *表示哪个模型的状态 + *BusTieSpareSourceAutoSwitchModel + *+ * + *
.model.ModelRef modelRef = 1;
+ * @return Whether the modelRef field is set.
+ */
+ boolean hasModelRef();
+ /**
+ * + *表示哪个模型的状态 + *BusTieSpareSourceAutoSwitchModel + *+ * + *
.model.ModelRef modelRef = 1;
+ * @return The modelRef.
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getModelRef();
+ /**
+ * + *表示哪个模型的状态 + *BusTieSpareSourceAutoSwitchModel + *+ * + *
.model.ModelRef modelRef = 1;
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getModelRefOrBuilder();
+
+ /**
+ * + *母联备自投 状态 + *+ * + *
.status.power.BusTieSpareSourceAutoSwitchState.State state = 2;
+ * @return The enum numeric value on the wire for state.
+ */
+ int getStateValue();
+ /**
+ * + *母联备自投 状态 + *+ * + *
.status.power.BusTieSpareSourceAutoSwitchState.State state = 2;
+ * @return The state.
+ */
+ club.joylink.rtss.iscs.proto.model.status.power.BusTieSpareSourceAutoSwitchStateProto.BusTieSpareSourceAutoSwitchState.State getState();
+ }
+ /**
+ * + *母联备自投 状态 + *+ * + * Protobuf type {@code status.power.BusTieSpareSourceAutoSwitchState} + */ + public static final class BusTieSpareSourceAutoSwitchState extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:status.power.BusTieSpareSourceAutoSwitchState) + BusTieSpareSourceAutoSwitchStateOrBuilder { + private static final long serialVersionUID = 0L; + // Use BusTieSpareSourceAutoSwitchState.newBuilder() to construct. + private BusTieSpareSourceAutoSwitchState(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private BusTieSpareSourceAutoSwitchState() { + state_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new BusTieSpareSourceAutoSwitchState(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private BusTieSpareSourceAutoSwitchState( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + 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: { + club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder subBuilder = null; + if (modelRef_ != null) { + subBuilder = modelRef_.toBuilder(); + } + modelRef_ = input.readMessage(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(modelRef_); + modelRef_ = subBuilder.buildPartial(); + } + + break; + } + case 16: { + int rawValue = input.readEnum(); + + state_ = rawValue; + 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 { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return club.joylink.rtss.iscs.proto.model.status.power.BusTieSpareSourceAutoSwitchStateProto.internal_static_status_power_BusTieSpareSourceAutoSwitchState_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return club.joylink.rtss.iscs.proto.model.status.power.BusTieSpareSourceAutoSwitchStateProto.internal_static_status_power_BusTieSpareSourceAutoSwitchState_fieldAccessorTable + .ensureFieldAccessorsInitialized( + club.joylink.rtss.iscs.proto.model.status.power.BusTieSpareSourceAutoSwitchStateProto.BusTieSpareSourceAutoSwitchState.class, club.joylink.rtss.iscs.proto.model.status.power.BusTieSpareSourceAutoSwitchStateProto.BusTieSpareSourceAutoSwitchState.Builder.class); + } + + /** + *
+ *母联备自投 状态 + *+ * + * Protobuf enum {@code status.power.BusTieSpareSourceAutoSwitchState.State} + */ + public enum State + implements com.google.protobuf.ProtocolMessageEnum { + /** + *
+ *备自投退出 + *+ * + *
SwitchingOff = 0;
+ */
+ SwitchingOff(0),
+ /**
+ * + *备自投投入 + *+ * + *
SwitchingOn = 1;
+ */
+ SwitchingOn(1),
+ /**
+ * + *通讯中断 + *+ * + *
CommunicationInterrupted = 2;
+ */
+ CommunicationInterrupted(2),
+ UNRECOGNIZED(-1),
+ ;
+
+ /**
+ * + *备自投退出 + *+ * + *
SwitchingOff = 0;
+ */
+ public static final int SwitchingOff_VALUE = 0;
+ /**
+ * + *备自投投入 + *+ * + *
SwitchingOn = 1;
+ */
+ public static final int SwitchingOn_VALUE = 1;
+ /**
+ * + *通讯中断 + *+ * + *
CommunicationInterrupted = 2;
+ */
+ public static final int CommunicationInterrupted_VALUE = 2;
+
+
+ public final int getNumber() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalArgumentException(
+ "Can't get the number of an unknown enum value.");
+ }
+ return value;
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
+ public static State valueOf(int value) {
+ return forNumber(value);
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
+ public static State forNumber(int value) {
+ switch (value) {
+ case 0: return SwitchingOff;
+ case 1: return SwitchingOn;
+ case 2: return CommunicationInterrupted;
+ default: return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap+ *表示哪个模型的状态 + *BusTieSpareSourceAutoSwitchModel + *+ * + *
.model.ModelRef modelRef = 1;
+ * @return Whether the modelRef field is set.
+ */
+ @java.lang.Override
+ public boolean hasModelRef() {
+ return modelRef_ != null;
+ }
+ /**
+ * + *表示哪个模型的状态 + *BusTieSpareSourceAutoSwitchModel + *+ * + *
.model.ModelRef modelRef = 1;
+ * @return The modelRef.
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getModelRef() {
+ return modelRef_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : modelRef_;
+ }
+ /**
+ * + *表示哪个模型的状态 + *BusTieSpareSourceAutoSwitchModel + *+ * + *
.model.ModelRef modelRef = 1;
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getModelRefOrBuilder() {
+ return getModelRef();
+ }
+
+ public static final int STATE_FIELD_NUMBER = 2;
+ private int state_;
+ /**
+ * + *母联备自投 状态 + *+ * + *
.status.power.BusTieSpareSourceAutoSwitchState.State state = 2;
+ * @return The enum numeric value on the wire for state.
+ */
+ @java.lang.Override public int getStateValue() {
+ return state_;
+ }
+ /**
+ * + *母联备自投 状态 + *+ * + *
.status.power.BusTieSpareSourceAutoSwitchState.State state = 2;
+ * @return The state.
+ */
+ @java.lang.Override public club.joylink.rtss.iscs.proto.model.status.power.BusTieSpareSourceAutoSwitchStateProto.BusTieSpareSourceAutoSwitchState.State getState() {
+ @SuppressWarnings("deprecation")
+ club.joylink.rtss.iscs.proto.model.status.power.BusTieSpareSourceAutoSwitchStateProto.BusTieSpareSourceAutoSwitchState.State result = club.joylink.rtss.iscs.proto.model.status.power.BusTieSpareSourceAutoSwitchStateProto.BusTieSpareSourceAutoSwitchState.State.valueOf(state_);
+ return result == null ? club.joylink.rtss.iscs.proto.model.status.power.BusTieSpareSourceAutoSwitchStateProto.BusTieSpareSourceAutoSwitchState.State.UNRECOGNIZED : result;
+ }
+
+ 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 (modelRef_ != null) {
+ output.writeMessage(1, getModelRef());
+ }
+ if (state_ != club.joylink.rtss.iscs.proto.model.status.power.BusTieSpareSourceAutoSwitchStateProto.BusTieSpareSourceAutoSwitchState.State.SwitchingOff.getNumber()) {
+ output.writeEnum(2, state_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (modelRef_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, getModelRef());
+ }
+ if (state_ != club.joylink.rtss.iscs.proto.model.status.power.BusTieSpareSourceAutoSwitchStateProto.BusTieSpareSourceAutoSwitchState.State.SwitchingOff.getNumber()) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeEnumSize(2, state_);
+ }
+ 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 club.joylink.rtss.iscs.proto.model.status.power.BusTieSpareSourceAutoSwitchStateProto.BusTieSpareSourceAutoSwitchState)) {
+ return super.equals(obj);
+ }
+ club.joylink.rtss.iscs.proto.model.status.power.BusTieSpareSourceAutoSwitchStateProto.BusTieSpareSourceAutoSwitchState other = (club.joylink.rtss.iscs.proto.model.status.power.BusTieSpareSourceAutoSwitchStateProto.BusTieSpareSourceAutoSwitchState) obj;
+
+ if (hasModelRef() != other.hasModelRef()) return false;
+ if (hasModelRef()) {
+ if (!getModelRef()
+ .equals(other.getModelRef())) return false;
+ }
+ if (state_ != other.state_) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasModelRef()) {
+ hash = (37 * hash) + MODELREF_FIELD_NUMBER;
+ hash = (53 * hash) + getModelRef().hashCode();
+ }
+ hash = (37 * hash) + STATE_FIELD_NUMBER;
+ hash = (53 * hash) + state_;
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static club.joylink.rtss.iscs.proto.model.status.power.BusTieSpareSourceAutoSwitchStateProto.BusTieSpareSourceAutoSwitchState parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.power.BusTieSpareSourceAutoSwitchStateProto.BusTieSpareSourceAutoSwitchState parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.power.BusTieSpareSourceAutoSwitchStateProto.BusTieSpareSourceAutoSwitchState parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.power.BusTieSpareSourceAutoSwitchStateProto.BusTieSpareSourceAutoSwitchState parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.power.BusTieSpareSourceAutoSwitchStateProto.BusTieSpareSourceAutoSwitchState parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.power.BusTieSpareSourceAutoSwitchStateProto.BusTieSpareSourceAutoSwitchState parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.power.BusTieSpareSourceAutoSwitchStateProto.BusTieSpareSourceAutoSwitchState parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.power.BusTieSpareSourceAutoSwitchStateProto.BusTieSpareSourceAutoSwitchState 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 club.joylink.rtss.iscs.proto.model.status.power.BusTieSpareSourceAutoSwitchStateProto.BusTieSpareSourceAutoSwitchState parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.power.BusTieSpareSourceAutoSwitchStateProto.BusTieSpareSourceAutoSwitchState 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 club.joylink.rtss.iscs.proto.model.status.power.BusTieSpareSourceAutoSwitchStateProto.BusTieSpareSourceAutoSwitchState parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.power.BusTieSpareSourceAutoSwitchStateProto.BusTieSpareSourceAutoSwitchState 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(club.joylink.rtss.iscs.proto.model.status.power.BusTieSpareSourceAutoSwitchStateProto.BusTieSpareSourceAutoSwitchState 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 status.power.BusTieSpareSourceAutoSwitchState} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
+ *表示哪个模型的状态 + *BusTieSpareSourceAutoSwitchModel + *+ * + *
.model.ModelRef modelRef = 1;
+ * @return Whether the modelRef field is set.
+ */
+ public boolean hasModelRef() {
+ return modelRefBuilder_ != null || modelRef_ != null;
+ }
+ /**
+ * + *表示哪个模型的状态 + *BusTieSpareSourceAutoSwitchModel + *+ * + *
.model.ModelRef modelRef = 1;
+ * @return The modelRef.
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getModelRef() {
+ if (modelRefBuilder_ == null) {
+ return modelRef_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : modelRef_;
+ } else {
+ return modelRefBuilder_.getMessage();
+ }
+ }
+ /**
+ * + *表示哪个模型的状态 + *BusTieSpareSourceAutoSwitchModel + *+ * + *
.model.ModelRef modelRef = 1;
+ */
+ public Builder setModelRef(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef value) {
+ if (modelRefBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ modelRef_ = value;
+ onChanged();
+ } else {
+ modelRefBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *表示哪个模型的状态 + *BusTieSpareSourceAutoSwitchModel + *+ * + *
.model.ModelRef modelRef = 1;
+ */
+ public Builder setModelRef(
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder builderForValue) {
+ if (modelRefBuilder_ == null) {
+ modelRef_ = builderForValue.build();
+ onChanged();
+ } else {
+ modelRefBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + *表示哪个模型的状态 + *BusTieSpareSourceAutoSwitchModel + *+ * + *
.model.ModelRef modelRef = 1;
+ */
+ public Builder mergeModelRef(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef value) {
+ if (modelRefBuilder_ == null) {
+ if (modelRef_ != null) {
+ modelRef_ =
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.newBuilder(modelRef_).mergeFrom(value).buildPartial();
+ } else {
+ modelRef_ = value;
+ }
+ onChanged();
+ } else {
+ modelRefBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *表示哪个模型的状态 + *BusTieSpareSourceAutoSwitchModel + *+ * + *
.model.ModelRef modelRef = 1;
+ */
+ public Builder clearModelRef() {
+ if (modelRefBuilder_ == null) {
+ modelRef_ = null;
+ onChanged();
+ } else {
+ modelRef_ = null;
+ modelRefBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + *表示哪个模型的状态 + *BusTieSpareSourceAutoSwitchModel + *+ * + *
.model.ModelRef modelRef = 1;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder getModelRefBuilder() {
+
+ onChanged();
+ return getModelRefFieldBuilder().getBuilder();
+ }
+ /**
+ * + *表示哪个模型的状态 + *BusTieSpareSourceAutoSwitchModel + *+ * + *
.model.ModelRef modelRef = 1;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getModelRefOrBuilder() {
+ if (modelRefBuilder_ != null) {
+ return modelRefBuilder_.getMessageOrBuilder();
+ } else {
+ return modelRef_ == null ?
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : modelRef_;
+ }
+ }
+ /**
+ * + *表示哪个模型的状态 + *BusTieSpareSourceAutoSwitchModel + *+ * + *
.model.ModelRef modelRef = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder>
+ getModelRefFieldBuilder() {
+ if (modelRefBuilder_ == null) {
+ modelRefBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder>(
+ getModelRef(),
+ getParentForChildren(),
+ isClean());
+ modelRef_ = null;
+ }
+ return modelRefBuilder_;
+ }
+
+ private int state_ = 0;
+ /**
+ * + *母联备自投 状态 + *+ * + *
.status.power.BusTieSpareSourceAutoSwitchState.State state = 2;
+ * @return The enum numeric value on the wire for state.
+ */
+ @java.lang.Override public int getStateValue() {
+ return state_;
+ }
+ /**
+ * + *母联备自投 状态 + *+ * + *
.status.power.BusTieSpareSourceAutoSwitchState.State state = 2;
+ * @param value The enum numeric value on the wire for state to set.
+ * @return This builder for chaining.
+ */
+ public Builder setStateValue(int value) {
+
+ state_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + *母联备自投 状态 + *+ * + *
.status.power.BusTieSpareSourceAutoSwitchState.State state = 2;
+ * @return The state.
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.status.power.BusTieSpareSourceAutoSwitchStateProto.BusTieSpareSourceAutoSwitchState.State getState() {
+ @SuppressWarnings("deprecation")
+ club.joylink.rtss.iscs.proto.model.status.power.BusTieSpareSourceAutoSwitchStateProto.BusTieSpareSourceAutoSwitchState.State result = club.joylink.rtss.iscs.proto.model.status.power.BusTieSpareSourceAutoSwitchStateProto.BusTieSpareSourceAutoSwitchState.State.valueOf(state_);
+ return result == null ? club.joylink.rtss.iscs.proto.model.status.power.BusTieSpareSourceAutoSwitchStateProto.BusTieSpareSourceAutoSwitchState.State.UNRECOGNIZED : result;
+ }
+ /**
+ * + *母联备自投 状态 + *+ * + *
.status.power.BusTieSpareSourceAutoSwitchState.State state = 2;
+ * @param value The state to set.
+ * @return This builder for chaining.
+ */
+ public Builder setState(club.joylink.rtss.iscs.proto.model.status.power.BusTieSpareSourceAutoSwitchStateProto.BusTieSpareSourceAutoSwitchState.State value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ state_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+ /**
+ * + *母联备自投 状态 + *+ * + *
.status.power.BusTieSpareSourceAutoSwitchState.State state = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearState() {
+
+ state_ = 0;
+ onChanged();
+ return this;
+ }
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+
+ // @@protoc_insertion_point(builder_scope:status.power.BusTieSpareSourceAutoSwitchState)
+ }
+
+ // @@protoc_insertion_point(class_scope:status.power.BusTieSpareSourceAutoSwitchState)
+ private static final club.joylink.rtss.iscs.proto.model.status.power.BusTieSpareSourceAutoSwitchStateProto.BusTieSpareSourceAutoSwitchState DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new club.joylink.rtss.iscs.proto.model.status.power.BusTieSpareSourceAutoSwitchStateProto.BusTieSpareSourceAutoSwitchState();
+ }
+
+ public static club.joylink.rtss.iscs.proto.model.status.power.BusTieSpareSourceAutoSwitchStateProto.BusTieSpareSourceAutoSwitchState getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ *表示哪个模型的状态 + *CircuitBreakerModel + *+ * + *
.model.ModelRef modelRef = 1;
+ * @return Whether the modelRef field is set.
+ */
+ boolean hasModelRef();
+ /**
+ * + *表示哪个模型的状态 + *CircuitBreakerModel + *+ * + *
.model.ModelRef modelRef = 1;
+ * @return The modelRef.
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getModelRef();
+ /**
+ * + *表示哪个模型的状态 + *CircuitBreakerModel + *+ * + *
.model.ModelRef modelRef = 1;
+ */
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getModelRefOrBuilder();
+
+ /**
+ * + *断路器状态 + *+ * + *
.status.power.CircuitBreakerState.CircuitBreakerDeviceState deviceState = 2;
+ * @return The enum numeric value on the wire for deviceState.
+ */
+ int getDeviceStateValue();
+ /**
+ * + *断路器状态 + *+ * + *
.status.power.CircuitBreakerState.CircuitBreakerDeviceState deviceState = 2;
+ * @return The deviceState.
+ */
+ club.joylink.rtss.iscs.proto.model.status.power.CircuitBreakerStateProto.CircuitBreakerState.CircuitBreakerDeviceState getDeviceState();
+ }
+ /**
+ * + ** + * 断路器状态 + *+ * + * Protobuf type {@code status.power.CircuitBreakerState} + */ + public static final class CircuitBreakerState extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:status.power.CircuitBreakerState) + CircuitBreakerStateOrBuilder { + private static final long serialVersionUID = 0L; + // Use CircuitBreakerState.newBuilder() to construct. + private CircuitBreakerState(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private CircuitBreakerState() { + deviceState_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CircuitBreakerState(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CircuitBreakerState( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + 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: { + club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder subBuilder = null; + if (modelRef_ != null) { + subBuilder = modelRef_.toBuilder(); + } + modelRef_ = input.readMessage(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(modelRef_); + modelRef_ = subBuilder.buildPartial(); + } + + break; + } + case 16: { + int rawValue = input.readEnum(); + + deviceState_ = rawValue; + 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 { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return club.joylink.rtss.iscs.proto.model.status.power.CircuitBreakerStateProto.internal_static_status_power_CircuitBreakerState_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return club.joylink.rtss.iscs.proto.model.status.power.CircuitBreakerStateProto.internal_static_status_power_CircuitBreakerState_fieldAccessorTable + .ensureFieldAccessorsInitialized( + club.joylink.rtss.iscs.proto.model.status.power.CircuitBreakerStateProto.CircuitBreakerState.class, club.joylink.rtss.iscs.proto.model.status.power.CircuitBreakerStateProto.CircuitBreakerState.Builder.class); + } + + /** + *
+ *断路器状态 + *+ * + * Protobuf enum {@code status.power.CircuitBreakerState.CircuitBreakerDeviceState} + */ + public enum CircuitBreakerDeviceState + implements com.google.protobuf.ProtocolMessageEnum { + /** + *
+ *分闸 + *+ * + *
Opened = 0;
+ */
+ Opened(0),
+ /**
+ * + *合闸 + *+ * + *
Closed = 1;
+ */
+ Closed(1),
+ /**
+ * + *通信中断 + *+ * + *
CommunicationInterrupted = 2;
+ */
+ CommunicationInterrupted(2),
+ UNRECOGNIZED(-1),
+ ;
+
+ /**
+ * + *分闸 + *+ * + *
Opened = 0;
+ */
+ public static final int Opened_VALUE = 0;
+ /**
+ * + *合闸 + *+ * + *
Closed = 1;
+ */
+ public static final int Closed_VALUE = 1;
+ /**
+ * + *通信中断 + *+ * + *
CommunicationInterrupted = 2;
+ */
+ public static final int CommunicationInterrupted_VALUE = 2;
+
+
+ public final int getNumber() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalArgumentException(
+ "Can't get the number of an unknown enum value.");
+ }
+ return value;
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
+ public static CircuitBreakerDeviceState valueOf(int value) {
+ return forNumber(value);
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
+ public static CircuitBreakerDeviceState forNumber(int value) {
+ switch (value) {
+ case 0: return Opened;
+ case 1: return Closed;
+ case 2: return CommunicationInterrupted;
+ default: return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap+ *表示哪个模型的状态 + *CircuitBreakerModel + *+ * + *
.model.ModelRef modelRef = 1;
+ * @return Whether the modelRef field is set.
+ */
+ @java.lang.Override
+ public boolean hasModelRef() {
+ return modelRef_ != null;
+ }
+ /**
+ * + *表示哪个模型的状态 + *CircuitBreakerModel + *+ * + *
.model.ModelRef modelRef = 1;
+ * @return The modelRef.
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getModelRef() {
+ return modelRef_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : modelRef_;
+ }
+ /**
+ * + *表示哪个模型的状态 + *CircuitBreakerModel + *+ * + *
.model.ModelRef modelRef = 1;
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getModelRefOrBuilder() {
+ return getModelRef();
+ }
+
+ public static final int DEVICESTATE_FIELD_NUMBER = 2;
+ private int deviceState_;
+ /**
+ * + *断路器状态 + *+ * + *
.status.power.CircuitBreakerState.CircuitBreakerDeviceState deviceState = 2;
+ * @return The enum numeric value on the wire for deviceState.
+ */
+ @java.lang.Override public int getDeviceStateValue() {
+ return deviceState_;
+ }
+ /**
+ * + *断路器状态 + *+ * + *
.status.power.CircuitBreakerState.CircuitBreakerDeviceState deviceState = 2;
+ * @return The deviceState.
+ */
+ @java.lang.Override public club.joylink.rtss.iscs.proto.model.status.power.CircuitBreakerStateProto.CircuitBreakerState.CircuitBreakerDeviceState getDeviceState() {
+ @SuppressWarnings("deprecation")
+ club.joylink.rtss.iscs.proto.model.status.power.CircuitBreakerStateProto.CircuitBreakerState.CircuitBreakerDeviceState result = club.joylink.rtss.iscs.proto.model.status.power.CircuitBreakerStateProto.CircuitBreakerState.CircuitBreakerDeviceState.valueOf(deviceState_);
+ return result == null ? club.joylink.rtss.iscs.proto.model.status.power.CircuitBreakerStateProto.CircuitBreakerState.CircuitBreakerDeviceState.UNRECOGNIZED : result;
+ }
+
+ 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 (modelRef_ != null) {
+ output.writeMessage(1, getModelRef());
+ }
+ if (deviceState_ != club.joylink.rtss.iscs.proto.model.status.power.CircuitBreakerStateProto.CircuitBreakerState.CircuitBreakerDeviceState.Opened.getNumber()) {
+ output.writeEnum(2, deviceState_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (modelRef_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, getModelRef());
+ }
+ if (deviceState_ != club.joylink.rtss.iscs.proto.model.status.power.CircuitBreakerStateProto.CircuitBreakerState.CircuitBreakerDeviceState.Opened.getNumber()) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeEnumSize(2, deviceState_);
+ }
+ 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 club.joylink.rtss.iscs.proto.model.status.power.CircuitBreakerStateProto.CircuitBreakerState)) {
+ return super.equals(obj);
+ }
+ club.joylink.rtss.iscs.proto.model.status.power.CircuitBreakerStateProto.CircuitBreakerState other = (club.joylink.rtss.iscs.proto.model.status.power.CircuitBreakerStateProto.CircuitBreakerState) obj;
+
+ if (hasModelRef() != other.hasModelRef()) return false;
+ if (hasModelRef()) {
+ if (!getModelRef()
+ .equals(other.getModelRef())) return false;
+ }
+ if (deviceState_ != other.deviceState_) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasModelRef()) {
+ hash = (37 * hash) + MODELREF_FIELD_NUMBER;
+ hash = (53 * hash) + getModelRef().hashCode();
+ }
+ hash = (37 * hash) + DEVICESTATE_FIELD_NUMBER;
+ hash = (53 * hash) + deviceState_;
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static club.joylink.rtss.iscs.proto.model.status.power.CircuitBreakerStateProto.CircuitBreakerState parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.power.CircuitBreakerStateProto.CircuitBreakerState parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.power.CircuitBreakerStateProto.CircuitBreakerState parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.power.CircuitBreakerStateProto.CircuitBreakerState parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.power.CircuitBreakerStateProto.CircuitBreakerState parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.power.CircuitBreakerStateProto.CircuitBreakerState parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.power.CircuitBreakerStateProto.CircuitBreakerState parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.power.CircuitBreakerStateProto.CircuitBreakerState 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 club.joylink.rtss.iscs.proto.model.status.power.CircuitBreakerStateProto.CircuitBreakerState parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.power.CircuitBreakerStateProto.CircuitBreakerState 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 club.joylink.rtss.iscs.proto.model.status.power.CircuitBreakerStateProto.CircuitBreakerState parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.power.CircuitBreakerStateProto.CircuitBreakerState 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(club.joylink.rtss.iscs.proto.model.status.power.CircuitBreakerStateProto.CircuitBreakerState 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 status.power.CircuitBreakerState} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
+ *表示哪个模型的状态 + *CircuitBreakerModel + *+ * + *
.model.ModelRef modelRef = 1;
+ * @return Whether the modelRef field is set.
+ */
+ public boolean hasModelRef() {
+ return modelRefBuilder_ != null || modelRef_ != null;
+ }
+ /**
+ * + *表示哪个模型的状态 + *CircuitBreakerModel + *+ * + *
.model.ModelRef modelRef = 1;
+ * @return The modelRef.
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getModelRef() {
+ if (modelRefBuilder_ == null) {
+ return modelRef_ == null ? club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : modelRef_;
+ } else {
+ return modelRefBuilder_.getMessage();
+ }
+ }
+ /**
+ * + *表示哪个模型的状态 + *CircuitBreakerModel + *+ * + *
.model.ModelRef modelRef = 1;
+ */
+ public Builder setModelRef(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef value) {
+ if (modelRefBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ modelRef_ = value;
+ onChanged();
+ } else {
+ modelRefBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *表示哪个模型的状态 + *CircuitBreakerModel + *+ * + *
.model.ModelRef modelRef = 1;
+ */
+ public Builder setModelRef(
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder builderForValue) {
+ if (modelRefBuilder_ == null) {
+ modelRef_ = builderForValue.build();
+ onChanged();
+ } else {
+ modelRefBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + *表示哪个模型的状态 + *CircuitBreakerModel + *+ * + *
.model.ModelRef modelRef = 1;
+ */
+ public Builder mergeModelRef(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef value) {
+ if (modelRefBuilder_ == null) {
+ if (modelRef_ != null) {
+ modelRef_ =
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.newBuilder(modelRef_).mergeFrom(value).buildPartial();
+ } else {
+ modelRef_ = value;
+ }
+ onChanged();
+ } else {
+ modelRefBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *表示哪个模型的状态 + *CircuitBreakerModel + *+ * + *
.model.ModelRef modelRef = 1;
+ */
+ public Builder clearModelRef() {
+ if (modelRefBuilder_ == null) {
+ modelRef_ = null;
+ onChanged();
+ } else {
+ modelRef_ = null;
+ modelRefBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + *表示哪个模型的状态 + *CircuitBreakerModel + *+ * + *
.model.ModelRef modelRef = 1;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder getModelRefBuilder() {
+
+ onChanged();
+ return getModelRefFieldBuilder().getBuilder();
+ }
+ /**
+ * + *表示哪个模型的状态 + *CircuitBreakerModel + *+ * + *
.model.ModelRef modelRef = 1;
+ */
+ public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getModelRefOrBuilder() {
+ if (modelRefBuilder_ != null) {
+ return modelRefBuilder_.getMessageOrBuilder();
+ } else {
+ return modelRef_ == null ?
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.getDefaultInstance() : modelRef_;
+ }
+ }
+ /**
+ * + *表示哪个模型的状态 + *CircuitBreakerModel + *+ * + *
.model.ModelRef modelRef = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder>
+ getModelRefFieldBuilder() {
+ if (modelRefBuilder_ == null) {
+ modelRefBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder>(
+ getModelRef(),
+ getParentForChildren(),
+ isClean());
+ modelRef_ = null;
+ }
+ return modelRefBuilder_;
+ }
+
+ private int deviceState_ = 0;
+ /**
+ * + *断路器状态 + *+ * + *
.status.power.CircuitBreakerState.CircuitBreakerDeviceState deviceState = 2;
+ * @return The enum numeric value on the wire for deviceState.
+ */
+ @java.lang.Override public int getDeviceStateValue() {
+ return deviceState_;
+ }
+ /**
+ * + *断路器状态 + *+ * + *
.status.power.CircuitBreakerState.CircuitBreakerDeviceState deviceState = 2;
+ * @param value The enum numeric value on the wire for deviceState to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDeviceStateValue(int value) {
+
+ deviceState_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + *断路器状态 + *+ * + *
.status.power.CircuitBreakerState.CircuitBreakerDeviceState deviceState = 2;
+ * @return The deviceState.
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.status.power.CircuitBreakerStateProto.CircuitBreakerState.CircuitBreakerDeviceState getDeviceState() {
+ @SuppressWarnings("deprecation")
+ club.joylink.rtss.iscs.proto.model.status.power.CircuitBreakerStateProto.CircuitBreakerState.CircuitBreakerDeviceState result = club.joylink.rtss.iscs.proto.model.status.power.CircuitBreakerStateProto.CircuitBreakerState.CircuitBreakerDeviceState.valueOf(deviceState_);
+ return result == null ? club.joylink.rtss.iscs.proto.model.status.power.CircuitBreakerStateProto.CircuitBreakerState.CircuitBreakerDeviceState.UNRECOGNIZED : result;
+ }
+ /**
+ * + *断路器状态 + *+ * + *
.status.power.CircuitBreakerState.CircuitBreakerDeviceState deviceState = 2;
+ * @param value The deviceState to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDeviceState(club.joylink.rtss.iscs.proto.model.status.power.CircuitBreakerStateProto.CircuitBreakerState.CircuitBreakerDeviceState value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ deviceState_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+ /**
+ * + *断路器状态 + *+ * + *
.status.power.CircuitBreakerState.CircuitBreakerDeviceState deviceState = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearDeviceState() {
+
+ deviceState_ = 0;
+ onChanged();
+ return this;
+ }
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+
+ // @@protoc_insertion_point(builder_scope:status.power.CircuitBreakerState)
+ }
+
+ // @@protoc_insertion_point(class_scope:status.power.CircuitBreakerState)
+ private static final club.joylink.rtss.iscs.proto.model.status.power.CircuitBreakerStateProto.CircuitBreakerState DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new club.joylink.rtss.iscs.proto.model.status.power.CircuitBreakerStateProto.CircuitBreakerState();
+ }
+
+ public static club.joylink.rtss.iscs.proto.model.status.power.CircuitBreakerStateProto.CircuitBreakerState getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser