// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: FungusTrainingPoolPreviewDetail.proto

package emu.grasscutter.net.proto;

public final class FungusTrainingPoolPreviewDetailOuterClass {
  private FungusTrainingPoolPreviewDetailOuterClass() {}
  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 FungusTrainingPoolPreviewDetailOrBuilder extends
      // @@protoc_insertion_point(interface_extends:FungusTrainingPoolPreviewDetail)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>repeated .FungusTrainingMonsterPreviewDetail monster_preview_detail_list = 10;</code>
     */
    java.util.List<emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetail> 
        getMonsterPreviewDetailListList();
    /**
     * <code>repeated .FungusTrainingMonsterPreviewDetail monster_preview_detail_list = 10;</code>
     */
    emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetail getMonsterPreviewDetailList(int index);
    /**
     * <code>repeated .FungusTrainingMonsterPreviewDetail monster_preview_detail_list = 10;</code>
     */
    int getMonsterPreviewDetailListCount();
    /**
     * <code>repeated .FungusTrainingMonsterPreviewDetail monster_preview_detail_list = 10;</code>
     */
    java.util.List<? extends emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetailOrBuilder> 
        getMonsterPreviewDetailListOrBuilderList();
    /**
     * <code>repeated .FungusTrainingMonsterPreviewDetail monster_preview_detail_list = 10;</code>
     */
    emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetailOrBuilder getMonsterPreviewDetailListOrBuilder(
        int index);

    /**
     * <code>uint32 pool_id = 8;</code>
     * @return The poolId.
     */
    int getPoolId();
  }
  /**
   * Protobuf type {@code FungusTrainingPoolPreviewDetail}
   */
  public static final class FungusTrainingPoolPreviewDetail extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:FungusTrainingPoolPreviewDetail)
      FungusTrainingPoolPreviewDetailOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use FungusTrainingPoolPreviewDetail.newBuilder() to construct.
    private FungusTrainingPoolPreviewDetail(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private FungusTrainingPoolPreviewDetail() {
      monsterPreviewDetailList_ = java.util.Collections.emptyList();
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new FungusTrainingPoolPreviewDetail();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private FungusTrainingPoolPreviewDetail(
        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 64: {

              poolId_ = input.readUInt32();
              break;
            }
            case 82: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                monsterPreviewDetailList_ = new java.util.ArrayList<emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetail>();
                mutable_bitField0_ |= 0x00000001;
              }
              monsterPreviewDetailList_.add(
                  input.readMessage(emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetail.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)) {
          monsterPreviewDetailList_ = java.util.Collections.unmodifiableList(monsterPreviewDetailList_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return emu.grasscutter.net.proto.FungusTrainingPoolPreviewDetailOuterClass.internal_static_FungusTrainingPoolPreviewDetail_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return emu.grasscutter.net.proto.FungusTrainingPoolPreviewDetailOuterClass.internal_static_FungusTrainingPoolPreviewDetail_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              emu.grasscutter.net.proto.FungusTrainingPoolPreviewDetailOuterClass.FungusTrainingPoolPreviewDetail.class, emu.grasscutter.net.proto.FungusTrainingPoolPreviewDetailOuterClass.FungusTrainingPoolPreviewDetail.Builder.class);
    }

    public static final int MONSTER_PREVIEW_DETAIL_LIST_FIELD_NUMBER = 10;
    private java.util.List<emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetail> monsterPreviewDetailList_;
    /**
     * <code>repeated .FungusTrainingMonsterPreviewDetail monster_preview_detail_list = 10;</code>
     */
    @java.lang.Override
    public java.util.List<emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetail> getMonsterPreviewDetailListList() {
      return monsterPreviewDetailList_;
    }
    /**
     * <code>repeated .FungusTrainingMonsterPreviewDetail monster_preview_detail_list = 10;</code>
     */
    @java.lang.Override
    public java.util.List<? extends emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetailOrBuilder> 
        getMonsterPreviewDetailListOrBuilderList() {
      return monsterPreviewDetailList_;
    }
    /**
     * <code>repeated .FungusTrainingMonsterPreviewDetail monster_preview_detail_list = 10;</code>
     */
    @java.lang.Override
    public int getMonsterPreviewDetailListCount() {
      return monsterPreviewDetailList_.size();
    }
    /**
     * <code>repeated .FungusTrainingMonsterPreviewDetail monster_preview_detail_list = 10;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetail getMonsterPreviewDetailList(int index) {
      return monsterPreviewDetailList_.get(index);
    }
    /**
     * <code>repeated .FungusTrainingMonsterPreviewDetail monster_preview_detail_list = 10;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetailOrBuilder getMonsterPreviewDetailListOrBuilder(
        int index) {
      return monsterPreviewDetailList_.get(index);
    }

    public static final int POOL_ID_FIELD_NUMBER = 8;
    private int poolId_;
    /**
     * <code>uint32 pool_id = 8;</code>
     * @return The poolId.
     */
    @java.lang.Override
    public int getPoolId() {
      return poolId_;
    }

    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 (poolId_ != 0) {
        output.writeUInt32(8, poolId_);
      }
      for (int i = 0; i < monsterPreviewDetailList_.size(); i++) {
        output.writeMessage(10, monsterPreviewDetailList_.get(i));
      }
      unknownFields.writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (poolId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(8, poolId_);
      }
      for (int i = 0; i < monsterPreviewDetailList_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(10, monsterPreviewDetailList_.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.FungusTrainingPoolPreviewDetailOuterClass.FungusTrainingPoolPreviewDetail)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.FungusTrainingPoolPreviewDetailOuterClass.FungusTrainingPoolPreviewDetail other = (emu.grasscutter.net.proto.FungusTrainingPoolPreviewDetailOuterClass.FungusTrainingPoolPreviewDetail) obj;

      if (!getMonsterPreviewDetailListList()
          .equals(other.getMonsterPreviewDetailListList())) return false;
      if (getPoolId()
          != other.getPoolId()) 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 (getMonsterPreviewDetailListCount() > 0) {
        hash = (37 * hash) + MONSTER_PREVIEW_DETAIL_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getMonsterPreviewDetailListList().hashCode();
      }
      hash = (37 * hash) + POOL_ID_FIELD_NUMBER;
      hash = (53 * hash) + getPoolId();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static emu.grasscutter.net.proto.FungusTrainingPoolPreviewDetailOuterClass.FungusTrainingPoolPreviewDetail parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.FungusTrainingPoolPreviewDetailOuterClass.FungusTrainingPoolPreviewDetail 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.FungusTrainingPoolPreviewDetailOuterClass.FungusTrainingPoolPreviewDetail parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.FungusTrainingPoolPreviewDetailOuterClass.FungusTrainingPoolPreviewDetail 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.FungusTrainingPoolPreviewDetailOuterClass.FungusTrainingPoolPreviewDetail parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.FungusTrainingPoolPreviewDetailOuterClass.FungusTrainingPoolPreviewDetail parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.FungusTrainingPoolPreviewDetailOuterClass.FungusTrainingPoolPreviewDetail parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.FungusTrainingPoolPreviewDetailOuterClass.FungusTrainingPoolPreviewDetail 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.FungusTrainingPoolPreviewDetailOuterClass.FungusTrainingPoolPreviewDetail parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.FungusTrainingPoolPreviewDetailOuterClass.FungusTrainingPoolPreviewDetail 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.FungusTrainingPoolPreviewDetailOuterClass.FungusTrainingPoolPreviewDetail parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.FungusTrainingPoolPreviewDetailOuterClass.FungusTrainingPoolPreviewDetail 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.FungusTrainingPoolPreviewDetailOuterClass.FungusTrainingPoolPreviewDetail 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 FungusTrainingPoolPreviewDetail}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:FungusTrainingPoolPreviewDetail)
        emu.grasscutter.net.proto.FungusTrainingPoolPreviewDetailOuterClass.FungusTrainingPoolPreviewDetailOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return emu.grasscutter.net.proto.FungusTrainingPoolPreviewDetailOuterClass.internal_static_FungusTrainingPoolPreviewDetail_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return emu.grasscutter.net.proto.FungusTrainingPoolPreviewDetailOuterClass.internal_static_FungusTrainingPoolPreviewDetail_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                emu.grasscutter.net.proto.FungusTrainingPoolPreviewDetailOuterClass.FungusTrainingPoolPreviewDetail.class, emu.grasscutter.net.proto.FungusTrainingPoolPreviewDetailOuterClass.FungusTrainingPoolPreviewDetail.Builder.class);
      }

      // Construct using emu.grasscutter.net.proto.FungusTrainingPoolPreviewDetailOuterClass.FungusTrainingPoolPreviewDetail.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getMonsterPreviewDetailListFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (monsterPreviewDetailListBuilder_ == null) {
          monsterPreviewDetailList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          monsterPreviewDetailListBuilder_.clear();
        }
        poolId_ = 0;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return emu.grasscutter.net.proto.FungusTrainingPoolPreviewDetailOuterClass.internal_static_FungusTrainingPoolPreviewDetail_descriptor;
      }

      @java.lang.Override
      public emu.grasscutter.net.proto.FungusTrainingPoolPreviewDetailOuterClass.FungusTrainingPoolPreviewDetail getDefaultInstanceForType() {
        return emu.grasscutter.net.proto.FungusTrainingPoolPreviewDetailOuterClass.FungusTrainingPoolPreviewDetail.getDefaultInstance();
      }

      @java.lang.Override
      public emu.grasscutter.net.proto.FungusTrainingPoolPreviewDetailOuterClass.FungusTrainingPoolPreviewDetail build() {
        emu.grasscutter.net.proto.FungusTrainingPoolPreviewDetailOuterClass.FungusTrainingPoolPreviewDetail result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public emu.grasscutter.net.proto.FungusTrainingPoolPreviewDetailOuterClass.FungusTrainingPoolPreviewDetail buildPartial() {
        emu.grasscutter.net.proto.FungusTrainingPoolPreviewDetailOuterClass.FungusTrainingPoolPreviewDetail result = new emu.grasscutter.net.proto.FungusTrainingPoolPreviewDetailOuterClass.FungusTrainingPoolPreviewDetail(this);
        int from_bitField0_ = bitField0_;
        if (monsterPreviewDetailListBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            monsterPreviewDetailList_ = java.util.Collections.unmodifiableList(monsterPreviewDetailList_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.monsterPreviewDetailList_ = monsterPreviewDetailList_;
        } else {
          result.monsterPreviewDetailList_ = monsterPreviewDetailListBuilder_.build();
        }
        result.poolId_ = poolId_;
        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.FungusTrainingPoolPreviewDetailOuterClass.FungusTrainingPoolPreviewDetail) {
          return mergeFrom((emu.grasscutter.net.proto.FungusTrainingPoolPreviewDetailOuterClass.FungusTrainingPoolPreviewDetail)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.FungusTrainingPoolPreviewDetailOuterClass.FungusTrainingPoolPreviewDetail other) {
        if (other == emu.grasscutter.net.proto.FungusTrainingPoolPreviewDetailOuterClass.FungusTrainingPoolPreviewDetail.getDefaultInstance()) return this;
        if (monsterPreviewDetailListBuilder_ == null) {
          if (!other.monsterPreviewDetailList_.isEmpty()) {
            if (monsterPreviewDetailList_.isEmpty()) {
              monsterPreviewDetailList_ = other.monsterPreviewDetailList_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureMonsterPreviewDetailListIsMutable();
              monsterPreviewDetailList_.addAll(other.monsterPreviewDetailList_);
            }
            onChanged();
          }
        } else {
          if (!other.monsterPreviewDetailList_.isEmpty()) {
            if (monsterPreviewDetailListBuilder_.isEmpty()) {
              monsterPreviewDetailListBuilder_.dispose();
              monsterPreviewDetailListBuilder_ = null;
              monsterPreviewDetailList_ = other.monsterPreviewDetailList_;
              bitField0_ = (bitField0_ & ~0x00000001);
              monsterPreviewDetailListBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getMonsterPreviewDetailListFieldBuilder() : null;
            } else {
              monsterPreviewDetailListBuilder_.addAllMessages(other.monsterPreviewDetailList_);
            }
          }
        }
        if (other.getPoolId() != 0) {
          setPoolId(other.getPoolId());
        }
        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.FungusTrainingPoolPreviewDetailOuterClass.FungusTrainingPoolPreviewDetail parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.FungusTrainingPoolPreviewDetailOuterClass.FungusTrainingPoolPreviewDetail) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.util.List<emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetail> monsterPreviewDetailList_ =
        java.util.Collections.emptyList();
      private void ensureMonsterPreviewDetailListIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          monsterPreviewDetailList_ = new java.util.ArrayList<emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetail>(monsterPreviewDetailList_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetail, emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetail.Builder, emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetailOrBuilder> monsterPreviewDetailListBuilder_;

      /**
       * <code>repeated .FungusTrainingMonsterPreviewDetail monster_preview_detail_list = 10;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetail> getMonsterPreviewDetailListList() {
        if (monsterPreviewDetailListBuilder_ == null) {
          return java.util.Collections.unmodifiableList(monsterPreviewDetailList_);
        } else {
          return monsterPreviewDetailListBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .FungusTrainingMonsterPreviewDetail monster_preview_detail_list = 10;</code>
       */
      public int getMonsterPreviewDetailListCount() {
        if (monsterPreviewDetailListBuilder_ == null) {
          return monsterPreviewDetailList_.size();
        } else {
          return monsterPreviewDetailListBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .FungusTrainingMonsterPreviewDetail monster_preview_detail_list = 10;</code>
       */
      public emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetail getMonsterPreviewDetailList(int index) {
        if (monsterPreviewDetailListBuilder_ == null) {
          return monsterPreviewDetailList_.get(index);
        } else {
          return monsterPreviewDetailListBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .FungusTrainingMonsterPreviewDetail monster_preview_detail_list = 10;</code>
       */
      public Builder setMonsterPreviewDetailList(
          int index, emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetail value) {
        if (monsterPreviewDetailListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureMonsterPreviewDetailListIsMutable();
          monsterPreviewDetailList_.set(index, value);
          onChanged();
        } else {
          monsterPreviewDetailListBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .FungusTrainingMonsterPreviewDetail monster_preview_detail_list = 10;</code>
       */
      public Builder setMonsterPreviewDetailList(
          int index, emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetail.Builder builderForValue) {
        if (monsterPreviewDetailListBuilder_ == null) {
          ensureMonsterPreviewDetailListIsMutable();
          monsterPreviewDetailList_.set(index, builderForValue.build());
          onChanged();
        } else {
          monsterPreviewDetailListBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .FungusTrainingMonsterPreviewDetail monster_preview_detail_list = 10;</code>
       */
      public Builder addMonsterPreviewDetailList(emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetail value) {
        if (monsterPreviewDetailListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureMonsterPreviewDetailListIsMutable();
          monsterPreviewDetailList_.add(value);
          onChanged();
        } else {
          monsterPreviewDetailListBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .FungusTrainingMonsterPreviewDetail monster_preview_detail_list = 10;</code>
       */
      public Builder addMonsterPreviewDetailList(
          int index, emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetail value) {
        if (monsterPreviewDetailListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureMonsterPreviewDetailListIsMutable();
          monsterPreviewDetailList_.add(index, value);
          onChanged();
        } else {
          monsterPreviewDetailListBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .FungusTrainingMonsterPreviewDetail monster_preview_detail_list = 10;</code>
       */
      public Builder addMonsterPreviewDetailList(
          emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetail.Builder builderForValue) {
        if (monsterPreviewDetailListBuilder_ == null) {
          ensureMonsterPreviewDetailListIsMutable();
          monsterPreviewDetailList_.add(builderForValue.build());
          onChanged();
        } else {
          monsterPreviewDetailListBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .FungusTrainingMonsterPreviewDetail monster_preview_detail_list = 10;</code>
       */
      public Builder addMonsterPreviewDetailList(
          int index, emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetail.Builder builderForValue) {
        if (monsterPreviewDetailListBuilder_ == null) {
          ensureMonsterPreviewDetailListIsMutable();
          monsterPreviewDetailList_.add(index, builderForValue.build());
          onChanged();
        } else {
          monsterPreviewDetailListBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .FungusTrainingMonsterPreviewDetail monster_preview_detail_list = 10;</code>
       */
      public Builder addAllMonsterPreviewDetailList(
          java.lang.Iterable<? extends emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetail> values) {
        if (monsterPreviewDetailListBuilder_ == null) {
          ensureMonsterPreviewDetailListIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, monsterPreviewDetailList_);
          onChanged();
        } else {
          monsterPreviewDetailListBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .FungusTrainingMonsterPreviewDetail monster_preview_detail_list = 10;</code>
       */
      public Builder clearMonsterPreviewDetailList() {
        if (monsterPreviewDetailListBuilder_ == null) {
          monsterPreviewDetailList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          monsterPreviewDetailListBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .FungusTrainingMonsterPreviewDetail monster_preview_detail_list = 10;</code>
       */
      public Builder removeMonsterPreviewDetailList(int index) {
        if (monsterPreviewDetailListBuilder_ == null) {
          ensureMonsterPreviewDetailListIsMutable();
          monsterPreviewDetailList_.remove(index);
          onChanged();
        } else {
          monsterPreviewDetailListBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .FungusTrainingMonsterPreviewDetail monster_preview_detail_list = 10;</code>
       */
      public emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetail.Builder getMonsterPreviewDetailListBuilder(
          int index) {
        return getMonsterPreviewDetailListFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .FungusTrainingMonsterPreviewDetail monster_preview_detail_list = 10;</code>
       */
      public emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetailOrBuilder getMonsterPreviewDetailListOrBuilder(
          int index) {
        if (monsterPreviewDetailListBuilder_ == null) {
          return monsterPreviewDetailList_.get(index);  } else {
          return monsterPreviewDetailListBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .FungusTrainingMonsterPreviewDetail monster_preview_detail_list = 10;</code>
       */
      public java.util.List<? extends emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetailOrBuilder> 
           getMonsterPreviewDetailListOrBuilderList() {
        if (monsterPreviewDetailListBuilder_ != null) {
          return monsterPreviewDetailListBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(monsterPreviewDetailList_);
        }
      }
      /**
       * <code>repeated .FungusTrainingMonsterPreviewDetail monster_preview_detail_list = 10;</code>
       */
      public emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetail.Builder addMonsterPreviewDetailListBuilder() {
        return getMonsterPreviewDetailListFieldBuilder().addBuilder(
            emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetail.getDefaultInstance());
      }
      /**
       * <code>repeated .FungusTrainingMonsterPreviewDetail monster_preview_detail_list = 10;</code>
       */
      public emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetail.Builder addMonsterPreviewDetailListBuilder(
          int index) {
        return getMonsterPreviewDetailListFieldBuilder().addBuilder(
            index, emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetail.getDefaultInstance());
      }
      /**
       * <code>repeated .FungusTrainingMonsterPreviewDetail monster_preview_detail_list = 10;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetail.Builder> 
           getMonsterPreviewDetailListBuilderList() {
        return getMonsterPreviewDetailListFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetail, emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetail.Builder, emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetailOrBuilder> 
          getMonsterPreviewDetailListFieldBuilder() {
        if (monsterPreviewDetailListBuilder_ == null) {
          monsterPreviewDetailListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetail, emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetail.Builder, emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetailOrBuilder>(
                  monsterPreviewDetailList_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          monsterPreviewDetailList_ = null;
        }
        return monsterPreviewDetailListBuilder_;
      }

      private int poolId_ ;
      /**
       * <code>uint32 pool_id = 8;</code>
       * @return The poolId.
       */
      @java.lang.Override
      public int getPoolId() {
        return poolId_;
      }
      /**
       * <code>uint32 pool_id = 8;</code>
       * @param value The poolId to set.
       * @return This builder for chaining.
       */
      public Builder setPoolId(int value) {
        
        poolId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 pool_id = 8;</code>
       * @return This builder for chaining.
       */
      public Builder clearPoolId() {
        
        poolId_ = 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:FungusTrainingPoolPreviewDetail)
    }

    // @@protoc_insertion_point(class_scope:FungusTrainingPoolPreviewDetail)
    private static final emu.grasscutter.net.proto.FungusTrainingPoolPreviewDetailOuterClass.FungusTrainingPoolPreviewDetail DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new emu.grasscutter.net.proto.FungusTrainingPoolPreviewDetailOuterClass.FungusTrainingPoolPreviewDetail();
    }

    public static emu.grasscutter.net.proto.FungusTrainingPoolPreviewDetailOuterClass.FungusTrainingPoolPreviewDetail getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<FungusTrainingPoolPreviewDetail>
        PARSER = new com.google.protobuf.AbstractParser<FungusTrainingPoolPreviewDetail>() {
      @java.lang.Override
      public FungusTrainingPoolPreviewDetail parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new FungusTrainingPoolPreviewDetail(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser<FungusTrainingPoolPreviewDetail> parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser<FungusTrainingPoolPreviewDetail> getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public emu.grasscutter.net.proto.FungusTrainingPoolPreviewDetailOuterClass.FungusTrainingPoolPreviewDetail getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_FungusTrainingPoolPreviewDetail_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_FungusTrainingPoolPreviewDetail_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%FungusTrainingPoolPreviewDetail.proto\032" +
      "(FungusTrainingMonsterPreviewDetail.prot" +
      "o\"|\n\037FungusTrainingPoolPreviewDetail\022H\n\033" +
      "monster_preview_detail_list\030\n \003(\0132#.Fung" +
      "usTrainingMonsterPreviewDetail\022\017\n\007pool_i" +
      "d\030\010 \001(\rB\033\n\031emu.grasscutter.net.protob\006pr" +
      "oto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.getDescriptor(),
        });
    internal_static_FungusTrainingPoolPreviewDetail_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_FungusTrainingPoolPreviewDetail_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_FungusTrainingPoolPreviewDetail_descriptor,
        new java.lang.String[] { "MonsterPreviewDetailList", "PoolId", });
    emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
