diff --git a/src/main/java/club/joylink/rtss/iscs/proto/model/data/bas/cool/CoolTowerProto.java b/src/main/java/club/joylink/rtss/iscs/proto/model/data/bas/cool/CoolTowerProto.java new file mode 100644 index 000000000..b27289c03 --- /dev/null +++ b/src/main/java/club/joylink/rtss/iscs/proto/model/data/bas/cool/CoolTowerProto.java @@ -0,0 +1,1299 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: model/bas/cool/CoolTower.proto + +package club.joylink.rtss.iscs.proto.model.data.bas.cool; + +public final class CoolTowerProto { + private CoolTowerProto() {} + 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 CoolTowerOrBuilder extends + // @@protoc_insertion_point(interface_extends:model.bas.cool.CoolTower) + 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();
+
+ /**
+ * + *消防私服主机 + *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.cool.CoolTower} + */ + public static final class CoolTower extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:model.bas.cool.CoolTower) + CoolTowerOrBuilder { + private static final long serialVersionUID = 0L; + // Use CoolTower.newBuilder() to construct. + private CoolTower(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private CoolTower() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CoolTower(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CoolTower( + 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.cool.CoolTowerProto.internal_static_model_bas_cool_CoolTower_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return club.joylink.rtss.iscs.proto.model.data.bas.cool.CoolTowerProto.internal_static_model_bas_cool_CoolTower_fieldAccessorTable + .ensureFieldAccessorsInitialized( + club.joylink.rtss.iscs.proto.model.data.bas.cool.CoolTowerProto.CoolTower.class, club.joylink.rtss.iscs.proto.model.data.bas.cool.CoolTowerProto.CoolTower.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.cool.CoolTowerProto.CoolTower)) {
+ return super.equals(obj);
+ }
+ club.joylink.rtss.iscs.proto.model.data.bas.cool.CoolTowerProto.CoolTower other = (club.joylink.rtss.iscs.proto.model.data.bas.cool.CoolTowerProto.CoolTower) 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.cool.CoolTowerProto.CoolTower parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.cool.CoolTowerProto.CoolTower 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.cool.CoolTowerProto.CoolTower 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.cool.CoolTowerProto.CoolTower 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.cool.CoolTowerProto.CoolTower parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.cool.CoolTowerProto.CoolTower 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.cool.CoolTowerProto.CoolTower 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.cool.CoolTowerProto.CoolTower 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.cool.CoolTowerProto.CoolTower 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.cool.CoolTowerProto.CoolTower 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.cool.CoolTowerProto.CoolTower 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.cool.CoolTowerProto.CoolTower 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.cool.CoolTowerProto.CoolTower 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.cool.CoolTower} + */ + 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.cool.CoolTower)
+ }
+
+ // @@protoc_insertion_point(class_scope:model.bas.cool.CoolTower)
+ private static final club.joylink.rtss.iscs.proto.model.data.bas.cool.CoolTowerProto.CoolTower DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new club.joylink.rtss.iscs.proto.model.data.bas.cool.CoolTowerProto.CoolTower();
+ }
+
+ public static club.joylink.rtss.iscs.proto.model.data.bas.cool.CoolTowerProto.CoolTower 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.pump.CoolWaterCirculatePump} + */ + public static final class CoolWaterCirculatePump extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:model.bas.pump.CoolWaterCirculatePump) + CoolWaterCirculatePumpOrBuilder { + private static final long serialVersionUID = 0L; + // Use CoolWaterCirculatePump.newBuilder() to construct. + private CoolWaterCirculatePump(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private CoolWaterCirculatePump() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CoolWaterCirculatePump(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CoolWaterCirculatePump( + 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.CoolWaterCirculatePumpProto.internal_static_model_bas_pump_CoolWaterCirculatePump_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return club.joylink.rtss.iscs.proto.model.data.bas.pump.CoolWaterCirculatePumpProto.internal_static_model_bas_pump_CoolWaterCirculatePump_fieldAccessorTable + .ensureFieldAccessorsInitialized( + club.joylink.rtss.iscs.proto.model.data.bas.pump.CoolWaterCirculatePumpProto.CoolWaterCirculatePump.class, club.joylink.rtss.iscs.proto.model.data.bas.pump.CoolWaterCirculatePumpProto.CoolWaterCirculatePump.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.CoolWaterCirculatePumpProto.CoolWaterCirculatePump)) {
+ return super.equals(obj);
+ }
+ club.joylink.rtss.iscs.proto.model.data.bas.pump.CoolWaterCirculatePumpProto.CoolWaterCirculatePump other = (club.joylink.rtss.iscs.proto.model.data.bas.pump.CoolWaterCirculatePumpProto.CoolWaterCirculatePump) 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.CoolWaterCirculatePumpProto.CoolWaterCirculatePump 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.CoolWaterCirculatePumpProto.CoolWaterCirculatePump 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.CoolWaterCirculatePumpProto.CoolWaterCirculatePump 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.CoolWaterCirculatePumpProto.CoolWaterCirculatePump 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.CoolWaterCirculatePumpProto.CoolWaterCirculatePump parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.pump.CoolWaterCirculatePumpProto.CoolWaterCirculatePump 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.CoolWaterCirculatePumpProto.CoolWaterCirculatePump 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.CoolWaterCirculatePumpProto.CoolWaterCirculatePump 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.CoolWaterCirculatePumpProto.CoolWaterCirculatePump 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.CoolWaterCirculatePumpProto.CoolWaterCirculatePump 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.CoolWaterCirculatePumpProto.CoolWaterCirculatePump 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.CoolWaterCirculatePumpProto.CoolWaterCirculatePump 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.CoolWaterCirculatePumpProto.CoolWaterCirculatePump 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.CoolWaterCirculatePump} + */ + 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.CoolWaterCirculatePump)
+ }
+
+ // @@protoc_insertion_point(class_scope:model.bas.pump.CoolWaterCirculatePump)
+ private static final club.joylink.rtss.iscs.proto.model.data.bas.pump.CoolWaterCirculatePumpProto.CoolWaterCirculatePump DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new club.joylink.rtss.iscs.proto.model.data.bas.pump.CoolWaterCirculatePumpProto.CoolWaterCirculatePump();
+ }
+
+ public static club.joylink.rtss.iscs.proto.model.data.bas.pump.CoolWaterCirculatePumpProto.CoolWaterCirculatePump 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.CombinedAirValve} + */ + public static final class CombinedAirValve extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:model.bas.valve.CombinedAirValve) + CombinedAirValveOrBuilder { + private static final long serialVersionUID = 0L; + // Use CombinedAirValve.newBuilder() to construct. + private CombinedAirValve(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private CombinedAirValve() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CombinedAirValve(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CombinedAirValve( + 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.CombinedAirValveProto.internal_static_model_bas_valve_CombinedAirValve_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return club.joylink.rtss.iscs.proto.model.data.bas.valve.CombinedAirValveProto.internal_static_model_bas_valve_CombinedAirValve_fieldAccessorTable + .ensureFieldAccessorsInitialized( + club.joylink.rtss.iscs.proto.model.data.bas.valve.CombinedAirValveProto.CombinedAirValve.class, club.joylink.rtss.iscs.proto.model.data.bas.valve.CombinedAirValveProto.CombinedAirValve.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.CombinedAirValveProto.CombinedAirValve)) {
+ return super.equals(obj);
+ }
+ club.joylink.rtss.iscs.proto.model.data.bas.valve.CombinedAirValveProto.CombinedAirValve other = (club.joylink.rtss.iscs.proto.model.data.bas.valve.CombinedAirValveProto.CombinedAirValve) 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.CombinedAirValveProto.CombinedAirValve 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.CombinedAirValveProto.CombinedAirValve 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.CombinedAirValveProto.CombinedAirValve 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.CombinedAirValveProto.CombinedAirValve 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.CombinedAirValveProto.CombinedAirValve parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.data.bas.valve.CombinedAirValveProto.CombinedAirValve 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.CombinedAirValveProto.CombinedAirValve 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.CombinedAirValveProto.CombinedAirValve 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.CombinedAirValveProto.CombinedAirValve 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.CombinedAirValveProto.CombinedAirValve 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.CombinedAirValveProto.CombinedAirValve 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.CombinedAirValveProto.CombinedAirValve 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.CombinedAirValveProto.CombinedAirValve 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.CombinedAirValve} + */ + 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.CombinedAirValve)
+ }
+
+ // @@protoc_insertion_point(class_scope:model.bas.valve.CombinedAirValve)
+ private static final club.joylink.rtss.iscs.proto.model.data.bas.valve.CombinedAirValveProto.CombinedAirValve DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new club.joylink.rtss.iscs.proto.model.data.bas.valve.CombinedAirValveProto.CombinedAirValve();
+ }
+
+ public static club.joylink.rtss.iscs.proto.model.data.bas.valve.CombinedAirValveProto.CombinedAirValve 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.cool.CoolTowerState.State state = 2;
+ * @return The enum numeric value on the wire for state.
+ */
+ int getStateValue();
+ /**
+ * .status.bas.cool.CoolTowerState.State state = 2;
+ * @return The state.
+ */
+ club.joylink.rtss.iscs.proto.model.status.bas.cool.CoolTowerStateProto.CoolTowerState.State getState();
+ }
+ /**
+ * + *冷却塔 + *+ * + * Protobuf type {@code status.bas.cool.CoolTowerState} + */ + public static final class CoolTowerState extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:status.bas.cool.CoolTowerState) + CoolTowerStateOrBuilder { + private static final long serialVersionUID = 0L; + // Use CoolTowerState.newBuilder() to construct. + private CoolTowerState(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private CoolTowerState() { + state_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CoolTowerState(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CoolTowerState( + 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.cool.CoolTowerStateProto.internal_static_status_bas_cool_CoolTowerState_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return club.joylink.rtss.iscs.proto.model.status.bas.cool.CoolTowerStateProto.internal_static_status_bas_cool_CoolTowerState_fieldAccessorTable + .ensureFieldAccessorsInitialized( + club.joylink.rtss.iscs.proto.model.status.bas.cool.CoolTowerStateProto.CoolTowerState.class, club.joylink.rtss.iscs.proto.model.status.bas.cool.CoolTowerStateProto.CoolTowerState.Builder.class); + } + + /** + * Protobuf enum {@code status.bas.cool.CoolTowerState.State} + */ + public enum State + implements com.google.protobuf.ProtocolMessageEnum { + /** + *
+ *正常/运行 + *+ * + *
NORMAL = 0;
+ */
+ NORMAL(0),
+ /**
+ * + *停止 + *+ * + *
STOP = 1;
+ */
+ STOP(1),
+ /**
+ * + *故障 + *+ * + *
FAULT = 2;
+ */
+ FAULT(2),
+ /**
+ * + *通信中断 + *+ * + *
OFFLINE = 3;
+ */
+ OFFLINE(3),
+ UNRECOGNIZED(-1),
+ ;
+
+ /**
+ * + *正常/运行 + *+ * + *
NORMAL = 0;
+ */
+ public static final int NORMAL_VALUE = 0;
+ /**
+ * + *停止 + *+ * + *
STOP = 1;
+ */
+ public static final int STOP_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 NORMAL;
+ case 1: return STOP;
+ 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.cool.CoolTowerState.State state = 2;
+ * @return The enum numeric value on the wire for state.
+ */
+ @java.lang.Override public int getStateValue() {
+ return state_;
+ }
+ /**
+ * .status.bas.cool.CoolTowerState.State state = 2;
+ * @return The state.
+ */
+ @java.lang.Override public club.joylink.rtss.iscs.proto.model.status.bas.cool.CoolTowerStateProto.CoolTowerState.State getState() {
+ @SuppressWarnings("deprecation")
+ club.joylink.rtss.iscs.proto.model.status.bas.cool.CoolTowerStateProto.CoolTowerState.State result = club.joylink.rtss.iscs.proto.model.status.bas.cool.CoolTowerStateProto.CoolTowerState.State.valueOf(state_);
+ return result == null ? club.joylink.rtss.iscs.proto.model.status.bas.cool.CoolTowerStateProto.CoolTowerState.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.cool.CoolTowerStateProto.CoolTowerState.State.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.bas.cool.CoolTowerStateProto.CoolTowerState.State.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.bas.cool.CoolTowerStateProto.CoolTowerState)) {
+ return super.equals(obj);
+ }
+ club.joylink.rtss.iscs.proto.model.status.bas.cool.CoolTowerStateProto.CoolTowerState other = (club.joylink.rtss.iscs.proto.model.status.bas.cool.CoolTowerStateProto.CoolTowerState) 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.cool.CoolTowerStateProto.CoolTowerState parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.bas.cool.CoolTowerStateProto.CoolTowerState 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.cool.CoolTowerStateProto.CoolTowerState 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.cool.CoolTowerStateProto.CoolTowerState 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.cool.CoolTowerStateProto.CoolTowerState parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.bas.cool.CoolTowerStateProto.CoolTowerState 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.cool.CoolTowerStateProto.CoolTowerState 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.cool.CoolTowerStateProto.CoolTowerState 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.cool.CoolTowerStateProto.CoolTowerState 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.cool.CoolTowerStateProto.CoolTowerState 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.cool.CoolTowerStateProto.CoolTowerState 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.cool.CoolTowerStateProto.CoolTowerState 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.cool.CoolTowerStateProto.CoolTowerState 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.cool.CoolTowerState} + */ + 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.cool.CoolTowerState.State state = 2;
+ * @return The enum numeric value on the wire for state.
+ */
+ @java.lang.Override public int getStateValue() {
+ return state_;
+ }
+ /**
+ * .status.bas.cool.CoolTowerState.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.cool.CoolTowerState.State state = 2;
+ * @return The state.
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.status.bas.cool.CoolTowerStateProto.CoolTowerState.State getState() {
+ @SuppressWarnings("deprecation")
+ club.joylink.rtss.iscs.proto.model.status.bas.cool.CoolTowerStateProto.CoolTowerState.State result = club.joylink.rtss.iscs.proto.model.status.bas.cool.CoolTowerStateProto.CoolTowerState.State.valueOf(state_);
+ return result == null ? club.joylink.rtss.iscs.proto.model.status.bas.cool.CoolTowerStateProto.CoolTowerState.State.UNRECOGNIZED : result;
+ }
+ /**
+ * .status.bas.cool.CoolTowerState.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.cool.CoolTowerStateProto.CoolTowerState.State value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ state_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+ /**
+ * .status.bas.cool.CoolTowerState.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.cool.CoolTowerState)
+ }
+
+ // @@protoc_insertion_point(class_scope:status.bas.cool.CoolTowerState)
+ private static final club.joylink.rtss.iscs.proto.model.status.bas.cool.CoolTowerStateProto.CoolTowerState DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new club.joylink.rtss.iscs.proto.model.status.bas.cool.CoolTowerStateProto.CoolTowerState();
+ }
+
+ public static club.joylink.rtss.iscs.proto.model.status.bas.cool.CoolTowerStateProto.CoolTowerState 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.sensor.CO2SensorState.State state = 2;
+ * @return The enum numeric value on the wire for state.
+ */
+ int getStateValue();
+ /**
+ * .status.bas.sensor.CO2SensorState.State state = 2;
+ * @return The state.
+ */
+ club.joylink.rtss.iscs.proto.model.status.bas.sensor.CO2SensorStateProto.CO2SensorState.State getState();
+
+ /**
+ * + * co2 浓度 + *+ * + *
float ppm = 3;
+ * @return The ppm.
+ */
+ float getPpm();
+ }
+ /**
+ * + *二氧化碳传感器 + *+ * + * Protobuf type {@code status.bas.sensor.CO2SensorState} + */ + public static final class CO2SensorState extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:status.bas.sensor.CO2SensorState) + CO2SensorStateOrBuilder { + private static final long serialVersionUID = 0L; + // Use CO2SensorState.newBuilder() to construct. + private CO2SensorState(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private CO2SensorState() { + state_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CO2SensorState(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CO2SensorState( + 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: { + + ppm_ = 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.sensor.CO2SensorStateProto.internal_static_status_bas_sensor_CO2SensorState_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return club.joylink.rtss.iscs.proto.model.status.bas.sensor.CO2SensorStateProto.internal_static_status_bas_sensor_CO2SensorState_fieldAccessorTable + .ensureFieldAccessorsInitialized( + club.joylink.rtss.iscs.proto.model.status.bas.sensor.CO2SensorStateProto.CO2SensorState.class, club.joylink.rtss.iscs.proto.model.status.bas.sensor.CO2SensorStateProto.CO2SensorState.Builder.class); + } + + /** + * Protobuf enum {@code status.bas.sensor.CO2SensorState.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.sensor.CO2SensorState.State state = 2;
+ * @return The enum numeric value on the wire for state.
+ */
+ @java.lang.Override public int getStateValue() {
+ return state_;
+ }
+ /**
+ * .status.bas.sensor.CO2SensorState.State state = 2;
+ * @return The state.
+ */
+ @java.lang.Override public club.joylink.rtss.iscs.proto.model.status.bas.sensor.CO2SensorStateProto.CO2SensorState.State getState() {
+ @SuppressWarnings("deprecation")
+ club.joylink.rtss.iscs.proto.model.status.bas.sensor.CO2SensorStateProto.CO2SensorState.State result = club.joylink.rtss.iscs.proto.model.status.bas.sensor.CO2SensorStateProto.CO2SensorState.State.valueOf(state_);
+ return result == null ? club.joylink.rtss.iscs.proto.model.status.bas.sensor.CO2SensorStateProto.CO2SensorState.State.UNRECOGNIZED : result;
+ }
+
+ public static final int PPM_FIELD_NUMBER = 3;
+ private float ppm_;
+ /**
+ * + * co2 浓度 + *+ * + *
float ppm = 3;
+ * @return The ppm.
+ */
+ @java.lang.Override
+ public float getPpm() {
+ return ppm_;
+ }
+
+ 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.sensor.CO2SensorStateProto.CO2SensorState.State.WORKED.getNumber()) {
+ output.writeEnum(2, state_);
+ }
+ if (java.lang.Float.floatToRawIntBits(ppm_) != 0) {
+ output.writeFloat(3, ppm_);
+ }
+ 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.sensor.CO2SensorStateProto.CO2SensorState.State.WORKED.getNumber()) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeEnumSize(2, state_);
+ }
+ if (java.lang.Float.floatToRawIntBits(ppm_) != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeFloatSize(3, ppm_);
+ }
+ 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.sensor.CO2SensorStateProto.CO2SensorState)) {
+ return super.equals(obj);
+ }
+ club.joylink.rtss.iscs.proto.model.status.bas.sensor.CO2SensorStateProto.CO2SensorState other = (club.joylink.rtss.iscs.proto.model.status.bas.sensor.CO2SensorStateProto.CO2SensorState) 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(getPpm())
+ != java.lang.Float.floatToIntBits(
+ other.getPpm())) 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) + PPM_FIELD_NUMBER;
+ hash = (53 * hash) + java.lang.Float.floatToIntBits(
+ getPpm());
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static club.joylink.rtss.iscs.proto.model.status.bas.sensor.CO2SensorStateProto.CO2SensorState parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.bas.sensor.CO2SensorStateProto.CO2SensorState 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.sensor.CO2SensorStateProto.CO2SensorState 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.sensor.CO2SensorStateProto.CO2SensorState 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.sensor.CO2SensorStateProto.CO2SensorState parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.bas.sensor.CO2SensorStateProto.CO2SensorState 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.sensor.CO2SensorStateProto.CO2SensorState 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.sensor.CO2SensorStateProto.CO2SensorState 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.sensor.CO2SensorStateProto.CO2SensorState 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.sensor.CO2SensorStateProto.CO2SensorState 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.sensor.CO2SensorStateProto.CO2SensorState 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.sensor.CO2SensorStateProto.CO2SensorState 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.sensor.CO2SensorStateProto.CO2SensorState 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.sensor.CO2SensorState} + */ + 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.sensor.CO2SensorState.State state = 2;
+ * @return The enum numeric value on the wire for state.
+ */
+ @java.lang.Override public int getStateValue() {
+ return state_;
+ }
+ /**
+ * .status.bas.sensor.CO2SensorState.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.sensor.CO2SensorState.State state = 2;
+ * @return The state.
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.status.bas.sensor.CO2SensorStateProto.CO2SensorState.State getState() {
+ @SuppressWarnings("deprecation")
+ club.joylink.rtss.iscs.proto.model.status.bas.sensor.CO2SensorStateProto.CO2SensorState.State result = club.joylink.rtss.iscs.proto.model.status.bas.sensor.CO2SensorStateProto.CO2SensorState.State.valueOf(state_);
+ return result == null ? club.joylink.rtss.iscs.proto.model.status.bas.sensor.CO2SensorStateProto.CO2SensorState.State.UNRECOGNIZED : result;
+ }
+ /**
+ * .status.bas.sensor.CO2SensorState.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.sensor.CO2SensorStateProto.CO2SensorState.State value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ state_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+ /**
+ * .status.bas.sensor.CO2SensorState.State state = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearState() {
+
+ state_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private float ppm_ ;
+ /**
+ * + * co2 浓度 + *+ * + *
float ppm = 3;
+ * @return The ppm.
+ */
+ @java.lang.Override
+ public float getPpm() {
+ return ppm_;
+ }
+ /**
+ * + * co2 浓度 + *+ * + *
float ppm = 3;
+ * @param value The ppm to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPpm(float value) {
+
+ ppm_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * co2 浓度 + *+ * + *
float ppm = 3;
+ * @return This builder for chaining.
+ */
+ public Builder clearPpm() {
+
+ ppm_ = 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.sensor.CO2SensorState)
+ }
+
+ // @@protoc_insertion_point(class_scope:status.bas.sensor.CO2SensorState)
+ private static final club.joylink.rtss.iscs.proto.model.status.bas.sensor.CO2SensorStateProto.CO2SensorState DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new club.joylink.rtss.iscs.proto.model.status.bas.sensor.CO2SensorStateProto.CO2SensorState();
+ }
+
+ public static club.joylink.rtss.iscs.proto.model.status.bas.sensor.CO2SensorStateProto.CO2SensorState 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.CombinedAirValveState.State state = 2;
+ * @return The enum numeric value on the wire for state.
+ */
+ int getStateValue();
+ /**
+ * .status.bas.valve.CombinedAirValveState.State state = 2;
+ * @return The state.
+ */
+ club.joylink.rtss.iscs.proto.model.status.bas.valve.CombinedAirValveStateProto.CombinedAirValveState.State getState();
+ }
+ /**
+ * + *组合式风阀 + *+ * + * Protobuf type {@code status.bas.valve.CombinedAirValveState} + */ + public static final class CombinedAirValveState extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:status.bas.valve.CombinedAirValveState) + CombinedAirValveStateOrBuilder { + private static final long serialVersionUID = 0L; + // Use CombinedAirValveState.newBuilder() to construct. + private CombinedAirValveState(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private CombinedAirValveState() { + state_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CombinedAirValveState(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CombinedAirValveState( + 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.valve.CombinedAirValveStateProto.internal_static_status_bas_valve_CombinedAirValveState_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return club.joylink.rtss.iscs.proto.model.status.bas.valve.CombinedAirValveStateProto.internal_static_status_bas_valve_CombinedAirValveState_fieldAccessorTable + .ensureFieldAccessorsInitialized( + club.joylink.rtss.iscs.proto.model.status.bas.valve.CombinedAirValveStateProto.CombinedAirValveState.class, club.joylink.rtss.iscs.proto.model.status.bas.valve.CombinedAirValveStateProto.CombinedAirValveState.Builder.class); + } + + /** + * Protobuf enum {@code status.bas.valve.CombinedAirValveState.State} + */ + public enum State + implements com.google.protobuf.ProtocolMessageEnum { + /** + *
+ *关到位 + *+ * + *
CLOSE_OVER = 0;
+ */
+ CLOSE_OVER(0),
+ /**
+ * + *开到位 + *+ * + *
OPENED_OVER = 1;
+ */
+ OPENED_OVER(1),
+ /**
+ * + *动作 + *+ * + *
CLOSE_OR_OPENING = 2;
+ */
+ CLOSE_OR_OPENING(2),
+ /**
+ * + *故障 + *+ * + *
FAULT = 3;
+ */
+ FAULT(3),
+ /**
+ * + *通信中断 + *+ * + *
OFFLINE = 4;
+ */
+ OFFLINE(4),
+ UNRECOGNIZED(-1),
+ ;
+
+ /**
+ * + *关到位 + *+ * + *
CLOSE_OVER = 0;
+ */
+ public static final int CLOSE_OVER_VALUE = 0;
+ /**
+ * + *开到位 + *+ * + *
OPENED_OVER = 1;
+ */
+ public static final int OPENED_OVER_VALUE = 1;
+ /**
+ * + *动作 + *+ * + *
CLOSE_OR_OPENING = 2;
+ */
+ public static final int CLOSE_OR_OPENING_VALUE = 2;
+ /**
+ * + *故障 + *+ * + *
FAULT = 3;
+ */
+ public static final int FAULT_VALUE = 3;
+ /**
+ * + *通信中断 + *+ * + *
OFFLINE = 4;
+ */
+ public static final int OFFLINE_VALUE = 4;
+
+
+ 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 CLOSE_OVER;
+ case 1: return OPENED_OVER;
+ case 2: return CLOSE_OR_OPENING;
+ case 3: return FAULT;
+ case 4: 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.CombinedAirValveState.State state = 2;
+ * @return The enum numeric value on the wire for state.
+ */
+ @java.lang.Override public int getStateValue() {
+ return state_;
+ }
+ /**
+ * .status.bas.valve.CombinedAirValveState.State state = 2;
+ * @return The state.
+ */
+ @java.lang.Override public club.joylink.rtss.iscs.proto.model.status.bas.valve.CombinedAirValveStateProto.CombinedAirValveState.State getState() {
+ @SuppressWarnings("deprecation")
+ club.joylink.rtss.iscs.proto.model.status.bas.valve.CombinedAirValveStateProto.CombinedAirValveState.State result = club.joylink.rtss.iscs.proto.model.status.bas.valve.CombinedAirValveStateProto.CombinedAirValveState.State.valueOf(state_);
+ return result == null ? club.joylink.rtss.iscs.proto.model.status.bas.valve.CombinedAirValveStateProto.CombinedAirValveState.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.valve.CombinedAirValveStateProto.CombinedAirValveState.State.CLOSE_OVER.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.valve.CombinedAirValveStateProto.CombinedAirValveState.State.CLOSE_OVER.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.valve.CombinedAirValveStateProto.CombinedAirValveState)) {
+ return super.equals(obj);
+ }
+ club.joylink.rtss.iscs.proto.model.status.bas.valve.CombinedAirValveStateProto.CombinedAirValveState other = (club.joylink.rtss.iscs.proto.model.status.bas.valve.CombinedAirValveStateProto.CombinedAirValveState) 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.valve.CombinedAirValveStateProto.CombinedAirValveState 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.CombinedAirValveStateProto.CombinedAirValveState 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.CombinedAirValveStateProto.CombinedAirValveState 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.CombinedAirValveStateProto.CombinedAirValveState 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.CombinedAirValveStateProto.CombinedAirValveState parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static club.joylink.rtss.iscs.proto.model.status.bas.valve.CombinedAirValveStateProto.CombinedAirValveState 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.CombinedAirValveStateProto.CombinedAirValveState 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.CombinedAirValveStateProto.CombinedAirValveState 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.CombinedAirValveStateProto.CombinedAirValveState 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.CombinedAirValveStateProto.CombinedAirValveState 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.CombinedAirValveStateProto.CombinedAirValveState 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.CombinedAirValveStateProto.CombinedAirValveState 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.CombinedAirValveStateProto.CombinedAirValveState 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.CombinedAirValveState} + */ + 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.CombinedAirValveState.State state = 2;
+ * @return The enum numeric value on the wire for state.
+ */
+ @java.lang.Override public int getStateValue() {
+ return state_;
+ }
+ /**
+ * .status.bas.valve.CombinedAirValveState.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.CombinedAirValveState.State state = 2;
+ * @return The state.
+ */
+ @java.lang.Override
+ public club.joylink.rtss.iscs.proto.model.status.bas.valve.CombinedAirValveStateProto.CombinedAirValveState.State getState() {
+ @SuppressWarnings("deprecation")
+ club.joylink.rtss.iscs.proto.model.status.bas.valve.CombinedAirValveStateProto.CombinedAirValveState.State result = club.joylink.rtss.iscs.proto.model.status.bas.valve.CombinedAirValveStateProto.CombinedAirValveState.State.valueOf(state_);
+ return result == null ? club.joylink.rtss.iscs.proto.model.status.bas.valve.CombinedAirValveStateProto.CombinedAirValveState.State.UNRECOGNIZED : result;
+ }
+ /**
+ * .status.bas.valve.CombinedAirValveState.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.CombinedAirValveStateProto.CombinedAirValveState.State value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ state_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+ /**
+ * .status.bas.valve.CombinedAirValveState.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.valve.CombinedAirValveState)
+ }
+
+ // @@protoc_insertion_point(class_scope:status.bas.valve.CombinedAirValveState)
+ private static final club.joylink.rtss.iscs.proto.model.status.bas.valve.CombinedAirValveStateProto.CombinedAirValveState DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new club.joylink.rtss.iscs.proto.model.status.bas.valve.CombinedAirValveStateProto.CombinedAirValveState();
+ }
+
+ public static club.joylink.rtss.iscs.proto.model.status.bas.valve.CombinedAirValveStateProto.CombinedAirValveState getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser