This commit is contained in:
xzb 2022-12-08 17:32:33 +08:00
parent a303d773cf
commit 8e3aa9ebb2
17 changed files with 20150 additions and 0 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,745 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: model/power/BusTieSpareSourceAutoSwitchModel.proto
package club.joylink.rtss.iscs.proto.model.data.power;
public final class BusTieSpareSourceAutoSwitchModelProto {
private BusTieSpareSourceAutoSwitchModelProto() {}
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 BusTieSpareSourceAutoSwitchModelOrBuilder extends
// @@protoc_insertion_point(interface_extends:model.power.BusTieSpareSourceAutoSwitchModel)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
*当前模型数据唯一标识
* </pre>
*
* <code>.model.DataModel identity = 1;</code>
* @return Whether the identity field is set.
*/
boolean hasIdentity();
/**
* <pre>
*当前模型数据唯一标识
* </pre>
*
* <code>.model.DataModel identity = 1;</code>
* @return The identity.
*/
club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel getIdentity();
/**
* <pre>
*当前模型数据唯一标识
* </pre>
*
* <code>.model.DataModel identity = 1;</code>
*/
club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder getIdentityOrBuilder();
}
/**
* <pre>
**
* 母联备自投
* </pre>
*
* Protobuf type {@code model.power.BusTieSpareSourceAutoSwitchModel}
*/
public static final class BusTieSpareSourceAutoSwitchModel extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:model.power.BusTieSpareSourceAutoSwitchModel)
BusTieSpareSourceAutoSwitchModelOrBuilder {
private static final long serialVersionUID = 0L;
// Use BusTieSpareSourceAutoSwitchModel.newBuilder() to construct.
private BusTieSpareSourceAutoSwitchModel(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private BusTieSpareSourceAutoSwitchModel() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new BusTieSpareSourceAutoSwitchModel();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private BusTieSpareSourceAutoSwitchModel(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder subBuilder = null;
if (identity_ != null) {
subBuilder = identity_.toBuilder();
}
identity_ = input.readMessage(club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(identity_);
identity_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.internal_static_model_power_BusTieSpareSourceAutoSwitchModel_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.internal_static_model_power_BusTieSpareSourceAutoSwitchModel_fieldAccessorTable
.ensureFieldAccessorsInitialized(
club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel.class, club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel.Builder.class);
}
public static final int IDENTITY_FIELD_NUMBER = 1;
private club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel identity_;
/**
* <pre>
*当前模型数据唯一标识
* </pre>
*
* <code>.model.DataModel identity = 1;</code>
* @return Whether the identity field is set.
*/
@java.lang.Override
public boolean hasIdentity() {
return identity_ != null;
}
/**
* <pre>
*当前模型数据唯一标识
* </pre>
*
* <code>.model.DataModel identity = 1;</code>
* @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_;
}
/**
* <pre>
*当前模型数据唯一标识
* </pre>
*
* <code>.model.DataModel identity = 1;</code>
*/
@java.lang.Override
public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder getIdentityOrBuilder() {
return getIdentity();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (identity_ != null) {
output.writeMessage(1, getIdentity());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (identity_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getIdentity());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel)) {
return super.equals(obj);
}
club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel other = (club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel) obj;
if (hasIdentity() != other.hasIdentity()) return false;
if (hasIdentity()) {
if (!getIdentity()
.equals(other.getIdentity())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasIdentity()) {
hash = (37 * hash) + IDENTITY_FIELD_NUMBER;
hash = (53 * hash) + getIdentity().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* <pre>
**
* 母联备自投
* </pre>
*
* Protobuf type {@code model.power.BusTieSpareSourceAutoSwitchModel}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:model.power.BusTieSpareSourceAutoSwitchModel)
club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModelOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.internal_static_model_power_BusTieSpareSourceAutoSwitchModel_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.internal_static_model_power_BusTieSpareSourceAutoSwitchModel_fieldAccessorTable
.ensureFieldAccessorsInitialized(
club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel.class, club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel.Builder.class);
}
// Construct using club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (identityBuilder_ == null) {
identity_ = null;
} else {
identity_ = null;
identityBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.internal_static_model_power_BusTieSpareSourceAutoSwitchModel_descriptor;
}
@java.lang.Override
public club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel getDefaultInstanceForType() {
return club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel.getDefaultInstance();
}
@java.lang.Override
public club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel build() {
club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel buildPartial() {
club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel result = new club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel(this);
if (identityBuilder_ == null) {
result.identity_ = identity_;
} else {
result.identity_ = identityBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel) {
return mergeFrom((club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel other) {
if (other == club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel.getDefaultInstance()) return this;
if (other.hasIdentity()) {
mergeIdentity(other.getIdentity());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel identity_;
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> identityBuilder_;
/**
* <pre>
*当前模型数据唯一标识
* </pre>
*
* <code>.model.DataModel identity = 1;</code>
* @return Whether the identity field is set.
*/
public boolean hasIdentity() {
return identityBuilder_ != null || identity_ != null;
}
/**
* <pre>
*当前模型数据唯一标识
* </pre>
*
* <code>.model.DataModel identity = 1;</code>
* @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();
}
}
/**
* <pre>
*当前模型数据唯一标识
* </pre>
*
* <code>.model.DataModel identity = 1;</code>
*/
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;
}
/**
* <pre>
*当前模型数据唯一标识
* </pre>
*
* <code>.model.DataModel identity = 1;</code>
*/
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;
}
/**
* <pre>
*当前模型数据唯一标识
* </pre>
*
* <code>.model.DataModel identity = 1;</code>
*/
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;
}
/**
* <pre>
*当前模型数据唯一标识
* </pre>
*
* <code>.model.DataModel identity = 1;</code>
*/
public Builder clearIdentity() {
if (identityBuilder_ == null) {
identity_ = null;
onChanged();
} else {
identity_ = null;
identityBuilder_ = null;
}
return this;
}
/**
* <pre>
*当前模型数据唯一标识
* </pre>
*
* <code>.model.DataModel identity = 1;</code>
*/
public club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder getIdentityBuilder() {
onChanged();
return getIdentityFieldBuilder().getBuilder();
}
/**
* <pre>
*当前模型数据唯一标识
* </pre>
*
* <code>.model.DataModel identity = 1;</code>
*/
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_;
}
}
/**
* <pre>
*当前模型数据唯一标识
* </pre>
*
* <code>.model.DataModel identity = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder>
getIdentityFieldBuilder() {
if (identityBuilder_ == null) {
identityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModelOrBuilder>(
getIdentity(),
getParentForChildren(),
isClean());
identity_ = null;
}
return identityBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:model.power.BusTieSpareSourceAutoSwitchModel)
}
// @@protoc_insertion_point(class_scope:model.power.BusTieSpareSourceAutoSwitchModel)
private static final club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel();
}
public static club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<BusTieSpareSourceAutoSwitchModel>
PARSER = new com.google.protobuf.AbstractParser<BusTieSpareSourceAutoSwitchModel>() {
@java.lang.Override
public BusTieSpareSourceAutoSwitchModel parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new BusTieSpareSourceAutoSwitchModel(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<BusTieSpareSourceAutoSwitchModel> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<BusTieSpareSourceAutoSwitchModel> getParserForType() {
return PARSER;
}
@java.lang.Override
public club.joylink.rtss.iscs.proto.model.data.power.BusTieSpareSourceAutoSwitchModelProto.BusTieSpareSourceAutoSwitchModel getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_model_power_BusTieSpareSourceAutoSwitchModel_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_model_power_BusTieSpareSourceAutoSwitchModel_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n2model/power/BusTieSpareSourceAutoSwitc" +
"hModel.proto\022\013model.power\032\025model/DataMod" +
"el.proto\"F\n BusTieSpareSourceAutoSwitchM" +
"odel\022\"\n\010identity\030\001 \001(\0132\020.model.DataModel" +
"BV\n-club.joylink.rtss.iscs.proto.model.d" +
"ata.powerB%BusTieSpareSourceAutoSwitchMo" +
"delProtob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
club.joylink.rtss.iscs.proto.model.data.DataModelProto.getDescriptor(),
});
internal_static_model_power_BusTieSpareSourceAutoSwitchModel_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_model_power_BusTieSpareSourceAutoSwitchModel_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_model_power_BusTieSpareSourceAutoSwitchModel_descriptor,
new java.lang.String[] { "Identity", });
club.joylink.rtss.iscs.proto.model.data.DataModelProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}

View File

@ -0,0 +1,950 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: status/bas/pump/ChilledWaterPumpState.proto
package club.joylink.rtss.iscs.proto.model.status.bas.pump;
public final class ChilledWaterPumpStateProto {
private ChilledWaterPumpStateProto() {}
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 ChilledWaterPumpStateOrBuilder extends
// @@protoc_insertion_point(interface_extends:status.bas.pump.ChilledWaterPumpState)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.model.ModelRef modelRef = 1;</code>
* @return Whether the modelRef field is set.
*/
boolean hasModelRef();
/**
* <code>.model.ModelRef modelRef = 1;</code>
* @return The modelRef.
*/
club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getModelRef();
/**
* <code>.model.ModelRef modelRef = 1;</code>
*/
club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getModelRefOrBuilder();
/**
* <code>.status.bas.pump.ChilledWaterPumpState.State state = 2;</code>
* @return The enum numeric value on the wire for state.
*/
int getStateValue();
/**
* <code>.status.bas.pump.ChilledWaterPumpState.State state = 2;</code>
* @return The state.
*/
club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState.State getState();
}
/**
* <pre>
*冷冻水泵
* </pre>
*
* Protobuf type {@code status.bas.pump.ChilledWaterPumpState}
*/
public static final class ChilledWaterPumpState extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:status.bas.pump.ChilledWaterPumpState)
ChilledWaterPumpStateOrBuilder {
private static final long serialVersionUID = 0L;
// Use ChilledWaterPumpState.newBuilder() to construct.
private ChilledWaterPumpState(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private ChilledWaterPumpState() {
state_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ChilledWaterPumpState();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ChilledWaterPumpState(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder subBuilder = null;
if (modelRef_ != null) {
subBuilder = modelRef_.toBuilder();
}
modelRef_ = input.readMessage(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(modelRef_);
modelRef_ = subBuilder.buildPartial();
}
break;
}
case 16: {
int rawValue = input.readEnum();
state_ = rawValue;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.internal_static_status_bas_pump_ChilledWaterPumpState_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.internal_static_status_bas_pump_ChilledWaterPumpState_fieldAccessorTable
.ensureFieldAccessorsInitialized(
club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState.class, club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState.Builder.class);
}
/**
* Protobuf enum {@code status.bas.pump.ChilledWaterPumpState.State}
*/
public enum State
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <pre>
*停止
* </pre>
*
* <code>STOP = 0;</code>
*/
STOP(0),
/**
* <pre>
*运行
* </pre>
*
* <code>RUNING = 1;</code>
*/
RUNING(1),
/**
* <pre>
*故障
* </pre>
*
* <code>FAULT = 2;</code>
*/
FAULT(2),
/**
* <pre>
*通信中断
* </pre>
*
* <code>OFFLINE = 3;</code>
*/
OFFLINE(3),
UNRECOGNIZED(-1),
;
/**
* <pre>
*停止
* </pre>
*
* <code>STOP = 0;</code>
*/
public static final int STOP_VALUE = 0;
/**
* <pre>
*运行
* </pre>
*
* <code>RUNING = 1;</code>
*/
public static final int RUNING_VALUE = 1;
/**
* <pre>
*故障
* </pre>
*
* <code>FAULT = 2;</code>
*/
public static final int FAULT_VALUE = 2;
/**
* <pre>
*通信中断
* </pre>
*
* <code>OFFLINE = 3;</code>
*/
public static final int OFFLINE_VALUE = 3;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static State valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static State forNumber(int value) {
switch (value) {
case 0: return STOP;
case 1: return RUNING;
case 2: return FAULT;
case 3: return OFFLINE;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<State>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
State> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<State>() {
public State findValueByNumber(int number) {
return State.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState.getDescriptor().getEnumTypes().get(0);
}
private static final State[] VALUES = values();
public static State valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private State(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:status.bas.pump.ChilledWaterPumpState.State)
}
public static final int MODELREF_FIELD_NUMBER = 1;
private club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef modelRef_;
/**
* <code>.model.ModelRef modelRef = 1;</code>
* @return Whether the modelRef field is set.
*/
@java.lang.Override
public boolean hasModelRef() {
return modelRef_ != null;
}
/**
* <code>.model.ModelRef modelRef = 1;</code>
* @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_;
}
/**
* <code>.model.ModelRef modelRef = 1;</code>
*/
@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_;
/**
* <code>.status.bas.pump.ChilledWaterPumpState.State state = 2;</code>
* @return The enum numeric value on the wire for state.
*/
@java.lang.Override public int getStateValue() {
return state_;
}
/**
* <code>.status.bas.pump.ChilledWaterPumpState.State state = 2;</code>
* @return The state.
*/
@java.lang.Override public club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState.State getState() {
@SuppressWarnings("deprecation")
club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState.State result = club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState.State.valueOf(state_);
return result == null ? club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState.State.UNRECOGNIZED : result;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (modelRef_ != null) {
output.writeMessage(1, getModelRef());
}
if (state_ != club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState.State.STOP.getNumber()) {
output.writeEnum(2, state_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (modelRef_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getModelRef());
}
if (state_ != club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState.State.STOP.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, state_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState)) {
return super.equals(obj);
}
club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState other = (club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState) obj;
if (hasModelRef() != other.hasModelRef()) return false;
if (hasModelRef()) {
if (!getModelRef()
.equals(other.getModelRef())) return false;
}
if (state_ != other.state_) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasModelRef()) {
hash = (37 * hash) + MODELREF_FIELD_NUMBER;
hash = (53 * hash) + getModelRef().hashCode();
}
hash = (37 * hash) + STATE_FIELD_NUMBER;
hash = (53 * hash) + state_;
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* <pre>
*冷冻水泵
* </pre>
*
* Protobuf type {@code status.bas.pump.ChilledWaterPumpState}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:status.bas.pump.ChilledWaterPumpState)
club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpStateOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.internal_static_status_bas_pump_ChilledWaterPumpState_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.internal_static_status_bas_pump_ChilledWaterPumpState_fieldAccessorTable
.ensureFieldAccessorsInitialized(
club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState.class, club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState.Builder.class);
}
// Construct using club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (modelRefBuilder_ == null) {
modelRef_ = null;
} else {
modelRef_ = null;
modelRefBuilder_ = null;
}
state_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.internal_static_status_bas_pump_ChilledWaterPumpState_descriptor;
}
@java.lang.Override
public club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState getDefaultInstanceForType() {
return club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState.getDefaultInstance();
}
@java.lang.Override
public club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState build() {
club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState buildPartial() {
club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState result = new club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState(this);
if (modelRefBuilder_ == null) {
result.modelRef_ = modelRef_;
} else {
result.modelRef_ = modelRefBuilder_.build();
}
result.state_ = state_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState) {
return mergeFrom((club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState other) {
if (other == club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState.getDefaultInstance()) return this;
if (other.hasModelRef()) {
mergeModelRef(other.getModelRef());
}
if (other.state_ != 0) {
setStateValue(other.getStateValue());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef modelRef_;
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> modelRefBuilder_;
/**
* <code>.model.ModelRef modelRef = 1;</code>
* @return Whether the modelRef field is set.
*/
public boolean hasModelRef() {
return modelRefBuilder_ != null || modelRef_ != null;
}
/**
* <code>.model.ModelRef modelRef = 1;</code>
* @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();
}
}
/**
* <code>.model.ModelRef modelRef = 1;</code>
*/
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;
}
/**
* <code>.model.ModelRef modelRef = 1;</code>
*/
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;
}
/**
* <code>.model.ModelRef modelRef = 1;</code>
*/
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;
}
/**
* <code>.model.ModelRef modelRef = 1;</code>
*/
public Builder clearModelRef() {
if (modelRefBuilder_ == null) {
modelRef_ = null;
onChanged();
} else {
modelRef_ = null;
modelRefBuilder_ = null;
}
return this;
}
/**
* <code>.model.ModelRef modelRef = 1;</code>
*/
public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder getModelRefBuilder() {
onChanged();
return getModelRefFieldBuilder().getBuilder();
}
/**
* <code>.model.ModelRef modelRef = 1;</code>
*/
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_;
}
}
/**
* <code>.model.ModelRef modelRef = 1;</code>
*/
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;
/**
* <code>.status.bas.pump.ChilledWaterPumpState.State state = 2;</code>
* @return The enum numeric value on the wire for state.
*/
@java.lang.Override public int getStateValue() {
return state_;
}
/**
* <code>.status.bas.pump.ChilledWaterPumpState.State state = 2;</code>
* @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;
}
/**
* <code>.status.bas.pump.ChilledWaterPumpState.State state = 2;</code>
* @return The state.
*/
@java.lang.Override
public club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState.State getState() {
@SuppressWarnings("deprecation")
club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState.State result = club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState.State.valueOf(state_);
return result == null ? club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState.State.UNRECOGNIZED : result;
}
/**
* <code>.status.bas.pump.ChilledWaterPumpState.State state = 2;</code>
* @param value The state to set.
* @return This builder for chaining.
*/
public Builder setState(club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState.State value) {
if (value == null) {
throw new NullPointerException();
}
state_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>.status.bas.pump.ChilledWaterPumpState.State state = 2;</code>
* @return This builder for chaining.
*/
public Builder clearState() {
state_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:status.bas.pump.ChilledWaterPumpState)
}
// @@protoc_insertion_point(class_scope:status.bas.pump.ChilledWaterPumpState)
private static final club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState();
}
public static club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<ChilledWaterPumpState>
PARSER = new com.google.protobuf.AbstractParser<ChilledWaterPumpState>() {
@java.lang.Override
public ChilledWaterPumpState parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ChilledWaterPumpState(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<ChilledWaterPumpState> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<ChilledWaterPumpState> getParserForType() {
return PARSER;
}
@java.lang.Override
public club.joylink.rtss.iscs.proto.model.status.bas.pump.ChilledWaterPumpStateProto.ChilledWaterPumpState getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_status_bas_pump_ChilledWaterPumpState_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_status_bas_pump_ChilledWaterPumpState_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n+status/bas/pump/ChilledWaterPumpState." +
"proto\022\017status.bas.pump\032\025model/DataModel." +
"proto\"\256\001\n\025ChilledWaterPumpState\022!\n\010model" +
"Ref\030\001 \001(\0132\017.model.ModelRef\022;\n\005state\030\002 \001(" +
"\0162,.status.bas.pump.ChilledWaterPumpStat" +
"e.State\"5\n\005State\022\010\n\004STOP\020\000\022\n\n\006RUNING\020\001\022\t" +
"\n\005FAULT\020\002\022\013\n\007OFFLINE\020\003BP\n2club.joylink.r" +
"tss.iscs.proto.model.status.bas.pumpB\032Ch" +
"illedWaterPumpStateProtob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
club.joylink.rtss.iscs.proto.model.data.DataModelProto.getDescriptor(),
});
internal_static_status_bas_pump_ChilledWaterPumpState_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_status_bas_pump_ChilledWaterPumpState_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_status_bas_pump_ChilledWaterPumpState_descriptor,
new java.lang.String[] { "ModelRef", "State", });
club.joylink.rtss.iscs.proto.model.data.DataModelProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}

View File

@ -0,0 +1,906 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: status/cctv/CctvServerState.proto
package club.joylink.rtss.iscs.proto.model.status.cctv;
public final class CctvServerStateProto {
private CctvServerStateProto() {}
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 CctvServerStateOrBuilder extends
// @@protoc_insertion_point(interface_extends:status.cctv.CctvServerState)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
*表示哪个模型的状态
*CctvServerModel
* </pre>
*
* <code>.model.ModelRef modelRef = 1;</code>
* @return Whether the modelRef field is set.
*/
boolean hasModelRef();
/**
* <pre>
*表示哪个模型的状态
*CctvServerModel
* </pre>
*
* <code>.model.ModelRef modelRef = 1;</code>
* @return The modelRef.
*/
club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getModelRef();
/**
* <pre>
*表示哪个模型的状态
*CctvServerModel
* </pre>
*
* <code>.model.ModelRef modelRef = 1;</code>
*/
club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getModelRefOrBuilder();
/**
* <pre>
*nms网络状态
* </pre>
*
* <code>.status.nms.NetworkState networkState = 2;</code>
* @return The enum numeric value on the wire for networkState.
*/
int getNetworkStateValue();
/**
* <pre>
*nms网络状态
* </pre>
*
* <code>.status.nms.NetworkState networkState = 2;</code>
* @return The networkState.
*/
club.joylink.rtss.iscs.proto.model.status.nms.NetworkStateProto.NetworkState getNetworkState();
}
/**
* <pre>
**
* CCTV监控系统控制器状态
* </pre>
*
* Protobuf type {@code status.cctv.CctvServerState}
*/
public static final class CctvServerState extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:status.cctv.CctvServerState)
CctvServerStateOrBuilder {
private static final long serialVersionUID = 0L;
// Use CctvServerState.newBuilder() to construct.
private CctvServerState(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private CctvServerState() {
networkState_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CctvServerState();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CctvServerState(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder subBuilder = null;
if (modelRef_ != null) {
subBuilder = modelRef_.toBuilder();
}
modelRef_ = input.readMessage(club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(modelRef_);
modelRef_ = subBuilder.buildPartial();
}
break;
}
case 16: {
int rawValue = input.readEnum();
networkState_ = rawValue;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.internal_static_status_cctv_CctvServerState_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.internal_static_status_cctv_CctvServerState_fieldAccessorTable
.ensureFieldAccessorsInitialized(
club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState.class, club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState.Builder.class);
}
public static final int MODELREF_FIELD_NUMBER = 1;
private club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef modelRef_;
/**
* <pre>
*表示哪个模型的状态
*CctvServerModel
* </pre>
*
* <code>.model.ModelRef modelRef = 1;</code>
* @return Whether the modelRef field is set.
*/
@java.lang.Override
public boolean hasModelRef() {
return modelRef_ != null;
}
/**
* <pre>
*表示哪个模型的状态
*CctvServerModel
* </pre>
*
* <code>.model.ModelRef modelRef = 1;</code>
* @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_;
}
/**
* <pre>
*表示哪个模型的状态
*CctvServerModel
* </pre>
*
* <code>.model.ModelRef modelRef = 1;</code>
*/
@java.lang.Override
public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getModelRefOrBuilder() {
return getModelRef();
}
public static final int NETWORKSTATE_FIELD_NUMBER = 2;
private int networkState_;
/**
* <pre>
*nms网络状态
* </pre>
*
* <code>.status.nms.NetworkState networkState = 2;</code>
* @return The enum numeric value on the wire for networkState.
*/
@java.lang.Override public int getNetworkStateValue() {
return networkState_;
}
/**
* <pre>
*nms网络状态
* </pre>
*
* <code>.status.nms.NetworkState networkState = 2;</code>
* @return The networkState.
*/
@java.lang.Override public club.joylink.rtss.iscs.proto.model.status.nms.NetworkStateProto.NetworkState getNetworkState() {
@SuppressWarnings("deprecation")
club.joylink.rtss.iscs.proto.model.status.nms.NetworkStateProto.NetworkState result = club.joylink.rtss.iscs.proto.model.status.nms.NetworkStateProto.NetworkState.valueOf(networkState_);
return result == null ? club.joylink.rtss.iscs.proto.model.status.nms.NetworkStateProto.NetworkState.UNRECOGNIZED : result;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (modelRef_ != null) {
output.writeMessage(1, getModelRef());
}
if (networkState_ != club.joylink.rtss.iscs.proto.model.status.nms.NetworkStateProto.NetworkState.Normal.getNumber()) {
output.writeEnum(2, networkState_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (modelRef_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getModelRef());
}
if (networkState_ != club.joylink.rtss.iscs.proto.model.status.nms.NetworkStateProto.NetworkState.Normal.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, networkState_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState)) {
return super.equals(obj);
}
club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState other = (club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState) obj;
if (hasModelRef() != other.hasModelRef()) return false;
if (hasModelRef()) {
if (!getModelRef()
.equals(other.getModelRef())) return false;
}
if (networkState_ != other.networkState_) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasModelRef()) {
hash = (37 * hash) + MODELREF_FIELD_NUMBER;
hash = (53 * hash) + getModelRef().hashCode();
}
hash = (37 * hash) + NETWORKSTATE_FIELD_NUMBER;
hash = (53 * hash) + networkState_;
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* <pre>
**
* CCTV监控系统控制器状态
* </pre>
*
* Protobuf type {@code status.cctv.CctvServerState}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:status.cctv.CctvServerState)
club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerStateOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.internal_static_status_cctv_CctvServerState_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.internal_static_status_cctv_CctvServerState_fieldAccessorTable
.ensureFieldAccessorsInitialized(
club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState.class, club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState.Builder.class);
}
// Construct using club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (modelRefBuilder_ == null) {
modelRef_ = null;
} else {
modelRef_ = null;
modelRefBuilder_ = null;
}
networkState_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.internal_static_status_cctv_CctvServerState_descriptor;
}
@java.lang.Override
public club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState getDefaultInstanceForType() {
return club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState.getDefaultInstance();
}
@java.lang.Override
public club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState build() {
club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState buildPartial() {
club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState result = new club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState(this);
if (modelRefBuilder_ == null) {
result.modelRef_ = modelRef_;
} else {
result.modelRef_ = modelRefBuilder_.build();
}
result.networkState_ = networkState_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState) {
return mergeFrom((club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState other) {
if (other == club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState.getDefaultInstance()) return this;
if (other.hasModelRef()) {
mergeModelRef(other.getModelRef());
}
if (other.networkState_ != 0) {
setNetworkStateValue(other.getNetworkStateValue());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef modelRef_;
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> modelRefBuilder_;
/**
* <pre>
*表示哪个模型的状态
*CctvServerModel
* </pre>
*
* <code>.model.ModelRef modelRef = 1;</code>
* @return Whether the modelRef field is set.
*/
public boolean hasModelRef() {
return modelRefBuilder_ != null || modelRef_ != null;
}
/**
* <pre>
*表示哪个模型的状态
*CctvServerModel
* </pre>
*
* <code>.model.ModelRef modelRef = 1;</code>
* @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();
}
}
/**
* <pre>
*表示哪个模型的状态
*CctvServerModel
* </pre>
*
* <code>.model.ModelRef modelRef = 1;</code>
*/
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;
}
/**
* <pre>
*表示哪个模型的状态
*CctvServerModel
* </pre>
*
* <code>.model.ModelRef modelRef = 1;</code>
*/
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;
}
/**
* <pre>
*表示哪个模型的状态
*CctvServerModel
* </pre>
*
* <code>.model.ModelRef modelRef = 1;</code>
*/
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;
}
/**
* <pre>
*表示哪个模型的状态
*CctvServerModel
* </pre>
*
* <code>.model.ModelRef modelRef = 1;</code>
*/
public Builder clearModelRef() {
if (modelRefBuilder_ == null) {
modelRef_ = null;
onChanged();
} else {
modelRef_ = null;
modelRefBuilder_ = null;
}
return this;
}
/**
* <pre>
*表示哪个模型的状态
*CctvServerModel
* </pre>
*
* <code>.model.ModelRef modelRef = 1;</code>
*/
public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder getModelRefBuilder() {
onChanged();
return getModelRefFieldBuilder().getBuilder();
}
/**
* <pre>
*表示哪个模型的状态
*CctvServerModel
* </pre>
*
* <code>.model.ModelRef modelRef = 1;</code>
*/
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_;
}
}
/**
* <pre>
*表示哪个模型的状态
*CctvServerModel
* </pre>
*
* <code>.model.ModelRef modelRef = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder>
getModelRefFieldBuilder() {
if (modelRefBuilder_ == null) {
modelRefBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder, club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder>(
getModelRef(),
getParentForChildren(),
isClean());
modelRef_ = null;
}
return modelRefBuilder_;
}
private int networkState_ = 0;
/**
* <pre>
*nms网络状态
* </pre>
*
* <code>.status.nms.NetworkState networkState = 2;</code>
* @return The enum numeric value on the wire for networkState.
*/
@java.lang.Override public int getNetworkStateValue() {
return networkState_;
}
/**
* <pre>
*nms网络状态
* </pre>
*
* <code>.status.nms.NetworkState networkState = 2;</code>
* @param value The enum numeric value on the wire for networkState to set.
* @return This builder for chaining.
*/
public Builder setNetworkStateValue(int value) {
networkState_ = value;
onChanged();
return this;
}
/**
* <pre>
*nms网络状态
* </pre>
*
* <code>.status.nms.NetworkState networkState = 2;</code>
* @return The networkState.
*/
@java.lang.Override
public club.joylink.rtss.iscs.proto.model.status.nms.NetworkStateProto.NetworkState getNetworkState() {
@SuppressWarnings("deprecation")
club.joylink.rtss.iscs.proto.model.status.nms.NetworkStateProto.NetworkState result = club.joylink.rtss.iscs.proto.model.status.nms.NetworkStateProto.NetworkState.valueOf(networkState_);
return result == null ? club.joylink.rtss.iscs.proto.model.status.nms.NetworkStateProto.NetworkState.UNRECOGNIZED : result;
}
/**
* <pre>
*nms网络状态
* </pre>
*
* <code>.status.nms.NetworkState networkState = 2;</code>
* @param value The networkState to set.
* @return This builder for chaining.
*/
public Builder setNetworkState(club.joylink.rtss.iscs.proto.model.status.nms.NetworkStateProto.NetworkState value) {
if (value == null) {
throw new NullPointerException();
}
networkState_ = value.getNumber();
onChanged();
return this;
}
/**
* <pre>
*nms网络状态
* </pre>
*
* <code>.status.nms.NetworkState networkState = 2;</code>
* @return This builder for chaining.
*/
public Builder clearNetworkState() {
networkState_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:status.cctv.CctvServerState)
}
// @@protoc_insertion_point(class_scope:status.cctv.CctvServerState)
private static final club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState();
}
public static club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<CctvServerState>
PARSER = new com.google.protobuf.AbstractParser<CctvServerState>() {
@java.lang.Override
public CctvServerState parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CctvServerState(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<CctvServerState> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<CctvServerState> getParserForType() {
return PARSER;
}
@java.lang.Override
public club.joylink.rtss.iscs.proto.model.status.cctv.CctvServerStateProto.CctvServerState getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_status_cctv_CctvServerState_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_status_cctv_CctvServerState_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n!status/cctv/CctvServerState.proto\022\013sta" +
"tus.cctv\032\025model/DataModel.proto\032\035status/" +
"nms/NetworkState.proto\"d\n\017CctvServerStat" +
"e\022!\n\010modelRef\030\001 \001(\0132\017.model.ModelRef\022.\n\014" +
"networkState\030\002 \001(\0162\030.status.nms.NetworkS" +
"tateBF\n.club.joylink.rtss.iscs.proto.mod" +
"el.status.cctvB\024CctvServerStateProtob\006pr" +
"oto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
club.joylink.rtss.iscs.proto.model.data.DataModelProto.getDescriptor(),
club.joylink.rtss.iscs.proto.model.status.nms.NetworkStateProto.getDescriptor(),
});
internal_static_status_cctv_CctvServerState_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_status_cctv_CctvServerState_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_status_cctv_CctvServerState_descriptor,
new java.lang.String[] { "ModelRef", "NetworkState", });
club.joylink.rtss.iscs.proto.model.data.DataModelProto.getDescriptor();
club.joylink.rtss.iscs.proto.model.status.nms.NetworkStateProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}