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

POGOProtos.Inventory.InventoryItemOuterClass Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: POGOProtos/Inventory/InventoryItem.proto

package POGOProtos.Inventory;

public final class InventoryItemOuterClass {
  private InventoryItemOuterClass() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface InventoryItemOrBuilder extends
      // @@protoc_insertion_point(interface_extends:POGOProtos.Inventory.InventoryItem)
      com.google.protobuf.MessageOrBuilder {

    /**
     * int64 modified_timestamp_ms = 1;
     */
    long getModifiedTimestampMs();

    /**
     * .POGOProtos.Inventory.InventoryItem.DeletedItem deleted_item = 2;
     */
    boolean hasDeletedItem();
    /**
     * .POGOProtos.Inventory.InventoryItem.DeletedItem deleted_item = 2;
     */
    POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem getDeletedItem();
    /**
     * .POGOProtos.Inventory.InventoryItem.DeletedItem deleted_item = 2;
     */
    POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItemOrBuilder getDeletedItemOrBuilder();

    /**
     * .POGOProtos.Inventory.InventoryItemData inventory_item_data = 3;
     */
    boolean hasInventoryItemData();
    /**
     * .POGOProtos.Inventory.InventoryItemData inventory_item_data = 3;
     */
    POGOProtos.Inventory.InventoryItemDataOuterClass.InventoryItemData getInventoryItemData();
    /**
     * .POGOProtos.Inventory.InventoryItemData inventory_item_data = 3;
     */
    POGOProtos.Inventory.InventoryItemDataOuterClass.InventoryItemDataOrBuilder getInventoryItemDataOrBuilder();

    public POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.InventoryItemCase getInventoryItemCase();
  }
  /**
   * Protobuf type {@code POGOProtos.Inventory.InventoryItem}
   */
  public  static final class InventoryItem extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:POGOProtos.Inventory.InventoryItem)
      InventoryItemOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use InventoryItem.newBuilder() to construct.
    private InventoryItem(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private InventoryItem() {
      modifiedTimestampMs_ = 0L;
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private InventoryItem(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 8: {

              modifiedTimestampMs_ = input.readInt64();
              break;
            }
            case 18: {
              POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem.Builder subBuilder = null;
              if (inventoryItemCase_ == 2) {
                subBuilder = ((POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem) inventoryItem_).toBuilder();
              }
              inventoryItem_ =
                  input.readMessage(POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem) inventoryItem_);
                inventoryItem_ = subBuilder.buildPartial();
              }
              inventoryItemCase_ = 2;
              break;
            }
            case 26: {
              POGOProtos.Inventory.InventoryItemDataOuterClass.InventoryItemData.Builder subBuilder = null;
              if (inventoryItemCase_ == 3) {
                subBuilder = ((POGOProtos.Inventory.InventoryItemDataOuterClass.InventoryItemData) inventoryItem_).toBuilder();
              }
              inventoryItem_ =
                  input.readMessage(POGOProtos.Inventory.InventoryItemDataOuterClass.InventoryItemData.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((POGOProtos.Inventory.InventoryItemDataOuterClass.InventoryItemData) inventoryItem_);
                inventoryItem_ = subBuilder.buildPartial();
              }
              inventoryItemCase_ = 3;
              break;
            }
            default: {
              if (!parseUnknownFieldProto3(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return POGOProtos.Inventory.InventoryItemOuterClass.internal_static_POGOProtos_Inventory_InventoryItem_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return POGOProtos.Inventory.InventoryItemOuterClass.internal_static_POGOProtos_Inventory_InventoryItem_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.class, POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.Builder.class);
    }

    public interface DeletedItemOrBuilder extends
        // @@protoc_insertion_point(interface_extends:POGOProtos.Inventory.InventoryItem.DeletedItem)
        com.google.protobuf.MessageOrBuilder {

      /**
       * fixed64 pokemon_id = 1;
       */
      long getPokemonId();
    }
    /**
     * Protobuf type {@code POGOProtos.Inventory.InventoryItem.DeletedItem}
     */
    public  static final class DeletedItem extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:POGOProtos.Inventory.InventoryItem.DeletedItem)
        DeletedItemOrBuilder {
    private static final long serialVersionUID = 0L;
      // Use DeletedItem.newBuilder() to construct.
      private DeletedItem(com.google.protobuf.GeneratedMessageV3.Builder builder) {
        super(builder);
      }
      private DeletedItem() {
        pokemonId_ = 0L;
      }

      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet
      getUnknownFields() {
        return this.unknownFields;
      }
      private DeletedItem(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        this();
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        int mutable_bitField0_ = 0;
        com.google.protobuf.UnknownFieldSet.Builder unknownFields =
            com.google.protobuf.UnknownFieldSet.newBuilder();
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              case 9: {

                pokemonId_ = input.readFixed64();
                break;
              }
              default: {
                if (!parseUnknownFieldProto3(
                    input, unknownFields, extensionRegistry, tag)) {
                  done = true;
                }
                break;
              }
            }
          }
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.setUnfinishedMessage(this);
        } catch (java.io.IOException e) {
          throw new com.google.protobuf.InvalidProtocolBufferException(
              e).setUnfinishedMessage(this);
        } finally {
          this.unknownFields = unknownFields.build();
          makeExtensionsImmutable();
        }
      }
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return POGOProtos.Inventory.InventoryItemOuterClass.internal_static_POGOProtos_Inventory_InventoryItem_DeletedItem_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return POGOProtos.Inventory.InventoryItemOuterClass.internal_static_POGOProtos_Inventory_InventoryItem_DeletedItem_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem.class, POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem.Builder.class);
      }

      public static final int POKEMON_ID_FIELD_NUMBER = 1;
      private long pokemonId_;
      /**
       * fixed64 pokemon_id = 1;
       */
      public long getPokemonId() {
        return pokemonId_;
      }

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

        memoizedIsInitialized = 1;
        return true;
      }

      @java.lang.Override
      public void writeTo(com.google.protobuf.CodedOutputStream output)
                          throws java.io.IOException {
        if (pokemonId_ != 0L) {
          output.writeFixed64(1, pokemonId_);
        }
        unknownFields.writeTo(output);
      }

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

        size = 0;
        if (pokemonId_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeFixed64Size(1, pokemonId_);
        }
        size += unknownFields.getSerializedSize();
        memoizedSize = size;
        return size;
      }

      @java.lang.Override
      public boolean equals(final java.lang.Object obj) {
        if (obj == this) {
         return true;
        }
        if (!(obj instanceof POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem)) {
          return super.equals(obj);
        }
        POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem other = (POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem) obj;

        boolean result = true;
        result = result && (getPokemonId()
            == other.getPokemonId());
        result = result && unknownFields.equals(other.unknownFields);
        return result;
      }

      @java.lang.Override
      public int hashCode() {
        if (memoizedHashCode != 0) {
          return memoizedHashCode;
        }
        int hash = 41;
        hash = (19 * hash) + getDescriptor().hashCode();
        hash = (37 * hash) + POKEMON_ID_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getPokemonId());
        hash = (29 * hash) + unknownFields.hashCode();
        memoizedHashCode = hash;
        return hash;
      }

      public static POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem parseFrom(
          java.nio.ByteBuffer data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem parseFrom(
          java.nio.ByteBuffer data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem parseFrom(
          com.google.protobuf.ByteString data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem parseFrom(
          byte[] data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem parseFrom(
          java.io.InputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input, extensionRegistry);
      }
      public static POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseDelimitedWithIOException(PARSER, input);
      }
      public static POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem parseDelimitedFrom(
          java.io.InputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
      }
      public static POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem parseFrom(
          com.google.protobuf.CodedInputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem parseFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input, extensionRegistry);
      }

      @java.lang.Override
      public Builder newBuilderForType() { return newBuilder(); }
      public static Builder newBuilder() {
        return DEFAULT_INSTANCE.toBuilder();
      }
      public static Builder newBuilder(POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem prototype) {
        return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
      }
      @java.lang.Override
      public Builder toBuilder() {
        return this == DEFAULT_INSTANCE
            ? new Builder() : new Builder().mergeFrom(this);
      }

      @java.lang.Override
      protected Builder newBuilderForType(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        Builder builder = new Builder(parent);
        return builder;
      }
      /**
       * Protobuf type {@code POGOProtos.Inventory.InventoryItem.DeletedItem}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageV3.Builder implements
          // @@protoc_insertion_point(builder_implements:POGOProtos.Inventory.InventoryItem.DeletedItem)
          POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItemOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return POGOProtos.Inventory.InventoryItemOuterClass.internal_static_POGOProtos_Inventory_InventoryItem_DeletedItem_descriptor;
        }

        @java.lang.Override
        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return POGOProtos.Inventory.InventoryItemOuterClass.internal_static_POGOProtos_Inventory_InventoryItem_DeletedItem_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem.class, POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem.Builder.class);
        }

        // Construct using POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem.newBuilder()
        private Builder() {
          maybeForceBuilderInitialization();
        }

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

          return this;
        }

        @java.lang.Override
        public com.google.protobuf.Descriptors.Descriptor
            getDescriptorForType() {
          return POGOProtos.Inventory.InventoryItemOuterClass.internal_static_POGOProtos_Inventory_InventoryItem_DeletedItem_descriptor;
        }

        @java.lang.Override
        public POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem getDefaultInstanceForType() {
          return POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem.getDefaultInstance();
        }

        @java.lang.Override
        public POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem build() {
          POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }

        @java.lang.Override
        public POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem buildPartial() {
          POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem result = new POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem(this);
          result.pokemonId_ = pokemonId_;
          onBuilt();
          return result;
        }

        @java.lang.Override
        public Builder clone() {
          return (Builder) super.clone();
        }
        @java.lang.Override
        public Builder setField(
            com.google.protobuf.Descriptors.FieldDescriptor field,
            java.lang.Object value) {
          return (Builder) super.setField(field, value);
        }
        @java.lang.Override
        public Builder clearField(
            com.google.protobuf.Descriptors.FieldDescriptor field) {
          return (Builder) super.clearField(field);
        }
        @java.lang.Override
        public Builder clearOneof(
            com.google.protobuf.Descriptors.OneofDescriptor oneof) {
          return (Builder) super.clearOneof(oneof);
        }
        @java.lang.Override
        public Builder setRepeatedField(
            com.google.protobuf.Descriptors.FieldDescriptor field,
            int index, java.lang.Object value) {
          return (Builder) super.setRepeatedField(field, index, value);
        }
        @java.lang.Override
        public Builder addRepeatedField(
            com.google.protobuf.Descriptors.FieldDescriptor field,
            java.lang.Object value) {
          return (Builder) super.addRepeatedField(field, value);
        }
        @java.lang.Override
        public Builder mergeFrom(com.google.protobuf.Message other) {
          if (other instanceof POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem) {
            return mergeFrom((POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }

        public Builder mergeFrom(POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem other) {
          if (other == POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem.getDefaultInstance()) return this;
          if (other.getPokemonId() != 0L) {
            setPokemonId(other.getPokemonId());
          }
          this.mergeUnknownFields(other.unknownFields);
          onChanged();
          return this;
        }

        @java.lang.Override
        public final boolean isInitialized() {
          return true;
        }

        @java.lang.Override
        public Builder mergeFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
          POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem) e.getUnfinishedMessage();
            throw e.unwrapIOException();
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          return this;
        }

        private long pokemonId_ ;
        /**
         * fixed64 pokemon_id = 1;
         */
        public long getPokemonId() {
          return pokemonId_;
        }
        /**
         * fixed64 pokemon_id = 1;
         */
        public Builder setPokemonId(long value) {
          
          pokemonId_ = value;
          onChanged();
          return this;
        }
        /**
         * fixed64 pokemon_id = 1;
         */
        public Builder clearPokemonId() {
          
          pokemonId_ = 0L;
          onChanged();
          return this;
        }
        @java.lang.Override
        public final Builder setUnknownFields(
            final com.google.protobuf.UnknownFieldSet unknownFields) {
          return super.setUnknownFieldsProto3(unknownFields);
        }

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


        // @@protoc_insertion_point(builder_scope:POGOProtos.Inventory.InventoryItem.DeletedItem)
      }

      // @@protoc_insertion_point(class_scope:POGOProtos.Inventory.InventoryItem.DeletedItem)
      private static final POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem DEFAULT_INSTANCE;
      static {
        DEFAULT_INSTANCE = new POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem();
      }

      public static POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }

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

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

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

      @java.lang.Override
      public POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }

    }

    private int inventoryItemCase_ = 0;
    private java.lang.Object inventoryItem_;
    public enum InventoryItemCase
        implements com.google.protobuf.Internal.EnumLite {
      DELETED_ITEM(2),
      INVENTORY_ITEM_DATA(3),
      INVENTORYITEM_NOT_SET(0);
      private final int value;
      private InventoryItemCase(int value) {
        this.value = value;
      }
      /**
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static InventoryItemCase valueOf(int value) {
        return forNumber(value);
      }

      public static InventoryItemCase forNumber(int value) {
        switch (value) {
          case 2: return DELETED_ITEM;
          case 3: return INVENTORY_ITEM_DATA;
          case 0: return INVENTORYITEM_NOT_SET;
          default: return null;
        }
      }
      public int getNumber() {
        return this.value;
      }
    };

    public InventoryItemCase
    getInventoryItemCase() {
      return InventoryItemCase.forNumber(
          inventoryItemCase_);
    }

    public static final int MODIFIED_TIMESTAMP_MS_FIELD_NUMBER = 1;
    private long modifiedTimestampMs_;
    /**
     * int64 modified_timestamp_ms = 1;
     */
    public long getModifiedTimestampMs() {
      return modifiedTimestampMs_;
    }

    public static final int DELETED_ITEM_FIELD_NUMBER = 2;
    /**
     * .POGOProtos.Inventory.InventoryItem.DeletedItem deleted_item = 2;
     */
    public boolean hasDeletedItem() {
      return inventoryItemCase_ == 2;
    }
    /**
     * .POGOProtos.Inventory.InventoryItem.DeletedItem deleted_item = 2;
     */
    public POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem getDeletedItem() {
      if (inventoryItemCase_ == 2) {
         return (POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem) inventoryItem_;
      }
      return POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem.getDefaultInstance();
    }
    /**
     * .POGOProtos.Inventory.InventoryItem.DeletedItem deleted_item = 2;
     */
    public POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItemOrBuilder getDeletedItemOrBuilder() {
      if (inventoryItemCase_ == 2) {
         return (POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem) inventoryItem_;
      }
      return POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem.getDefaultInstance();
    }

    public static final int INVENTORY_ITEM_DATA_FIELD_NUMBER = 3;
    /**
     * .POGOProtos.Inventory.InventoryItemData inventory_item_data = 3;
     */
    public boolean hasInventoryItemData() {
      return inventoryItemCase_ == 3;
    }
    /**
     * .POGOProtos.Inventory.InventoryItemData inventory_item_data = 3;
     */
    public POGOProtos.Inventory.InventoryItemDataOuterClass.InventoryItemData getInventoryItemData() {
      if (inventoryItemCase_ == 3) {
         return (POGOProtos.Inventory.InventoryItemDataOuterClass.InventoryItemData) inventoryItem_;
      }
      return POGOProtos.Inventory.InventoryItemDataOuterClass.InventoryItemData.getDefaultInstance();
    }
    /**
     * .POGOProtos.Inventory.InventoryItemData inventory_item_data = 3;
     */
    public POGOProtos.Inventory.InventoryItemDataOuterClass.InventoryItemDataOrBuilder getInventoryItemDataOrBuilder() {
      if (inventoryItemCase_ == 3) {
         return (POGOProtos.Inventory.InventoryItemDataOuterClass.InventoryItemData) inventoryItem_;
      }
      return POGOProtos.Inventory.InventoryItemDataOuterClass.InventoryItemData.getDefaultInstance();
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (modifiedTimestampMs_ != 0L) {
        output.writeInt64(1, modifiedTimestampMs_);
      }
      if (inventoryItemCase_ == 2) {
        output.writeMessage(2, (POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem) inventoryItem_);
      }
      if (inventoryItemCase_ == 3) {
        output.writeMessage(3, (POGOProtos.Inventory.InventoryItemDataOuterClass.InventoryItemData) inventoryItem_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (modifiedTimestampMs_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(1, modifiedTimestampMs_);
      }
      if (inventoryItemCase_ == 2) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, (POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem) inventoryItem_);
      }
      if (inventoryItemCase_ == 3) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, (POGOProtos.Inventory.InventoryItemDataOuterClass.InventoryItemData) inventoryItem_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem)) {
        return super.equals(obj);
      }
      POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem other = (POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem) obj;

      boolean result = true;
      result = result && (getModifiedTimestampMs()
          == other.getModifiedTimestampMs());
      result = result && getInventoryItemCase().equals(
          other.getInventoryItemCase());
      if (!result) return false;
      switch (inventoryItemCase_) {
        case 2:
          result = result && getDeletedItem()
              .equals(other.getDeletedItem());
          break;
        case 3:
          result = result && getInventoryItemData()
              .equals(other.getInventoryItemData());
          break;
        case 0:
        default:
      }
      result = result && unknownFields.equals(other.unknownFields);
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + MODIFIED_TIMESTAMP_MS_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getModifiedTimestampMs());
      switch (inventoryItemCase_) {
        case 2:
          hash = (37 * hash) + DELETED_ITEM_FIELD_NUMBER;
          hash = (53 * hash) + getDeletedItem().hashCode();
          break;
        case 3:
          hash = (37 * hash) + INVENTORY_ITEM_DATA_FIELD_NUMBER;
          hash = (53 * hash) + getInventoryItemData().hashCode();
          break;
        case 0:
        default:
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code POGOProtos.Inventory.InventoryItem}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:POGOProtos.Inventory.InventoryItem)
        POGOProtos.Inventory.InventoryItemOuterClass.InventoryItemOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return POGOProtos.Inventory.InventoryItemOuterClass.internal_static_POGOProtos_Inventory_InventoryItem_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return POGOProtos.Inventory.InventoryItemOuterClass.internal_static_POGOProtos_Inventory_InventoryItem_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.class, POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.Builder.class);
      }

      // Construct using POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

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

        inventoryItemCase_ = 0;
        inventoryItem_ = null;
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return POGOProtos.Inventory.InventoryItemOuterClass.internal_static_POGOProtos_Inventory_InventoryItem_descriptor;
      }

      @java.lang.Override
      public POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem getDefaultInstanceForType() {
        return POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.getDefaultInstance();
      }

      @java.lang.Override
      public POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem build() {
        POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem buildPartial() {
        POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem result = new POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem(this);
        result.modifiedTimestampMs_ = modifiedTimestampMs_;
        if (inventoryItemCase_ == 2) {
          if (deletedItemBuilder_ == null) {
            result.inventoryItem_ = inventoryItem_;
          } else {
            result.inventoryItem_ = deletedItemBuilder_.build();
          }
        }
        if (inventoryItemCase_ == 3) {
          if (inventoryItemDataBuilder_ == null) {
            result.inventoryItem_ = inventoryItem_;
          } else {
            result.inventoryItem_ = inventoryItemDataBuilder_.build();
          }
        }
        result.inventoryItemCase_ = inventoryItemCase_;
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return (Builder) super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return (Builder) super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem) {
          return mergeFrom((POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem other) {
        if (other == POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.getDefaultInstance()) return this;
        if (other.getModifiedTimestampMs() != 0L) {
          setModifiedTimestampMs(other.getModifiedTimestampMs());
        }
        switch (other.getInventoryItemCase()) {
          case DELETED_ITEM: {
            mergeDeletedItem(other.getDeletedItem());
            break;
          }
          case INVENTORY_ITEM_DATA: {
            mergeInventoryItemData(other.getInventoryItemData());
            break;
          }
          case INVENTORYITEM_NOT_SET: {
            break;
          }
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int inventoryItemCase_ = 0;
      private java.lang.Object inventoryItem_;
      public InventoryItemCase
          getInventoryItemCase() {
        return InventoryItemCase.forNumber(
            inventoryItemCase_);
      }

      public Builder clearInventoryItem() {
        inventoryItemCase_ = 0;
        inventoryItem_ = null;
        onChanged();
        return this;
      }


      private long modifiedTimestampMs_ ;
      /**
       * int64 modified_timestamp_ms = 1;
       */
      public long getModifiedTimestampMs() {
        return modifiedTimestampMs_;
      }
      /**
       * int64 modified_timestamp_ms = 1;
       */
      public Builder setModifiedTimestampMs(long value) {
        
        modifiedTimestampMs_ = value;
        onChanged();
        return this;
      }
      /**
       * int64 modified_timestamp_ms = 1;
       */
      public Builder clearModifiedTimestampMs() {
        
        modifiedTimestampMs_ = 0L;
        onChanged();
        return this;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem, POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem.Builder, POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItemOrBuilder> deletedItemBuilder_;
      /**
       * .POGOProtos.Inventory.InventoryItem.DeletedItem deleted_item = 2;
       */
      public boolean hasDeletedItem() {
        return inventoryItemCase_ == 2;
      }
      /**
       * .POGOProtos.Inventory.InventoryItem.DeletedItem deleted_item = 2;
       */
      public POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem getDeletedItem() {
        if (deletedItemBuilder_ == null) {
          if (inventoryItemCase_ == 2) {
            return (POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem) inventoryItem_;
          }
          return POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem.getDefaultInstance();
        } else {
          if (inventoryItemCase_ == 2) {
            return deletedItemBuilder_.getMessage();
          }
          return POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem.getDefaultInstance();
        }
      }
      /**
       * .POGOProtos.Inventory.InventoryItem.DeletedItem deleted_item = 2;
       */
      public Builder setDeletedItem(POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem value) {
        if (deletedItemBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          inventoryItem_ = value;
          onChanged();
        } else {
          deletedItemBuilder_.setMessage(value);
        }
        inventoryItemCase_ = 2;
        return this;
      }
      /**
       * .POGOProtos.Inventory.InventoryItem.DeletedItem deleted_item = 2;
       */
      public Builder setDeletedItem(
          POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem.Builder builderForValue) {
        if (deletedItemBuilder_ == null) {
          inventoryItem_ = builderForValue.build();
          onChanged();
        } else {
          deletedItemBuilder_.setMessage(builderForValue.build());
        }
        inventoryItemCase_ = 2;
        return this;
      }
      /**
       * .POGOProtos.Inventory.InventoryItem.DeletedItem deleted_item = 2;
       */
      public Builder mergeDeletedItem(POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem value) {
        if (deletedItemBuilder_ == null) {
          if (inventoryItemCase_ == 2 &&
              inventoryItem_ != POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem.getDefaultInstance()) {
            inventoryItem_ = POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem.newBuilder((POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem) inventoryItem_)
                .mergeFrom(value).buildPartial();
          } else {
            inventoryItem_ = value;
          }
          onChanged();
        } else {
          if (inventoryItemCase_ == 2) {
            deletedItemBuilder_.mergeFrom(value);
          }
          deletedItemBuilder_.setMessage(value);
        }
        inventoryItemCase_ = 2;
        return this;
      }
      /**
       * .POGOProtos.Inventory.InventoryItem.DeletedItem deleted_item = 2;
       */
      public Builder clearDeletedItem() {
        if (deletedItemBuilder_ == null) {
          if (inventoryItemCase_ == 2) {
            inventoryItemCase_ = 0;
            inventoryItem_ = null;
            onChanged();
          }
        } else {
          if (inventoryItemCase_ == 2) {
            inventoryItemCase_ = 0;
            inventoryItem_ = null;
          }
          deletedItemBuilder_.clear();
        }
        return this;
      }
      /**
       * .POGOProtos.Inventory.InventoryItem.DeletedItem deleted_item = 2;
       */
      public POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem.Builder getDeletedItemBuilder() {
        return getDeletedItemFieldBuilder().getBuilder();
      }
      /**
       * .POGOProtos.Inventory.InventoryItem.DeletedItem deleted_item = 2;
       */
      public POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItemOrBuilder getDeletedItemOrBuilder() {
        if ((inventoryItemCase_ == 2) && (deletedItemBuilder_ != null)) {
          return deletedItemBuilder_.getMessageOrBuilder();
        } else {
          if (inventoryItemCase_ == 2) {
            return (POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem) inventoryItem_;
          }
          return POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem.getDefaultInstance();
        }
      }
      /**
       * .POGOProtos.Inventory.InventoryItem.DeletedItem deleted_item = 2;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem, POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem.Builder, POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItemOrBuilder> 
          getDeletedItemFieldBuilder() {
        if (deletedItemBuilder_ == null) {
          if (!(inventoryItemCase_ == 2)) {
            inventoryItem_ = POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem.getDefaultInstance();
          }
          deletedItemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem, POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem.Builder, POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItemOrBuilder>(
                  (POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem.DeletedItem) inventoryItem_,
                  getParentForChildren(),
                  isClean());
          inventoryItem_ = null;
        }
        inventoryItemCase_ = 2;
        onChanged();;
        return deletedItemBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          POGOProtos.Inventory.InventoryItemDataOuterClass.InventoryItemData, POGOProtos.Inventory.InventoryItemDataOuterClass.InventoryItemData.Builder, POGOProtos.Inventory.InventoryItemDataOuterClass.InventoryItemDataOrBuilder> inventoryItemDataBuilder_;
      /**
       * .POGOProtos.Inventory.InventoryItemData inventory_item_data = 3;
       */
      public boolean hasInventoryItemData() {
        return inventoryItemCase_ == 3;
      }
      /**
       * .POGOProtos.Inventory.InventoryItemData inventory_item_data = 3;
       */
      public POGOProtos.Inventory.InventoryItemDataOuterClass.InventoryItemData getInventoryItemData() {
        if (inventoryItemDataBuilder_ == null) {
          if (inventoryItemCase_ == 3) {
            return (POGOProtos.Inventory.InventoryItemDataOuterClass.InventoryItemData) inventoryItem_;
          }
          return POGOProtos.Inventory.InventoryItemDataOuterClass.InventoryItemData.getDefaultInstance();
        } else {
          if (inventoryItemCase_ == 3) {
            return inventoryItemDataBuilder_.getMessage();
          }
          return POGOProtos.Inventory.InventoryItemDataOuterClass.InventoryItemData.getDefaultInstance();
        }
      }
      /**
       * .POGOProtos.Inventory.InventoryItemData inventory_item_data = 3;
       */
      public Builder setInventoryItemData(POGOProtos.Inventory.InventoryItemDataOuterClass.InventoryItemData value) {
        if (inventoryItemDataBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          inventoryItem_ = value;
          onChanged();
        } else {
          inventoryItemDataBuilder_.setMessage(value);
        }
        inventoryItemCase_ = 3;
        return this;
      }
      /**
       * .POGOProtos.Inventory.InventoryItemData inventory_item_data = 3;
       */
      public Builder setInventoryItemData(
          POGOProtos.Inventory.InventoryItemDataOuterClass.InventoryItemData.Builder builderForValue) {
        if (inventoryItemDataBuilder_ == null) {
          inventoryItem_ = builderForValue.build();
          onChanged();
        } else {
          inventoryItemDataBuilder_.setMessage(builderForValue.build());
        }
        inventoryItemCase_ = 3;
        return this;
      }
      /**
       * .POGOProtos.Inventory.InventoryItemData inventory_item_data = 3;
       */
      public Builder mergeInventoryItemData(POGOProtos.Inventory.InventoryItemDataOuterClass.InventoryItemData value) {
        if (inventoryItemDataBuilder_ == null) {
          if (inventoryItemCase_ == 3 &&
              inventoryItem_ != POGOProtos.Inventory.InventoryItemDataOuterClass.InventoryItemData.getDefaultInstance()) {
            inventoryItem_ = POGOProtos.Inventory.InventoryItemDataOuterClass.InventoryItemData.newBuilder((POGOProtos.Inventory.InventoryItemDataOuterClass.InventoryItemData) inventoryItem_)
                .mergeFrom(value).buildPartial();
          } else {
            inventoryItem_ = value;
          }
          onChanged();
        } else {
          if (inventoryItemCase_ == 3) {
            inventoryItemDataBuilder_.mergeFrom(value);
          }
          inventoryItemDataBuilder_.setMessage(value);
        }
        inventoryItemCase_ = 3;
        return this;
      }
      /**
       * .POGOProtos.Inventory.InventoryItemData inventory_item_data = 3;
       */
      public Builder clearInventoryItemData() {
        if (inventoryItemDataBuilder_ == null) {
          if (inventoryItemCase_ == 3) {
            inventoryItemCase_ = 0;
            inventoryItem_ = null;
            onChanged();
          }
        } else {
          if (inventoryItemCase_ == 3) {
            inventoryItemCase_ = 0;
            inventoryItem_ = null;
          }
          inventoryItemDataBuilder_.clear();
        }
        return this;
      }
      /**
       * .POGOProtos.Inventory.InventoryItemData inventory_item_data = 3;
       */
      public POGOProtos.Inventory.InventoryItemDataOuterClass.InventoryItemData.Builder getInventoryItemDataBuilder() {
        return getInventoryItemDataFieldBuilder().getBuilder();
      }
      /**
       * .POGOProtos.Inventory.InventoryItemData inventory_item_data = 3;
       */
      public POGOProtos.Inventory.InventoryItemDataOuterClass.InventoryItemDataOrBuilder getInventoryItemDataOrBuilder() {
        if ((inventoryItemCase_ == 3) && (inventoryItemDataBuilder_ != null)) {
          return inventoryItemDataBuilder_.getMessageOrBuilder();
        } else {
          if (inventoryItemCase_ == 3) {
            return (POGOProtos.Inventory.InventoryItemDataOuterClass.InventoryItemData) inventoryItem_;
          }
          return POGOProtos.Inventory.InventoryItemDataOuterClass.InventoryItemData.getDefaultInstance();
        }
      }
      /**
       * .POGOProtos.Inventory.InventoryItemData inventory_item_data = 3;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          POGOProtos.Inventory.InventoryItemDataOuterClass.InventoryItemData, POGOProtos.Inventory.InventoryItemDataOuterClass.InventoryItemData.Builder, POGOProtos.Inventory.InventoryItemDataOuterClass.InventoryItemDataOrBuilder> 
          getInventoryItemDataFieldBuilder() {
        if (inventoryItemDataBuilder_ == null) {
          if (!(inventoryItemCase_ == 3)) {
            inventoryItem_ = POGOProtos.Inventory.InventoryItemDataOuterClass.InventoryItemData.getDefaultInstance();
          }
          inventoryItemDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              POGOProtos.Inventory.InventoryItemDataOuterClass.InventoryItemData, POGOProtos.Inventory.InventoryItemDataOuterClass.InventoryItemData.Builder, POGOProtos.Inventory.InventoryItemDataOuterClass.InventoryItemDataOrBuilder>(
                  (POGOProtos.Inventory.InventoryItemDataOuterClass.InventoryItemData) inventoryItem_,
                  getParentForChildren(),
                  isClean());
          inventoryItem_ = null;
        }
        inventoryItemCase_ = 3;
        onChanged();;
        return inventoryItemDataBuilder_;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFieldsProto3(unknownFields);
      }

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


      // @@protoc_insertion_point(builder_scope:POGOProtos.Inventory.InventoryItem)
    }

    // @@protoc_insertion_point(class_scope:POGOProtos.Inventory.InventoryItem)
    private static final POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem();
    }

    public static POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public POGOProtos.Inventory.InventoryItemOuterClass.InventoryItem getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_POGOProtos_Inventory_InventoryItem_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_POGOProtos_Inventory_InventoryItem_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_POGOProtos_Inventory_InventoryItem_DeletedItem_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_POGOProtos_Inventory_InventoryItem_DeletedItem_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(POGOProtos/Inventory/InventoryItem.pro" +
      "to\022\024POGOProtos.Inventory\032,POGOProtos/Inv" +
      "entory/InventoryItemData.proto\"\363\001\n\rInven" +
      "toryItem\022\035\n\025modified_timestamp_ms\030\001 \001(\003\022" +
      "G\n\014deleted_item\030\002 \001(\0132/.POGOProtos.Inven" +
      "tory.InventoryItem.DeletedItemH\000\022F\n\023inve" +
      "ntory_item_data\030\003 \001(\0132\'.POGOProtos.Inven" +
      "tory.InventoryItemDataH\000\032!\n\013DeletedItem\022" +
      "\022\n\npokemon_id\030\001 \001(\006B\017\n\rInventoryItemb\006pr" +
      "oto3"
    };
    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[] {
          POGOProtos.Inventory.InventoryItemDataOuterClass.getDescriptor(),
        }, assigner);
    internal_static_POGOProtos_Inventory_InventoryItem_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_POGOProtos_Inventory_InventoryItem_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_POGOProtos_Inventory_InventoryItem_descriptor,
        new java.lang.String[] { "ModifiedTimestampMs", "DeletedItem", "InventoryItemData", "InventoryItem", });
    internal_static_POGOProtos_Inventory_InventoryItem_DeletedItem_descriptor =
      internal_static_POGOProtos_Inventory_InventoryItem_descriptor.getNestedTypes().get(0);
    internal_static_POGOProtos_Inventory_InventoryItem_DeletedItem_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_POGOProtos_Inventory_InventoryItem_DeletedItem_descriptor,
        new java.lang.String[] { "PokemonId", });
    POGOProtos.Inventory.InventoryItemDataOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy