diff --git a/src/main/java/club/joylink/xiannccda/dto/protos/SystemWarnMsgProto.java b/src/main/java/club/joylink/xiannccda/dto/protos/SystemWarnMsgProto.java new file mode 100644 index 0000000..fc4efe4 --- /dev/null +++ b/src/main/java/club/joylink/xiannccda/dto/protos/SystemWarnMsgProto.java @@ -0,0 +1,1402 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: system_warn_message.proto + +package club.joylink.xiannccda.dto.protos; + +public final class SystemWarnMsgProto { + private SystemWarnMsgProto() {} + 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 WarnLineMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:state.WarnLineMessage) + com.google.protobuf.MessageOrBuilder { + + /** + * repeated .state.WarnMessage msgs = 1; + */ + java.util.List + getMsgsList(); + /** + * repeated .state.WarnMessage msgs = 1; + */ + club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage getMsgs(int index); + /** + * repeated .state.WarnMessage msgs = 1; + */ + int getMsgsCount(); + /** + * repeated .state.WarnMessage msgs = 1; + */ + java.util.List + getMsgsOrBuilderList(); + /** + * repeated .state.WarnMessage msgs = 1; + */ + club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessageOrBuilder getMsgsOrBuilder( + int index); + } + /** + * Protobuf type {@code state.WarnLineMessage} + */ + public static final class WarnLineMessage extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:state.WarnLineMessage) + WarnLineMessageOrBuilder { + private static final long serialVersionUID = 0L; + // Use WarnLineMessage.newBuilder() to construct. + private WarnLineMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private WarnLineMessage() { + msgs_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new WarnLineMessage(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.internal_static_state_WarnLineMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.internal_static_state_WarnLineMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnLineMessage.class, club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnLineMessage.Builder.class); + } + + public static final int MSGS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private java.util.List msgs_; + /** + * repeated .state.WarnMessage msgs = 1; + */ + @java.lang.Override + public java.util.List getMsgsList() { + return msgs_; + } + /** + * repeated .state.WarnMessage msgs = 1; + */ + @java.lang.Override + public java.util.List + getMsgsOrBuilderList() { + return msgs_; + } + /** + * repeated .state.WarnMessage msgs = 1; + */ + @java.lang.Override + public int getMsgsCount() { + return msgs_.size(); + } + /** + * repeated .state.WarnMessage msgs = 1; + */ + @java.lang.Override + public club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage getMsgs(int index) { + return msgs_.get(index); + } + /** + * repeated .state.WarnMessage msgs = 1; + */ + @java.lang.Override + public club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessageOrBuilder getMsgsOrBuilder( + int index) { + return msgs_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < msgs_.size(); i++) { + output.writeMessage(1, msgs_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < msgs_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, msgs_.get(i)); + } + size += getUnknownFields().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.xiannccda.dto.protos.SystemWarnMsgProto.WarnLineMessage)) { + return super.equals(obj); + } + club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnLineMessage other = (club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnLineMessage) obj; + + if (!getMsgsList() + .equals(other.getMsgsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getMsgsCount() > 0) { + hash = (37 * hash) + MSGS_FIELD_NUMBER; + hash = (53 * hash) + getMsgsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnLineMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnLineMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnLineMessage parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnLineMessage 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.xiannccda.dto.protos.SystemWarnMsgProto.WarnLineMessage parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnLineMessage parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnLineMessage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnLineMessage 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.xiannccda.dto.protos.SystemWarnMsgProto.WarnLineMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnLineMessage 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.xiannccda.dto.protos.SystemWarnMsgProto.WarnLineMessage parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnLineMessage 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.xiannccda.dto.protos.SystemWarnMsgProto.WarnLineMessage prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code state.WarnLineMessage} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:state.WarnLineMessage) + club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnLineMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.internal_static_state_WarnLineMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.internal_static_state_WarnLineMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnLineMessage.class, club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnLineMessage.Builder.class); + } + + // Construct using club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnLineMessage.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (msgsBuilder_ == null) { + msgs_ = java.util.Collections.emptyList(); + } else { + msgs_ = null; + msgsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.internal_static_state_WarnLineMessage_descriptor; + } + + @java.lang.Override + public club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnLineMessage getDefaultInstanceForType() { + return club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnLineMessage.getDefaultInstance(); + } + + @java.lang.Override + public club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnLineMessage build() { + club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnLineMessage result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnLineMessage buildPartial() { + club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnLineMessage result = new club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnLineMessage(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnLineMessage result) { + if (msgsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + msgs_ = java.util.Collections.unmodifiableList(msgs_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.msgs_ = msgs_; + } else { + result.msgs_ = msgsBuilder_.build(); + } + } + + private void buildPartial0(club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnLineMessage result) { + int from_bitField0_ = bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnLineMessage) { + return mergeFrom((club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnLineMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnLineMessage other) { + if (other == club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnLineMessage.getDefaultInstance()) return this; + if (msgsBuilder_ == null) { + if (!other.msgs_.isEmpty()) { + if (msgs_.isEmpty()) { + msgs_ = other.msgs_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureMsgsIsMutable(); + msgs_.addAll(other.msgs_); + } + onChanged(); + } + } else { + if (!other.msgs_.isEmpty()) { + if (msgsBuilder_.isEmpty()) { + msgsBuilder_.dispose(); + msgsBuilder_ = null; + msgs_ = other.msgs_; + bitField0_ = (bitField0_ & ~0x00000001); + msgsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMsgsFieldBuilder() : null; + } else { + msgsBuilder_.addAllMessages(other.msgs_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + 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 { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage m = + input.readMessage( + club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage.parser(), + extensionRegistry); + if (msgsBuilder_ == null) { + ensureMsgsIsMutable(); + msgs_.add(m); + } else { + msgsBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.util.List msgs_ = + java.util.Collections.emptyList(); + private void ensureMsgsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + msgs_ = new java.util.ArrayList(msgs_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage, club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage.Builder, club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessageOrBuilder> msgsBuilder_; + + /** + * repeated .state.WarnMessage msgs = 1; + */ + public java.util.List getMsgsList() { + if (msgsBuilder_ == null) { + return java.util.Collections.unmodifiableList(msgs_); + } else { + return msgsBuilder_.getMessageList(); + } + } + /** + * repeated .state.WarnMessage msgs = 1; + */ + public int getMsgsCount() { + if (msgsBuilder_ == null) { + return msgs_.size(); + } else { + return msgsBuilder_.getCount(); + } + } + /** + * repeated .state.WarnMessage msgs = 1; + */ + public club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage getMsgs(int index) { + if (msgsBuilder_ == null) { + return msgs_.get(index); + } else { + return msgsBuilder_.getMessage(index); + } + } + /** + * repeated .state.WarnMessage msgs = 1; + */ + public Builder setMsgs( + int index, club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage value) { + if (msgsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMsgsIsMutable(); + msgs_.set(index, value); + onChanged(); + } else { + msgsBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .state.WarnMessage msgs = 1; + */ + public Builder setMsgs( + int index, club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage.Builder builderForValue) { + if (msgsBuilder_ == null) { + ensureMsgsIsMutable(); + msgs_.set(index, builderForValue.build()); + onChanged(); + } else { + msgsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .state.WarnMessage msgs = 1; + */ + public Builder addMsgs(club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage value) { + if (msgsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMsgsIsMutable(); + msgs_.add(value); + onChanged(); + } else { + msgsBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .state.WarnMessage msgs = 1; + */ + public Builder addMsgs( + int index, club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage value) { + if (msgsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMsgsIsMutable(); + msgs_.add(index, value); + onChanged(); + } else { + msgsBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .state.WarnMessage msgs = 1; + */ + public Builder addMsgs( + club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage.Builder builderForValue) { + if (msgsBuilder_ == null) { + ensureMsgsIsMutable(); + msgs_.add(builderForValue.build()); + onChanged(); + } else { + msgsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .state.WarnMessage msgs = 1; + */ + public Builder addMsgs( + int index, club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage.Builder builderForValue) { + if (msgsBuilder_ == null) { + ensureMsgsIsMutable(); + msgs_.add(index, builderForValue.build()); + onChanged(); + } else { + msgsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .state.WarnMessage msgs = 1; + */ + public Builder addAllMsgs( + java.lang.Iterable values) { + if (msgsBuilder_ == null) { + ensureMsgsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, msgs_); + onChanged(); + } else { + msgsBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .state.WarnMessage msgs = 1; + */ + public Builder clearMsgs() { + if (msgsBuilder_ == null) { + msgs_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + msgsBuilder_.clear(); + } + return this; + } + /** + * repeated .state.WarnMessage msgs = 1; + */ + public Builder removeMsgs(int index) { + if (msgsBuilder_ == null) { + ensureMsgsIsMutable(); + msgs_.remove(index); + onChanged(); + } else { + msgsBuilder_.remove(index); + } + return this; + } + /** + * repeated .state.WarnMessage msgs = 1; + */ + public club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage.Builder getMsgsBuilder( + int index) { + return getMsgsFieldBuilder().getBuilder(index); + } + /** + * repeated .state.WarnMessage msgs = 1; + */ + public club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessageOrBuilder getMsgsOrBuilder( + int index) { + if (msgsBuilder_ == null) { + return msgs_.get(index); } else { + return msgsBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .state.WarnMessage msgs = 1; + */ + public java.util.List + getMsgsOrBuilderList() { + if (msgsBuilder_ != null) { + return msgsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(msgs_); + } + } + /** + * repeated .state.WarnMessage msgs = 1; + */ + public club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage.Builder addMsgsBuilder() { + return getMsgsFieldBuilder().addBuilder( + club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage.getDefaultInstance()); + } + /** + * repeated .state.WarnMessage msgs = 1; + */ + public club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage.Builder addMsgsBuilder( + int index) { + return getMsgsFieldBuilder().addBuilder( + index, club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage.getDefaultInstance()); + } + /** + * repeated .state.WarnMessage msgs = 1; + */ + public java.util.List + getMsgsBuilderList() { + return getMsgsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage, club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage.Builder, club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessageOrBuilder> + getMsgsFieldBuilder() { + if (msgsBuilder_ == null) { + msgsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage, club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage.Builder, club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessageOrBuilder>( + msgs_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + msgs_ = null; + } + return msgsBuilder_; + } + @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:state.WarnLineMessage) + } + + // @@protoc_insertion_point(class_scope:state.WarnLineMessage) + private static final club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnLineMessage DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnLineMessage(); + } + + public static club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnLineMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WarnLineMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnLineMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface WarnMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:state.WarnMessage) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 lineId = 1; + * @return The lineId. + */ + int getLineId(); + + /** + * bool occRealConned = 2; + * @return The occRealConned. + */ + boolean getOccRealConned(); + + /** + * bool occUnrealConned = 3; + * @return The occUnrealConned. + */ + boolean getOccUnrealConned(); + } + /** + * Protobuf type {@code state.WarnMessage} + */ + public static final class WarnMessage extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:state.WarnMessage) + WarnMessageOrBuilder { + private static final long serialVersionUID = 0L; + // Use WarnMessage.newBuilder() to construct. + private WarnMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private WarnMessage() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new WarnMessage(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.internal_static_state_WarnMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.internal_static_state_WarnMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage.class, club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage.Builder.class); + } + + public static final int LINEID_FIELD_NUMBER = 1; + private int lineId_ = 0; + /** + * int32 lineId = 1; + * @return The lineId. + */ + @java.lang.Override + public int getLineId() { + return lineId_; + } + + public static final int OCCREALCONNED_FIELD_NUMBER = 2; + private boolean occRealConned_ = false; + /** + * bool occRealConned = 2; + * @return The occRealConned. + */ + @java.lang.Override + public boolean getOccRealConned() { + return occRealConned_; + } + + public static final int OCCUNREALCONNED_FIELD_NUMBER = 3; + private boolean occUnrealConned_ = false; + /** + * bool occUnrealConned = 3; + * @return The occUnrealConned. + */ + @java.lang.Override + public boolean getOccUnrealConned() { + return occUnrealConned_; + } + + 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 (lineId_ != 0) { + output.writeInt32(1, lineId_); + } + if (occRealConned_ != false) { + output.writeBool(2, occRealConned_); + } + if (occUnrealConned_ != false) { + output.writeBool(3, occUnrealConned_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (lineId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, lineId_); + } + if (occRealConned_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, occRealConned_); + } + if (occUnrealConned_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, occUnrealConned_); + } + size += getUnknownFields().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.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage)) { + return super.equals(obj); + } + club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage other = (club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage) obj; + + if (getLineId() + != other.getLineId()) return false; + if (getOccRealConned() + != other.getOccRealConned()) return false; + if (getOccUnrealConned() + != other.getOccUnrealConned()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + LINEID_FIELD_NUMBER; + hash = (53 * hash) + getLineId(); + hash = (37 * hash) + OCCREALCONNED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getOccRealConned()); + hash = (37 * hash) + OCCUNREALCONNED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getOccUnrealConned()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage 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.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage 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.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage 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.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage 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.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code state.WarnMessage} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:state.WarnMessage) + club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.internal_static_state_WarnMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.internal_static_state_WarnMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage.class, club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage.Builder.class); + } + + // Construct using club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + lineId_ = 0; + occRealConned_ = false; + occUnrealConned_ = false; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.internal_static_state_WarnMessage_descriptor; + } + + @java.lang.Override + public club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage getDefaultInstanceForType() { + return club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage.getDefaultInstance(); + } + + @java.lang.Override + public club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage build() { + club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage buildPartial() { + club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage result = new club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.lineId_ = lineId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.occRealConned_ = occRealConned_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.occUnrealConned_ = occUnrealConned_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage) { + return mergeFrom((club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage other) { + if (other == club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage.getDefaultInstance()) return this; + if (other.getLineId() != 0) { + setLineId(other.getLineId()); + } + if (other.getOccRealConned() != false) { + setOccRealConned(other.getOccRealConned()); + } + if (other.getOccUnrealConned() != false) { + setOccUnrealConned(other.getOccUnrealConned()); + } + this.mergeUnknownFields(other.getUnknownFields()); + 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 { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + lineId_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + occRealConned_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + occUnrealConned_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int lineId_ ; + /** + * int32 lineId = 1; + * @return The lineId. + */ + @java.lang.Override + public int getLineId() { + return lineId_; + } + /** + * int32 lineId = 1; + * @param value The lineId to set. + * @return This builder for chaining. + */ + public Builder setLineId(int value) { + + lineId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 lineId = 1; + * @return This builder for chaining. + */ + public Builder clearLineId() { + bitField0_ = (bitField0_ & ~0x00000001); + lineId_ = 0; + onChanged(); + return this; + } + + private boolean occRealConned_ ; + /** + * bool occRealConned = 2; + * @return The occRealConned. + */ + @java.lang.Override + public boolean getOccRealConned() { + return occRealConned_; + } + /** + * bool occRealConned = 2; + * @param value The occRealConned to set. + * @return This builder for chaining. + */ + public Builder setOccRealConned(boolean value) { + + occRealConned_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * bool occRealConned = 2; + * @return This builder for chaining. + */ + public Builder clearOccRealConned() { + bitField0_ = (bitField0_ & ~0x00000002); + occRealConned_ = false; + onChanged(); + return this; + } + + private boolean occUnrealConned_ ; + /** + * bool occUnrealConned = 3; + * @return The occUnrealConned. + */ + @java.lang.Override + public boolean getOccUnrealConned() { + return occUnrealConned_; + } + /** + * bool occUnrealConned = 3; + * @param value The occUnrealConned to set. + * @return This builder for chaining. + */ + public Builder setOccUnrealConned(boolean value) { + + occUnrealConned_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * bool occUnrealConned = 3; + * @return This builder for chaining. + */ + public Builder clearOccUnrealConned() { + bitField0_ = (bitField0_ & ~0x00000004); + occUnrealConned_ = 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:state.WarnMessage) + } + + // @@protoc_insertion_point(class_scope:state.WarnMessage) + private static final club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage(); + } + + public static club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WarnMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public club.joylink.xiannccda.dto.protos.SystemWarnMsgProto.WarnMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_state_WarnLineMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_state_WarnLineMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_state_WarnMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_state_WarnMessage_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\031system_warn_message.proto\022\005state\"3\n\017Wa" + + "rnLineMessage\022 \n\004msgs\030\001 \003(\0132\022.state.Warn" + + "Message\"M\n\013WarnMessage\022\016\n\006lineId\030\001 \001(\005\022\025" + + "\n\roccRealConned\030\002 \001(\010\022\027\n\017occUnrealConned" + + "\030\003 \001(\010B7\n!club.joylink.xiannccda.dto.pro" + + "tosB\022SystemWarnMsgProtob\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_state_WarnLineMessage_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_state_WarnLineMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_state_WarnLineMessage_descriptor, + new java.lang.String[] { "Msgs", }); + internal_static_state_WarnMessage_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_state_WarnMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_state_WarnMessage_descriptor, + new java.lang.String[] { "LineId", "OccRealConned", "OccUnrealConned", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/xian-ncc-da-message b/xian-ncc-da-message index 2de479c..2b147a0 160000 --- a/xian-ncc-da-message +++ b/xian-ncc-da-message @@ -1 +1 @@ -Subproject commit 2de479ce4bf563c50c06c9bff31fa20262e7c51c +Subproject commit 2b147a06d065df7743012cf63cfcbfee0ef3dcd4