All Downloads are FREE. Search and download functionalities are using the official Maven repository.

skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages Maven / Gradle / Ivy

Go to download

Clarity is an open source replay parser for Dota 2 and CSGO 1 and 2 written in Java. This JAR contains the protobuf classes for clarity.

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: base_gcmessages.proto

package skadistats.clarity.wire.dota.s2.proto;

public final class DOTAS2BaseGcMessages {
  private DOTAS2BaseGcMessages() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
  }
  public interface CSOEconItemAttributeOrBuilder extends
      // @@protoc_insertion_point(interface_extends:CSOEconItemAttribute)
      com.google.protobuf.MessageOrBuilder {

    /**
     * optional uint32 def_index = 1;
     */
    boolean hasDefIndex();
    /**
     * optional uint32 def_index = 1;
     */
    int getDefIndex();

    /**
     * optional uint32 value = 2;
     */
    boolean hasValue();
    /**
     * optional uint32 value = 2;
     */
    int getValue();

    /**
     * optional bytes value_bytes = 3;
     */
    boolean hasValueBytes();
    /**
     * optional bytes value_bytes = 3;
     */
    com.google.protobuf.ByteString getValueBytes();
  }
  /**
   * Protobuf type {@code CSOEconItemAttribute}
   */
  public static final class CSOEconItemAttribute extends
      com.google.protobuf.GeneratedMessage implements
      // @@protoc_insertion_point(message_implements:CSOEconItemAttribute)
      CSOEconItemAttributeOrBuilder {
    // Use CSOEconItemAttribute.newBuilder() to construct.
    private CSOEconItemAttribute(com.google.protobuf.GeneratedMessage.Builder builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private CSOEconItemAttribute(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final CSOEconItemAttribute defaultInstance;
    public static CSOEconItemAttribute getDefaultInstance() {
      return defaultInstance;
    }

    public CSOEconItemAttribute getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final com.google.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private CSOEconItemAttribute(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      initFields();
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 8: {
              bitField0_ |= 0x00000001;
              defIndex_ = input.readUInt32();
              break;
            }
            case 16: {
              bitField0_ |= 0x00000002;
              value_ = input.readUInt32();
              break;
            }
            case 26: {
              bitField0_ |= 0x00000004;
              valueBytes_ = input.readBytes();
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.internal_static_CSOEconItemAttribute_descriptor;
    }

    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.internal_static_CSOEconItemAttribute_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute.class, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute.Builder.class);
    }

    public static com.google.protobuf.Parser PARSER =
        new com.google.protobuf.AbstractParser() {
      public CSOEconItemAttribute parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new CSOEconItemAttribute(input, extensionRegistry);
      }
    };

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

    private int bitField0_;
    public static final int DEF_INDEX_FIELD_NUMBER = 1;
    private int defIndex_;
    /**
     * optional uint32 def_index = 1;
     */
    public boolean hasDefIndex() {
      return ((bitField0_ & 0x00000001) == 0x00000001);
    }
    /**
     * optional uint32 def_index = 1;
     */
    public int getDefIndex() {
      return defIndex_;
    }

    public static final int VALUE_FIELD_NUMBER = 2;
    private int value_;
    /**
     * optional uint32 value = 2;
     */
    public boolean hasValue() {
      return ((bitField0_ & 0x00000002) == 0x00000002);
    }
    /**
     * optional uint32 value = 2;
     */
    public int getValue() {
      return value_;
    }

    public static final int VALUE_BYTES_FIELD_NUMBER = 3;
    private com.google.protobuf.ByteString valueBytes_;
    /**
     * optional bytes value_bytes = 3;
     */
    public boolean hasValueBytes() {
      return ((bitField0_ & 0x00000004) == 0x00000004);
    }
    /**
     * optional bytes value_bytes = 3;
     */
    public com.google.protobuf.ByteString getValueBytes() {
      return valueBytes_;
    }

    private void initFields() {
      defIndex_ = 0;
      value_ = 0;
      valueBytes_ = com.google.protobuf.ByteString.EMPTY;
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        output.writeUInt32(1, defIndex_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        output.writeUInt32(2, value_);
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        output.writeBytes(3, valueBytes_);
      }
      getUnknownFields().writeTo(output);
    }

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(1, defIndex_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(2, value_);
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(3, valueBytes_);
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSerializedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    public static skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code CSOEconItemAttribute}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder implements
        // @@protoc_insertion_point(builder_implements:CSOEconItemAttribute)
        skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttributeOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.internal_static_CSOEconItemAttribute_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.internal_static_CSOEconItemAttribute_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute.class, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute.Builder.class);
      }

      // Construct using skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        defIndex_ = 0;
        bitField0_ = (bitField0_ & ~0x00000001);
        value_ = 0;
        bitField0_ = (bitField0_ & ~0x00000002);
        valueBytes_ = com.google.protobuf.ByteString.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000004);
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.internal_static_CSOEconItemAttribute_descriptor;
      }

      public skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute getDefaultInstanceForType() {
        return skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute.getDefaultInstance();
      }

      public skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute build() {
        skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute buildPartial() {
        skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute result = new skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
          to_bitField0_ |= 0x00000001;
        }
        result.defIndex_ = defIndex_;
        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
          to_bitField0_ |= 0x00000002;
        }
        result.value_ = value_;
        if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
          to_bitField0_ |= 0x00000004;
        }
        result.valueBytes_ = valueBytes_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute) {
          return mergeFrom((skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute other) {
        if (other == skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute.getDefaultInstance()) return this;
        if (other.hasDefIndex()) {
          setDefIndex(other.getDefIndex());
        }
        if (other.hasValue()) {
          setValue(other.getValue());
        }
        if (other.hasValueBytes()) {
          setValueBytes(other.getValueBytes());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute) e.getUnfinishedMessage();
          throw e;
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private int defIndex_ ;
      /**
       * optional uint32 def_index = 1;
       */
      public boolean hasDefIndex() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * optional uint32 def_index = 1;
       */
      public int getDefIndex() {
        return defIndex_;
      }
      /**
       * optional uint32 def_index = 1;
       */
      public Builder setDefIndex(int value) {
        bitField0_ |= 0x00000001;
        defIndex_ = value;
        onChanged();
        return this;
      }
      /**
       * optional uint32 def_index = 1;
       */
      public Builder clearDefIndex() {
        bitField0_ = (bitField0_ & ~0x00000001);
        defIndex_ = 0;
        onChanged();
        return this;
      }

      private int value_ ;
      /**
       * optional uint32 value = 2;
       */
      public boolean hasValue() {
        return ((bitField0_ & 0x00000002) == 0x00000002);
      }
      /**
       * optional uint32 value = 2;
       */
      public int getValue() {
        return value_;
      }
      /**
       * optional uint32 value = 2;
       */
      public Builder setValue(int value) {
        bitField0_ |= 0x00000002;
        value_ = value;
        onChanged();
        return this;
      }
      /**
       * optional uint32 value = 2;
       */
      public Builder clearValue() {
        bitField0_ = (bitField0_ & ~0x00000002);
        value_ = 0;
        onChanged();
        return this;
      }

      private com.google.protobuf.ByteString valueBytes_ = com.google.protobuf.ByteString.EMPTY;
      /**
       * optional bytes value_bytes = 3;
       */
      public boolean hasValueBytes() {
        return ((bitField0_ & 0x00000004) == 0x00000004);
      }
      /**
       * optional bytes value_bytes = 3;
       */
      public com.google.protobuf.ByteString getValueBytes() {
        return valueBytes_;
      }
      /**
       * optional bytes value_bytes = 3;
       */
      public Builder setValueBytes(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000004;
        valueBytes_ = value;
        onChanged();
        return this;
      }
      /**
       * optional bytes value_bytes = 3;
       */
      public Builder clearValueBytes() {
        bitField0_ = (bitField0_ & ~0x00000004);
        valueBytes_ = getDefaultInstance().getValueBytes();
        onChanged();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:CSOEconItemAttribute)
    }

    static {
      defaultInstance = new CSOEconItemAttribute(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:CSOEconItemAttribute)
  }

  public interface CSOEconItemEquippedOrBuilder extends
      // @@protoc_insertion_point(interface_extends:CSOEconItemEquipped)
      com.google.protobuf.MessageOrBuilder {

    /**
     * optional uint32 new_class = 1;
     */
    boolean hasNewClass();
    /**
     * optional uint32 new_class = 1;
     */
    int getNewClass();

    /**
     * optional uint32 new_slot = 2;
     */
    boolean hasNewSlot();
    /**
     * optional uint32 new_slot = 2;
     */
    int getNewSlot();
  }
  /**
   * Protobuf type {@code CSOEconItemEquipped}
   */
  public static final class CSOEconItemEquipped extends
      com.google.protobuf.GeneratedMessage implements
      // @@protoc_insertion_point(message_implements:CSOEconItemEquipped)
      CSOEconItemEquippedOrBuilder {
    // Use CSOEconItemEquipped.newBuilder() to construct.
    private CSOEconItemEquipped(com.google.protobuf.GeneratedMessage.Builder builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private CSOEconItemEquipped(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final CSOEconItemEquipped defaultInstance;
    public static CSOEconItemEquipped getDefaultInstance() {
      return defaultInstance;
    }

    public CSOEconItemEquipped getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final com.google.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private CSOEconItemEquipped(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      initFields();
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 8: {
              bitField0_ |= 0x00000001;
              newClass_ = input.readUInt32();
              break;
            }
            case 16: {
              bitField0_ |= 0x00000002;
              newSlot_ = input.readUInt32();
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.internal_static_CSOEconItemEquipped_descriptor;
    }

    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.internal_static_CSOEconItemEquipped_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped.class, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped.Builder.class);
    }

    public static com.google.protobuf.Parser PARSER =
        new com.google.protobuf.AbstractParser() {
      public CSOEconItemEquipped parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new CSOEconItemEquipped(input, extensionRegistry);
      }
    };

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

    private int bitField0_;
    public static final int NEW_CLASS_FIELD_NUMBER = 1;
    private int newClass_;
    /**
     * optional uint32 new_class = 1;
     */
    public boolean hasNewClass() {
      return ((bitField0_ & 0x00000001) == 0x00000001);
    }
    /**
     * optional uint32 new_class = 1;
     */
    public int getNewClass() {
      return newClass_;
    }

    public static final int NEW_SLOT_FIELD_NUMBER = 2;
    private int newSlot_;
    /**
     * optional uint32 new_slot = 2;
     */
    public boolean hasNewSlot() {
      return ((bitField0_ & 0x00000002) == 0x00000002);
    }
    /**
     * optional uint32 new_slot = 2;
     */
    public int getNewSlot() {
      return newSlot_;
    }

    private void initFields() {
      newClass_ = 0;
      newSlot_ = 0;
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        output.writeUInt32(1, newClass_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        output.writeUInt32(2, newSlot_);
      }
      getUnknownFields().writeTo(output);
    }

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(1, newClass_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(2, newSlot_);
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSerializedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    public static skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code CSOEconItemEquipped}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder implements
        // @@protoc_insertion_point(builder_implements:CSOEconItemEquipped)
        skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquippedOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.internal_static_CSOEconItemEquipped_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.internal_static_CSOEconItemEquipped_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped.class, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped.Builder.class);
      }

      // Construct using skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        newClass_ = 0;
        bitField0_ = (bitField0_ & ~0x00000001);
        newSlot_ = 0;
        bitField0_ = (bitField0_ & ~0x00000002);
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.internal_static_CSOEconItemEquipped_descriptor;
      }

      public skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped getDefaultInstanceForType() {
        return skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped.getDefaultInstance();
      }

      public skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped build() {
        skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped buildPartial() {
        skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped result = new skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
          to_bitField0_ |= 0x00000001;
        }
        result.newClass_ = newClass_;
        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
          to_bitField0_ |= 0x00000002;
        }
        result.newSlot_ = newSlot_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped) {
          return mergeFrom((skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped other) {
        if (other == skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped.getDefaultInstance()) return this;
        if (other.hasNewClass()) {
          setNewClass(other.getNewClass());
        }
        if (other.hasNewSlot()) {
          setNewSlot(other.getNewSlot());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped) e.getUnfinishedMessage();
          throw e;
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private int newClass_ ;
      /**
       * optional uint32 new_class = 1;
       */
      public boolean hasNewClass() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * optional uint32 new_class = 1;
       */
      public int getNewClass() {
        return newClass_;
      }
      /**
       * optional uint32 new_class = 1;
       */
      public Builder setNewClass(int value) {
        bitField0_ |= 0x00000001;
        newClass_ = value;
        onChanged();
        return this;
      }
      /**
       * optional uint32 new_class = 1;
       */
      public Builder clearNewClass() {
        bitField0_ = (bitField0_ & ~0x00000001);
        newClass_ = 0;
        onChanged();
        return this;
      }

      private int newSlot_ ;
      /**
       * optional uint32 new_slot = 2;
       */
      public boolean hasNewSlot() {
        return ((bitField0_ & 0x00000002) == 0x00000002);
      }
      /**
       * optional uint32 new_slot = 2;
       */
      public int getNewSlot() {
        return newSlot_;
      }
      /**
       * optional uint32 new_slot = 2;
       */
      public Builder setNewSlot(int value) {
        bitField0_ |= 0x00000002;
        newSlot_ = value;
        onChanged();
        return this;
      }
      /**
       * optional uint32 new_slot = 2;
       */
      public Builder clearNewSlot() {
        bitField0_ = (bitField0_ & ~0x00000002);
        newSlot_ = 0;
        onChanged();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:CSOEconItemEquipped)
    }

    static {
      defaultInstance = new CSOEconItemEquipped(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:CSOEconItemEquipped)
  }

  public interface CSOEconItemOrBuilder extends
      // @@protoc_insertion_point(interface_extends:CSOEconItem)
      com.google.protobuf.MessageOrBuilder {

    /**
     * optional uint64 id = 1;
     */
    boolean hasId();
    /**
     * optional uint64 id = 1;
     */
    long getId();

    /**
     * optional uint32 account_id = 2;
     */
    boolean hasAccountId();
    /**
     * optional uint32 account_id = 2;
     */
    int getAccountId();

    /**
     * optional uint32 inventory = 3;
     */
    boolean hasInventory();
    /**
     * optional uint32 inventory = 3;
     */
    int getInventory();

    /**
     * optional uint32 def_index = 4;
     */
    boolean hasDefIndex();
    /**
     * optional uint32 def_index = 4;
     */
    int getDefIndex();

    /**
     * optional uint32 quantity = 5 [default = 1];
     */
    boolean hasQuantity();
    /**
     * optional uint32 quantity = 5 [default = 1];
     */
    int getQuantity();

    /**
     * optional uint32 level = 6 [default = 1];
     */
    boolean hasLevel();
    /**
     * optional uint32 level = 6 [default = 1];
     */
    int getLevel();

    /**
     * optional uint32 quality = 7 [default = 4];
     */
    boolean hasQuality();
    /**
     * optional uint32 quality = 7 [default = 4];
     */
    int getQuality();

    /**
     * optional uint32 flags = 8 [default = 0];
     */
    boolean hasFlags();
    /**
     * optional uint32 flags = 8 [default = 0];
     */
    int getFlags();

    /**
     * optional uint32 origin = 9 [default = 0];
     */
    boolean hasOrigin();
    /**
     * optional uint32 origin = 9 [default = 0];
     */
    int getOrigin();

    /**
     * repeated .CSOEconItemAttribute attribute = 12;
     */
    java.util.List 
        getAttributeList();
    /**
     * repeated .CSOEconItemAttribute attribute = 12;
     */
    skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute getAttribute(int index);
    /**
     * repeated .CSOEconItemAttribute attribute = 12;
     */
    int getAttributeCount();
    /**
     * repeated .CSOEconItemAttribute attribute = 12;
     */
    java.util.List 
        getAttributeOrBuilderList();
    /**
     * repeated .CSOEconItemAttribute attribute = 12;
     */
    skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttributeOrBuilder getAttributeOrBuilder(
        int index);

    /**
     * optional .CSOEconItem interior_item = 13;
     */
    boolean hasInteriorItem();
    /**
     * optional .CSOEconItem interior_item = 13;
     */
    skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem getInteriorItem();
    /**
     * optional .CSOEconItem interior_item = 13;
     */
    skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemOrBuilder getInteriorItemOrBuilder();

    /**
     * optional bool in_use = 14 [default = false];
     */
    boolean hasInUse();
    /**
     * optional bool in_use = 14 [default = false];
     */
    boolean getInUse();

    /**
     * optional uint32 style = 15 [default = 0];
     */
    boolean hasStyle();
    /**
     * optional uint32 style = 15 [default = 0];
     */
    int getStyle();

    /**
     * optional uint64 original_id = 16;
     */
    boolean hasOriginalId();
    /**
     * optional uint64 original_id = 16;
     */
    long getOriginalId();

    /**
     * repeated .CSOEconItemEquipped equipped_state = 18;
     */
    java.util.List 
        getEquippedStateList();
    /**
     * repeated .CSOEconItemEquipped equipped_state = 18;
     */
    skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped getEquippedState(int index);
    /**
     * repeated .CSOEconItemEquipped equipped_state = 18;
     */
    int getEquippedStateCount();
    /**
     * repeated .CSOEconItemEquipped equipped_state = 18;
     */
    java.util.List 
        getEquippedStateOrBuilderList();
    /**
     * repeated .CSOEconItemEquipped equipped_state = 18;
     */
    skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquippedOrBuilder getEquippedStateOrBuilder(
        int index);
  }
  /**
   * Protobuf type {@code CSOEconItem}
   */
  public static final class CSOEconItem extends
      com.google.protobuf.GeneratedMessage implements
      // @@protoc_insertion_point(message_implements:CSOEconItem)
      CSOEconItemOrBuilder {
    // Use CSOEconItem.newBuilder() to construct.
    private CSOEconItem(com.google.protobuf.GeneratedMessage.Builder builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private CSOEconItem(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final CSOEconItem defaultInstance;
    public static CSOEconItem getDefaultInstance() {
      return defaultInstance;
    }

    public CSOEconItem getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final com.google.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private CSOEconItem(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      initFields();
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 8: {
              bitField0_ |= 0x00000001;
              id_ = input.readUInt64();
              break;
            }
            case 16: {
              bitField0_ |= 0x00000002;
              accountId_ = input.readUInt32();
              break;
            }
            case 24: {
              bitField0_ |= 0x00000004;
              inventory_ = input.readUInt32();
              break;
            }
            case 32: {
              bitField0_ |= 0x00000008;
              defIndex_ = input.readUInt32();
              break;
            }
            case 40: {
              bitField0_ |= 0x00000010;
              quantity_ = input.readUInt32();
              break;
            }
            case 48: {
              bitField0_ |= 0x00000020;
              level_ = input.readUInt32();
              break;
            }
            case 56: {
              bitField0_ |= 0x00000040;
              quality_ = input.readUInt32();
              break;
            }
            case 64: {
              bitField0_ |= 0x00000080;
              flags_ = input.readUInt32();
              break;
            }
            case 72: {
              bitField0_ |= 0x00000100;
              origin_ = input.readUInt32();
              break;
            }
            case 98: {
              if (!((mutable_bitField0_ & 0x00000200) == 0x00000200)) {
                attribute_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000200;
              }
              attribute_.add(input.readMessage(skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute.PARSER, extensionRegistry));
              break;
            }
            case 106: {
              skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem.Builder subBuilder = null;
              if (((bitField0_ & 0x00000200) == 0x00000200)) {
                subBuilder = interiorItem_.toBuilder();
              }
              interiorItem_ = input.readMessage(skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem.PARSER, extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(interiorItem_);
                interiorItem_ = subBuilder.buildPartial();
              }
              bitField0_ |= 0x00000200;
              break;
            }
            case 112: {
              bitField0_ |= 0x00000400;
              inUse_ = input.readBool();
              break;
            }
            case 120: {
              bitField0_ |= 0x00000800;
              style_ = input.readUInt32();
              break;
            }
            case 128: {
              bitField0_ |= 0x00001000;
              originalId_ = input.readUInt64();
              break;
            }
            case 146: {
              if (!((mutable_bitField0_ & 0x00004000) == 0x00004000)) {
                equippedState_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00004000;
              }
              equippedState_.add(input.readMessage(skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped.PARSER, extensionRegistry));
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000200) == 0x00000200)) {
          attribute_ = java.util.Collections.unmodifiableList(attribute_);
        }
        if (((mutable_bitField0_ & 0x00004000) == 0x00004000)) {
          equippedState_ = java.util.Collections.unmodifiableList(equippedState_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.internal_static_CSOEconItem_descriptor;
    }

    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.internal_static_CSOEconItem_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem.class, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem.Builder.class);
    }

    public static com.google.protobuf.Parser PARSER =
        new com.google.protobuf.AbstractParser() {
      public CSOEconItem parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new CSOEconItem(input, extensionRegistry);
      }
    };

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

    private int bitField0_;
    public static final int ID_FIELD_NUMBER = 1;
    private long id_;
    /**
     * optional uint64 id = 1;
     */
    public boolean hasId() {
      return ((bitField0_ & 0x00000001) == 0x00000001);
    }
    /**
     * optional uint64 id = 1;
     */
    public long getId() {
      return id_;
    }

    public static final int ACCOUNT_ID_FIELD_NUMBER = 2;
    private int accountId_;
    /**
     * optional uint32 account_id = 2;
     */
    public boolean hasAccountId() {
      return ((bitField0_ & 0x00000002) == 0x00000002);
    }
    /**
     * optional uint32 account_id = 2;
     */
    public int getAccountId() {
      return accountId_;
    }

    public static final int INVENTORY_FIELD_NUMBER = 3;
    private int inventory_;
    /**
     * optional uint32 inventory = 3;
     */
    public boolean hasInventory() {
      return ((bitField0_ & 0x00000004) == 0x00000004);
    }
    /**
     * optional uint32 inventory = 3;
     */
    public int getInventory() {
      return inventory_;
    }

    public static final int DEF_INDEX_FIELD_NUMBER = 4;
    private int defIndex_;
    /**
     * optional uint32 def_index = 4;
     */
    public boolean hasDefIndex() {
      return ((bitField0_ & 0x00000008) == 0x00000008);
    }
    /**
     * optional uint32 def_index = 4;
     */
    public int getDefIndex() {
      return defIndex_;
    }

    public static final int QUANTITY_FIELD_NUMBER = 5;
    private int quantity_;
    /**
     * optional uint32 quantity = 5 [default = 1];
     */
    public boolean hasQuantity() {
      return ((bitField0_ & 0x00000010) == 0x00000010);
    }
    /**
     * optional uint32 quantity = 5 [default = 1];
     */
    public int getQuantity() {
      return quantity_;
    }

    public static final int LEVEL_FIELD_NUMBER = 6;
    private int level_;
    /**
     * optional uint32 level = 6 [default = 1];
     */
    public boolean hasLevel() {
      return ((bitField0_ & 0x00000020) == 0x00000020);
    }
    /**
     * optional uint32 level = 6 [default = 1];
     */
    public int getLevel() {
      return level_;
    }

    public static final int QUALITY_FIELD_NUMBER = 7;
    private int quality_;
    /**
     * optional uint32 quality = 7 [default = 4];
     */
    public boolean hasQuality() {
      return ((bitField0_ & 0x00000040) == 0x00000040);
    }
    /**
     * optional uint32 quality = 7 [default = 4];
     */
    public int getQuality() {
      return quality_;
    }

    public static final int FLAGS_FIELD_NUMBER = 8;
    private int flags_;
    /**
     * optional uint32 flags = 8 [default = 0];
     */
    public boolean hasFlags() {
      return ((bitField0_ & 0x00000080) == 0x00000080);
    }
    /**
     * optional uint32 flags = 8 [default = 0];
     */
    public int getFlags() {
      return flags_;
    }

    public static final int ORIGIN_FIELD_NUMBER = 9;
    private int origin_;
    /**
     * optional uint32 origin = 9 [default = 0];
     */
    public boolean hasOrigin() {
      return ((bitField0_ & 0x00000100) == 0x00000100);
    }
    /**
     * optional uint32 origin = 9 [default = 0];
     */
    public int getOrigin() {
      return origin_;
    }

    public static final int ATTRIBUTE_FIELD_NUMBER = 12;
    private java.util.List attribute_;
    /**
     * repeated .CSOEconItemAttribute attribute = 12;
     */
    public java.util.List getAttributeList() {
      return attribute_;
    }
    /**
     * repeated .CSOEconItemAttribute attribute = 12;
     */
    public java.util.List 
        getAttributeOrBuilderList() {
      return attribute_;
    }
    /**
     * repeated .CSOEconItemAttribute attribute = 12;
     */
    public int getAttributeCount() {
      return attribute_.size();
    }
    /**
     * repeated .CSOEconItemAttribute attribute = 12;
     */
    public skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute getAttribute(int index) {
      return attribute_.get(index);
    }
    /**
     * repeated .CSOEconItemAttribute attribute = 12;
     */
    public skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttributeOrBuilder getAttributeOrBuilder(
        int index) {
      return attribute_.get(index);
    }

    public static final int INTERIOR_ITEM_FIELD_NUMBER = 13;
    private skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem interiorItem_;
    /**
     * optional .CSOEconItem interior_item = 13;
     */
    public boolean hasInteriorItem() {
      return ((bitField0_ & 0x00000200) == 0x00000200);
    }
    /**
     * optional .CSOEconItem interior_item = 13;
     */
    public skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem getInteriorItem() {
      return interiorItem_;
    }
    /**
     * optional .CSOEconItem interior_item = 13;
     */
    public skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemOrBuilder getInteriorItemOrBuilder() {
      return interiorItem_;
    }

    public static final int IN_USE_FIELD_NUMBER = 14;
    private boolean inUse_;
    /**
     * optional bool in_use = 14 [default = false];
     */
    public boolean hasInUse() {
      return ((bitField0_ & 0x00000400) == 0x00000400);
    }
    /**
     * optional bool in_use = 14 [default = false];
     */
    public boolean getInUse() {
      return inUse_;
    }

    public static final int STYLE_FIELD_NUMBER = 15;
    private int style_;
    /**
     * optional uint32 style = 15 [default = 0];
     */
    public boolean hasStyle() {
      return ((bitField0_ & 0x00000800) == 0x00000800);
    }
    /**
     * optional uint32 style = 15 [default = 0];
     */
    public int getStyle() {
      return style_;
    }

    public static final int ORIGINAL_ID_FIELD_NUMBER = 16;
    private long originalId_;
    /**
     * optional uint64 original_id = 16;
     */
    public boolean hasOriginalId() {
      return ((bitField0_ & 0x00001000) == 0x00001000);
    }
    /**
     * optional uint64 original_id = 16;
     */
    public long getOriginalId() {
      return originalId_;
    }

    public static final int EQUIPPED_STATE_FIELD_NUMBER = 18;
    private java.util.List equippedState_;
    /**
     * repeated .CSOEconItemEquipped equipped_state = 18;
     */
    public java.util.List getEquippedStateList() {
      return equippedState_;
    }
    /**
     * repeated .CSOEconItemEquipped equipped_state = 18;
     */
    public java.util.List 
        getEquippedStateOrBuilderList() {
      return equippedState_;
    }
    /**
     * repeated .CSOEconItemEquipped equipped_state = 18;
     */
    public int getEquippedStateCount() {
      return equippedState_.size();
    }
    /**
     * repeated .CSOEconItemEquipped equipped_state = 18;
     */
    public skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped getEquippedState(int index) {
      return equippedState_.get(index);
    }
    /**
     * repeated .CSOEconItemEquipped equipped_state = 18;
     */
    public skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquippedOrBuilder getEquippedStateOrBuilder(
        int index) {
      return equippedState_.get(index);
    }

    private void initFields() {
      id_ = 0L;
      accountId_ = 0;
      inventory_ = 0;
      defIndex_ = 0;
      quantity_ = 1;
      level_ = 1;
      quality_ = 4;
      flags_ = 0;
      origin_ = 0;
      attribute_ = java.util.Collections.emptyList();
      interiorItem_ = skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem.getDefaultInstance();
      inUse_ = false;
      style_ = 0;
      originalId_ = 0L;
      equippedState_ = java.util.Collections.emptyList();
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        output.writeUInt64(1, id_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        output.writeUInt32(2, accountId_);
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        output.writeUInt32(3, inventory_);
      }
      if (((bitField0_ & 0x00000008) == 0x00000008)) {
        output.writeUInt32(4, defIndex_);
      }
      if (((bitField0_ & 0x00000010) == 0x00000010)) {
        output.writeUInt32(5, quantity_);
      }
      if (((bitField0_ & 0x00000020) == 0x00000020)) {
        output.writeUInt32(6, level_);
      }
      if (((bitField0_ & 0x00000040) == 0x00000040)) {
        output.writeUInt32(7, quality_);
      }
      if (((bitField0_ & 0x00000080) == 0x00000080)) {
        output.writeUInt32(8, flags_);
      }
      if (((bitField0_ & 0x00000100) == 0x00000100)) {
        output.writeUInt32(9, origin_);
      }
      for (int i = 0; i < attribute_.size(); i++) {
        output.writeMessage(12, attribute_.get(i));
      }
      if (((bitField0_ & 0x00000200) == 0x00000200)) {
        output.writeMessage(13, interiorItem_);
      }
      if (((bitField0_ & 0x00000400) == 0x00000400)) {
        output.writeBool(14, inUse_);
      }
      if (((bitField0_ & 0x00000800) == 0x00000800)) {
        output.writeUInt32(15, style_);
      }
      if (((bitField0_ & 0x00001000) == 0x00001000)) {
        output.writeUInt64(16, originalId_);
      }
      for (int i = 0; i < equippedState_.size(); i++) {
        output.writeMessage(18, equippedState_.get(i));
      }
      getUnknownFields().writeTo(output);
    }

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(1, id_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(2, accountId_);
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(3, inventory_);
      }
      if (((bitField0_ & 0x00000008) == 0x00000008)) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(4, defIndex_);
      }
      if (((bitField0_ & 0x00000010) == 0x00000010)) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(5, quantity_);
      }
      if (((bitField0_ & 0x00000020) == 0x00000020)) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(6, level_);
      }
      if (((bitField0_ & 0x00000040) == 0x00000040)) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(7, quality_);
      }
      if (((bitField0_ & 0x00000080) == 0x00000080)) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(8, flags_);
      }
      if (((bitField0_ & 0x00000100) == 0x00000100)) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(9, origin_);
      }
      for (int i = 0; i < attribute_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(12, attribute_.get(i));
      }
      if (((bitField0_ & 0x00000200) == 0x00000200)) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(13, interiorItem_);
      }
      if (((bitField0_ & 0x00000400) == 0x00000400)) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(14, inUse_);
      }
      if (((bitField0_ & 0x00000800) == 0x00000800)) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(15, style_);
      }
      if (((bitField0_ & 0x00001000) == 0x00001000)) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(16, originalId_);
      }
      for (int i = 0; i < equippedState_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(18, equippedState_.get(i));
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSerializedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    public static skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code CSOEconItem}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder implements
        // @@protoc_insertion_point(builder_implements:CSOEconItem)
        skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.internal_static_CSOEconItem_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.internal_static_CSOEconItem_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem.class, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem.Builder.class);
      }

      // Construct using skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
          getAttributeFieldBuilder();
          getInteriorItemFieldBuilder();
          getEquippedStateFieldBuilder();
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        id_ = 0L;
        bitField0_ = (bitField0_ & ~0x00000001);
        accountId_ = 0;
        bitField0_ = (bitField0_ & ~0x00000002);
        inventory_ = 0;
        bitField0_ = (bitField0_ & ~0x00000004);
        defIndex_ = 0;
        bitField0_ = (bitField0_ & ~0x00000008);
        quantity_ = 1;
        bitField0_ = (bitField0_ & ~0x00000010);
        level_ = 1;
        bitField0_ = (bitField0_ & ~0x00000020);
        quality_ = 4;
        bitField0_ = (bitField0_ & ~0x00000040);
        flags_ = 0;
        bitField0_ = (bitField0_ & ~0x00000080);
        origin_ = 0;
        bitField0_ = (bitField0_ & ~0x00000100);
        if (attributeBuilder_ == null) {
          attribute_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000200);
        } else {
          attributeBuilder_.clear();
        }
        if (interiorItemBuilder_ == null) {
          interiorItem_ = skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem.getDefaultInstance();
        } else {
          interiorItemBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000400);
        inUse_ = false;
        bitField0_ = (bitField0_ & ~0x00000800);
        style_ = 0;
        bitField0_ = (bitField0_ & ~0x00001000);
        originalId_ = 0L;
        bitField0_ = (bitField0_ & ~0x00002000);
        if (equippedStateBuilder_ == null) {
          equippedState_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00004000);
        } else {
          equippedStateBuilder_.clear();
        }
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.internal_static_CSOEconItem_descriptor;
      }

      public skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem getDefaultInstanceForType() {
        return skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem.getDefaultInstance();
      }

      public skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem build() {
        skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem buildPartial() {
        skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem result = new skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
          to_bitField0_ |= 0x00000001;
        }
        result.id_ = id_;
        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
          to_bitField0_ |= 0x00000002;
        }
        result.accountId_ = accountId_;
        if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
          to_bitField0_ |= 0x00000004;
        }
        result.inventory_ = inventory_;
        if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
          to_bitField0_ |= 0x00000008;
        }
        result.defIndex_ = defIndex_;
        if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
          to_bitField0_ |= 0x00000010;
        }
        result.quantity_ = quantity_;
        if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
          to_bitField0_ |= 0x00000020;
        }
        result.level_ = level_;
        if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
          to_bitField0_ |= 0x00000040;
        }
        result.quality_ = quality_;
        if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
          to_bitField0_ |= 0x00000080;
        }
        result.flags_ = flags_;
        if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
          to_bitField0_ |= 0x00000100;
        }
        result.origin_ = origin_;
        if (attributeBuilder_ == null) {
          if (((bitField0_ & 0x00000200) == 0x00000200)) {
            attribute_ = java.util.Collections.unmodifiableList(attribute_);
            bitField0_ = (bitField0_ & ~0x00000200);
          }
          result.attribute_ = attribute_;
        } else {
          result.attribute_ = attributeBuilder_.build();
        }
        if (((from_bitField0_ & 0x00000400) == 0x00000400)) {
          to_bitField0_ |= 0x00000200;
        }
        if (interiorItemBuilder_ == null) {
          result.interiorItem_ = interiorItem_;
        } else {
          result.interiorItem_ = interiorItemBuilder_.build();
        }
        if (((from_bitField0_ & 0x00000800) == 0x00000800)) {
          to_bitField0_ |= 0x00000400;
        }
        result.inUse_ = inUse_;
        if (((from_bitField0_ & 0x00001000) == 0x00001000)) {
          to_bitField0_ |= 0x00000800;
        }
        result.style_ = style_;
        if (((from_bitField0_ & 0x00002000) == 0x00002000)) {
          to_bitField0_ |= 0x00001000;
        }
        result.originalId_ = originalId_;
        if (equippedStateBuilder_ == null) {
          if (((bitField0_ & 0x00004000) == 0x00004000)) {
            equippedState_ = java.util.Collections.unmodifiableList(equippedState_);
            bitField0_ = (bitField0_ & ~0x00004000);
          }
          result.equippedState_ = equippedState_;
        } else {
          result.equippedState_ = equippedStateBuilder_.build();
        }
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem) {
          return mergeFrom((skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem other) {
        if (other == skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem.getDefaultInstance()) return this;
        if (other.hasId()) {
          setId(other.getId());
        }
        if (other.hasAccountId()) {
          setAccountId(other.getAccountId());
        }
        if (other.hasInventory()) {
          setInventory(other.getInventory());
        }
        if (other.hasDefIndex()) {
          setDefIndex(other.getDefIndex());
        }
        if (other.hasQuantity()) {
          setQuantity(other.getQuantity());
        }
        if (other.hasLevel()) {
          setLevel(other.getLevel());
        }
        if (other.hasQuality()) {
          setQuality(other.getQuality());
        }
        if (other.hasFlags()) {
          setFlags(other.getFlags());
        }
        if (other.hasOrigin()) {
          setOrigin(other.getOrigin());
        }
        if (attributeBuilder_ == null) {
          if (!other.attribute_.isEmpty()) {
            if (attribute_.isEmpty()) {
              attribute_ = other.attribute_;
              bitField0_ = (bitField0_ & ~0x00000200);
            } else {
              ensureAttributeIsMutable();
              attribute_.addAll(other.attribute_);
            }
            onChanged();
          }
        } else {
          if (!other.attribute_.isEmpty()) {
            if (attributeBuilder_.isEmpty()) {
              attributeBuilder_.dispose();
              attributeBuilder_ = null;
              attribute_ = other.attribute_;
              bitField0_ = (bitField0_ & ~0x00000200);
              attributeBuilder_ = 
                com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
                   getAttributeFieldBuilder() : null;
            } else {
              attributeBuilder_.addAllMessages(other.attribute_);
            }
          }
        }
        if (other.hasInteriorItem()) {
          mergeInteriorItem(other.getInteriorItem());
        }
        if (other.hasInUse()) {
          setInUse(other.getInUse());
        }
        if (other.hasStyle()) {
          setStyle(other.getStyle());
        }
        if (other.hasOriginalId()) {
          setOriginalId(other.getOriginalId());
        }
        if (equippedStateBuilder_ == null) {
          if (!other.equippedState_.isEmpty()) {
            if (equippedState_.isEmpty()) {
              equippedState_ = other.equippedState_;
              bitField0_ = (bitField0_ & ~0x00004000);
            } else {
              ensureEquippedStateIsMutable();
              equippedState_.addAll(other.equippedState_);
            }
            onChanged();
          }
        } else {
          if (!other.equippedState_.isEmpty()) {
            if (equippedStateBuilder_.isEmpty()) {
              equippedStateBuilder_.dispose();
              equippedStateBuilder_ = null;
              equippedState_ = other.equippedState_;
              bitField0_ = (bitField0_ & ~0x00004000);
              equippedStateBuilder_ = 
                com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
                   getEquippedStateFieldBuilder() : null;
            } else {
              equippedStateBuilder_.addAllMessages(other.equippedState_);
            }
          }
        }
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem) e.getUnfinishedMessage();
          throw e;
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private long id_ ;
      /**
       * optional uint64 id = 1;
       */
      public boolean hasId() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * optional uint64 id = 1;
       */
      public long getId() {
        return id_;
      }
      /**
       * optional uint64 id = 1;
       */
      public Builder setId(long value) {
        bitField0_ |= 0x00000001;
        id_ = value;
        onChanged();
        return this;
      }
      /**
       * optional uint64 id = 1;
       */
      public Builder clearId() {
        bitField0_ = (bitField0_ & ~0x00000001);
        id_ = 0L;
        onChanged();
        return this;
      }

      private int accountId_ ;
      /**
       * optional uint32 account_id = 2;
       */
      public boolean hasAccountId() {
        return ((bitField0_ & 0x00000002) == 0x00000002);
      }
      /**
       * optional uint32 account_id = 2;
       */
      public int getAccountId() {
        return accountId_;
      }
      /**
       * optional uint32 account_id = 2;
       */
      public Builder setAccountId(int value) {
        bitField0_ |= 0x00000002;
        accountId_ = value;
        onChanged();
        return this;
      }
      /**
       * optional uint32 account_id = 2;
       */
      public Builder clearAccountId() {
        bitField0_ = (bitField0_ & ~0x00000002);
        accountId_ = 0;
        onChanged();
        return this;
      }

      private int inventory_ ;
      /**
       * optional uint32 inventory = 3;
       */
      public boolean hasInventory() {
        return ((bitField0_ & 0x00000004) == 0x00000004);
      }
      /**
       * optional uint32 inventory = 3;
       */
      public int getInventory() {
        return inventory_;
      }
      /**
       * optional uint32 inventory = 3;
       */
      public Builder setInventory(int value) {
        bitField0_ |= 0x00000004;
        inventory_ = value;
        onChanged();
        return this;
      }
      /**
       * optional uint32 inventory = 3;
       */
      public Builder clearInventory() {
        bitField0_ = (bitField0_ & ~0x00000004);
        inventory_ = 0;
        onChanged();
        return this;
      }

      private int defIndex_ ;
      /**
       * optional uint32 def_index = 4;
       */
      public boolean hasDefIndex() {
        return ((bitField0_ & 0x00000008) == 0x00000008);
      }
      /**
       * optional uint32 def_index = 4;
       */
      public int getDefIndex() {
        return defIndex_;
      }
      /**
       * optional uint32 def_index = 4;
       */
      public Builder setDefIndex(int value) {
        bitField0_ |= 0x00000008;
        defIndex_ = value;
        onChanged();
        return this;
      }
      /**
       * optional uint32 def_index = 4;
       */
      public Builder clearDefIndex() {
        bitField0_ = (bitField0_ & ~0x00000008);
        defIndex_ = 0;
        onChanged();
        return this;
      }

      private int quantity_ = 1;
      /**
       * optional uint32 quantity = 5 [default = 1];
       */
      public boolean hasQuantity() {
        return ((bitField0_ & 0x00000010) == 0x00000010);
      }
      /**
       * optional uint32 quantity = 5 [default = 1];
       */
      public int getQuantity() {
        return quantity_;
      }
      /**
       * optional uint32 quantity = 5 [default = 1];
       */
      public Builder setQuantity(int value) {
        bitField0_ |= 0x00000010;
        quantity_ = value;
        onChanged();
        return this;
      }
      /**
       * optional uint32 quantity = 5 [default = 1];
       */
      public Builder clearQuantity() {
        bitField0_ = (bitField0_ & ~0x00000010);
        quantity_ = 1;
        onChanged();
        return this;
      }

      private int level_ = 1;
      /**
       * optional uint32 level = 6 [default = 1];
       */
      public boolean hasLevel() {
        return ((bitField0_ & 0x00000020) == 0x00000020);
      }
      /**
       * optional uint32 level = 6 [default = 1];
       */
      public int getLevel() {
        return level_;
      }
      /**
       * optional uint32 level = 6 [default = 1];
       */
      public Builder setLevel(int value) {
        bitField0_ |= 0x00000020;
        level_ = value;
        onChanged();
        return this;
      }
      /**
       * optional uint32 level = 6 [default = 1];
       */
      public Builder clearLevel() {
        bitField0_ = (bitField0_ & ~0x00000020);
        level_ = 1;
        onChanged();
        return this;
      }

      private int quality_ = 4;
      /**
       * optional uint32 quality = 7 [default = 4];
       */
      public boolean hasQuality() {
        return ((bitField0_ & 0x00000040) == 0x00000040);
      }
      /**
       * optional uint32 quality = 7 [default = 4];
       */
      public int getQuality() {
        return quality_;
      }
      /**
       * optional uint32 quality = 7 [default = 4];
       */
      public Builder setQuality(int value) {
        bitField0_ |= 0x00000040;
        quality_ = value;
        onChanged();
        return this;
      }
      /**
       * optional uint32 quality = 7 [default = 4];
       */
      public Builder clearQuality() {
        bitField0_ = (bitField0_ & ~0x00000040);
        quality_ = 4;
        onChanged();
        return this;
      }

      private int flags_ ;
      /**
       * optional uint32 flags = 8 [default = 0];
       */
      public boolean hasFlags() {
        return ((bitField0_ & 0x00000080) == 0x00000080);
      }
      /**
       * optional uint32 flags = 8 [default = 0];
       */
      public int getFlags() {
        return flags_;
      }
      /**
       * optional uint32 flags = 8 [default = 0];
       */
      public Builder setFlags(int value) {
        bitField0_ |= 0x00000080;
        flags_ = value;
        onChanged();
        return this;
      }
      /**
       * optional uint32 flags = 8 [default = 0];
       */
      public Builder clearFlags() {
        bitField0_ = (bitField0_ & ~0x00000080);
        flags_ = 0;
        onChanged();
        return this;
      }

      private int origin_ ;
      /**
       * optional uint32 origin = 9 [default = 0];
       */
      public boolean hasOrigin() {
        return ((bitField0_ & 0x00000100) == 0x00000100);
      }
      /**
       * optional uint32 origin = 9 [default = 0];
       */
      public int getOrigin() {
        return origin_;
      }
      /**
       * optional uint32 origin = 9 [default = 0];
       */
      public Builder setOrigin(int value) {
        bitField0_ |= 0x00000100;
        origin_ = value;
        onChanged();
        return this;
      }
      /**
       * optional uint32 origin = 9 [default = 0];
       */
      public Builder clearOrigin() {
        bitField0_ = (bitField0_ & ~0x00000100);
        origin_ = 0;
        onChanged();
        return this;
      }

      private java.util.List attribute_ =
        java.util.Collections.emptyList();
      private void ensureAttributeIsMutable() {
        if (!((bitField0_ & 0x00000200) == 0x00000200)) {
          attribute_ = new java.util.ArrayList(attribute_);
          bitField0_ |= 0x00000200;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilder<
          skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute.Builder, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttributeOrBuilder> attributeBuilder_;

      /**
       * repeated .CSOEconItemAttribute attribute = 12;
       */
      public java.util.List getAttributeList() {
        if (attributeBuilder_ == null) {
          return java.util.Collections.unmodifiableList(attribute_);
        } else {
          return attributeBuilder_.getMessageList();
        }
      }
      /**
       * repeated .CSOEconItemAttribute attribute = 12;
       */
      public int getAttributeCount() {
        if (attributeBuilder_ == null) {
          return attribute_.size();
        } else {
          return attributeBuilder_.getCount();
        }
      }
      /**
       * repeated .CSOEconItemAttribute attribute = 12;
       */
      public skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute getAttribute(int index) {
        if (attributeBuilder_ == null) {
          return attribute_.get(index);
        } else {
          return attributeBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .CSOEconItemAttribute attribute = 12;
       */
      public Builder setAttribute(
          int index, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute value) {
        if (attributeBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureAttributeIsMutable();
          attribute_.set(index, value);
          onChanged();
        } else {
          attributeBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .CSOEconItemAttribute attribute = 12;
       */
      public Builder setAttribute(
          int index, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute.Builder builderForValue) {
        if (attributeBuilder_ == null) {
          ensureAttributeIsMutable();
          attribute_.set(index, builderForValue.build());
          onChanged();
        } else {
          attributeBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .CSOEconItemAttribute attribute = 12;
       */
      public Builder addAttribute(skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute value) {
        if (attributeBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureAttributeIsMutable();
          attribute_.add(value);
          onChanged();
        } else {
          attributeBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .CSOEconItemAttribute attribute = 12;
       */
      public Builder addAttribute(
          int index, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute value) {
        if (attributeBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureAttributeIsMutable();
          attribute_.add(index, value);
          onChanged();
        } else {
          attributeBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .CSOEconItemAttribute attribute = 12;
       */
      public Builder addAttribute(
          skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute.Builder builderForValue) {
        if (attributeBuilder_ == null) {
          ensureAttributeIsMutable();
          attribute_.add(builderForValue.build());
          onChanged();
        } else {
          attributeBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .CSOEconItemAttribute attribute = 12;
       */
      public Builder addAttribute(
          int index, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute.Builder builderForValue) {
        if (attributeBuilder_ == null) {
          ensureAttributeIsMutable();
          attribute_.add(index, builderForValue.build());
          onChanged();
        } else {
          attributeBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .CSOEconItemAttribute attribute = 12;
       */
      public Builder addAllAttribute(
          java.lang.Iterable values) {
        if (attributeBuilder_ == null) {
          ensureAttributeIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, attribute_);
          onChanged();
        } else {
          attributeBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .CSOEconItemAttribute attribute = 12;
       */
      public Builder clearAttribute() {
        if (attributeBuilder_ == null) {
          attribute_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000200);
          onChanged();
        } else {
          attributeBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .CSOEconItemAttribute attribute = 12;
       */
      public Builder removeAttribute(int index) {
        if (attributeBuilder_ == null) {
          ensureAttributeIsMutable();
          attribute_.remove(index);
          onChanged();
        } else {
          attributeBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .CSOEconItemAttribute attribute = 12;
       */
      public skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute.Builder getAttributeBuilder(
          int index) {
        return getAttributeFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .CSOEconItemAttribute attribute = 12;
       */
      public skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttributeOrBuilder getAttributeOrBuilder(
          int index) {
        if (attributeBuilder_ == null) {
          return attribute_.get(index);  } else {
          return attributeBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .CSOEconItemAttribute attribute = 12;
       */
      public java.util.List 
           getAttributeOrBuilderList() {
        if (attributeBuilder_ != null) {
          return attributeBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(attribute_);
        }
      }
      /**
       * repeated .CSOEconItemAttribute attribute = 12;
       */
      public skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute.Builder addAttributeBuilder() {
        return getAttributeFieldBuilder().addBuilder(
            skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute.getDefaultInstance());
      }
      /**
       * repeated .CSOEconItemAttribute attribute = 12;
       */
      public skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute.Builder addAttributeBuilder(
          int index) {
        return getAttributeFieldBuilder().addBuilder(
            index, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute.getDefaultInstance());
      }
      /**
       * repeated .CSOEconItemAttribute attribute = 12;
       */
      public java.util.List 
           getAttributeBuilderList() {
        return getAttributeFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilder<
          skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute.Builder, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttributeOrBuilder> 
          getAttributeFieldBuilder() {
        if (attributeBuilder_ == null) {
          attributeBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
              skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute.Builder, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttributeOrBuilder>(
                  attribute_,
                  ((bitField0_ & 0x00000200) == 0x00000200),
                  getParentForChildren(),
                  isClean());
          attribute_ = null;
        }
        return attributeBuilder_;
      }

      private skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem interiorItem_ = skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem.getDefaultInstance();
      private com.google.protobuf.SingleFieldBuilder<
          skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem.Builder, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemOrBuilder> interiorItemBuilder_;
      /**
       * optional .CSOEconItem interior_item = 13;
       */
      public boolean hasInteriorItem() {
        return ((bitField0_ & 0x00000400) == 0x00000400);
      }
      /**
       * optional .CSOEconItem interior_item = 13;
       */
      public skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem getInteriorItem() {
        if (interiorItemBuilder_ == null) {
          return interiorItem_;
        } else {
          return interiorItemBuilder_.getMessage();
        }
      }
      /**
       * optional .CSOEconItem interior_item = 13;
       */
      public Builder setInteriorItem(skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem value) {
        if (interiorItemBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          interiorItem_ = value;
          onChanged();
        } else {
          interiorItemBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000400;
        return this;
      }
      /**
       * optional .CSOEconItem interior_item = 13;
       */
      public Builder setInteriorItem(
          skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem.Builder builderForValue) {
        if (interiorItemBuilder_ == null) {
          interiorItem_ = builderForValue.build();
          onChanged();
        } else {
          interiorItemBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000400;
        return this;
      }
      /**
       * optional .CSOEconItem interior_item = 13;
       */
      public Builder mergeInteriorItem(skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem value) {
        if (interiorItemBuilder_ == null) {
          if (((bitField0_ & 0x00000400) == 0x00000400) &&
              interiorItem_ != skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem.getDefaultInstance()) {
            interiorItem_ =
              skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem.newBuilder(interiorItem_).mergeFrom(value).buildPartial();
          } else {
            interiorItem_ = value;
          }
          onChanged();
        } else {
          interiorItemBuilder_.mergeFrom(value);
        }
        bitField0_ |= 0x00000400;
        return this;
      }
      /**
       * optional .CSOEconItem interior_item = 13;
       */
      public Builder clearInteriorItem() {
        if (interiorItemBuilder_ == null) {
          interiorItem_ = skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem.getDefaultInstance();
          onChanged();
        } else {
          interiorItemBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000400);
        return this;
      }
      /**
       * optional .CSOEconItem interior_item = 13;
       */
      public skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem.Builder getInteriorItemBuilder() {
        bitField0_ |= 0x00000400;
        onChanged();
        return getInteriorItemFieldBuilder().getBuilder();
      }
      /**
       * optional .CSOEconItem interior_item = 13;
       */
      public skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemOrBuilder getInteriorItemOrBuilder() {
        if (interiorItemBuilder_ != null) {
          return interiorItemBuilder_.getMessageOrBuilder();
        } else {
          return interiorItem_;
        }
      }
      /**
       * optional .CSOEconItem interior_item = 13;
       */
      private com.google.protobuf.SingleFieldBuilder<
          skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem.Builder, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemOrBuilder> 
          getInteriorItemFieldBuilder() {
        if (interiorItemBuilder_ == null) {
          interiorItemBuilder_ = new com.google.protobuf.SingleFieldBuilder<
              skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItem.Builder, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemOrBuilder>(
                  getInteriorItem(),
                  getParentForChildren(),
                  isClean());
          interiorItem_ = null;
        }
        return interiorItemBuilder_;
      }

      private boolean inUse_ ;
      /**
       * optional bool in_use = 14 [default = false];
       */
      public boolean hasInUse() {
        return ((bitField0_ & 0x00000800) == 0x00000800);
      }
      /**
       * optional bool in_use = 14 [default = false];
       */
      public boolean getInUse() {
        return inUse_;
      }
      /**
       * optional bool in_use = 14 [default = false];
       */
      public Builder setInUse(boolean value) {
        bitField0_ |= 0x00000800;
        inUse_ = value;
        onChanged();
        return this;
      }
      /**
       * optional bool in_use = 14 [default = false];
       */
      public Builder clearInUse() {
        bitField0_ = (bitField0_ & ~0x00000800);
        inUse_ = false;
        onChanged();
        return this;
      }

      private int style_ ;
      /**
       * optional uint32 style = 15 [default = 0];
       */
      public boolean hasStyle() {
        return ((bitField0_ & 0x00001000) == 0x00001000);
      }
      /**
       * optional uint32 style = 15 [default = 0];
       */
      public int getStyle() {
        return style_;
      }
      /**
       * optional uint32 style = 15 [default = 0];
       */
      public Builder setStyle(int value) {
        bitField0_ |= 0x00001000;
        style_ = value;
        onChanged();
        return this;
      }
      /**
       * optional uint32 style = 15 [default = 0];
       */
      public Builder clearStyle() {
        bitField0_ = (bitField0_ & ~0x00001000);
        style_ = 0;
        onChanged();
        return this;
      }

      private long originalId_ ;
      /**
       * optional uint64 original_id = 16;
       */
      public boolean hasOriginalId() {
        return ((bitField0_ & 0x00002000) == 0x00002000);
      }
      /**
       * optional uint64 original_id = 16;
       */
      public long getOriginalId() {
        return originalId_;
      }
      /**
       * optional uint64 original_id = 16;
       */
      public Builder setOriginalId(long value) {
        bitField0_ |= 0x00002000;
        originalId_ = value;
        onChanged();
        return this;
      }
      /**
       * optional uint64 original_id = 16;
       */
      public Builder clearOriginalId() {
        bitField0_ = (bitField0_ & ~0x00002000);
        originalId_ = 0L;
        onChanged();
        return this;
      }

      private java.util.List equippedState_ =
        java.util.Collections.emptyList();
      private void ensureEquippedStateIsMutable() {
        if (!((bitField0_ & 0x00004000) == 0x00004000)) {
          equippedState_ = new java.util.ArrayList(equippedState_);
          bitField0_ |= 0x00004000;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilder<
          skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped.Builder, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquippedOrBuilder> equippedStateBuilder_;

      /**
       * repeated .CSOEconItemEquipped equipped_state = 18;
       */
      public java.util.List getEquippedStateList() {
        if (equippedStateBuilder_ == null) {
          return java.util.Collections.unmodifiableList(equippedState_);
        } else {
          return equippedStateBuilder_.getMessageList();
        }
      }
      /**
       * repeated .CSOEconItemEquipped equipped_state = 18;
       */
      public int getEquippedStateCount() {
        if (equippedStateBuilder_ == null) {
          return equippedState_.size();
        } else {
          return equippedStateBuilder_.getCount();
        }
      }
      /**
       * repeated .CSOEconItemEquipped equipped_state = 18;
       */
      public skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped getEquippedState(int index) {
        if (equippedStateBuilder_ == null) {
          return equippedState_.get(index);
        } else {
          return equippedStateBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .CSOEconItemEquipped equipped_state = 18;
       */
      public Builder setEquippedState(
          int index, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped value) {
        if (equippedStateBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureEquippedStateIsMutable();
          equippedState_.set(index, value);
          onChanged();
        } else {
          equippedStateBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .CSOEconItemEquipped equipped_state = 18;
       */
      public Builder setEquippedState(
          int index, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped.Builder builderForValue) {
        if (equippedStateBuilder_ == null) {
          ensureEquippedStateIsMutable();
          equippedState_.set(index, builderForValue.build());
          onChanged();
        } else {
          equippedStateBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .CSOEconItemEquipped equipped_state = 18;
       */
      public Builder addEquippedState(skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped value) {
        if (equippedStateBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureEquippedStateIsMutable();
          equippedState_.add(value);
          onChanged();
        } else {
          equippedStateBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .CSOEconItemEquipped equipped_state = 18;
       */
      public Builder addEquippedState(
          int index, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped value) {
        if (equippedStateBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureEquippedStateIsMutable();
          equippedState_.add(index, value);
          onChanged();
        } else {
          equippedStateBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .CSOEconItemEquipped equipped_state = 18;
       */
      public Builder addEquippedState(
          skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped.Builder builderForValue) {
        if (equippedStateBuilder_ == null) {
          ensureEquippedStateIsMutable();
          equippedState_.add(builderForValue.build());
          onChanged();
        } else {
          equippedStateBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .CSOEconItemEquipped equipped_state = 18;
       */
      public Builder addEquippedState(
          int index, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped.Builder builderForValue) {
        if (equippedStateBuilder_ == null) {
          ensureEquippedStateIsMutable();
          equippedState_.add(index, builderForValue.build());
          onChanged();
        } else {
          equippedStateBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .CSOEconItemEquipped equipped_state = 18;
       */
      public Builder addAllEquippedState(
          java.lang.Iterable values) {
        if (equippedStateBuilder_ == null) {
          ensureEquippedStateIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, equippedState_);
          onChanged();
        } else {
          equippedStateBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .CSOEconItemEquipped equipped_state = 18;
       */
      public Builder clearEquippedState() {
        if (equippedStateBuilder_ == null) {
          equippedState_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00004000);
          onChanged();
        } else {
          equippedStateBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .CSOEconItemEquipped equipped_state = 18;
       */
      public Builder removeEquippedState(int index) {
        if (equippedStateBuilder_ == null) {
          ensureEquippedStateIsMutable();
          equippedState_.remove(index);
          onChanged();
        } else {
          equippedStateBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .CSOEconItemEquipped equipped_state = 18;
       */
      public skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped.Builder getEquippedStateBuilder(
          int index) {
        return getEquippedStateFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .CSOEconItemEquipped equipped_state = 18;
       */
      public skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquippedOrBuilder getEquippedStateOrBuilder(
          int index) {
        if (equippedStateBuilder_ == null) {
          return equippedState_.get(index);  } else {
          return equippedStateBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .CSOEconItemEquipped equipped_state = 18;
       */
      public java.util.List 
           getEquippedStateOrBuilderList() {
        if (equippedStateBuilder_ != null) {
          return equippedStateBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(equippedState_);
        }
      }
      /**
       * repeated .CSOEconItemEquipped equipped_state = 18;
       */
      public skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped.Builder addEquippedStateBuilder() {
        return getEquippedStateFieldBuilder().addBuilder(
            skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped.getDefaultInstance());
      }
      /**
       * repeated .CSOEconItemEquipped equipped_state = 18;
       */
      public skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped.Builder addEquippedStateBuilder(
          int index) {
        return getEquippedStateFieldBuilder().addBuilder(
            index, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped.getDefaultInstance());
      }
      /**
       * repeated .CSOEconItemEquipped equipped_state = 18;
       */
      public java.util.List 
           getEquippedStateBuilderList() {
        return getEquippedStateFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilder<
          skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped.Builder, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquippedOrBuilder> 
          getEquippedStateFieldBuilder() {
        if (equippedStateBuilder_ == null) {
          equippedStateBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
              skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped.Builder, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquippedOrBuilder>(
                  equippedState_,
                  ((bitField0_ & 0x00004000) == 0x00004000),
                  getParentForChildren(),
                  isClean());
          equippedState_ = null;
        }
        return equippedStateBuilder_;
      }

      // @@protoc_insertion_point(builder_scope:CSOEconItem)
    }

    static {
      defaultInstance = new CSOEconItem(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:CSOEconItem)
  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_CSOEconItemAttribute_descriptor;
  private static
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_CSOEconItemAttribute_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_CSOEconItemEquipped_descriptor;
  private static
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_CSOEconItemEquipped_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_CSOEconItem_descriptor;
  private static
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_CSOEconItem_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\025base_gcmessages.proto\"M\n\024CSOEconItemAt" +
      "tribute\022\021\n\tdef_index\030\001 \001(\r\022\r\n\005value\030\002 \001(" +
      "\r\022\023\n\013value_bytes\030\003 \001(\014\":\n\023CSOEconItemEqu" +
      "ipped\022\021\n\tnew_class\030\001 \001(\r\022\020\n\010new_slot\030\002 \001" +
      "(\r\"\356\002\n\013CSOEconItem\022\n\n\002id\030\001 \001(\004\022\022\n\naccoun" +
      "t_id\030\002 \001(\r\022\021\n\tinventory\030\003 \001(\r\022\021\n\tdef_ind" +
      "ex\030\004 \001(\r\022\023\n\010quantity\030\005 \001(\r:\0011\022\020\n\005level\030\006" +
      " \001(\r:\0011\022\022\n\007quality\030\007 \001(\r:\0014\022\020\n\005flags\030\010 \001" +
      "(\r:\0010\022\021\n\006origin\030\t \001(\r:\0010\022(\n\tattribute\030\014 " +
      "\003(\0132\025.CSOEconItemAttribute\022#\n\rinterior_i",
      "tem\030\r \001(\0132\014.CSOEconItem\022\025\n\006in_use\030\016 \001(\010:" +
      "\005false\022\020\n\005style\030\017 \001(\r:\0010\022\023\n\013original_id\030" +
      "\020 \001(\004\022,\n\016equipped_state\030\022 \003(\0132\024.CSOEconI" +
      "temEquippedB=\n%skadistats.clarity.wire.d" +
      "ota.s2.protoB\024DOTAS2BaseGcMessages"
    };
    com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
        new com.google.protobuf.Descriptors.FileDescriptor.    InternalDescriptorAssigner() {
          public com.google.protobuf.ExtensionRegistry assignDescriptors(
              com.google.protobuf.Descriptors.FileDescriptor root) {
            descriptor = root;
            return null;
          }
        };
    com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
        }, assigner);
    internal_static_CSOEconItemAttribute_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_CSOEconItemAttribute_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_CSOEconItemAttribute_descriptor,
        new java.lang.String[] { "DefIndex", "Value", "ValueBytes", });
    internal_static_CSOEconItemEquipped_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_CSOEconItemEquipped_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_CSOEconItemEquipped_descriptor,
        new java.lang.String[] { "NewClass", "NewSlot", });
    internal_static_CSOEconItem_descriptor =
      getDescriptor().getMessageTypes().get(2);
    internal_static_CSOEconItem_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_CSOEconItem_descriptor,
        new java.lang.String[] { "Id", "AccountId", "Inventory", "DefIndex", "Quantity", "Level", "Quality", "Flags", "Origin", "Attribute", "InteriorItem", "InUse", "Style", "OriginalId", "EquippedState", });
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy