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

POGOProtos.Data.Quests.QuestsOuterClass Maven / Gradle / Ivy

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

package POGOProtos.Data.Quests;

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

    /**
     * repeated .POGOProtos.Data.Quests.Quest quest = 1;
     */
    java.util.List 
        getQuestList();
    /**
     * repeated .POGOProtos.Data.Quests.Quest quest = 1;
     */
    POGOProtos.Data.Quests.QuestOuterClass.Quest getQuest(int index);
    /**
     * repeated .POGOProtos.Data.Quests.Quest quest = 1;
     */
    int getQuestCount();
    /**
     * repeated .POGOProtos.Data.Quests.Quest quest = 1;
     */
    java.util.List 
        getQuestOrBuilderList();
    /**
     * repeated .POGOProtos.Data.Quests.Quest quest = 1;
     */
    POGOProtos.Data.Quests.QuestOuterClass.QuestOrBuilder getQuestOrBuilder(
        int index);

    /**
     * repeated string completed_story_quest = 2;
     */
    java.util.List
        getCompletedStoryQuestList();
    /**
     * repeated string completed_story_quest = 2;
     */
    int getCompletedStoryQuestCount();
    /**
     * repeated string completed_story_quest = 2;
     */
    java.lang.String getCompletedStoryQuest(int index);
    /**
     * repeated string completed_story_quest = 2;
     */
    com.google.protobuf.ByteString
        getCompletedStoryQuestBytes(int index);

    /**
     * repeated .POGOProtos.Data.Quests.QuestPokemonEncounter quest_pokemon_encounter = 3;
     */
    java.util.List 
        getQuestPokemonEncounterList();
    /**
     * repeated .POGOProtos.Data.Quests.QuestPokemonEncounter quest_pokemon_encounter = 3;
     */
    POGOProtos.Data.Quests.QuestPokemonEncounterOuterClass.QuestPokemonEncounter getQuestPokemonEncounter(int index);
    /**
     * repeated .POGOProtos.Data.Quests.QuestPokemonEncounter quest_pokemon_encounter = 3;
     */
    int getQuestPokemonEncounterCount();
    /**
     * repeated .POGOProtos.Data.Quests.QuestPokemonEncounter quest_pokemon_encounter = 3;
     */
    java.util.List 
        getQuestPokemonEncounterOrBuilderList();
    /**
     * repeated .POGOProtos.Data.Quests.QuestPokemonEncounter quest_pokemon_encounter = 3;
     */
    POGOProtos.Data.Quests.QuestPokemonEncounterOuterClass.QuestPokemonEncounterOrBuilder getQuestPokemonEncounterOrBuilder(
        int index);

    /**
     * .POGOProtos.Data.Quests.QuestStampCard stamp_card = 4;
     */
    boolean hasStampCard();
    /**
     * .POGOProtos.Data.Quests.QuestStampCard stamp_card = 4;
     */
    POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard getStampCard();
    /**
     * .POGOProtos.Data.Quests.QuestStampCard stamp_card = 4;
     */
    POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCardOrBuilder getStampCardOrBuilder();
  }
  /**
   * Protobuf type {@code POGOProtos.Data.Quests.Quests}
   */
  public  static final class Quests extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:POGOProtos.Data.Quests.Quests)
      QuestsOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use Quests.newBuilder() to construct.
    private Quests(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private Quests() {
      quest_ = java.util.Collections.emptyList();
      completedStoryQuest_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      questPokemonEncounter_ = java.util.Collections.emptyList();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private Quests(
        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: {
              if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
                quest_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000001;
              }
              quest_.add(
                  input.readMessage(POGOProtos.Data.Quests.QuestOuterClass.Quest.parser(), extensionRegistry));
              break;
            }
            case 18: {
              java.lang.String s = input.readStringRequireUtf8();
              if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
                completedStoryQuest_ = new com.google.protobuf.LazyStringArrayList();
                mutable_bitField0_ |= 0x00000002;
              }
              completedStoryQuest_.add(s);
              break;
            }
            case 26: {
              if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
                questPokemonEncounter_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000004;
              }
              questPokemonEncounter_.add(
                  input.readMessage(POGOProtos.Data.Quests.QuestPokemonEncounterOuterClass.QuestPokemonEncounter.parser(), extensionRegistry));
              break;
            }
            case 34: {
              POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard.Builder subBuilder = null;
              if (stampCard_ != null) {
                subBuilder = stampCard_.toBuilder();
              }
              stampCard_ = input.readMessage(POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(stampCard_);
                stampCard_ = 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 {
        if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
          quest_ = java.util.Collections.unmodifiableList(quest_);
        }
        if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
          completedStoryQuest_ = completedStoryQuest_.getUnmodifiableView();
        }
        if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
          questPokemonEncounter_ = java.util.Collections.unmodifiableList(questPokemonEncounter_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return POGOProtos.Data.Quests.QuestsOuterClass.internal_static_POGOProtos_Data_Quests_Quests_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return POGOProtos.Data.Quests.QuestsOuterClass.internal_static_POGOProtos_Data_Quests_Quests_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              POGOProtos.Data.Quests.QuestsOuterClass.Quests.class, POGOProtos.Data.Quests.QuestsOuterClass.Quests.Builder.class);
    }

    private int bitField0_;
    public static final int QUEST_FIELD_NUMBER = 1;
    private java.util.List quest_;
    /**
     * repeated .POGOProtos.Data.Quests.Quest quest = 1;
     */
    public java.util.List getQuestList() {
      return quest_;
    }
    /**
     * repeated .POGOProtos.Data.Quests.Quest quest = 1;
     */
    public java.util.List 
        getQuestOrBuilderList() {
      return quest_;
    }
    /**
     * repeated .POGOProtos.Data.Quests.Quest quest = 1;
     */
    public int getQuestCount() {
      return quest_.size();
    }
    /**
     * repeated .POGOProtos.Data.Quests.Quest quest = 1;
     */
    public POGOProtos.Data.Quests.QuestOuterClass.Quest getQuest(int index) {
      return quest_.get(index);
    }
    /**
     * repeated .POGOProtos.Data.Quests.Quest quest = 1;
     */
    public POGOProtos.Data.Quests.QuestOuterClass.QuestOrBuilder getQuestOrBuilder(
        int index) {
      return quest_.get(index);
    }

    public static final int COMPLETED_STORY_QUEST_FIELD_NUMBER = 2;
    private com.google.protobuf.LazyStringList completedStoryQuest_;
    /**
     * repeated string completed_story_quest = 2;
     */
    public com.google.protobuf.ProtocolStringList
        getCompletedStoryQuestList() {
      return completedStoryQuest_;
    }
    /**
     * repeated string completed_story_quest = 2;
     */
    public int getCompletedStoryQuestCount() {
      return completedStoryQuest_.size();
    }
    /**
     * repeated string completed_story_quest = 2;
     */
    public java.lang.String getCompletedStoryQuest(int index) {
      return completedStoryQuest_.get(index);
    }
    /**
     * repeated string completed_story_quest = 2;
     */
    public com.google.protobuf.ByteString
        getCompletedStoryQuestBytes(int index) {
      return completedStoryQuest_.getByteString(index);
    }

    public static final int QUEST_POKEMON_ENCOUNTER_FIELD_NUMBER = 3;
    private java.util.List questPokemonEncounter_;
    /**
     * repeated .POGOProtos.Data.Quests.QuestPokemonEncounter quest_pokemon_encounter = 3;
     */
    public java.util.List getQuestPokemonEncounterList() {
      return questPokemonEncounter_;
    }
    /**
     * repeated .POGOProtos.Data.Quests.QuestPokemonEncounter quest_pokemon_encounter = 3;
     */
    public java.util.List 
        getQuestPokemonEncounterOrBuilderList() {
      return questPokemonEncounter_;
    }
    /**
     * repeated .POGOProtos.Data.Quests.QuestPokemonEncounter quest_pokemon_encounter = 3;
     */
    public int getQuestPokemonEncounterCount() {
      return questPokemonEncounter_.size();
    }
    /**
     * repeated .POGOProtos.Data.Quests.QuestPokemonEncounter quest_pokemon_encounter = 3;
     */
    public POGOProtos.Data.Quests.QuestPokemonEncounterOuterClass.QuestPokemonEncounter getQuestPokemonEncounter(int index) {
      return questPokemonEncounter_.get(index);
    }
    /**
     * repeated .POGOProtos.Data.Quests.QuestPokemonEncounter quest_pokemon_encounter = 3;
     */
    public POGOProtos.Data.Quests.QuestPokemonEncounterOuterClass.QuestPokemonEncounterOrBuilder getQuestPokemonEncounterOrBuilder(
        int index) {
      return questPokemonEncounter_.get(index);
    }

    public static final int STAMP_CARD_FIELD_NUMBER = 4;
    private POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard stampCard_;
    /**
     * .POGOProtos.Data.Quests.QuestStampCard stamp_card = 4;
     */
    public boolean hasStampCard() {
      return stampCard_ != null;
    }
    /**
     * .POGOProtos.Data.Quests.QuestStampCard stamp_card = 4;
     */
    public POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard getStampCard() {
      return stampCard_ == null ? POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard.getDefaultInstance() : stampCard_;
    }
    /**
     * .POGOProtos.Data.Quests.QuestStampCard stamp_card = 4;
     */
    public POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCardOrBuilder getStampCardOrBuilder() {
      return getStampCard();
    }

    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 {
      for (int i = 0; i < quest_.size(); i++) {
        output.writeMessage(1, quest_.get(i));
      }
      for (int i = 0; i < completedStoryQuest_.size(); i++) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, completedStoryQuest_.getRaw(i));
      }
      for (int i = 0; i < questPokemonEncounter_.size(); i++) {
        output.writeMessage(3, questPokemonEncounter_.get(i));
      }
      if (stampCard_ != null) {
        output.writeMessage(4, getStampCard());
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      for (int i = 0; i < quest_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, quest_.get(i));
      }
      {
        int dataSize = 0;
        for (int i = 0; i < completedStoryQuest_.size(); i++) {
          dataSize += computeStringSizeNoTag(completedStoryQuest_.getRaw(i));
        }
        size += dataSize;
        size += 1 * getCompletedStoryQuestList().size();
      }
      for (int i = 0; i < questPokemonEncounter_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, questPokemonEncounter_.get(i));
      }
      if (stampCard_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(4, getStampCard());
      }
      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.Quests.QuestsOuterClass.Quests)) {
        return super.equals(obj);
      }
      POGOProtos.Data.Quests.QuestsOuterClass.Quests other = (POGOProtos.Data.Quests.QuestsOuterClass.Quests) obj;

      boolean result = true;
      result = result && getQuestList()
          .equals(other.getQuestList());
      result = result && getCompletedStoryQuestList()
          .equals(other.getCompletedStoryQuestList());
      result = result && getQuestPokemonEncounterList()
          .equals(other.getQuestPokemonEncounterList());
      result = result && (hasStampCard() == other.hasStampCard());
      if (hasStampCard()) {
        result = result && getStampCard()
            .equals(other.getStampCard());
      }
      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();
      if (getQuestCount() > 0) {
        hash = (37 * hash) + QUEST_FIELD_NUMBER;
        hash = (53 * hash) + getQuestList().hashCode();
      }
      if (getCompletedStoryQuestCount() > 0) {
        hash = (37 * hash) + COMPLETED_STORY_QUEST_FIELD_NUMBER;
        hash = (53 * hash) + getCompletedStoryQuestList().hashCode();
      }
      if (getQuestPokemonEncounterCount() > 0) {
        hash = (37 * hash) + QUEST_POKEMON_ENCOUNTER_FIELD_NUMBER;
        hash = (53 * hash) + getQuestPokemonEncounterList().hashCode();
      }
      if (hasStampCard()) {
        hash = (37 * hash) + STAMP_CARD_FIELD_NUMBER;
        hash = (53 * hash) + getStampCard().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return POGOProtos.Data.Quests.QuestsOuterClass.internal_static_POGOProtos_Data_Quests_Quests_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                POGOProtos.Data.Quests.QuestsOuterClass.Quests.class, POGOProtos.Data.Quests.QuestsOuterClass.Quests.Builder.class);
      }

      // Construct using POGOProtos.Data.Quests.QuestsOuterClass.Quests.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getQuestFieldBuilder();
          getQuestPokemonEncounterFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (questBuilder_ == null) {
          quest_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          questBuilder_.clear();
        }
        completedStoryQuest_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000002);
        if (questPokemonEncounterBuilder_ == null) {
          questPokemonEncounter_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000004);
        } else {
          questPokemonEncounterBuilder_.clear();
        }
        if (stampCardBuilder_ == null) {
          stampCard_ = null;
        } else {
          stampCard_ = null;
          stampCardBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return POGOProtos.Data.Quests.QuestsOuterClass.internal_static_POGOProtos_Data_Quests_Quests_descriptor;
      }

      @java.lang.Override
      public POGOProtos.Data.Quests.QuestsOuterClass.Quests getDefaultInstanceForType() {
        return POGOProtos.Data.Quests.QuestsOuterClass.Quests.getDefaultInstance();
      }

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

      @java.lang.Override
      public POGOProtos.Data.Quests.QuestsOuterClass.Quests buildPartial() {
        POGOProtos.Data.Quests.QuestsOuterClass.Quests result = new POGOProtos.Data.Quests.QuestsOuterClass.Quests(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (questBuilder_ == null) {
          if (((bitField0_ & 0x00000001) == 0x00000001)) {
            quest_ = java.util.Collections.unmodifiableList(quest_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.quest_ = quest_;
        } else {
          result.quest_ = questBuilder_.build();
        }
        if (((bitField0_ & 0x00000002) == 0x00000002)) {
          completedStoryQuest_ = completedStoryQuest_.getUnmodifiableView();
          bitField0_ = (bitField0_ & ~0x00000002);
        }
        result.completedStoryQuest_ = completedStoryQuest_;
        if (questPokemonEncounterBuilder_ == null) {
          if (((bitField0_ & 0x00000004) == 0x00000004)) {
            questPokemonEncounter_ = java.util.Collections.unmodifiableList(questPokemonEncounter_);
            bitField0_ = (bitField0_ & ~0x00000004);
          }
          result.questPokemonEncounter_ = questPokemonEncounter_;
        } else {
          result.questPokemonEncounter_ = questPokemonEncounterBuilder_.build();
        }
        if (stampCardBuilder_ == null) {
          result.stampCard_ = stampCard_;
        } else {
          result.stampCard_ = stampCardBuilder_.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.Quests.QuestsOuterClass.Quests) {
          return mergeFrom((POGOProtos.Data.Quests.QuestsOuterClass.Quests)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(POGOProtos.Data.Quests.QuestsOuterClass.Quests other) {
        if (other == POGOProtos.Data.Quests.QuestsOuterClass.Quests.getDefaultInstance()) return this;
        if (questBuilder_ == null) {
          if (!other.quest_.isEmpty()) {
            if (quest_.isEmpty()) {
              quest_ = other.quest_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureQuestIsMutable();
              quest_.addAll(other.quest_);
            }
            onChanged();
          }
        } else {
          if (!other.quest_.isEmpty()) {
            if (questBuilder_.isEmpty()) {
              questBuilder_.dispose();
              questBuilder_ = null;
              quest_ = other.quest_;
              bitField0_ = (bitField0_ & ~0x00000001);
              questBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getQuestFieldBuilder() : null;
            } else {
              questBuilder_.addAllMessages(other.quest_);
            }
          }
        }
        if (!other.completedStoryQuest_.isEmpty()) {
          if (completedStoryQuest_.isEmpty()) {
            completedStoryQuest_ = other.completedStoryQuest_;
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            ensureCompletedStoryQuestIsMutable();
            completedStoryQuest_.addAll(other.completedStoryQuest_);
          }
          onChanged();
        }
        if (questPokemonEncounterBuilder_ == null) {
          if (!other.questPokemonEncounter_.isEmpty()) {
            if (questPokemonEncounter_.isEmpty()) {
              questPokemonEncounter_ = other.questPokemonEncounter_;
              bitField0_ = (bitField0_ & ~0x00000004);
            } else {
              ensureQuestPokemonEncounterIsMutable();
              questPokemonEncounter_.addAll(other.questPokemonEncounter_);
            }
            onChanged();
          }
        } else {
          if (!other.questPokemonEncounter_.isEmpty()) {
            if (questPokemonEncounterBuilder_.isEmpty()) {
              questPokemonEncounterBuilder_.dispose();
              questPokemonEncounterBuilder_ = null;
              questPokemonEncounter_ = other.questPokemonEncounter_;
              bitField0_ = (bitField0_ & ~0x00000004);
              questPokemonEncounterBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getQuestPokemonEncounterFieldBuilder() : null;
            } else {
              questPokemonEncounterBuilder_.addAllMessages(other.questPokemonEncounter_);
            }
          }
        }
        if (other.hasStampCard()) {
          mergeStampCard(other.getStampCard());
        }
        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.Quests.QuestsOuterClass.Quests parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (POGOProtos.Data.Quests.QuestsOuterClass.Quests) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.util.List quest_ =
        java.util.Collections.emptyList();
      private void ensureQuestIsMutable() {
        if (!((bitField0_ & 0x00000001) == 0x00000001)) {
          quest_ = new java.util.ArrayList(quest_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          POGOProtos.Data.Quests.QuestOuterClass.Quest, POGOProtos.Data.Quests.QuestOuterClass.Quest.Builder, POGOProtos.Data.Quests.QuestOuterClass.QuestOrBuilder> questBuilder_;

      /**
       * repeated .POGOProtos.Data.Quests.Quest quest = 1;
       */
      public java.util.List getQuestList() {
        if (questBuilder_ == null) {
          return java.util.Collections.unmodifiableList(quest_);
        } else {
          return questBuilder_.getMessageList();
        }
      }
      /**
       * repeated .POGOProtos.Data.Quests.Quest quest = 1;
       */
      public int getQuestCount() {
        if (questBuilder_ == null) {
          return quest_.size();
        } else {
          return questBuilder_.getCount();
        }
      }
      /**
       * repeated .POGOProtos.Data.Quests.Quest quest = 1;
       */
      public POGOProtos.Data.Quests.QuestOuterClass.Quest getQuest(int index) {
        if (questBuilder_ == null) {
          return quest_.get(index);
        } else {
          return questBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .POGOProtos.Data.Quests.Quest quest = 1;
       */
      public Builder setQuest(
          int index, POGOProtos.Data.Quests.QuestOuterClass.Quest value) {
        if (questBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureQuestIsMutable();
          quest_.set(index, value);
          onChanged();
        } else {
          questBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Quests.Quest quest = 1;
       */
      public Builder setQuest(
          int index, POGOProtos.Data.Quests.QuestOuterClass.Quest.Builder builderForValue) {
        if (questBuilder_ == null) {
          ensureQuestIsMutable();
          quest_.set(index, builderForValue.build());
          onChanged();
        } else {
          questBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Quests.Quest quest = 1;
       */
      public Builder addQuest(POGOProtos.Data.Quests.QuestOuterClass.Quest value) {
        if (questBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureQuestIsMutable();
          quest_.add(value);
          onChanged();
        } else {
          questBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Quests.Quest quest = 1;
       */
      public Builder addQuest(
          int index, POGOProtos.Data.Quests.QuestOuterClass.Quest value) {
        if (questBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureQuestIsMutable();
          quest_.add(index, value);
          onChanged();
        } else {
          questBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Quests.Quest quest = 1;
       */
      public Builder addQuest(
          POGOProtos.Data.Quests.QuestOuterClass.Quest.Builder builderForValue) {
        if (questBuilder_ == null) {
          ensureQuestIsMutable();
          quest_.add(builderForValue.build());
          onChanged();
        } else {
          questBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Quests.Quest quest = 1;
       */
      public Builder addQuest(
          int index, POGOProtos.Data.Quests.QuestOuterClass.Quest.Builder builderForValue) {
        if (questBuilder_ == null) {
          ensureQuestIsMutable();
          quest_.add(index, builderForValue.build());
          onChanged();
        } else {
          questBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Quests.Quest quest = 1;
       */
      public Builder addAllQuest(
          java.lang.Iterable values) {
        if (questBuilder_ == null) {
          ensureQuestIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, quest_);
          onChanged();
        } else {
          questBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Quests.Quest quest = 1;
       */
      public Builder clearQuest() {
        if (questBuilder_ == null) {
          quest_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          questBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Quests.Quest quest = 1;
       */
      public Builder removeQuest(int index) {
        if (questBuilder_ == null) {
          ensureQuestIsMutable();
          quest_.remove(index);
          onChanged();
        } else {
          questBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Quests.Quest quest = 1;
       */
      public POGOProtos.Data.Quests.QuestOuterClass.Quest.Builder getQuestBuilder(
          int index) {
        return getQuestFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .POGOProtos.Data.Quests.Quest quest = 1;
       */
      public POGOProtos.Data.Quests.QuestOuterClass.QuestOrBuilder getQuestOrBuilder(
          int index) {
        if (questBuilder_ == null) {
          return quest_.get(index);  } else {
          return questBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .POGOProtos.Data.Quests.Quest quest = 1;
       */
      public java.util.List 
           getQuestOrBuilderList() {
        if (questBuilder_ != null) {
          return questBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(quest_);
        }
      }
      /**
       * repeated .POGOProtos.Data.Quests.Quest quest = 1;
       */
      public POGOProtos.Data.Quests.QuestOuterClass.Quest.Builder addQuestBuilder() {
        return getQuestFieldBuilder().addBuilder(
            POGOProtos.Data.Quests.QuestOuterClass.Quest.getDefaultInstance());
      }
      /**
       * repeated .POGOProtos.Data.Quests.Quest quest = 1;
       */
      public POGOProtos.Data.Quests.QuestOuterClass.Quest.Builder addQuestBuilder(
          int index) {
        return getQuestFieldBuilder().addBuilder(
            index, POGOProtos.Data.Quests.QuestOuterClass.Quest.getDefaultInstance());
      }
      /**
       * repeated .POGOProtos.Data.Quests.Quest quest = 1;
       */
      public java.util.List 
           getQuestBuilderList() {
        return getQuestFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          POGOProtos.Data.Quests.QuestOuterClass.Quest, POGOProtos.Data.Quests.QuestOuterClass.Quest.Builder, POGOProtos.Data.Quests.QuestOuterClass.QuestOrBuilder> 
          getQuestFieldBuilder() {
        if (questBuilder_ == null) {
          questBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              POGOProtos.Data.Quests.QuestOuterClass.Quest, POGOProtos.Data.Quests.QuestOuterClass.Quest.Builder, POGOProtos.Data.Quests.QuestOuterClass.QuestOrBuilder>(
                  quest_,
                  ((bitField0_ & 0x00000001) == 0x00000001),
                  getParentForChildren(),
                  isClean());
          quest_ = null;
        }
        return questBuilder_;
      }

      private com.google.protobuf.LazyStringList completedStoryQuest_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      private void ensureCompletedStoryQuestIsMutable() {
        if (!((bitField0_ & 0x00000002) == 0x00000002)) {
          completedStoryQuest_ = new com.google.protobuf.LazyStringArrayList(completedStoryQuest_);
          bitField0_ |= 0x00000002;
         }
      }
      /**
       * repeated string completed_story_quest = 2;
       */
      public com.google.protobuf.ProtocolStringList
          getCompletedStoryQuestList() {
        return completedStoryQuest_.getUnmodifiableView();
      }
      /**
       * repeated string completed_story_quest = 2;
       */
      public int getCompletedStoryQuestCount() {
        return completedStoryQuest_.size();
      }
      /**
       * repeated string completed_story_quest = 2;
       */
      public java.lang.String getCompletedStoryQuest(int index) {
        return completedStoryQuest_.get(index);
      }
      /**
       * repeated string completed_story_quest = 2;
       */
      public com.google.protobuf.ByteString
          getCompletedStoryQuestBytes(int index) {
        return completedStoryQuest_.getByteString(index);
      }
      /**
       * repeated string completed_story_quest = 2;
       */
      public Builder setCompletedStoryQuest(
          int index, java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureCompletedStoryQuestIsMutable();
        completedStoryQuest_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * repeated string completed_story_quest = 2;
       */
      public Builder addCompletedStoryQuest(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureCompletedStoryQuestIsMutable();
        completedStoryQuest_.add(value);
        onChanged();
        return this;
      }
      /**
       * repeated string completed_story_quest = 2;
       */
      public Builder addAllCompletedStoryQuest(
          java.lang.Iterable values) {
        ensureCompletedStoryQuestIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, completedStoryQuest_);
        onChanged();
        return this;
      }
      /**
       * repeated string completed_story_quest = 2;
       */
      public Builder clearCompletedStoryQuest() {
        completedStoryQuest_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
        return this;
      }
      /**
       * repeated string completed_story_quest = 2;
       */
      public Builder addCompletedStoryQuestBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        ensureCompletedStoryQuestIsMutable();
        completedStoryQuest_.add(value);
        onChanged();
        return this;
      }

      private java.util.List questPokemonEncounter_ =
        java.util.Collections.emptyList();
      private void ensureQuestPokemonEncounterIsMutable() {
        if (!((bitField0_ & 0x00000004) == 0x00000004)) {
          questPokemonEncounter_ = new java.util.ArrayList(questPokemonEncounter_);
          bitField0_ |= 0x00000004;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          POGOProtos.Data.Quests.QuestPokemonEncounterOuterClass.QuestPokemonEncounter, POGOProtos.Data.Quests.QuestPokemonEncounterOuterClass.QuestPokemonEncounter.Builder, POGOProtos.Data.Quests.QuestPokemonEncounterOuterClass.QuestPokemonEncounterOrBuilder> questPokemonEncounterBuilder_;

      /**
       * repeated .POGOProtos.Data.Quests.QuestPokemonEncounter quest_pokemon_encounter = 3;
       */
      public java.util.List getQuestPokemonEncounterList() {
        if (questPokemonEncounterBuilder_ == null) {
          return java.util.Collections.unmodifiableList(questPokemonEncounter_);
        } else {
          return questPokemonEncounterBuilder_.getMessageList();
        }
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestPokemonEncounter quest_pokemon_encounter = 3;
       */
      public int getQuestPokemonEncounterCount() {
        if (questPokemonEncounterBuilder_ == null) {
          return questPokemonEncounter_.size();
        } else {
          return questPokemonEncounterBuilder_.getCount();
        }
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestPokemonEncounter quest_pokemon_encounter = 3;
       */
      public POGOProtos.Data.Quests.QuestPokemonEncounterOuterClass.QuestPokemonEncounter getQuestPokemonEncounter(int index) {
        if (questPokemonEncounterBuilder_ == null) {
          return questPokemonEncounter_.get(index);
        } else {
          return questPokemonEncounterBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestPokemonEncounter quest_pokemon_encounter = 3;
       */
      public Builder setQuestPokemonEncounter(
          int index, POGOProtos.Data.Quests.QuestPokemonEncounterOuterClass.QuestPokemonEncounter value) {
        if (questPokemonEncounterBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureQuestPokemonEncounterIsMutable();
          questPokemonEncounter_.set(index, value);
          onChanged();
        } else {
          questPokemonEncounterBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestPokemonEncounter quest_pokemon_encounter = 3;
       */
      public Builder setQuestPokemonEncounter(
          int index, POGOProtos.Data.Quests.QuestPokemonEncounterOuterClass.QuestPokemonEncounter.Builder builderForValue) {
        if (questPokemonEncounterBuilder_ == null) {
          ensureQuestPokemonEncounterIsMutable();
          questPokemonEncounter_.set(index, builderForValue.build());
          onChanged();
        } else {
          questPokemonEncounterBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestPokemonEncounter quest_pokemon_encounter = 3;
       */
      public Builder addQuestPokemonEncounter(POGOProtos.Data.Quests.QuestPokemonEncounterOuterClass.QuestPokemonEncounter value) {
        if (questPokemonEncounterBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureQuestPokemonEncounterIsMutable();
          questPokemonEncounter_.add(value);
          onChanged();
        } else {
          questPokemonEncounterBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestPokemonEncounter quest_pokemon_encounter = 3;
       */
      public Builder addQuestPokemonEncounter(
          int index, POGOProtos.Data.Quests.QuestPokemonEncounterOuterClass.QuestPokemonEncounter value) {
        if (questPokemonEncounterBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureQuestPokemonEncounterIsMutable();
          questPokemonEncounter_.add(index, value);
          onChanged();
        } else {
          questPokemonEncounterBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestPokemonEncounter quest_pokemon_encounter = 3;
       */
      public Builder addQuestPokemonEncounter(
          POGOProtos.Data.Quests.QuestPokemonEncounterOuterClass.QuestPokemonEncounter.Builder builderForValue) {
        if (questPokemonEncounterBuilder_ == null) {
          ensureQuestPokemonEncounterIsMutable();
          questPokemonEncounter_.add(builderForValue.build());
          onChanged();
        } else {
          questPokemonEncounterBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestPokemonEncounter quest_pokemon_encounter = 3;
       */
      public Builder addQuestPokemonEncounter(
          int index, POGOProtos.Data.Quests.QuestPokemonEncounterOuterClass.QuestPokemonEncounter.Builder builderForValue) {
        if (questPokemonEncounterBuilder_ == null) {
          ensureQuestPokemonEncounterIsMutable();
          questPokemonEncounter_.add(index, builderForValue.build());
          onChanged();
        } else {
          questPokemonEncounterBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestPokemonEncounter quest_pokemon_encounter = 3;
       */
      public Builder addAllQuestPokemonEncounter(
          java.lang.Iterable values) {
        if (questPokemonEncounterBuilder_ == null) {
          ensureQuestPokemonEncounterIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, questPokemonEncounter_);
          onChanged();
        } else {
          questPokemonEncounterBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestPokemonEncounter quest_pokemon_encounter = 3;
       */
      public Builder clearQuestPokemonEncounter() {
        if (questPokemonEncounterBuilder_ == null) {
          questPokemonEncounter_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000004);
          onChanged();
        } else {
          questPokemonEncounterBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestPokemonEncounter quest_pokemon_encounter = 3;
       */
      public Builder removeQuestPokemonEncounter(int index) {
        if (questPokemonEncounterBuilder_ == null) {
          ensureQuestPokemonEncounterIsMutable();
          questPokemonEncounter_.remove(index);
          onChanged();
        } else {
          questPokemonEncounterBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestPokemonEncounter quest_pokemon_encounter = 3;
       */
      public POGOProtos.Data.Quests.QuestPokemonEncounterOuterClass.QuestPokemonEncounter.Builder getQuestPokemonEncounterBuilder(
          int index) {
        return getQuestPokemonEncounterFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestPokemonEncounter quest_pokemon_encounter = 3;
       */
      public POGOProtos.Data.Quests.QuestPokemonEncounterOuterClass.QuestPokemonEncounterOrBuilder getQuestPokemonEncounterOrBuilder(
          int index) {
        if (questPokemonEncounterBuilder_ == null) {
          return questPokemonEncounter_.get(index);  } else {
          return questPokemonEncounterBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestPokemonEncounter quest_pokemon_encounter = 3;
       */
      public java.util.List 
           getQuestPokemonEncounterOrBuilderList() {
        if (questPokemonEncounterBuilder_ != null) {
          return questPokemonEncounterBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(questPokemonEncounter_);
        }
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestPokemonEncounter quest_pokemon_encounter = 3;
       */
      public POGOProtos.Data.Quests.QuestPokemonEncounterOuterClass.QuestPokemonEncounter.Builder addQuestPokemonEncounterBuilder() {
        return getQuestPokemonEncounterFieldBuilder().addBuilder(
            POGOProtos.Data.Quests.QuestPokemonEncounterOuterClass.QuestPokemonEncounter.getDefaultInstance());
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestPokemonEncounter quest_pokemon_encounter = 3;
       */
      public POGOProtos.Data.Quests.QuestPokemonEncounterOuterClass.QuestPokemonEncounter.Builder addQuestPokemonEncounterBuilder(
          int index) {
        return getQuestPokemonEncounterFieldBuilder().addBuilder(
            index, POGOProtos.Data.Quests.QuestPokemonEncounterOuterClass.QuestPokemonEncounter.getDefaultInstance());
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestPokemonEncounter quest_pokemon_encounter = 3;
       */
      public java.util.List 
           getQuestPokemonEncounterBuilderList() {
        return getQuestPokemonEncounterFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          POGOProtos.Data.Quests.QuestPokemonEncounterOuterClass.QuestPokemonEncounter, POGOProtos.Data.Quests.QuestPokemonEncounterOuterClass.QuestPokemonEncounter.Builder, POGOProtos.Data.Quests.QuestPokemonEncounterOuterClass.QuestPokemonEncounterOrBuilder> 
          getQuestPokemonEncounterFieldBuilder() {
        if (questPokemonEncounterBuilder_ == null) {
          questPokemonEncounterBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              POGOProtos.Data.Quests.QuestPokemonEncounterOuterClass.QuestPokemonEncounter, POGOProtos.Data.Quests.QuestPokemonEncounterOuterClass.QuestPokemonEncounter.Builder, POGOProtos.Data.Quests.QuestPokemonEncounterOuterClass.QuestPokemonEncounterOrBuilder>(
                  questPokemonEncounter_,
                  ((bitField0_ & 0x00000004) == 0x00000004),
                  getParentForChildren(),
                  isClean());
          questPokemonEncounter_ = null;
        }
        return questPokemonEncounterBuilder_;
      }

      private POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard stampCard_ = null;
      private com.google.protobuf.SingleFieldBuilderV3<
          POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard, POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard.Builder, POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCardOrBuilder> stampCardBuilder_;
      /**
       * .POGOProtos.Data.Quests.QuestStampCard stamp_card = 4;
       */
      public boolean hasStampCard() {
        return stampCardBuilder_ != null || stampCard_ != null;
      }
      /**
       * .POGOProtos.Data.Quests.QuestStampCard stamp_card = 4;
       */
      public POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard getStampCard() {
        if (stampCardBuilder_ == null) {
          return stampCard_ == null ? POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard.getDefaultInstance() : stampCard_;
        } else {
          return stampCardBuilder_.getMessage();
        }
      }
      /**
       * .POGOProtos.Data.Quests.QuestStampCard stamp_card = 4;
       */
      public Builder setStampCard(POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard value) {
        if (stampCardBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          stampCard_ = value;
          onChanged();
        } else {
          stampCardBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Quests.QuestStampCard stamp_card = 4;
       */
      public Builder setStampCard(
          POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard.Builder builderForValue) {
        if (stampCardBuilder_ == null) {
          stampCard_ = builderForValue.build();
          onChanged();
        } else {
          stampCardBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Quests.QuestStampCard stamp_card = 4;
       */
      public Builder mergeStampCard(POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard value) {
        if (stampCardBuilder_ == null) {
          if (stampCard_ != null) {
            stampCard_ =
              POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard.newBuilder(stampCard_).mergeFrom(value).buildPartial();
          } else {
            stampCard_ = value;
          }
          onChanged();
        } else {
          stampCardBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Quests.QuestStampCard stamp_card = 4;
       */
      public Builder clearStampCard() {
        if (stampCardBuilder_ == null) {
          stampCard_ = null;
          onChanged();
        } else {
          stampCard_ = null;
          stampCardBuilder_ = null;
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Quests.QuestStampCard stamp_card = 4;
       */
      public POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard.Builder getStampCardBuilder() {
        
        onChanged();
        return getStampCardFieldBuilder().getBuilder();
      }
      /**
       * .POGOProtos.Data.Quests.QuestStampCard stamp_card = 4;
       */
      public POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCardOrBuilder getStampCardOrBuilder() {
        if (stampCardBuilder_ != null) {
          return stampCardBuilder_.getMessageOrBuilder();
        } else {
          return stampCard_ == null ?
              POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard.getDefaultInstance() : stampCard_;
        }
      }
      /**
       * .POGOProtos.Data.Quests.QuestStampCard stamp_card = 4;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard, POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard.Builder, POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCardOrBuilder> 
          getStampCardFieldBuilder() {
        if (stampCardBuilder_ == null) {
          stampCardBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard, POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard.Builder, POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCardOrBuilder>(
                  getStampCard(),
                  getParentForChildren(),
                  isClean());
          stampCard_ = null;
        }
        return stampCardBuilder_;
      }
      @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.Quests.Quests)
    }

    // @@protoc_insertion_point(class_scope:POGOProtos.Data.Quests.Quests)
    private static final POGOProtos.Data.Quests.QuestsOuterClass.Quests DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new POGOProtos.Data.Quests.QuestsOuterClass.Quests();
    }

    public static POGOProtos.Data.Quests.QuestsOuterClass.Quests getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_POGOProtos_Data_Quests_Quests_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_POGOProtos_Data_Quests_Quests_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/Data/Quests/Quests.proto\022\026P" +
      "OGOProtos.Data.Quests\032\"POGOProtos/Data/Q" +
      "uests/Quest.proto\0322POGOProtos/Data/Quest" +
      "s/QuestPokemonEncounter.proto\032+POGOProto" +
      "s/Data/Quests/QuestStampCard.proto\"\341\001\n\006Q" +
      "uests\022,\n\005quest\030\001 \003(\0132\035.POGOProtos.Data.Q" +
      "uests.Quest\022\035\n\025completed_story_quest\030\002 \003" +
      "(\t\022N\n\027quest_pokemon_encounter\030\003 \003(\0132-.PO" +
      "GOProtos.Data.Quests.QuestPokemonEncount" +
      "er\022:\n\nstamp_card\030\004 \001(\0132&.POGOProtos.Data" +
      ".Quests.QuestStampCardb\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.QuestOuterClass.getDescriptor(),
          POGOProtos.Data.Quests.QuestPokemonEncounterOuterClass.getDescriptor(),
          POGOProtos.Data.Quests.QuestStampCardOuterClass.getDescriptor(),
        }, assigner);
    internal_static_POGOProtos_Data_Quests_Quests_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_POGOProtos_Data_Quests_Quests_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_POGOProtos_Data_Quests_Quests_descriptor,
        new java.lang.String[] { "Quest", "CompletedStoryQuest", "QuestPokemonEncounter", "StampCard", });
    POGOProtos.Data.Quests.QuestOuterClass.getDescriptor();
    POGOProtos.Data.Quests.QuestPokemonEncounterOuterClass.getDescriptor();
    POGOProtos.Data.Quests.QuestStampCardOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy