// Generated by the protocol buffer compiler. DO NOT EDIT! // source: LanternProjectionLevelInfo.proto package emu.grasscutter.net.proto; public final class LanternProjectionLevelInfoOuterClass { private LanternProjectionLevelInfoOuterClass() {} 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 LanternProjectionLevelInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:LanternProjectionLevelInfo) com.google.protobuf.MessageOrBuilder { /** * bool isCanStart = 4; * @return The isCanStart. */ boolean getIsCanStart(); /** * uint32 id = 7; * @return The id. */ int getId(); /** * uint32 minFinishTime = 1; * @return The minFinishTime. */ int getMinFinishTime(); /** * bool isFinished = 14; * @return The isFinished. */ boolean getIsFinished(); /** * bool isShowTips = 2; * @return The isShowTips. */ boolean getIsShowTips(); } /** * Protobuf type {@code LanternProjectionLevelInfo} */ public static final class LanternProjectionLevelInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:LanternProjectionLevelInfo) LanternProjectionLevelInfoOrBuilder { private static final long serialVersionUID = 0L; // Use LanternProjectionLevelInfo.newBuilder() to construct. private LanternProjectionLevelInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private LanternProjectionLevelInfo() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new LanternProjectionLevelInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private LanternProjectionLevelInfo( 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 8: { minFinishTime_ = input.readUInt32(); break; } case 16: { isShowTips_ = input.readBool(); break; } case 32: { isCanStart_ = input.readBool(); break; } case 56: { id_ = input.readUInt32(); break; } case 112: { isFinished_ = 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 emu.grasscutter.net.proto.LanternProjectionLevelInfoOuterClass.internal_static_LanternProjectionLevelInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.LanternProjectionLevelInfoOuterClass.internal_static_LanternProjectionLevelInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.LanternProjectionLevelInfoOuterClass.LanternProjectionLevelInfo.class, emu.grasscutter.net.proto.LanternProjectionLevelInfoOuterClass.LanternProjectionLevelInfo.Builder.class); } public static final int ISCANSTART_FIELD_NUMBER = 4; private boolean isCanStart_; /** * bool isCanStart = 4; * @return The isCanStart. */ @java.lang.Override public boolean getIsCanStart() { return isCanStart_; } public static final int ID_FIELD_NUMBER = 7; private int id_; /** * uint32 id = 7; * @return The id. */ @java.lang.Override public int getId() { return id_; } public static final int MINFINISHTIME_FIELD_NUMBER = 1; private int minFinishTime_; /** * uint32 minFinishTime = 1; * @return The minFinishTime. */ @java.lang.Override public int getMinFinishTime() { return minFinishTime_; } public static final int ISFINISHED_FIELD_NUMBER = 14; private boolean isFinished_; /** * bool isFinished = 14; * @return The isFinished. */ @java.lang.Override public boolean getIsFinished() { return isFinished_; } public static final int ISSHOWTIPS_FIELD_NUMBER = 2; private boolean isShowTips_; /** * bool isShowTips = 2; * @return The isShowTips. */ @java.lang.Override public boolean getIsShowTips() { return isShowTips_; } 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 (minFinishTime_ != 0) { output.writeUInt32(1, minFinishTime_); } if (isShowTips_ != false) { output.writeBool(2, isShowTips_); } if (isCanStart_ != false) { output.writeBool(4, isCanStart_); } if (id_ != 0) { output.writeUInt32(7, id_); } if (isFinished_ != false) { output.writeBool(14, isFinished_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (minFinishTime_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, minFinishTime_); } if (isShowTips_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, isShowTips_); } if (isCanStart_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, isCanStart_); } if (id_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(7, id_); } if (isFinished_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(14, isFinished_); } 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 emu.grasscutter.net.proto.LanternProjectionLevelInfoOuterClass.LanternProjectionLevelInfo)) { return super.equals(obj); } emu.grasscutter.net.proto.LanternProjectionLevelInfoOuterClass.LanternProjectionLevelInfo other = (emu.grasscutter.net.proto.LanternProjectionLevelInfoOuterClass.LanternProjectionLevelInfo) obj; if (getIsCanStart() != other.getIsCanStart()) return false; if (getId() != other.getId()) return false; if (getMinFinishTime() != other.getMinFinishTime()) return false; if (getIsFinished() != other.getIsFinished()) return false; if (getIsShowTips() != other.getIsShowTips()) 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(); hash = (37 * hash) + ISCANSTART_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsCanStart()); hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + getId(); hash = (37 * hash) + MINFINISHTIME_FIELD_NUMBER; hash = (53 * hash) + getMinFinishTime(); hash = (37 * hash) + ISFINISHED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsFinished()); hash = (37 * hash) + ISSHOWTIPS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsShowTips()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static emu.grasscutter.net.proto.LanternProjectionLevelInfoOuterClass.LanternProjectionLevelInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.LanternProjectionLevelInfoOuterClass.LanternProjectionLevelInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static emu.grasscutter.net.proto.LanternProjectionLevelInfoOuterClass.LanternProjectionLevelInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.LanternProjectionLevelInfoOuterClass.LanternProjectionLevelInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static emu.grasscutter.net.proto.LanternProjectionLevelInfoOuterClass.LanternProjectionLevelInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.LanternProjectionLevelInfoOuterClass.LanternProjectionLevelInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static emu.grasscutter.net.proto.LanternProjectionLevelInfoOuterClass.LanternProjectionLevelInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.LanternProjectionLevelInfoOuterClass.LanternProjectionLevelInfo 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 emu.grasscutter.net.proto.LanternProjectionLevelInfoOuterClass.LanternProjectionLevelInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.LanternProjectionLevelInfoOuterClass.LanternProjectionLevelInfo 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 emu.grasscutter.net.proto.LanternProjectionLevelInfoOuterClass.LanternProjectionLevelInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.LanternProjectionLevelInfoOuterClass.LanternProjectionLevelInfo 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(emu.grasscutter.net.proto.LanternProjectionLevelInfoOuterClass.LanternProjectionLevelInfo 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 LanternProjectionLevelInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:LanternProjectionLevelInfo) emu.grasscutter.net.proto.LanternProjectionLevelInfoOuterClass.LanternProjectionLevelInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return emu.grasscutter.net.proto.LanternProjectionLevelInfoOuterClass.internal_static_LanternProjectionLevelInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.LanternProjectionLevelInfoOuterClass.internal_static_LanternProjectionLevelInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.LanternProjectionLevelInfoOuterClass.LanternProjectionLevelInfo.class, emu.grasscutter.net.proto.LanternProjectionLevelInfoOuterClass.LanternProjectionLevelInfo.Builder.class); } // Construct using emu.grasscutter.net.proto.LanternProjectionLevelInfoOuterClass.LanternProjectionLevelInfo.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(); isCanStart_ = false; id_ = 0; minFinishTime_ = 0; isFinished_ = false; isShowTips_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return emu.grasscutter.net.proto.LanternProjectionLevelInfoOuterClass.internal_static_LanternProjectionLevelInfo_descriptor; } @java.lang.Override public emu.grasscutter.net.proto.LanternProjectionLevelInfoOuterClass.LanternProjectionLevelInfo getDefaultInstanceForType() { return emu.grasscutter.net.proto.LanternProjectionLevelInfoOuterClass.LanternProjectionLevelInfo.getDefaultInstance(); } @java.lang.Override public emu.grasscutter.net.proto.LanternProjectionLevelInfoOuterClass.LanternProjectionLevelInfo build() { emu.grasscutter.net.proto.LanternProjectionLevelInfoOuterClass.LanternProjectionLevelInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public emu.grasscutter.net.proto.LanternProjectionLevelInfoOuterClass.LanternProjectionLevelInfo buildPartial() { emu.grasscutter.net.proto.LanternProjectionLevelInfoOuterClass.LanternProjectionLevelInfo result = new emu.grasscutter.net.proto.LanternProjectionLevelInfoOuterClass.LanternProjectionLevelInfo(this); result.isCanStart_ = isCanStart_; result.id_ = id_; result.minFinishTime_ = minFinishTime_; result.isFinished_ = isFinished_; result.isShowTips_ = isShowTips_; 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 emu.grasscutter.net.proto.LanternProjectionLevelInfoOuterClass.LanternProjectionLevelInfo) { return mergeFrom((emu.grasscutter.net.proto.LanternProjectionLevelInfoOuterClass.LanternProjectionLevelInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(emu.grasscutter.net.proto.LanternProjectionLevelInfoOuterClass.LanternProjectionLevelInfo other) { if (other == emu.grasscutter.net.proto.LanternProjectionLevelInfoOuterClass.LanternProjectionLevelInfo.getDefaultInstance()) return this; if (other.getIsCanStart() != false) { setIsCanStart(other.getIsCanStart()); } if (other.getId() != 0) { setId(other.getId()); } if (other.getMinFinishTime() != 0) { setMinFinishTime(other.getMinFinishTime()); } if (other.getIsFinished() != false) { setIsFinished(other.getIsFinished()); } if (other.getIsShowTips() != false) { setIsShowTips(other.getIsShowTips()); } 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 { emu.grasscutter.net.proto.LanternProjectionLevelInfoOuterClass.LanternProjectionLevelInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (emu.grasscutter.net.proto.LanternProjectionLevelInfoOuterClass.LanternProjectionLevelInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private boolean isCanStart_ ; /** * bool isCanStart = 4; * @return The isCanStart. */ @java.lang.Override public boolean getIsCanStart() { return isCanStart_; } /** * bool isCanStart = 4; * @param value The isCanStart to set. * @return This builder for chaining. */ public Builder setIsCanStart(boolean value) { isCanStart_ = value; onChanged(); return this; } /** * bool isCanStart = 4; * @return This builder for chaining. */ public Builder clearIsCanStart() { isCanStart_ = false; onChanged(); return this; } private int id_ ; /** * uint32 id = 7; * @return The id. */ @java.lang.Override public int getId() { return id_; } /** * uint32 id = 7; * @param value The id to set. * @return This builder for chaining. */ public Builder setId(int value) { id_ = value; onChanged(); return this; } /** * uint32 id = 7; * @return This builder for chaining. */ public Builder clearId() { id_ = 0; onChanged(); return this; } private int minFinishTime_ ; /** * uint32 minFinishTime = 1; * @return The minFinishTime. */ @java.lang.Override public int getMinFinishTime() { return minFinishTime_; } /** * uint32 minFinishTime = 1; * @param value The minFinishTime to set. * @return This builder for chaining. */ public Builder setMinFinishTime(int value) { minFinishTime_ = value; onChanged(); return this; } /** * uint32 minFinishTime = 1; * @return This builder for chaining. */ public Builder clearMinFinishTime() { minFinishTime_ = 0; onChanged(); return this; } private boolean isFinished_ ; /** * bool isFinished = 14; * @return The isFinished. */ @java.lang.Override public boolean getIsFinished() { return isFinished_; } /** * bool isFinished = 14; * @param value The isFinished to set. * @return This builder for chaining. */ public Builder setIsFinished(boolean value) { isFinished_ = value; onChanged(); return this; } /** * bool isFinished = 14; * @return This builder for chaining. */ public Builder clearIsFinished() { isFinished_ = false; onChanged(); return this; } private boolean isShowTips_ ; /** * bool isShowTips = 2; * @return The isShowTips. */ @java.lang.Override public boolean getIsShowTips() { return isShowTips_; } /** * bool isShowTips = 2; * @param value The isShowTips to set. * @return This builder for chaining. */ public Builder setIsShowTips(boolean value) { isShowTips_ = value; onChanged(); return this; } /** * bool isShowTips = 2; * @return This builder for chaining. */ public Builder clearIsShowTips() { isShowTips_ = 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:LanternProjectionLevelInfo) } // @@protoc_insertion_point(class_scope:LanternProjectionLevelInfo) private static final emu.grasscutter.net.proto.LanternProjectionLevelInfoOuterClass.LanternProjectionLevelInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new emu.grasscutter.net.proto.LanternProjectionLevelInfoOuterClass.LanternProjectionLevelInfo(); } public static emu.grasscutter.net.proto.LanternProjectionLevelInfoOuterClass.LanternProjectionLevelInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public LanternProjectionLevelInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new LanternProjectionLevelInfo(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public emu.grasscutter.net.proto.LanternProjectionLevelInfoOuterClass.LanternProjectionLevelInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_LanternProjectionLevelInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_LanternProjectionLevelInfo_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 LanternProjectionLevelInfo.proto\"{\n\032La" + "nternProjectionLevelInfo\022\022\n\nisCanStart\030\004" + " \001(\010\022\n\n\002id\030\007 \001(\r\022\025\n\rminFinishTime\030\001 \001(\r\022" + "\022\n\nisFinished\030\016 \001(\010\022\022\n\nisShowTips\030\002 \001(\010B" + "\033\n\031emu.grasscutter.net.protob\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }); internal_static_LanternProjectionLevelInfo_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_LanternProjectionLevelInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_LanternProjectionLevelInfo_descriptor, new java.lang.String[] { "IsCanStart", "Id", "MinFinishTime", "IsFinished", "IsShowTips", }); } // @@protoc_insertion_point(outer_class_scope) }