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

package emu.grasscutter.net.proto;

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

    /**
     * <code>int32 retcode = 14;</code>
     * @return The retcode.
     */
    int getRetcode();

    /**
     * <code>uint32 daily_gacha_times = 6;</code>
     * @return The dailyGachaTimes.
     */
    int getDailyGachaTimes();

    /**
     * <code>repeated .GachaInfo gacha_info_list = 10;</code>
     */
    java.util.List<emu.grasscutter.net.proto.GachaInfoOuterClass.GachaInfo> 
        getGachaInfoListList();
    /**
     * <code>repeated .GachaInfo gacha_info_list = 10;</code>
     */
    emu.grasscutter.net.proto.GachaInfoOuterClass.GachaInfo getGachaInfoList(int index);
    /**
     * <code>repeated .GachaInfo gacha_info_list = 10;</code>
     */
    int getGachaInfoListCount();
    /**
     * <code>repeated .GachaInfo gacha_info_list = 10;</code>
     */
    java.util.List<? extends emu.grasscutter.net.proto.GachaInfoOuterClass.GachaInfoOrBuilder> 
        getGachaInfoListOrBuilderList();
    /**
     * <code>repeated .GachaInfo gacha_info_list = 10;</code>
     */
    emu.grasscutter.net.proto.GachaInfoOuterClass.GachaInfoOrBuilder getGachaInfoListOrBuilder(
        int index);

    /**
     * <code>bool Unk3300_OHFMHIHJHPJ = 4;</code>
     * @return The unk3300OHFMHIHJHPJ.
     */
    boolean getUnk3300OHFMHIHJHPJ();

    /**
     * <code>uint32 gacha_random = 9;</code>
     * @return The gachaRandom.
     */
    int getGachaRandom();

    /**
     * <code>bool Unk3300_HBILIAEIHNK = 3;</code>
     * @return The unk3300HBILIAEIHNK.
     */
    boolean getUnk3300HBILIAEIHNK();
  }
  /**
   * <pre>
   * enum CmdId {
   *   option allow_alias = true;
   *   NONE = 0;
   *   CMD_ID = 1530;
   *   ENET_CHANNEL_ID = 0;
   *   ENET_IS_RELIABLE = 1;
   * }
   * </pre>
   *
   * Protobuf type {@code GetGachaInfoRsp}
   */
  public static final class GetGachaInfoRsp extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:GetGachaInfoRsp)
      GetGachaInfoRspOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use GetGachaInfoRsp.newBuilder() to construct.
    private GetGachaInfoRsp(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private GetGachaInfoRsp() {
      gachaInfoList_ = java.util.Collections.emptyList();
    }

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

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

              unk3300HBILIAEIHNK_ = input.readBool();
              break;
            }
            case 32: {

              unk3300OHFMHIHJHPJ_ = input.readBool();
              break;
            }
            case 48: {

              dailyGachaTimes_ = input.readUInt32();
              break;
            }
            case 72: {

              gachaRandom_ = input.readUInt32();
              break;
            }
            case 82: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                gachaInfoList_ = new java.util.ArrayList<emu.grasscutter.net.proto.GachaInfoOuterClass.GachaInfo>();
                mutable_bitField0_ |= 0x00000001;
              }
              gachaInfoList_.add(
                  input.readMessage(emu.grasscutter.net.proto.GachaInfoOuterClass.GachaInfo.parser(), extensionRegistry));
              break;
            }
            case 112: {

              retcode_ = input.readInt32();
              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)) {
          gachaInfoList_ = java.util.Collections.unmodifiableList(gachaInfoList_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return emu.grasscutter.net.proto.GetGachaInfoRspOuterClass.internal_static_GetGachaInfoRsp_descriptor;
    }

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

    public static final int RETCODE_FIELD_NUMBER = 14;
    private int retcode_;
    /**
     * <code>int32 retcode = 14;</code>
     * @return The retcode.
     */
    @java.lang.Override
    public int getRetcode() {
      return retcode_;
    }

    public static final int DAILY_GACHA_TIMES_FIELD_NUMBER = 6;
    private int dailyGachaTimes_;
    /**
     * <code>uint32 daily_gacha_times = 6;</code>
     * @return The dailyGachaTimes.
     */
    @java.lang.Override
    public int getDailyGachaTimes() {
      return dailyGachaTimes_;
    }

    public static final int GACHA_INFO_LIST_FIELD_NUMBER = 10;
    private java.util.List<emu.grasscutter.net.proto.GachaInfoOuterClass.GachaInfo> gachaInfoList_;
    /**
     * <code>repeated .GachaInfo gacha_info_list = 10;</code>
     */
    @java.lang.Override
    public java.util.List<emu.grasscutter.net.proto.GachaInfoOuterClass.GachaInfo> getGachaInfoListList() {
      return gachaInfoList_;
    }
    /**
     * <code>repeated .GachaInfo gacha_info_list = 10;</code>
     */
    @java.lang.Override
    public java.util.List<? extends emu.grasscutter.net.proto.GachaInfoOuterClass.GachaInfoOrBuilder> 
        getGachaInfoListOrBuilderList() {
      return gachaInfoList_;
    }
    /**
     * <code>repeated .GachaInfo gacha_info_list = 10;</code>
     */
    @java.lang.Override
    public int getGachaInfoListCount() {
      return gachaInfoList_.size();
    }
    /**
     * <code>repeated .GachaInfo gacha_info_list = 10;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.GachaInfoOuterClass.GachaInfo getGachaInfoList(int index) {
      return gachaInfoList_.get(index);
    }
    /**
     * <code>repeated .GachaInfo gacha_info_list = 10;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.GachaInfoOuterClass.GachaInfoOrBuilder getGachaInfoListOrBuilder(
        int index) {
      return gachaInfoList_.get(index);
    }

    public static final int UNK3300_OHFMHIHJHPJ_FIELD_NUMBER = 4;
    private boolean unk3300OHFMHIHJHPJ_;
    /**
     * <code>bool Unk3300_OHFMHIHJHPJ = 4;</code>
     * @return The unk3300OHFMHIHJHPJ.
     */
    @java.lang.Override
    public boolean getUnk3300OHFMHIHJHPJ() {
      return unk3300OHFMHIHJHPJ_;
    }

    public static final int GACHA_RANDOM_FIELD_NUMBER = 9;
    private int gachaRandom_;
    /**
     * <code>uint32 gacha_random = 9;</code>
     * @return The gachaRandom.
     */
    @java.lang.Override
    public int getGachaRandom() {
      return gachaRandom_;
    }

    public static final int UNK3300_HBILIAEIHNK_FIELD_NUMBER = 3;
    private boolean unk3300HBILIAEIHNK_;
    /**
     * <code>bool Unk3300_HBILIAEIHNK = 3;</code>
     * @return The unk3300HBILIAEIHNK.
     */
    @java.lang.Override
    public boolean getUnk3300HBILIAEIHNK() {
      return unk3300HBILIAEIHNK_;
    }

    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 (unk3300HBILIAEIHNK_ != false) {
        output.writeBool(3, unk3300HBILIAEIHNK_);
      }
      if (unk3300OHFMHIHJHPJ_ != false) {
        output.writeBool(4, unk3300OHFMHIHJHPJ_);
      }
      if (dailyGachaTimes_ != 0) {
        output.writeUInt32(6, dailyGachaTimes_);
      }
      if (gachaRandom_ != 0) {
        output.writeUInt32(9, gachaRandom_);
      }
      for (int i = 0; i < gachaInfoList_.size(); i++) {
        output.writeMessage(10, gachaInfoList_.get(i));
      }
      if (retcode_ != 0) {
        output.writeInt32(14, retcode_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (unk3300HBILIAEIHNK_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(3, unk3300HBILIAEIHNK_);
      }
      if (unk3300OHFMHIHJHPJ_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(4, unk3300OHFMHIHJHPJ_);
      }
      if (dailyGachaTimes_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(6, dailyGachaTimes_);
      }
      if (gachaRandom_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(9, gachaRandom_);
      }
      for (int i = 0; i < gachaInfoList_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(10, gachaInfoList_.get(i));
      }
      if (retcode_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(14, retcode_);
      }
      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.GetGachaInfoRspOuterClass.GetGachaInfoRsp)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.GetGachaInfoRspOuterClass.GetGachaInfoRsp other = (emu.grasscutter.net.proto.GetGachaInfoRspOuterClass.GetGachaInfoRsp) obj;

      if (getRetcode()
          != other.getRetcode()) return false;
      if (getDailyGachaTimes()
          != other.getDailyGachaTimes()) return false;
      if (!getGachaInfoListList()
          .equals(other.getGachaInfoListList())) return false;
      if (getUnk3300OHFMHIHJHPJ()
          != other.getUnk3300OHFMHIHJHPJ()) return false;
      if (getGachaRandom()
          != other.getGachaRandom()) return false;
      if (getUnk3300HBILIAEIHNK()
          != other.getUnk3300HBILIAEIHNK()) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + RETCODE_FIELD_NUMBER;
      hash = (53 * hash) + getRetcode();
      hash = (37 * hash) + DAILY_GACHA_TIMES_FIELD_NUMBER;
      hash = (53 * hash) + getDailyGachaTimes();
      if (getGachaInfoListCount() > 0) {
        hash = (37 * hash) + GACHA_INFO_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getGachaInfoListList().hashCode();
      }
      hash = (37 * hash) + UNK3300_OHFMHIHJHPJ_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getUnk3300OHFMHIHJHPJ());
      hash = (37 * hash) + GACHA_RANDOM_FIELD_NUMBER;
      hash = (53 * hash) + getGachaRandom();
      hash = (37 * hash) + UNK3300_HBILIAEIHNK_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getUnk3300HBILIAEIHNK());
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static emu.grasscutter.net.proto.GetGachaInfoRspOuterClass.GetGachaInfoRsp parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.GetGachaInfoRspOuterClass.GetGachaInfoRsp 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.GetGachaInfoRspOuterClass.GetGachaInfoRsp parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.GetGachaInfoRspOuterClass.GetGachaInfoRsp 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.GetGachaInfoRspOuterClass.GetGachaInfoRsp parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.GetGachaInfoRspOuterClass.GetGachaInfoRsp parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.GetGachaInfoRspOuterClass.GetGachaInfoRsp parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.GetGachaInfoRspOuterClass.GetGachaInfoRsp 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.GetGachaInfoRspOuterClass.GetGachaInfoRsp parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.GetGachaInfoRspOuterClass.GetGachaInfoRsp 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.GetGachaInfoRspOuterClass.GetGachaInfoRsp parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.GetGachaInfoRspOuterClass.GetGachaInfoRsp 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.GetGachaInfoRspOuterClass.GetGachaInfoRsp 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>
     * enum CmdId {
     *   option allow_alias = true;
     *   NONE = 0;
     *   CMD_ID = 1530;
     *   ENET_CHANNEL_ID = 0;
     *   ENET_IS_RELIABLE = 1;
     * }
     * </pre>
     *
     * Protobuf type {@code GetGachaInfoRsp}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:GetGachaInfoRsp)
        emu.grasscutter.net.proto.GetGachaInfoRspOuterClass.GetGachaInfoRspOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return emu.grasscutter.net.proto.GetGachaInfoRspOuterClass.internal_static_GetGachaInfoRsp_descriptor;
      }

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

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

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getGachaInfoListFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        retcode_ = 0;

        dailyGachaTimes_ = 0;

        if (gachaInfoListBuilder_ == null) {
          gachaInfoList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          gachaInfoListBuilder_.clear();
        }
        unk3300OHFMHIHJHPJ_ = false;

        gachaRandom_ = 0;

        unk3300HBILIAEIHNK_ = false;

        return this;
      }

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

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

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

      @java.lang.Override
      public emu.grasscutter.net.proto.GetGachaInfoRspOuterClass.GetGachaInfoRsp buildPartial() {
        emu.grasscutter.net.proto.GetGachaInfoRspOuterClass.GetGachaInfoRsp result = new emu.grasscutter.net.proto.GetGachaInfoRspOuterClass.GetGachaInfoRsp(this);
        int from_bitField0_ = bitField0_;
        result.retcode_ = retcode_;
        result.dailyGachaTimes_ = dailyGachaTimes_;
        if (gachaInfoListBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            gachaInfoList_ = java.util.Collections.unmodifiableList(gachaInfoList_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.gachaInfoList_ = gachaInfoList_;
        } else {
          result.gachaInfoList_ = gachaInfoListBuilder_.build();
        }
        result.unk3300OHFMHIHJHPJ_ = unk3300OHFMHIHJHPJ_;
        result.gachaRandom_ = gachaRandom_;
        result.unk3300HBILIAEIHNK_ = unk3300HBILIAEIHNK_;
        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.GetGachaInfoRspOuterClass.GetGachaInfoRsp) {
          return mergeFrom((emu.grasscutter.net.proto.GetGachaInfoRspOuterClass.GetGachaInfoRsp)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.GetGachaInfoRspOuterClass.GetGachaInfoRsp other) {
        if (other == emu.grasscutter.net.proto.GetGachaInfoRspOuterClass.GetGachaInfoRsp.getDefaultInstance()) return this;
        if (other.getRetcode() != 0) {
          setRetcode(other.getRetcode());
        }
        if (other.getDailyGachaTimes() != 0) {
          setDailyGachaTimes(other.getDailyGachaTimes());
        }
        if (gachaInfoListBuilder_ == null) {
          if (!other.gachaInfoList_.isEmpty()) {
            if (gachaInfoList_.isEmpty()) {
              gachaInfoList_ = other.gachaInfoList_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureGachaInfoListIsMutable();
              gachaInfoList_.addAll(other.gachaInfoList_);
            }
            onChanged();
          }
        } else {
          if (!other.gachaInfoList_.isEmpty()) {
            if (gachaInfoListBuilder_.isEmpty()) {
              gachaInfoListBuilder_.dispose();
              gachaInfoListBuilder_ = null;
              gachaInfoList_ = other.gachaInfoList_;
              bitField0_ = (bitField0_ & ~0x00000001);
              gachaInfoListBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getGachaInfoListFieldBuilder() : null;
            } else {
              gachaInfoListBuilder_.addAllMessages(other.gachaInfoList_);
            }
          }
        }
        if (other.getUnk3300OHFMHIHJHPJ() != false) {
          setUnk3300OHFMHIHJHPJ(other.getUnk3300OHFMHIHJHPJ());
        }
        if (other.getGachaRandom() != 0) {
          setGachaRandom(other.getGachaRandom());
        }
        if (other.getUnk3300HBILIAEIHNK() != false) {
          setUnk3300HBILIAEIHNK(other.getUnk3300HBILIAEIHNK());
        }
        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.GetGachaInfoRspOuterClass.GetGachaInfoRsp parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.GetGachaInfoRspOuterClass.GetGachaInfoRsp) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private int retcode_ ;
      /**
       * <code>int32 retcode = 14;</code>
       * @return The retcode.
       */
      @java.lang.Override
      public int getRetcode() {
        return retcode_;
      }
      /**
       * <code>int32 retcode = 14;</code>
       * @param value The retcode to set.
       * @return This builder for chaining.
       */
      public Builder setRetcode(int value) {
        
        retcode_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int32 retcode = 14;</code>
       * @return This builder for chaining.
       */
      public Builder clearRetcode() {
        
        retcode_ = 0;
        onChanged();
        return this;
      }

      private int dailyGachaTimes_ ;
      /**
       * <code>uint32 daily_gacha_times = 6;</code>
       * @return The dailyGachaTimes.
       */
      @java.lang.Override
      public int getDailyGachaTimes() {
        return dailyGachaTimes_;
      }
      /**
       * <code>uint32 daily_gacha_times = 6;</code>
       * @param value The dailyGachaTimes to set.
       * @return This builder for chaining.
       */
      public Builder setDailyGachaTimes(int value) {
        
        dailyGachaTimes_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 daily_gacha_times = 6;</code>
       * @return This builder for chaining.
       */
      public Builder clearDailyGachaTimes() {
        
        dailyGachaTimes_ = 0;
        onChanged();
        return this;
      }

      private java.util.List<emu.grasscutter.net.proto.GachaInfoOuterClass.GachaInfo> gachaInfoList_ =
        java.util.Collections.emptyList();
      private void ensureGachaInfoListIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          gachaInfoList_ = new java.util.ArrayList<emu.grasscutter.net.proto.GachaInfoOuterClass.GachaInfo>(gachaInfoList_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.GachaInfoOuterClass.GachaInfo, emu.grasscutter.net.proto.GachaInfoOuterClass.GachaInfo.Builder, emu.grasscutter.net.proto.GachaInfoOuterClass.GachaInfoOrBuilder> gachaInfoListBuilder_;

      /**
       * <code>repeated .GachaInfo gacha_info_list = 10;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.GachaInfoOuterClass.GachaInfo> getGachaInfoListList() {
        if (gachaInfoListBuilder_ == null) {
          return java.util.Collections.unmodifiableList(gachaInfoList_);
        } else {
          return gachaInfoListBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .GachaInfo gacha_info_list = 10;</code>
       */
      public int getGachaInfoListCount() {
        if (gachaInfoListBuilder_ == null) {
          return gachaInfoList_.size();
        } else {
          return gachaInfoListBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .GachaInfo gacha_info_list = 10;</code>
       */
      public emu.grasscutter.net.proto.GachaInfoOuterClass.GachaInfo getGachaInfoList(int index) {
        if (gachaInfoListBuilder_ == null) {
          return gachaInfoList_.get(index);
        } else {
          return gachaInfoListBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .GachaInfo gacha_info_list = 10;</code>
       */
      public Builder setGachaInfoList(
          int index, emu.grasscutter.net.proto.GachaInfoOuterClass.GachaInfo value) {
        if (gachaInfoListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureGachaInfoListIsMutable();
          gachaInfoList_.set(index, value);
          onChanged();
        } else {
          gachaInfoListBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .GachaInfo gacha_info_list = 10;</code>
       */
      public Builder setGachaInfoList(
          int index, emu.grasscutter.net.proto.GachaInfoOuterClass.GachaInfo.Builder builderForValue) {
        if (gachaInfoListBuilder_ == null) {
          ensureGachaInfoListIsMutable();
          gachaInfoList_.set(index, builderForValue.build());
          onChanged();
        } else {
          gachaInfoListBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .GachaInfo gacha_info_list = 10;</code>
       */
      public Builder addGachaInfoList(emu.grasscutter.net.proto.GachaInfoOuterClass.GachaInfo value) {
        if (gachaInfoListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureGachaInfoListIsMutable();
          gachaInfoList_.add(value);
          onChanged();
        } else {
          gachaInfoListBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .GachaInfo gacha_info_list = 10;</code>
       */
      public Builder addGachaInfoList(
          int index, emu.grasscutter.net.proto.GachaInfoOuterClass.GachaInfo value) {
        if (gachaInfoListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureGachaInfoListIsMutable();
          gachaInfoList_.add(index, value);
          onChanged();
        } else {
          gachaInfoListBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .GachaInfo gacha_info_list = 10;</code>
       */
      public Builder addGachaInfoList(
          emu.grasscutter.net.proto.GachaInfoOuterClass.GachaInfo.Builder builderForValue) {
        if (gachaInfoListBuilder_ == null) {
          ensureGachaInfoListIsMutable();
          gachaInfoList_.add(builderForValue.build());
          onChanged();
        } else {
          gachaInfoListBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .GachaInfo gacha_info_list = 10;</code>
       */
      public Builder addGachaInfoList(
          int index, emu.grasscutter.net.proto.GachaInfoOuterClass.GachaInfo.Builder builderForValue) {
        if (gachaInfoListBuilder_ == null) {
          ensureGachaInfoListIsMutable();
          gachaInfoList_.add(index, builderForValue.build());
          onChanged();
        } else {
          gachaInfoListBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .GachaInfo gacha_info_list = 10;</code>
       */
      public Builder addAllGachaInfoList(
          java.lang.Iterable<? extends emu.grasscutter.net.proto.GachaInfoOuterClass.GachaInfo> values) {
        if (gachaInfoListBuilder_ == null) {
          ensureGachaInfoListIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, gachaInfoList_);
          onChanged();
        } else {
          gachaInfoListBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .GachaInfo gacha_info_list = 10;</code>
       */
      public Builder clearGachaInfoList() {
        if (gachaInfoListBuilder_ == null) {
          gachaInfoList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          gachaInfoListBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .GachaInfo gacha_info_list = 10;</code>
       */
      public Builder removeGachaInfoList(int index) {
        if (gachaInfoListBuilder_ == null) {
          ensureGachaInfoListIsMutable();
          gachaInfoList_.remove(index);
          onChanged();
        } else {
          gachaInfoListBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .GachaInfo gacha_info_list = 10;</code>
       */
      public emu.grasscutter.net.proto.GachaInfoOuterClass.GachaInfo.Builder getGachaInfoListBuilder(
          int index) {
        return getGachaInfoListFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .GachaInfo gacha_info_list = 10;</code>
       */
      public emu.grasscutter.net.proto.GachaInfoOuterClass.GachaInfoOrBuilder getGachaInfoListOrBuilder(
          int index) {
        if (gachaInfoListBuilder_ == null) {
          return gachaInfoList_.get(index);  } else {
          return gachaInfoListBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .GachaInfo gacha_info_list = 10;</code>
       */
      public java.util.List<? extends emu.grasscutter.net.proto.GachaInfoOuterClass.GachaInfoOrBuilder> 
           getGachaInfoListOrBuilderList() {
        if (gachaInfoListBuilder_ != null) {
          return gachaInfoListBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(gachaInfoList_);
        }
      }
      /**
       * <code>repeated .GachaInfo gacha_info_list = 10;</code>
       */
      public emu.grasscutter.net.proto.GachaInfoOuterClass.GachaInfo.Builder addGachaInfoListBuilder() {
        return getGachaInfoListFieldBuilder().addBuilder(
            emu.grasscutter.net.proto.GachaInfoOuterClass.GachaInfo.getDefaultInstance());
      }
      /**
       * <code>repeated .GachaInfo gacha_info_list = 10;</code>
       */
      public emu.grasscutter.net.proto.GachaInfoOuterClass.GachaInfo.Builder addGachaInfoListBuilder(
          int index) {
        return getGachaInfoListFieldBuilder().addBuilder(
            index, emu.grasscutter.net.proto.GachaInfoOuterClass.GachaInfo.getDefaultInstance());
      }
      /**
       * <code>repeated .GachaInfo gacha_info_list = 10;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.GachaInfoOuterClass.GachaInfo.Builder> 
           getGachaInfoListBuilderList() {
        return getGachaInfoListFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.GachaInfoOuterClass.GachaInfo, emu.grasscutter.net.proto.GachaInfoOuterClass.GachaInfo.Builder, emu.grasscutter.net.proto.GachaInfoOuterClass.GachaInfoOrBuilder> 
          getGachaInfoListFieldBuilder() {
        if (gachaInfoListBuilder_ == null) {
          gachaInfoListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              emu.grasscutter.net.proto.GachaInfoOuterClass.GachaInfo, emu.grasscutter.net.proto.GachaInfoOuterClass.GachaInfo.Builder, emu.grasscutter.net.proto.GachaInfoOuterClass.GachaInfoOrBuilder>(
                  gachaInfoList_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          gachaInfoList_ = null;
        }
        return gachaInfoListBuilder_;
      }

      private boolean unk3300OHFMHIHJHPJ_ ;
      /**
       * <code>bool Unk3300_OHFMHIHJHPJ = 4;</code>
       * @return The unk3300OHFMHIHJHPJ.
       */
      @java.lang.Override
      public boolean getUnk3300OHFMHIHJHPJ() {
        return unk3300OHFMHIHJHPJ_;
      }
      /**
       * <code>bool Unk3300_OHFMHIHJHPJ = 4;</code>
       * @param value The unk3300OHFMHIHJHPJ to set.
       * @return This builder for chaining.
       */
      public Builder setUnk3300OHFMHIHJHPJ(boolean value) {
        
        unk3300OHFMHIHJHPJ_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bool Unk3300_OHFMHIHJHPJ = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearUnk3300OHFMHIHJHPJ() {
        
        unk3300OHFMHIHJHPJ_ = false;
        onChanged();
        return this;
      }

      private int gachaRandom_ ;
      /**
       * <code>uint32 gacha_random = 9;</code>
       * @return The gachaRandom.
       */
      @java.lang.Override
      public int getGachaRandom() {
        return gachaRandom_;
      }
      /**
       * <code>uint32 gacha_random = 9;</code>
       * @param value The gachaRandom to set.
       * @return This builder for chaining.
       */
      public Builder setGachaRandom(int value) {
        
        gachaRandom_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 gacha_random = 9;</code>
       * @return This builder for chaining.
       */
      public Builder clearGachaRandom() {
        
        gachaRandom_ = 0;
        onChanged();
        return this;
      }

      private boolean unk3300HBILIAEIHNK_ ;
      /**
       * <code>bool Unk3300_HBILIAEIHNK = 3;</code>
       * @return The unk3300HBILIAEIHNK.
       */
      @java.lang.Override
      public boolean getUnk3300HBILIAEIHNK() {
        return unk3300HBILIAEIHNK_;
      }
      /**
       * <code>bool Unk3300_HBILIAEIHNK = 3;</code>
       * @param value The unk3300HBILIAEIHNK to set.
       * @return This builder for chaining.
       */
      public Builder setUnk3300HBILIAEIHNK(boolean value) {
        
        unk3300HBILIAEIHNK_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bool Unk3300_HBILIAEIHNK = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearUnk3300HBILIAEIHNK() {
        
        unk3300HBILIAEIHNK_ = false;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:GetGachaInfoRsp)
    }

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

    public static emu.grasscutter.net.proto.GetGachaInfoRspOuterClass.GetGachaInfoRsp getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_GetGachaInfoRsp_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_GetGachaInfoRsp_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\025GetGachaInfoRsp.proto\032\017GachaInfo.proto" +
      "\"\262\001\n\017GetGachaInfoRsp\022\017\n\007retcode\030\016 \001(\005\022\031\n" +
      "\021daily_gacha_times\030\006 \001(\r\022#\n\017gacha_info_l" +
      "ist\030\n \003(\0132\n.GachaInfo\022\033\n\023Unk3300_OHFMHIH" +
      "JHPJ\030\004 \001(\010\022\024\n\014gacha_random\030\t \001(\r\022\033\n\023Unk3" +
      "300_HBILIAEIHNK\030\003 \001(\010B\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.GachaInfoOuterClass.getDescriptor(),
        });
    internal_static_GetGachaInfoRsp_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_GetGachaInfoRsp_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_GetGachaInfoRsp_descriptor,
        new java.lang.String[] { "Retcode", "DailyGachaTimes", "GachaInfoList", "Unk3300OHFMHIHJHPJ", "GachaRandom", "Unk3300HBILIAEIHNK", });
    emu.grasscutter.net.proto.GachaInfoOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
