// 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>uint32 retcode = 1;</code>
     * @return The retcode.
     */
    int getRetcode();

    /**
     * <code>repeated .RegionSimpleInfo servers = 2;</code>
     */
    java.util.List<emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo> 
        getServersList();
    /**
     * <code>repeated .RegionSimpleInfo servers = 2;</code>
     */
    emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo getServers(int index);
    /**
     * <code>repeated .RegionSimpleInfo servers = 2;</code>
     */
    int getServersCount();
    /**
     * <code>repeated .RegionSimpleInfo servers = 2;</code>
     */
    java.util.List<? extends emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfoOrBuilder> 
        getServersOrBuilderList();
    /**
     * <code>repeated .RegionSimpleInfo servers = 2;</code>
     */
    emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfoOrBuilder getServersOrBuilder(
        int index);

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

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

    /**
     * <code>bool enableLoginPc = 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() {
      servers_ = 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.readUInt32();
              break;
            }
            case 18: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                servers_ = new java.util.ArrayList<emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo>();
                mutable_bitField0_ |= 0x00000001;
              }
              servers_.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)) {
          servers_ = java.util.Collections.unmodifiableList(servers_);
        }
        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>uint32 retcode = 1;</code>
     * @return The retcode.
     */
    @java.lang.Override
    public int getRetcode() {
      return retcode_;
    }

    public static final int SERVERS_FIELD_NUMBER = 2;
    private java.util.List<emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo> servers_;
    /**
     * <code>repeated .RegionSimpleInfo servers = 2;</code>
     */
    @java.lang.Override
    public java.util.List<emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo> getServersList() {
      return servers_;
    }
    /**
     * <code>repeated .RegionSimpleInfo servers = 2;</code>
     */
    @java.lang.Override
    public java.util.List<? extends emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfoOrBuilder> 
        getServersOrBuilderList() {
      return servers_;
    }
    /**
     * <code>repeated .RegionSimpleInfo servers = 2;</code>
     */
    @java.lang.Override
    public int getServersCount() {
      return servers_.size();
    }
    /**
     * <code>repeated .RegionSimpleInfo servers = 2;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo getServers(int index) {
      return servers_.get(index);
    }
    /**
     * <code>repeated .RegionSimpleInfo servers = 2;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfoOrBuilder getServersOrBuilder(
        int index) {
      return servers_.get(index);
    }

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

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

    public static final int ENABLELOGINPC_FIELD_NUMBER = 7;
    private boolean enableLoginPc_;
    /**
     * <code>bool enableLoginPc = 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.writeUInt32(1, retcode_);
      }
      for (int i = 0; i < servers_.size(); i++) {
        output.writeMessage(2, servers_.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
          .computeUInt32Size(1, retcode_);
      }
      for (int i = 0; i < servers_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, servers_.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 (!getServersList()
          .equals(other.getServersList())) 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 (getServersCount() > 0) {
        hash = (37 * hash) + SERVERS_FIELD_NUMBER;
        hash = (53 * hash) + getServersList().hashCode();
      }
      hash = (37 * hash) + CLIENTSECRETKEY_FIELD_NUMBER;
      hash = (53 * hash) + getClientSecretKey().hashCode();
      hash = (37 * hash) + CLIENTCUSTOMCONFIGENCRYPTED_FIELD_NUMBER;
      hash = (53 * hash) + getClientCustomConfigEncrypted().hashCode();
      hash = (37 * hash) + ENABLELOGINPC_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) {
          getServersFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        retcode_ = 0;

        if (serversBuilder_ == null) {
          servers_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          serversBuilder_.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 (serversBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            servers_ = java.util.Collections.unmodifiableList(servers_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.servers_ = servers_;
        } else {
          result.servers_ = serversBuilder_.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 (serversBuilder_ == null) {
          if (!other.servers_.isEmpty()) {
            if (servers_.isEmpty()) {
              servers_ = other.servers_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureServersIsMutable();
              servers_.addAll(other.servers_);
            }
            onChanged();
          }
        } else {
          if (!other.servers_.isEmpty()) {
            if (serversBuilder_.isEmpty()) {
              serversBuilder_.dispose();
              serversBuilder_ = null;
              servers_ = other.servers_;
              bitField0_ = (bitField0_ & ~0x00000001);
              serversBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getServersFieldBuilder() : null;
            } else {
              serversBuilder_.addAllMessages(other.servers_);
            }
          }
        }
        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>uint32 retcode = 1;</code>
       * @return The retcode.
       */
      @java.lang.Override
      public int getRetcode() {
        return retcode_;
      }
      /**
       * <code>uint32 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>uint32 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> servers_ =
        java.util.Collections.emptyList();
      private void ensureServersIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          servers_ = new java.util.ArrayList<emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo>(servers_);
          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> serversBuilder_;

      /**
       * <code>repeated .RegionSimpleInfo servers = 2;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo> getServersList() {
        if (serversBuilder_ == null) {
          return java.util.Collections.unmodifiableList(servers_);
        } else {
          return serversBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .RegionSimpleInfo servers = 2;</code>
       */
      public int getServersCount() {
        if (serversBuilder_ == null) {
          return servers_.size();
        } else {
          return serversBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .RegionSimpleInfo servers = 2;</code>
       */
      public emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo getServers(int index) {
        if (serversBuilder_ == null) {
          return servers_.get(index);
        } else {
          return serversBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .RegionSimpleInfo servers = 2;</code>
       */
      public Builder setServers(
          int index, emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo value) {
        if (serversBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureServersIsMutable();
          servers_.set(index, value);
          onChanged();
        } else {
          serversBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .RegionSimpleInfo servers = 2;</code>
       */
      public Builder setServers(
          int index, emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo.Builder builderForValue) {
        if (serversBuilder_ == null) {
          ensureServersIsMutable();
          servers_.set(index, builderForValue.build());
          onChanged();
        } else {
          serversBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .RegionSimpleInfo servers = 2;</code>
       */
      public Builder addServers(emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo value) {
        if (serversBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureServersIsMutable();
          servers_.add(value);
          onChanged();
        } else {
          serversBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .RegionSimpleInfo servers = 2;</code>
       */
      public Builder addServers(
          int index, emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo value) {
        if (serversBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureServersIsMutable();
          servers_.add(index, value);
          onChanged();
        } else {
          serversBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .RegionSimpleInfo servers = 2;</code>
       */
      public Builder addServers(
          emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo.Builder builderForValue) {
        if (serversBuilder_ == null) {
          ensureServersIsMutable();
          servers_.add(builderForValue.build());
          onChanged();
        } else {
          serversBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .RegionSimpleInfo servers = 2;</code>
       */
      public Builder addServers(
          int index, emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo.Builder builderForValue) {
        if (serversBuilder_ == null) {
          ensureServersIsMutable();
          servers_.add(index, builderForValue.build());
          onChanged();
        } else {
          serversBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .RegionSimpleInfo servers = 2;</code>
       */
      public Builder addAllServers(
          java.lang.Iterable<? extends emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo> values) {
        if (serversBuilder_ == null) {
          ensureServersIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, servers_);
          onChanged();
        } else {
          serversBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .RegionSimpleInfo servers = 2;</code>
       */
      public Builder clearServers() {
        if (serversBuilder_ == null) {
          servers_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          serversBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .RegionSimpleInfo servers = 2;</code>
       */
      public Builder removeServers(int index) {
        if (serversBuilder_ == null) {
          ensureServersIsMutable();
          servers_.remove(index);
          onChanged();
        } else {
          serversBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .RegionSimpleInfo servers = 2;</code>
       */
      public emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo.Builder getServersBuilder(
          int index) {
        return getServersFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .RegionSimpleInfo servers = 2;</code>
       */
      public emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfoOrBuilder getServersOrBuilder(
          int index) {
        if (serversBuilder_ == null) {
          return servers_.get(index);  } else {
          return serversBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .RegionSimpleInfo servers = 2;</code>
       */
      public java.util.List<? extends emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfoOrBuilder> 
           getServersOrBuilderList() {
        if (serversBuilder_ != null) {
          return serversBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(servers_);
        }
      }
      /**
       * <code>repeated .RegionSimpleInfo servers = 2;</code>
       */
      public emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo.Builder addServersBuilder() {
        return getServersFieldBuilder().addBuilder(
            emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo.getDefaultInstance());
      }
      /**
       * <code>repeated .RegionSimpleInfo servers = 2;</code>
       */
      public emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo.Builder addServersBuilder(
          int index) {
        return getServersFieldBuilder().addBuilder(
            index, emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo.getDefaultInstance());
      }
      /**
       * <code>repeated .RegionSimpleInfo servers = 2;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo.Builder> 
           getServersBuilderList() {
        return getServersFieldBuilder().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> 
          getServersFieldBuilder() {
        if (serversBuilder_ == null) {
          serversBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo, emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo.Builder, emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfoOrBuilder>(
                  servers_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          servers_ = null;
        }
        return serversBuilder_;
      }

      private com.google.protobuf.ByteString clientSecretKey_ = com.google.protobuf.ByteString.EMPTY;
      /**
       * <code>bytes clientSecretKey = 5;</code>
       * @return The clientSecretKey.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString getClientSecretKey() {
        return clientSecretKey_;
      }
      /**
       * <code>bytes clientSecretKey = 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 clientSecretKey = 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 clientCustomConfigEncrypted = 6;</code>
       * @return The clientCustomConfigEncrypted.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString getClientCustomConfigEncrypted() {
        return clientCustomConfigEncrypted_;
      }
      /**
       * <code>bytes clientCustomConfigEncrypted = 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 clientCustomConfigEncrypted = 6;</code>
       * @return This builder for chaining.
       */
      public Builder clearClientCustomConfigEncrypted() {
        
        clientCustomConfigEncrypted_ = getDefaultInstance().getClientCustomConfigEncrypted();
        onChanged();
        return this;
      }

      private boolean enableLoginPc_ ;
      /**
       * <code>bool enableLoginPc = 7;</code>
       * @return The enableLoginPc.
       */
      @java.lang.Override
      public boolean getEnableLoginPc() {
        return enableLoginPc_;
      }
      /**
       * <code>bool enableLoginPc = 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 enableLoginPc = 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\"\242\001\n\026QueryRegionListHttpRs" +
      "p\022\017\n\007retcode\030\001 \001(\r\022\"\n\007servers\030\002 \003(\0132\021.Re" +
      "gionSimpleInfo\022\027\n\017clientSecretKey\030\005 \001(\014\022" +
      "#\n\033clientCustomConfigEncrypted\030\006 \001(\014\022\025\n\r" +
      "enableLoginPc\030\007 \001(\010B\033\n\031emu.grasscutter.n" +
      "et.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", "Servers", "ClientSecretKey", "ClientCustomConfigEncrypted", "EnableLoginPc", });
    emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
