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

package emu.grasscutter.net.proto;

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

    /**
     * <code>string next_res_version_config = 8;</code>
     * @return The nextResVersionConfig.
     */
    java.lang.String getNextResVersionConfig();
    /**
     * <code>string next_res_version_config = 8;</code>
     * @return The bytes for nextResVersionConfig.
     */
    com.google.protobuf.ByteString
        getNextResVersionConfigBytes();

    /**
     * <code>uint32 client_silence_data_version = 6;</code>
     * @return The clientSilenceDataVersion.
     */
    int getClientSilenceDataVersion();

    /**
     * <code>string client_silence_version_suffix = 9;</code>
     * @return The clientSilenceVersionSuffix.
     */
    java.lang.String getClientSilenceVersionSuffix();
    /**
     * <code>string client_silence_version_suffix = 9;</code>
     * @return The bytes for clientSilenceVersionSuffix.
     */
    com.google.protobuf.ByteString
        getClientSilenceVersionSuffixBytes();

    /**
     * <code>.ResVersionConfig res_version_config = 7;</code>
     * @return Whether the resVersionConfig field is set.
     */
    boolean hasResVersionConfig();
    /**
     * <code>.ResVersionConfig res_version_config = 7;</code>
     * @return The resVersionConfig.
     */
    emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig getResVersionConfig();
    /**
     * <code>.ResVersionConfig res_version_config = 7;</code>
     */
    emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfigOrBuilder getResVersionConfigOrBuilder();

    /**
     * <code>bool is_data_need_relogin = 3;</code>
     * @return The isDataNeedRelogin.
     */
    boolean getIsDataNeedRelogin();

    /**
     * <code>string client_md5 = 5;</code>
     * @return The clientMd5.
     */
    java.lang.String getClientMd5();
    /**
     * <code>string client_md5 = 5;</code>
     * @return The bytes for clientMd5.
     */
    com.google.protobuf.ByteString
        getClientMd5Bytes();

    /**
     * <code>.DataResVersionNotify.DataResVersionOpType op_type = 1;</code>
     * @return The enum numeric value on the wire for opType.
     */
    int getOpTypeValue();
    /**
     * <code>.DataResVersionNotify.DataResVersionOpType op_type = 1;</code>
     * @return The opType.
     */
    emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify.DataResVersionOpType getOpType();

    /**
     * <code>uint32 client_data_version = 2;</code>
     * @return The clientDataVersion.
     */
    int getClientDataVersion();

    /**
     * <code>string client_version_suffix = 14;</code>
     * @return The clientVersionSuffix.
     */
    java.lang.String getClientVersionSuffix();
    /**
     * <code>string client_version_suffix = 14;</code>
     * @return The bytes for clientVersionSuffix.
     */
    com.google.protobuf.ByteString
        getClientVersionSuffixBytes();
  }
  /**
   * <pre>
   * CmdId: 118
   * Name: AKGLNBEFBAE
   * </pre>
   *
   * Protobuf type {@code DataResVersionNotify}
   */
  public static final class DataResVersionNotify extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:DataResVersionNotify)
      DataResVersionNotifyOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use DataResVersionNotify.newBuilder() to construct.
    private DataResVersionNotify(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private DataResVersionNotify() {
      nextResVersionConfig_ = "";
      clientSilenceVersionSuffix_ = "";
      clientMd5_ = "";
      opType_ = 0;
      clientVersionSuffix_ = "";
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private DataResVersionNotify(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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: {
              int rawValue = input.readEnum();

              opType_ = rawValue;
              break;
            }
            case 16: {

              clientDataVersion_ = input.readUInt32();
              break;
            }
            case 24: {

              isDataNeedRelogin_ = input.readBool();
              break;
            }
            case 42: {
              java.lang.String s = input.readStringRequireUtf8();

              clientMd5_ = s;
              break;
            }
            case 48: {

              clientSilenceDataVersion_ = input.readUInt32();
              break;
            }
            case 58: {
              emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig.Builder subBuilder = null;
              if (resVersionConfig_ != null) {
                subBuilder = resVersionConfig_.toBuilder();
              }
              resVersionConfig_ = input.readMessage(emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(resVersionConfig_);
                resVersionConfig_ = subBuilder.buildPartial();
              }

              break;
            }
            case 66: {
              java.lang.String s = input.readStringRequireUtf8();

              nextResVersionConfig_ = s;
              break;
            }
            case 74: {
              java.lang.String s = input.readStringRequireUtf8();

              clientSilenceVersionSuffix_ = s;
              break;
            }
            case 114: {
              java.lang.String s = input.readStringRequireUtf8();

              clientVersionSuffix_ = s;
              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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.internal_static_DataResVersionNotify_descriptor;
    }

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

    /**
     * <pre>
     * Name: NIAIEPJFONE
     * </pre>
     *
     * Protobuf enum {@code DataResVersionNotify.DataResVersionOpType}
     */
    public enum DataResVersionOpType
        implements com.google.protobuf.ProtocolMessageEnum {
      /**
       * <code>OP_TYPE_NONE = 0;</code>
       */
      OP_TYPE_NONE(0),
      /**
       * <code>OP_TYPE_RELOGIN = 1;</code>
       */
      OP_TYPE_RELOGIN(1),
      /**
       * <code>OP_TYPE_MP_RELOGIN = 2;</code>
       */
      OP_TYPE_MP_RELOGIN(2),
      UNRECOGNIZED(-1),
      ;

      /**
       * <code>OP_TYPE_NONE = 0;</code>
       */
      public static final int OP_TYPE_NONE_VALUE = 0;
      /**
       * <code>OP_TYPE_RELOGIN = 1;</code>
       */
      public static final int OP_TYPE_RELOGIN_VALUE = 1;
      /**
       * <code>OP_TYPE_MP_RELOGIN = 2;</code>
       */
      public static final int OP_TYPE_MP_RELOGIN_VALUE = 2;


      public final int getNumber() {
        if (this == UNRECOGNIZED) {
          throw new java.lang.IllegalArgumentException(
              "Can't get the number of an unknown enum value.");
        }
        return value;
      }

      /**
       * @param value The numeric wire value of the corresponding enum entry.
       * @return The enum associated with the given numeric wire value.
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static DataResVersionOpType valueOf(int value) {
        return forNumber(value);
      }

      /**
       * @param value The numeric wire value of the corresponding enum entry.
       * @return The enum associated with the given numeric wire value.
       */
      public static DataResVersionOpType forNumber(int value) {
        switch (value) {
          case 0: return OP_TYPE_NONE;
          case 1: return OP_TYPE_RELOGIN;
          case 2: return OP_TYPE_MP_RELOGIN;
          default: return null;
        }
      }

      public static com.google.protobuf.Internal.EnumLiteMap<DataResVersionOpType>
          internalGetValueMap() {
        return internalValueMap;
      }
      private static final com.google.protobuf.Internal.EnumLiteMap<
          DataResVersionOpType> internalValueMap =
            new com.google.protobuf.Internal.EnumLiteMap<DataResVersionOpType>() {
              public DataResVersionOpType findValueByNumber(int number) {
                return DataResVersionOpType.forNumber(number);
              }
            };

      public final com.google.protobuf.Descriptors.EnumValueDescriptor
          getValueDescriptor() {
        if (this == UNRECOGNIZED) {
          throw new java.lang.IllegalStateException(
              "Can't get the descriptor of an unrecognized enum value.");
        }
        return getDescriptor().getValues().get(ordinal());
      }
      public final com.google.protobuf.Descriptors.EnumDescriptor
          getDescriptorForType() {
        return getDescriptor();
      }
      public static final com.google.protobuf.Descriptors.EnumDescriptor
          getDescriptor() {
        return emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify.getDescriptor().getEnumTypes().get(0);
      }

      private static final DataResVersionOpType[] VALUES = values();

      public static DataResVersionOpType valueOf(
          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
        if (desc.getType() != getDescriptor()) {
          throw new java.lang.IllegalArgumentException(
            "EnumValueDescriptor is not for this type.");
        }
        if (desc.getIndex() == -1) {
          return UNRECOGNIZED;
        }
        return VALUES[desc.getIndex()];
      }

      private final int value;

      private DataResVersionOpType(int value) {
        this.value = value;
      }

      // @@protoc_insertion_point(enum_scope:DataResVersionNotify.DataResVersionOpType)
    }

    public static final int NEXT_RES_VERSION_CONFIG_FIELD_NUMBER = 8;
    private volatile java.lang.Object nextResVersionConfig_;
    /**
     * <code>string next_res_version_config = 8;</code>
     * @return The nextResVersionConfig.
     */
    @java.lang.Override
    public java.lang.String getNextResVersionConfig() {
      java.lang.Object ref = nextResVersionConfig_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        nextResVersionConfig_ = s;
        return s;
      }
    }
    /**
     * <code>string next_res_version_config = 8;</code>
     * @return The bytes for nextResVersionConfig.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getNextResVersionConfigBytes() {
      java.lang.Object ref = nextResVersionConfig_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        nextResVersionConfig_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int CLIENT_SILENCE_DATA_VERSION_FIELD_NUMBER = 6;
    private int clientSilenceDataVersion_;
    /**
     * <code>uint32 client_silence_data_version = 6;</code>
     * @return The clientSilenceDataVersion.
     */
    @java.lang.Override
    public int getClientSilenceDataVersion() {
      return clientSilenceDataVersion_;
    }

    public static final int CLIENT_SILENCE_VERSION_SUFFIX_FIELD_NUMBER = 9;
    private volatile java.lang.Object clientSilenceVersionSuffix_;
    /**
     * <code>string client_silence_version_suffix = 9;</code>
     * @return The clientSilenceVersionSuffix.
     */
    @java.lang.Override
    public java.lang.String getClientSilenceVersionSuffix() {
      java.lang.Object ref = clientSilenceVersionSuffix_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        clientSilenceVersionSuffix_ = s;
        return s;
      }
    }
    /**
     * <code>string client_silence_version_suffix = 9;</code>
     * @return The bytes for clientSilenceVersionSuffix.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getClientSilenceVersionSuffixBytes() {
      java.lang.Object ref = clientSilenceVersionSuffix_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        clientSilenceVersionSuffix_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int RES_VERSION_CONFIG_FIELD_NUMBER = 7;
    private emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig resVersionConfig_;
    /**
     * <code>.ResVersionConfig res_version_config = 7;</code>
     * @return Whether the resVersionConfig field is set.
     */
    @java.lang.Override
    public boolean hasResVersionConfig() {
      return resVersionConfig_ != null;
    }
    /**
     * <code>.ResVersionConfig res_version_config = 7;</code>
     * @return The resVersionConfig.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig getResVersionConfig() {
      return resVersionConfig_ == null ? emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig.getDefaultInstance() : resVersionConfig_;
    }
    /**
     * <code>.ResVersionConfig res_version_config = 7;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfigOrBuilder getResVersionConfigOrBuilder() {
      return getResVersionConfig();
    }

    public static final int IS_DATA_NEED_RELOGIN_FIELD_NUMBER = 3;
    private boolean isDataNeedRelogin_;
    /**
     * <code>bool is_data_need_relogin = 3;</code>
     * @return The isDataNeedRelogin.
     */
    @java.lang.Override
    public boolean getIsDataNeedRelogin() {
      return isDataNeedRelogin_;
    }

    public static final int CLIENT_MD5_FIELD_NUMBER = 5;
    private volatile java.lang.Object clientMd5_;
    /**
     * <code>string client_md5 = 5;</code>
     * @return The clientMd5.
     */
    @java.lang.Override
    public java.lang.String getClientMd5() {
      java.lang.Object ref = clientMd5_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        clientMd5_ = s;
        return s;
      }
    }
    /**
     * <code>string client_md5 = 5;</code>
     * @return The bytes for clientMd5.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getClientMd5Bytes() {
      java.lang.Object ref = clientMd5_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        clientMd5_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int OP_TYPE_FIELD_NUMBER = 1;
    private int opType_;
    /**
     * <code>.DataResVersionNotify.DataResVersionOpType op_type = 1;</code>
     * @return The enum numeric value on the wire for opType.
     */
    @java.lang.Override public int getOpTypeValue() {
      return opType_;
    }
    /**
     * <code>.DataResVersionNotify.DataResVersionOpType op_type = 1;</code>
     * @return The opType.
     */
    @java.lang.Override public emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify.DataResVersionOpType getOpType() {
      @SuppressWarnings("deprecation")
      emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify.DataResVersionOpType result = emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify.DataResVersionOpType.valueOf(opType_);
      return result == null ? emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify.DataResVersionOpType.UNRECOGNIZED : result;
    }

    public static final int CLIENT_DATA_VERSION_FIELD_NUMBER = 2;
    private int clientDataVersion_;
    /**
     * <code>uint32 client_data_version = 2;</code>
     * @return The clientDataVersion.
     */
    @java.lang.Override
    public int getClientDataVersion() {
      return clientDataVersion_;
    }

    public static final int CLIENT_VERSION_SUFFIX_FIELD_NUMBER = 14;
    private volatile java.lang.Object clientVersionSuffix_;
    /**
     * <code>string client_version_suffix = 14;</code>
     * @return The clientVersionSuffix.
     */
    @java.lang.Override
    public java.lang.String getClientVersionSuffix() {
      java.lang.Object ref = clientVersionSuffix_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        clientVersionSuffix_ = s;
        return s;
      }
    }
    /**
     * <code>string client_version_suffix = 14;</code>
     * @return The bytes for clientVersionSuffix.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getClientVersionSuffixBytes() {
      java.lang.Object ref = clientVersionSuffix_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        clientVersionSuffix_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    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 (opType_ != emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify.DataResVersionOpType.OP_TYPE_NONE.getNumber()) {
        output.writeEnum(1, opType_);
      }
      if (clientDataVersion_ != 0) {
        output.writeUInt32(2, clientDataVersion_);
      }
      if (isDataNeedRelogin_ != false) {
        output.writeBool(3, isDataNeedRelogin_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientMd5_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 5, clientMd5_);
      }
      if (clientSilenceDataVersion_ != 0) {
        output.writeUInt32(6, clientSilenceDataVersion_);
      }
      if (resVersionConfig_ != null) {
        output.writeMessage(7, getResVersionConfig());
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextResVersionConfig_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 8, nextResVersionConfig_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientSilenceVersionSuffix_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 9, clientSilenceVersionSuffix_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientVersionSuffix_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 14, clientVersionSuffix_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (opType_ != emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify.DataResVersionOpType.OP_TYPE_NONE.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(1, opType_);
      }
      if (clientDataVersion_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(2, clientDataVersion_);
      }
      if (isDataNeedRelogin_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(3, isDataNeedRelogin_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientMd5_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, clientMd5_);
      }
      if (clientSilenceDataVersion_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(6, clientSilenceDataVersion_);
      }
      if (resVersionConfig_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(7, getResVersionConfig());
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextResVersionConfig_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, nextResVersionConfig_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientSilenceVersionSuffix_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, clientSilenceVersionSuffix_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientVersionSuffix_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, clientVersionSuffix_);
      }
      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.DataResVersionNotifyOuterClass.DataResVersionNotify)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify other = (emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify) obj;

      if (!getNextResVersionConfig()
          .equals(other.getNextResVersionConfig())) return false;
      if (getClientSilenceDataVersion()
          != other.getClientSilenceDataVersion()) return false;
      if (!getClientSilenceVersionSuffix()
          .equals(other.getClientSilenceVersionSuffix())) return false;
      if (hasResVersionConfig() != other.hasResVersionConfig()) return false;
      if (hasResVersionConfig()) {
        if (!getResVersionConfig()
            .equals(other.getResVersionConfig())) return false;
      }
      if (getIsDataNeedRelogin()
          != other.getIsDataNeedRelogin()) return false;
      if (!getClientMd5()
          .equals(other.getClientMd5())) return false;
      if (opType_ != other.opType_) return false;
      if (getClientDataVersion()
          != other.getClientDataVersion()) return false;
      if (!getClientVersionSuffix()
          .equals(other.getClientVersionSuffix())) 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) + NEXT_RES_VERSION_CONFIG_FIELD_NUMBER;
      hash = (53 * hash) + getNextResVersionConfig().hashCode();
      hash = (37 * hash) + CLIENT_SILENCE_DATA_VERSION_FIELD_NUMBER;
      hash = (53 * hash) + getClientSilenceDataVersion();
      hash = (37 * hash) + CLIENT_SILENCE_VERSION_SUFFIX_FIELD_NUMBER;
      hash = (53 * hash) + getClientSilenceVersionSuffix().hashCode();
      if (hasResVersionConfig()) {
        hash = (37 * hash) + RES_VERSION_CONFIG_FIELD_NUMBER;
        hash = (53 * hash) + getResVersionConfig().hashCode();
      }
      hash = (37 * hash) + IS_DATA_NEED_RELOGIN_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getIsDataNeedRelogin());
      hash = (37 * hash) + CLIENT_MD5_FIELD_NUMBER;
      hash = (53 * hash) + getClientMd5().hashCode();
      hash = (37 * hash) + OP_TYPE_FIELD_NUMBER;
      hash = (53 * hash) + opType_;
      hash = (37 * hash) + CLIENT_DATA_VERSION_FIELD_NUMBER;
      hash = (53 * hash) + getClientDataVersion();
      hash = (37 * hash) + CLIENT_VERSION_SUFFIX_FIELD_NUMBER;
      hash = (53 * hash) + getClientVersionSuffix().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify 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.DataResVersionNotifyOuterClass.DataResVersionNotify parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify 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.DataResVersionNotifyOuterClass.DataResVersionNotify parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify 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.DataResVersionNotifyOuterClass.DataResVersionNotify parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify 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.DataResVersionNotifyOuterClass.DataResVersionNotify parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify 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.DataResVersionNotifyOuterClass.DataResVersionNotify 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>
     * CmdId: 118
     * Name: AKGLNBEFBAE
     * </pre>
     *
     * Protobuf type {@code DataResVersionNotify}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:DataResVersionNotify)
        emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotifyOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.internal_static_DataResVersionNotify_descriptor;
      }

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

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

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

        clientSilenceDataVersion_ = 0;

        clientSilenceVersionSuffix_ = "";

        if (resVersionConfigBuilder_ == null) {
          resVersionConfig_ = null;
        } else {
          resVersionConfig_ = null;
          resVersionConfigBuilder_ = null;
        }
        isDataNeedRelogin_ = false;

        clientMd5_ = "";

        opType_ = 0;

        clientDataVersion_ = 0;

        clientVersionSuffix_ = "";

        return this;
      }

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

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

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

      @java.lang.Override
      public emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify buildPartial() {
        emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify result = new emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify(this);
        result.nextResVersionConfig_ = nextResVersionConfig_;
        result.clientSilenceDataVersion_ = clientSilenceDataVersion_;
        result.clientSilenceVersionSuffix_ = clientSilenceVersionSuffix_;
        if (resVersionConfigBuilder_ == null) {
          result.resVersionConfig_ = resVersionConfig_;
        } else {
          result.resVersionConfig_ = resVersionConfigBuilder_.build();
        }
        result.isDataNeedRelogin_ = isDataNeedRelogin_;
        result.clientMd5_ = clientMd5_;
        result.opType_ = opType_;
        result.clientDataVersion_ = clientDataVersion_;
        result.clientVersionSuffix_ = clientVersionSuffix_;
        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.DataResVersionNotifyOuterClass.DataResVersionNotify) {
          return mergeFrom((emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify other) {
        if (other == emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify.getDefaultInstance()) return this;
        if (!other.getNextResVersionConfig().isEmpty()) {
          nextResVersionConfig_ = other.nextResVersionConfig_;
          onChanged();
        }
        if (other.getClientSilenceDataVersion() != 0) {
          setClientSilenceDataVersion(other.getClientSilenceDataVersion());
        }
        if (!other.getClientSilenceVersionSuffix().isEmpty()) {
          clientSilenceVersionSuffix_ = other.clientSilenceVersionSuffix_;
          onChanged();
        }
        if (other.hasResVersionConfig()) {
          mergeResVersionConfig(other.getResVersionConfig());
        }
        if (other.getIsDataNeedRelogin() != false) {
          setIsDataNeedRelogin(other.getIsDataNeedRelogin());
        }
        if (!other.getClientMd5().isEmpty()) {
          clientMd5_ = other.clientMd5_;
          onChanged();
        }
        if (other.opType_ != 0) {
          setOpTypeValue(other.getOpTypeValue());
        }
        if (other.getClientDataVersion() != 0) {
          setClientDataVersion(other.getClientDataVersion());
        }
        if (!other.getClientVersionSuffix().isEmpty()) {
          clientVersionSuffix_ = other.clientVersionSuffix_;
          onChanged();
        }
        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.DataResVersionNotifyOuterClass.DataResVersionNotify parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private java.lang.Object nextResVersionConfig_ = "";
      /**
       * <code>string next_res_version_config = 8;</code>
       * @return The nextResVersionConfig.
       */
      public java.lang.String getNextResVersionConfig() {
        java.lang.Object ref = nextResVersionConfig_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          nextResVersionConfig_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string next_res_version_config = 8;</code>
       * @return The bytes for nextResVersionConfig.
       */
      public com.google.protobuf.ByteString
          getNextResVersionConfigBytes() {
        java.lang.Object ref = nextResVersionConfig_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          nextResVersionConfig_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string next_res_version_config = 8;</code>
       * @param value The nextResVersionConfig to set.
       * @return This builder for chaining.
       */
      public Builder setNextResVersionConfig(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        nextResVersionConfig_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string next_res_version_config = 8;</code>
       * @return This builder for chaining.
       */
      public Builder clearNextResVersionConfig() {
        
        nextResVersionConfig_ = getDefaultInstance().getNextResVersionConfig();
        onChanged();
        return this;
      }
      /**
       * <code>string next_res_version_config = 8;</code>
       * @param value The bytes for nextResVersionConfig to set.
       * @return This builder for chaining.
       */
      public Builder setNextResVersionConfigBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        nextResVersionConfig_ = value;
        onChanged();
        return this;
      }

      private int clientSilenceDataVersion_ ;
      /**
       * <code>uint32 client_silence_data_version = 6;</code>
       * @return The clientSilenceDataVersion.
       */
      @java.lang.Override
      public int getClientSilenceDataVersion() {
        return clientSilenceDataVersion_;
      }
      /**
       * <code>uint32 client_silence_data_version = 6;</code>
       * @param value The clientSilenceDataVersion to set.
       * @return This builder for chaining.
       */
      public Builder setClientSilenceDataVersion(int value) {
        
        clientSilenceDataVersion_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 client_silence_data_version = 6;</code>
       * @return This builder for chaining.
       */
      public Builder clearClientSilenceDataVersion() {
        
        clientSilenceDataVersion_ = 0;
        onChanged();
        return this;
      }

      private java.lang.Object clientSilenceVersionSuffix_ = "";
      /**
       * <code>string client_silence_version_suffix = 9;</code>
       * @return The clientSilenceVersionSuffix.
       */
      public java.lang.String getClientSilenceVersionSuffix() {
        java.lang.Object ref = clientSilenceVersionSuffix_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          clientSilenceVersionSuffix_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string client_silence_version_suffix = 9;</code>
       * @return The bytes for clientSilenceVersionSuffix.
       */
      public com.google.protobuf.ByteString
          getClientSilenceVersionSuffixBytes() {
        java.lang.Object ref = clientSilenceVersionSuffix_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          clientSilenceVersionSuffix_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string client_silence_version_suffix = 9;</code>
       * @param value The clientSilenceVersionSuffix to set.
       * @return This builder for chaining.
       */
      public Builder setClientSilenceVersionSuffix(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        clientSilenceVersionSuffix_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string client_silence_version_suffix = 9;</code>
       * @return This builder for chaining.
       */
      public Builder clearClientSilenceVersionSuffix() {
        
        clientSilenceVersionSuffix_ = getDefaultInstance().getClientSilenceVersionSuffix();
        onChanged();
        return this;
      }
      /**
       * <code>string client_silence_version_suffix = 9;</code>
       * @param value The bytes for clientSilenceVersionSuffix to set.
       * @return This builder for chaining.
       */
      public Builder setClientSilenceVersionSuffixBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        clientSilenceVersionSuffix_ = value;
        onChanged();
        return this;
      }

      private emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig resVersionConfig_;
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig, emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig.Builder, emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfigOrBuilder> resVersionConfigBuilder_;
      /**
       * <code>.ResVersionConfig res_version_config = 7;</code>
       * @return Whether the resVersionConfig field is set.
       */
      public boolean hasResVersionConfig() {
        return resVersionConfigBuilder_ != null || resVersionConfig_ != null;
      }
      /**
       * <code>.ResVersionConfig res_version_config = 7;</code>
       * @return The resVersionConfig.
       */
      public emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig getResVersionConfig() {
        if (resVersionConfigBuilder_ == null) {
          return resVersionConfig_ == null ? emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig.getDefaultInstance() : resVersionConfig_;
        } else {
          return resVersionConfigBuilder_.getMessage();
        }
      }
      /**
       * <code>.ResVersionConfig res_version_config = 7;</code>
       */
      public Builder setResVersionConfig(emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig value) {
        if (resVersionConfigBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          resVersionConfig_ = value;
          onChanged();
        } else {
          resVersionConfigBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.ResVersionConfig res_version_config = 7;</code>
       */
      public Builder setResVersionConfig(
          emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig.Builder builderForValue) {
        if (resVersionConfigBuilder_ == null) {
          resVersionConfig_ = builderForValue.build();
          onChanged();
        } else {
          resVersionConfigBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.ResVersionConfig res_version_config = 7;</code>
       */
      public Builder mergeResVersionConfig(emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig value) {
        if (resVersionConfigBuilder_ == null) {
          if (resVersionConfig_ != null) {
            resVersionConfig_ =
              emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig.newBuilder(resVersionConfig_).mergeFrom(value).buildPartial();
          } else {
            resVersionConfig_ = value;
          }
          onChanged();
        } else {
          resVersionConfigBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.ResVersionConfig res_version_config = 7;</code>
       */
      public Builder clearResVersionConfig() {
        if (resVersionConfigBuilder_ == null) {
          resVersionConfig_ = null;
          onChanged();
        } else {
          resVersionConfig_ = null;
          resVersionConfigBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.ResVersionConfig res_version_config = 7;</code>
       */
      public emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig.Builder getResVersionConfigBuilder() {
        
        onChanged();
        return getResVersionConfigFieldBuilder().getBuilder();
      }
      /**
       * <code>.ResVersionConfig res_version_config = 7;</code>
       */
      public emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfigOrBuilder getResVersionConfigOrBuilder() {
        if (resVersionConfigBuilder_ != null) {
          return resVersionConfigBuilder_.getMessageOrBuilder();
        } else {
          return resVersionConfig_ == null ?
              emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig.getDefaultInstance() : resVersionConfig_;
        }
      }
      /**
       * <code>.ResVersionConfig res_version_config = 7;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig, emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig.Builder, emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfigOrBuilder> 
          getResVersionConfigFieldBuilder() {
        if (resVersionConfigBuilder_ == null) {
          resVersionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig, emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig.Builder, emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfigOrBuilder>(
                  getResVersionConfig(),
                  getParentForChildren(),
                  isClean());
          resVersionConfig_ = null;
        }
        return resVersionConfigBuilder_;
      }

      private boolean isDataNeedRelogin_ ;
      /**
       * <code>bool is_data_need_relogin = 3;</code>
       * @return The isDataNeedRelogin.
       */
      @java.lang.Override
      public boolean getIsDataNeedRelogin() {
        return isDataNeedRelogin_;
      }
      /**
       * <code>bool is_data_need_relogin = 3;</code>
       * @param value The isDataNeedRelogin to set.
       * @return This builder for chaining.
       */
      public Builder setIsDataNeedRelogin(boolean value) {
        
        isDataNeedRelogin_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bool is_data_need_relogin = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearIsDataNeedRelogin() {
        
        isDataNeedRelogin_ = false;
        onChanged();
        return this;
      }

      private java.lang.Object clientMd5_ = "";
      /**
       * <code>string client_md5 = 5;</code>
       * @return The clientMd5.
       */
      public java.lang.String getClientMd5() {
        java.lang.Object ref = clientMd5_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          clientMd5_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string client_md5 = 5;</code>
       * @return The bytes for clientMd5.
       */
      public com.google.protobuf.ByteString
          getClientMd5Bytes() {
        java.lang.Object ref = clientMd5_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          clientMd5_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string client_md5 = 5;</code>
       * @param value The clientMd5 to set.
       * @return This builder for chaining.
       */
      public Builder setClientMd5(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        clientMd5_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string client_md5 = 5;</code>
       * @return This builder for chaining.
       */
      public Builder clearClientMd5() {
        
        clientMd5_ = getDefaultInstance().getClientMd5();
        onChanged();
        return this;
      }
      /**
       * <code>string client_md5 = 5;</code>
       * @param value The bytes for clientMd5 to set.
       * @return This builder for chaining.
       */
      public Builder setClientMd5Bytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        clientMd5_ = value;
        onChanged();
        return this;
      }

      private int opType_ = 0;
      /**
       * <code>.DataResVersionNotify.DataResVersionOpType op_type = 1;</code>
       * @return The enum numeric value on the wire for opType.
       */
      @java.lang.Override public int getOpTypeValue() {
        return opType_;
      }
      /**
       * <code>.DataResVersionNotify.DataResVersionOpType op_type = 1;</code>
       * @param value The enum numeric value on the wire for opType to set.
       * @return This builder for chaining.
       */
      public Builder setOpTypeValue(int value) {
        
        opType_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>.DataResVersionNotify.DataResVersionOpType op_type = 1;</code>
       * @return The opType.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify.DataResVersionOpType getOpType() {
        @SuppressWarnings("deprecation")
        emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify.DataResVersionOpType result = emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify.DataResVersionOpType.valueOf(opType_);
        return result == null ? emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify.DataResVersionOpType.UNRECOGNIZED : result;
      }
      /**
       * <code>.DataResVersionNotify.DataResVersionOpType op_type = 1;</code>
       * @param value The opType to set.
       * @return This builder for chaining.
       */
      public Builder setOpType(emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify.DataResVersionOpType value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        opType_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * <code>.DataResVersionNotify.DataResVersionOpType op_type = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearOpType() {
        
        opType_ = 0;
        onChanged();
        return this;
      }

      private int clientDataVersion_ ;
      /**
       * <code>uint32 client_data_version = 2;</code>
       * @return The clientDataVersion.
       */
      @java.lang.Override
      public int getClientDataVersion() {
        return clientDataVersion_;
      }
      /**
       * <code>uint32 client_data_version = 2;</code>
       * @param value The clientDataVersion to set.
       * @return This builder for chaining.
       */
      public Builder setClientDataVersion(int value) {
        
        clientDataVersion_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 client_data_version = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearClientDataVersion() {
        
        clientDataVersion_ = 0;
        onChanged();
        return this;
      }

      private java.lang.Object clientVersionSuffix_ = "";
      /**
       * <code>string client_version_suffix = 14;</code>
       * @return The clientVersionSuffix.
       */
      public java.lang.String getClientVersionSuffix() {
        java.lang.Object ref = clientVersionSuffix_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          clientVersionSuffix_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string client_version_suffix = 14;</code>
       * @return The bytes for clientVersionSuffix.
       */
      public com.google.protobuf.ByteString
          getClientVersionSuffixBytes() {
        java.lang.Object ref = clientVersionSuffix_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          clientVersionSuffix_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string client_version_suffix = 14;</code>
       * @param value The clientVersionSuffix to set.
       * @return This builder for chaining.
       */
      public Builder setClientVersionSuffix(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        clientVersionSuffix_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string client_version_suffix = 14;</code>
       * @return This builder for chaining.
       */
      public Builder clearClientVersionSuffix() {
        
        clientVersionSuffix_ = getDefaultInstance().getClientVersionSuffix();
        onChanged();
        return this;
      }
      /**
       * <code>string client_version_suffix = 14;</code>
       * @param value The bytes for clientVersionSuffix to set.
       * @return This builder for chaining.
       */
      public Builder setClientVersionSuffixBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        clientVersionSuffix_ = value;
        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:DataResVersionNotify)
    }

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

    public static emu.grasscutter.net.proto.DataResVersionNotifyOuterClass.DataResVersionNotify getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_DataResVersionNotify_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_DataResVersionNotify_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\032DataResVersionNotify.proto\032\026ResVersion" +
      "Config.proto\"\264\003\n\024DataResVersionNotify\022\037\n" +
      "\027next_res_version_config\030\010 \001(\t\022#\n\033client" +
      "_silence_data_version\030\006 \001(\r\022%\n\035client_si" +
      "lence_version_suffix\030\t \001(\t\022-\n\022res_versio" +
      "n_config\030\007 \001(\0132\021.ResVersionConfig\022\034\n\024is_" +
      "data_need_relogin\030\003 \001(\010\022\022\n\nclient_md5\030\005 " +
      "\001(\t\022;\n\007op_type\030\001 \001(\0162*.DataResVersionNot" +
      "ify.DataResVersionOpType\022\033\n\023client_data_" +
      "version\030\002 \001(\r\022\035\n\025client_version_suffix\030\016" +
      " \001(\t\"U\n\024DataResVersionOpType\022\020\n\014OP_TYPE_" +
      "NONE\020\000\022\023\n\017OP_TYPE_RELOGIN\020\001\022\026\n\022OP_TYPE_M" +
      "P_RELOGIN\020\002B\033\n\031emu.grasscutter.net.proto" +
      "b\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          emu.grasscutter.net.proto.ResVersionConfigOuterClass.getDescriptor(),
        });
    internal_static_DataResVersionNotify_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_DataResVersionNotify_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_DataResVersionNotify_descriptor,
        new java.lang.String[] { "NextResVersionConfig", "ClientSilenceDataVersion", "ClientSilenceVersionSuffix", "ResVersionConfig", "IsDataNeedRelogin", "ClientMd5", "OpType", "ClientDataVersion", "ClientVersionSuffix", });
    emu.grasscutter.net.proto.ResVersionConfigOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
