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

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

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

package POGOProtos.Data.Logs;

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

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

    /**
     * .POGOProtos.Data.Quests.ClientQuest quest = 2;
     */
    boolean hasQuest();
    /**
     * .POGOProtos.Data.Quests.ClientQuest quest = 2;
     */
    POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest getQuest();
    /**
     * .POGOProtos.Data.Quests.ClientQuest quest = 2;
     */
    POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuestOrBuilder getQuestOrBuilder();

    /**
     * repeated .POGOProtos.Data.Quests.QuestStamp stamp = 3;
     */
    java.util.List 
        getStampList();
    /**
     * repeated .POGOProtos.Data.Quests.QuestStamp stamp = 3;
     */
    POGOProtos.Data.Quests.QuestStampOuterClass.QuestStamp getStamp(int index);
    /**
     * repeated .POGOProtos.Data.Quests.QuestStamp stamp = 3;
     */
    int getStampCount();
    /**
     * repeated .POGOProtos.Data.Quests.QuestStamp stamp = 3;
     */
    java.util.List 
        getStampOrBuilderList();
    /**
     * repeated .POGOProtos.Data.Quests.QuestStamp stamp = 3;
     */
    POGOProtos.Data.Quests.QuestStampOuterClass.QuestStampOrBuilder getStampOrBuilder(
        int index);
  }
  /**
   * Protobuf type {@code POGOProtos.Data.Logs.CompleteQuestLogEntry}
   */
  public  static final class CompleteQuestLogEntry extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:POGOProtos.Data.Logs.CompleteQuestLogEntry)
      CompleteQuestLogEntryOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use CompleteQuestLogEntry.newBuilder() to construct.
    private CompleteQuestLogEntry(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private CompleteQuestLogEntry() {
      result_ = 0;
      stamp_ = java.util.Collections.emptyList();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private CompleteQuestLogEntry(
        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: {
              POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.Builder subBuilder = null;
              if (quest_ != null) {
                subBuilder = quest_.toBuilder();
              }
              quest_ = input.readMessage(POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(quest_);
                quest_ = subBuilder.buildPartial();
              }

              break;
            }
            case 26: {
              if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
                stamp_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000004;
              }
              stamp_.add(
                  input.readMessage(POGOProtos.Data.Quests.QuestStampOuterClass.QuestStamp.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_ & 0x00000004) == 0x00000004)) {
          stamp_ = java.util.Collections.unmodifiableList(stamp_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return POGOProtos.Data.Logs.CompleteQuestLogEntryOuterClass.internal_static_POGOProtos_Data_Logs_CompleteQuestLogEntry_descriptor;
    }

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

    /**
     * Protobuf enum {@code POGOProtos.Data.Logs.CompleteQuestLogEntry.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.CompleteQuestLogEntryOuterClass.CompleteQuestLogEntry.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.CompleteQuestLogEntry.Result)
    }

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

    public static final int QUEST_FIELD_NUMBER = 2;
    private POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest quest_;
    /**
     * .POGOProtos.Data.Quests.ClientQuest quest = 2;
     */
    public boolean hasQuest() {
      return quest_ != null;
    }
    /**
     * .POGOProtos.Data.Quests.ClientQuest quest = 2;
     */
    public POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest getQuest() {
      return quest_ == null ? POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.getDefaultInstance() : quest_;
    }
    /**
     * .POGOProtos.Data.Quests.ClientQuest quest = 2;
     */
    public POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuestOrBuilder getQuestOrBuilder() {
      return getQuest();
    }

    public static final int STAMP_FIELD_NUMBER = 3;
    private java.util.List stamp_;
    /**
     * repeated .POGOProtos.Data.Quests.QuestStamp stamp = 3;
     */
    public java.util.List getStampList() {
      return stamp_;
    }
    /**
     * repeated .POGOProtos.Data.Quests.QuestStamp stamp = 3;
     */
    public java.util.List 
        getStampOrBuilderList() {
      return stamp_;
    }
    /**
     * repeated .POGOProtos.Data.Quests.QuestStamp stamp = 3;
     */
    public int getStampCount() {
      return stamp_.size();
    }
    /**
     * repeated .POGOProtos.Data.Quests.QuestStamp stamp = 3;
     */
    public POGOProtos.Data.Quests.QuestStampOuterClass.QuestStamp getStamp(int index) {
      return stamp_.get(index);
    }
    /**
     * repeated .POGOProtos.Data.Quests.QuestStamp stamp = 3;
     */
    public POGOProtos.Data.Quests.QuestStampOuterClass.QuestStampOrBuilder getStampOrBuilder(
        int index) {
      return stamp_.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.CompleteQuestLogEntryOuterClass.CompleteQuestLogEntry.Result.UNSET.getNumber()) {
        output.writeEnum(1, result_);
      }
      if (quest_ != null) {
        output.writeMessage(2, getQuest());
      }
      for (int i = 0; i < stamp_.size(); i++) {
        output.writeMessage(3, stamp_.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.CompleteQuestLogEntryOuterClass.CompleteQuestLogEntry.Result.UNSET.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(1, result_);
      }
      if (quest_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, getQuest());
      }
      for (int i = 0; i < stamp_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, stamp_.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.CompleteQuestLogEntryOuterClass.CompleteQuestLogEntry)) {
        return super.equals(obj);
      }
      POGOProtos.Data.Logs.CompleteQuestLogEntryOuterClass.CompleteQuestLogEntry other = (POGOProtos.Data.Logs.CompleteQuestLogEntryOuterClass.CompleteQuestLogEntry) obj;

      boolean result = true;
      result = result && result_ == other.result_;
      result = result && (hasQuest() == other.hasQuest());
      if (hasQuest()) {
        result = result && getQuest()
            .equals(other.getQuest());
      }
      result = result && getStampList()
          .equals(other.getStampList());
      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 (hasQuest()) {
        hash = (37 * hash) + QUEST_FIELD_NUMBER;
        hash = (53 * hash) + getQuest().hashCode();
      }
      if (getStampCount() > 0) {
        hash = (37 * hash) + STAMP_FIELD_NUMBER;
        hash = (53 * hash) + getStampList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

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

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

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

        if (questBuilder_ == null) {
          quest_ = null;
        } else {
          quest_ = null;
          questBuilder_ = null;
        }
        if (stampBuilder_ == null) {
          stamp_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000004);
        } else {
          stampBuilder_.clear();
        }
        return this;
      }

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

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

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

      @java.lang.Override
      public POGOProtos.Data.Logs.CompleteQuestLogEntryOuterClass.CompleteQuestLogEntry buildPartial() {
        POGOProtos.Data.Logs.CompleteQuestLogEntryOuterClass.CompleteQuestLogEntry result = new POGOProtos.Data.Logs.CompleteQuestLogEntryOuterClass.CompleteQuestLogEntry(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        result.result_ = result_;
        if (questBuilder_ == null) {
          result.quest_ = quest_;
        } else {
          result.quest_ = questBuilder_.build();
        }
        if (stampBuilder_ == null) {
          if (((bitField0_ & 0x00000004) == 0x00000004)) {
            stamp_ = java.util.Collections.unmodifiableList(stamp_);
            bitField0_ = (bitField0_ & ~0x00000004);
          }
          result.stamp_ = stamp_;
        } else {
          result.stamp_ = stampBuilder_.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.CompleteQuestLogEntryOuterClass.CompleteQuestLogEntry) {
          return mergeFrom((POGOProtos.Data.Logs.CompleteQuestLogEntryOuterClass.CompleteQuestLogEntry)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(POGOProtos.Data.Logs.CompleteQuestLogEntryOuterClass.CompleteQuestLogEntry other) {
        if (other == POGOProtos.Data.Logs.CompleteQuestLogEntryOuterClass.CompleteQuestLogEntry.getDefaultInstance()) return this;
        if (other.result_ != 0) {
          setResultValue(other.getResultValue());
        }
        if (other.hasQuest()) {
          mergeQuest(other.getQuest());
        }
        if (stampBuilder_ == null) {
          if (!other.stamp_.isEmpty()) {
            if (stamp_.isEmpty()) {
              stamp_ = other.stamp_;
              bitField0_ = (bitField0_ & ~0x00000004);
            } else {
              ensureStampIsMutable();
              stamp_.addAll(other.stamp_);
            }
            onChanged();
          }
        } else {
          if (!other.stamp_.isEmpty()) {
            if (stampBuilder_.isEmpty()) {
              stampBuilder_.dispose();
              stampBuilder_ = null;
              stamp_ = other.stamp_;
              bitField0_ = (bitField0_ & ~0x00000004);
              stampBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getStampFieldBuilder() : null;
            } else {
              stampBuilder_.addAllMessages(other.stamp_);
            }
          }
        }
        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.CompleteQuestLogEntryOuterClass.CompleteQuestLogEntry parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (POGOProtos.Data.Logs.CompleteQuestLogEntryOuterClass.CompleteQuestLogEntry) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

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

      private POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest quest_ = null;
      private com.google.protobuf.SingleFieldBuilderV3<
          POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest, POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.Builder, POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuestOrBuilder> questBuilder_;
      /**
       * .POGOProtos.Data.Quests.ClientQuest quest = 2;
       */
      public boolean hasQuest() {
        return questBuilder_ != null || quest_ != null;
      }
      /**
       * .POGOProtos.Data.Quests.ClientQuest quest = 2;
       */
      public POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest getQuest() {
        if (questBuilder_ == null) {
          return quest_ == null ? POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.getDefaultInstance() : quest_;
        } else {
          return questBuilder_.getMessage();
        }
      }
      /**
       * .POGOProtos.Data.Quests.ClientQuest quest = 2;
       */
      public Builder setQuest(POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest value) {
        if (questBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          quest_ = value;
          onChanged();
        } else {
          questBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Quests.ClientQuest quest = 2;
       */
      public Builder setQuest(
          POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.Builder builderForValue) {
        if (questBuilder_ == null) {
          quest_ = builderForValue.build();
          onChanged();
        } else {
          questBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Quests.ClientQuest quest = 2;
       */
      public Builder mergeQuest(POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest value) {
        if (questBuilder_ == null) {
          if (quest_ != null) {
            quest_ =
              POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.newBuilder(quest_).mergeFrom(value).buildPartial();
          } else {
            quest_ = value;
          }
          onChanged();
        } else {
          questBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Quests.ClientQuest quest = 2;
       */
      public Builder clearQuest() {
        if (questBuilder_ == null) {
          quest_ = null;
          onChanged();
        } else {
          quest_ = null;
          questBuilder_ = null;
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Quests.ClientQuest quest = 2;
       */
      public POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.Builder getQuestBuilder() {
        
        onChanged();
        return getQuestFieldBuilder().getBuilder();
      }
      /**
       * .POGOProtos.Data.Quests.ClientQuest quest = 2;
       */
      public POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuestOrBuilder getQuestOrBuilder() {
        if (questBuilder_ != null) {
          return questBuilder_.getMessageOrBuilder();
        } else {
          return quest_ == null ?
              POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.getDefaultInstance() : quest_;
        }
      }
      /**
       * .POGOProtos.Data.Quests.ClientQuest quest = 2;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest, POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.Builder, POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuestOrBuilder> 
          getQuestFieldBuilder() {
        if (questBuilder_ == null) {
          questBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest, POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.Builder, POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuestOrBuilder>(
                  getQuest(),
                  getParentForChildren(),
                  isClean());
          quest_ = null;
        }
        return questBuilder_;
      }

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

      private com.google.protobuf.RepeatedFieldBuilderV3<
          POGOProtos.Data.Quests.QuestStampOuterClass.QuestStamp, POGOProtos.Data.Quests.QuestStampOuterClass.QuestStamp.Builder, POGOProtos.Data.Quests.QuestStampOuterClass.QuestStampOrBuilder> stampBuilder_;

      /**
       * repeated .POGOProtos.Data.Quests.QuestStamp stamp = 3;
       */
      public java.util.List getStampList() {
        if (stampBuilder_ == null) {
          return java.util.Collections.unmodifiableList(stamp_);
        } else {
          return stampBuilder_.getMessageList();
        }
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestStamp stamp = 3;
       */
      public int getStampCount() {
        if (stampBuilder_ == null) {
          return stamp_.size();
        } else {
          return stampBuilder_.getCount();
        }
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestStamp stamp = 3;
       */
      public POGOProtos.Data.Quests.QuestStampOuterClass.QuestStamp getStamp(int index) {
        if (stampBuilder_ == null) {
          return stamp_.get(index);
        } else {
          return stampBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestStamp stamp = 3;
       */
      public Builder setStamp(
          int index, POGOProtos.Data.Quests.QuestStampOuterClass.QuestStamp value) {
        if (stampBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureStampIsMutable();
          stamp_.set(index, value);
          onChanged();
        } else {
          stampBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestStamp stamp = 3;
       */
      public Builder setStamp(
          int index, POGOProtos.Data.Quests.QuestStampOuterClass.QuestStamp.Builder builderForValue) {
        if (stampBuilder_ == null) {
          ensureStampIsMutable();
          stamp_.set(index, builderForValue.build());
          onChanged();
        } else {
          stampBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestStamp stamp = 3;
       */
      public Builder addStamp(POGOProtos.Data.Quests.QuestStampOuterClass.QuestStamp value) {
        if (stampBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureStampIsMutable();
          stamp_.add(value);
          onChanged();
        } else {
          stampBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestStamp stamp = 3;
       */
      public Builder addStamp(
          int index, POGOProtos.Data.Quests.QuestStampOuterClass.QuestStamp value) {
        if (stampBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureStampIsMutable();
          stamp_.add(index, value);
          onChanged();
        } else {
          stampBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestStamp stamp = 3;
       */
      public Builder addStamp(
          POGOProtos.Data.Quests.QuestStampOuterClass.QuestStamp.Builder builderForValue) {
        if (stampBuilder_ == null) {
          ensureStampIsMutable();
          stamp_.add(builderForValue.build());
          onChanged();
        } else {
          stampBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestStamp stamp = 3;
       */
      public Builder addStamp(
          int index, POGOProtos.Data.Quests.QuestStampOuterClass.QuestStamp.Builder builderForValue) {
        if (stampBuilder_ == null) {
          ensureStampIsMutable();
          stamp_.add(index, builderForValue.build());
          onChanged();
        } else {
          stampBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestStamp stamp = 3;
       */
      public Builder addAllStamp(
          java.lang.Iterable values) {
        if (stampBuilder_ == null) {
          ensureStampIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, stamp_);
          onChanged();
        } else {
          stampBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestStamp stamp = 3;
       */
      public Builder clearStamp() {
        if (stampBuilder_ == null) {
          stamp_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000004);
          onChanged();
        } else {
          stampBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestStamp stamp = 3;
       */
      public Builder removeStamp(int index) {
        if (stampBuilder_ == null) {
          ensureStampIsMutable();
          stamp_.remove(index);
          onChanged();
        } else {
          stampBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestStamp stamp = 3;
       */
      public POGOProtos.Data.Quests.QuestStampOuterClass.QuestStamp.Builder getStampBuilder(
          int index) {
        return getStampFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestStamp stamp = 3;
       */
      public POGOProtos.Data.Quests.QuestStampOuterClass.QuestStampOrBuilder getStampOrBuilder(
          int index) {
        if (stampBuilder_ == null) {
          return stamp_.get(index);  } else {
          return stampBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestStamp stamp = 3;
       */
      public java.util.List 
           getStampOrBuilderList() {
        if (stampBuilder_ != null) {
          return stampBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(stamp_);
        }
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestStamp stamp = 3;
       */
      public POGOProtos.Data.Quests.QuestStampOuterClass.QuestStamp.Builder addStampBuilder() {
        return getStampFieldBuilder().addBuilder(
            POGOProtos.Data.Quests.QuestStampOuterClass.QuestStamp.getDefaultInstance());
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestStamp stamp = 3;
       */
      public POGOProtos.Data.Quests.QuestStampOuterClass.QuestStamp.Builder addStampBuilder(
          int index) {
        return getStampFieldBuilder().addBuilder(
            index, POGOProtos.Data.Quests.QuestStampOuterClass.QuestStamp.getDefaultInstance());
      }
      /**
       * repeated .POGOProtos.Data.Quests.QuestStamp stamp = 3;
       */
      public java.util.List 
           getStampBuilderList() {
        return getStampFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          POGOProtos.Data.Quests.QuestStampOuterClass.QuestStamp, POGOProtos.Data.Quests.QuestStampOuterClass.QuestStamp.Builder, POGOProtos.Data.Quests.QuestStampOuterClass.QuestStampOrBuilder> 
          getStampFieldBuilder() {
        if (stampBuilder_ == null) {
          stampBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              POGOProtos.Data.Quests.QuestStampOuterClass.QuestStamp, POGOProtos.Data.Quests.QuestStampOuterClass.QuestStamp.Builder, POGOProtos.Data.Quests.QuestStampOuterClass.QuestStampOrBuilder>(
                  stamp_,
                  ((bitField0_ & 0x00000004) == 0x00000004),
                  getParentForChildren(),
                  isClean());
          stamp_ = null;
        }
        return stampBuilder_;
      }
      @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.CompleteQuestLogEntry)
    }

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

    public static POGOProtos.Data.Logs.CompleteQuestLogEntryOuterClass.CompleteQuestLogEntry getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_POGOProtos_Data_Logs_CompleteQuestLogEntry_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_POGOProtos_Data_Logs_CompleteQuestLogEntry_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n0POGOProtos/Data/Logs/CompleteQuestLogE" +
      "ntry.proto\022\024POGOProtos.Data.Logs\032(POGOPr" +
      "otos/Data/Quests/ClientQuest.proto\032\'POGO" +
      "Protos/Data/Quests/QuestStamp.proto\"\344\001\n\025" +
      "CompleteQuestLogEntry\022B\n\006result\030\001 \001(\01622." +
      "POGOProtos.Data.Logs.CompleteQuestLogEnt" +
      "ry.Result\0222\n\005quest\030\002 \001(\0132#.POGOProtos.Da" +
      "ta.Quests.ClientQuest\0221\n\005stamp\030\003 \003(\0132\".P" +
      "OGOProtos.Data.Quests.QuestStamp\" \n\006Resu" +
      "lt\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.ClientQuestOuterClass.getDescriptor(),
          POGOProtos.Data.Quests.QuestStampOuterClass.getDescriptor(),
        }, assigner);
    internal_static_POGOProtos_Data_Logs_CompleteQuestLogEntry_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_POGOProtos_Data_Logs_CompleteQuestLogEntry_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_POGOProtos_Data_Logs_CompleteQuestLogEntry_descriptor,
        new java.lang.String[] { "Result", "Quest", "Stamp", });
    POGOProtos.Data.Quests.ClientQuestOuterClass.getDescriptor();
    POGOProtos.Data.Quests.QuestStampOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy