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

package emu.grasscutter.net.proto;

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

    /**
     * <code>map&lt;uint32, .FishInfo&gt; fish_map = 11;</code>
     */
    int getFishMapCount();
    /**
     * <code>map&lt;uint32, .FishInfo&gt; fish_map = 11;</code>
     */
    boolean containsFishMap(
        int key);
    /**
     * Use {@link #getFishMapMap()} instead.
     */
    @java.lang.Deprecated
    java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.FishInfoOuterClass.FishInfo>
    getFishMap();
    /**
     * <code>map&lt;uint32, .FishInfo&gt; fish_map = 11;</code>
     */
    java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.FishInfoOuterClass.FishInfo>
    getFishMapMap();
    /**
     * <code>map&lt;uint32, .FishInfo&gt; fish_map = 11;</code>
     */

    emu.grasscutter.net.proto.FishInfoOuterClass.FishInfo getFishMapOrDefault(
        int key,
        emu.grasscutter.net.proto.FishInfoOuterClass.FishInfo defaultValue);
    /**
     * <code>map&lt;uint32, .FishInfo&gt; fish_map = 11;</code>
     */

    emu.grasscutter.net.proto.FishInfoOuterClass.FishInfo getFishMapOrThrow(
        int key);

    /**
     * <code>repeated .FishingScore fishing_score_list = 2;</code>
     */
    java.util.List<emu.grasscutter.net.proto.FishingScoreOuterClass.FishingScore> 
        getFishingScoreListList();
    /**
     * <code>repeated .FishingScore fishing_score_list = 2;</code>
     */
    emu.grasscutter.net.proto.FishingScoreOuterClass.FishingScore getFishingScoreList(int index);
    /**
     * <code>repeated .FishingScore fishing_score_list = 2;</code>
     */
    int getFishingScoreListCount();
    /**
     * <code>repeated .FishingScore fishing_score_list = 2;</code>
     */
    java.util.List<? extends emu.grasscutter.net.proto.FishingScoreOuterClass.FishingScoreOrBuilder> 
        getFishingScoreListOrBuilderList();
    /**
     * <code>repeated .FishingScore fishing_score_list = 2;</code>
     */
    emu.grasscutter.net.proto.FishingScoreOuterClass.FishingScoreOrBuilder getFishingScoreListOrBuilder(
        int index);
  }
  /**
   * <pre>
   * Obf: DPDLLDGEHGD
   * </pre>
   *
   * Protobuf type {@code FishingGallerySettleInfo}
   */
  public static final class FishingGallerySettleInfo extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:FishingGallerySettleInfo)
      FishingGallerySettleInfoOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use FishingGallerySettleInfo.newBuilder() to construct.
    private FishingGallerySettleInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private FishingGallerySettleInfo() {
      fishingScoreList_ = java.util.Collections.emptyList();
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private FishingGallerySettleInfo(
        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 18: {
              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                fishingScoreList_ = new java.util.ArrayList<emu.grasscutter.net.proto.FishingScoreOuterClass.FishingScore>();
                mutable_bitField0_ |= 0x00000002;
              }
              fishingScoreList_.add(
                  input.readMessage(emu.grasscutter.net.proto.FishingScoreOuterClass.FishingScore.parser(), extensionRegistry));
              break;
            }
            case 90: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                fishMap_ = com.google.protobuf.MapField.newMapField(
                    FishMapDefaultEntryHolder.defaultEntry);
                mutable_bitField0_ |= 0x00000001;
              }
              com.google.protobuf.MapEntry<java.lang.Integer, emu.grasscutter.net.proto.FishInfoOuterClass.FishInfo>
              fishMap__ = input.readMessage(
                  FishMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
              fishMap_.getMutableMap().put(
                  fishMap__.getKey(), fishMap__.getValue());
              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_ & 0x00000002) != 0)) {
          fishingScoreList_ = java.util.Collections.unmodifiableList(fishingScoreList_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return emu.grasscutter.net.proto.FishingGallerySettleInfoOuterClass.internal_static_FishingGallerySettleInfo_descriptor;
    }

    @SuppressWarnings({"rawtypes"})
    @java.lang.Override
    protected com.google.protobuf.MapField internalGetMapField(
        int number) {
      switch (number) {
        case 11:
          return internalGetFishMap();
        default:
          throw new RuntimeException(
              "Invalid map field number: " + number);
      }
    }
    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return emu.grasscutter.net.proto.FishingGallerySettleInfoOuterClass.internal_static_FishingGallerySettleInfo_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              emu.grasscutter.net.proto.FishingGallerySettleInfoOuterClass.FishingGallerySettleInfo.class, emu.grasscutter.net.proto.FishingGallerySettleInfoOuterClass.FishingGallerySettleInfo.Builder.class);
    }

    public static final int FISH_MAP_FIELD_NUMBER = 11;
    private static final class FishMapDefaultEntryHolder {
      static final com.google.protobuf.MapEntry<
          java.lang.Integer, emu.grasscutter.net.proto.FishInfoOuterClass.FishInfo> defaultEntry =
              com.google.protobuf.MapEntry
              .<java.lang.Integer, emu.grasscutter.net.proto.FishInfoOuterClass.FishInfo>newDefaultInstance(
                  emu.grasscutter.net.proto.FishingGallerySettleInfoOuterClass.internal_static_FishingGallerySettleInfo_FishMapEntry_descriptor, 
                  com.google.protobuf.WireFormat.FieldType.UINT32,
                  0,
                  com.google.protobuf.WireFormat.FieldType.MESSAGE,
                  emu.grasscutter.net.proto.FishInfoOuterClass.FishInfo.getDefaultInstance());
    }
    private com.google.protobuf.MapField<
        java.lang.Integer, emu.grasscutter.net.proto.FishInfoOuterClass.FishInfo> fishMap_;
    private com.google.protobuf.MapField<java.lang.Integer, emu.grasscutter.net.proto.FishInfoOuterClass.FishInfo>
    internalGetFishMap() {
      if (fishMap_ == null) {
        return com.google.protobuf.MapField.emptyMapField(
            FishMapDefaultEntryHolder.defaultEntry);
      }
      return fishMap_;
    }

    public int getFishMapCount() {
      return internalGetFishMap().getMap().size();
    }
    /**
     * <code>map&lt;uint32, .FishInfo&gt; fish_map = 11;</code>
     */

    @java.lang.Override
    public boolean containsFishMap(
        int key) {
      
      return internalGetFishMap().getMap().containsKey(key);
    }
    /**
     * Use {@link #getFishMapMap()} instead.
     */
    @java.lang.Override
    @java.lang.Deprecated
    public java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.FishInfoOuterClass.FishInfo> getFishMap() {
      return getFishMapMap();
    }
    /**
     * <code>map&lt;uint32, .FishInfo&gt; fish_map = 11;</code>
     */
    @java.lang.Override

    public java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.FishInfoOuterClass.FishInfo> getFishMapMap() {
      return internalGetFishMap().getMap();
    }
    /**
     * <code>map&lt;uint32, .FishInfo&gt; fish_map = 11;</code>
     */
    @java.lang.Override

    public emu.grasscutter.net.proto.FishInfoOuterClass.FishInfo getFishMapOrDefault(
        int key,
        emu.grasscutter.net.proto.FishInfoOuterClass.FishInfo defaultValue) {
      
      java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.FishInfoOuterClass.FishInfo> map =
          internalGetFishMap().getMap();
      return map.containsKey(key) ? map.get(key) : defaultValue;
    }
    /**
     * <code>map&lt;uint32, .FishInfo&gt; fish_map = 11;</code>
     */
    @java.lang.Override

    public emu.grasscutter.net.proto.FishInfoOuterClass.FishInfo getFishMapOrThrow(
        int key) {
      
      java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.FishInfoOuterClass.FishInfo> map =
          internalGetFishMap().getMap();
      if (!map.containsKey(key)) {
        throw new java.lang.IllegalArgumentException();
      }
      return map.get(key);
    }

    public static final int FISHING_SCORE_LIST_FIELD_NUMBER = 2;
    private java.util.List<emu.grasscutter.net.proto.FishingScoreOuterClass.FishingScore> fishingScoreList_;
    /**
     * <code>repeated .FishingScore fishing_score_list = 2;</code>
     */
    @java.lang.Override
    public java.util.List<emu.grasscutter.net.proto.FishingScoreOuterClass.FishingScore> getFishingScoreListList() {
      return fishingScoreList_;
    }
    /**
     * <code>repeated .FishingScore fishing_score_list = 2;</code>
     */
    @java.lang.Override
    public java.util.List<? extends emu.grasscutter.net.proto.FishingScoreOuterClass.FishingScoreOrBuilder> 
        getFishingScoreListOrBuilderList() {
      return fishingScoreList_;
    }
    /**
     * <code>repeated .FishingScore fishing_score_list = 2;</code>
     */
    @java.lang.Override
    public int getFishingScoreListCount() {
      return fishingScoreList_.size();
    }
    /**
     * <code>repeated .FishingScore fishing_score_list = 2;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.FishingScoreOuterClass.FishingScore getFishingScoreList(int index) {
      return fishingScoreList_.get(index);
    }
    /**
     * <code>repeated .FishingScore fishing_score_list = 2;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.FishingScoreOuterClass.FishingScoreOrBuilder getFishingScoreListOrBuilder(
        int index) {
      return fishingScoreList_.get(index);
    }

    private byte memoizedIsInitialized = -1;
    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      for (int i = 0; i < fishingScoreList_.size(); i++) {
        output.writeMessage(2, fishingScoreList_.get(i));
      }
      com.google.protobuf.GeneratedMessageV3
        .serializeIntegerMapTo(
          output,
          internalGetFishMap(),
          FishMapDefaultEntryHolder.defaultEntry,
          11);
      unknownFields.writeTo(output);
    }

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

      size = 0;
      for (int i = 0; i < fishingScoreList_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, fishingScoreList_.get(i));
      }
      for (java.util.Map.Entry<java.lang.Integer, emu.grasscutter.net.proto.FishInfoOuterClass.FishInfo> entry
           : internalGetFishMap().getMap().entrySet()) {
        com.google.protobuf.MapEntry<java.lang.Integer, emu.grasscutter.net.proto.FishInfoOuterClass.FishInfo>
        fishMap__ = FishMapDefaultEntryHolder.defaultEntry.newBuilderForType()
            .setKey(entry.getKey())
            .setValue(entry.getValue())
            .build();
        size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(11, fishMap__);
      }
      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.FishingGallerySettleInfoOuterClass.FishingGallerySettleInfo)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.FishingGallerySettleInfoOuterClass.FishingGallerySettleInfo other = (emu.grasscutter.net.proto.FishingGallerySettleInfoOuterClass.FishingGallerySettleInfo) obj;

      if (!internalGetFishMap().equals(
          other.internalGetFishMap())) return false;
      if (!getFishingScoreListList()
          .equals(other.getFishingScoreListList())) 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 (!internalGetFishMap().getMap().isEmpty()) {
        hash = (37 * hash) + FISH_MAP_FIELD_NUMBER;
        hash = (53 * hash) + internalGetFishMap().hashCode();
      }
      if (getFishingScoreListCount() > 0) {
        hash = (37 * hash) + FISHING_SCORE_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getFishingScoreListList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static emu.grasscutter.net.proto.FishingGallerySettleInfoOuterClass.FishingGallerySettleInfo parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.FishingGallerySettleInfoOuterClass.FishingGallerySettleInfo 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.FishingGallerySettleInfoOuterClass.FishingGallerySettleInfo parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.FishingGallerySettleInfoOuterClass.FishingGallerySettleInfo 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.FishingGallerySettleInfoOuterClass.FishingGallerySettleInfo parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.FishingGallerySettleInfoOuterClass.FishingGallerySettleInfo parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.FishingGallerySettleInfoOuterClass.FishingGallerySettleInfo parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.FishingGallerySettleInfoOuterClass.FishingGallerySettleInfo 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.FishingGallerySettleInfoOuterClass.FishingGallerySettleInfo parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.FishingGallerySettleInfoOuterClass.FishingGallerySettleInfo 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.FishingGallerySettleInfoOuterClass.FishingGallerySettleInfo parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.FishingGallerySettleInfoOuterClass.FishingGallerySettleInfo 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.FishingGallerySettleInfoOuterClass.FishingGallerySettleInfo prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * <pre>
     * Obf: DPDLLDGEHGD
     * </pre>
     *
     * Protobuf type {@code FishingGallerySettleInfo}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:FishingGallerySettleInfo)
        emu.grasscutter.net.proto.FishingGallerySettleInfoOuterClass.FishingGallerySettleInfoOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return emu.grasscutter.net.proto.FishingGallerySettleInfoOuterClass.internal_static_FishingGallerySettleInfo_descriptor;
      }

      @SuppressWarnings({"rawtypes"})
      protected com.google.protobuf.MapField internalGetMapField(
          int number) {
        switch (number) {
          case 11:
            return internalGetFishMap();
          default:
            throw new RuntimeException(
                "Invalid map field number: " + number);
        }
      }
      @SuppressWarnings({"rawtypes"})
      protected com.google.protobuf.MapField internalGetMutableMapField(
          int number) {
        switch (number) {
          case 11:
            return internalGetMutableFishMap();
          default:
            throw new RuntimeException(
                "Invalid map field number: " + number);
        }
      }
      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return emu.grasscutter.net.proto.FishingGallerySettleInfoOuterClass.internal_static_FishingGallerySettleInfo_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                emu.grasscutter.net.proto.FishingGallerySettleInfoOuterClass.FishingGallerySettleInfo.class, emu.grasscutter.net.proto.FishingGallerySettleInfoOuterClass.FishingGallerySettleInfo.Builder.class);
      }

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

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getFishingScoreListFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        internalGetMutableFishMap().clear();
        if (fishingScoreListBuilder_ == null) {
          fishingScoreList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
        } else {
          fishingScoreListBuilder_.clear();
        }
        return this;
      }

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

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

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

      @java.lang.Override
      public emu.grasscutter.net.proto.FishingGallerySettleInfoOuterClass.FishingGallerySettleInfo buildPartial() {
        emu.grasscutter.net.proto.FishingGallerySettleInfoOuterClass.FishingGallerySettleInfo result = new emu.grasscutter.net.proto.FishingGallerySettleInfoOuterClass.FishingGallerySettleInfo(this);
        int from_bitField0_ = bitField0_;
        result.fishMap_ = internalGetFishMap();
        result.fishMap_.makeImmutable();
        if (fishingScoreListBuilder_ == null) {
          if (((bitField0_ & 0x00000002) != 0)) {
            fishingScoreList_ = java.util.Collections.unmodifiableList(fishingScoreList_);
            bitField0_ = (bitField0_ & ~0x00000002);
          }
          result.fishingScoreList_ = fishingScoreList_;
        } else {
          result.fishingScoreList_ = fishingScoreListBuilder_.build();
        }
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof emu.grasscutter.net.proto.FishingGallerySettleInfoOuterClass.FishingGallerySettleInfo) {
          return mergeFrom((emu.grasscutter.net.proto.FishingGallerySettleInfoOuterClass.FishingGallerySettleInfo)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.FishingGallerySettleInfoOuterClass.FishingGallerySettleInfo other) {
        if (other == emu.grasscutter.net.proto.FishingGallerySettleInfoOuterClass.FishingGallerySettleInfo.getDefaultInstance()) return this;
        internalGetMutableFishMap().mergeFrom(
            other.internalGetFishMap());
        if (fishingScoreListBuilder_ == null) {
          if (!other.fishingScoreList_.isEmpty()) {
            if (fishingScoreList_.isEmpty()) {
              fishingScoreList_ = other.fishingScoreList_;
              bitField0_ = (bitField0_ & ~0x00000002);
            } else {
              ensureFishingScoreListIsMutable();
              fishingScoreList_.addAll(other.fishingScoreList_);
            }
            onChanged();
          }
        } else {
          if (!other.fishingScoreList_.isEmpty()) {
            if (fishingScoreListBuilder_.isEmpty()) {
              fishingScoreListBuilder_.dispose();
              fishingScoreListBuilder_ = null;
              fishingScoreList_ = other.fishingScoreList_;
              bitField0_ = (bitField0_ & ~0x00000002);
              fishingScoreListBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getFishingScoreListFieldBuilder() : null;
            } else {
              fishingScoreListBuilder_.addAllMessages(other.fishingScoreList_);
            }
          }
        }
        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.FishingGallerySettleInfoOuterClass.FishingGallerySettleInfo parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.FishingGallerySettleInfoOuterClass.FishingGallerySettleInfo) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private com.google.protobuf.MapField<
          java.lang.Integer, emu.grasscutter.net.proto.FishInfoOuterClass.FishInfo> fishMap_;
      private com.google.protobuf.MapField<java.lang.Integer, emu.grasscutter.net.proto.FishInfoOuterClass.FishInfo>
      internalGetFishMap() {
        if (fishMap_ == null) {
          return com.google.protobuf.MapField.emptyMapField(
              FishMapDefaultEntryHolder.defaultEntry);
        }
        return fishMap_;
      }
      private com.google.protobuf.MapField<java.lang.Integer, emu.grasscutter.net.proto.FishInfoOuterClass.FishInfo>
      internalGetMutableFishMap() {
        onChanged();;
        if (fishMap_ == null) {
          fishMap_ = com.google.protobuf.MapField.newMapField(
              FishMapDefaultEntryHolder.defaultEntry);
        }
        if (!fishMap_.isMutable()) {
          fishMap_ = fishMap_.copy();
        }
        return fishMap_;
      }

      public int getFishMapCount() {
        return internalGetFishMap().getMap().size();
      }
      /**
       * <code>map&lt;uint32, .FishInfo&gt; fish_map = 11;</code>
       */

      @java.lang.Override
      public boolean containsFishMap(
          int key) {
        
        return internalGetFishMap().getMap().containsKey(key);
      }
      /**
       * Use {@link #getFishMapMap()} instead.
       */
      @java.lang.Override
      @java.lang.Deprecated
      public java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.FishInfoOuterClass.FishInfo> getFishMap() {
        return getFishMapMap();
      }
      /**
       * <code>map&lt;uint32, .FishInfo&gt; fish_map = 11;</code>
       */
      @java.lang.Override

      public java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.FishInfoOuterClass.FishInfo> getFishMapMap() {
        return internalGetFishMap().getMap();
      }
      /**
       * <code>map&lt;uint32, .FishInfo&gt; fish_map = 11;</code>
       */
      @java.lang.Override

      public emu.grasscutter.net.proto.FishInfoOuterClass.FishInfo getFishMapOrDefault(
          int key,
          emu.grasscutter.net.proto.FishInfoOuterClass.FishInfo defaultValue) {
        
        java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.FishInfoOuterClass.FishInfo> map =
            internalGetFishMap().getMap();
        return map.containsKey(key) ? map.get(key) : defaultValue;
      }
      /**
       * <code>map&lt;uint32, .FishInfo&gt; fish_map = 11;</code>
       */
      @java.lang.Override

      public emu.grasscutter.net.proto.FishInfoOuterClass.FishInfo getFishMapOrThrow(
          int key) {
        
        java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.FishInfoOuterClass.FishInfo> map =
            internalGetFishMap().getMap();
        if (!map.containsKey(key)) {
          throw new java.lang.IllegalArgumentException();
        }
        return map.get(key);
      }

      public Builder clearFishMap() {
        internalGetMutableFishMap().getMutableMap()
            .clear();
        return this;
      }
      /**
       * <code>map&lt;uint32, .FishInfo&gt; fish_map = 11;</code>
       */

      public Builder removeFishMap(
          int key) {
        
        internalGetMutableFishMap().getMutableMap()
            .remove(key);
        return this;
      }
      /**
       * Use alternate mutation accessors instead.
       */
      @java.lang.Deprecated
      public java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.FishInfoOuterClass.FishInfo>
      getMutableFishMap() {
        return internalGetMutableFishMap().getMutableMap();
      }
      /**
       * <code>map&lt;uint32, .FishInfo&gt; fish_map = 11;</code>
       */
      public Builder putFishMap(
          int key,
          emu.grasscutter.net.proto.FishInfoOuterClass.FishInfo value) {
        
        if (value == null) { throw new java.lang.NullPointerException(); }
        internalGetMutableFishMap().getMutableMap()
            .put(key, value);
        return this;
      }
      /**
       * <code>map&lt;uint32, .FishInfo&gt; fish_map = 11;</code>
       */

      public Builder putAllFishMap(
          java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.FishInfoOuterClass.FishInfo> values) {
        internalGetMutableFishMap().getMutableMap()
            .putAll(values);
        return this;
      }

      private java.util.List<emu.grasscutter.net.proto.FishingScoreOuterClass.FishingScore> fishingScoreList_ =
        java.util.Collections.emptyList();
      private void ensureFishingScoreListIsMutable() {
        if (!((bitField0_ & 0x00000002) != 0)) {
          fishingScoreList_ = new java.util.ArrayList<emu.grasscutter.net.proto.FishingScoreOuterClass.FishingScore>(fishingScoreList_);
          bitField0_ |= 0x00000002;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.FishingScoreOuterClass.FishingScore, emu.grasscutter.net.proto.FishingScoreOuterClass.FishingScore.Builder, emu.grasscutter.net.proto.FishingScoreOuterClass.FishingScoreOrBuilder> fishingScoreListBuilder_;

      /**
       * <code>repeated .FishingScore fishing_score_list = 2;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.FishingScoreOuterClass.FishingScore> getFishingScoreListList() {
        if (fishingScoreListBuilder_ == null) {
          return java.util.Collections.unmodifiableList(fishingScoreList_);
        } else {
          return fishingScoreListBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .FishingScore fishing_score_list = 2;</code>
       */
      public int getFishingScoreListCount() {
        if (fishingScoreListBuilder_ == null) {
          return fishingScoreList_.size();
        } else {
          return fishingScoreListBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .FishingScore fishing_score_list = 2;</code>
       */
      public emu.grasscutter.net.proto.FishingScoreOuterClass.FishingScore getFishingScoreList(int index) {
        if (fishingScoreListBuilder_ == null) {
          return fishingScoreList_.get(index);
        } else {
          return fishingScoreListBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .FishingScore fishing_score_list = 2;</code>
       */
      public Builder setFishingScoreList(
          int index, emu.grasscutter.net.proto.FishingScoreOuterClass.FishingScore value) {
        if (fishingScoreListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureFishingScoreListIsMutable();
          fishingScoreList_.set(index, value);
          onChanged();
        } else {
          fishingScoreListBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .FishingScore fishing_score_list = 2;</code>
       */
      public Builder setFishingScoreList(
          int index, emu.grasscutter.net.proto.FishingScoreOuterClass.FishingScore.Builder builderForValue) {
        if (fishingScoreListBuilder_ == null) {
          ensureFishingScoreListIsMutable();
          fishingScoreList_.set(index, builderForValue.build());
          onChanged();
        } else {
          fishingScoreListBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .FishingScore fishing_score_list = 2;</code>
       */
      public Builder addFishingScoreList(emu.grasscutter.net.proto.FishingScoreOuterClass.FishingScore value) {
        if (fishingScoreListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureFishingScoreListIsMutable();
          fishingScoreList_.add(value);
          onChanged();
        } else {
          fishingScoreListBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .FishingScore fishing_score_list = 2;</code>
       */
      public Builder addFishingScoreList(
          int index, emu.grasscutter.net.proto.FishingScoreOuterClass.FishingScore value) {
        if (fishingScoreListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureFishingScoreListIsMutable();
          fishingScoreList_.add(index, value);
          onChanged();
        } else {
          fishingScoreListBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .FishingScore fishing_score_list = 2;</code>
       */
      public Builder addFishingScoreList(
          emu.grasscutter.net.proto.FishingScoreOuterClass.FishingScore.Builder builderForValue) {
        if (fishingScoreListBuilder_ == null) {
          ensureFishingScoreListIsMutable();
          fishingScoreList_.add(builderForValue.build());
          onChanged();
        } else {
          fishingScoreListBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .FishingScore fishing_score_list = 2;</code>
       */
      public Builder addFishingScoreList(
          int index, emu.grasscutter.net.proto.FishingScoreOuterClass.FishingScore.Builder builderForValue) {
        if (fishingScoreListBuilder_ == null) {
          ensureFishingScoreListIsMutable();
          fishingScoreList_.add(index, builderForValue.build());
          onChanged();
        } else {
          fishingScoreListBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .FishingScore fishing_score_list = 2;</code>
       */
      public Builder addAllFishingScoreList(
          java.lang.Iterable<? extends emu.grasscutter.net.proto.FishingScoreOuterClass.FishingScore> values) {
        if (fishingScoreListBuilder_ == null) {
          ensureFishingScoreListIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, fishingScoreList_);
          onChanged();
        } else {
          fishingScoreListBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .FishingScore fishing_score_list = 2;</code>
       */
      public Builder clearFishingScoreList() {
        if (fishingScoreListBuilder_ == null) {
          fishingScoreList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
          onChanged();
        } else {
          fishingScoreListBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .FishingScore fishing_score_list = 2;</code>
       */
      public Builder removeFishingScoreList(int index) {
        if (fishingScoreListBuilder_ == null) {
          ensureFishingScoreListIsMutable();
          fishingScoreList_.remove(index);
          onChanged();
        } else {
          fishingScoreListBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .FishingScore fishing_score_list = 2;</code>
       */
      public emu.grasscutter.net.proto.FishingScoreOuterClass.FishingScore.Builder getFishingScoreListBuilder(
          int index) {
        return getFishingScoreListFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .FishingScore fishing_score_list = 2;</code>
       */
      public emu.grasscutter.net.proto.FishingScoreOuterClass.FishingScoreOrBuilder getFishingScoreListOrBuilder(
          int index) {
        if (fishingScoreListBuilder_ == null) {
          return fishingScoreList_.get(index);  } else {
          return fishingScoreListBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .FishingScore fishing_score_list = 2;</code>
       */
      public java.util.List<? extends emu.grasscutter.net.proto.FishingScoreOuterClass.FishingScoreOrBuilder> 
           getFishingScoreListOrBuilderList() {
        if (fishingScoreListBuilder_ != null) {
          return fishingScoreListBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(fishingScoreList_);
        }
      }
      /**
       * <code>repeated .FishingScore fishing_score_list = 2;</code>
       */
      public emu.grasscutter.net.proto.FishingScoreOuterClass.FishingScore.Builder addFishingScoreListBuilder() {
        return getFishingScoreListFieldBuilder().addBuilder(
            emu.grasscutter.net.proto.FishingScoreOuterClass.FishingScore.getDefaultInstance());
      }
      /**
       * <code>repeated .FishingScore fishing_score_list = 2;</code>
       */
      public emu.grasscutter.net.proto.FishingScoreOuterClass.FishingScore.Builder addFishingScoreListBuilder(
          int index) {
        return getFishingScoreListFieldBuilder().addBuilder(
            index, emu.grasscutter.net.proto.FishingScoreOuterClass.FishingScore.getDefaultInstance());
      }
      /**
       * <code>repeated .FishingScore fishing_score_list = 2;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.FishingScoreOuterClass.FishingScore.Builder> 
           getFishingScoreListBuilderList() {
        return getFishingScoreListFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.FishingScoreOuterClass.FishingScore, emu.grasscutter.net.proto.FishingScoreOuterClass.FishingScore.Builder, emu.grasscutter.net.proto.FishingScoreOuterClass.FishingScoreOrBuilder> 
          getFishingScoreListFieldBuilder() {
        if (fishingScoreListBuilder_ == null) {
          fishingScoreListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              emu.grasscutter.net.proto.FishingScoreOuterClass.FishingScore, emu.grasscutter.net.proto.FishingScoreOuterClass.FishingScore.Builder, emu.grasscutter.net.proto.FishingScoreOuterClass.FishingScoreOrBuilder>(
                  fishingScoreList_,
                  ((bitField0_ & 0x00000002) != 0),
                  getParentForChildren(),
                  isClean());
          fishingScoreList_ = null;
        }
        return fishingScoreListBuilder_;
      }
      @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:FishingGallerySettleInfo)
    }

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

    public static emu.grasscutter.net.proto.FishingGallerySettleInfoOuterClass.FishingGallerySettleInfo getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_FishingGallerySettleInfo_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_FishingGallerySettleInfo_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_FishingGallerySettleInfo_FishMapEntry_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_FishingGallerySettleInfo_FishMapEntry_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\036FishingGallerySettleInfo.proto\032\016FishIn" +
      "fo.proto\032\022FishingScore.proto\"\272\001\n\030Fishing" +
      "GallerySettleInfo\0228\n\010fish_map\030\013 \003(\0132&.Fi" +
      "shingGallerySettleInfo.FishMapEntry\022)\n\022f" +
      "ishing_score_list\030\002 \003(\0132\r.FishingScore\0329" +
      "\n\014FishMapEntry\022\013\n\003key\030\001 \001(\r\022\030\n\005value\030\002 \001" +
      "(\0132\t.FishInfo:\0028\001B\033\n\031emu.grasscutter.net" +
      ".protob\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          emu.grasscutter.net.proto.FishInfoOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.FishingScoreOuterClass.getDescriptor(),
        });
    internal_static_FishingGallerySettleInfo_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_FishingGallerySettleInfo_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_FishingGallerySettleInfo_descriptor,
        new java.lang.String[] { "FishMap", "FishingScoreList", });
    internal_static_FishingGallerySettleInfo_FishMapEntry_descriptor =
      internal_static_FishingGallerySettleInfo_descriptor.getNestedTypes().get(0);
    internal_static_FishingGallerySettleInfo_FishMapEntry_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_FishingGallerySettleInfo_FishMapEntry_descriptor,
        new java.lang.String[] { "Key", "Value", });
    emu.grasscutter.net.proto.FishInfoOuterClass.getDescriptor();
    emu.grasscutter.net.proto.FishingScoreOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
