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

package emu.grasscutter.net.proto;

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

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

    /**
     * <code>repeated .RegionSimpleInfo region_list = 2;</code>
     */
    java.util.List<emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo> 
        getRegionListList();
    /**
     * <code>repeated .RegionSimpleInfo region_list = 2;</code>
     */
    emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo getRegionList(int index);
    /**
     * <code>repeated .RegionSimpleInfo region_list = 2;</code>
     */
    int getRegionListCount();
    /**
     * <code>repeated .RegionSimpleInfo region_list = 2;</code>
     */
    java.util.List<? extends emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfoOrBuilder> 
        getRegionListOrBuilderList();
    /**
     * <code>repeated .RegionSimpleInfo region_list = 2;</code>
     */
    emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfoOrBuilder getRegionListOrBuilder(
        int index);

    /**
     * <code>bytes client_secret_key = 5;</code>
     * @return The clientSecretKey.
     */
    com.google.protobuf.ByteString getClientSecretKey();

    /**
     * <code>bytes client_custom_config_encrypted = 6;</code>
     * @return The clientCustomConfigEncrypted.
     */
    com.google.protobuf.ByteString getClientCustomConfigEncrypted();

    /**
     * <code>bool enable_login_pc = 7;</code>
     * @return The enableLoginPc.
     */
    boolean getEnableLoginPc();
  }
  /**
   * Protobuf type {@code QueryRegionListHttpRsp}
   */
  public static final class QueryRegionListHttpRsp extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:QueryRegionListHttpRsp)
      QueryRegionListHttpRspOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use QueryRegionListHttpRsp.newBuilder() to construct.
    private QueryRegionListHttpRsp(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private QueryRegionListHttpRsp() {
      regionList_ = java.util.Collections.emptyList();
      clientSecretKey_ = com.google.protobuf.ByteString.EMPTY;
      clientCustomConfigEncrypted_ = com.google.protobuf.ByteString.EMPTY;
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private QueryRegionListHttpRsp(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 8: {

              retcode_ = input.readInt32();
              break;
            }
            case 18: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                regionList_ = new java.util.ArrayList<emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo>();
                mutable_bitField0_ |= 0x00000001;
              }
              regionList_.add(
                  input.readMessage(emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo.parser(), extensionRegistry));
              break;
            }
            case 42: {

              clientSecretKey_ = input.readBytes();
              break;
            }
            case 50: {

              clientCustomConfigEncrypted_ = input.readBytes();
              break;
            }
            case 56: {

              enableLoginPc_ = input.readBool();
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          regionList_ = java.util.Collections.unmodifiableList(regionList_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return emu.grasscutter.net.proto.QueryRegionListHttpRspOuterClass.internal_static_QueryRegionListHttpRsp_descriptor;
    }

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

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

    public static final int REGION_LIST_FIELD_NUMBER = 2;
    private java.util.List<emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo> regionList_;
    /**
     * <code>repeated .RegionSimpleInfo region_list = 2;</code>
     */
    @java.lang.Override
    public java.util.List<emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo> getRegionListList() {
      return regionList_;
    }
    /**
     * <code>repeated .RegionSimpleInfo region_list = 2;</code>
     */
    @java.lang.Override
    public java.util.List<? extends emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfoOrBuilder> 
        getRegionListOrBuilderList() {
      return regionList_;
    }
    /**
     * <code>repeated .RegionSimpleInfo region_list = 2;</code>
     */
    @java.lang.Override
    public int getRegionListCount() {
      return regionList_.size();
    }
    /**
     * <code>repeated .RegionSimpleInfo region_list = 2;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo getRegionList(int index) {
      return regionList_.get(index);
    }
    /**
     * <code>repeated .RegionSimpleInfo region_list = 2;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfoOrBuilder getRegionListOrBuilder(
        int index) {
      return regionList_.get(index);
    }

    public static final int CLIENT_SECRET_KEY_FIELD_NUMBER = 5;
    private com.google.protobuf.ByteString clientSecretKey_;
    /**
     * <code>bytes client_secret_key = 5;</code>
     * @return The clientSecretKey.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getClientSecretKey() {
      return clientSecretKey_;
    }

    public static final int CLIENT_CUSTOM_CONFIG_ENCRYPTED_FIELD_NUMBER = 6;
    private com.google.protobuf.ByteString clientCustomConfigEncrypted_;
    /**
     * <code>bytes client_custom_config_encrypted = 6;</code>
     * @return The clientCustomConfigEncrypted.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getClientCustomConfigEncrypted() {
      return clientCustomConfigEncrypted_;
    }

    public static final int ENABLE_LOGIN_PC_FIELD_NUMBER = 7;
    private boolean enableLoginPc_;
    /**
     * <code>bool enable_login_pc = 7;</code>
     * @return The enableLoginPc.
     */
    @java.lang.Override
    public boolean getEnableLoginPc() {
      return enableLoginPc_;
    }

    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 (retcode_ != 0) {
        output.writeInt32(1, retcode_);
      }
      for (int i = 0; i < regionList_.size(); i++) {
        output.writeMessage(2, regionList_.get(i));
      }
      if (!clientSecretKey_.isEmpty()) {
        output.writeBytes(5, clientSecretKey_);
      }
      if (!clientCustomConfigEncrypted_.isEmpty()) {
        output.writeBytes(6, clientCustomConfigEncrypted_);
      }
      if (enableLoginPc_ != false) {
        output.writeBool(7, enableLoginPc_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (retcode_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(1, retcode_);
      }
      for (int i = 0; i < regionList_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, regionList_.get(i));
      }
      if (!clientSecretKey_.isEmpty()) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(5, clientSecretKey_);
      }
      if (!clientCustomConfigEncrypted_.isEmpty()) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(6, clientCustomConfigEncrypted_);
      }
      if (enableLoginPc_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(7, enableLoginPc_);
      }
      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.QueryRegionListHttpRspOuterClass.QueryRegionListHttpRsp)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.QueryRegionListHttpRspOuterClass.QueryRegionListHttpRsp other = (emu.grasscutter.net.proto.QueryRegionListHttpRspOuterClass.QueryRegionListHttpRsp) obj;

      if (getRetcode()
          != other.getRetcode()) return false;
      if (!getRegionListList()
          .equals(other.getRegionListList())) return false;
      if (!getClientSecretKey()
          .equals(other.getClientSecretKey())) return false;
      if (!getClientCustomConfigEncrypted()
          .equals(other.getClientCustomConfigEncrypted())) return false;
      if (getEnableLoginPc()
          != other.getEnableLoginPc()) 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();
      if (getRegionListCount() > 0) {
        hash = (37 * hash) + REGION_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getRegionListList().hashCode();
      }
      hash = (37 * hash) + CLIENT_SECRET_KEY_FIELD_NUMBER;
      hash = (53 * hash) + getClientSecretKey().hashCode();
      hash = (37 * hash) + CLIENT_CUSTOM_CONFIG_ENCRYPTED_FIELD_NUMBER;
      hash = (53 * hash) + getClientCustomConfigEncrypted().hashCode();
      hash = (37 * hash) + ENABLE_LOGIN_PC_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getEnableLoginPc());
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

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

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

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

        if (regionListBuilder_ == null) {
          regionList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          regionListBuilder_.clear();
        }
        clientSecretKey_ = com.google.protobuf.ByteString.EMPTY;

        clientCustomConfigEncrypted_ = com.google.protobuf.ByteString.EMPTY;

        enableLoginPc_ = false;

        return this;
      }

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

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

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

      @java.lang.Override
      public emu.grasscutter.net.proto.QueryRegionListHttpRspOuterClass.QueryRegionListHttpRsp buildPartial() {
        emu.grasscutter.net.proto.QueryRegionListHttpRspOuterClass.QueryRegionListHttpRsp result = new emu.grasscutter.net.proto.QueryRegionListHttpRspOuterClass.QueryRegionListHttpRsp(this);
        int from_bitField0_ = bitField0_;
        result.retcode_ = retcode_;
        if (regionListBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            regionList_ = java.util.Collections.unmodifiableList(regionList_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.regionList_ = regionList_;
        } else {
          result.regionList_ = regionListBuilder_.build();
        }
        result.clientSecretKey_ = clientSecretKey_;
        result.clientCustomConfigEncrypted_ = clientCustomConfigEncrypted_;
        result.enableLoginPc_ = enableLoginPc_;
        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.QueryRegionListHttpRspOuterClass.QueryRegionListHttpRsp) {
          return mergeFrom((emu.grasscutter.net.proto.QueryRegionListHttpRspOuterClass.QueryRegionListHttpRsp)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.QueryRegionListHttpRspOuterClass.QueryRegionListHttpRsp other) {
        if (other == emu.grasscutter.net.proto.QueryRegionListHttpRspOuterClass.QueryRegionListHttpRsp.getDefaultInstance()) return this;
        if (other.getRetcode() != 0) {
          setRetcode(other.getRetcode());
        }
        if (regionListBuilder_ == null) {
          if (!other.regionList_.isEmpty()) {
            if (regionList_.isEmpty()) {
              regionList_ = other.regionList_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureRegionListIsMutable();
              regionList_.addAll(other.regionList_);
            }
            onChanged();
          }
        } else {
          if (!other.regionList_.isEmpty()) {
            if (regionListBuilder_.isEmpty()) {
              regionListBuilder_.dispose();
              regionListBuilder_ = null;
              regionList_ = other.regionList_;
              bitField0_ = (bitField0_ & ~0x00000001);
              regionListBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getRegionListFieldBuilder() : null;
            } else {
              regionListBuilder_.addAllMessages(other.regionList_);
            }
          }
        }
        if (other.getClientSecretKey() != com.google.protobuf.ByteString.EMPTY) {
          setClientSecretKey(other.getClientSecretKey());
        }
        if (other.getClientCustomConfigEncrypted() != com.google.protobuf.ByteString.EMPTY) {
          setClientCustomConfigEncrypted(other.getClientCustomConfigEncrypted());
        }
        if (other.getEnableLoginPc() != false) {
          setEnableLoginPc(other.getEnableLoginPc());
        }
        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.QueryRegionListHttpRspOuterClass.QueryRegionListHttpRsp parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.QueryRegionListHttpRspOuterClass.QueryRegionListHttpRsp) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private int retcode_ ;
      /**
       * <code>int32 retcode = 1;</code>
       * @return The retcode.
       */
      @java.lang.Override
      public int getRetcode() {
        return retcode_;
      }
      /**
       * <code>int32 retcode = 1;</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 = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearRetcode() {
        
        retcode_ = 0;
        onChanged();
        return this;
      }

      private java.util.List<emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo> regionList_ =
        java.util.Collections.emptyList();
      private void ensureRegionListIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          regionList_ = new java.util.ArrayList<emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo>(regionList_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo, emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo.Builder, emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfoOrBuilder> regionListBuilder_;

      /**
       * <code>repeated .RegionSimpleInfo region_list = 2;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo> getRegionListList() {
        if (regionListBuilder_ == null) {
          return java.util.Collections.unmodifiableList(regionList_);
        } else {
          return regionListBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .RegionSimpleInfo region_list = 2;</code>
       */
      public int getRegionListCount() {
        if (regionListBuilder_ == null) {
          return regionList_.size();
        } else {
          return regionListBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .RegionSimpleInfo region_list = 2;</code>
       */
      public emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo getRegionList(int index) {
        if (regionListBuilder_ == null) {
          return regionList_.get(index);
        } else {
          return regionListBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .RegionSimpleInfo region_list = 2;</code>
       */
      public Builder setRegionList(
          int index, emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo value) {
        if (regionListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureRegionListIsMutable();
          regionList_.set(index, value);
          onChanged();
        } else {
          regionListBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .RegionSimpleInfo region_list = 2;</code>
       */
      public Builder setRegionList(
          int index, emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo.Builder builderForValue) {
        if (regionListBuilder_ == null) {
          ensureRegionListIsMutable();
          regionList_.set(index, builderForValue.build());
          onChanged();
        } else {
          regionListBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .RegionSimpleInfo region_list = 2;</code>
       */
      public Builder addRegionList(emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo value) {
        if (regionListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureRegionListIsMutable();
          regionList_.add(value);
          onChanged();
        } else {
          regionListBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .RegionSimpleInfo region_list = 2;</code>
       */
      public Builder addRegionList(
          int index, emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo value) {
        if (regionListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureRegionListIsMutable();
          regionList_.add(index, value);
          onChanged();
        } else {
          regionListBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .RegionSimpleInfo region_list = 2;</code>
       */
      public Builder addRegionList(
          emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo.Builder builderForValue) {
        if (regionListBuilder_ == null) {
          ensureRegionListIsMutable();
          regionList_.add(builderForValue.build());
          onChanged();
        } else {
          regionListBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .RegionSimpleInfo region_list = 2;</code>
       */
      public Builder addRegionList(
          int index, emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo.Builder builderForValue) {
        if (regionListBuilder_ == null) {
          ensureRegionListIsMutable();
          regionList_.add(index, builderForValue.build());
          onChanged();
        } else {
          regionListBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .RegionSimpleInfo region_list = 2;</code>
       */
      public Builder addAllRegionList(
          java.lang.Iterable<? extends emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo> values) {
        if (regionListBuilder_ == null) {
          ensureRegionListIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, regionList_);
          onChanged();
        } else {
          regionListBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .RegionSimpleInfo region_list = 2;</code>
       */
      public Builder clearRegionList() {
        if (regionListBuilder_ == null) {
          regionList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          regionListBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .RegionSimpleInfo region_list = 2;</code>
       */
      public Builder removeRegionList(int index) {
        if (regionListBuilder_ == null) {
          ensureRegionListIsMutable();
          regionList_.remove(index);
          onChanged();
        } else {
          regionListBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .RegionSimpleInfo region_list = 2;</code>
       */
      public emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo.Builder getRegionListBuilder(
          int index) {
        return getRegionListFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .RegionSimpleInfo region_list = 2;</code>
       */
      public emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfoOrBuilder getRegionListOrBuilder(
          int index) {
        if (regionListBuilder_ == null) {
          return regionList_.get(index);  } else {
          return regionListBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .RegionSimpleInfo region_list = 2;</code>
       */
      public java.util.List<? extends emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfoOrBuilder> 
           getRegionListOrBuilderList() {
        if (regionListBuilder_ != null) {
          return regionListBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(regionList_);
        }
      }
      /**
       * <code>repeated .RegionSimpleInfo region_list = 2;</code>
       */
      public emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo.Builder addRegionListBuilder() {
        return getRegionListFieldBuilder().addBuilder(
            emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo.getDefaultInstance());
      }
      /**
       * <code>repeated .RegionSimpleInfo region_list = 2;</code>
       */
      public emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo.Builder addRegionListBuilder(
          int index) {
        return getRegionListFieldBuilder().addBuilder(
            index, emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo.getDefaultInstance());
      }
      /**
       * <code>repeated .RegionSimpleInfo region_list = 2;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo.Builder> 
           getRegionListBuilderList() {
        return getRegionListFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo, emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo.Builder, emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfoOrBuilder> 
          getRegionListFieldBuilder() {
        if (regionListBuilder_ == null) {
          regionListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo, emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo.Builder, emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfoOrBuilder>(
                  regionList_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          regionList_ = null;
        }
        return regionListBuilder_;
      }

      private com.google.protobuf.ByteString clientSecretKey_ = com.google.protobuf.ByteString.EMPTY;
      /**
       * <code>bytes client_secret_key = 5;</code>
       * @return The clientSecretKey.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString getClientSecretKey() {
        return clientSecretKey_;
      }
      /**
       * <code>bytes client_secret_key = 5;</code>
       * @param value The clientSecretKey to set.
       * @return This builder for chaining.
       */
      public Builder setClientSecretKey(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        clientSecretKey_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bytes client_secret_key = 5;</code>
       * @return This builder for chaining.
       */
      public Builder clearClientSecretKey() {
        
        clientSecretKey_ = getDefaultInstance().getClientSecretKey();
        onChanged();
        return this;
      }

      private com.google.protobuf.ByteString clientCustomConfigEncrypted_ = com.google.protobuf.ByteString.EMPTY;
      /**
       * <code>bytes client_custom_config_encrypted = 6;</code>
       * @return The clientCustomConfigEncrypted.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString getClientCustomConfigEncrypted() {
        return clientCustomConfigEncrypted_;
      }
      /**
       * <code>bytes client_custom_config_encrypted = 6;</code>
       * @param value The clientCustomConfigEncrypted to set.
       * @return This builder for chaining.
       */
      public Builder setClientCustomConfigEncrypted(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        clientCustomConfigEncrypted_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bytes client_custom_config_encrypted = 6;</code>
       * @return This builder for chaining.
       */
      public Builder clearClientCustomConfigEncrypted() {
        
        clientCustomConfigEncrypted_ = getDefaultInstance().getClientCustomConfigEncrypted();
        onChanged();
        return this;
      }

      private boolean enableLoginPc_ ;
      /**
       * <code>bool enable_login_pc = 7;</code>
       * @return The enableLoginPc.
       */
      @java.lang.Override
      public boolean getEnableLoginPc() {
        return enableLoginPc_;
      }
      /**
       * <code>bool enable_login_pc = 7;</code>
       * @param value The enableLoginPc to set.
       * @return This builder for chaining.
       */
      public Builder setEnableLoginPc(boolean value) {
        
        enableLoginPc_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bool enable_login_pc = 7;</code>
       * @return This builder for chaining.
       */
      public Builder clearEnableLoginPc() {
        
        enableLoginPc_ = 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:QueryRegionListHttpRsp)
    }

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

    public static emu.grasscutter.net.proto.QueryRegionListHttpRspOuterClass.QueryRegionListHttpRsp getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_QueryRegionListHttpRsp_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_QueryRegionListHttpRsp_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\034QueryRegionListHttpRsp.proto\032\026RegionSi" +
      "mpleInfo.proto\"\255\001\n\026QueryRegionListHttpRs" +
      "p\022\017\n\007retcode\030\001 \001(\005\022&\n\013region_list\030\002 \003(\0132" +
      "\021.RegionSimpleInfo\022\031\n\021client_secret_key\030" +
      "\005 \001(\014\022&\n\036client_custom_config_encrypted\030" +
      "\006 \001(\014\022\027\n\017enable_login_pc\030\007 \001(\010B\033\n\031emu.gr" +
      "asscutter.net.protob\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.getDescriptor(),
        });
    internal_static_QueryRegionListHttpRsp_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_QueryRegionListHttpRsp_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_QueryRegionListHttpRsp_descriptor,
        new java.lang.String[] { "Retcode", "RegionList", "ClientSecretKey", "ClientCustomConfigEncrypted", "EnableLoginPc", });
    emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
