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

package io.grasscutter.net.proto.avatar;

/**
 * <pre>
 * CmdId: 25492
 * </pre>
 *
 * Protobuf type {@code ChangeAvatarReq}
 */
public final class ChangeAvatarReq extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:ChangeAvatarReq)
    ChangeAvatarReqOrBuilder {
private static final long serialVersionUID = 0L;
  // Use ChangeAvatarReq.newBuilder() to construct.
  private ChangeAvatarReq(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private ChangeAvatarReq() {
  }

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

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

            skillId_ = input.readUInt32();
            break;
          }
          case 32: {

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

            guid_ = input.readUInt64();
            break;
          }
          case 58: {
            io.grasscutter.net.proto.define.Vector.Builder subBuilder = null;
            if (movePos_ != null) {
              subBuilder = movePos_.toBuilder();
            }
            movePos_ = input.readMessage(io.grasscutter.net.proto.define.Vector.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(movePos_);
              movePos_ = subBuilder.buildPartial();
            }

            break;
          }
          case 120: {

            isMove_ = input.readBool();
            break;
          }
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return io.grasscutter.net.proto.avatar.Avatar.internal_static_ChangeAvatarReq_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return io.grasscutter.net.proto.avatar.Avatar.internal_static_ChangeAvatarReq_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            io.grasscutter.net.proto.avatar.ChangeAvatarReq.class, io.grasscutter.net.proto.avatar.ChangeAvatarReq.Builder.class);
  }

  public static final int MOVE_POS_FIELD_NUMBER = 7;
  private io.grasscutter.net.proto.define.Vector movePos_;
  /**
   * <code>.Vector move_pos = 7;</code>
   * @return Whether the movePos field is set.
   */
  @java.lang.Override
  public boolean hasMovePos() {
    return movePos_ != null;
  }
  /**
   * <code>.Vector move_pos = 7;</code>
   * @return The movePos.
   */
  @java.lang.Override
  public io.grasscutter.net.proto.define.Vector getMovePos() {
    return movePos_ == null ? io.grasscutter.net.proto.define.Vector.getDefaultInstance() : movePos_;
  }
  /**
   * <code>.Vector move_pos = 7;</code>
   */
  @java.lang.Override
  public io.grasscutter.net.proto.define.VectorOrBuilder getMovePosOrBuilder() {
    return getMovePos();
  }

  public static final int SKILL_ID_FIELD_NUMBER = 3;
  private int skillId_;
  /**
   * <code>uint32 skill_id = 3;</code>
   * @return The skillId.
   */
  @java.lang.Override
  public int getSkillId() {
    return skillId_;
  }

  public static final int IS_MOVE_FIELD_NUMBER = 15;
  private boolean isMove_;
  /**
   * <code>bool is_move = 15;</code>
   * @return The isMove.
   */
  @java.lang.Override
  public boolean getIsMove() {
    return isMove_;
  }

  public static final int NKMBBFHGMKB_FIELD_NUMBER = 4;
  private boolean nKMBBFHGMKB_;
  /**
   * <code>bool NKMBBFHGMKB = 4;</code>
   * @return The nKMBBFHGMKB.
   */
  @java.lang.Override
  public boolean getNKMBBFHGMKB() {
    return nKMBBFHGMKB_;
  }

  public static final int GUID_FIELD_NUMBER = 6;
  private long guid_;
  /**
   * <code>uint64 guid = 6;</code>
   * @return The guid.
   */
  @java.lang.Override
  public long getGuid() {
    return guid_;
  }

  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 (skillId_ != 0) {
      output.writeUInt32(3, skillId_);
    }
    if (nKMBBFHGMKB_ != false) {
      output.writeBool(4, nKMBBFHGMKB_);
    }
    if (guid_ != 0L) {
      output.writeUInt64(6, guid_);
    }
    if (movePos_ != null) {
      output.writeMessage(7, getMovePos());
    }
    if (isMove_ != false) {
      output.writeBool(15, isMove_);
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (skillId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(3, skillId_);
    }
    if (nKMBBFHGMKB_ != false) {
      size += com.google.protobuf.CodedOutputStream
        .computeBoolSize(4, nKMBBFHGMKB_);
    }
    if (guid_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt64Size(6, guid_);
    }
    if (movePos_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(7, getMovePos());
    }
    if (isMove_ != false) {
      size += com.google.protobuf.CodedOutputStream
        .computeBoolSize(15, isMove_);
    }
    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 io.grasscutter.net.proto.avatar.ChangeAvatarReq)) {
      return super.equals(obj);
    }
    io.grasscutter.net.proto.avatar.ChangeAvatarReq other = (io.grasscutter.net.proto.avatar.ChangeAvatarReq) obj;

    if (hasMovePos() != other.hasMovePos()) return false;
    if (hasMovePos()) {
      if (!getMovePos()
          .equals(other.getMovePos())) return false;
    }
    if (getSkillId()
        != other.getSkillId()) return false;
    if (getIsMove()
        != other.getIsMove()) return false;
    if (getNKMBBFHGMKB()
        != other.getNKMBBFHGMKB()) return false;
    if (getGuid()
        != other.getGuid()) 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 (hasMovePos()) {
      hash = (37 * hash) + MOVE_POS_FIELD_NUMBER;
      hash = (53 * hash) + getMovePos().hashCode();
    }
    hash = (37 * hash) + SKILL_ID_FIELD_NUMBER;
    hash = (53 * hash) + getSkillId();
    hash = (37 * hash) + IS_MOVE_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
        getIsMove());
    hash = (37 * hash) + NKMBBFHGMKB_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
        getNKMBBFHGMKB());
    hash = (37 * hash) + GUID_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getGuid());
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.grasscutter.net.proto.avatar.Avatar.internal_static_ChangeAvatarReq_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.grasscutter.net.proto.avatar.ChangeAvatarReq.class, io.grasscutter.net.proto.avatar.ChangeAvatarReq.Builder.class);
    }

    // Construct using io.grasscutter.net.proto.avatar.ChangeAvatarReq.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();
      if (movePosBuilder_ == null) {
        movePos_ = null;
      } else {
        movePos_ = null;
        movePosBuilder_ = null;
      }
      skillId_ = 0;

      isMove_ = false;

      nKMBBFHGMKB_ = false;

      guid_ = 0L;

      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return io.grasscutter.net.proto.avatar.Avatar.internal_static_ChangeAvatarReq_descriptor;
    }

    @java.lang.Override
    public io.grasscutter.net.proto.avatar.ChangeAvatarReq getDefaultInstanceForType() {
      return io.grasscutter.net.proto.avatar.ChangeAvatarReq.getDefaultInstance();
    }

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

    @java.lang.Override
    public io.grasscutter.net.proto.avatar.ChangeAvatarReq buildPartial() {
      io.grasscutter.net.proto.avatar.ChangeAvatarReq result = new io.grasscutter.net.proto.avatar.ChangeAvatarReq(this);
      if (movePosBuilder_ == null) {
        result.movePos_ = movePos_;
      } else {
        result.movePos_ = movePosBuilder_.build();
      }
      result.skillId_ = skillId_;
      result.isMove_ = isMove_;
      result.nKMBBFHGMKB_ = nKMBBFHGMKB_;
      result.guid_ = guid_;
      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 io.grasscutter.net.proto.avatar.ChangeAvatarReq) {
        return mergeFrom((io.grasscutter.net.proto.avatar.ChangeAvatarReq)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(io.grasscutter.net.proto.avatar.ChangeAvatarReq other) {
      if (other == io.grasscutter.net.proto.avatar.ChangeAvatarReq.getDefaultInstance()) return this;
      if (other.hasMovePos()) {
        mergeMovePos(other.getMovePos());
      }
      if (other.getSkillId() != 0) {
        setSkillId(other.getSkillId());
      }
      if (other.getIsMove() != false) {
        setIsMove(other.getIsMove());
      }
      if (other.getNKMBBFHGMKB() != false) {
        setNKMBBFHGMKB(other.getNKMBBFHGMKB());
      }
      if (other.getGuid() != 0L) {
        setGuid(other.getGuid());
      }
      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 {
      io.grasscutter.net.proto.avatar.ChangeAvatarReq parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (io.grasscutter.net.proto.avatar.ChangeAvatarReq) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

    private io.grasscutter.net.proto.define.Vector movePos_;
    private com.google.protobuf.SingleFieldBuilderV3<
        io.grasscutter.net.proto.define.Vector, io.grasscutter.net.proto.define.Vector.Builder, io.grasscutter.net.proto.define.VectorOrBuilder> movePosBuilder_;
    /**
     * <code>.Vector move_pos = 7;</code>
     * @return Whether the movePos field is set.
     */
    public boolean hasMovePos() {
      return movePosBuilder_ != null || movePos_ != null;
    }
    /**
     * <code>.Vector move_pos = 7;</code>
     * @return The movePos.
     */
    public io.grasscutter.net.proto.define.Vector getMovePos() {
      if (movePosBuilder_ == null) {
        return movePos_ == null ? io.grasscutter.net.proto.define.Vector.getDefaultInstance() : movePos_;
      } else {
        return movePosBuilder_.getMessage();
      }
    }
    /**
     * <code>.Vector move_pos = 7;</code>
     */
    public Builder setMovePos(io.grasscutter.net.proto.define.Vector value) {
      if (movePosBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        movePos_ = value;
        onChanged();
      } else {
        movePosBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     * <code>.Vector move_pos = 7;</code>
     */
    public Builder setMovePos(
        io.grasscutter.net.proto.define.Vector.Builder builderForValue) {
      if (movePosBuilder_ == null) {
        movePos_ = builderForValue.build();
        onChanged();
      } else {
        movePosBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     * <code>.Vector move_pos = 7;</code>
     */
    public Builder mergeMovePos(io.grasscutter.net.proto.define.Vector value) {
      if (movePosBuilder_ == null) {
        if (movePos_ != null) {
          movePos_ =
            io.grasscutter.net.proto.define.Vector.newBuilder(movePos_).mergeFrom(value).buildPartial();
        } else {
          movePos_ = value;
        }
        onChanged();
      } else {
        movePosBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     * <code>.Vector move_pos = 7;</code>
     */
    public Builder clearMovePos() {
      if (movePosBuilder_ == null) {
        movePos_ = null;
        onChanged();
      } else {
        movePos_ = null;
        movePosBuilder_ = null;
      }

      return this;
    }
    /**
     * <code>.Vector move_pos = 7;</code>
     */
    public io.grasscutter.net.proto.define.Vector.Builder getMovePosBuilder() {
      
      onChanged();
      return getMovePosFieldBuilder().getBuilder();
    }
    /**
     * <code>.Vector move_pos = 7;</code>
     */
    public io.grasscutter.net.proto.define.VectorOrBuilder getMovePosOrBuilder() {
      if (movePosBuilder_ != null) {
        return movePosBuilder_.getMessageOrBuilder();
      } else {
        return movePos_ == null ?
            io.grasscutter.net.proto.define.Vector.getDefaultInstance() : movePos_;
      }
    }
    /**
     * <code>.Vector move_pos = 7;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        io.grasscutter.net.proto.define.Vector, io.grasscutter.net.proto.define.Vector.Builder, io.grasscutter.net.proto.define.VectorOrBuilder> 
        getMovePosFieldBuilder() {
      if (movePosBuilder_ == null) {
        movePosBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            io.grasscutter.net.proto.define.Vector, io.grasscutter.net.proto.define.Vector.Builder, io.grasscutter.net.proto.define.VectorOrBuilder>(
                getMovePos(),
                getParentForChildren(),
                isClean());
        movePos_ = null;
      }
      return movePosBuilder_;
    }

    private int skillId_ ;
    /**
     * <code>uint32 skill_id = 3;</code>
     * @return The skillId.
     */
    @java.lang.Override
    public int getSkillId() {
      return skillId_;
    }
    /**
     * <code>uint32 skill_id = 3;</code>
     * @param value The skillId to set.
     * @return This builder for chaining.
     */
    public Builder setSkillId(int value) {
      
      skillId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 skill_id = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearSkillId() {
      
      skillId_ = 0;
      onChanged();
      return this;
    }

    private boolean isMove_ ;
    /**
     * <code>bool is_move = 15;</code>
     * @return The isMove.
     */
    @java.lang.Override
    public boolean getIsMove() {
      return isMove_;
    }
    /**
     * <code>bool is_move = 15;</code>
     * @param value The isMove to set.
     * @return This builder for chaining.
     */
    public Builder setIsMove(boolean value) {
      
      isMove_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>bool is_move = 15;</code>
     * @return This builder for chaining.
     */
    public Builder clearIsMove() {
      
      isMove_ = false;
      onChanged();
      return this;
    }

    private boolean nKMBBFHGMKB_ ;
    /**
     * <code>bool NKMBBFHGMKB = 4;</code>
     * @return The nKMBBFHGMKB.
     */
    @java.lang.Override
    public boolean getNKMBBFHGMKB() {
      return nKMBBFHGMKB_;
    }
    /**
     * <code>bool NKMBBFHGMKB = 4;</code>
     * @param value The nKMBBFHGMKB to set.
     * @return This builder for chaining.
     */
    public Builder setNKMBBFHGMKB(boolean value) {
      
      nKMBBFHGMKB_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>bool NKMBBFHGMKB = 4;</code>
     * @return This builder for chaining.
     */
    public Builder clearNKMBBFHGMKB() {
      
      nKMBBFHGMKB_ = false;
      onChanged();
      return this;
    }

    private long guid_ ;
    /**
     * <code>uint64 guid = 6;</code>
     * @return The guid.
     */
    @java.lang.Override
    public long getGuid() {
      return guid_;
    }
    /**
     * <code>uint64 guid = 6;</code>
     * @param value The guid to set.
     * @return This builder for chaining.
     */
    public Builder setGuid(long value) {
      
      guid_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint64 guid = 6;</code>
     * @return This builder for chaining.
     */
    public Builder clearGuid() {
      
      guid_ = 0L;
      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:ChangeAvatarReq)
  }

  // @@protoc_insertion_point(class_scope:ChangeAvatarReq)
  private static final io.grasscutter.net.proto.avatar.ChangeAvatarReq DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new io.grasscutter.net.proto.avatar.ChangeAvatarReq();
  }

  public static io.grasscutter.net.proto.avatar.ChangeAvatarReq getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

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

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

  @java.lang.Override
  public io.grasscutter.net.proto.avatar.ChangeAvatarReq getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

