iscs v2
This commit is contained in:
parent
8e3aa9ebb2
commit
d1376b7ec2
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
@ -0,0 +1,950 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: status/bas/cool/CoolTowerState.proto
|
||||
|
||||
package club.joylink.rtss.iscs.proto.model.status.bas.cool;
|
||||
|
||||
public final class CoolTowerStateProto {
|
||||
private CoolTowerStateProto() {}
|
||||
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 CoolTowerStateOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:status.bas.cool.CoolTowerState)
|
||||
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.cool.CoolTowerState.State state = 2;</code>
|
||||
* @return The enum numeric value on the wire for state.
|
||||
*/
|
||||
int getStateValue();
|
||||
/**
|
||||
* <code>.status.bas.cool.CoolTowerState.State state = 2;</code>
|
||||
* @return The state.
|
||||
*/
|
||||
club.joylink.rtss.iscs.proto.model.status.bas.cool.CoolTowerStateProto.CoolTowerState.State getState();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*冷却塔
|
||||
* </pre>
|
||||
*
|
||||
* 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 {
|
||||
/**
|
||||
* <pre>
|
||||
*正常/运行
|
||||
* </pre>
|
||||
*
|
||||
* <code>NORMAL = 0;</code>
|
||||
*/
|
||||
NORMAL(0),
|
||||
/**
|
||||
* <pre>
|
||||
*停止
|
||||
* </pre>
|
||||
*
|
||||
* <code>STOP = 1;</code>
|
||||
*/
|
||||
STOP(1),
|
||||
/**
|
||||
* <pre>
|
||||
*故障
|
||||
* </pre>
|
||||
*
|
||||
* <code>FAULT = 2;</code>
|
||||
*/
|
||||
FAULT(2),
|
||||
/**
|
||||
* <pre>
|
||||
*通信中断
|
||||
* </pre>
|
||||
*
|
||||
* <code>OFFLINE = 3;</code>
|
||||
*/
|
||||
OFFLINE(3),
|
||||
UNRECOGNIZED(-1),
|
||||
;
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
*正常/运行
|
||||
* </pre>
|
||||
*
|
||||
* <code>NORMAL = 0;</code>
|
||||
*/
|
||||
public static final int NORMAL_VALUE = 0;
|
||||
/**
|
||||
* <pre>
|
||||
*停止
|
||||
* </pre>
|
||||
*
|
||||
* <code>STOP = 1;</code>
|
||||
*/
|
||||
public static final int STOP_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 NORMAL;
|
||||
case 1: return STOP;
|
||||
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.cool.CoolTowerStateProto.CoolTowerState.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.cool.CoolTowerState.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.cool.CoolTowerState.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.cool.CoolTowerState.State state = 2;</code>
|
||||
* @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;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*冷却塔
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code status.bas.cool.CoolTowerState}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:status.bas.cool.CoolTowerState)
|
||||
club.joylink.rtss.iscs.proto.model.status.bas.cool.CoolTowerStateProto.CoolTowerStateOrBuilder {
|
||||
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);
|
||||
}
|
||||
|
||||
// Construct using club.joylink.rtss.iscs.proto.model.status.bas.cool.CoolTowerStateProto.CoolTowerState.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.cool.CoolTowerStateProto.internal_static_status_bas_cool_CoolTowerState_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.bas.cool.CoolTowerStateProto.CoolTowerState getDefaultInstanceForType() {
|
||||
return club.joylink.rtss.iscs.proto.model.status.bas.cool.CoolTowerStateProto.CoolTowerState.getDefaultInstance();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.bas.cool.CoolTowerStateProto.CoolTowerState build() {
|
||||
club.joylink.rtss.iscs.proto.model.status.bas.cool.CoolTowerStateProto.CoolTowerState result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.bas.cool.CoolTowerStateProto.CoolTowerState buildPartial() {
|
||||
club.joylink.rtss.iscs.proto.model.status.bas.cool.CoolTowerStateProto.CoolTowerState result = new club.joylink.rtss.iscs.proto.model.status.bas.cool.CoolTowerStateProto.CoolTowerState(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.cool.CoolTowerStateProto.CoolTowerState) {
|
||||
return mergeFrom((club.joylink.rtss.iscs.proto.model.status.bas.cool.CoolTowerStateProto.CoolTowerState)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(club.joylink.rtss.iscs.proto.model.status.bas.cool.CoolTowerStateProto.CoolTowerState other) {
|
||||
if (other == club.joylink.rtss.iscs.proto.model.status.bas.cool.CoolTowerStateProto.CoolTowerState.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.cool.CoolTowerStateProto.CoolTowerState parsedMessage = null;
|
||||
try {
|
||||
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
parsedMessage = (club.joylink.rtss.iscs.proto.model.status.bas.cool.CoolTowerStateProto.CoolTowerState) 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.cool.CoolTowerState.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.cool.CoolTowerState.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.cool.CoolTowerState.State state = 2;</code>
|
||||
* @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;
|
||||
}
|
||||
/**
|
||||
* <code>.status.bas.cool.CoolTowerState.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.cool.CoolTowerStateProto.CoolTowerState.State value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
|
||||
state_ = value.getNumber();
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.status.bas.cool.CoolTowerState.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.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<CoolTowerState>
|
||||
PARSER = new com.google.protobuf.AbstractParser<CoolTowerState>() {
|
||||
@java.lang.Override
|
||||
public CoolTowerState parsePartialFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return new CoolTowerState(input, extensionRegistry);
|
||||
}
|
||||
};
|
||||
|
||||
public static com.google.protobuf.Parser<CoolTowerState> parser() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<CoolTowerState> getParserForType() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.bas.cool.CoolTowerStateProto.CoolTowerState getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_status_bas_cool_CoolTowerState_descriptor;
|
||||
private static final
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internal_static_status_bas_cool_CoolTowerState_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/cool/CoolTowerState.proto\022\017" +
|
||||
"status.bas.cool\032\025model/DataModel.proto\"\240" +
|
||||
"\001\n\016CoolTowerState\022!\n\010modelRef\030\001 \001(\0132\017.mo" +
|
||||
"del.ModelRef\0224\n\005state\030\002 \001(\0162%.status.bas" +
|
||||
".cool.CoolTowerState.State\"5\n\005State\022\n\n\006N" +
|
||||
"ORMAL\020\000\022\010\n\004STOP\020\001\022\t\n\005FAULT\020\002\022\013\n\007OFFLINE\020" +
|
||||
"\003BI\n2club.joylink.rtss.iscs.proto.model." +
|
||||
"status.bas.coolB\023CoolTowerStateProtob\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(),
|
||||
});
|
||||
internal_static_status_bas_cool_CoolTowerState_descriptor =
|
||||
getDescriptor().getMessageTypes().get(0);
|
||||
internal_static_status_bas_cool_CoolTowerState_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_status_bas_cool_CoolTowerState_descriptor,
|
||||
new java.lang.String[] { "ModelRef", "State", });
|
||||
club.joylink.rtss.iscs.proto.model.data.DataModelProto.getDescriptor();
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,968 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: status/bas/valve/CombinedAirValveState.proto
|
||||
|
||||
package club.joylink.rtss.iscs.proto.model.status.bas.valve;
|
||||
|
||||
public final class CombinedAirValveStateProto {
|
||||
private CombinedAirValveStateProto() {}
|
||||
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 CombinedAirValveStateOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:status.bas.valve.CombinedAirValveState)
|
||||
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.valve.CombinedAirValveState.State state = 2;</code>
|
||||
* @return The enum numeric value on the wire for state.
|
||||
*/
|
||||
int getStateValue();
|
||||
/**
|
||||
* <code>.status.bas.valve.CombinedAirValveState.State state = 2;</code>
|
||||
* @return The state.
|
||||
*/
|
||||
club.joylink.rtss.iscs.proto.model.status.bas.valve.CombinedAirValveStateProto.CombinedAirValveState.State getState();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*组合式风阀
|
||||
* </pre>
|
||||
*
|
||||
* 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 {
|
||||
/**
|
||||
* <pre>
|
||||
*关到位
|
||||
* </pre>
|
||||
*
|
||||
* <code>CLOSE_OVER = 0;</code>
|
||||
*/
|
||||
CLOSE_OVER(0),
|
||||
/**
|
||||
* <pre>
|
||||
*开到位
|
||||
* </pre>
|
||||
*
|
||||
* <code>OPENED_OVER = 1;</code>
|
||||
*/
|
||||
OPENED_OVER(1),
|
||||
/**
|
||||
* <pre>
|
||||
*动作
|
||||
* </pre>
|
||||
*
|
||||
* <code>CLOSE_OR_OPENING = 2;</code>
|
||||
*/
|
||||
CLOSE_OR_OPENING(2),
|
||||
/**
|
||||
* <pre>
|
||||
*故障
|
||||
* </pre>
|
||||
*
|
||||
* <code>FAULT = 3;</code>
|
||||
*/
|
||||
FAULT(3),
|
||||
/**
|
||||
* <pre>
|
||||
*通信中断
|
||||
* </pre>
|
||||
*
|
||||
* <code>OFFLINE = 4;</code>
|
||||
*/
|
||||
OFFLINE(4),
|
||||
UNRECOGNIZED(-1),
|
||||
;
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
*关到位
|
||||
* </pre>
|
||||
*
|
||||
* <code>CLOSE_OVER = 0;</code>
|
||||
*/
|
||||
public static final int CLOSE_OVER_VALUE = 0;
|
||||
/**
|
||||
* <pre>
|
||||
*开到位
|
||||
* </pre>
|
||||
*
|
||||
* <code>OPENED_OVER = 1;</code>
|
||||
*/
|
||||
public static final int OPENED_OVER_VALUE = 1;
|
||||
/**
|
||||
* <pre>
|
||||
*动作
|
||||
* </pre>
|
||||
*
|
||||
* <code>CLOSE_OR_OPENING = 2;</code>
|
||||
*/
|
||||
public static final int CLOSE_OR_OPENING_VALUE = 2;
|
||||
/**
|
||||
* <pre>
|
||||
*故障
|
||||
* </pre>
|
||||
*
|
||||
* <code>FAULT = 3;</code>
|
||||
*/
|
||||
public static final int FAULT_VALUE = 3;
|
||||
/**
|
||||
* <pre>
|
||||
*通信中断
|
||||
* </pre>
|
||||
*
|
||||
* <code>OFFLINE = 4;</code>
|
||||
*/
|
||||
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<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.valve.CombinedAirValveStateProto.CombinedAirValveState.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.valve.CombinedAirValveState.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.valve.CombinedAirValveState.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.valve.CombinedAirValveState.State state = 2;</code>
|
||||
* @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;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*组合式风阀
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code status.bas.valve.CombinedAirValveState}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:status.bas.valve.CombinedAirValveState)
|
||||
club.joylink.rtss.iscs.proto.model.status.bas.valve.CombinedAirValveStateProto.CombinedAirValveStateOrBuilder {
|
||||
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);
|
||||
}
|
||||
|
||||
// Construct using club.joylink.rtss.iscs.proto.model.status.bas.valve.CombinedAirValveStateProto.CombinedAirValveState.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.valve.CombinedAirValveStateProto.internal_static_status_bas_valve_CombinedAirValveState_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.bas.valve.CombinedAirValveStateProto.CombinedAirValveState getDefaultInstanceForType() {
|
||||
return club.joylink.rtss.iscs.proto.model.status.bas.valve.CombinedAirValveStateProto.CombinedAirValveState.getDefaultInstance();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.bas.valve.CombinedAirValveStateProto.CombinedAirValveState build() {
|
||||
club.joylink.rtss.iscs.proto.model.status.bas.valve.CombinedAirValveStateProto.CombinedAirValveState result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.bas.valve.CombinedAirValveStateProto.CombinedAirValveState buildPartial() {
|
||||
club.joylink.rtss.iscs.proto.model.status.bas.valve.CombinedAirValveStateProto.CombinedAirValveState result = new club.joylink.rtss.iscs.proto.model.status.bas.valve.CombinedAirValveStateProto.CombinedAirValveState(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.valve.CombinedAirValveStateProto.CombinedAirValveState) {
|
||||
return mergeFrom((club.joylink.rtss.iscs.proto.model.status.bas.valve.CombinedAirValveStateProto.CombinedAirValveState)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(club.joylink.rtss.iscs.proto.model.status.bas.valve.CombinedAirValveStateProto.CombinedAirValveState other) {
|
||||
if (other == club.joylink.rtss.iscs.proto.model.status.bas.valve.CombinedAirValveStateProto.CombinedAirValveState.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.valve.CombinedAirValveStateProto.CombinedAirValveState parsedMessage = null;
|
||||
try {
|
||||
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
parsedMessage = (club.joylink.rtss.iscs.proto.model.status.bas.valve.CombinedAirValveStateProto.CombinedAirValveState) 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.valve.CombinedAirValveState.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.valve.CombinedAirValveState.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.valve.CombinedAirValveState.State state = 2;</code>
|
||||
* @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;
|
||||
}
|
||||
/**
|
||||
* <code>.status.bas.valve.CombinedAirValveState.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.valve.CombinedAirValveStateProto.CombinedAirValveState.State value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
|
||||
state_ = value.getNumber();
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.status.bas.valve.CombinedAirValveState.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.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<CombinedAirValveState>
|
||||
PARSER = new com.google.protobuf.AbstractParser<CombinedAirValveState>() {
|
||||
@java.lang.Override
|
||||
public CombinedAirValveState parsePartialFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return new CombinedAirValveState(input, extensionRegistry);
|
||||
}
|
||||
};
|
||||
|
||||
public static com.google.protobuf.Parser<CombinedAirValveState> parser() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<CombinedAirValveState> getParserForType() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.bas.valve.CombinedAirValveStateProto.CombinedAirValveState getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_status_bas_valve_CombinedAirValveState_descriptor;
|
||||
private static final
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internal_static_status_bas_valve_CombinedAirValveState_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/valve/CombinedAirValveState" +
|
||||
".proto\022\020status.bas.valve\032\025model/DataMode" +
|
||||
"l.proto\"\320\001\n\025CombinedAirValveState\022!\n\010mod" +
|
||||
"elRef\030\001 \001(\0132\017.model.ModelRef\022<\n\005state\030\002 " +
|
||||
"\001(\0162-.status.bas.valve.CombinedAirValveS" +
|
||||
"tate.State\"V\n\005State\022\016\n\nCLOSE_OVER\020\000\022\017\n\013O" +
|
||||
"PENED_OVER\020\001\022\024\n\020CLOSE_OR_OPENING\020\002\022\t\n\005FA" +
|
||||
"ULT\020\003\022\013\n\007OFFLINE\020\004BQ\n3club.joylink.rtss." +
|
||||
"iscs.proto.model.status.bas.valveB\032Combi" +
|
||||
"nedAirValveStateProtob\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_valve_CombinedAirValveState_descriptor =
|
||||
getDescriptor().getMessageTypes().get(0);
|
||||
internal_static_status_bas_valve_CombinedAirValveState_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_status_bas_valve_CombinedAirValveState_descriptor,
|
||||
new java.lang.String[] { "ModelRef", "State", });
|
||||
club.joylink.rtss.iscs.proto.model.data.DataModelProto.getDescriptor();
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
}
|
Loading…
Reference in New Issue
Block a user