iscs v2
This commit is contained in:
parent
6632908b24
commit
11b070112e
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,750 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: model/power/LineCabinetModel.proto
|
||||
|
||||
package club.joylink.rtss.iscs.proto.model.data.power;
|
||||
|
||||
public final class LineCabinetModelProto {
|
||||
private LineCabinetModelProto() {}
|
||||
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 LineCabinetModelOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:model.power.LineCabinetModel)
|
||||
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>
|
||||
**
|
||||
* 线柜
|
||||
* 35kV进线柜、35kV出线柜、1500V直流进线柜、配电变馈线柜、整流变馈线柜、
|
||||
* 35kV母联柜、500V直流馈线柜、1500V直流馈线柜、1500V直流负极柜
|
||||
* 400V进线柜、400V母联柜、三级负荷总开关、上网隔离开关柜、接口柜
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code model.power.LineCabinetModel}
|
||||
*/
|
||||
public static final class LineCabinetModel extends
|
||||
com.google.protobuf.GeneratedMessageV3 implements
|
||||
// @@protoc_insertion_point(message_implements:model.power.LineCabinetModel)
|
||||
LineCabinetModelOrBuilder {
|
||||
private static final long serialVersionUID = 0L;
|
||||
// Use LineCabinetModel.newBuilder() to construct.
|
||||
private LineCabinetModel(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
||||
super(builder);
|
||||
}
|
||||
private LineCabinetModel() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@SuppressWarnings({"unused"})
|
||||
protected java.lang.Object newInstance(
|
||||
UnusedPrivateParameter unused) {
|
||||
return new LineCabinetModel();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public final com.google.protobuf.UnknownFieldSet
|
||||
getUnknownFields() {
|
||||
return this.unknownFields;
|
||||
}
|
||||
private LineCabinetModel(
|
||||
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.LineCabinetModelProto.internal_static_model_power_LineCabinetModel_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return club.joylink.rtss.iscs.proto.model.data.power.LineCabinetModelProto.internal_static_model_power_LineCabinetModel_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
club.joylink.rtss.iscs.proto.model.data.power.LineCabinetModelProto.LineCabinetModel.class, club.joylink.rtss.iscs.proto.model.data.power.LineCabinetModelProto.LineCabinetModel.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.LineCabinetModelProto.LineCabinetModel)) {
|
||||
return super.equals(obj);
|
||||
}
|
||||
club.joylink.rtss.iscs.proto.model.data.power.LineCabinetModelProto.LineCabinetModel other = (club.joylink.rtss.iscs.proto.model.data.power.LineCabinetModelProto.LineCabinetModel) 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.LineCabinetModelProto.LineCabinetModel parseFrom(
|
||||
java.nio.ByteBuffer data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static club.joylink.rtss.iscs.proto.model.data.power.LineCabinetModelProto.LineCabinetModel 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.LineCabinetModelProto.LineCabinetModel 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.LineCabinetModelProto.LineCabinetModel 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.LineCabinetModelProto.LineCabinetModel parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static club.joylink.rtss.iscs.proto.model.data.power.LineCabinetModelProto.LineCabinetModel 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.LineCabinetModelProto.LineCabinetModel 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.LineCabinetModelProto.LineCabinetModel 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.LineCabinetModelProto.LineCabinetModel 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.LineCabinetModelProto.LineCabinetModel 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.LineCabinetModelProto.LineCabinetModel 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.LineCabinetModelProto.LineCabinetModel 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.LineCabinetModelProto.LineCabinetModel 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>
|
||||
**
|
||||
* 线柜
|
||||
* 35kV进线柜、35kV出线柜、1500V直流进线柜、配电变馈线柜、整流变馈线柜、
|
||||
* 35kV母联柜、500V直流馈线柜、1500V直流馈线柜、1500V直流负极柜
|
||||
* 400V进线柜、400V母联柜、三级负荷总开关、上网隔离开关柜、接口柜
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code model.power.LineCabinetModel}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:model.power.LineCabinetModel)
|
||||
club.joylink.rtss.iscs.proto.model.data.power.LineCabinetModelProto.LineCabinetModelOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return club.joylink.rtss.iscs.proto.model.data.power.LineCabinetModelProto.internal_static_model_power_LineCabinetModel_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return club.joylink.rtss.iscs.proto.model.data.power.LineCabinetModelProto.internal_static_model_power_LineCabinetModel_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
club.joylink.rtss.iscs.proto.model.data.power.LineCabinetModelProto.LineCabinetModel.class, club.joylink.rtss.iscs.proto.model.data.power.LineCabinetModelProto.LineCabinetModel.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using club.joylink.rtss.iscs.proto.model.data.power.LineCabinetModelProto.LineCabinetModel.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.LineCabinetModelProto.internal_static_model_power_LineCabinetModel_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.data.power.LineCabinetModelProto.LineCabinetModel getDefaultInstanceForType() {
|
||||
return club.joylink.rtss.iscs.proto.model.data.power.LineCabinetModelProto.LineCabinetModel.getDefaultInstance();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.data.power.LineCabinetModelProto.LineCabinetModel build() {
|
||||
club.joylink.rtss.iscs.proto.model.data.power.LineCabinetModelProto.LineCabinetModel result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.data.power.LineCabinetModelProto.LineCabinetModel buildPartial() {
|
||||
club.joylink.rtss.iscs.proto.model.data.power.LineCabinetModelProto.LineCabinetModel result = new club.joylink.rtss.iscs.proto.model.data.power.LineCabinetModelProto.LineCabinetModel(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.LineCabinetModelProto.LineCabinetModel) {
|
||||
return mergeFrom((club.joylink.rtss.iscs.proto.model.data.power.LineCabinetModelProto.LineCabinetModel)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(club.joylink.rtss.iscs.proto.model.data.power.LineCabinetModelProto.LineCabinetModel other) {
|
||||
if (other == club.joylink.rtss.iscs.proto.model.data.power.LineCabinetModelProto.LineCabinetModel.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.LineCabinetModelProto.LineCabinetModel parsedMessage = null;
|
||||
try {
|
||||
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
parsedMessage = (club.joylink.rtss.iscs.proto.model.data.power.LineCabinetModelProto.LineCabinetModel) 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.LineCabinetModel)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:model.power.LineCabinetModel)
|
||||
private static final club.joylink.rtss.iscs.proto.model.data.power.LineCabinetModelProto.LineCabinetModel DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new club.joylink.rtss.iscs.proto.model.data.power.LineCabinetModelProto.LineCabinetModel();
|
||||
}
|
||||
|
||||
public static club.joylink.rtss.iscs.proto.model.data.power.LineCabinetModelProto.LineCabinetModel getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Parser<LineCabinetModel>
|
||||
PARSER = new com.google.protobuf.AbstractParser<LineCabinetModel>() {
|
||||
@java.lang.Override
|
||||
public LineCabinetModel parsePartialFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return new LineCabinetModel(input, extensionRegistry);
|
||||
}
|
||||
};
|
||||
|
||||
public static com.google.protobuf.Parser<LineCabinetModel> parser() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<LineCabinetModel> getParserForType() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.data.power.LineCabinetModelProto.LineCabinetModel getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_model_power_LineCabinetModel_descriptor;
|
||||
private static final
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internal_static_model_power_LineCabinetModel_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\"model/power/LineCabinetModel.proto\022\013mo" +
|
||||
"del.power\032\025model/DataModel.proto\"6\n\020Line" +
|
||||
"CabinetModel\022\"\n\010identity\030\001 \001(\0132\020.model.D" +
|
||||
"ataModelBF\n-club.joylink.rtss.iscs.proto" +
|
||||
".model.data.powerB\025LineCabinetModelProto" +
|
||||
"b\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_LineCabinetModel_descriptor =
|
||||
getDescriptor().getMessageTypes().get(0);
|
||||
internal_static_model_power_LineCabinetModel_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_model_power_LineCabinetModel_descriptor,
|
||||
new java.lang.String[] { "Identity", });
|
||||
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
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,935 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: model/power/VoltageSourceModel.proto
|
||||
|
||||
package club.joylink.rtss.iscs.proto.model.data.power;
|
||||
|
||||
public final class VoltageSourceModelProto {
|
||||
private VoltageSourceModelProto() {}
|
||||
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 VoltageSourceModelOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:model.power.VoltageSourceModel)
|
||||
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>
|
||||
*电压源电压,单位V
|
||||
* </pre>
|
||||
*
|
||||
* <code>int32 ratedVoltage = 2;</code>
|
||||
* @return The ratedVoltage.
|
||||
*/
|
||||
int getRatedVoltage();
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
*true - 交流电压源
|
||||
*false - 直流电压源
|
||||
* </pre>
|
||||
*
|
||||
* <code>bool ac = 3;</code>
|
||||
* @return The ac.
|
||||
*/
|
||||
boolean getAc();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
**
|
||||
* 电压源数据模型
|
||||
* <p>
|
||||
* 为隐藏设备,模拟国家电网来驱动用电系统电网
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code model.power.VoltageSourceModel}
|
||||
*/
|
||||
public static final class VoltageSourceModel extends
|
||||
com.google.protobuf.GeneratedMessageV3 implements
|
||||
// @@protoc_insertion_point(message_implements:model.power.VoltageSourceModel)
|
||||
VoltageSourceModelOrBuilder {
|
||||
private static final long serialVersionUID = 0L;
|
||||
// Use VoltageSourceModel.newBuilder() to construct.
|
||||
private VoltageSourceModel(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
||||
super(builder);
|
||||
}
|
||||
private VoltageSourceModel() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@SuppressWarnings({"unused"})
|
||||
protected java.lang.Object newInstance(
|
||||
UnusedPrivateParameter unused) {
|
||||
return new VoltageSourceModel();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public final com.google.protobuf.UnknownFieldSet
|
||||
getUnknownFields() {
|
||||
return this.unknownFields;
|
||||
}
|
||||
private VoltageSourceModel(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
this();
|
||||
if (extensionRegistry == null) {
|
||||
throw new java.lang.NullPointerException();
|
||||
}
|
||||
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
||||
com.google.protobuf.UnknownFieldSet.newBuilder();
|
||||
try {
|
||||
boolean done = false;
|
||||
while (!done) {
|
||||
int tag = input.readTag();
|
||||
switch (tag) {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 10: {
|
||||
club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.Builder subBuilder = null;
|
||||
if (identity_ != null) {
|
||||
subBuilder = identity_.toBuilder();
|
||||
}
|
||||
identity_ = input.readMessage(club.joylink.rtss.iscs.proto.model.data.DataModelProto.DataModel.parser(), extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(identity_);
|
||||
identity_ = subBuilder.buildPartial();
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
|
||||
ratedVoltage_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
|
||||
ac_ = input.readBool();
|
||||
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.VoltageSourceModelProto.internal_static_model_power_VoltageSourceModel_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return club.joylink.rtss.iscs.proto.model.data.power.VoltageSourceModelProto.internal_static_model_power_VoltageSourceModel_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
club.joylink.rtss.iscs.proto.model.data.power.VoltageSourceModelProto.VoltageSourceModel.class, club.joylink.rtss.iscs.proto.model.data.power.VoltageSourceModelProto.VoltageSourceModel.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();
|
||||
}
|
||||
|
||||
public static final int RATEDVOLTAGE_FIELD_NUMBER = 2;
|
||||
private int ratedVoltage_;
|
||||
/**
|
||||
* <pre>
|
||||
*电压源电压,单位V
|
||||
* </pre>
|
||||
*
|
||||
* <code>int32 ratedVoltage = 2;</code>
|
||||
* @return The ratedVoltage.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRatedVoltage() {
|
||||
return ratedVoltage_;
|
||||
}
|
||||
|
||||
public static final int AC_FIELD_NUMBER = 3;
|
||||
private boolean ac_;
|
||||
/**
|
||||
* <pre>
|
||||
*true - 交流电压源
|
||||
*false - 直流电压源
|
||||
* </pre>
|
||||
*
|
||||
* <code>bool ac = 3;</code>
|
||||
* @return The ac.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean getAc() {
|
||||
return ac_;
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
byte isInitialized = memoizedIsInitialized;
|
||||
if (isInitialized == 1) return true;
|
||||
if (isInitialized == 0) return false;
|
||||
|
||||
memoizedIsInitialized = 1;
|
||||
return true;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (identity_ != null) {
|
||||
output.writeMessage(1, getIdentity());
|
||||
}
|
||||
if (ratedVoltage_ != 0) {
|
||||
output.writeInt32(2, ratedVoltage_);
|
||||
}
|
||||
if (ac_ != false) {
|
||||
output.writeBool(3, ac_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int getSerializedSize() {
|
||||
int size = memoizedSize;
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (identity_ != null) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(1, getIdentity());
|
||||
}
|
||||
if (ratedVoltage_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32Size(2, ratedVoltage_);
|
||||
}
|
||||
if (ac_ != false) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeBoolSize(3, ac_);
|
||||
}
|
||||
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.VoltageSourceModelProto.VoltageSourceModel)) {
|
||||
return super.equals(obj);
|
||||
}
|
||||
club.joylink.rtss.iscs.proto.model.data.power.VoltageSourceModelProto.VoltageSourceModel other = (club.joylink.rtss.iscs.proto.model.data.power.VoltageSourceModelProto.VoltageSourceModel) obj;
|
||||
|
||||
if (hasIdentity() != other.hasIdentity()) return false;
|
||||
if (hasIdentity()) {
|
||||
if (!getIdentity()
|
||||
.equals(other.getIdentity())) return false;
|
||||
}
|
||||
if (getRatedVoltage()
|
||||
!= other.getRatedVoltage()) return false;
|
||||
if (getAc()
|
||||
!= other.getAc()) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int hashCode() {
|
||||
if (memoizedHashCode != 0) {
|
||||
return memoizedHashCode;
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
if (hasIdentity()) {
|
||||
hash = (37 * hash) + IDENTITY_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getIdentity().hashCode();
|
||||
}
|
||||
hash = (37 * hash) + RATEDVOLTAGE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getRatedVoltage();
|
||||
hash = (37 * hash) + AC_FIELD_NUMBER;
|
||||
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
|
||||
getAc());
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
}
|
||||
|
||||
public static club.joylink.rtss.iscs.proto.model.data.power.VoltageSourceModelProto.VoltageSourceModel parseFrom(
|
||||
java.nio.ByteBuffer data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static club.joylink.rtss.iscs.proto.model.data.power.VoltageSourceModelProto.VoltageSourceModel 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.VoltageSourceModelProto.VoltageSourceModel 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.VoltageSourceModelProto.VoltageSourceModel 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.VoltageSourceModelProto.VoltageSourceModel parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static club.joylink.rtss.iscs.proto.model.data.power.VoltageSourceModelProto.VoltageSourceModel 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.VoltageSourceModelProto.VoltageSourceModel 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.VoltageSourceModelProto.VoltageSourceModel 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.VoltageSourceModelProto.VoltageSourceModel 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.VoltageSourceModelProto.VoltageSourceModel 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.VoltageSourceModelProto.VoltageSourceModel 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.VoltageSourceModelProto.VoltageSourceModel 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.VoltageSourceModelProto.VoltageSourceModel 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>
|
||||
**
|
||||
* 电压源数据模型
|
||||
* <p>
|
||||
* 为隐藏设备,模拟国家电网来驱动用电系统电网
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code model.power.VoltageSourceModel}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:model.power.VoltageSourceModel)
|
||||
club.joylink.rtss.iscs.proto.model.data.power.VoltageSourceModelProto.VoltageSourceModelOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return club.joylink.rtss.iscs.proto.model.data.power.VoltageSourceModelProto.internal_static_model_power_VoltageSourceModel_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return club.joylink.rtss.iscs.proto.model.data.power.VoltageSourceModelProto.internal_static_model_power_VoltageSourceModel_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
club.joylink.rtss.iscs.proto.model.data.power.VoltageSourceModelProto.VoltageSourceModel.class, club.joylink.rtss.iscs.proto.model.data.power.VoltageSourceModelProto.VoltageSourceModel.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using club.joylink.rtss.iscs.proto.model.data.power.VoltageSourceModelProto.VoltageSourceModel.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;
|
||||
}
|
||||
ratedVoltage_ = 0;
|
||||
|
||||
ac_ = false;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return club.joylink.rtss.iscs.proto.model.data.power.VoltageSourceModelProto.internal_static_model_power_VoltageSourceModel_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.data.power.VoltageSourceModelProto.VoltageSourceModel getDefaultInstanceForType() {
|
||||
return club.joylink.rtss.iscs.proto.model.data.power.VoltageSourceModelProto.VoltageSourceModel.getDefaultInstance();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.data.power.VoltageSourceModelProto.VoltageSourceModel build() {
|
||||
club.joylink.rtss.iscs.proto.model.data.power.VoltageSourceModelProto.VoltageSourceModel result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.data.power.VoltageSourceModelProto.VoltageSourceModel buildPartial() {
|
||||
club.joylink.rtss.iscs.proto.model.data.power.VoltageSourceModelProto.VoltageSourceModel result = new club.joylink.rtss.iscs.proto.model.data.power.VoltageSourceModelProto.VoltageSourceModel(this);
|
||||
if (identityBuilder_ == null) {
|
||||
result.identity_ = identity_;
|
||||
} else {
|
||||
result.identity_ = identityBuilder_.build();
|
||||
}
|
||||
result.ratedVoltage_ = ratedVoltage_;
|
||||
result.ac_ = ac_;
|
||||
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.VoltageSourceModelProto.VoltageSourceModel) {
|
||||
return mergeFrom((club.joylink.rtss.iscs.proto.model.data.power.VoltageSourceModelProto.VoltageSourceModel)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(club.joylink.rtss.iscs.proto.model.data.power.VoltageSourceModelProto.VoltageSourceModel other) {
|
||||
if (other == club.joylink.rtss.iscs.proto.model.data.power.VoltageSourceModelProto.VoltageSourceModel.getDefaultInstance()) return this;
|
||||
if (other.hasIdentity()) {
|
||||
mergeIdentity(other.getIdentity());
|
||||
}
|
||||
if (other.getRatedVoltage() != 0) {
|
||||
setRatedVoltage(other.getRatedVoltage());
|
||||
}
|
||||
if (other.getAc() != false) {
|
||||
setAc(other.getAc());
|
||||
}
|
||||
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.VoltageSourceModelProto.VoltageSourceModel parsedMessage = null;
|
||||
try {
|
||||
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
parsedMessage = (club.joylink.rtss.iscs.proto.model.data.power.VoltageSourceModelProto.VoltageSourceModel) 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_;
|
||||
}
|
||||
|
||||
private int ratedVoltage_ ;
|
||||
/**
|
||||
* <pre>
|
||||
*电压源电压,单位V
|
||||
* </pre>
|
||||
*
|
||||
* <code>int32 ratedVoltage = 2;</code>
|
||||
* @return The ratedVoltage.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRatedVoltage() {
|
||||
return ratedVoltage_;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*电压源电压,单位V
|
||||
* </pre>
|
||||
*
|
||||
* <code>int32 ratedVoltage = 2;</code>
|
||||
* @param value The ratedVoltage to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setRatedVoltage(int value) {
|
||||
|
||||
ratedVoltage_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*电压源电压,单位V
|
||||
* </pre>
|
||||
*
|
||||
* <code>int32 ratedVoltage = 2;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearRatedVoltage() {
|
||||
|
||||
ratedVoltage_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private boolean ac_ ;
|
||||
/**
|
||||
* <pre>
|
||||
*true - 交流电压源
|
||||
*false - 直流电压源
|
||||
* </pre>
|
||||
*
|
||||
* <code>bool ac = 3;</code>
|
||||
* @return The ac.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean getAc() {
|
||||
return ac_;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*true - 交流电压源
|
||||
*false - 直流电压源
|
||||
* </pre>
|
||||
*
|
||||
* <code>bool ac = 3;</code>
|
||||
* @param value The ac to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setAc(boolean value) {
|
||||
|
||||
ac_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*true - 交流电压源
|
||||
*false - 直流电压源
|
||||
* </pre>
|
||||
*
|
||||
* <code>bool ac = 3;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearAc() {
|
||||
|
||||
ac_ = false;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@java.lang.Override
|
||||
public final Builder setUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
return super.setUnknownFields(unknownFields);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public final Builder mergeUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
return super.mergeUnknownFields(unknownFields);
|
||||
}
|
||||
|
||||
|
||||
// @@protoc_insertion_point(builder_scope:model.power.VoltageSourceModel)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:model.power.VoltageSourceModel)
|
||||
private static final club.joylink.rtss.iscs.proto.model.data.power.VoltageSourceModelProto.VoltageSourceModel DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new club.joylink.rtss.iscs.proto.model.data.power.VoltageSourceModelProto.VoltageSourceModel();
|
||||
}
|
||||
|
||||
public static club.joylink.rtss.iscs.proto.model.data.power.VoltageSourceModelProto.VoltageSourceModel getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Parser<VoltageSourceModel>
|
||||
PARSER = new com.google.protobuf.AbstractParser<VoltageSourceModel>() {
|
||||
@java.lang.Override
|
||||
public VoltageSourceModel parsePartialFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return new VoltageSourceModel(input, extensionRegistry);
|
||||
}
|
||||
};
|
||||
|
||||
public static com.google.protobuf.Parser<VoltageSourceModel> parser() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<VoltageSourceModel> getParserForType() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.data.power.VoltageSourceModelProto.VoltageSourceModel getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_model_power_VoltageSourceModel_descriptor;
|
||||
private static final
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internal_static_model_power_VoltageSourceModel_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$model/power/VoltageSourceModel.proto\022\013" +
|
||||
"model.power\032\025model/DataModel.proto\"Z\n\022Vo" +
|
||||
"ltageSourceModel\022\"\n\010identity\030\001 \001(\0132\020.mod" +
|
||||
"el.DataModel\022\024\n\014ratedVoltage\030\002 \001(\005\022\n\n\002ac" +
|
||||
"\030\003 \001(\010BH\n-club.joylink.rtss.iscs.proto.m" +
|
||||
"odel.data.powerB\027VoltageSourceModelProto" +
|
||||
"b\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_VoltageSourceModel_descriptor =
|
||||
getDescriptor().getMessageTypes().get(0);
|
||||
internal_static_model_power_VoltageSourceModel_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_model_power_VoltageSourceModel_descriptor,
|
||||
new java.lang.String[] { "Identity", "RatedVoltage", "Ac", });
|
||||
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
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
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
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,906 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: status/afc/EntranceGateState.proto
|
||||
|
||||
package club.joylink.rtss.iscs.proto.model.status.afc;
|
||||
|
||||
public final class EntranceGateStateProto {
|
||||
private EntranceGateStateProto() {}
|
||||
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 EntranceGateStateOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:status.afc.EntranceGateState)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*EntranceGateModel
|
||||
* </pre>
|
||||
*
|
||||
* <code>.model.ModelRef modelRef = 1;</code>
|
||||
* @return Whether the modelRef field is set.
|
||||
*/
|
||||
boolean hasModelRef();
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*EntranceGateModel
|
||||
* </pre>
|
||||
*
|
||||
* <code>.model.ModelRef modelRef = 1;</code>
|
||||
* @return The modelRef.
|
||||
*/
|
||||
club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getModelRef();
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*EntranceGateModel
|
||||
* </pre>
|
||||
*
|
||||
* <code>.model.ModelRef modelRef = 1;</code>
|
||||
*/
|
||||
club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getModelRefOrBuilder();
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
*闸机状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcGateState gateState = 2;</code>
|
||||
* @return The enum numeric value on the wire for gateState.
|
||||
*/
|
||||
int getGateStateValue();
|
||||
/**
|
||||
* <pre>
|
||||
*闸机状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcGateState gateState = 2;</code>
|
||||
* @return The gateState.
|
||||
*/
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.AfcGateStateProto.AfcGateState getGateState();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
**
|
||||
* 进闸机状态
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code status.afc.EntranceGateState}
|
||||
*/
|
||||
public static final class EntranceGateState extends
|
||||
com.google.protobuf.GeneratedMessageV3 implements
|
||||
// @@protoc_insertion_point(message_implements:status.afc.EntranceGateState)
|
||||
EntranceGateStateOrBuilder {
|
||||
private static final long serialVersionUID = 0L;
|
||||
// Use EntranceGateState.newBuilder() to construct.
|
||||
private EntranceGateState(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
||||
super(builder);
|
||||
}
|
||||
private EntranceGateState() {
|
||||
gateState_ = 0;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@SuppressWarnings({"unused"})
|
||||
protected java.lang.Object newInstance(
|
||||
UnusedPrivateParameter unused) {
|
||||
return new EntranceGateState();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public final com.google.protobuf.UnknownFieldSet
|
||||
getUnknownFields() {
|
||||
return this.unknownFields;
|
||||
}
|
||||
private EntranceGateState(
|
||||
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();
|
||||
|
||||
gateState_ = 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.afc.EntranceGateStateProto.internal_static_status_afc_EntranceGateState_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return club.joylink.rtss.iscs.proto.model.status.afc.EntranceGateStateProto.internal_static_status_afc_EntranceGateState_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.EntranceGateStateProto.EntranceGateState.class, club.joylink.rtss.iscs.proto.model.status.afc.EntranceGateStateProto.EntranceGateState.Builder.class);
|
||||
}
|
||||
|
||||
public static final int MODELREF_FIELD_NUMBER = 1;
|
||||
private club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef modelRef_;
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*EntranceGateModel
|
||||
* </pre>
|
||||
*
|
||||
* <code>.model.ModelRef modelRef = 1;</code>
|
||||
* @return Whether the modelRef field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasModelRef() {
|
||||
return modelRef_ != null;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*EntranceGateModel
|
||||
* </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>
|
||||
*表示哪个模型的状态
|
||||
*EntranceGateModel
|
||||
* </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 GATESTATE_FIELD_NUMBER = 2;
|
||||
private int gateState_;
|
||||
/**
|
||||
* <pre>
|
||||
*闸机状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcGateState gateState = 2;</code>
|
||||
* @return The enum numeric value on the wire for gateState.
|
||||
*/
|
||||
@java.lang.Override public int getGateStateValue() {
|
||||
return gateState_;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*闸机状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcGateState gateState = 2;</code>
|
||||
* @return The gateState.
|
||||
*/
|
||||
@java.lang.Override public club.joylink.rtss.iscs.proto.model.status.afc.AfcGateStateProto.AfcGateState getGateState() {
|
||||
@SuppressWarnings("deprecation")
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.AfcGateStateProto.AfcGateState result = club.joylink.rtss.iscs.proto.model.status.afc.AfcGateStateProto.AfcGateState.valueOf(gateState_);
|
||||
return result == null ? club.joylink.rtss.iscs.proto.model.status.afc.AfcGateStateProto.AfcGateState.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 (gateState_ != club.joylink.rtss.iscs.proto.model.status.afc.AfcGateStateProto.AfcGateState.Normal.getNumber()) {
|
||||
output.writeEnum(2, gateState_);
|
||||
}
|
||||
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 (gateState_ != club.joylink.rtss.iscs.proto.model.status.afc.AfcGateStateProto.AfcGateState.Normal.getNumber()) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeEnumSize(2, gateState_);
|
||||
}
|
||||
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.afc.EntranceGateStateProto.EntranceGateState)) {
|
||||
return super.equals(obj);
|
||||
}
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.EntranceGateStateProto.EntranceGateState other = (club.joylink.rtss.iscs.proto.model.status.afc.EntranceGateStateProto.EntranceGateState) obj;
|
||||
|
||||
if (hasModelRef() != other.hasModelRef()) return false;
|
||||
if (hasModelRef()) {
|
||||
if (!getModelRef()
|
||||
.equals(other.getModelRef())) return false;
|
||||
}
|
||||
if (gateState_ != other.gateState_) 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) + GATESTATE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + gateState_;
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
}
|
||||
|
||||
public static club.joylink.rtss.iscs.proto.model.status.afc.EntranceGateStateProto.EntranceGateState parseFrom(
|
||||
java.nio.ByteBuffer data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static club.joylink.rtss.iscs.proto.model.status.afc.EntranceGateStateProto.EntranceGateState 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.afc.EntranceGateStateProto.EntranceGateState parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static club.joylink.rtss.iscs.proto.model.status.afc.EntranceGateStateProto.EntranceGateState 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.afc.EntranceGateStateProto.EntranceGateState parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static club.joylink.rtss.iscs.proto.model.status.afc.EntranceGateStateProto.EntranceGateState 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.afc.EntranceGateStateProto.EntranceGateState 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.afc.EntranceGateStateProto.EntranceGateState 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.afc.EntranceGateStateProto.EntranceGateState 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.afc.EntranceGateStateProto.EntranceGateState 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.afc.EntranceGateStateProto.EntranceGateState 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.afc.EntranceGateStateProto.EntranceGateState 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.afc.EntranceGateStateProto.EntranceGateState 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.afc.EntranceGateState}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:status.afc.EntranceGateState)
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.EntranceGateStateProto.EntranceGateStateOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return club.joylink.rtss.iscs.proto.model.status.afc.EntranceGateStateProto.internal_static_status_afc_EntranceGateState_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return club.joylink.rtss.iscs.proto.model.status.afc.EntranceGateStateProto.internal_static_status_afc_EntranceGateState_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.EntranceGateStateProto.EntranceGateState.class, club.joylink.rtss.iscs.proto.model.status.afc.EntranceGateStateProto.EntranceGateState.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using club.joylink.rtss.iscs.proto.model.status.afc.EntranceGateStateProto.EntranceGateState.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;
|
||||
}
|
||||
gateState_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return club.joylink.rtss.iscs.proto.model.status.afc.EntranceGateStateProto.internal_static_status_afc_EntranceGateState_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.afc.EntranceGateStateProto.EntranceGateState getDefaultInstanceForType() {
|
||||
return club.joylink.rtss.iscs.proto.model.status.afc.EntranceGateStateProto.EntranceGateState.getDefaultInstance();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.afc.EntranceGateStateProto.EntranceGateState build() {
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.EntranceGateStateProto.EntranceGateState result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.afc.EntranceGateStateProto.EntranceGateState buildPartial() {
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.EntranceGateStateProto.EntranceGateState result = new club.joylink.rtss.iscs.proto.model.status.afc.EntranceGateStateProto.EntranceGateState(this);
|
||||
if (modelRefBuilder_ == null) {
|
||||
result.modelRef_ = modelRef_;
|
||||
} else {
|
||||
result.modelRef_ = modelRefBuilder_.build();
|
||||
}
|
||||
result.gateState_ = gateState_;
|
||||
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.afc.EntranceGateStateProto.EntranceGateState) {
|
||||
return mergeFrom((club.joylink.rtss.iscs.proto.model.status.afc.EntranceGateStateProto.EntranceGateState)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(club.joylink.rtss.iscs.proto.model.status.afc.EntranceGateStateProto.EntranceGateState other) {
|
||||
if (other == club.joylink.rtss.iscs.proto.model.status.afc.EntranceGateStateProto.EntranceGateState.getDefaultInstance()) return this;
|
||||
if (other.hasModelRef()) {
|
||||
mergeModelRef(other.getModelRef());
|
||||
}
|
||||
if (other.gateState_ != 0) {
|
||||
setGateStateValue(other.getGateStateValue());
|
||||
}
|
||||
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.afc.EntranceGateStateProto.EntranceGateState parsedMessage = null;
|
||||
try {
|
||||
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
parsedMessage = (club.joylink.rtss.iscs.proto.model.status.afc.EntranceGateStateProto.EntranceGateState) 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>
|
||||
*表示哪个模型的状态
|
||||
*EntranceGateModel
|
||||
* </pre>
|
||||
*
|
||||
* <code>.model.ModelRef modelRef = 1;</code>
|
||||
* @return Whether the modelRef field is set.
|
||||
*/
|
||||
public boolean hasModelRef() {
|
||||
return modelRefBuilder_ != null || modelRef_ != null;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*EntranceGateModel
|
||||
* </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>
|
||||
*表示哪个模型的状态
|
||||
*EntranceGateModel
|
||||
* </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>
|
||||
*表示哪个模型的状态
|
||||
*EntranceGateModel
|
||||
* </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>
|
||||
*表示哪个模型的状态
|
||||
*EntranceGateModel
|
||||
* </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>
|
||||
*表示哪个模型的状态
|
||||
*EntranceGateModel
|
||||
* </pre>
|
||||
*
|
||||
* <code>.model.ModelRef modelRef = 1;</code>
|
||||
*/
|
||||
public Builder clearModelRef() {
|
||||
if (modelRefBuilder_ == null) {
|
||||
modelRef_ = null;
|
||||
onChanged();
|
||||
} else {
|
||||
modelRef_ = null;
|
||||
modelRefBuilder_ = null;
|
||||
}
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*EntranceGateModel
|
||||
* </pre>
|
||||
*
|
||||
* <code>.model.ModelRef modelRef = 1;</code>
|
||||
*/
|
||||
public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder getModelRefBuilder() {
|
||||
|
||||
onChanged();
|
||||
return getModelRefFieldBuilder().getBuilder();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*EntranceGateModel
|
||||
* </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>
|
||||
*表示哪个模型的状态
|
||||
*EntranceGateModel
|
||||
* </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 gateState_ = 0;
|
||||
/**
|
||||
* <pre>
|
||||
*闸机状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcGateState gateState = 2;</code>
|
||||
* @return The enum numeric value on the wire for gateState.
|
||||
*/
|
||||
@java.lang.Override public int getGateStateValue() {
|
||||
return gateState_;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*闸机状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcGateState gateState = 2;</code>
|
||||
* @param value The enum numeric value on the wire for gateState to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setGateStateValue(int value) {
|
||||
|
||||
gateState_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*闸机状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcGateState gateState = 2;</code>
|
||||
* @return The gateState.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.afc.AfcGateStateProto.AfcGateState getGateState() {
|
||||
@SuppressWarnings("deprecation")
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.AfcGateStateProto.AfcGateState result = club.joylink.rtss.iscs.proto.model.status.afc.AfcGateStateProto.AfcGateState.valueOf(gateState_);
|
||||
return result == null ? club.joylink.rtss.iscs.proto.model.status.afc.AfcGateStateProto.AfcGateState.UNRECOGNIZED : result;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*闸机状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcGateState gateState = 2;</code>
|
||||
* @param value The gateState to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setGateState(club.joylink.rtss.iscs.proto.model.status.afc.AfcGateStateProto.AfcGateState value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
|
||||
gateState_ = value.getNumber();
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*闸机状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcGateState gateState = 2;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearGateState() {
|
||||
|
||||
gateState_ = 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.afc.EntranceGateState)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:status.afc.EntranceGateState)
|
||||
private static final club.joylink.rtss.iscs.proto.model.status.afc.EntranceGateStateProto.EntranceGateState DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new club.joylink.rtss.iscs.proto.model.status.afc.EntranceGateStateProto.EntranceGateState();
|
||||
}
|
||||
|
||||
public static club.joylink.rtss.iscs.proto.model.status.afc.EntranceGateStateProto.EntranceGateState getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Parser<EntranceGateState>
|
||||
PARSER = new com.google.protobuf.AbstractParser<EntranceGateState>() {
|
||||
@java.lang.Override
|
||||
public EntranceGateState parsePartialFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return new EntranceGateState(input, extensionRegistry);
|
||||
}
|
||||
};
|
||||
|
||||
public static com.google.protobuf.Parser<EntranceGateState> parser() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<EntranceGateState> getParserForType() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.afc.EntranceGateStateProto.EntranceGateState getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_status_afc_EntranceGateState_descriptor;
|
||||
private static final
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internal_static_status_afc_EntranceGateState_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/afc/EntranceGateState.proto\022\nst" +
|
||||
"atus.afc\032\025model/DataModel.proto\032\035status/" +
|
||||
"afc/AfcGateState.proto\"c\n\021EntranceGateSt" +
|
||||
"ate\022!\n\010modelRef\030\001 \001(\0132\017.model.ModelRef\022+" +
|
||||
"\n\tgateState\030\002 \001(\0162\030.status.afc.AfcGateSt" +
|
||||
"ateBG\n-club.joylink.rtss.iscs.proto.mode" +
|
||||
"l.status.afcB\026EntranceGateStateProtob\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.afc.AfcGateStateProto.getDescriptor(),
|
||||
});
|
||||
internal_static_status_afc_EntranceGateState_descriptor =
|
||||
getDescriptor().getMessageTypes().get(0);
|
||||
internal_static_status_afc_EntranceGateState_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_status_afc_EntranceGateState_descriptor,
|
||||
new java.lang.String[] { "ModelRef", "GateState", });
|
||||
club.joylink.rtss.iscs.proto.model.data.DataModelProto.getDescriptor();
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.AfcGateStateProto.getDescriptor();
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
}
|
@ -0,0 +1,905 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: status/afc/ExitGateState.proto
|
||||
|
||||
package club.joylink.rtss.iscs.proto.model.status.afc;
|
||||
|
||||
public final class ExitGateStateProto {
|
||||
private ExitGateStateProto() {}
|
||||
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 ExitGateStateOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:status.afc.ExitGateState)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*ExitGateModel
|
||||
* </pre>
|
||||
*
|
||||
* <code>.model.ModelRef modelRef = 1;</code>
|
||||
* @return Whether the modelRef field is set.
|
||||
*/
|
||||
boolean hasModelRef();
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*ExitGateModel
|
||||
* </pre>
|
||||
*
|
||||
* <code>.model.ModelRef modelRef = 1;</code>
|
||||
* @return The modelRef.
|
||||
*/
|
||||
club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getModelRef();
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*ExitGateModel
|
||||
* </pre>
|
||||
*
|
||||
* <code>.model.ModelRef modelRef = 1;</code>
|
||||
*/
|
||||
club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getModelRefOrBuilder();
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
*闸机状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcGateState gateState = 2;</code>
|
||||
* @return The enum numeric value on the wire for gateState.
|
||||
*/
|
||||
int getGateStateValue();
|
||||
/**
|
||||
* <pre>
|
||||
*闸机状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcGateState gateState = 2;</code>
|
||||
* @return The gateState.
|
||||
*/
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.AfcGateStateProto.AfcGateState getGateState();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
**
|
||||
* 出闸机状态
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code status.afc.ExitGateState}
|
||||
*/
|
||||
public static final class ExitGateState extends
|
||||
com.google.protobuf.GeneratedMessageV3 implements
|
||||
// @@protoc_insertion_point(message_implements:status.afc.ExitGateState)
|
||||
ExitGateStateOrBuilder {
|
||||
private static final long serialVersionUID = 0L;
|
||||
// Use ExitGateState.newBuilder() to construct.
|
||||
private ExitGateState(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
||||
super(builder);
|
||||
}
|
||||
private ExitGateState() {
|
||||
gateState_ = 0;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@SuppressWarnings({"unused"})
|
||||
protected java.lang.Object newInstance(
|
||||
UnusedPrivateParameter unused) {
|
||||
return new ExitGateState();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public final com.google.protobuf.UnknownFieldSet
|
||||
getUnknownFields() {
|
||||
return this.unknownFields;
|
||||
}
|
||||
private ExitGateState(
|
||||
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();
|
||||
|
||||
gateState_ = 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.afc.ExitGateStateProto.internal_static_status_afc_ExitGateState_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return club.joylink.rtss.iscs.proto.model.status.afc.ExitGateStateProto.internal_static_status_afc_ExitGateState_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.ExitGateStateProto.ExitGateState.class, club.joylink.rtss.iscs.proto.model.status.afc.ExitGateStateProto.ExitGateState.Builder.class);
|
||||
}
|
||||
|
||||
public static final int MODELREF_FIELD_NUMBER = 1;
|
||||
private club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef modelRef_;
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*ExitGateModel
|
||||
* </pre>
|
||||
*
|
||||
* <code>.model.ModelRef modelRef = 1;</code>
|
||||
* @return Whether the modelRef field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasModelRef() {
|
||||
return modelRef_ != null;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*ExitGateModel
|
||||
* </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>
|
||||
*表示哪个模型的状态
|
||||
*ExitGateModel
|
||||
* </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 GATESTATE_FIELD_NUMBER = 2;
|
||||
private int gateState_;
|
||||
/**
|
||||
* <pre>
|
||||
*闸机状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcGateState gateState = 2;</code>
|
||||
* @return The enum numeric value on the wire for gateState.
|
||||
*/
|
||||
@java.lang.Override public int getGateStateValue() {
|
||||
return gateState_;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*闸机状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcGateState gateState = 2;</code>
|
||||
* @return The gateState.
|
||||
*/
|
||||
@java.lang.Override public club.joylink.rtss.iscs.proto.model.status.afc.AfcGateStateProto.AfcGateState getGateState() {
|
||||
@SuppressWarnings("deprecation")
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.AfcGateStateProto.AfcGateState result = club.joylink.rtss.iscs.proto.model.status.afc.AfcGateStateProto.AfcGateState.valueOf(gateState_);
|
||||
return result == null ? club.joylink.rtss.iscs.proto.model.status.afc.AfcGateStateProto.AfcGateState.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 (gateState_ != club.joylink.rtss.iscs.proto.model.status.afc.AfcGateStateProto.AfcGateState.Normal.getNumber()) {
|
||||
output.writeEnum(2, gateState_);
|
||||
}
|
||||
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 (gateState_ != club.joylink.rtss.iscs.proto.model.status.afc.AfcGateStateProto.AfcGateState.Normal.getNumber()) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeEnumSize(2, gateState_);
|
||||
}
|
||||
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.afc.ExitGateStateProto.ExitGateState)) {
|
||||
return super.equals(obj);
|
||||
}
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.ExitGateStateProto.ExitGateState other = (club.joylink.rtss.iscs.proto.model.status.afc.ExitGateStateProto.ExitGateState) obj;
|
||||
|
||||
if (hasModelRef() != other.hasModelRef()) return false;
|
||||
if (hasModelRef()) {
|
||||
if (!getModelRef()
|
||||
.equals(other.getModelRef())) return false;
|
||||
}
|
||||
if (gateState_ != other.gateState_) 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) + GATESTATE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + gateState_;
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
}
|
||||
|
||||
public static club.joylink.rtss.iscs.proto.model.status.afc.ExitGateStateProto.ExitGateState parseFrom(
|
||||
java.nio.ByteBuffer data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static club.joylink.rtss.iscs.proto.model.status.afc.ExitGateStateProto.ExitGateState 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.afc.ExitGateStateProto.ExitGateState parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static club.joylink.rtss.iscs.proto.model.status.afc.ExitGateStateProto.ExitGateState 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.afc.ExitGateStateProto.ExitGateState parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static club.joylink.rtss.iscs.proto.model.status.afc.ExitGateStateProto.ExitGateState 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.afc.ExitGateStateProto.ExitGateState 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.afc.ExitGateStateProto.ExitGateState 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.afc.ExitGateStateProto.ExitGateState 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.afc.ExitGateStateProto.ExitGateState 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.afc.ExitGateStateProto.ExitGateState 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.afc.ExitGateStateProto.ExitGateState 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.afc.ExitGateStateProto.ExitGateState 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.afc.ExitGateState}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:status.afc.ExitGateState)
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.ExitGateStateProto.ExitGateStateOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return club.joylink.rtss.iscs.proto.model.status.afc.ExitGateStateProto.internal_static_status_afc_ExitGateState_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return club.joylink.rtss.iscs.proto.model.status.afc.ExitGateStateProto.internal_static_status_afc_ExitGateState_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.ExitGateStateProto.ExitGateState.class, club.joylink.rtss.iscs.proto.model.status.afc.ExitGateStateProto.ExitGateState.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using club.joylink.rtss.iscs.proto.model.status.afc.ExitGateStateProto.ExitGateState.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;
|
||||
}
|
||||
gateState_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return club.joylink.rtss.iscs.proto.model.status.afc.ExitGateStateProto.internal_static_status_afc_ExitGateState_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.afc.ExitGateStateProto.ExitGateState getDefaultInstanceForType() {
|
||||
return club.joylink.rtss.iscs.proto.model.status.afc.ExitGateStateProto.ExitGateState.getDefaultInstance();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.afc.ExitGateStateProto.ExitGateState build() {
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.ExitGateStateProto.ExitGateState result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.afc.ExitGateStateProto.ExitGateState buildPartial() {
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.ExitGateStateProto.ExitGateState result = new club.joylink.rtss.iscs.proto.model.status.afc.ExitGateStateProto.ExitGateState(this);
|
||||
if (modelRefBuilder_ == null) {
|
||||
result.modelRef_ = modelRef_;
|
||||
} else {
|
||||
result.modelRef_ = modelRefBuilder_.build();
|
||||
}
|
||||
result.gateState_ = gateState_;
|
||||
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.afc.ExitGateStateProto.ExitGateState) {
|
||||
return mergeFrom((club.joylink.rtss.iscs.proto.model.status.afc.ExitGateStateProto.ExitGateState)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(club.joylink.rtss.iscs.proto.model.status.afc.ExitGateStateProto.ExitGateState other) {
|
||||
if (other == club.joylink.rtss.iscs.proto.model.status.afc.ExitGateStateProto.ExitGateState.getDefaultInstance()) return this;
|
||||
if (other.hasModelRef()) {
|
||||
mergeModelRef(other.getModelRef());
|
||||
}
|
||||
if (other.gateState_ != 0) {
|
||||
setGateStateValue(other.getGateStateValue());
|
||||
}
|
||||
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.afc.ExitGateStateProto.ExitGateState parsedMessage = null;
|
||||
try {
|
||||
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
parsedMessage = (club.joylink.rtss.iscs.proto.model.status.afc.ExitGateStateProto.ExitGateState) 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>
|
||||
*表示哪个模型的状态
|
||||
*ExitGateModel
|
||||
* </pre>
|
||||
*
|
||||
* <code>.model.ModelRef modelRef = 1;</code>
|
||||
* @return Whether the modelRef field is set.
|
||||
*/
|
||||
public boolean hasModelRef() {
|
||||
return modelRefBuilder_ != null || modelRef_ != null;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*ExitGateModel
|
||||
* </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>
|
||||
*表示哪个模型的状态
|
||||
*ExitGateModel
|
||||
* </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>
|
||||
*表示哪个模型的状态
|
||||
*ExitGateModel
|
||||
* </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>
|
||||
*表示哪个模型的状态
|
||||
*ExitGateModel
|
||||
* </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>
|
||||
*表示哪个模型的状态
|
||||
*ExitGateModel
|
||||
* </pre>
|
||||
*
|
||||
* <code>.model.ModelRef modelRef = 1;</code>
|
||||
*/
|
||||
public Builder clearModelRef() {
|
||||
if (modelRefBuilder_ == null) {
|
||||
modelRef_ = null;
|
||||
onChanged();
|
||||
} else {
|
||||
modelRef_ = null;
|
||||
modelRefBuilder_ = null;
|
||||
}
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*ExitGateModel
|
||||
* </pre>
|
||||
*
|
||||
* <code>.model.ModelRef modelRef = 1;</code>
|
||||
*/
|
||||
public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder getModelRefBuilder() {
|
||||
|
||||
onChanged();
|
||||
return getModelRefFieldBuilder().getBuilder();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*ExitGateModel
|
||||
* </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>
|
||||
*表示哪个模型的状态
|
||||
*ExitGateModel
|
||||
* </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 gateState_ = 0;
|
||||
/**
|
||||
* <pre>
|
||||
*闸机状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcGateState gateState = 2;</code>
|
||||
* @return The enum numeric value on the wire for gateState.
|
||||
*/
|
||||
@java.lang.Override public int getGateStateValue() {
|
||||
return gateState_;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*闸机状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcGateState gateState = 2;</code>
|
||||
* @param value The enum numeric value on the wire for gateState to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setGateStateValue(int value) {
|
||||
|
||||
gateState_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*闸机状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcGateState gateState = 2;</code>
|
||||
* @return The gateState.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.afc.AfcGateStateProto.AfcGateState getGateState() {
|
||||
@SuppressWarnings("deprecation")
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.AfcGateStateProto.AfcGateState result = club.joylink.rtss.iscs.proto.model.status.afc.AfcGateStateProto.AfcGateState.valueOf(gateState_);
|
||||
return result == null ? club.joylink.rtss.iscs.proto.model.status.afc.AfcGateStateProto.AfcGateState.UNRECOGNIZED : result;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*闸机状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcGateState gateState = 2;</code>
|
||||
* @param value The gateState to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setGateState(club.joylink.rtss.iscs.proto.model.status.afc.AfcGateStateProto.AfcGateState value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
|
||||
gateState_ = value.getNumber();
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*闸机状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcGateState gateState = 2;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearGateState() {
|
||||
|
||||
gateState_ = 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.afc.ExitGateState)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:status.afc.ExitGateState)
|
||||
private static final club.joylink.rtss.iscs.proto.model.status.afc.ExitGateStateProto.ExitGateState DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new club.joylink.rtss.iscs.proto.model.status.afc.ExitGateStateProto.ExitGateState();
|
||||
}
|
||||
|
||||
public static club.joylink.rtss.iscs.proto.model.status.afc.ExitGateStateProto.ExitGateState getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Parser<ExitGateState>
|
||||
PARSER = new com.google.protobuf.AbstractParser<ExitGateState>() {
|
||||
@java.lang.Override
|
||||
public ExitGateState parsePartialFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return new ExitGateState(input, extensionRegistry);
|
||||
}
|
||||
};
|
||||
|
||||
public static com.google.protobuf.Parser<ExitGateState> parser() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<ExitGateState> getParserForType() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.afc.ExitGateStateProto.ExitGateState getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_status_afc_ExitGateState_descriptor;
|
||||
private static final
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internal_static_status_afc_ExitGateState_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\036status/afc/ExitGateState.proto\022\nstatus" +
|
||||
".afc\032\025model/DataModel.proto\032\035status/afc/" +
|
||||
"AfcGateState.proto\"_\n\rExitGateState\022!\n\010m" +
|
||||
"odelRef\030\001 \001(\0132\017.model.ModelRef\022+\n\tgateSt" +
|
||||
"ate\030\002 \001(\0162\030.status.afc.AfcGateStateBC\n-c" +
|
||||
"lub.joylink.rtss.iscs.proto.model.status" +
|
||||
".afcB\022ExitGateStateProtob\006proto3"
|
||||
};
|
||||
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.afc.AfcGateStateProto.getDescriptor(),
|
||||
});
|
||||
internal_static_status_afc_ExitGateState_descriptor =
|
||||
getDescriptor().getMessageTypes().get(0);
|
||||
internal_static_status_afc_ExitGateState_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_status_afc_ExitGateState_descriptor,
|
||||
new java.lang.String[] { "ModelRef", "GateState", });
|
||||
club.joylink.rtss.iscs.proto.model.data.DataModelProto.getDescriptor();
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.AfcGateStateProto.getDescriptor();
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
}
|
@ -0,0 +1,905 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: status/afc/HvmState.proto
|
||||
|
||||
package club.joylink.rtss.iscs.proto.model.status.afc;
|
||||
|
||||
public final class HvmStateProto {
|
||||
private HvmStateProto() {}
|
||||
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 HvmStateOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:status.afc.HvmState)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*HvmModel
|
||||
* </pre>
|
||||
*
|
||||
* <code>.model.ModelRef modelRef = 1;</code>
|
||||
* @return Whether the modelRef field is set.
|
||||
*/
|
||||
boolean hasModelRef();
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*HvmModel
|
||||
* </pre>
|
||||
*
|
||||
* <code>.model.ModelRef modelRef = 1;</code>
|
||||
* @return The modelRef.
|
||||
*/
|
||||
club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getModelRef();
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*HvmModel
|
||||
* </pre>
|
||||
*
|
||||
* <code>.model.ModelRef modelRef = 1;</code>
|
||||
*/
|
||||
club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getModelRefOrBuilder();
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
*设备状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcMachineState machineState = 2;</code>
|
||||
* @return The enum numeric value on the wire for machineState.
|
||||
*/
|
||||
int getMachineStateValue();
|
||||
/**
|
||||
* <pre>
|
||||
*设备状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcMachineState machineState = 2;</code>
|
||||
* @return The machineState.
|
||||
*/
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.AfcMachineStateProto.AfcMachineState getMachineState();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
**
|
||||
* 半自动售票机状态
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code status.afc.HvmState}
|
||||
*/
|
||||
public static final class HvmState extends
|
||||
com.google.protobuf.GeneratedMessageV3 implements
|
||||
// @@protoc_insertion_point(message_implements:status.afc.HvmState)
|
||||
HvmStateOrBuilder {
|
||||
private static final long serialVersionUID = 0L;
|
||||
// Use HvmState.newBuilder() to construct.
|
||||
private HvmState(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
||||
super(builder);
|
||||
}
|
||||
private HvmState() {
|
||||
machineState_ = 0;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@SuppressWarnings({"unused"})
|
||||
protected java.lang.Object newInstance(
|
||||
UnusedPrivateParameter unused) {
|
||||
return new HvmState();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public final com.google.protobuf.UnknownFieldSet
|
||||
getUnknownFields() {
|
||||
return this.unknownFields;
|
||||
}
|
||||
private HvmState(
|
||||
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();
|
||||
|
||||
machineState_ = 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.afc.HvmStateProto.internal_static_status_afc_HvmState_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return club.joylink.rtss.iscs.proto.model.status.afc.HvmStateProto.internal_static_status_afc_HvmState_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.HvmStateProto.HvmState.class, club.joylink.rtss.iscs.proto.model.status.afc.HvmStateProto.HvmState.Builder.class);
|
||||
}
|
||||
|
||||
public static final int MODELREF_FIELD_NUMBER = 1;
|
||||
private club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef modelRef_;
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*HvmModel
|
||||
* </pre>
|
||||
*
|
||||
* <code>.model.ModelRef modelRef = 1;</code>
|
||||
* @return Whether the modelRef field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasModelRef() {
|
||||
return modelRef_ != null;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*HvmModel
|
||||
* </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>
|
||||
*表示哪个模型的状态
|
||||
*HvmModel
|
||||
* </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 MACHINESTATE_FIELD_NUMBER = 2;
|
||||
private int machineState_;
|
||||
/**
|
||||
* <pre>
|
||||
*设备状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcMachineState machineState = 2;</code>
|
||||
* @return The enum numeric value on the wire for machineState.
|
||||
*/
|
||||
@java.lang.Override public int getMachineStateValue() {
|
||||
return machineState_;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*设备状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcMachineState machineState = 2;</code>
|
||||
* @return The machineState.
|
||||
*/
|
||||
@java.lang.Override public club.joylink.rtss.iscs.proto.model.status.afc.AfcMachineStateProto.AfcMachineState getMachineState() {
|
||||
@SuppressWarnings("deprecation")
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.AfcMachineStateProto.AfcMachineState result = club.joylink.rtss.iscs.proto.model.status.afc.AfcMachineStateProto.AfcMachineState.valueOf(machineState_);
|
||||
return result == null ? club.joylink.rtss.iscs.proto.model.status.afc.AfcMachineStateProto.AfcMachineState.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 (machineState_ != club.joylink.rtss.iscs.proto.model.status.afc.AfcMachineStateProto.AfcMachineState.Normal.getNumber()) {
|
||||
output.writeEnum(2, machineState_);
|
||||
}
|
||||
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 (machineState_ != club.joylink.rtss.iscs.proto.model.status.afc.AfcMachineStateProto.AfcMachineState.Normal.getNumber()) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeEnumSize(2, machineState_);
|
||||
}
|
||||
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.afc.HvmStateProto.HvmState)) {
|
||||
return super.equals(obj);
|
||||
}
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.HvmStateProto.HvmState other = (club.joylink.rtss.iscs.proto.model.status.afc.HvmStateProto.HvmState) obj;
|
||||
|
||||
if (hasModelRef() != other.hasModelRef()) return false;
|
||||
if (hasModelRef()) {
|
||||
if (!getModelRef()
|
||||
.equals(other.getModelRef())) return false;
|
||||
}
|
||||
if (machineState_ != other.machineState_) 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) + MACHINESTATE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + machineState_;
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
}
|
||||
|
||||
public static club.joylink.rtss.iscs.proto.model.status.afc.HvmStateProto.HvmState parseFrom(
|
||||
java.nio.ByteBuffer data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static club.joylink.rtss.iscs.proto.model.status.afc.HvmStateProto.HvmState 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.afc.HvmStateProto.HvmState parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static club.joylink.rtss.iscs.proto.model.status.afc.HvmStateProto.HvmState 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.afc.HvmStateProto.HvmState parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static club.joylink.rtss.iscs.proto.model.status.afc.HvmStateProto.HvmState 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.afc.HvmStateProto.HvmState 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.afc.HvmStateProto.HvmState 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.afc.HvmStateProto.HvmState 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.afc.HvmStateProto.HvmState 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.afc.HvmStateProto.HvmState 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.afc.HvmStateProto.HvmState 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.afc.HvmStateProto.HvmState 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.afc.HvmState}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:status.afc.HvmState)
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.HvmStateProto.HvmStateOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return club.joylink.rtss.iscs.proto.model.status.afc.HvmStateProto.internal_static_status_afc_HvmState_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return club.joylink.rtss.iscs.proto.model.status.afc.HvmStateProto.internal_static_status_afc_HvmState_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.HvmStateProto.HvmState.class, club.joylink.rtss.iscs.proto.model.status.afc.HvmStateProto.HvmState.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using club.joylink.rtss.iscs.proto.model.status.afc.HvmStateProto.HvmState.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;
|
||||
}
|
||||
machineState_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return club.joylink.rtss.iscs.proto.model.status.afc.HvmStateProto.internal_static_status_afc_HvmState_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.afc.HvmStateProto.HvmState getDefaultInstanceForType() {
|
||||
return club.joylink.rtss.iscs.proto.model.status.afc.HvmStateProto.HvmState.getDefaultInstance();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.afc.HvmStateProto.HvmState build() {
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.HvmStateProto.HvmState result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.afc.HvmStateProto.HvmState buildPartial() {
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.HvmStateProto.HvmState result = new club.joylink.rtss.iscs.proto.model.status.afc.HvmStateProto.HvmState(this);
|
||||
if (modelRefBuilder_ == null) {
|
||||
result.modelRef_ = modelRef_;
|
||||
} else {
|
||||
result.modelRef_ = modelRefBuilder_.build();
|
||||
}
|
||||
result.machineState_ = machineState_;
|
||||
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.afc.HvmStateProto.HvmState) {
|
||||
return mergeFrom((club.joylink.rtss.iscs.proto.model.status.afc.HvmStateProto.HvmState)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(club.joylink.rtss.iscs.proto.model.status.afc.HvmStateProto.HvmState other) {
|
||||
if (other == club.joylink.rtss.iscs.proto.model.status.afc.HvmStateProto.HvmState.getDefaultInstance()) return this;
|
||||
if (other.hasModelRef()) {
|
||||
mergeModelRef(other.getModelRef());
|
||||
}
|
||||
if (other.machineState_ != 0) {
|
||||
setMachineStateValue(other.getMachineStateValue());
|
||||
}
|
||||
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.afc.HvmStateProto.HvmState parsedMessage = null;
|
||||
try {
|
||||
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
parsedMessage = (club.joylink.rtss.iscs.proto.model.status.afc.HvmStateProto.HvmState) 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>
|
||||
*表示哪个模型的状态
|
||||
*HvmModel
|
||||
* </pre>
|
||||
*
|
||||
* <code>.model.ModelRef modelRef = 1;</code>
|
||||
* @return Whether the modelRef field is set.
|
||||
*/
|
||||
public boolean hasModelRef() {
|
||||
return modelRefBuilder_ != null || modelRef_ != null;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*HvmModel
|
||||
* </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>
|
||||
*表示哪个模型的状态
|
||||
*HvmModel
|
||||
* </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>
|
||||
*表示哪个模型的状态
|
||||
*HvmModel
|
||||
* </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>
|
||||
*表示哪个模型的状态
|
||||
*HvmModel
|
||||
* </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>
|
||||
*表示哪个模型的状态
|
||||
*HvmModel
|
||||
* </pre>
|
||||
*
|
||||
* <code>.model.ModelRef modelRef = 1;</code>
|
||||
*/
|
||||
public Builder clearModelRef() {
|
||||
if (modelRefBuilder_ == null) {
|
||||
modelRef_ = null;
|
||||
onChanged();
|
||||
} else {
|
||||
modelRef_ = null;
|
||||
modelRefBuilder_ = null;
|
||||
}
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*HvmModel
|
||||
* </pre>
|
||||
*
|
||||
* <code>.model.ModelRef modelRef = 1;</code>
|
||||
*/
|
||||
public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder getModelRefBuilder() {
|
||||
|
||||
onChanged();
|
||||
return getModelRefFieldBuilder().getBuilder();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*HvmModel
|
||||
* </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>
|
||||
*表示哪个模型的状态
|
||||
*HvmModel
|
||||
* </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 machineState_ = 0;
|
||||
/**
|
||||
* <pre>
|
||||
*设备状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcMachineState machineState = 2;</code>
|
||||
* @return The enum numeric value on the wire for machineState.
|
||||
*/
|
||||
@java.lang.Override public int getMachineStateValue() {
|
||||
return machineState_;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*设备状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcMachineState machineState = 2;</code>
|
||||
* @param value The enum numeric value on the wire for machineState to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setMachineStateValue(int value) {
|
||||
|
||||
machineState_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*设备状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcMachineState machineState = 2;</code>
|
||||
* @return The machineState.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.afc.AfcMachineStateProto.AfcMachineState getMachineState() {
|
||||
@SuppressWarnings("deprecation")
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.AfcMachineStateProto.AfcMachineState result = club.joylink.rtss.iscs.proto.model.status.afc.AfcMachineStateProto.AfcMachineState.valueOf(machineState_);
|
||||
return result == null ? club.joylink.rtss.iscs.proto.model.status.afc.AfcMachineStateProto.AfcMachineState.UNRECOGNIZED : result;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*设备状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcMachineState machineState = 2;</code>
|
||||
* @param value The machineState to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setMachineState(club.joylink.rtss.iscs.proto.model.status.afc.AfcMachineStateProto.AfcMachineState value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
|
||||
machineState_ = value.getNumber();
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*设备状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcMachineState machineState = 2;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearMachineState() {
|
||||
|
||||
machineState_ = 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.afc.HvmState)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:status.afc.HvmState)
|
||||
private static final club.joylink.rtss.iscs.proto.model.status.afc.HvmStateProto.HvmState DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new club.joylink.rtss.iscs.proto.model.status.afc.HvmStateProto.HvmState();
|
||||
}
|
||||
|
||||
public static club.joylink.rtss.iscs.proto.model.status.afc.HvmStateProto.HvmState getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Parser<HvmState>
|
||||
PARSER = new com.google.protobuf.AbstractParser<HvmState>() {
|
||||
@java.lang.Override
|
||||
public HvmState parsePartialFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return new HvmState(input, extensionRegistry);
|
||||
}
|
||||
};
|
||||
|
||||
public static com.google.protobuf.Parser<HvmState> parser() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<HvmState> getParserForType() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.afc.HvmStateProto.HvmState getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_status_afc_HvmState_descriptor;
|
||||
private static final
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internal_static_status_afc_HvmState_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\031status/afc/HvmState.proto\022\nstatus.afc\032" +
|
||||
"\025model/DataModel.proto\032 status/afc/AfcMa" +
|
||||
"chineState.proto\"`\n\010HvmState\022!\n\010modelRef" +
|
||||
"\030\001 \001(\0132\017.model.ModelRef\0221\n\014machineState\030" +
|
||||
"\002 \001(\0162\033.status.afc.AfcMachineStateB>\n-cl" +
|
||||
"ub.joylink.rtss.iscs.proto.model.status." +
|
||||
"afcB\rHvmStateProtob\006proto3"
|
||||
};
|
||||
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.afc.AfcMachineStateProto.getDescriptor(),
|
||||
});
|
||||
internal_static_status_afc_HvmState_descriptor =
|
||||
getDescriptor().getMessageTypes().get(0);
|
||||
internal_static_status_afc_HvmState_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_status_afc_HvmState_descriptor,
|
||||
new java.lang.String[] { "ModelRef", "MachineState", });
|
||||
club.joylink.rtss.iscs.proto.model.data.DataModelProto.getDescriptor();
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.AfcMachineStateProto.getDescriptor();
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
}
|
@ -0,0 +1,905 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: status/afc/TcmState.proto
|
||||
|
||||
package club.joylink.rtss.iscs.proto.model.status.afc;
|
||||
|
||||
public final class TcmStateProto {
|
||||
private TcmStateProto() {}
|
||||
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 TcmStateOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:status.afc.TcmState)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*TcmModel
|
||||
* </pre>
|
||||
*
|
||||
* <code>.model.ModelRef modelRef = 1;</code>
|
||||
* @return Whether the modelRef field is set.
|
||||
*/
|
||||
boolean hasModelRef();
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*TcmModel
|
||||
* </pre>
|
||||
*
|
||||
* <code>.model.ModelRef modelRef = 1;</code>
|
||||
* @return The modelRef.
|
||||
*/
|
||||
club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getModelRef();
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*TcmModel
|
||||
* </pre>
|
||||
*
|
||||
* <code>.model.ModelRef modelRef = 1;</code>
|
||||
*/
|
||||
club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getModelRefOrBuilder();
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
*设备状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcMachineState machineState = 2;</code>
|
||||
* @return The enum numeric value on the wire for machineState.
|
||||
*/
|
||||
int getMachineStateValue();
|
||||
/**
|
||||
* <pre>
|
||||
*设备状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcMachineState machineState = 2;</code>
|
||||
* @return The machineState.
|
||||
*/
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.AfcMachineStateProto.AfcMachineState getMachineState();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
**
|
||||
* 验票机状态
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code status.afc.TcmState}
|
||||
*/
|
||||
public static final class TcmState extends
|
||||
com.google.protobuf.GeneratedMessageV3 implements
|
||||
// @@protoc_insertion_point(message_implements:status.afc.TcmState)
|
||||
TcmStateOrBuilder {
|
||||
private static final long serialVersionUID = 0L;
|
||||
// Use TcmState.newBuilder() to construct.
|
||||
private TcmState(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
||||
super(builder);
|
||||
}
|
||||
private TcmState() {
|
||||
machineState_ = 0;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@SuppressWarnings({"unused"})
|
||||
protected java.lang.Object newInstance(
|
||||
UnusedPrivateParameter unused) {
|
||||
return new TcmState();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public final com.google.protobuf.UnknownFieldSet
|
||||
getUnknownFields() {
|
||||
return this.unknownFields;
|
||||
}
|
||||
private TcmState(
|
||||
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();
|
||||
|
||||
machineState_ = 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.afc.TcmStateProto.internal_static_status_afc_TcmState_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return club.joylink.rtss.iscs.proto.model.status.afc.TcmStateProto.internal_static_status_afc_TcmState_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.TcmStateProto.TcmState.class, club.joylink.rtss.iscs.proto.model.status.afc.TcmStateProto.TcmState.Builder.class);
|
||||
}
|
||||
|
||||
public static final int MODELREF_FIELD_NUMBER = 1;
|
||||
private club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef modelRef_;
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*TcmModel
|
||||
* </pre>
|
||||
*
|
||||
* <code>.model.ModelRef modelRef = 1;</code>
|
||||
* @return Whether the modelRef field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasModelRef() {
|
||||
return modelRef_ != null;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*TcmModel
|
||||
* </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>
|
||||
*表示哪个模型的状态
|
||||
*TcmModel
|
||||
* </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 MACHINESTATE_FIELD_NUMBER = 2;
|
||||
private int machineState_;
|
||||
/**
|
||||
* <pre>
|
||||
*设备状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcMachineState machineState = 2;</code>
|
||||
* @return The enum numeric value on the wire for machineState.
|
||||
*/
|
||||
@java.lang.Override public int getMachineStateValue() {
|
||||
return machineState_;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*设备状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcMachineState machineState = 2;</code>
|
||||
* @return The machineState.
|
||||
*/
|
||||
@java.lang.Override public club.joylink.rtss.iscs.proto.model.status.afc.AfcMachineStateProto.AfcMachineState getMachineState() {
|
||||
@SuppressWarnings("deprecation")
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.AfcMachineStateProto.AfcMachineState result = club.joylink.rtss.iscs.proto.model.status.afc.AfcMachineStateProto.AfcMachineState.valueOf(machineState_);
|
||||
return result == null ? club.joylink.rtss.iscs.proto.model.status.afc.AfcMachineStateProto.AfcMachineState.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 (machineState_ != club.joylink.rtss.iscs.proto.model.status.afc.AfcMachineStateProto.AfcMachineState.Normal.getNumber()) {
|
||||
output.writeEnum(2, machineState_);
|
||||
}
|
||||
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 (machineState_ != club.joylink.rtss.iscs.proto.model.status.afc.AfcMachineStateProto.AfcMachineState.Normal.getNumber()) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeEnumSize(2, machineState_);
|
||||
}
|
||||
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.afc.TcmStateProto.TcmState)) {
|
||||
return super.equals(obj);
|
||||
}
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.TcmStateProto.TcmState other = (club.joylink.rtss.iscs.proto.model.status.afc.TcmStateProto.TcmState) obj;
|
||||
|
||||
if (hasModelRef() != other.hasModelRef()) return false;
|
||||
if (hasModelRef()) {
|
||||
if (!getModelRef()
|
||||
.equals(other.getModelRef())) return false;
|
||||
}
|
||||
if (machineState_ != other.machineState_) 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) + MACHINESTATE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + machineState_;
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
}
|
||||
|
||||
public static club.joylink.rtss.iscs.proto.model.status.afc.TcmStateProto.TcmState parseFrom(
|
||||
java.nio.ByteBuffer data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static club.joylink.rtss.iscs.proto.model.status.afc.TcmStateProto.TcmState 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.afc.TcmStateProto.TcmState parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static club.joylink.rtss.iscs.proto.model.status.afc.TcmStateProto.TcmState 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.afc.TcmStateProto.TcmState parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static club.joylink.rtss.iscs.proto.model.status.afc.TcmStateProto.TcmState 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.afc.TcmStateProto.TcmState 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.afc.TcmStateProto.TcmState 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.afc.TcmStateProto.TcmState 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.afc.TcmStateProto.TcmState 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.afc.TcmStateProto.TcmState 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.afc.TcmStateProto.TcmState 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.afc.TcmStateProto.TcmState 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.afc.TcmState}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:status.afc.TcmState)
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.TcmStateProto.TcmStateOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return club.joylink.rtss.iscs.proto.model.status.afc.TcmStateProto.internal_static_status_afc_TcmState_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return club.joylink.rtss.iscs.proto.model.status.afc.TcmStateProto.internal_static_status_afc_TcmState_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.TcmStateProto.TcmState.class, club.joylink.rtss.iscs.proto.model.status.afc.TcmStateProto.TcmState.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using club.joylink.rtss.iscs.proto.model.status.afc.TcmStateProto.TcmState.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;
|
||||
}
|
||||
machineState_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return club.joylink.rtss.iscs.proto.model.status.afc.TcmStateProto.internal_static_status_afc_TcmState_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.afc.TcmStateProto.TcmState getDefaultInstanceForType() {
|
||||
return club.joylink.rtss.iscs.proto.model.status.afc.TcmStateProto.TcmState.getDefaultInstance();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.afc.TcmStateProto.TcmState build() {
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.TcmStateProto.TcmState result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.afc.TcmStateProto.TcmState buildPartial() {
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.TcmStateProto.TcmState result = new club.joylink.rtss.iscs.proto.model.status.afc.TcmStateProto.TcmState(this);
|
||||
if (modelRefBuilder_ == null) {
|
||||
result.modelRef_ = modelRef_;
|
||||
} else {
|
||||
result.modelRef_ = modelRefBuilder_.build();
|
||||
}
|
||||
result.machineState_ = machineState_;
|
||||
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.afc.TcmStateProto.TcmState) {
|
||||
return mergeFrom((club.joylink.rtss.iscs.proto.model.status.afc.TcmStateProto.TcmState)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(club.joylink.rtss.iscs.proto.model.status.afc.TcmStateProto.TcmState other) {
|
||||
if (other == club.joylink.rtss.iscs.proto.model.status.afc.TcmStateProto.TcmState.getDefaultInstance()) return this;
|
||||
if (other.hasModelRef()) {
|
||||
mergeModelRef(other.getModelRef());
|
||||
}
|
||||
if (other.machineState_ != 0) {
|
||||
setMachineStateValue(other.getMachineStateValue());
|
||||
}
|
||||
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.afc.TcmStateProto.TcmState parsedMessage = null;
|
||||
try {
|
||||
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
parsedMessage = (club.joylink.rtss.iscs.proto.model.status.afc.TcmStateProto.TcmState) 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>
|
||||
*表示哪个模型的状态
|
||||
*TcmModel
|
||||
* </pre>
|
||||
*
|
||||
* <code>.model.ModelRef modelRef = 1;</code>
|
||||
* @return Whether the modelRef field is set.
|
||||
*/
|
||||
public boolean hasModelRef() {
|
||||
return modelRefBuilder_ != null || modelRef_ != null;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*TcmModel
|
||||
* </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>
|
||||
*表示哪个模型的状态
|
||||
*TcmModel
|
||||
* </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>
|
||||
*表示哪个模型的状态
|
||||
*TcmModel
|
||||
* </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>
|
||||
*表示哪个模型的状态
|
||||
*TcmModel
|
||||
* </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>
|
||||
*表示哪个模型的状态
|
||||
*TcmModel
|
||||
* </pre>
|
||||
*
|
||||
* <code>.model.ModelRef modelRef = 1;</code>
|
||||
*/
|
||||
public Builder clearModelRef() {
|
||||
if (modelRefBuilder_ == null) {
|
||||
modelRef_ = null;
|
||||
onChanged();
|
||||
} else {
|
||||
modelRef_ = null;
|
||||
modelRefBuilder_ = null;
|
||||
}
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*TcmModel
|
||||
* </pre>
|
||||
*
|
||||
* <code>.model.ModelRef modelRef = 1;</code>
|
||||
*/
|
||||
public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder getModelRefBuilder() {
|
||||
|
||||
onChanged();
|
||||
return getModelRefFieldBuilder().getBuilder();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*TcmModel
|
||||
* </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>
|
||||
*表示哪个模型的状态
|
||||
*TcmModel
|
||||
* </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 machineState_ = 0;
|
||||
/**
|
||||
* <pre>
|
||||
*设备状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcMachineState machineState = 2;</code>
|
||||
* @return The enum numeric value on the wire for machineState.
|
||||
*/
|
||||
@java.lang.Override public int getMachineStateValue() {
|
||||
return machineState_;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*设备状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcMachineState machineState = 2;</code>
|
||||
* @param value The enum numeric value on the wire for machineState to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setMachineStateValue(int value) {
|
||||
|
||||
machineState_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*设备状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcMachineState machineState = 2;</code>
|
||||
* @return The machineState.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.afc.AfcMachineStateProto.AfcMachineState getMachineState() {
|
||||
@SuppressWarnings("deprecation")
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.AfcMachineStateProto.AfcMachineState result = club.joylink.rtss.iscs.proto.model.status.afc.AfcMachineStateProto.AfcMachineState.valueOf(machineState_);
|
||||
return result == null ? club.joylink.rtss.iscs.proto.model.status.afc.AfcMachineStateProto.AfcMachineState.UNRECOGNIZED : result;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*设备状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcMachineState machineState = 2;</code>
|
||||
* @param value The machineState to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setMachineState(club.joylink.rtss.iscs.proto.model.status.afc.AfcMachineStateProto.AfcMachineState value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
|
||||
machineState_ = value.getNumber();
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*设备状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcMachineState machineState = 2;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearMachineState() {
|
||||
|
||||
machineState_ = 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.afc.TcmState)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:status.afc.TcmState)
|
||||
private static final club.joylink.rtss.iscs.proto.model.status.afc.TcmStateProto.TcmState DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new club.joylink.rtss.iscs.proto.model.status.afc.TcmStateProto.TcmState();
|
||||
}
|
||||
|
||||
public static club.joylink.rtss.iscs.proto.model.status.afc.TcmStateProto.TcmState getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Parser<TcmState>
|
||||
PARSER = new com.google.protobuf.AbstractParser<TcmState>() {
|
||||
@java.lang.Override
|
||||
public TcmState parsePartialFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return new TcmState(input, extensionRegistry);
|
||||
}
|
||||
};
|
||||
|
||||
public static com.google.protobuf.Parser<TcmState> parser() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<TcmState> getParserForType() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.afc.TcmStateProto.TcmState getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_status_afc_TcmState_descriptor;
|
||||
private static final
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internal_static_status_afc_TcmState_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\031status/afc/TcmState.proto\022\nstatus.afc\032" +
|
||||
"\025model/DataModel.proto\032 status/afc/AfcMa" +
|
||||
"chineState.proto\"`\n\010TcmState\022!\n\010modelRef" +
|
||||
"\030\001 \001(\0132\017.model.ModelRef\0221\n\014machineState\030" +
|
||||
"\002 \001(\0162\033.status.afc.AfcMachineStateB>\n-cl" +
|
||||
"ub.joylink.rtss.iscs.proto.model.status." +
|
||||
"afcB\rTcmStateProtob\006proto3"
|
||||
};
|
||||
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.afc.AfcMachineStateProto.getDescriptor(),
|
||||
});
|
||||
internal_static_status_afc_TcmState_descriptor =
|
||||
getDescriptor().getMessageTypes().get(0);
|
||||
internal_static_status_afc_TcmState_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_status_afc_TcmState_descriptor,
|
||||
new java.lang.String[] { "ModelRef", "MachineState", });
|
||||
club.joylink.rtss.iscs.proto.model.data.DataModelProto.getDescriptor();
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.AfcMachineStateProto.getDescriptor();
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
}
|
@ -0,0 +1,905 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: status/afc/TvmState.proto
|
||||
|
||||
package club.joylink.rtss.iscs.proto.model.status.afc;
|
||||
|
||||
public final class TvmStateProto {
|
||||
private TvmStateProto() {}
|
||||
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 TvmStateOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:status.afc.TvmState)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*TvmModel
|
||||
* </pre>
|
||||
*
|
||||
* <code>.model.ModelRef modelRef = 1;</code>
|
||||
* @return Whether the modelRef field is set.
|
||||
*/
|
||||
boolean hasModelRef();
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*TvmModel
|
||||
* </pre>
|
||||
*
|
||||
* <code>.model.ModelRef modelRef = 1;</code>
|
||||
* @return The modelRef.
|
||||
*/
|
||||
club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getModelRef();
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*TvmModel
|
||||
* </pre>
|
||||
*
|
||||
* <code>.model.ModelRef modelRef = 1;</code>
|
||||
*/
|
||||
club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getModelRefOrBuilder();
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
*设备状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcMachineState machineState = 2;</code>
|
||||
* @return The enum numeric value on the wire for machineState.
|
||||
*/
|
||||
int getMachineStateValue();
|
||||
/**
|
||||
* <pre>
|
||||
*设备状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcMachineState machineState = 2;</code>
|
||||
* @return The machineState.
|
||||
*/
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.AfcMachineStateProto.AfcMachineState getMachineState();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
**
|
||||
* 自动售票机状态
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code status.afc.TvmState}
|
||||
*/
|
||||
public static final class TvmState extends
|
||||
com.google.protobuf.GeneratedMessageV3 implements
|
||||
// @@protoc_insertion_point(message_implements:status.afc.TvmState)
|
||||
TvmStateOrBuilder {
|
||||
private static final long serialVersionUID = 0L;
|
||||
// Use TvmState.newBuilder() to construct.
|
||||
private TvmState(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
||||
super(builder);
|
||||
}
|
||||
private TvmState() {
|
||||
machineState_ = 0;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@SuppressWarnings({"unused"})
|
||||
protected java.lang.Object newInstance(
|
||||
UnusedPrivateParameter unused) {
|
||||
return new TvmState();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public final com.google.protobuf.UnknownFieldSet
|
||||
getUnknownFields() {
|
||||
return this.unknownFields;
|
||||
}
|
||||
private TvmState(
|
||||
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();
|
||||
|
||||
machineState_ = 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.afc.TvmStateProto.internal_static_status_afc_TvmState_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return club.joylink.rtss.iscs.proto.model.status.afc.TvmStateProto.internal_static_status_afc_TvmState_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.TvmStateProto.TvmState.class, club.joylink.rtss.iscs.proto.model.status.afc.TvmStateProto.TvmState.Builder.class);
|
||||
}
|
||||
|
||||
public static final int MODELREF_FIELD_NUMBER = 1;
|
||||
private club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef modelRef_;
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*TvmModel
|
||||
* </pre>
|
||||
*
|
||||
* <code>.model.ModelRef modelRef = 1;</code>
|
||||
* @return Whether the modelRef field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasModelRef() {
|
||||
return modelRef_ != null;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*TvmModel
|
||||
* </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>
|
||||
*表示哪个模型的状态
|
||||
*TvmModel
|
||||
* </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 MACHINESTATE_FIELD_NUMBER = 2;
|
||||
private int machineState_;
|
||||
/**
|
||||
* <pre>
|
||||
*设备状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcMachineState machineState = 2;</code>
|
||||
* @return The enum numeric value on the wire for machineState.
|
||||
*/
|
||||
@java.lang.Override public int getMachineStateValue() {
|
||||
return machineState_;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*设备状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcMachineState machineState = 2;</code>
|
||||
* @return The machineState.
|
||||
*/
|
||||
@java.lang.Override public club.joylink.rtss.iscs.proto.model.status.afc.AfcMachineStateProto.AfcMachineState getMachineState() {
|
||||
@SuppressWarnings("deprecation")
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.AfcMachineStateProto.AfcMachineState result = club.joylink.rtss.iscs.proto.model.status.afc.AfcMachineStateProto.AfcMachineState.valueOf(machineState_);
|
||||
return result == null ? club.joylink.rtss.iscs.proto.model.status.afc.AfcMachineStateProto.AfcMachineState.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 (machineState_ != club.joylink.rtss.iscs.proto.model.status.afc.AfcMachineStateProto.AfcMachineState.Normal.getNumber()) {
|
||||
output.writeEnum(2, machineState_);
|
||||
}
|
||||
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 (machineState_ != club.joylink.rtss.iscs.proto.model.status.afc.AfcMachineStateProto.AfcMachineState.Normal.getNumber()) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeEnumSize(2, machineState_);
|
||||
}
|
||||
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.afc.TvmStateProto.TvmState)) {
|
||||
return super.equals(obj);
|
||||
}
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.TvmStateProto.TvmState other = (club.joylink.rtss.iscs.proto.model.status.afc.TvmStateProto.TvmState) obj;
|
||||
|
||||
if (hasModelRef() != other.hasModelRef()) return false;
|
||||
if (hasModelRef()) {
|
||||
if (!getModelRef()
|
||||
.equals(other.getModelRef())) return false;
|
||||
}
|
||||
if (machineState_ != other.machineState_) 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) + MACHINESTATE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + machineState_;
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
}
|
||||
|
||||
public static club.joylink.rtss.iscs.proto.model.status.afc.TvmStateProto.TvmState parseFrom(
|
||||
java.nio.ByteBuffer data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static club.joylink.rtss.iscs.proto.model.status.afc.TvmStateProto.TvmState 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.afc.TvmStateProto.TvmState parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static club.joylink.rtss.iscs.proto.model.status.afc.TvmStateProto.TvmState 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.afc.TvmStateProto.TvmState parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static club.joylink.rtss.iscs.proto.model.status.afc.TvmStateProto.TvmState 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.afc.TvmStateProto.TvmState 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.afc.TvmStateProto.TvmState 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.afc.TvmStateProto.TvmState 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.afc.TvmStateProto.TvmState 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.afc.TvmStateProto.TvmState 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.afc.TvmStateProto.TvmState 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.afc.TvmStateProto.TvmState 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.afc.TvmState}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:status.afc.TvmState)
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.TvmStateProto.TvmStateOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return club.joylink.rtss.iscs.proto.model.status.afc.TvmStateProto.internal_static_status_afc_TvmState_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return club.joylink.rtss.iscs.proto.model.status.afc.TvmStateProto.internal_static_status_afc_TvmState_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.TvmStateProto.TvmState.class, club.joylink.rtss.iscs.proto.model.status.afc.TvmStateProto.TvmState.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using club.joylink.rtss.iscs.proto.model.status.afc.TvmStateProto.TvmState.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;
|
||||
}
|
||||
machineState_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return club.joylink.rtss.iscs.proto.model.status.afc.TvmStateProto.internal_static_status_afc_TvmState_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.afc.TvmStateProto.TvmState getDefaultInstanceForType() {
|
||||
return club.joylink.rtss.iscs.proto.model.status.afc.TvmStateProto.TvmState.getDefaultInstance();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.afc.TvmStateProto.TvmState build() {
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.TvmStateProto.TvmState result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.afc.TvmStateProto.TvmState buildPartial() {
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.TvmStateProto.TvmState result = new club.joylink.rtss.iscs.proto.model.status.afc.TvmStateProto.TvmState(this);
|
||||
if (modelRefBuilder_ == null) {
|
||||
result.modelRef_ = modelRef_;
|
||||
} else {
|
||||
result.modelRef_ = modelRefBuilder_.build();
|
||||
}
|
||||
result.machineState_ = machineState_;
|
||||
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.afc.TvmStateProto.TvmState) {
|
||||
return mergeFrom((club.joylink.rtss.iscs.proto.model.status.afc.TvmStateProto.TvmState)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(club.joylink.rtss.iscs.proto.model.status.afc.TvmStateProto.TvmState other) {
|
||||
if (other == club.joylink.rtss.iscs.proto.model.status.afc.TvmStateProto.TvmState.getDefaultInstance()) return this;
|
||||
if (other.hasModelRef()) {
|
||||
mergeModelRef(other.getModelRef());
|
||||
}
|
||||
if (other.machineState_ != 0) {
|
||||
setMachineStateValue(other.getMachineStateValue());
|
||||
}
|
||||
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.afc.TvmStateProto.TvmState parsedMessage = null;
|
||||
try {
|
||||
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
parsedMessage = (club.joylink.rtss.iscs.proto.model.status.afc.TvmStateProto.TvmState) 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>
|
||||
*表示哪个模型的状态
|
||||
*TvmModel
|
||||
* </pre>
|
||||
*
|
||||
* <code>.model.ModelRef modelRef = 1;</code>
|
||||
* @return Whether the modelRef field is set.
|
||||
*/
|
||||
public boolean hasModelRef() {
|
||||
return modelRefBuilder_ != null || modelRef_ != null;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*TvmModel
|
||||
* </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>
|
||||
*表示哪个模型的状态
|
||||
*TvmModel
|
||||
* </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>
|
||||
*表示哪个模型的状态
|
||||
*TvmModel
|
||||
* </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>
|
||||
*表示哪个模型的状态
|
||||
*TvmModel
|
||||
* </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>
|
||||
*表示哪个模型的状态
|
||||
*TvmModel
|
||||
* </pre>
|
||||
*
|
||||
* <code>.model.ModelRef modelRef = 1;</code>
|
||||
*/
|
||||
public Builder clearModelRef() {
|
||||
if (modelRefBuilder_ == null) {
|
||||
modelRef_ = null;
|
||||
onChanged();
|
||||
} else {
|
||||
modelRef_ = null;
|
||||
modelRefBuilder_ = null;
|
||||
}
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*TvmModel
|
||||
* </pre>
|
||||
*
|
||||
* <code>.model.ModelRef modelRef = 1;</code>
|
||||
*/
|
||||
public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder getModelRefBuilder() {
|
||||
|
||||
onChanged();
|
||||
return getModelRefFieldBuilder().getBuilder();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*TvmModel
|
||||
* </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>
|
||||
*表示哪个模型的状态
|
||||
*TvmModel
|
||||
* </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 machineState_ = 0;
|
||||
/**
|
||||
* <pre>
|
||||
*设备状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcMachineState machineState = 2;</code>
|
||||
* @return The enum numeric value on the wire for machineState.
|
||||
*/
|
||||
@java.lang.Override public int getMachineStateValue() {
|
||||
return machineState_;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*设备状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcMachineState machineState = 2;</code>
|
||||
* @param value The enum numeric value on the wire for machineState to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setMachineStateValue(int value) {
|
||||
|
||||
machineState_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*设备状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcMachineState machineState = 2;</code>
|
||||
* @return The machineState.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.afc.AfcMachineStateProto.AfcMachineState getMachineState() {
|
||||
@SuppressWarnings("deprecation")
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.AfcMachineStateProto.AfcMachineState result = club.joylink.rtss.iscs.proto.model.status.afc.AfcMachineStateProto.AfcMachineState.valueOf(machineState_);
|
||||
return result == null ? club.joylink.rtss.iscs.proto.model.status.afc.AfcMachineStateProto.AfcMachineState.UNRECOGNIZED : result;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*设备状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcMachineState machineState = 2;</code>
|
||||
* @param value The machineState to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setMachineState(club.joylink.rtss.iscs.proto.model.status.afc.AfcMachineStateProto.AfcMachineState value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
|
||||
machineState_ = value.getNumber();
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*设备状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcMachineState machineState = 2;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearMachineState() {
|
||||
|
||||
machineState_ = 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.afc.TvmState)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:status.afc.TvmState)
|
||||
private static final club.joylink.rtss.iscs.proto.model.status.afc.TvmStateProto.TvmState DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new club.joylink.rtss.iscs.proto.model.status.afc.TvmStateProto.TvmState();
|
||||
}
|
||||
|
||||
public static club.joylink.rtss.iscs.proto.model.status.afc.TvmStateProto.TvmState getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Parser<TvmState>
|
||||
PARSER = new com.google.protobuf.AbstractParser<TvmState>() {
|
||||
@java.lang.Override
|
||||
public TvmState parsePartialFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return new TvmState(input, extensionRegistry);
|
||||
}
|
||||
};
|
||||
|
||||
public static com.google.protobuf.Parser<TvmState> parser() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<TvmState> getParserForType() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.afc.TvmStateProto.TvmState getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_status_afc_TvmState_descriptor;
|
||||
private static final
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internal_static_status_afc_TvmState_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\031status/afc/TvmState.proto\022\nstatus.afc\032" +
|
||||
"\025model/DataModel.proto\032 status/afc/AfcMa" +
|
||||
"chineState.proto\"`\n\010TvmState\022!\n\010modelRef" +
|
||||
"\030\001 \001(\0132\017.model.ModelRef\0221\n\014machineState\030" +
|
||||
"\002 \001(\0162\033.status.afc.AfcMachineStateB>\n-cl" +
|
||||
"ub.joylink.rtss.iscs.proto.model.status." +
|
||||
"afcB\rTvmStateProtob\006proto3"
|
||||
};
|
||||
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.afc.AfcMachineStateProto.getDescriptor(),
|
||||
});
|
||||
internal_static_status_afc_TvmState_descriptor =
|
||||
getDescriptor().getMessageTypes().get(0);
|
||||
internal_static_status_afc_TvmState_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_status_afc_TvmState_descriptor,
|
||||
new java.lang.String[] { "ModelRef", "MachineState", });
|
||||
club.joylink.rtss.iscs.proto.model.data.DataModelProto.getDescriptor();
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.AfcMachineStateProto.getDescriptor();
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
}
|
@ -0,0 +1,905 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: status/afc/TwoWayGateState.proto
|
||||
|
||||
package club.joylink.rtss.iscs.proto.model.status.afc;
|
||||
|
||||
public final class TwoWayGateStateProto {
|
||||
private TwoWayGateStateProto() {}
|
||||
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 TwoWayGateStateOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:status.afc.TwoWayGateState)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*TwoWayGateModel
|
||||
* </pre>
|
||||
*
|
||||
* <code>.model.ModelRef modelRef = 1;</code>
|
||||
* @return Whether the modelRef field is set.
|
||||
*/
|
||||
boolean hasModelRef();
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*TwoWayGateModel
|
||||
* </pre>
|
||||
*
|
||||
* <code>.model.ModelRef modelRef = 1;</code>
|
||||
* @return The modelRef.
|
||||
*/
|
||||
club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef getModelRef();
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*TwoWayGateModel
|
||||
* </pre>
|
||||
*
|
||||
* <code>.model.ModelRef modelRef = 1;</code>
|
||||
*/
|
||||
club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRefOrBuilder getModelRefOrBuilder();
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
*闸机状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcGateState gateState = 2;</code>
|
||||
* @return The enum numeric value on the wire for gateState.
|
||||
*/
|
||||
int getGateStateValue();
|
||||
/**
|
||||
* <pre>
|
||||
*闸机状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcGateState gateState = 2;</code>
|
||||
* @return The gateState.
|
||||
*/
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.AfcGateStateProto.AfcGateState getGateState();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
**
|
||||
* 双向闸机状态
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code status.afc.TwoWayGateState}
|
||||
*/
|
||||
public static final class TwoWayGateState extends
|
||||
com.google.protobuf.GeneratedMessageV3 implements
|
||||
// @@protoc_insertion_point(message_implements:status.afc.TwoWayGateState)
|
||||
TwoWayGateStateOrBuilder {
|
||||
private static final long serialVersionUID = 0L;
|
||||
// Use TwoWayGateState.newBuilder() to construct.
|
||||
private TwoWayGateState(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
||||
super(builder);
|
||||
}
|
||||
private TwoWayGateState() {
|
||||
gateState_ = 0;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@SuppressWarnings({"unused"})
|
||||
protected java.lang.Object newInstance(
|
||||
UnusedPrivateParameter unused) {
|
||||
return new TwoWayGateState();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public final com.google.protobuf.UnknownFieldSet
|
||||
getUnknownFields() {
|
||||
return this.unknownFields;
|
||||
}
|
||||
private TwoWayGateState(
|
||||
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();
|
||||
|
||||
gateState_ = 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.afc.TwoWayGateStateProto.internal_static_status_afc_TwoWayGateState_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return club.joylink.rtss.iscs.proto.model.status.afc.TwoWayGateStateProto.internal_static_status_afc_TwoWayGateState_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.TwoWayGateStateProto.TwoWayGateState.class, club.joylink.rtss.iscs.proto.model.status.afc.TwoWayGateStateProto.TwoWayGateState.Builder.class);
|
||||
}
|
||||
|
||||
public static final int MODELREF_FIELD_NUMBER = 1;
|
||||
private club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef modelRef_;
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*TwoWayGateModel
|
||||
* </pre>
|
||||
*
|
||||
* <code>.model.ModelRef modelRef = 1;</code>
|
||||
* @return Whether the modelRef field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasModelRef() {
|
||||
return modelRef_ != null;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*TwoWayGateModel
|
||||
* </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>
|
||||
*表示哪个模型的状态
|
||||
*TwoWayGateModel
|
||||
* </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 GATESTATE_FIELD_NUMBER = 2;
|
||||
private int gateState_;
|
||||
/**
|
||||
* <pre>
|
||||
*闸机状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcGateState gateState = 2;</code>
|
||||
* @return The enum numeric value on the wire for gateState.
|
||||
*/
|
||||
@java.lang.Override public int getGateStateValue() {
|
||||
return gateState_;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*闸机状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcGateState gateState = 2;</code>
|
||||
* @return The gateState.
|
||||
*/
|
||||
@java.lang.Override public club.joylink.rtss.iscs.proto.model.status.afc.AfcGateStateProto.AfcGateState getGateState() {
|
||||
@SuppressWarnings("deprecation")
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.AfcGateStateProto.AfcGateState result = club.joylink.rtss.iscs.proto.model.status.afc.AfcGateStateProto.AfcGateState.valueOf(gateState_);
|
||||
return result == null ? club.joylink.rtss.iscs.proto.model.status.afc.AfcGateStateProto.AfcGateState.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 (gateState_ != club.joylink.rtss.iscs.proto.model.status.afc.AfcGateStateProto.AfcGateState.Normal.getNumber()) {
|
||||
output.writeEnum(2, gateState_);
|
||||
}
|
||||
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 (gateState_ != club.joylink.rtss.iscs.proto.model.status.afc.AfcGateStateProto.AfcGateState.Normal.getNumber()) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeEnumSize(2, gateState_);
|
||||
}
|
||||
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.afc.TwoWayGateStateProto.TwoWayGateState)) {
|
||||
return super.equals(obj);
|
||||
}
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.TwoWayGateStateProto.TwoWayGateState other = (club.joylink.rtss.iscs.proto.model.status.afc.TwoWayGateStateProto.TwoWayGateState) obj;
|
||||
|
||||
if (hasModelRef() != other.hasModelRef()) return false;
|
||||
if (hasModelRef()) {
|
||||
if (!getModelRef()
|
||||
.equals(other.getModelRef())) return false;
|
||||
}
|
||||
if (gateState_ != other.gateState_) 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) + GATESTATE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + gateState_;
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
}
|
||||
|
||||
public static club.joylink.rtss.iscs.proto.model.status.afc.TwoWayGateStateProto.TwoWayGateState parseFrom(
|
||||
java.nio.ByteBuffer data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static club.joylink.rtss.iscs.proto.model.status.afc.TwoWayGateStateProto.TwoWayGateState 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.afc.TwoWayGateStateProto.TwoWayGateState parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static club.joylink.rtss.iscs.proto.model.status.afc.TwoWayGateStateProto.TwoWayGateState 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.afc.TwoWayGateStateProto.TwoWayGateState parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static club.joylink.rtss.iscs.proto.model.status.afc.TwoWayGateStateProto.TwoWayGateState 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.afc.TwoWayGateStateProto.TwoWayGateState 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.afc.TwoWayGateStateProto.TwoWayGateState 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.afc.TwoWayGateStateProto.TwoWayGateState 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.afc.TwoWayGateStateProto.TwoWayGateState 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.afc.TwoWayGateStateProto.TwoWayGateState 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.afc.TwoWayGateStateProto.TwoWayGateState 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.afc.TwoWayGateStateProto.TwoWayGateState 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.afc.TwoWayGateState}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:status.afc.TwoWayGateState)
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.TwoWayGateStateProto.TwoWayGateStateOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return club.joylink.rtss.iscs.proto.model.status.afc.TwoWayGateStateProto.internal_static_status_afc_TwoWayGateState_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return club.joylink.rtss.iscs.proto.model.status.afc.TwoWayGateStateProto.internal_static_status_afc_TwoWayGateState_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.TwoWayGateStateProto.TwoWayGateState.class, club.joylink.rtss.iscs.proto.model.status.afc.TwoWayGateStateProto.TwoWayGateState.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using club.joylink.rtss.iscs.proto.model.status.afc.TwoWayGateStateProto.TwoWayGateState.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;
|
||||
}
|
||||
gateState_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return club.joylink.rtss.iscs.proto.model.status.afc.TwoWayGateStateProto.internal_static_status_afc_TwoWayGateState_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.afc.TwoWayGateStateProto.TwoWayGateState getDefaultInstanceForType() {
|
||||
return club.joylink.rtss.iscs.proto.model.status.afc.TwoWayGateStateProto.TwoWayGateState.getDefaultInstance();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.afc.TwoWayGateStateProto.TwoWayGateState build() {
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.TwoWayGateStateProto.TwoWayGateState result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.afc.TwoWayGateStateProto.TwoWayGateState buildPartial() {
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.TwoWayGateStateProto.TwoWayGateState result = new club.joylink.rtss.iscs.proto.model.status.afc.TwoWayGateStateProto.TwoWayGateState(this);
|
||||
if (modelRefBuilder_ == null) {
|
||||
result.modelRef_ = modelRef_;
|
||||
} else {
|
||||
result.modelRef_ = modelRefBuilder_.build();
|
||||
}
|
||||
result.gateState_ = gateState_;
|
||||
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.afc.TwoWayGateStateProto.TwoWayGateState) {
|
||||
return mergeFrom((club.joylink.rtss.iscs.proto.model.status.afc.TwoWayGateStateProto.TwoWayGateState)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(club.joylink.rtss.iscs.proto.model.status.afc.TwoWayGateStateProto.TwoWayGateState other) {
|
||||
if (other == club.joylink.rtss.iscs.proto.model.status.afc.TwoWayGateStateProto.TwoWayGateState.getDefaultInstance()) return this;
|
||||
if (other.hasModelRef()) {
|
||||
mergeModelRef(other.getModelRef());
|
||||
}
|
||||
if (other.gateState_ != 0) {
|
||||
setGateStateValue(other.getGateStateValue());
|
||||
}
|
||||
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.afc.TwoWayGateStateProto.TwoWayGateState parsedMessage = null;
|
||||
try {
|
||||
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
parsedMessage = (club.joylink.rtss.iscs.proto.model.status.afc.TwoWayGateStateProto.TwoWayGateState) 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>
|
||||
*表示哪个模型的状态
|
||||
*TwoWayGateModel
|
||||
* </pre>
|
||||
*
|
||||
* <code>.model.ModelRef modelRef = 1;</code>
|
||||
* @return Whether the modelRef field is set.
|
||||
*/
|
||||
public boolean hasModelRef() {
|
||||
return modelRefBuilder_ != null || modelRef_ != null;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*TwoWayGateModel
|
||||
* </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>
|
||||
*表示哪个模型的状态
|
||||
*TwoWayGateModel
|
||||
* </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>
|
||||
*表示哪个模型的状态
|
||||
*TwoWayGateModel
|
||||
* </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>
|
||||
*表示哪个模型的状态
|
||||
*TwoWayGateModel
|
||||
* </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>
|
||||
*表示哪个模型的状态
|
||||
*TwoWayGateModel
|
||||
* </pre>
|
||||
*
|
||||
* <code>.model.ModelRef modelRef = 1;</code>
|
||||
*/
|
||||
public Builder clearModelRef() {
|
||||
if (modelRefBuilder_ == null) {
|
||||
modelRef_ = null;
|
||||
onChanged();
|
||||
} else {
|
||||
modelRef_ = null;
|
||||
modelRefBuilder_ = null;
|
||||
}
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*TwoWayGateModel
|
||||
* </pre>
|
||||
*
|
||||
* <code>.model.ModelRef modelRef = 1;</code>
|
||||
*/
|
||||
public club.joylink.rtss.iscs.proto.model.data.DataModelProto.ModelRef.Builder getModelRefBuilder() {
|
||||
|
||||
onChanged();
|
||||
return getModelRefFieldBuilder().getBuilder();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*表示哪个模型的状态
|
||||
*TwoWayGateModel
|
||||
* </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>
|
||||
*表示哪个模型的状态
|
||||
*TwoWayGateModel
|
||||
* </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 gateState_ = 0;
|
||||
/**
|
||||
* <pre>
|
||||
*闸机状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcGateState gateState = 2;</code>
|
||||
* @return The enum numeric value on the wire for gateState.
|
||||
*/
|
||||
@java.lang.Override public int getGateStateValue() {
|
||||
return gateState_;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*闸机状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcGateState gateState = 2;</code>
|
||||
* @param value The enum numeric value on the wire for gateState to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setGateStateValue(int value) {
|
||||
|
||||
gateState_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*闸机状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcGateState gateState = 2;</code>
|
||||
* @return The gateState.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.afc.AfcGateStateProto.AfcGateState getGateState() {
|
||||
@SuppressWarnings("deprecation")
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.AfcGateStateProto.AfcGateState result = club.joylink.rtss.iscs.proto.model.status.afc.AfcGateStateProto.AfcGateState.valueOf(gateState_);
|
||||
return result == null ? club.joylink.rtss.iscs.proto.model.status.afc.AfcGateStateProto.AfcGateState.UNRECOGNIZED : result;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*闸机状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcGateState gateState = 2;</code>
|
||||
* @param value The gateState to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setGateState(club.joylink.rtss.iscs.proto.model.status.afc.AfcGateStateProto.AfcGateState value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
|
||||
gateState_ = value.getNumber();
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*闸机状态
|
||||
* </pre>
|
||||
*
|
||||
* <code>.status.afc.AfcGateState gateState = 2;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearGateState() {
|
||||
|
||||
gateState_ = 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.afc.TwoWayGateState)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:status.afc.TwoWayGateState)
|
||||
private static final club.joylink.rtss.iscs.proto.model.status.afc.TwoWayGateStateProto.TwoWayGateState DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new club.joylink.rtss.iscs.proto.model.status.afc.TwoWayGateStateProto.TwoWayGateState();
|
||||
}
|
||||
|
||||
public static club.joylink.rtss.iscs.proto.model.status.afc.TwoWayGateStateProto.TwoWayGateState getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Parser<TwoWayGateState>
|
||||
PARSER = new com.google.protobuf.AbstractParser<TwoWayGateState>() {
|
||||
@java.lang.Override
|
||||
public TwoWayGateState parsePartialFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return new TwoWayGateState(input, extensionRegistry);
|
||||
}
|
||||
};
|
||||
|
||||
public static com.google.protobuf.Parser<TwoWayGateState> parser() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<TwoWayGateState> getParserForType() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.afc.TwoWayGateStateProto.TwoWayGateState getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_status_afc_TwoWayGateState_descriptor;
|
||||
private static final
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internal_static_status_afc_TwoWayGateState_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/afc/TwoWayGateState.proto\022\nstat" +
|
||||
"us.afc\032\025model/DataModel.proto\032\035status/af" +
|
||||
"c/AfcGateState.proto\"a\n\017TwoWayGateState\022" +
|
||||
"!\n\010modelRef\030\001 \001(\0132\017.model.ModelRef\022+\n\tga" +
|
||||
"teState\030\002 \001(\0162\030.status.afc.AfcGateStateB" +
|
||||
"E\n-club.joylink.rtss.iscs.proto.model.st" +
|
||||
"atus.afcB\024TwoWayGateStateProtob\006proto3"
|
||||
};
|
||||
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.afc.AfcGateStateProto.getDescriptor(),
|
||||
});
|
||||
internal_static_status_afc_TwoWayGateState_descriptor =
|
||||
getDescriptor().getMessageTypes().get(0);
|
||||
internal_static_status_afc_TwoWayGateState_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_status_afc_TwoWayGateState_descriptor,
|
||||
new java.lang.String[] { "ModelRef", "GateState", });
|
||||
club.joylink.rtss.iscs.proto.model.data.DataModelProto.getDescriptor();
|
||||
club.joylink.rtss.iscs.proto.model.status.afc.AfcGateStateProto.getDescriptor();
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
}
|
@ -0,0 +1,986 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: status/bas/cool/InverterAirConditionerState.proto
|
||||
|
||||
package club.joylink.rtss.iscs.proto.model.status.bas.cool;
|
||||
|
||||
public final class InverterAirConditionerStateProto {
|
||||
private InverterAirConditionerStateProto() {}
|
||||
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 InverterAirConditionerStateOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:status.bas.cool.InverterAirConditionerState)
|
||||
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.InverterAirConditionerState.State state = 2;</code>
|
||||
* @return The enum numeric value on the wire for state.
|
||||
*/
|
||||
int getStateValue();
|
||||
/**
|
||||
* <code>.status.bas.cool.InverterAirConditionerState.State state = 2;</code>
|
||||
* @return The state.
|
||||
*/
|
||||
club.joylink.rtss.iscs.proto.model.status.bas.cool.InverterAirConditionerStateProto.InverterAirConditionerState.State getState();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*组合式空调 (变频空调)
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code status.bas.cool.InverterAirConditionerState}
|
||||
*/
|
||||
public static final class InverterAirConditionerState extends
|
||||
com.google.protobuf.GeneratedMessageV3 implements
|
||||
// @@protoc_insertion_point(message_implements:status.bas.cool.InverterAirConditionerState)
|
||||
InverterAirConditionerStateOrBuilder {
|
||||
private static final long serialVersionUID = 0L;
|
||||
// Use InverterAirConditionerState.newBuilder() to construct.
|
||||
private InverterAirConditionerState(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
||||
super(builder);
|
||||
}
|
||||
private InverterAirConditionerState() {
|
||||
state_ = 0;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@SuppressWarnings({"unused"})
|
||||
protected java.lang.Object newInstance(
|
||||
UnusedPrivateParameter unused) {
|
||||
return new InverterAirConditionerState();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public final com.google.protobuf.UnknownFieldSet
|
||||
getUnknownFields() {
|
||||
return this.unknownFields;
|
||||
}
|
||||
private InverterAirConditionerState(
|
||||
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.InverterAirConditionerStateProto.internal_static_status_bas_cool_InverterAirConditionerState_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return club.joylink.rtss.iscs.proto.model.status.bas.cool.InverterAirConditionerStateProto.internal_static_status_bas_cool_InverterAirConditionerState_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
club.joylink.rtss.iscs.proto.model.status.bas.cool.InverterAirConditionerStateProto.InverterAirConditionerState.class, club.joylink.rtss.iscs.proto.model.status.bas.cool.InverterAirConditionerStateProto.InverterAirConditionerState.Builder.class);
|
||||
}
|
||||
|
||||
/**
|
||||
* Protobuf enum {@code status.bas.cool.InverterAirConditionerState.State}
|
||||
*/
|
||||
public enum State
|
||||
implements com.google.protobuf.ProtocolMessageEnum {
|
||||
/**
|
||||
* <pre>
|
||||
*运行
|
||||
* </pre>
|
||||
*
|
||||
* <code>RUNING = 0;</code>
|
||||
*/
|
||||
RUNING(0),
|
||||
/**
|
||||
* <pre>
|
||||
*停止
|
||||
* </pre>
|
||||
*
|
||||
* <code>STOP = 1;</code>
|
||||
*/
|
||||
STOP(1),
|
||||
/**
|
||||
* <pre>
|
||||
*停止时故障
|
||||
* </pre>
|
||||
*
|
||||
* <code>STOPING_FAULT = 2;</code>
|
||||
*/
|
||||
STOPING_FAULT(2),
|
||||
/**
|
||||
* <pre>
|
||||
*变频运行时故障
|
||||
* </pre>
|
||||
*
|
||||
* <code>runing_with_FAULT = 3;</code>
|
||||
*/
|
||||
runing_with_FAULT(3),
|
||||
/**
|
||||
* <pre>
|
||||
*报警
|
||||
* </pre>
|
||||
*
|
||||
* <code>FAULT = 4;</code>
|
||||
*/
|
||||
FAULT(4),
|
||||
/**
|
||||
* <pre>
|
||||
*通信中断
|
||||
* </pre>
|
||||
*
|
||||
* <code>OFFLINE = 5;</code>
|
||||
*/
|
||||
OFFLINE(5),
|
||||
UNRECOGNIZED(-1),
|
||||
;
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
*运行
|
||||
* </pre>
|
||||
*
|
||||
* <code>RUNING = 0;</code>
|
||||
*/
|
||||
public static final int RUNING_VALUE = 0;
|
||||
/**
|
||||
* <pre>
|
||||
*停止
|
||||
* </pre>
|
||||
*
|
||||
* <code>STOP = 1;</code>
|
||||
*/
|
||||
public static final int STOP_VALUE = 1;
|
||||
/**
|
||||
* <pre>
|
||||
*停止时故障
|
||||
* </pre>
|
||||
*
|
||||
* <code>STOPING_FAULT = 2;</code>
|
||||
*/
|
||||
public static final int STOPING_FAULT_VALUE = 2;
|
||||
/**
|
||||
* <pre>
|
||||
*变频运行时故障
|
||||
* </pre>
|
||||
*
|
||||
* <code>runing_with_FAULT = 3;</code>
|
||||
*/
|
||||
public static final int runing_with_FAULT_VALUE = 3;
|
||||
/**
|
||||
* <pre>
|
||||
*报警
|
||||
* </pre>
|
||||
*
|
||||
* <code>FAULT = 4;</code>
|
||||
*/
|
||||
public static final int FAULT_VALUE = 4;
|
||||
/**
|
||||
* <pre>
|
||||
*通信中断
|
||||
* </pre>
|
||||
*
|
||||
* <code>OFFLINE = 5;</code>
|
||||
*/
|
||||
public static final int OFFLINE_VALUE = 5;
|
||||
|
||||
|
||||
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 RUNING;
|
||||
case 1: return STOP;
|
||||
case 2: return STOPING_FAULT;
|
||||
case 3: return runing_with_FAULT;
|
||||
case 4: return FAULT;
|
||||
case 5: 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.InverterAirConditionerStateProto.InverterAirConditionerState.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.InverterAirConditionerState.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.InverterAirConditionerState.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.InverterAirConditionerState.State state = 2;</code>
|
||||
* @return The state.
|
||||
*/
|
||||
@java.lang.Override public club.joylink.rtss.iscs.proto.model.status.bas.cool.InverterAirConditionerStateProto.InverterAirConditionerState.State getState() {
|
||||
@SuppressWarnings("deprecation")
|
||||
club.joylink.rtss.iscs.proto.model.status.bas.cool.InverterAirConditionerStateProto.InverterAirConditionerState.State result = club.joylink.rtss.iscs.proto.model.status.bas.cool.InverterAirConditionerStateProto.InverterAirConditionerState.State.valueOf(state_);
|
||||
return result == null ? club.joylink.rtss.iscs.proto.model.status.bas.cool.InverterAirConditionerStateProto.InverterAirConditionerState.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.InverterAirConditionerStateProto.InverterAirConditionerState.State.RUNING.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.InverterAirConditionerStateProto.InverterAirConditionerState.State.RUNING.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.InverterAirConditionerStateProto.InverterAirConditionerState)) {
|
||||
return super.equals(obj);
|
||||
}
|
||||
club.joylink.rtss.iscs.proto.model.status.bas.cool.InverterAirConditionerStateProto.InverterAirConditionerState other = (club.joylink.rtss.iscs.proto.model.status.bas.cool.InverterAirConditionerStateProto.InverterAirConditionerState) 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.InverterAirConditionerStateProto.InverterAirConditionerState 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.InverterAirConditionerStateProto.InverterAirConditionerState 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.InverterAirConditionerStateProto.InverterAirConditionerState 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.InverterAirConditionerStateProto.InverterAirConditionerState 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.InverterAirConditionerStateProto.InverterAirConditionerState parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static club.joylink.rtss.iscs.proto.model.status.bas.cool.InverterAirConditionerStateProto.InverterAirConditionerState 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.InverterAirConditionerStateProto.InverterAirConditionerState 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.InverterAirConditionerStateProto.InverterAirConditionerState 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.InverterAirConditionerStateProto.InverterAirConditionerState 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.InverterAirConditionerStateProto.InverterAirConditionerState 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.InverterAirConditionerStateProto.InverterAirConditionerState 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.InverterAirConditionerStateProto.InverterAirConditionerState 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.InverterAirConditionerStateProto.InverterAirConditionerState 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.InverterAirConditionerState}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:status.bas.cool.InverterAirConditionerState)
|
||||
club.joylink.rtss.iscs.proto.model.status.bas.cool.InverterAirConditionerStateProto.InverterAirConditionerStateOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return club.joylink.rtss.iscs.proto.model.status.bas.cool.InverterAirConditionerStateProto.internal_static_status_bas_cool_InverterAirConditionerState_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return club.joylink.rtss.iscs.proto.model.status.bas.cool.InverterAirConditionerStateProto.internal_static_status_bas_cool_InverterAirConditionerState_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
club.joylink.rtss.iscs.proto.model.status.bas.cool.InverterAirConditionerStateProto.InverterAirConditionerState.class, club.joylink.rtss.iscs.proto.model.status.bas.cool.InverterAirConditionerStateProto.InverterAirConditionerState.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using club.joylink.rtss.iscs.proto.model.status.bas.cool.InverterAirConditionerStateProto.InverterAirConditionerState.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.InverterAirConditionerStateProto.internal_static_status_bas_cool_InverterAirConditionerState_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.bas.cool.InverterAirConditionerStateProto.InverterAirConditionerState getDefaultInstanceForType() {
|
||||
return club.joylink.rtss.iscs.proto.model.status.bas.cool.InverterAirConditionerStateProto.InverterAirConditionerState.getDefaultInstance();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.bas.cool.InverterAirConditionerStateProto.InverterAirConditionerState build() {
|
||||
club.joylink.rtss.iscs.proto.model.status.bas.cool.InverterAirConditionerStateProto.InverterAirConditionerState result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.bas.cool.InverterAirConditionerStateProto.InverterAirConditionerState buildPartial() {
|
||||
club.joylink.rtss.iscs.proto.model.status.bas.cool.InverterAirConditionerStateProto.InverterAirConditionerState result = new club.joylink.rtss.iscs.proto.model.status.bas.cool.InverterAirConditionerStateProto.InverterAirConditionerState(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.InverterAirConditionerStateProto.InverterAirConditionerState) {
|
||||
return mergeFrom((club.joylink.rtss.iscs.proto.model.status.bas.cool.InverterAirConditionerStateProto.InverterAirConditionerState)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(club.joylink.rtss.iscs.proto.model.status.bas.cool.InverterAirConditionerStateProto.InverterAirConditionerState other) {
|
||||
if (other == club.joylink.rtss.iscs.proto.model.status.bas.cool.InverterAirConditionerStateProto.InverterAirConditionerState.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.InverterAirConditionerStateProto.InverterAirConditionerState parsedMessage = null;
|
||||
try {
|
||||
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
parsedMessage = (club.joylink.rtss.iscs.proto.model.status.bas.cool.InverterAirConditionerStateProto.InverterAirConditionerState) 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.InverterAirConditionerState.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.InverterAirConditionerState.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.InverterAirConditionerState.State state = 2;</code>
|
||||
* @return The state.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.bas.cool.InverterAirConditionerStateProto.InverterAirConditionerState.State getState() {
|
||||
@SuppressWarnings("deprecation")
|
||||
club.joylink.rtss.iscs.proto.model.status.bas.cool.InverterAirConditionerStateProto.InverterAirConditionerState.State result = club.joylink.rtss.iscs.proto.model.status.bas.cool.InverterAirConditionerStateProto.InverterAirConditionerState.State.valueOf(state_);
|
||||
return result == null ? club.joylink.rtss.iscs.proto.model.status.bas.cool.InverterAirConditionerStateProto.InverterAirConditionerState.State.UNRECOGNIZED : result;
|
||||
}
|
||||
/**
|
||||
* <code>.status.bas.cool.InverterAirConditionerState.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.InverterAirConditionerStateProto.InverterAirConditionerState.State value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
|
||||
state_ = value.getNumber();
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.status.bas.cool.InverterAirConditionerState.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.InverterAirConditionerState)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:status.bas.cool.InverterAirConditionerState)
|
||||
private static final club.joylink.rtss.iscs.proto.model.status.bas.cool.InverterAirConditionerStateProto.InverterAirConditionerState DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new club.joylink.rtss.iscs.proto.model.status.bas.cool.InverterAirConditionerStateProto.InverterAirConditionerState();
|
||||
}
|
||||
|
||||
public static club.joylink.rtss.iscs.proto.model.status.bas.cool.InverterAirConditionerStateProto.InverterAirConditionerState getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Parser<InverterAirConditionerState>
|
||||
PARSER = new com.google.protobuf.AbstractParser<InverterAirConditionerState>() {
|
||||
@java.lang.Override
|
||||
public InverterAirConditionerState parsePartialFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return new InverterAirConditionerState(input, extensionRegistry);
|
||||
}
|
||||
};
|
||||
|
||||
public static com.google.protobuf.Parser<InverterAirConditionerState> parser() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<InverterAirConditionerState> getParserForType() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.bas.cool.InverterAirConditionerStateProto.InverterAirConditionerState getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_status_bas_cool_InverterAirConditionerState_descriptor;
|
||||
private static final
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internal_static_status_bas_cool_InverterAirConditionerState_fieldAccessorTable;
|
||||
|
||||
public static com.google.protobuf.Descriptors.FileDescriptor
|
||||
getDescriptor() {
|
||||
return descriptor;
|
||||
}
|
||||
private static com.google.protobuf.Descriptors.FileDescriptor
|
||||
descriptor;
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n1status/bas/cool/InverterAirConditioner" +
|
||||
"State.proto\022\017status.bas.cool\032\025model/Data" +
|
||||
"Model.proto\"\344\001\n\033InverterAirConditionerSt" +
|
||||
"ate\022!\n\010modelRef\030\001 \001(\0132\017.model.ModelRef\022A" +
|
||||
"\n\005state\030\002 \001(\01622.status.bas.cool.Inverter" +
|
||||
"AirConditionerState.State\"_\n\005State\022\n\n\006RU" +
|
||||
"NING\020\000\022\010\n\004STOP\020\001\022\021\n\rSTOPING_FAULT\020\002\022\025\n\021r" +
|
||||
"uning_with_FAULT\020\003\022\t\n\005FAULT\020\004\022\013\n\007OFFLINE" +
|
||||
"\020\005BV\n2club.joylink.rtss.iscs.proto.model" +
|
||||
".status.bas.coolB InverterAirConditioner" +
|
||||
"StateProtob\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_cool_InverterAirConditionerState_descriptor =
|
||||
getDescriptor().getMessageTypes().get(0);
|
||||
internal_static_status_bas_cool_InverterAirConditionerState_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_status_bas_cool_InverterAirConditionerState_descriptor,
|
||||
new java.lang.String[] { "ModelRef", "State", });
|
||||
club.joylink.rtss.iscs.proto.model.data.DataModelProto.getDescriptor();
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
}
|
@ -0,0 +1,950 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: status/bas/cool/WaterChillingGroupState.proto
|
||||
|
||||
package club.joylink.rtss.iscs.proto.model.status.bas.cool;
|
||||
|
||||
public final class WaterChillingGroupStateProto {
|
||||
private WaterChillingGroupStateProto() {}
|
||||
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 WaterChillingGroupStateOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:status.bas.cool.WaterChillingGroupState)
|
||||
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.WaterChillingGroupState.State state = 2;</code>
|
||||
* @return The enum numeric value on the wire for state.
|
||||
*/
|
||||
int getStateValue();
|
||||
/**
|
||||
* <code>.status.bas.cool.WaterChillingGroupState.State state = 2;</code>
|
||||
* @return The state.
|
||||
*/
|
||||
club.joylink.rtss.iscs.proto.model.status.bas.cool.WaterChillingGroupStateProto.WaterChillingGroupState.State getState();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*冷水机组
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code status.bas.cool.WaterChillingGroupState}
|
||||
*/
|
||||
public static final class WaterChillingGroupState extends
|
||||
com.google.protobuf.GeneratedMessageV3 implements
|
||||
// @@protoc_insertion_point(message_implements:status.bas.cool.WaterChillingGroupState)
|
||||
WaterChillingGroupStateOrBuilder {
|
||||
private static final long serialVersionUID = 0L;
|
||||
// Use WaterChillingGroupState.newBuilder() to construct.
|
||||
private WaterChillingGroupState(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
||||
super(builder);
|
||||
}
|
||||
private WaterChillingGroupState() {
|
||||
state_ = 0;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@SuppressWarnings({"unused"})
|
||||
protected java.lang.Object newInstance(
|
||||
UnusedPrivateParameter unused) {
|
||||
return new WaterChillingGroupState();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public final com.google.protobuf.UnknownFieldSet
|
||||
getUnknownFields() {
|
||||
return this.unknownFields;
|
||||
}
|
||||
private WaterChillingGroupState(
|
||||
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.WaterChillingGroupStateProto.internal_static_status_bas_cool_WaterChillingGroupState_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return club.joylink.rtss.iscs.proto.model.status.bas.cool.WaterChillingGroupStateProto.internal_static_status_bas_cool_WaterChillingGroupState_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
club.joylink.rtss.iscs.proto.model.status.bas.cool.WaterChillingGroupStateProto.WaterChillingGroupState.class, club.joylink.rtss.iscs.proto.model.status.bas.cool.WaterChillingGroupStateProto.WaterChillingGroupState.Builder.class);
|
||||
}
|
||||
|
||||
/**
|
||||
* Protobuf enum {@code status.bas.cool.WaterChillingGroupState.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.WaterChillingGroupStateProto.WaterChillingGroupState.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.WaterChillingGroupState.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.WaterChillingGroupState.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.WaterChillingGroupState.State state = 2;</code>
|
||||
* @return The state.
|
||||
*/
|
||||
@java.lang.Override public club.joylink.rtss.iscs.proto.model.status.bas.cool.WaterChillingGroupStateProto.WaterChillingGroupState.State getState() {
|
||||
@SuppressWarnings("deprecation")
|
||||
club.joylink.rtss.iscs.proto.model.status.bas.cool.WaterChillingGroupStateProto.WaterChillingGroupState.State result = club.joylink.rtss.iscs.proto.model.status.bas.cool.WaterChillingGroupStateProto.WaterChillingGroupState.State.valueOf(state_);
|
||||
return result == null ? club.joylink.rtss.iscs.proto.model.status.bas.cool.WaterChillingGroupStateProto.WaterChillingGroupState.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.WaterChillingGroupStateProto.WaterChillingGroupState.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.WaterChillingGroupStateProto.WaterChillingGroupState.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.WaterChillingGroupStateProto.WaterChillingGroupState)) {
|
||||
return super.equals(obj);
|
||||
}
|
||||
club.joylink.rtss.iscs.proto.model.status.bas.cool.WaterChillingGroupStateProto.WaterChillingGroupState other = (club.joylink.rtss.iscs.proto.model.status.bas.cool.WaterChillingGroupStateProto.WaterChillingGroupState) 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.WaterChillingGroupStateProto.WaterChillingGroupState 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.WaterChillingGroupStateProto.WaterChillingGroupState 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.WaterChillingGroupStateProto.WaterChillingGroupState 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.WaterChillingGroupStateProto.WaterChillingGroupState 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.WaterChillingGroupStateProto.WaterChillingGroupState parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static club.joylink.rtss.iscs.proto.model.status.bas.cool.WaterChillingGroupStateProto.WaterChillingGroupState 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.WaterChillingGroupStateProto.WaterChillingGroupState 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.WaterChillingGroupStateProto.WaterChillingGroupState 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.WaterChillingGroupStateProto.WaterChillingGroupState 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.WaterChillingGroupStateProto.WaterChillingGroupState 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.WaterChillingGroupStateProto.WaterChillingGroupState 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.WaterChillingGroupStateProto.WaterChillingGroupState 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.WaterChillingGroupStateProto.WaterChillingGroupState 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.WaterChillingGroupState}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:status.bas.cool.WaterChillingGroupState)
|
||||
club.joylink.rtss.iscs.proto.model.status.bas.cool.WaterChillingGroupStateProto.WaterChillingGroupStateOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return club.joylink.rtss.iscs.proto.model.status.bas.cool.WaterChillingGroupStateProto.internal_static_status_bas_cool_WaterChillingGroupState_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return club.joylink.rtss.iscs.proto.model.status.bas.cool.WaterChillingGroupStateProto.internal_static_status_bas_cool_WaterChillingGroupState_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
club.joylink.rtss.iscs.proto.model.status.bas.cool.WaterChillingGroupStateProto.WaterChillingGroupState.class, club.joylink.rtss.iscs.proto.model.status.bas.cool.WaterChillingGroupStateProto.WaterChillingGroupState.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using club.joylink.rtss.iscs.proto.model.status.bas.cool.WaterChillingGroupStateProto.WaterChillingGroupState.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.WaterChillingGroupStateProto.internal_static_status_bas_cool_WaterChillingGroupState_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.bas.cool.WaterChillingGroupStateProto.WaterChillingGroupState getDefaultInstanceForType() {
|
||||
return club.joylink.rtss.iscs.proto.model.status.bas.cool.WaterChillingGroupStateProto.WaterChillingGroupState.getDefaultInstance();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.bas.cool.WaterChillingGroupStateProto.WaterChillingGroupState build() {
|
||||
club.joylink.rtss.iscs.proto.model.status.bas.cool.WaterChillingGroupStateProto.WaterChillingGroupState result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.bas.cool.WaterChillingGroupStateProto.WaterChillingGroupState buildPartial() {
|
||||
club.joylink.rtss.iscs.proto.model.status.bas.cool.WaterChillingGroupStateProto.WaterChillingGroupState result = new club.joylink.rtss.iscs.proto.model.status.bas.cool.WaterChillingGroupStateProto.WaterChillingGroupState(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.WaterChillingGroupStateProto.WaterChillingGroupState) {
|
||||
return mergeFrom((club.joylink.rtss.iscs.proto.model.status.bas.cool.WaterChillingGroupStateProto.WaterChillingGroupState)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(club.joylink.rtss.iscs.proto.model.status.bas.cool.WaterChillingGroupStateProto.WaterChillingGroupState other) {
|
||||
if (other == club.joylink.rtss.iscs.proto.model.status.bas.cool.WaterChillingGroupStateProto.WaterChillingGroupState.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.WaterChillingGroupStateProto.WaterChillingGroupState parsedMessage = null;
|
||||
try {
|
||||
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
parsedMessage = (club.joylink.rtss.iscs.proto.model.status.bas.cool.WaterChillingGroupStateProto.WaterChillingGroupState) 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.WaterChillingGroupState.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.WaterChillingGroupState.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.WaterChillingGroupState.State state = 2;</code>
|
||||
* @return The state.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.bas.cool.WaterChillingGroupStateProto.WaterChillingGroupState.State getState() {
|
||||
@SuppressWarnings("deprecation")
|
||||
club.joylink.rtss.iscs.proto.model.status.bas.cool.WaterChillingGroupStateProto.WaterChillingGroupState.State result = club.joylink.rtss.iscs.proto.model.status.bas.cool.WaterChillingGroupStateProto.WaterChillingGroupState.State.valueOf(state_);
|
||||
return result == null ? club.joylink.rtss.iscs.proto.model.status.bas.cool.WaterChillingGroupStateProto.WaterChillingGroupState.State.UNRECOGNIZED : result;
|
||||
}
|
||||
/**
|
||||
* <code>.status.bas.cool.WaterChillingGroupState.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.WaterChillingGroupStateProto.WaterChillingGroupState.State value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
|
||||
state_ = value.getNumber();
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.status.bas.cool.WaterChillingGroupState.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.WaterChillingGroupState)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:status.bas.cool.WaterChillingGroupState)
|
||||
private static final club.joylink.rtss.iscs.proto.model.status.bas.cool.WaterChillingGroupStateProto.WaterChillingGroupState DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new club.joylink.rtss.iscs.proto.model.status.bas.cool.WaterChillingGroupStateProto.WaterChillingGroupState();
|
||||
}
|
||||
|
||||
public static club.joylink.rtss.iscs.proto.model.status.bas.cool.WaterChillingGroupStateProto.WaterChillingGroupState getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Parser<WaterChillingGroupState>
|
||||
PARSER = new com.google.protobuf.AbstractParser<WaterChillingGroupState>() {
|
||||
@java.lang.Override
|
||||
public WaterChillingGroupState parsePartialFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return new WaterChillingGroupState(input, extensionRegistry);
|
||||
}
|
||||
};
|
||||
|
||||
public static com.google.protobuf.Parser<WaterChillingGroupState> parser() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<WaterChillingGroupState> getParserForType() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public club.joylink.rtss.iscs.proto.model.status.bas.cool.WaterChillingGroupStateProto.WaterChillingGroupState getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_status_bas_cool_WaterChillingGroupState_descriptor;
|
||||
private static final
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internal_static_status_bas_cool_WaterChillingGroupState_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/WaterChillingGroupStat" +
|
||||
"e.proto\022\017status.bas.cool\032\025model/DataMode" +
|
||||
"l.proto\"\262\001\n\027WaterChillingGroupState\022!\n\010m" +
|
||||
"odelRef\030\001 \001(\0132\017.model.ModelRef\022=\n\005state\030" +
|
||||
"\002 \001(\0162..status.bas.cool.WaterChillingGro" +
|
||||
"upState.State\"5\n\005State\022\n\n\006NORMAL\020\000\022\010\n\004ST" +
|
||||
"OP\020\001\022\t\n\005FAULT\020\002\022\013\n\007OFFLINE\020\003BR\n2club.joy" +
|
||||
"link.rtss.iscs.proto.model.status.bas.co" +
|
||||
"olB\034WaterChillingGroupStateProtob\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_cool_WaterChillingGroupState_descriptor =
|
||||
getDescriptor().getMessageTypes().get(0);
|
||||
internal_static_status_bas_cool_WaterChillingGroupState_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_status_bas_cool_WaterChillingGroupState_descriptor,
|
||||
new java.lang.String[] { "ModelRef", "State", });
|
||||
club.joylink.rtss.iscs.proto.model.data.DataModelProto.getDescriptor();
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user