// Generated by the protocol buffer compiler. DO NOT EDIT! // source: FlightActivityDetailInfo.proto package emu.grasscutter.net.proto; public final class FlightActivityDetailInfoOuterClass { private FlightActivityDetailInfoOuterClass() {} 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 FlightActivityDetailInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:FlightActivityDetailInfo) com.google.protobuf.MessageOrBuilder { /** * repeated .FlightDailyRecord daily_record_list = 12; */ java.util.List getDailyRecordListList(); /** * repeated .FlightDailyRecord daily_record_list = 12; */ emu.grasscutter.net.proto.FlightDailyRecordOuterClass.FlightDailyRecord getDailyRecordList(int index); /** * repeated .FlightDailyRecord daily_record_list = 12; */ int getDailyRecordListCount(); /** * repeated .FlightDailyRecord daily_record_list = 12; */ java.util.List getDailyRecordListOrBuilderList(); /** * repeated .FlightDailyRecord daily_record_list = 12; */ emu.grasscutter.net.proto.FlightDailyRecordOuterClass.FlightDailyRecordOrBuilder getDailyRecordListOrBuilder( int index); /** * uint32 preview_reward_id = 1; * @return The previewRewardId. */ int getPreviewRewardId(); /** * uint32 min_open_player_level = 4; * @return The minOpenPlayerLevel. */ int getMinOpenPlayerLevel(); } /** * Protobuf type {@code FlightActivityDetailInfo} */ public static final class FlightActivityDetailInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:FlightActivityDetailInfo) FlightActivityDetailInfoOrBuilder { private static final long serialVersionUID = 0L; // Use FlightActivityDetailInfo.newBuilder() to construct. private FlightActivityDetailInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private FlightActivityDetailInfo() { dailyRecordList_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new FlightActivityDetailInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private FlightActivityDetailInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; 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: { previewRewardId_ = input.readUInt32(); break; } case 32: { minOpenPlayerLevel_ = input.readUInt32(); break; } case 98: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { dailyRecordList_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } dailyRecordList_.add( input.readMessage(emu.grasscutter.net.proto.FlightDailyRecordOuterClass.FlightDailyRecord.parser(), extensionRegistry)); 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 { if (((mutable_bitField0_ & 0x00000001) != 0)) { dailyRecordList_ = java.util.Collections.unmodifiableList(dailyRecordList_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return emu.grasscutter.net.proto.FlightActivityDetailInfoOuterClass.internal_static_FlightActivityDetailInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.FlightActivityDetailInfoOuterClass.internal_static_FlightActivityDetailInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.FlightActivityDetailInfoOuterClass.FlightActivityDetailInfo.class, emu.grasscutter.net.proto.FlightActivityDetailInfoOuterClass.FlightActivityDetailInfo.Builder.class); } public static final int DAILY_RECORD_LIST_FIELD_NUMBER = 12; private java.util.List dailyRecordList_; /** * repeated .FlightDailyRecord daily_record_list = 12; */ @java.lang.Override public java.util.List getDailyRecordListList() { return dailyRecordList_; } /** * repeated .FlightDailyRecord daily_record_list = 12; */ @java.lang.Override public java.util.List getDailyRecordListOrBuilderList() { return dailyRecordList_; } /** * repeated .FlightDailyRecord daily_record_list = 12; */ @java.lang.Override public int getDailyRecordListCount() { return dailyRecordList_.size(); } /** * repeated .FlightDailyRecord daily_record_list = 12; */ @java.lang.Override public emu.grasscutter.net.proto.FlightDailyRecordOuterClass.FlightDailyRecord getDailyRecordList(int index) { return dailyRecordList_.get(index); } /** * repeated .FlightDailyRecord daily_record_list = 12; */ @java.lang.Override public emu.grasscutter.net.proto.FlightDailyRecordOuterClass.FlightDailyRecordOrBuilder getDailyRecordListOrBuilder( int index) { return dailyRecordList_.get(index); } public static final int PREVIEW_REWARD_ID_FIELD_NUMBER = 1; private int previewRewardId_; /** * uint32 preview_reward_id = 1; * @return The previewRewardId. */ @java.lang.Override public int getPreviewRewardId() { return previewRewardId_; } public static final int MIN_OPEN_PLAYER_LEVEL_FIELD_NUMBER = 4; private int minOpenPlayerLevel_; /** * uint32 min_open_player_level = 4; * @return The minOpenPlayerLevel. */ @java.lang.Override public int getMinOpenPlayerLevel() { return minOpenPlayerLevel_; } 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 (previewRewardId_ != 0) { output.writeUInt32(1, previewRewardId_); } if (minOpenPlayerLevel_ != 0) { output.writeUInt32(4, minOpenPlayerLevel_); } for (int i = 0; i < dailyRecordList_.size(); i++) { output.writeMessage(12, dailyRecordList_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (previewRewardId_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, previewRewardId_); } if (minOpenPlayerLevel_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, minOpenPlayerLevel_); } for (int i = 0; i < dailyRecordList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, dailyRecordList_.get(i)); } 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.FlightActivityDetailInfoOuterClass.FlightActivityDetailInfo)) { return super.equals(obj); } emu.grasscutter.net.proto.FlightActivityDetailInfoOuterClass.FlightActivityDetailInfo other = (emu.grasscutter.net.proto.FlightActivityDetailInfoOuterClass.FlightActivityDetailInfo) obj; if (!getDailyRecordListList() .equals(other.getDailyRecordListList())) return false; if (getPreviewRewardId() != other.getPreviewRewardId()) return false; if (getMinOpenPlayerLevel() != other.getMinOpenPlayerLevel()) 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 (getDailyRecordListCount() > 0) { hash = (37 * hash) + DAILY_RECORD_LIST_FIELD_NUMBER; hash = (53 * hash) + getDailyRecordListList().hashCode(); } hash = (37 * hash) + PREVIEW_REWARD_ID_FIELD_NUMBER; hash = (53 * hash) + getPreviewRewardId(); hash = (37 * hash) + MIN_OPEN_PLAYER_LEVEL_FIELD_NUMBER; hash = (53 * hash) + getMinOpenPlayerLevel(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static emu.grasscutter.net.proto.FlightActivityDetailInfoOuterClass.FlightActivityDetailInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.FlightActivityDetailInfoOuterClass.FlightActivityDetailInfo 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.FlightActivityDetailInfoOuterClass.FlightActivityDetailInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.FlightActivityDetailInfoOuterClass.FlightActivityDetailInfo 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.FlightActivityDetailInfoOuterClass.FlightActivityDetailInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.FlightActivityDetailInfoOuterClass.FlightActivityDetailInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static emu.grasscutter.net.proto.FlightActivityDetailInfoOuterClass.FlightActivityDetailInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.FlightActivityDetailInfoOuterClass.FlightActivityDetailInfo 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.FlightActivityDetailInfoOuterClass.FlightActivityDetailInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.FlightActivityDetailInfoOuterClass.FlightActivityDetailInfo 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.FlightActivityDetailInfoOuterClass.FlightActivityDetailInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.FlightActivityDetailInfoOuterClass.FlightActivityDetailInfo 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.FlightActivityDetailInfoOuterClass.FlightActivityDetailInfo 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 FlightActivityDetailInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:FlightActivityDetailInfo) emu.grasscutter.net.proto.FlightActivityDetailInfoOuterClass.FlightActivityDetailInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return emu.grasscutter.net.proto.FlightActivityDetailInfoOuterClass.internal_static_FlightActivityDetailInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.FlightActivityDetailInfoOuterClass.internal_static_FlightActivityDetailInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.FlightActivityDetailInfoOuterClass.FlightActivityDetailInfo.class, emu.grasscutter.net.proto.FlightActivityDetailInfoOuterClass.FlightActivityDetailInfo.Builder.class); } // Construct using emu.grasscutter.net.proto.FlightActivityDetailInfoOuterClass.FlightActivityDetailInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getDailyRecordListFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (dailyRecordListBuilder_ == null) { dailyRecordList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { dailyRecordListBuilder_.clear(); } previewRewardId_ = 0; minOpenPlayerLevel_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return emu.grasscutter.net.proto.FlightActivityDetailInfoOuterClass.internal_static_FlightActivityDetailInfo_descriptor; } @java.lang.Override public emu.grasscutter.net.proto.FlightActivityDetailInfoOuterClass.FlightActivityDetailInfo getDefaultInstanceForType() { return emu.grasscutter.net.proto.FlightActivityDetailInfoOuterClass.FlightActivityDetailInfo.getDefaultInstance(); } @java.lang.Override public emu.grasscutter.net.proto.FlightActivityDetailInfoOuterClass.FlightActivityDetailInfo build() { emu.grasscutter.net.proto.FlightActivityDetailInfoOuterClass.FlightActivityDetailInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public emu.grasscutter.net.proto.FlightActivityDetailInfoOuterClass.FlightActivityDetailInfo buildPartial() { emu.grasscutter.net.proto.FlightActivityDetailInfoOuterClass.FlightActivityDetailInfo result = new emu.grasscutter.net.proto.FlightActivityDetailInfoOuterClass.FlightActivityDetailInfo(this); int from_bitField0_ = bitField0_; if (dailyRecordListBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { dailyRecordList_ = java.util.Collections.unmodifiableList(dailyRecordList_); bitField0_ = (bitField0_ & ~0x00000001); } result.dailyRecordList_ = dailyRecordList_; } else { result.dailyRecordList_ = dailyRecordListBuilder_.build(); } result.previewRewardId_ = previewRewardId_; result.minOpenPlayerLevel_ = minOpenPlayerLevel_; 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.FlightActivityDetailInfoOuterClass.FlightActivityDetailInfo) { return mergeFrom((emu.grasscutter.net.proto.FlightActivityDetailInfoOuterClass.FlightActivityDetailInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(emu.grasscutter.net.proto.FlightActivityDetailInfoOuterClass.FlightActivityDetailInfo other) { if (other == emu.grasscutter.net.proto.FlightActivityDetailInfoOuterClass.FlightActivityDetailInfo.getDefaultInstance()) return this; if (dailyRecordListBuilder_ == null) { if (!other.dailyRecordList_.isEmpty()) { if (dailyRecordList_.isEmpty()) { dailyRecordList_ = other.dailyRecordList_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureDailyRecordListIsMutable(); dailyRecordList_.addAll(other.dailyRecordList_); } onChanged(); } } else { if (!other.dailyRecordList_.isEmpty()) { if (dailyRecordListBuilder_.isEmpty()) { dailyRecordListBuilder_.dispose(); dailyRecordListBuilder_ = null; dailyRecordList_ = other.dailyRecordList_; bitField0_ = (bitField0_ & ~0x00000001); dailyRecordListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getDailyRecordListFieldBuilder() : null; } else { dailyRecordListBuilder_.addAllMessages(other.dailyRecordList_); } } } if (other.getPreviewRewardId() != 0) { setPreviewRewardId(other.getPreviewRewardId()); } if (other.getMinOpenPlayerLevel() != 0) { setMinOpenPlayerLevel(other.getMinOpenPlayerLevel()); } 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.FlightActivityDetailInfoOuterClass.FlightActivityDetailInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (emu.grasscutter.net.proto.FlightActivityDetailInfoOuterClass.FlightActivityDetailInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List dailyRecordList_ = java.util.Collections.emptyList(); private void ensureDailyRecordListIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { dailyRecordList_ = new java.util.ArrayList(dailyRecordList_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< emu.grasscutter.net.proto.FlightDailyRecordOuterClass.FlightDailyRecord, emu.grasscutter.net.proto.FlightDailyRecordOuterClass.FlightDailyRecord.Builder, emu.grasscutter.net.proto.FlightDailyRecordOuterClass.FlightDailyRecordOrBuilder> dailyRecordListBuilder_; /** * repeated .FlightDailyRecord daily_record_list = 12; */ public java.util.List getDailyRecordListList() { if (dailyRecordListBuilder_ == null) { return java.util.Collections.unmodifiableList(dailyRecordList_); } else { return dailyRecordListBuilder_.getMessageList(); } } /** * repeated .FlightDailyRecord daily_record_list = 12; */ public int getDailyRecordListCount() { if (dailyRecordListBuilder_ == null) { return dailyRecordList_.size(); } else { return dailyRecordListBuilder_.getCount(); } } /** * repeated .FlightDailyRecord daily_record_list = 12; */ public emu.grasscutter.net.proto.FlightDailyRecordOuterClass.FlightDailyRecord getDailyRecordList(int index) { if (dailyRecordListBuilder_ == null) { return dailyRecordList_.get(index); } else { return dailyRecordListBuilder_.getMessage(index); } } /** * repeated .FlightDailyRecord daily_record_list = 12; */ public Builder setDailyRecordList( int index, emu.grasscutter.net.proto.FlightDailyRecordOuterClass.FlightDailyRecord value) { if (dailyRecordListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDailyRecordListIsMutable(); dailyRecordList_.set(index, value); onChanged(); } else { dailyRecordListBuilder_.setMessage(index, value); } return this; } /** * repeated .FlightDailyRecord daily_record_list = 12; */ public Builder setDailyRecordList( int index, emu.grasscutter.net.proto.FlightDailyRecordOuterClass.FlightDailyRecord.Builder builderForValue) { if (dailyRecordListBuilder_ == null) { ensureDailyRecordListIsMutable(); dailyRecordList_.set(index, builderForValue.build()); onChanged(); } else { dailyRecordListBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .FlightDailyRecord daily_record_list = 12; */ public Builder addDailyRecordList(emu.grasscutter.net.proto.FlightDailyRecordOuterClass.FlightDailyRecord value) { if (dailyRecordListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDailyRecordListIsMutable(); dailyRecordList_.add(value); onChanged(); } else { dailyRecordListBuilder_.addMessage(value); } return this; } /** * repeated .FlightDailyRecord daily_record_list = 12; */ public Builder addDailyRecordList( int index, emu.grasscutter.net.proto.FlightDailyRecordOuterClass.FlightDailyRecord value) { if (dailyRecordListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDailyRecordListIsMutable(); dailyRecordList_.add(index, value); onChanged(); } else { dailyRecordListBuilder_.addMessage(index, value); } return this; } /** * repeated .FlightDailyRecord daily_record_list = 12; */ public Builder addDailyRecordList( emu.grasscutter.net.proto.FlightDailyRecordOuterClass.FlightDailyRecord.Builder builderForValue) { if (dailyRecordListBuilder_ == null) { ensureDailyRecordListIsMutable(); dailyRecordList_.add(builderForValue.build()); onChanged(); } else { dailyRecordListBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .FlightDailyRecord daily_record_list = 12; */ public Builder addDailyRecordList( int index, emu.grasscutter.net.proto.FlightDailyRecordOuterClass.FlightDailyRecord.Builder builderForValue) { if (dailyRecordListBuilder_ == null) { ensureDailyRecordListIsMutable(); dailyRecordList_.add(index, builderForValue.build()); onChanged(); } else { dailyRecordListBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .FlightDailyRecord daily_record_list = 12; */ public Builder addAllDailyRecordList( java.lang.Iterable values) { if (dailyRecordListBuilder_ == null) { ensureDailyRecordListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, dailyRecordList_); onChanged(); } else { dailyRecordListBuilder_.addAllMessages(values); } return this; } /** * repeated .FlightDailyRecord daily_record_list = 12; */ public Builder clearDailyRecordList() { if (dailyRecordListBuilder_ == null) { dailyRecordList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { dailyRecordListBuilder_.clear(); } return this; } /** * repeated .FlightDailyRecord daily_record_list = 12; */ public Builder removeDailyRecordList(int index) { if (dailyRecordListBuilder_ == null) { ensureDailyRecordListIsMutable(); dailyRecordList_.remove(index); onChanged(); } else { dailyRecordListBuilder_.remove(index); } return this; } /** * repeated .FlightDailyRecord daily_record_list = 12; */ public emu.grasscutter.net.proto.FlightDailyRecordOuterClass.FlightDailyRecord.Builder getDailyRecordListBuilder( int index) { return getDailyRecordListFieldBuilder().getBuilder(index); } /** * repeated .FlightDailyRecord daily_record_list = 12; */ public emu.grasscutter.net.proto.FlightDailyRecordOuterClass.FlightDailyRecordOrBuilder getDailyRecordListOrBuilder( int index) { if (dailyRecordListBuilder_ == null) { return dailyRecordList_.get(index); } else { return dailyRecordListBuilder_.getMessageOrBuilder(index); } } /** * repeated .FlightDailyRecord daily_record_list = 12; */ public java.util.List getDailyRecordListOrBuilderList() { if (dailyRecordListBuilder_ != null) { return dailyRecordListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(dailyRecordList_); } } /** * repeated .FlightDailyRecord daily_record_list = 12; */ public emu.grasscutter.net.proto.FlightDailyRecordOuterClass.FlightDailyRecord.Builder addDailyRecordListBuilder() { return getDailyRecordListFieldBuilder().addBuilder( emu.grasscutter.net.proto.FlightDailyRecordOuterClass.FlightDailyRecord.getDefaultInstance()); } /** * repeated .FlightDailyRecord daily_record_list = 12; */ public emu.grasscutter.net.proto.FlightDailyRecordOuterClass.FlightDailyRecord.Builder addDailyRecordListBuilder( int index) { return getDailyRecordListFieldBuilder().addBuilder( index, emu.grasscutter.net.proto.FlightDailyRecordOuterClass.FlightDailyRecord.getDefaultInstance()); } /** * repeated .FlightDailyRecord daily_record_list = 12; */ public java.util.List getDailyRecordListBuilderList() { return getDailyRecordListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< emu.grasscutter.net.proto.FlightDailyRecordOuterClass.FlightDailyRecord, emu.grasscutter.net.proto.FlightDailyRecordOuterClass.FlightDailyRecord.Builder, emu.grasscutter.net.proto.FlightDailyRecordOuterClass.FlightDailyRecordOrBuilder> getDailyRecordListFieldBuilder() { if (dailyRecordListBuilder_ == null) { dailyRecordListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< emu.grasscutter.net.proto.FlightDailyRecordOuterClass.FlightDailyRecord, emu.grasscutter.net.proto.FlightDailyRecordOuterClass.FlightDailyRecord.Builder, emu.grasscutter.net.proto.FlightDailyRecordOuterClass.FlightDailyRecordOrBuilder>( dailyRecordList_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); dailyRecordList_ = null; } return dailyRecordListBuilder_; } private int previewRewardId_ ; /** * uint32 preview_reward_id = 1; * @return The previewRewardId. */ @java.lang.Override public int getPreviewRewardId() { return previewRewardId_; } /** * uint32 preview_reward_id = 1; * @param value The previewRewardId to set. * @return This builder for chaining. */ public Builder setPreviewRewardId(int value) { previewRewardId_ = value; onChanged(); return this; } /** * uint32 preview_reward_id = 1; * @return This builder for chaining. */ public Builder clearPreviewRewardId() { previewRewardId_ = 0; onChanged(); return this; } private int minOpenPlayerLevel_ ; /** * uint32 min_open_player_level = 4; * @return The minOpenPlayerLevel. */ @java.lang.Override public int getMinOpenPlayerLevel() { return minOpenPlayerLevel_; } /** * uint32 min_open_player_level = 4; * @param value The minOpenPlayerLevel to set. * @return This builder for chaining. */ public Builder setMinOpenPlayerLevel(int value) { minOpenPlayerLevel_ = value; onChanged(); return this; } /** * uint32 min_open_player_level = 4; * @return This builder for chaining. */ public Builder clearMinOpenPlayerLevel() { minOpenPlayerLevel_ = 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:FlightActivityDetailInfo) } // @@protoc_insertion_point(class_scope:FlightActivityDetailInfo) private static final emu.grasscutter.net.proto.FlightActivityDetailInfoOuterClass.FlightActivityDetailInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new emu.grasscutter.net.proto.FlightActivityDetailInfoOuterClass.FlightActivityDetailInfo(); } public static emu.grasscutter.net.proto.FlightActivityDetailInfoOuterClass.FlightActivityDetailInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public FlightActivityDetailInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new FlightActivityDetailInfo(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.FlightActivityDetailInfoOuterClass.FlightActivityDetailInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_FlightActivityDetailInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_FlightActivityDetailInfo_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\036FlightActivityDetailInfo.proto\032\027Flight" + "DailyRecord.proto\"\203\001\n\030FlightActivityDeta" + "ilInfo\022-\n\021daily_record_list\030\014 \003(\0132\022.Flig" + "htDailyRecord\022\031\n\021preview_reward_id\030\001 \001(\r" + "\022\035\n\025min_open_player_level\030\004 \001(\rB\033\n\031emu.g" + "rasscutter.net.protob\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { emu.grasscutter.net.proto.FlightDailyRecordOuterClass.getDescriptor(), }); internal_static_FlightActivityDetailInfo_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_FlightActivityDetailInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_FlightActivityDetailInfo_descriptor, new java.lang.String[] { "DailyRecordList", "PreviewRewardId", "MinOpenPlayerLevel", }); emu.grasscutter.net.proto.FlightDailyRecordOuterClass.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }