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

POGOProtos.Data.Logs.CompleteQuestStampCardLogEntryOuterClass Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: POGOProtos/Data/Logs/CompleteQuestStampCardLogEntry.proto

package POGOProtos.Data.Logs;

public final class CompleteQuestStampCardLogEntryOuterClass {
  private CompleteQuestStampCardLogEntryOuterClass() {}
  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 CompleteQuestStampCardLogEntryOrBuilder extends
      // @@protoc_insertion_point(interface_extends:POGOProtos.Data.Logs.CompleteQuestStampCardLogEntry)
      com.google.protobuf.MessageOrBuilder {

    /**
     * .POGOProtos.Data.Logs.CompleteQuestStampCardLogEntry.Result result = 1;
     */
    int getResultValue();
    /**
     * .POGOProtos.Data.Logs.CompleteQuestStampCardLogEntry.Result result = 1;
     */
    POGOProtos.Data.Logs.CompleteQuestStampCardLogEntryOuterClass.CompleteQuestStampCardLogEntry.Result getResult();

    /**
     * repeated .POGOProtos.Data.Quests.QuestReward reward = 2;
     */
    java.util.List 
        getRewardList();
    /**
     * repeated .POGOProtos.Data.Quests.QuestReward reward = 2;
     */
    POGOProtos.Data.Quests.QuestRewardOuterClass.QuestReward getReward(int index);
    /**
     * repeated .POGOProtos.Data.Quests.QuestReward reward = 2;
     */
    int getRewardCount();
    /**
     * repeated .POGOProtos.Data.Quests.QuestReward reward = 2;
     */
    java.util.List 
        getRewardOrBuilderList();
    /**
     * repeated .POGOProtos.Data.Quests.QuestReward reward = 2;
     */
    POGOProtos.Data.Quests.QuestRewardOuterClass.QuestRewardOrBuilder getRewardOrBuilder(
        int index);
  }
  /**
   * Protobuf type {@code POGOProtos.Data.Logs.CompleteQuestStampCardLogEntry}
   */
  public  static final class CompleteQuestStampCardLogEntry extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:POGOProtos.Data.Logs.CompleteQuestStampCardLogEntry)
      CompleteQuestStampCardLogEntryOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use CompleteQuestStampCardLogEntry.newBuilder() to construct.
    private CompleteQuestStampCardLogEntry(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private CompleteQuestStampCardLogEntry() {
      result_ = 0;
      reward_ = java.util.Collections.emptyList();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private CompleteQuestStampCardLogEntry(
        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: {
              int rawValue = input.readEnum();

              result_ = rawValue;
              break;
            }
            case 18: {
              if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
                reward_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000002;
              }
              reward_.add(
                  input.readMessage(POGOProtos.Data.Quests.QuestRewardOuterClass.QuestReward.parser(), extensionRegistry));
              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 {
        if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
          reward_ = java.util.Collections.unmodifiableList(reward_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return POGOProtos.Data.Logs.CompleteQuestStampCardLogEntryOuterClass.internal_static_POGOProtos_Data_Logs_CompleteQuestStampCardLogEntry_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return POGOProtos.Data.Logs.CompleteQuestStampCardLogEntryOuterClass.internal_static_POGOProtos_Data_Logs_CompleteQuestStampCardLogEntry_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              POGOProtos.Data.Logs.CompleteQuestStampCardLogEntryOuterClass.CompleteQuestStampCardLogEntry.class, POGOProtos.Data.Logs.CompleteQuestStampCardLogEntryOuterClass.CompleteQuestStampCardLogEntry.Builder.class);
    }

    /**
     * Protobuf enum {@code POGOProtos.Data.Logs.CompleteQuestStampCardLogEntry.Result}
     */
    public enum Result
        implements com.google.protobuf.ProtocolMessageEnum {
      /**
       * UNSET = 0;
       */
      UNSET(0),
      /**
       * SUCCESS = 1;
       */
      SUCCESS(1),
      UNRECOGNIZED(-1),
      ;

      /**
       * UNSET = 0;
       */
      public static final int UNSET_VALUE = 0;
      /**
       * SUCCESS = 1;
       */
      public static final int SUCCESS_VALUE = 1;


      public final int getNumber() {
        if (this == UNRECOGNIZED) {
          throw new java.lang.IllegalArgumentException(
              "Can't get the number of an unknown enum value.");
        }
        return value;
      }

      /**
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static Result valueOf(int value) {
        return forNumber(value);
      }

      public static Result forNumber(int value) {
        switch (value) {
          case 0: return UNSET;
          case 1: return SUCCESS;
          default: return null;
        }
      }

      public static com.google.protobuf.Internal.EnumLiteMap
          internalGetValueMap() {
        return internalValueMap;
      }
      private static final com.google.protobuf.Internal.EnumLiteMap<
          Result> internalValueMap =
            new com.google.protobuf.Internal.EnumLiteMap() {
              public Result findValueByNumber(int number) {
                return Result.forNumber(number);
              }
            };

      public final com.google.protobuf.Descriptors.EnumValueDescriptor
          getValueDescriptor() {
        return getDescriptor().getValues().get(ordinal());
      }
      public final com.google.protobuf.Descriptors.EnumDescriptor
          getDescriptorForType() {
        return getDescriptor();
      }
      public static final com.google.protobuf.Descriptors.EnumDescriptor
          getDescriptor() {
        return POGOProtos.Data.Logs.CompleteQuestStampCardLogEntryOuterClass.CompleteQuestStampCardLogEntry.getDescriptor().getEnumTypes().get(0);
      }

      private static final Result[] VALUES = values();

      public static Result valueOf(
          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
        if (desc.getType() != getDescriptor()) {
          throw new java.lang.IllegalArgumentException(
            "EnumValueDescriptor is not for this type.");
        }
        if (desc.getIndex() == -1) {
          return UNRECOGNIZED;
        }
        return VALUES[desc.getIndex()];
      }

      private final int value;

      private Result(int value) {
        this.value = value;
      }

      // @@protoc_insertion_point(enum_scope:POGOProtos.Data.Logs.CompleteQuestStampCardLogEntry.Result)
    }

    private int bitField0_;
    public static final int RESULT_FIELD_NUMBER = 1;
    private int result_;
    /**
     * .POGOProtos.Data.Logs.CompleteQuestStampCardLogEntry.Result result = 1;
     */
    public int getResultValue() {
      return result_;
    }
    /**
     * .POGOProtos.Data.Logs.CompleteQuestStampCardLogEntry.Result result = 1;
     */
    public POGOProtos.Data.Logs.CompleteQuestStampCardLogEntryOuterClass.CompleteQuestStampCardLogEntry.Result getResult() {
      @SuppressWarnings("deprecation")
      POGOProtos.Data.Logs.CompleteQuestStampCardLogEntryOuterClass.CompleteQuestStampCardLogEntry.Result result = POGOProtos.Data.Logs.CompleteQuestStampCardLogEntryOuterClass.CompleteQuestStampCardLogEntry.Result.valueOf(result_);
      return result == null ? POGOProtos.Data.Logs.CompleteQuestStampCardLogEntryOuterClass.CompleteQuestStampCardLogEntry.Result.UNRECOGNIZED : result;
    }

    public static final int REWARD_FIELD_NUMBER = 2;
    private java.util.List reward_;
    /**
     * repeated .POGOProtos.Data.Quests.QuestReward reward = 2;
     */
    public java.util.List getRewardList() {
      return reward_;
    }
    /**
     * repeated .POGOProtos.Data.Quests.QuestReward reward = 2;
     */
    public java.util.List 
        getRewardOrBuilderList() {
      return reward_;
    }
    /**
     * repeated .POGOProtos.Data.Quests.QuestReward reward = 2;
     */
    public int getRewardCount() {
      return reward_.size();
    }
    /**
     * repeated .POGOProtos.Data.Quests.QuestReward reward = 2;
     */
    public POGOProtos.Data.Quests.QuestRewardOuterClass.QuestReward getReward(int index) {
      return reward_.get(index);
    }
    /**
     * repeated .POGOProtos.Data.Quests.QuestReward reward = 2;
     */
    public POGOProtos.Data.Quests.QuestRewardOuterClass.QuestRewardOrBuilder getRewardOrBuilder(
        int index) {
      return reward_.get(index);
    }

    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 (result_ != POGOProtos.Data.Logs.CompleteQuestStampCardLogEntryOuterClass.CompleteQuestStampCardLogEntry.Result.UNSET.getNumber()) {
        output.writeEnum(1, result_);
      }
      for (int i = 0; i < reward_.size(); i++) {
        output.writeMessage(2, reward_.get(i));
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (result_ != POGOProtos.Data.Logs.CompleteQuestStampCardLogEntryOuterClass.CompleteQuestStampCardLogEntry.Result.UNSET.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(1, result_);
      }
      for (int i = 0; i < reward_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, reward_.get(i));
      }
      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.Data.Logs.CompleteQuestStampCardLogEntryOuterClass.CompleteQuestStampCardLogEntry)) {
        return super.equals(obj);
      }
      POGOProtos.Data.Logs.CompleteQuestStampCardLogEntryOuterClass.CompleteQuestStampCardLogEntry other = (POGOProtos.Data.Logs.CompleteQuestStampCardLogEntryOuterClass.CompleteQuestStampCardLogEntry) obj;

      boolean result = true;
      result = result && result_ == other.result_;
      result = result && getRewardList()
          .equals(other.getRewardList());
      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) + RESULT_FIELD_NUMBER;
      hash = (53 * hash) + result_;
      if (getRewardCount() > 0) {
        hash = (37 * hash) + REWARD_FIELD_NUMBER;
        hash = (53 * hash) + getRewardList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return POGOProtos.Data.Logs.CompleteQuestStampCardLogEntryOuterClass.internal_static_POGOProtos_Data_Logs_CompleteQuestStampCardLogEntry_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                POGOProtos.Data.Logs.CompleteQuestStampCardLogEntryOuterClass.CompleteQuestStampCardLogEntry.class, POGOProtos.Data.Logs.CompleteQuestStampCardLogEntryOuterClass.CompleteQuestStampCardLogEntry.Builder.class);
      }

      // Construct using POGOProtos.Data.Logs.CompleteQuestStampCardLogEntryOuterClass.CompleteQuestStampCardLogEntry.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

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

        if (rewardBuilder_ == null) {
          reward_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
        } else {
          rewardBuilder_.clear();
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return POGOProtos.Data.Logs.CompleteQuestStampCardLogEntryOuterClass.internal_static_POGOProtos_Data_Logs_CompleteQuestStampCardLogEntry_descriptor;
      }

      @java.lang.Override
      public POGOProtos.Data.Logs.CompleteQuestStampCardLogEntryOuterClass.CompleteQuestStampCardLogEntry getDefaultInstanceForType() {
        return POGOProtos.Data.Logs.CompleteQuestStampCardLogEntryOuterClass.CompleteQuestStampCardLogEntry.getDefaultInstance();
      }

      @java.lang.Override
      public POGOProtos.Data.Logs.CompleteQuestStampCardLogEntryOuterClass.CompleteQuestStampCardLogEntry build() {
        POGOProtos.Data.Logs.CompleteQuestStampCardLogEntryOuterClass.CompleteQuestStampCardLogEntry result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public POGOProtos.Data.Logs.CompleteQuestStampCardLogEntryOuterClass.CompleteQuestStampCardLogEntry buildPartial() {
        POGOProtos.Data.Logs.CompleteQuestStampCardLogEntryOuterClass.CompleteQuestStampCardLogEntry result = new POGOProtos.Data.Logs.CompleteQuestStampCardLogEntryOuterClass.CompleteQuestStampCardLogEntry(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        result.result_ = result_;
        if (rewardBuilder_ == null) {
          if (((bitField0_ & 0x00000002) == 0x00000002)) {
            reward_ = java.util.Collections.unmodifiableList(reward_);
            bitField0_ = (bitField0_ & ~0x00000002);
          }
          result.reward_ = reward_;
        } else {
          result.reward_ = rewardBuilder_.build();
        }
        result.bitField0_ = to_bitField0_;
        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.Data.Logs.CompleteQuestStampCardLogEntryOuterClass.CompleteQuestStampCardLogEntry) {
          return mergeFrom((POGOProtos.Data.Logs.CompleteQuestStampCardLogEntryOuterClass.CompleteQuestStampCardLogEntry)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(POGOProtos.Data.Logs.CompleteQuestStampCardLogEntryOuterClass.CompleteQuestStampCardLogEntry other) {
        if (other == POGOProtos.Data.Logs.CompleteQuestStampCardLogEntryOuterClass.CompleteQuestStampCardLogEntry.getDefaultInstance()) return this;
        if (other.result_ != 0) {
          setResultValue(other.getResultValue());
        }
        if (rewardBuilder_ == null) {
          if (!other.reward_.isEmpty()) {
            if (reward_.isEmpty()) {
              reward_ = other.reward_;
              bitField0_ = (bitField0_ & ~0x00000002);
            } else {
              ensureRewardIsMutable();
              reward_.addAll(other.reward_);
            }
            onChanged();
          }
        } else {
          if (!other.reward_.isEmpty()) {
            if (rewardBuilder_.isEmpty()) {
              rewardBuilder_.dispose();
              rewardBuilder_ = null;
              reward_ = other.reward_;
              bitField0_ = (bitField0_ & ~0x00000002);
              rewardBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getRewardFieldBuilder() : null;
            } else {
              rewardBuilder_.addAllMessages(other.reward_);
            }
          }
        }
        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.Data.Logs.CompleteQuestStampCardLogEntryOuterClass.CompleteQuestStampCardLogEntry parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (POGOProtos.Data.Logs.CompleteQuestStampCardLogEntryOuterClass.CompleteQuestStampCardLogEntry) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private int result_ = 0;
      /**
       * .POGOProtos.Data.Logs.CompleteQuestStampCardLogEntry.Result result = 1;
       */
      public int getResultValue() {
        return result_;
      }
      /**
       * .POGOProtos.Data.Logs.CompleteQuestStampCardLogEntry.Result result = 1;
       */
      public Builder setResultValue(int value) {
        result_ = value;
        onChanged();
        return this;
      }
      /**
       * .POGOProtos.Data.Logs.CompleteQuestStampCardLogEntry.Result result = 1;
       */
      public POGOProtos.Data.Logs.CompleteQuestStampCardLogEntryOuterClass.CompleteQuestStampCardLogEntry.Result getResult() {
        @SuppressWarnings("deprecation")
        POGOProtos.Data.Logs.CompleteQuestStampCardLogEntryOuterClass.CompleteQuestStampCardLogEntry.Result result = POGOProtos.Data.Logs.CompleteQuestStampCardLogEntryOuterClass.CompleteQuestStampCardLogEntry.Result.valueOf(result_);
        return result == null ? POGOProtos.Data.Logs.CompleteQuestStampCardLogEntryOuterClass.CompleteQuestStampCardLogEntry.Result.UNRECOGNIZED : result;
      }
      /**
       * .POGOProtos.Data.Logs.CompleteQuestStampCardLogEntry.Result result = 1;
       */
      public Builder setResult(POGOProtos.Data.Logs.CompleteQuestStampCardLogEntryOuterClass.CompleteQuestStampCardLogEntry.Result value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        result_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * .POGOProtos.Data.Logs.CompleteQuestStampCardLogEntry.Result result = 1;
       */
      public Builder clearResult() {
        
        result_ = 0;
        onChanged();
        return this;
      }

      private java.util.List reward_ =
        java.util.Collections.emptyList();
      private void ensureRewardIsMutable() {
        if (!((bitField0_ & 0x00000002) == 0x00000002)) {
          reward_ = new java.util.ArrayList(reward_);
          bitField0_ |= 0x00000002;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          POGOProtos.Data.Quests.QuestRewardOuterClass.QuestReward, POGOProtos.Data.Quests.QuestRewardOuterClass.QuestReward.Builder, POGOProtos.Data.Quests.QuestRewardOuterClass.QuestRewardOrBuilder> rewardBuilder_;

      /**
       * repeated .POGOProtos.Data.Quests.QuestReward reward = 2;
       */
      public java.util.List getRewardList() {
        if (rewardBuilder_ == null) {
          return java.util.Collections.unmodifiableList(reward_);
        } else {
          return rewardBuilder_.getMessageList();
        }
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestReward reward = 2;
       */
      public int getRewardCount() {
        if (rewardBuilder_ == null) {
          return reward_.size();
        } else {
          return rewardBuilder_.getCount();
        }
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestReward reward = 2;
       */
      public POGOProtos.Data.Quests.QuestRewardOuterClass.QuestReward getReward(int index) {
        if (rewardBuilder_ == null) {
          return reward_.get(index);
        } else {
          return rewardBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestReward reward = 2;
       */
      public Builder setReward(
          int index, POGOProtos.Data.Quests.QuestRewardOuterClass.QuestReward value) {
        if (rewardBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureRewardIsMutable();
          reward_.set(index, value);
          onChanged();
        } else {
          rewardBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestReward reward = 2;
       */
      public Builder setReward(
          int index, POGOProtos.Data.Quests.QuestRewardOuterClass.QuestReward.Builder builderForValue) {
        if (rewardBuilder_ == null) {
          ensureRewardIsMutable();
          reward_.set(index, builderForValue.build());
          onChanged();
        } else {
          rewardBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestReward reward = 2;
       */
      public Builder addReward(POGOProtos.Data.Quests.QuestRewardOuterClass.QuestReward value) {
        if (rewardBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureRewardIsMutable();
          reward_.add(value);
          onChanged();
        } else {
          rewardBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestReward reward = 2;
       */
      public Builder addReward(
          int index, POGOProtos.Data.Quests.QuestRewardOuterClass.QuestReward value) {
        if (rewardBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureRewardIsMutable();
          reward_.add(index, value);
          onChanged();
        } else {
          rewardBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestReward reward = 2;
       */
      public Builder addReward(
          POGOProtos.Data.Quests.QuestRewardOuterClass.QuestReward.Builder builderForValue) {
        if (rewardBuilder_ == null) {
          ensureRewardIsMutable();
          reward_.add(builderForValue.build());
          onChanged();
        } else {
          rewardBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestReward reward = 2;
       */
      public Builder addReward(
          int index, POGOProtos.Data.Quests.QuestRewardOuterClass.QuestReward.Builder builderForValue) {
        if (rewardBuilder_ == null) {
          ensureRewardIsMutable();
          reward_.add(index, builderForValue.build());
          onChanged();
        } else {
          rewardBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestReward reward = 2;
       */
      public Builder addAllReward(
          java.lang.Iterable values) {
        if (rewardBuilder_ == null) {
          ensureRewardIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, reward_);
          onChanged();
        } else {
          rewardBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestReward reward = 2;
       */
      public Builder clearReward() {
        if (rewardBuilder_ == null) {
          reward_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
          onChanged();
        } else {
          rewardBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestReward reward = 2;
       */
      public Builder removeReward(int index) {
        if (rewardBuilder_ == null) {
          ensureRewardIsMutable();
          reward_.remove(index);
          onChanged();
        } else {
          rewardBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestReward reward = 2;
       */
      public POGOProtos.Data.Quests.QuestRewardOuterClass.QuestReward.Builder getRewardBuilder(
          int index) {
        return getRewardFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestReward reward = 2;
       */
      public POGOProtos.Data.Quests.QuestRewardOuterClass.QuestRewardOrBuilder getRewardOrBuilder(
          int index) {
        if (rewardBuilder_ == null) {
          return reward_.get(index);  } else {
          return rewardBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestReward reward = 2;
       */
      public java.util.List 
           getRewardOrBuilderList() {
        if (rewardBuilder_ != null) {
          return rewardBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(reward_);
        }
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestReward reward = 2;
       */
      public POGOProtos.Data.Quests.QuestRewardOuterClass.QuestReward.Builder addRewardBuilder() {
        return getRewardFieldBuilder().addBuilder(
            POGOProtos.Data.Quests.QuestRewardOuterClass.QuestReward.getDefaultInstance());
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestReward reward = 2;
       */
      public POGOProtos.Data.Quests.QuestRewardOuterClass.QuestReward.Builder addRewardBuilder(
          int index) {
        return getRewardFieldBuilder().addBuilder(
            index, POGOProtos.Data.Quests.QuestRewardOuterClass.QuestReward.getDefaultInstance());
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestReward reward = 2;
       */
      public java.util.List 
           getRewardBuilderList() {
        return getRewardFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          POGOProtos.Data.Quests.QuestRewardOuterClass.QuestReward, POGOProtos.Data.Quests.QuestRewardOuterClass.QuestReward.Builder, POGOProtos.Data.Quests.QuestRewardOuterClass.QuestRewardOrBuilder> 
          getRewardFieldBuilder() {
        if (rewardBuilder_ == null) {
          rewardBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              POGOProtos.Data.Quests.QuestRewardOuterClass.QuestReward, POGOProtos.Data.Quests.QuestRewardOuterClass.QuestReward.Builder, POGOProtos.Data.Quests.QuestRewardOuterClass.QuestRewardOrBuilder>(
                  reward_,
                  ((bitField0_ & 0x00000002) == 0x00000002),
                  getParentForChildren(),
                  isClean());
          reward_ = null;
        }
        return rewardBuilder_;
      }
      @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.Data.Logs.CompleteQuestStampCardLogEntry)
    }

    // @@protoc_insertion_point(class_scope:POGOProtos.Data.Logs.CompleteQuestStampCardLogEntry)
    private static final POGOProtos.Data.Logs.CompleteQuestStampCardLogEntryOuterClass.CompleteQuestStampCardLogEntry DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new POGOProtos.Data.Logs.CompleteQuestStampCardLogEntryOuterClass.CompleteQuestStampCardLogEntry();
    }

    public static POGOProtos.Data.Logs.CompleteQuestStampCardLogEntryOuterClass.CompleteQuestStampCardLogEntry getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_POGOProtos_Data_Logs_CompleteQuestStampCardLogEntry_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_POGOProtos_Data_Logs_CompleteQuestStampCardLogEntry_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n9POGOProtos/Data/Logs/CompleteQuestStam" +
      "pCardLogEntry.proto\022\024POGOProtos.Data.Log" +
      "s\032(POGOProtos/Data/Quests/QuestReward.pr" +
      "oto\"\304\001\n\036CompleteQuestStampCardLogEntry\022K" +
      "\n\006result\030\001 \001(\0162;.POGOProtos.Data.Logs.Co" +
      "mpleteQuestStampCardLogEntry.Result\0223\n\006r" +
      "eward\030\002 \003(\0132#.POGOProtos.Data.Quests.Que" +
      "stReward\" \n\006Result\022\t\n\005UNSET\020\000\022\013\n\007SUCCESS" +
      "\020\001b\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.Data.Quests.QuestRewardOuterClass.getDescriptor(),
        }, assigner);
    internal_static_POGOProtos_Data_Logs_CompleteQuestStampCardLogEntry_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_POGOProtos_Data_Logs_CompleteQuestStampCardLogEntry_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_POGOProtos_Data_Logs_CompleteQuestStampCardLogEntry_descriptor,
        new java.lang.String[] { "Result", "Reward", });
    POGOProtos.Data.Quests.QuestRewardOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy