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

package emu.grasscutter.net.proto;

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

    /**
     * <code>uint64 avatar_guid = 10;</code>
     * @return The avatarGuid.
     */
    long getAvatarGuid();

    /**
     * <code>uint64 equip_guid = 13;</code>
     * @return The equipGuid.
     */
    long getEquipGuid();

    /**
     * <code>.SceneReliquaryInfo reliquary = 1;</code>
     * @return Whether the reliquary field is set.
     */
    boolean hasReliquary();
    /**
     * <code>.SceneReliquaryInfo reliquary = 1;</code>
     * @return The reliquary.
     */
    emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfo getReliquary();
    /**
     * <code>.SceneReliquaryInfo reliquary = 1;</code>
     */
    emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfoOrBuilder getReliquaryOrBuilder();

    /**
     * <code>.SceneWeaponInfo weapon = 15;</code>
     * @return Whether the weapon field is set.
     */
    boolean hasWeapon();
    /**
     * <code>.SceneWeaponInfo weapon = 15;</code>
     * @return The weapon.
     */
    emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo getWeapon();
    /**
     * <code>.SceneWeaponInfo weapon = 15;</code>
     */
    emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfoOrBuilder getWeaponOrBuilder();

    /**
     * <code>uint32 item_id = 14;</code>
     * @return The itemId.
     */
    int getItemId();

    /**
     * <code>uint32 equip_type = 8;</code>
     * @return The equipType.
     */
    int getEquipType();
  }
  /**
   * <pre>
   * CmdId: 647
   * EnetChannelId: 0
   * EnetIsReliable: false
   * IsAllowClient: true
   * </pre>
   *
   * Protobuf type {@code AvatarEquipChangeNotify}
   */
  public static final class AvatarEquipChangeNotify extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:AvatarEquipChangeNotify)
      AvatarEquipChangeNotifyOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use AvatarEquipChangeNotify.newBuilder() to construct.
    private AvatarEquipChangeNotify(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private AvatarEquipChangeNotify() {
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private AvatarEquipChangeNotify(
        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 10: {
              emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfo.Builder subBuilder = null;
              if (reliquary_ != null) {
                subBuilder = reliquary_.toBuilder();
              }
              reliquary_ = input.readMessage(emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfo.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(reliquary_);
                reliquary_ = subBuilder.buildPartial();
              }

              break;
            }
            case 64: {

              equipType_ = input.readUInt32();
              break;
            }
            case 80: {

              avatarGuid_ = input.readUInt64();
              break;
            }
            case 104: {

              equipGuid_ = input.readUInt64();
              break;
            }
            case 112: {

              itemId_ = input.readUInt32();
              break;
            }
            case 122: {
              emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo.Builder subBuilder = null;
              if (weapon_ != null) {
                subBuilder = weapon_.toBuilder();
              }
              weapon_ = input.readMessage(emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(weapon_);
                weapon_ = subBuilder.buildPartial();
              }

              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.AvatarEquipChangeNotifyOuterClass.internal_static_AvatarEquipChangeNotify_descriptor;
    }

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

    public static final int AVATAR_GUID_FIELD_NUMBER = 10;
    private long avatarGuid_;
    /**
     * <code>uint64 avatar_guid = 10;</code>
     * @return The avatarGuid.
     */
    @java.lang.Override
    public long getAvatarGuid() {
      return avatarGuid_;
    }

    public static final int EQUIP_GUID_FIELD_NUMBER = 13;
    private long equipGuid_;
    /**
     * <code>uint64 equip_guid = 13;</code>
     * @return The equipGuid.
     */
    @java.lang.Override
    public long getEquipGuid() {
      return equipGuid_;
    }

    public static final int RELIQUARY_FIELD_NUMBER = 1;
    private emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfo reliquary_;
    /**
     * <code>.SceneReliquaryInfo reliquary = 1;</code>
     * @return Whether the reliquary field is set.
     */
    @java.lang.Override
    public boolean hasReliquary() {
      return reliquary_ != null;
    }
    /**
     * <code>.SceneReliquaryInfo reliquary = 1;</code>
     * @return The reliquary.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfo getReliquary() {
      return reliquary_ == null ? emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfo.getDefaultInstance() : reliquary_;
    }
    /**
     * <code>.SceneReliquaryInfo reliquary = 1;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfoOrBuilder getReliquaryOrBuilder() {
      return getReliquary();
    }

    public static final int WEAPON_FIELD_NUMBER = 15;
    private emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo weapon_;
    /**
     * <code>.SceneWeaponInfo weapon = 15;</code>
     * @return Whether the weapon field is set.
     */
    @java.lang.Override
    public boolean hasWeapon() {
      return weapon_ != null;
    }
    /**
     * <code>.SceneWeaponInfo weapon = 15;</code>
     * @return The weapon.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo getWeapon() {
      return weapon_ == null ? emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo.getDefaultInstance() : weapon_;
    }
    /**
     * <code>.SceneWeaponInfo weapon = 15;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfoOrBuilder getWeaponOrBuilder() {
      return getWeapon();
    }

    public static final int ITEM_ID_FIELD_NUMBER = 14;
    private int itemId_;
    /**
     * <code>uint32 item_id = 14;</code>
     * @return The itemId.
     */
    @java.lang.Override
    public int getItemId() {
      return itemId_;
    }

    public static final int EQUIP_TYPE_FIELD_NUMBER = 8;
    private int equipType_;
    /**
     * <code>uint32 equip_type = 8;</code>
     * @return The equipType.
     */
    @java.lang.Override
    public int getEquipType() {
      return equipType_;
    }

    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 (reliquary_ != null) {
        output.writeMessage(1, getReliquary());
      }
      if (equipType_ != 0) {
        output.writeUInt32(8, equipType_);
      }
      if (avatarGuid_ != 0L) {
        output.writeUInt64(10, avatarGuid_);
      }
      if (equipGuid_ != 0L) {
        output.writeUInt64(13, equipGuid_);
      }
      if (itemId_ != 0) {
        output.writeUInt32(14, itemId_);
      }
      if (weapon_ != null) {
        output.writeMessage(15, getWeapon());
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (reliquary_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getReliquary());
      }
      if (equipType_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(8, equipType_);
      }
      if (avatarGuid_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(10, avatarGuid_);
      }
      if (equipGuid_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(13, equipGuid_);
      }
      if (itemId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(14, itemId_);
      }
      if (weapon_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(15, getWeapon());
      }
      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.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify other = (emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify) obj;

      if (getAvatarGuid()
          != other.getAvatarGuid()) return false;
      if (getEquipGuid()
          != other.getEquipGuid()) return false;
      if (hasReliquary() != other.hasReliquary()) return false;
      if (hasReliquary()) {
        if (!getReliquary()
            .equals(other.getReliquary())) return false;
      }
      if (hasWeapon() != other.hasWeapon()) return false;
      if (hasWeapon()) {
        if (!getWeapon()
            .equals(other.getWeapon())) return false;
      }
      if (getItemId()
          != other.getItemId()) return false;
      if (getEquipType()
          != other.getEquipType()) 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) + AVATAR_GUID_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getAvatarGuid());
      hash = (37 * hash) + EQUIP_GUID_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getEquipGuid());
      if (hasReliquary()) {
        hash = (37 * hash) + RELIQUARY_FIELD_NUMBER;
        hash = (53 * hash) + getReliquary().hashCode();
      }
      if (hasWeapon()) {
        hash = (37 * hash) + WEAPON_FIELD_NUMBER;
        hash = (53 * hash) + getWeapon().hashCode();
      }
      hash = (37 * hash) + ITEM_ID_FIELD_NUMBER;
      hash = (53 * hash) + getItemId();
      hash = (37 * hash) + EQUIP_TYPE_FIELD_NUMBER;
      hash = (53 * hash) + getEquipType();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify 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.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify 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.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify 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.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify 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.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify 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.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify 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: 647
     * EnetChannelId: 0
     * EnetIsReliable: false
     * IsAllowClient: true
     * </pre>
     *
     * Protobuf type {@code AvatarEquipChangeNotify}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:AvatarEquipChangeNotify)
        emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotifyOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.internal_static_AvatarEquipChangeNotify_descriptor;
      }

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

      // Construct using emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify.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();
        avatarGuid_ = 0L;

        equipGuid_ = 0L;

        if (reliquaryBuilder_ == null) {
          reliquary_ = null;
        } else {
          reliquary_ = null;
          reliquaryBuilder_ = null;
        }
        if (weaponBuilder_ == null) {
          weapon_ = null;
        } else {
          weapon_ = null;
          weaponBuilder_ = null;
        }
        itemId_ = 0;

        equipType_ = 0;

        return this;
      }

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

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

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

      @java.lang.Override
      public emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify buildPartial() {
        emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify result = new emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify(this);
        result.avatarGuid_ = avatarGuid_;
        result.equipGuid_ = equipGuid_;
        if (reliquaryBuilder_ == null) {
          result.reliquary_ = reliquary_;
        } else {
          result.reliquary_ = reliquaryBuilder_.build();
        }
        if (weaponBuilder_ == null) {
          result.weapon_ = weapon_;
        } else {
          result.weapon_ = weaponBuilder_.build();
        }
        result.itemId_ = itemId_;
        result.equipType_ = equipType_;
        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.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify) {
          return mergeFrom((emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify other) {
        if (other == emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify.getDefaultInstance()) return this;
        if (other.getAvatarGuid() != 0L) {
          setAvatarGuid(other.getAvatarGuid());
        }
        if (other.getEquipGuid() != 0L) {
          setEquipGuid(other.getEquipGuid());
        }
        if (other.hasReliquary()) {
          mergeReliquary(other.getReliquary());
        }
        if (other.hasWeapon()) {
          mergeWeapon(other.getWeapon());
        }
        if (other.getItemId() != 0) {
          setItemId(other.getItemId());
        }
        if (other.getEquipType() != 0) {
          setEquipType(other.getEquipType());
        }
        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.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private long avatarGuid_ ;
      /**
       * <code>uint64 avatar_guid = 10;</code>
       * @return The avatarGuid.
       */
      @java.lang.Override
      public long getAvatarGuid() {
        return avatarGuid_;
      }
      /**
       * <code>uint64 avatar_guid = 10;</code>
       * @param value The avatarGuid to set.
       * @return This builder for chaining.
       */
      public Builder setAvatarGuid(long value) {
        
        avatarGuid_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint64 avatar_guid = 10;</code>
       * @return This builder for chaining.
       */
      public Builder clearAvatarGuid() {
        
        avatarGuid_ = 0L;
        onChanged();
        return this;
      }

      private long equipGuid_ ;
      /**
       * <code>uint64 equip_guid = 13;</code>
       * @return The equipGuid.
       */
      @java.lang.Override
      public long getEquipGuid() {
        return equipGuid_;
      }
      /**
       * <code>uint64 equip_guid = 13;</code>
       * @param value The equipGuid to set.
       * @return This builder for chaining.
       */
      public Builder setEquipGuid(long value) {
        
        equipGuid_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint64 equip_guid = 13;</code>
       * @return This builder for chaining.
       */
      public Builder clearEquipGuid() {
        
        equipGuid_ = 0L;
        onChanged();
        return this;
      }

      private emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfo reliquary_;
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfo, emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfo.Builder, emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfoOrBuilder> reliquaryBuilder_;
      /**
       * <code>.SceneReliquaryInfo reliquary = 1;</code>
       * @return Whether the reliquary field is set.
       */
      public boolean hasReliquary() {
        return reliquaryBuilder_ != null || reliquary_ != null;
      }
      /**
       * <code>.SceneReliquaryInfo reliquary = 1;</code>
       * @return The reliquary.
       */
      public emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfo getReliquary() {
        if (reliquaryBuilder_ == null) {
          return reliquary_ == null ? emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfo.getDefaultInstance() : reliquary_;
        } else {
          return reliquaryBuilder_.getMessage();
        }
      }
      /**
       * <code>.SceneReliquaryInfo reliquary = 1;</code>
       */
      public Builder setReliquary(emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfo value) {
        if (reliquaryBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          reliquary_ = value;
          onChanged();
        } else {
          reliquaryBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.SceneReliquaryInfo reliquary = 1;</code>
       */
      public Builder setReliquary(
          emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfo.Builder builderForValue) {
        if (reliquaryBuilder_ == null) {
          reliquary_ = builderForValue.build();
          onChanged();
        } else {
          reliquaryBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.SceneReliquaryInfo reliquary = 1;</code>
       */
      public Builder mergeReliquary(emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfo value) {
        if (reliquaryBuilder_ == null) {
          if (reliquary_ != null) {
            reliquary_ =
              emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfo.newBuilder(reliquary_).mergeFrom(value).buildPartial();
          } else {
            reliquary_ = value;
          }
          onChanged();
        } else {
          reliquaryBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.SceneReliquaryInfo reliquary = 1;</code>
       */
      public Builder clearReliquary() {
        if (reliquaryBuilder_ == null) {
          reliquary_ = null;
          onChanged();
        } else {
          reliquary_ = null;
          reliquaryBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.SceneReliquaryInfo reliquary = 1;</code>
       */
      public emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfo.Builder getReliquaryBuilder() {
        
        onChanged();
        return getReliquaryFieldBuilder().getBuilder();
      }
      /**
       * <code>.SceneReliquaryInfo reliquary = 1;</code>
       */
      public emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfoOrBuilder getReliquaryOrBuilder() {
        if (reliquaryBuilder_ != null) {
          return reliquaryBuilder_.getMessageOrBuilder();
        } else {
          return reliquary_ == null ?
              emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfo.getDefaultInstance() : reliquary_;
        }
      }
      /**
       * <code>.SceneReliquaryInfo reliquary = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfo, emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfo.Builder, emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfoOrBuilder> 
          getReliquaryFieldBuilder() {
        if (reliquaryBuilder_ == null) {
          reliquaryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfo, emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfo.Builder, emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfoOrBuilder>(
                  getReliquary(),
                  getParentForChildren(),
                  isClean());
          reliquary_ = null;
        }
        return reliquaryBuilder_;
      }

      private emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo weapon_;
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo, emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo.Builder, emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfoOrBuilder> weaponBuilder_;
      /**
       * <code>.SceneWeaponInfo weapon = 15;</code>
       * @return Whether the weapon field is set.
       */
      public boolean hasWeapon() {
        return weaponBuilder_ != null || weapon_ != null;
      }
      /**
       * <code>.SceneWeaponInfo weapon = 15;</code>
       * @return The weapon.
       */
      public emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo getWeapon() {
        if (weaponBuilder_ == null) {
          return weapon_ == null ? emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo.getDefaultInstance() : weapon_;
        } else {
          return weaponBuilder_.getMessage();
        }
      }
      /**
       * <code>.SceneWeaponInfo weapon = 15;</code>
       */
      public Builder setWeapon(emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo value) {
        if (weaponBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          weapon_ = value;
          onChanged();
        } else {
          weaponBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.SceneWeaponInfo weapon = 15;</code>
       */
      public Builder setWeapon(
          emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo.Builder builderForValue) {
        if (weaponBuilder_ == null) {
          weapon_ = builderForValue.build();
          onChanged();
        } else {
          weaponBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.SceneWeaponInfo weapon = 15;</code>
       */
      public Builder mergeWeapon(emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo value) {
        if (weaponBuilder_ == null) {
          if (weapon_ != null) {
            weapon_ =
              emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo.newBuilder(weapon_).mergeFrom(value).buildPartial();
          } else {
            weapon_ = value;
          }
          onChanged();
        } else {
          weaponBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.SceneWeaponInfo weapon = 15;</code>
       */
      public Builder clearWeapon() {
        if (weaponBuilder_ == null) {
          weapon_ = null;
          onChanged();
        } else {
          weapon_ = null;
          weaponBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.SceneWeaponInfo weapon = 15;</code>
       */
      public emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo.Builder getWeaponBuilder() {
        
        onChanged();
        return getWeaponFieldBuilder().getBuilder();
      }
      /**
       * <code>.SceneWeaponInfo weapon = 15;</code>
       */
      public emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfoOrBuilder getWeaponOrBuilder() {
        if (weaponBuilder_ != null) {
          return weaponBuilder_.getMessageOrBuilder();
        } else {
          return weapon_ == null ?
              emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo.getDefaultInstance() : weapon_;
        }
      }
      /**
       * <code>.SceneWeaponInfo weapon = 15;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo, emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo.Builder, emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfoOrBuilder> 
          getWeaponFieldBuilder() {
        if (weaponBuilder_ == null) {
          weaponBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo, emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo.Builder, emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfoOrBuilder>(
                  getWeapon(),
                  getParentForChildren(),
                  isClean());
          weapon_ = null;
        }
        return weaponBuilder_;
      }

      private int itemId_ ;
      /**
       * <code>uint32 item_id = 14;</code>
       * @return The itemId.
       */
      @java.lang.Override
      public int getItemId() {
        return itemId_;
      }
      /**
       * <code>uint32 item_id = 14;</code>
       * @param value The itemId to set.
       * @return This builder for chaining.
       */
      public Builder setItemId(int value) {
        
        itemId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 item_id = 14;</code>
       * @return This builder for chaining.
       */
      public Builder clearItemId() {
        
        itemId_ = 0;
        onChanged();
        return this;
      }

      private int equipType_ ;
      /**
       * <code>uint32 equip_type = 8;</code>
       * @return The equipType.
       */
      @java.lang.Override
      public int getEquipType() {
        return equipType_;
      }
      /**
       * <code>uint32 equip_type = 8;</code>
       * @param value The equipType to set.
       * @return This builder for chaining.
       */
      public Builder setEquipType(int value) {
        
        equipType_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 equip_type = 8;</code>
       * @return This builder for chaining.
       */
      public Builder clearEquipType() {
        
        equipType_ = 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:AvatarEquipChangeNotify)
    }

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

    public static emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_AvatarEquipChangeNotify_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_AvatarEquipChangeNotify_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\035AvatarEquipChangeNotify.proto\032\030SceneRe" +
      "liquaryInfo.proto\032\025SceneWeaponInfo.proto" +
      "\"\261\001\n\027AvatarEquipChangeNotify\022\023\n\013avatar_g" +
      "uid\030\n \001(\004\022\022\n\nequip_guid\030\r \001(\004\022&\n\treliqua" +
      "ry\030\001 \001(\0132\023.SceneReliquaryInfo\022 \n\006weapon\030" +
      "\017 \001(\0132\020.SceneWeaponInfo\022\017\n\007item_id\030\016 \001(\r" +
      "\022\022\n\nequip_type\030\010 \001(\rB\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.SceneReliquaryInfoOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.getDescriptor(),
        });
    internal_static_AvatarEquipChangeNotify_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_AvatarEquipChangeNotify_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_AvatarEquipChangeNotify_descriptor,
        new java.lang.String[] { "AvatarGuid", "EquipGuid", "Reliquary", "Weapon", "ItemId", "EquipType", });
    emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.getDescriptor();
    emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
