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

package emu.grasscutter.net.proto;

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

    /**
     * <code>repeated .Uint32Pair allow_controller_map = 2;</code>
     */
    java.util.List<emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair> 
        getAllowControllerMapList();
    /**
     * <code>repeated .Uint32Pair allow_controller_map = 2;</code>
     */
    emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair getAllowControllerMap(int index);
    /**
     * <code>repeated .Uint32Pair allow_controller_map = 2;</code>
     */
    int getAllowControllerMapCount();
    /**
     * <code>repeated .Uint32Pair allow_controller_map = 2;</code>
     */
    java.util.List<? extends emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32PairOrBuilder> 
        getAllowControllerMapOrBuilderList();
    /**
     * <code>repeated .Uint32Pair allow_controller_map = 2;</code>
     */
    emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32PairOrBuilder getAllowControllerMapOrBuilder(
        int index);

    /**
     * <code>.GCGPhaseType NCIOBPIMFCC = 6;</code>
     * @return The enum numeric value on the wire for nCIOBPIMFCC.
     */
    int getNCIOBPIMFCCValue();
    /**
     * <code>.GCGPhaseType NCIOBPIMFCC = 6;</code>
     * @return The nCIOBPIMFCC.
     */
    emu.grasscutter.net.proto.GCGPhaseTypeOuterClass.GCGPhaseType getNCIOBPIMFCC();

    /**
     * <code>.GCGPhaseType MOBJDCNOHEP = 9;</code>
     * @return The enum numeric value on the wire for mOBJDCNOHEP.
     */
    int getMOBJDCNOHEPValue();
    /**
     * <code>.GCGPhaseType MOBJDCNOHEP = 9;</code>
     * @return The mOBJDCNOHEP.
     */
    emu.grasscutter.net.proto.GCGPhaseTypeOuterClass.GCGPhaseType getMOBJDCNOHEP();
  }
  /**
   * <pre>
   * Obf: KJKEMJGKBHM
   * </pre>
   *
   * Protobuf type {@code GCGMsgPhaseChange}
   */
  public static final class GCGMsgPhaseChange extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:GCGMsgPhaseChange)
      GCGMsgPhaseChangeOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use GCGMsgPhaseChange.newBuilder() to construct.
    private GCGMsgPhaseChange(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private GCGMsgPhaseChange() {
      allowControllerMap_ = java.util.Collections.emptyList();
      nCIOBPIMFCC_ = 0;
      mOBJDCNOHEP_ = 0;
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private GCGMsgPhaseChange(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 18: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                allowControllerMap_ = new java.util.ArrayList<emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair>();
                mutable_bitField0_ |= 0x00000001;
              }
              allowControllerMap_.add(
                  input.readMessage(emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair.parser(), extensionRegistry));
              break;
            }
            case 48: {
              int rawValue = input.readEnum();

              nCIOBPIMFCC_ = rawValue;
              break;
            }
            case 72: {
              int rawValue = input.readEnum();

              mOBJDCNOHEP_ = rawValue;
              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)) {
          allowControllerMap_ = java.util.Collections.unmodifiableList(allowControllerMap_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return emu.grasscutter.net.proto.GCGMsgPhaseChangeOuterClass.internal_static_GCGMsgPhaseChange_descriptor;
    }

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

    public static final int ALLOW_CONTROLLER_MAP_FIELD_NUMBER = 2;
    private java.util.List<emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair> allowControllerMap_;
    /**
     * <code>repeated .Uint32Pair allow_controller_map = 2;</code>
     */
    @java.lang.Override
    public java.util.List<emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair> getAllowControllerMapList() {
      return allowControllerMap_;
    }
    /**
     * <code>repeated .Uint32Pair allow_controller_map = 2;</code>
     */
    @java.lang.Override
    public java.util.List<? extends emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32PairOrBuilder> 
        getAllowControllerMapOrBuilderList() {
      return allowControllerMap_;
    }
    /**
     * <code>repeated .Uint32Pair allow_controller_map = 2;</code>
     */
    @java.lang.Override
    public int getAllowControllerMapCount() {
      return allowControllerMap_.size();
    }
    /**
     * <code>repeated .Uint32Pair allow_controller_map = 2;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair getAllowControllerMap(int index) {
      return allowControllerMap_.get(index);
    }
    /**
     * <code>repeated .Uint32Pair allow_controller_map = 2;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32PairOrBuilder getAllowControllerMapOrBuilder(
        int index) {
      return allowControllerMap_.get(index);
    }

    public static final int NCIOBPIMFCC_FIELD_NUMBER = 6;
    private int nCIOBPIMFCC_;
    /**
     * <code>.GCGPhaseType NCIOBPIMFCC = 6;</code>
     * @return The enum numeric value on the wire for nCIOBPIMFCC.
     */
    @java.lang.Override public int getNCIOBPIMFCCValue() {
      return nCIOBPIMFCC_;
    }
    /**
     * <code>.GCGPhaseType NCIOBPIMFCC = 6;</code>
     * @return The nCIOBPIMFCC.
     */
    @java.lang.Override public emu.grasscutter.net.proto.GCGPhaseTypeOuterClass.GCGPhaseType getNCIOBPIMFCC() {
      @SuppressWarnings("deprecation")
      emu.grasscutter.net.proto.GCGPhaseTypeOuterClass.GCGPhaseType result = emu.grasscutter.net.proto.GCGPhaseTypeOuterClass.GCGPhaseType.valueOf(nCIOBPIMFCC_);
      return result == null ? emu.grasscutter.net.proto.GCGPhaseTypeOuterClass.GCGPhaseType.UNRECOGNIZED : result;
    }

    public static final int MOBJDCNOHEP_FIELD_NUMBER = 9;
    private int mOBJDCNOHEP_;
    /**
     * <code>.GCGPhaseType MOBJDCNOHEP = 9;</code>
     * @return The enum numeric value on the wire for mOBJDCNOHEP.
     */
    @java.lang.Override public int getMOBJDCNOHEPValue() {
      return mOBJDCNOHEP_;
    }
    /**
     * <code>.GCGPhaseType MOBJDCNOHEP = 9;</code>
     * @return The mOBJDCNOHEP.
     */
    @java.lang.Override public emu.grasscutter.net.proto.GCGPhaseTypeOuterClass.GCGPhaseType getMOBJDCNOHEP() {
      @SuppressWarnings("deprecation")
      emu.grasscutter.net.proto.GCGPhaseTypeOuterClass.GCGPhaseType result = emu.grasscutter.net.proto.GCGPhaseTypeOuterClass.GCGPhaseType.valueOf(mOBJDCNOHEP_);
      return result == null ? emu.grasscutter.net.proto.GCGPhaseTypeOuterClass.GCGPhaseType.UNRECOGNIZED : result;
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      for (int i = 0; i < allowControllerMap_.size(); i++) {
        output.writeMessage(2, allowControllerMap_.get(i));
      }
      if (nCIOBPIMFCC_ != emu.grasscutter.net.proto.GCGPhaseTypeOuterClass.GCGPhaseType.OFOHJIEDJKD_GcgPhaseInvalid.getNumber()) {
        output.writeEnum(6, nCIOBPIMFCC_);
      }
      if (mOBJDCNOHEP_ != emu.grasscutter.net.proto.GCGPhaseTypeOuterClass.GCGPhaseType.OFOHJIEDJKD_GcgPhaseInvalid.getNumber()) {
        output.writeEnum(9, mOBJDCNOHEP_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      for (int i = 0; i < allowControllerMap_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, allowControllerMap_.get(i));
      }
      if (nCIOBPIMFCC_ != emu.grasscutter.net.proto.GCGPhaseTypeOuterClass.GCGPhaseType.OFOHJIEDJKD_GcgPhaseInvalid.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(6, nCIOBPIMFCC_);
      }
      if (mOBJDCNOHEP_ != emu.grasscutter.net.proto.GCGPhaseTypeOuterClass.GCGPhaseType.OFOHJIEDJKD_GcgPhaseInvalid.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(9, mOBJDCNOHEP_);
      }
      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.GCGMsgPhaseChangeOuterClass.GCGMsgPhaseChange)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.GCGMsgPhaseChangeOuterClass.GCGMsgPhaseChange other = (emu.grasscutter.net.proto.GCGMsgPhaseChangeOuterClass.GCGMsgPhaseChange) obj;

      if (!getAllowControllerMapList()
          .equals(other.getAllowControllerMapList())) return false;
      if (nCIOBPIMFCC_ != other.nCIOBPIMFCC_) return false;
      if (mOBJDCNOHEP_ != other.mOBJDCNOHEP_) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (getAllowControllerMapCount() > 0) {
        hash = (37 * hash) + ALLOW_CONTROLLER_MAP_FIELD_NUMBER;
        hash = (53 * hash) + getAllowControllerMapList().hashCode();
      }
      hash = (37 * hash) + NCIOBPIMFCC_FIELD_NUMBER;
      hash = (53 * hash) + nCIOBPIMFCC_;
      hash = (37 * hash) + MOBJDCNOHEP_FIELD_NUMBER;
      hash = (53 * hash) + mOBJDCNOHEP_;
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

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

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

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

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

        mOBJDCNOHEP_ = 0;

        return this;
      }

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

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

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

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

      public Builder mergeFrom(emu.grasscutter.net.proto.GCGMsgPhaseChangeOuterClass.GCGMsgPhaseChange other) {
        if (other == emu.grasscutter.net.proto.GCGMsgPhaseChangeOuterClass.GCGMsgPhaseChange.getDefaultInstance()) return this;
        if (allowControllerMapBuilder_ == null) {
          if (!other.allowControllerMap_.isEmpty()) {
            if (allowControllerMap_.isEmpty()) {
              allowControllerMap_ = other.allowControllerMap_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureAllowControllerMapIsMutable();
              allowControllerMap_.addAll(other.allowControllerMap_);
            }
            onChanged();
          }
        } else {
          if (!other.allowControllerMap_.isEmpty()) {
            if (allowControllerMapBuilder_.isEmpty()) {
              allowControllerMapBuilder_.dispose();
              allowControllerMapBuilder_ = null;
              allowControllerMap_ = other.allowControllerMap_;
              bitField0_ = (bitField0_ & ~0x00000001);
              allowControllerMapBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getAllowControllerMapFieldBuilder() : null;
            } else {
              allowControllerMapBuilder_.addAllMessages(other.allowControllerMap_);
            }
          }
        }
        if (other.nCIOBPIMFCC_ != 0) {
          setNCIOBPIMFCCValue(other.getNCIOBPIMFCCValue());
        }
        if (other.mOBJDCNOHEP_ != 0) {
          setMOBJDCNOHEPValue(other.getMOBJDCNOHEPValue());
        }
        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.GCGMsgPhaseChangeOuterClass.GCGMsgPhaseChange parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.GCGMsgPhaseChangeOuterClass.GCGMsgPhaseChange) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.util.List<emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair> allowControllerMap_ =
        java.util.Collections.emptyList();
      private void ensureAllowControllerMapIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          allowControllerMap_ = new java.util.ArrayList<emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair>(allowControllerMap_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair, emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair.Builder, emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32PairOrBuilder> allowControllerMapBuilder_;

      /**
       * <code>repeated .Uint32Pair allow_controller_map = 2;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair> getAllowControllerMapList() {
        if (allowControllerMapBuilder_ == null) {
          return java.util.Collections.unmodifiableList(allowControllerMap_);
        } else {
          return allowControllerMapBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .Uint32Pair allow_controller_map = 2;</code>
       */
      public int getAllowControllerMapCount() {
        if (allowControllerMapBuilder_ == null) {
          return allowControllerMap_.size();
        } else {
          return allowControllerMapBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .Uint32Pair allow_controller_map = 2;</code>
       */
      public emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair getAllowControllerMap(int index) {
        if (allowControllerMapBuilder_ == null) {
          return allowControllerMap_.get(index);
        } else {
          return allowControllerMapBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .Uint32Pair allow_controller_map = 2;</code>
       */
      public Builder setAllowControllerMap(
          int index, emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair value) {
        if (allowControllerMapBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureAllowControllerMapIsMutable();
          allowControllerMap_.set(index, value);
          onChanged();
        } else {
          allowControllerMapBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .Uint32Pair allow_controller_map = 2;</code>
       */
      public Builder setAllowControllerMap(
          int index, emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair.Builder builderForValue) {
        if (allowControllerMapBuilder_ == null) {
          ensureAllowControllerMapIsMutable();
          allowControllerMap_.set(index, builderForValue.build());
          onChanged();
        } else {
          allowControllerMapBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .Uint32Pair allow_controller_map = 2;</code>
       */
      public Builder addAllowControllerMap(emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair value) {
        if (allowControllerMapBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureAllowControllerMapIsMutable();
          allowControllerMap_.add(value);
          onChanged();
        } else {
          allowControllerMapBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .Uint32Pair allow_controller_map = 2;</code>
       */
      public Builder addAllowControllerMap(
          int index, emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair value) {
        if (allowControllerMapBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureAllowControllerMapIsMutable();
          allowControllerMap_.add(index, value);
          onChanged();
        } else {
          allowControllerMapBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .Uint32Pair allow_controller_map = 2;</code>
       */
      public Builder addAllowControllerMap(
          emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair.Builder builderForValue) {
        if (allowControllerMapBuilder_ == null) {
          ensureAllowControllerMapIsMutable();
          allowControllerMap_.add(builderForValue.build());
          onChanged();
        } else {
          allowControllerMapBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .Uint32Pair allow_controller_map = 2;</code>
       */
      public Builder addAllowControllerMap(
          int index, emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair.Builder builderForValue) {
        if (allowControllerMapBuilder_ == null) {
          ensureAllowControllerMapIsMutable();
          allowControllerMap_.add(index, builderForValue.build());
          onChanged();
        } else {
          allowControllerMapBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .Uint32Pair allow_controller_map = 2;</code>
       */
      public Builder addAllAllowControllerMap(
          java.lang.Iterable<? extends emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair> values) {
        if (allowControllerMapBuilder_ == null) {
          ensureAllowControllerMapIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, allowControllerMap_);
          onChanged();
        } else {
          allowControllerMapBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .Uint32Pair allow_controller_map = 2;</code>
       */
      public Builder clearAllowControllerMap() {
        if (allowControllerMapBuilder_ == null) {
          allowControllerMap_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          allowControllerMapBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .Uint32Pair allow_controller_map = 2;</code>
       */
      public Builder removeAllowControllerMap(int index) {
        if (allowControllerMapBuilder_ == null) {
          ensureAllowControllerMapIsMutable();
          allowControllerMap_.remove(index);
          onChanged();
        } else {
          allowControllerMapBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .Uint32Pair allow_controller_map = 2;</code>
       */
      public emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair.Builder getAllowControllerMapBuilder(
          int index) {
        return getAllowControllerMapFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .Uint32Pair allow_controller_map = 2;</code>
       */
      public emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32PairOrBuilder getAllowControllerMapOrBuilder(
          int index) {
        if (allowControllerMapBuilder_ == null) {
          return allowControllerMap_.get(index);  } else {
          return allowControllerMapBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .Uint32Pair allow_controller_map = 2;</code>
       */
      public java.util.List<? extends emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32PairOrBuilder> 
           getAllowControllerMapOrBuilderList() {
        if (allowControllerMapBuilder_ != null) {
          return allowControllerMapBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(allowControllerMap_);
        }
      }
      /**
       * <code>repeated .Uint32Pair allow_controller_map = 2;</code>
       */
      public emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair.Builder addAllowControllerMapBuilder() {
        return getAllowControllerMapFieldBuilder().addBuilder(
            emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair.getDefaultInstance());
      }
      /**
       * <code>repeated .Uint32Pair allow_controller_map = 2;</code>
       */
      public emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair.Builder addAllowControllerMapBuilder(
          int index) {
        return getAllowControllerMapFieldBuilder().addBuilder(
            index, emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair.getDefaultInstance());
      }
      /**
       * <code>repeated .Uint32Pair allow_controller_map = 2;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair.Builder> 
           getAllowControllerMapBuilderList() {
        return getAllowControllerMapFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair, emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair.Builder, emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32PairOrBuilder> 
          getAllowControllerMapFieldBuilder() {
        if (allowControllerMapBuilder_ == null) {
          allowControllerMapBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair, emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair.Builder, emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32PairOrBuilder>(
                  allowControllerMap_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          allowControllerMap_ = null;
        }
        return allowControllerMapBuilder_;
      }

      private int nCIOBPIMFCC_ = 0;
      /**
       * <code>.GCGPhaseType NCIOBPIMFCC = 6;</code>
       * @return The enum numeric value on the wire for nCIOBPIMFCC.
       */
      @java.lang.Override public int getNCIOBPIMFCCValue() {
        return nCIOBPIMFCC_;
      }
      /**
       * <code>.GCGPhaseType NCIOBPIMFCC = 6;</code>
       * @param value The enum numeric value on the wire for nCIOBPIMFCC to set.
       * @return This builder for chaining.
       */
      public Builder setNCIOBPIMFCCValue(int value) {
        
        nCIOBPIMFCC_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>.GCGPhaseType NCIOBPIMFCC = 6;</code>
       * @return The nCIOBPIMFCC.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.GCGPhaseTypeOuterClass.GCGPhaseType getNCIOBPIMFCC() {
        @SuppressWarnings("deprecation")
        emu.grasscutter.net.proto.GCGPhaseTypeOuterClass.GCGPhaseType result = emu.grasscutter.net.proto.GCGPhaseTypeOuterClass.GCGPhaseType.valueOf(nCIOBPIMFCC_);
        return result == null ? emu.grasscutter.net.proto.GCGPhaseTypeOuterClass.GCGPhaseType.UNRECOGNIZED : result;
      }
      /**
       * <code>.GCGPhaseType NCIOBPIMFCC = 6;</code>
       * @param value The nCIOBPIMFCC to set.
       * @return This builder for chaining.
       */
      public Builder setNCIOBPIMFCC(emu.grasscutter.net.proto.GCGPhaseTypeOuterClass.GCGPhaseType value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        nCIOBPIMFCC_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * <code>.GCGPhaseType NCIOBPIMFCC = 6;</code>
       * @return This builder for chaining.
       */
      public Builder clearNCIOBPIMFCC() {
        
        nCIOBPIMFCC_ = 0;
        onChanged();
        return this;
      }

      private int mOBJDCNOHEP_ = 0;
      /**
       * <code>.GCGPhaseType MOBJDCNOHEP = 9;</code>
       * @return The enum numeric value on the wire for mOBJDCNOHEP.
       */
      @java.lang.Override public int getMOBJDCNOHEPValue() {
        return mOBJDCNOHEP_;
      }
      /**
       * <code>.GCGPhaseType MOBJDCNOHEP = 9;</code>
       * @param value The enum numeric value on the wire for mOBJDCNOHEP to set.
       * @return This builder for chaining.
       */
      public Builder setMOBJDCNOHEPValue(int value) {
        
        mOBJDCNOHEP_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>.GCGPhaseType MOBJDCNOHEP = 9;</code>
       * @return The mOBJDCNOHEP.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.GCGPhaseTypeOuterClass.GCGPhaseType getMOBJDCNOHEP() {
        @SuppressWarnings("deprecation")
        emu.grasscutter.net.proto.GCGPhaseTypeOuterClass.GCGPhaseType result = emu.grasscutter.net.proto.GCGPhaseTypeOuterClass.GCGPhaseType.valueOf(mOBJDCNOHEP_);
        return result == null ? emu.grasscutter.net.proto.GCGPhaseTypeOuterClass.GCGPhaseType.UNRECOGNIZED : result;
      }
      /**
       * <code>.GCGPhaseType MOBJDCNOHEP = 9;</code>
       * @param value The mOBJDCNOHEP to set.
       * @return This builder for chaining.
       */
      public Builder setMOBJDCNOHEP(emu.grasscutter.net.proto.GCGPhaseTypeOuterClass.GCGPhaseType value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        mOBJDCNOHEP_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * <code>.GCGPhaseType MOBJDCNOHEP = 9;</code>
       * @return This builder for chaining.
       */
      public Builder clearMOBJDCNOHEP() {
        
        mOBJDCNOHEP_ = 0;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

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


      // @@protoc_insertion_point(builder_scope:GCGMsgPhaseChange)
    }

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

    public static emu.grasscutter.net.proto.GCGMsgPhaseChangeOuterClass.GCGMsgPhaseChange getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_GCGMsgPhaseChange_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_GCGMsgPhaseChange_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\027GCGMsgPhaseChange.proto\032\020Uint32Pair.pr" +
      "oto\032\022GCGPhaseType.proto\"\206\001\n\021GCGMsgPhaseC" +
      "hange\022)\n\024allow_controller_map\030\002 \003(\0132\013.Ui" +
      "nt32Pair\022\"\n\013NCIOBPIMFCC\030\006 \001(\0162\r.GCGPhase" +
      "Type\022\"\n\013MOBJDCNOHEP\030\t \001(\0162\r.GCGPhaseType" +
      "B\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.Uint32PairOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.GCGPhaseTypeOuterClass.getDescriptor(),
        });
    internal_static_GCGMsgPhaseChange_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_GCGMsgPhaseChange_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_GCGMsgPhaseChange_descriptor,
        new java.lang.String[] { "AllowControllerMap", "NCIOBPIMFCC", "MOBJDCNOHEP", });
    emu.grasscutter.net.proto.Uint32PairOuterClass.getDescriptor();
    emu.grasscutter.net.proto.GCGPhaseTypeOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
