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

POGOProtos.Inventory.RaidTicketOuterClass Maven / Gradle / Ivy

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

package POGOProtos.Inventory;

public final class RaidTicketOuterClass {
  private RaidTicketOuterClass() {}
  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 RaidTicketOrBuilder extends
      // @@protoc_insertion_point(interface_extends:POGOProtos.Inventory.RaidTicket)
      com.google.protobuf.MessageOrBuilder {

    /**
     * string ticket_id = 1;
     */
    java.lang.String getTicketId();
    /**
     * string ticket_id = 1;
     */
    com.google.protobuf.ByteString
        getTicketIdBytes();

    /**
     * .POGOProtos.Inventory.Item.ItemId item = 2;
     */
    int getItemValue();
    /**
     * .POGOProtos.Inventory.Item.ItemId item = 2;
     */
    POGOProtos.Inventory.Item.ItemIdOuterClass.ItemId getItem();

    /**
     * .POGOProtos.Inventory.ExclusiveTicketInfo exclusive_info = 4;
     */
    boolean hasExclusiveInfo();
    /**
     * .POGOProtos.Inventory.ExclusiveTicketInfo exclusive_info = 4;
     */
    POGOProtos.Inventory.ExclusiveTicketInfoOuterClass.ExclusiveTicketInfo getExclusiveInfo();
    /**
     * .POGOProtos.Inventory.ExclusiveTicketInfo exclusive_info = 4;
     */
    POGOProtos.Inventory.ExclusiveTicketInfoOuterClass.ExclusiveTicketInfoOrBuilder getExclusiveInfoOrBuilder();
  }
  /**
   * Protobuf type {@code POGOProtos.Inventory.RaidTicket}
   */
  public  static final class RaidTicket extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:POGOProtos.Inventory.RaidTicket)
      RaidTicketOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use RaidTicket.newBuilder() to construct.
    private RaidTicket(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private RaidTicket() {
      ticketId_ = "";
      item_ = 0;
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private RaidTicket(
        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 10: {
              java.lang.String s = input.readStringRequireUtf8();

              ticketId_ = s;
              break;
            }
            case 16: {
              int rawValue = input.readEnum();

              item_ = rawValue;
              break;
            }
            case 34: {
              POGOProtos.Inventory.ExclusiveTicketInfoOuterClass.ExclusiveTicketInfo.Builder subBuilder = null;
              if (exclusiveInfo_ != null) {
                subBuilder = exclusiveInfo_.toBuilder();
              }
              exclusiveInfo_ = input.readMessage(POGOProtos.Inventory.ExclusiveTicketInfoOuterClass.ExclusiveTicketInfo.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(exclusiveInfo_);
                exclusiveInfo_ = subBuilder.buildPartial();
              }

              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.RaidTicketOuterClass.internal_static_POGOProtos_Inventory_RaidTicket_descriptor;
    }

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

    public static final int TICKET_ID_FIELD_NUMBER = 1;
    private volatile java.lang.Object ticketId_;
    /**
     * string ticket_id = 1;
     */
    public java.lang.String getTicketId() {
      java.lang.Object ref = ticketId_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        ticketId_ = s;
        return s;
      }
    }
    /**
     * string ticket_id = 1;
     */
    public com.google.protobuf.ByteString
        getTicketIdBytes() {
      java.lang.Object ref = ticketId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        ticketId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int ITEM_FIELD_NUMBER = 2;
    private int item_;
    /**
     * .POGOProtos.Inventory.Item.ItemId item = 2;
     */
    public int getItemValue() {
      return item_;
    }
    /**
     * .POGOProtos.Inventory.Item.ItemId item = 2;
     */
    public POGOProtos.Inventory.Item.ItemIdOuterClass.ItemId getItem() {
      @SuppressWarnings("deprecation")
      POGOProtos.Inventory.Item.ItemIdOuterClass.ItemId result = POGOProtos.Inventory.Item.ItemIdOuterClass.ItemId.valueOf(item_);
      return result == null ? POGOProtos.Inventory.Item.ItemIdOuterClass.ItemId.UNRECOGNIZED : result;
    }

    public static final int EXCLUSIVE_INFO_FIELD_NUMBER = 4;
    private POGOProtos.Inventory.ExclusiveTicketInfoOuterClass.ExclusiveTicketInfo exclusiveInfo_;
    /**
     * .POGOProtos.Inventory.ExclusiveTicketInfo exclusive_info = 4;
     */
    public boolean hasExclusiveInfo() {
      return exclusiveInfo_ != null;
    }
    /**
     * .POGOProtos.Inventory.ExclusiveTicketInfo exclusive_info = 4;
     */
    public POGOProtos.Inventory.ExclusiveTicketInfoOuterClass.ExclusiveTicketInfo getExclusiveInfo() {
      return exclusiveInfo_ == null ? POGOProtos.Inventory.ExclusiveTicketInfoOuterClass.ExclusiveTicketInfo.getDefaultInstance() : exclusiveInfo_;
    }
    /**
     * .POGOProtos.Inventory.ExclusiveTicketInfo exclusive_info = 4;
     */
    public POGOProtos.Inventory.ExclusiveTicketInfoOuterClass.ExclusiveTicketInfoOrBuilder getExclusiveInfoOrBuilder() {
      return getExclusiveInfo();
    }

    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 (!getTicketIdBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, ticketId_);
      }
      if (item_ != POGOProtos.Inventory.Item.ItemIdOuterClass.ItemId.ITEM_UNKNOWN.getNumber()) {
        output.writeEnum(2, item_);
      }
      if (exclusiveInfo_ != null) {
        output.writeMessage(4, getExclusiveInfo());
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (!getTicketIdBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, ticketId_);
      }
      if (item_ != POGOProtos.Inventory.Item.ItemIdOuterClass.ItemId.ITEM_UNKNOWN.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(2, item_);
      }
      if (exclusiveInfo_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(4, getExclusiveInfo());
      }
      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.RaidTicketOuterClass.RaidTicket)) {
        return super.equals(obj);
      }
      POGOProtos.Inventory.RaidTicketOuterClass.RaidTicket other = (POGOProtos.Inventory.RaidTicketOuterClass.RaidTicket) obj;

      boolean result = true;
      result = result && getTicketId()
          .equals(other.getTicketId());
      result = result && item_ == other.item_;
      result = result && (hasExclusiveInfo() == other.hasExclusiveInfo());
      if (hasExclusiveInfo()) {
        result = result && getExclusiveInfo()
            .equals(other.getExclusiveInfo());
      }
      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) + TICKET_ID_FIELD_NUMBER;
      hash = (53 * hash) + getTicketId().hashCode();
      hash = (37 * hash) + ITEM_FIELD_NUMBER;
      hash = (53 * hash) + item_;
      if (hasExclusiveInfo()) {
        hash = (37 * hash) + EXCLUSIVE_INFO_FIELD_NUMBER;
        hash = (53 * hash) + getExclusiveInfo().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static POGOProtos.Inventory.RaidTicketOuterClass.RaidTicket parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static POGOProtos.Inventory.RaidTicketOuterClass.RaidTicket parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static POGOProtos.Inventory.RaidTicketOuterClass.RaidTicket parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static POGOProtos.Inventory.RaidTicketOuterClass.RaidTicket 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.RaidTicketOuterClass.RaidTicket parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static POGOProtos.Inventory.RaidTicketOuterClass.RaidTicket parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static POGOProtos.Inventory.RaidTicketOuterClass.RaidTicket parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static POGOProtos.Inventory.RaidTicketOuterClass.RaidTicket 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.RaidTicketOuterClass.RaidTicket parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static POGOProtos.Inventory.RaidTicketOuterClass.RaidTicket 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.RaidTicketOuterClass.RaidTicket parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static POGOProtos.Inventory.RaidTicketOuterClass.RaidTicket 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.RaidTicketOuterClass.RaidTicket 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.RaidTicket}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:POGOProtos.Inventory.RaidTicket)
        POGOProtos.Inventory.RaidTicketOuterClass.RaidTicketOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return POGOProtos.Inventory.RaidTicketOuterClass.internal_static_POGOProtos_Inventory_RaidTicket_descriptor;
      }

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

      // Construct using POGOProtos.Inventory.RaidTicketOuterClass.RaidTicket.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();
        ticketId_ = "";

        item_ = 0;

        if (exclusiveInfoBuilder_ == null) {
          exclusiveInfo_ = null;
        } else {
          exclusiveInfo_ = null;
          exclusiveInfoBuilder_ = null;
        }
        return this;
      }

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

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

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

      @java.lang.Override
      public POGOProtos.Inventory.RaidTicketOuterClass.RaidTicket buildPartial() {
        POGOProtos.Inventory.RaidTicketOuterClass.RaidTicket result = new POGOProtos.Inventory.RaidTicketOuterClass.RaidTicket(this);
        result.ticketId_ = ticketId_;
        result.item_ = item_;
        if (exclusiveInfoBuilder_ == null) {
          result.exclusiveInfo_ = exclusiveInfo_;
        } else {
          result.exclusiveInfo_ = exclusiveInfoBuilder_.build();
        }
        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.RaidTicketOuterClass.RaidTicket) {
          return mergeFrom((POGOProtos.Inventory.RaidTicketOuterClass.RaidTicket)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(POGOProtos.Inventory.RaidTicketOuterClass.RaidTicket other) {
        if (other == POGOProtos.Inventory.RaidTicketOuterClass.RaidTicket.getDefaultInstance()) return this;
        if (!other.getTicketId().isEmpty()) {
          ticketId_ = other.ticketId_;
          onChanged();
        }
        if (other.item_ != 0) {
          setItemValue(other.getItemValue());
        }
        if (other.hasExclusiveInfo()) {
          mergeExclusiveInfo(other.getExclusiveInfo());
        }
        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.RaidTicketOuterClass.RaidTicket parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (POGOProtos.Inventory.RaidTicketOuterClass.RaidTicket) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private java.lang.Object ticketId_ = "";
      /**
       * string ticket_id = 1;
       */
      public java.lang.String getTicketId() {
        java.lang.Object ref = ticketId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          ticketId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string ticket_id = 1;
       */
      public com.google.protobuf.ByteString
          getTicketIdBytes() {
        java.lang.Object ref = ticketId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          ticketId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string ticket_id = 1;
       */
      public Builder setTicketId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        ticketId_ = value;
        onChanged();
        return this;
      }
      /**
       * string ticket_id = 1;
       */
      public Builder clearTicketId() {
        
        ticketId_ = getDefaultInstance().getTicketId();
        onChanged();
        return this;
      }
      /**
       * string ticket_id = 1;
       */
      public Builder setTicketIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        ticketId_ = value;
        onChanged();
        return this;
      }

      private int item_ = 0;
      /**
       * .POGOProtos.Inventory.Item.ItemId item = 2;
       */
      public int getItemValue() {
        return item_;
      }
      /**
       * .POGOProtos.Inventory.Item.ItemId item = 2;
       */
      public Builder setItemValue(int value) {
        item_ = value;
        onChanged();
        return this;
      }
      /**
       * .POGOProtos.Inventory.Item.ItemId item = 2;
       */
      public POGOProtos.Inventory.Item.ItemIdOuterClass.ItemId getItem() {
        @SuppressWarnings("deprecation")
        POGOProtos.Inventory.Item.ItemIdOuterClass.ItemId result = POGOProtos.Inventory.Item.ItemIdOuterClass.ItemId.valueOf(item_);
        return result == null ? POGOProtos.Inventory.Item.ItemIdOuterClass.ItemId.UNRECOGNIZED : result;
      }
      /**
       * .POGOProtos.Inventory.Item.ItemId item = 2;
       */
      public Builder setItem(POGOProtos.Inventory.Item.ItemIdOuterClass.ItemId value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        item_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * .POGOProtos.Inventory.Item.ItemId item = 2;
       */
      public Builder clearItem() {
        
        item_ = 0;
        onChanged();
        return this;
      }

      private POGOProtos.Inventory.ExclusiveTicketInfoOuterClass.ExclusiveTicketInfo exclusiveInfo_ = null;
      private com.google.protobuf.SingleFieldBuilderV3<
          POGOProtos.Inventory.ExclusiveTicketInfoOuterClass.ExclusiveTicketInfo, POGOProtos.Inventory.ExclusiveTicketInfoOuterClass.ExclusiveTicketInfo.Builder, POGOProtos.Inventory.ExclusiveTicketInfoOuterClass.ExclusiveTicketInfoOrBuilder> exclusiveInfoBuilder_;
      /**
       * .POGOProtos.Inventory.ExclusiveTicketInfo exclusive_info = 4;
       */
      public boolean hasExclusiveInfo() {
        return exclusiveInfoBuilder_ != null || exclusiveInfo_ != null;
      }
      /**
       * .POGOProtos.Inventory.ExclusiveTicketInfo exclusive_info = 4;
       */
      public POGOProtos.Inventory.ExclusiveTicketInfoOuterClass.ExclusiveTicketInfo getExclusiveInfo() {
        if (exclusiveInfoBuilder_ == null) {
          return exclusiveInfo_ == null ? POGOProtos.Inventory.ExclusiveTicketInfoOuterClass.ExclusiveTicketInfo.getDefaultInstance() : exclusiveInfo_;
        } else {
          return exclusiveInfoBuilder_.getMessage();
        }
      }
      /**
       * .POGOProtos.Inventory.ExclusiveTicketInfo exclusive_info = 4;
       */
      public Builder setExclusiveInfo(POGOProtos.Inventory.ExclusiveTicketInfoOuterClass.ExclusiveTicketInfo value) {
        if (exclusiveInfoBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          exclusiveInfo_ = value;
          onChanged();
        } else {
          exclusiveInfoBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .POGOProtos.Inventory.ExclusiveTicketInfo exclusive_info = 4;
       */
      public Builder setExclusiveInfo(
          POGOProtos.Inventory.ExclusiveTicketInfoOuterClass.ExclusiveTicketInfo.Builder builderForValue) {
        if (exclusiveInfoBuilder_ == null) {
          exclusiveInfo_ = builderForValue.build();
          onChanged();
        } else {
          exclusiveInfoBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .POGOProtos.Inventory.ExclusiveTicketInfo exclusive_info = 4;
       */
      public Builder mergeExclusiveInfo(POGOProtos.Inventory.ExclusiveTicketInfoOuterClass.ExclusiveTicketInfo value) {
        if (exclusiveInfoBuilder_ == null) {
          if (exclusiveInfo_ != null) {
            exclusiveInfo_ =
              POGOProtos.Inventory.ExclusiveTicketInfoOuterClass.ExclusiveTicketInfo.newBuilder(exclusiveInfo_).mergeFrom(value).buildPartial();
          } else {
            exclusiveInfo_ = value;
          }
          onChanged();
        } else {
          exclusiveInfoBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .POGOProtos.Inventory.ExclusiveTicketInfo exclusive_info = 4;
       */
      public Builder clearExclusiveInfo() {
        if (exclusiveInfoBuilder_ == null) {
          exclusiveInfo_ = null;
          onChanged();
        } else {
          exclusiveInfo_ = null;
          exclusiveInfoBuilder_ = null;
        }

        return this;
      }
      /**
       * .POGOProtos.Inventory.ExclusiveTicketInfo exclusive_info = 4;
       */
      public POGOProtos.Inventory.ExclusiveTicketInfoOuterClass.ExclusiveTicketInfo.Builder getExclusiveInfoBuilder() {
        
        onChanged();
        return getExclusiveInfoFieldBuilder().getBuilder();
      }
      /**
       * .POGOProtos.Inventory.ExclusiveTicketInfo exclusive_info = 4;
       */
      public POGOProtos.Inventory.ExclusiveTicketInfoOuterClass.ExclusiveTicketInfoOrBuilder getExclusiveInfoOrBuilder() {
        if (exclusiveInfoBuilder_ != null) {
          return exclusiveInfoBuilder_.getMessageOrBuilder();
        } else {
          return exclusiveInfo_ == null ?
              POGOProtos.Inventory.ExclusiveTicketInfoOuterClass.ExclusiveTicketInfo.getDefaultInstance() : exclusiveInfo_;
        }
      }
      /**
       * .POGOProtos.Inventory.ExclusiveTicketInfo exclusive_info = 4;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          POGOProtos.Inventory.ExclusiveTicketInfoOuterClass.ExclusiveTicketInfo, POGOProtos.Inventory.ExclusiveTicketInfoOuterClass.ExclusiveTicketInfo.Builder, POGOProtos.Inventory.ExclusiveTicketInfoOuterClass.ExclusiveTicketInfoOrBuilder> 
          getExclusiveInfoFieldBuilder() {
        if (exclusiveInfoBuilder_ == null) {
          exclusiveInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              POGOProtos.Inventory.ExclusiveTicketInfoOuterClass.ExclusiveTicketInfo, POGOProtos.Inventory.ExclusiveTicketInfoOuterClass.ExclusiveTicketInfo.Builder, POGOProtos.Inventory.ExclusiveTicketInfoOuterClass.ExclusiveTicketInfoOrBuilder>(
                  getExclusiveInfo(),
                  getParentForChildren(),
                  isClean());
          exclusiveInfo_ = null;
        }
        return exclusiveInfoBuilder_;
      }
      @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.RaidTicket)
    }

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

    public static POGOProtos.Inventory.RaidTicketOuterClass.RaidTicket getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public RaidTicket parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new RaidTicket(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.RaidTicketOuterClass.RaidTicket getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_POGOProtos_Inventory_RaidTicket_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_POGOProtos_Inventory_RaidTicket_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/RaidTicket.proto\022" +
      "\024POGOProtos.Inventory\032&POGOProtos/Invent" +
      "ory/Item/ItemId.proto\032.POGOProtos/Invent" +
      "ory/ExclusiveTicketInfo.proto\"\223\001\n\nRaidTi" +
      "cket\022\021\n\tticket_id\030\001 \001(\t\022/\n\004item\030\002 \001(\0162!." +
      "POGOProtos.Inventory.Item.ItemId\022A\n\016excl" +
      "usive_info\030\004 \001(\0132).POGOProtos.Inventory." +
      "ExclusiveTicketInfob\006proto3"
    };
    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.Item.ItemIdOuterClass.getDescriptor(),
          POGOProtos.Inventory.ExclusiveTicketInfoOuterClass.getDescriptor(),
        }, assigner);
    internal_static_POGOProtos_Inventory_RaidTicket_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_POGOProtos_Inventory_RaidTicket_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_POGOProtos_Inventory_RaidTicket_descriptor,
        new java.lang.String[] { "TicketId", "Item", "ExclusiveInfo", });
    POGOProtos.Inventory.Item.ItemIdOuterClass.getDescriptor();
    POGOProtos.Inventory.ExclusiveTicketInfoOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy