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

POGOProtos.Data.Capture.CaptureScoreOuterClass Maven / Gradle / Ivy

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

package POGOProtos.Data.Capture;

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

    /**
     * repeated .POGOProtos.Enums.ActivityType activity_type = 1;
     */
    java.util.List getActivityTypeList();
    /**
     * repeated .POGOProtos.Enums.ActivityType activity_type = 1;
     */
    int getActivityTypeCount();
    /**
     * repeated .POGOProtos.Enums.ActivityType activity_type = 1;
     */
    POGOProtos.Enums.ActivityTypeOuterClass.ActivityType getActivityType(int index);
    /**
     * repeated .POGOProtos.Enums.ActivityType activity_type = 1;
     */
    java.util.List
    getActivityTypeValueList();
    /**
     * repeated .POGOProtos.Enums.ActivityType activity_type = 1;
     */
    int getActivityTypeValue(int index);

    /**
     * repeated int32 exp = 2;
     */
    java.util.List getExpList();
    /**
     * repeated int32 exp = 2;
     */
    int getExpCount();
    /**
     * repeated int32 exp = 2;
     */
    int getExp(int index);

    /**
     * repeated int32 candy = 3;
     */
    java.util.List getCandyList();
    /**
     * repeated int32 candy = 3;
     */
    int getCandyCount();
    /**
     * repeated int32 candy = 3;
     */
    int getCandy(int index);

    /**
     * repeated int32 stardust = 4;
     */
    java.util.List getStardustList();
    /**
     * repeated int32 stardust = 4;
     */
    int getStardustCount();
    /**
     * repeated int32 stardust = 4;
     */
    int getStardust(int index);
  }
  /**
   * Protobuf type {@code POGOProtos.Data.Capture.CaptureScore}
   */
  public  static final class CaptureScore extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:POGOProtos.Data.Capture.CaptureScore)
      CaptureScoreOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use CaptureScore.newBuilder() to construct.
    private CaptureScore(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private CaptureScore() {
      activityType_ = java.util.Collections.emptyList();
      exp_ = java.util.Collections.emptyList();
      candy_ = java.util.Collections.emptyList();
      stardust_ = java.util.Collections.emptyList();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private CaptureScore(
        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();
              if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
                activityType_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000001;
              }
              activityType_.add(rawValue);
              break;
            }
            case 10: {
              int length = input.readRawVarint32();
              int oldLimit = input.pushLimit(length);
              while(input.getBytesUntilLimit() > 0) {
                int rawValue = input.readEnum();
                if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
                  activityType_ = new java.util.ArrayList();
                  mutable_bitField0_ |= 0x00000001;
                }
                activityType_.add(rawValue);
              }
              input.popLimit(oldLimit);
              break;
            }
            case 16: {
              if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
                exp_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000002;
              }
              exp_.add(input.readInt32());
              break;
            }
            case 18: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000002) == 0x00000002) && input.getBytesUntilLimit() > 0) {
                exp_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000002;
              }
              while (input.getBytesUntilLimit() > 0) {
                exp_.add(input.readInt32());
              }
              input.popLimit(limit);
              break;
            }
            case 24: {
              if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
                candy_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000004;
              }
              candy_.add(input.readInt32());
              break;
            }
            case 26: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000004) == 0x00000004) && input.getBytesUntilLimit() > 0) {
                candy_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000004;
              }
              while (input.getBytesUntilLimit() > 0) {
                candy_.add(input.readInt32());
              }
              input.popLimit(limit);
              break;
            }
            case 32: {
              if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
                stardust_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000008;
              }
              stardust_.add(input.readInt32());
              break;
            }
            case 34: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000008) == 0x00000008) && input.getBytesUntilLimit() > 0) {
                stardust_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000008;
              }
              while (input.getBytesUntilLimit() > 0) {
                stardust_.add(input.readInt32());
              }
              input.popLimit(limit);
              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)) {
          activityType_ = java.util.Collections.unmodifiableList(activityType_);
        }
        if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
          exp_ = java.util.Collections.unmodifiableList(exp_);
        }
        if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
          candy_ = java.util.Collections.unmodifiableList(candy_);
        }
        if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
          stardust_ = java.util.Collections.unmodifiableList(stardust_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return POGOProtos.Data.Capture.CaptureScoreOuterClass.internal_static_POGOProtos_Data_Capture_CaptureScore_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return POGOProtos.Data.Capture.CaptureScoreOuterClass.internal_static_POGOProtos_Data_Capture_CaptureScore_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              POGOProtos.Data.Capture.CaptureScoreOuterClass.CaptureScore.class, POGOProtos.Data.Capture.CaptureScoreOuterClass.CaptureScore.Builder.class);
    }

    public static final int ACTIVITY_TYPE_FIELD_NUMBER = 1;
    private java.util.List activityType_;
    private static final com.google.protobuf.Internal.ListAdapter.Converter<
        java.lang.Integer, POGOProtos.Enums.ActivityTypeOuterClass.ActivityType> activityType_converter_ =
            new com.google.protobuf.Internal.ListAdapter.Converter<
                java.lang.Integer, POGOProtos.Enums.ActivityTypeOuterClass.ActivityType>() {
              public POGOProtos.Enums.ActivityTypeOuterClass.ActivityType convert(java.lang.Integer from) {
                @SuppressWarnings("deprecation")
                POGOProtos.Enums.ActivityTypeOuterClass.ActivityType result = POGOProtos.Enums.ActivityTypeOuterClass.ActivityType.valueOf(from);
                return result == null ? POGOProtos.Enums.ActivityTypeOuterClass.ActivityType.UNRECOGNIZED : result;
              }
            };
    /**
     * repeated .POGOProtos.Enums.ActivityType activity_type = 1;
     */
    public java.util.List getActivityTypeList() {
      return new com.google.protobuf.Internal.ListAdapter<
          java.lang.Integer, POGOProtos.Enums.ActivityTypeOuterClass.ActivityType>(activityType_, activityType_converter_);
    }
    /**
     * repeated .POGOProtos.Enums.ActivityType activity_type = 1;
     */
    public int getActivityTypeCount() {
      return activityType_.size();
    }
    /**
     * repeated .POGOProtos.Enums.ActivityType activity_type = 1;
     */
    public POGOProtos.Enums.ActivityTypeOuterClass.ActivityType getActivityType(int index) {
      return activityType_converter_.convert(activityType_.get(index));
    }
    /**
     * repeated .POGOProtos.Enums.ActivityType activity_type = 1;
     */
    public java.util.List
    getActivityTypeValueList() {
      return activityType_;
    }
    /**
     * repeated .POGOProtos.Enums.ActivityType activity_type = 1;
     */
    public int getActivityTypeValue(int index) {
      return activityType_.get(index);
    }
    private int activityTypeMemoizedSerializedSize;

    public static final int EXP_FIELD_NUMBER = 2;
    private java.util.List exp_;
    /**
     * repeated int32 exp = 2;
     */
    public java.util.List
        getExpList() {
      return exp_;
    }
    /**
     * repeated int32 exp = 2;
     */
    public int getExpCount() {
      return exp_.size();
    }
    /**
     * repeated int32 exp = 2;
     */
    public int getExp(int index) {
      return exp_.get(index);
    }
    private int expMemoizedSerializedSize = -1;

    public static final int CANDY_FIELD_NUMBER = 3;
    private java.util.List candy_;
    /**
     * repeated int32 candy = 3;
     */
    public java.util.List
        getCandyList() {
      return candy_;
    }
    /**
     * repeated int32 candy = 3;
     */
    public int getCandyCount() {
      return candy_.size();
    }
    /**
     * repeated int32 candy = 3;
     */
    public int getCandy(int index) {
      return candy_.get(index);
    }
    private int candyMemoizedSerializedSize = -1;

    public static final int STARDUST_FIELD_NUMBER = 4;
    private java.util.List stardust_;
    /**
     * repeated int32 stardust = 4;
     */
    public java.util.List
        getStardustList() {
      return stardust_;
    }
    /**
     * repeated int32 stardust = 4;
     */
    public int getStardustCount() {
      return stardust_.size();
    }
    /**
     * repeated int32 stardust = 4;
     */
    public int getStardust(int index) {
      return stardust_.get(index);
    }
    private int stardustMemoizedSerializedSize = -1;

    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 {
      getSerializedSize();
      if (getActivityTypeList().size() > 0) {
        output.writeUInt32NoTag(10);
        output.writeUInt32NoTag(activityTypeMemoizedSerializedSize);
      }
      for (int i = 0; i < activityType_.size(); i++) {
        output.writeEnumNoTag(activityType_.get(i));
      }
      if (getExpList().size() > 0) {
        output.writeUInt32NoTag(18);
        output.writeUInt32NoTag(expMemoizedSerializedSize);
      }
      for (int i = 0; i < exp_.size(); i++) {
        output.writeInt32NoTag(exp_.get(i));
      }
      if (getCandyList().size() > 0) {
        output.writeUInt32NoTag(26);
        output.writeUInt32NoTag(candyMemoizedSerializedSize);
      }
      for (int i = 0; i < candy_.size(); i++) {
        output.writeInt32NoTag(candy_.get(i));
      }
      if (getStardustList().size() > 0) {
        output.writeUInt32NoTag(34);
        output.writeUInt32NoTag(stardustMemoizedSerializedSize);
      }
      for (int i = 0; i < stardust_.size(); i++) {
        output.writeInt32NoTag(stardust_.get(i));
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      {
        int dataSize = 0;
        for (int i = 0; i < activityType_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeEnumSizeNoTag(activityType_.get(i));
        }
        size += dataSize;
        if (!getActivityTypeList().isEmpty()) {  size += 1;
          size += com.google.protobuf.CodedOutputStream
            .computeUInt32SizeNoTag(dataSize);
        }activityTypeMemoizedSerializedSize = dataSize;
      }
      {
        int dataSize = 0;
        for (int i = 0; i < exp_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeInt32SizeNoTag(exp_.get(i));
        }
        size += dataSize;
        if (!getExpList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream
              .computeInt32SizeNoTag(dataSize);
        }
        expMemoizedSerializedSize = dataSize;
      }
      {
        int dataSize = 0;
        for (int i = 0; i < candy_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeInt32SizeNoTag(candy_.get(i));
        }
        size += dataSize;
        if (!getCandyList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream
              .computeInt32SizeNoTag(dataSize);
        }
        candyMemoizedSerializedSize = dataSize;
      }
      {
        int dataSize = 0;
        for (int i = 0; i < stardust_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeInt32SizeNoTag(stardust_.get(i));
        }
        size += dataSize;
        if (!getStardustList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream
              .computeInt32SizeNoTag(dataSize);
        }
        stardustMemoizedSerializedSize = dataSize;
      }
      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.Capture.CaptureScoreOuterClass.CaptureScore)) {
        return super.equals(obj);
      }
      POGOProtos.Data.Capture.CaptureScoreOuterClass.CaptureScore other = (POGOProtos.Data.Capture.CaptureScoreOuterClass.CaptureScore) obj;

      boolean result = true;
      result = result && activityType_.equals(other.activityType_);
      result = result && getExpList()
          .equals(other.getExpList());
      result = result && getCandyList()
          .equals(other.getCandyList());
      result = result && getStardustList()
          .equals(other.getStardustList());
      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 (getActivityTypeCount() > 0) {
        hash = (37 * hash) + ACTIVITY_TYPE_FIELD_NUMBER;
        hash = (53 * hash) + activityType_.hashCode();
      }
      if (getExpCount() > 0) {
        hash = (37 * hash) + EXP_FIELD_NUMBER;
        hash = (53 * hash) + getExpList().hashCode();
      }
      if (getCandyCount() > 0) {
        hash = (37 * hash) + CANDY_FIELD_NUMBER;
        hash = (53 * hash) + getCandyList().hashCode();
      }
      if (getStardustCount() > 0) {
        hash = (37 * hash) + STARDUST_FIELD_NUMBER;
        hash = (53 * hash) + getStardustList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return POGOProtos.Data.Capture.CaptureScoreOuterClass.internal_static_POGOProtos_Data_Capture_CaptureScore_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                POGOProtos.Data.Capture.CaptureScoreOuterClass.CaptureScore.class, POGOProtos.Data.Capture.CaptureScoreOuterClass.CaptureScore.Builder.class);
      }

      // Construct using POGOProtos.Data.Capture.CaptureScoreOuterClass.CaptureScore.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        activityType_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        exp_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000002);
        candy_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000004);
        stardust_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000008);
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return POGOProtos.Data.Capture.CaptureScoreOuterClass.internal_static_POGOProtos_Data_Capture_CaptureScore_descriptor;
      }

      @java.lang.Override
      public POGOProtos.Data.Capture.CaptureScoreOuterClass.CaptureScore getDefaultInstanceForType() {
        return POGOProtos.Data.Capture.CaptureScoreOuterClass.CaptureScore.getDefaultInstance();
      }

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

      @java.lang.Override
      public POGOProtos.Data.Capture.CaptureScoreOuterClass.CaptureScore buildPartial() {
        POGOProtos.Data.Capture.CaptureScoreOuterClass.CaptureScore result = new POGOProtos.Data.Capture.CaptureScoreOuterClass.CaptureScore(this);
        int from_bitField0_ = bitField0_;
        if (((bitField0_ & 0x00000001) == 0x00000001)) {
          activityType_ = java.util.Collections.unmodifiableList(activityType_);
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.activityType_ = activityType_;
        if (((bitField0_ & 0x00000002) == 0x00000002)) {
          exp_ = java.util.Collections.unmodifiableList(exp_);
          bitField0_ = (bitField0_ & ~0x00000002);
        }
        result.exp_ = exp_;
        if (((bitField0_ & 0x00000004) == 0x00000004)) {
          candy_ = java.util.Collections.unmodifiableList(candy_);
          bitField0_ = (bitField0_ & ~0x00000004);
        }
        result.candy_ = candy_;
        if (((bitField0_ & 0x00000008) == 0x00000008)) {
          stardust_ = java.util.Collections.unmodifiableList(stardust_);
          bitField0_ = (bitField0_ & ~0x00000008);
        }
        result.stardust_ = stardust_;
        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.Capture.CaptureScoreOuterClass.CaptureScore) {
          return mergeFrom((POGOProtos.Data.Capture.CaptureScoreOuterClass.CaptureScore)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(POGOProtos.Data.Capture.CaptureScoreOuterClass.CaptureScore other) {
        if (other == POGOProtos.Data.Capture.CaptureScoreOuterClass.CaptureScore.getDefaultInstance()) return this;
        if (!other.activityType_.isEmpty()) {
          if (activityType_.isEmpty()) {
            activityType_ = other.activityType_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureActivityTypeIsMutable();
            activityType_.addAll(other.activityType_);
          }
          onChanged();
        }
        if (!other.exp_.isEmpty()) {
          if (exp_.isEmpty()) {
            exp_ = other.exp_;
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            ensureExpIsMutable();
            exp_.addAll(other.exp_);
          }
          onChanged();
        }
        if (!other.candy_.isEmpty()) {
          if (candy_.isEmpty()) {
            candy_ = other.candy_;
            bitField0_ = (bitField0_ & ~0x00000004);
          } else {
            ensureCandyIsMutable();
            candy_.addAll(other.candy_);
          }
          onChanged();
        }
        if (!other.stardust_.isEmpty()) {
          if (stardust_.isEmpty()) {
            stardust_ = other.stardust_;
            bitField0_ = (bitField0_ & ~0x00000008);
          } else {
            ensureStardustIsMutable();
            stardust_.addAll(other.stardust_);
          }
          onChanged();
        }
        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.Capture.CaptureScoreOuterClass.CaptureScore parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (POGOProtos.Data.Capture.CaptureScoreOuterClass.CaptureScore) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.util.List activityType_ =
        java.util.Collections.emptyList();
      private void ensureActivityTypeIsMutable() {
        if (!((bitField0_ & 0x00000001) == 0x00000001)) {
          activityType_ = new java.util.ArrayList(activityType_);
          bitField0_ |= 0x00000001;
        }
      }
      /**
       * repeated .POGOProtos.Enums.ActivityType activity_type = 1;
       */
      public java.util.List getActivityTypeList() {
        return new com.google.protobuf.Internal.ListAdapter<
            java.lang.Integer, POGOProtos.Enums.ActivityTypeOuterClass.ActivityType>(activityType_, activityType_converter_);
      }
      /**
       * repeated .POGOProtos.Enums.ActivityType activity_type = 1;
       */
      public int getActivityTypeCount() {
        return activityType_.size();
      }
      /**
       * repeated .POGOProtos.Enums.ActivityType activity_type = 1;
       */
      public POGOProtos.Enums.ActivityTypeOuterClass.ActivityType getActivityType(int index) {
        return activityType_converter_.convert(activityType_.get(index));
      }
      /**
       * repeated .POGOProtos.Enums.ActivityType activity_type = 1;
       */
      public Builder setActivityType(
          int index, POGOProtos.Enums.ActivityTypeOuterClass.ActivityType value) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureActivityTypeIsMutable();
        activityType_.set(index, value.getNumber());
        onChanged();
        return this;
      }
      /**
       * repeated .POGOProtos.Enums.ActivityType activity_type = 1;
       */
      public Builder addActivityType(POGOProtos.Enums.ActivityTypeOuterClass.ActivityType value) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureActivityTypeIsMutable();
        activityType_.add(value.getNumber());
        onChanged();
        return this;
      }
      /**
       * repeated .POGOProtos.Enums.ActivityType activity_type = 1;
       */
      public Builder addAllActivityType(
          java.lang.Iterable values) {
        ensureActivityTypeIsMutable();
        for (POGOProtos.Enums.ActivityTypeOuterClass.ActivityType value : values) {
          activityType_.add(value.getNumber());
        }
        onChanged();
        return this;
      }
      /**
       * repeated .POGOProtos.Enums.ActivityType activity_type = 1;
       */
      public Builder clearActivityType() {
        activityType_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }
      /**
       * repeated .POGOProtos.Enums.ActivityType activity_type = 1;
       */
      public java.util.List
      getActivityTypeValueList() {
        return java.util.Collections.unmodifiableList(activityType_);
      }
      /**
       * repeated .POGOProtos.Enums.ActivityType activity_type = 1;
       */
      public int getActivityTypeValue(int index) {
        return activityType_.get(index);
      }
      /**
       * repeated .POGOProtos.Enums.ActivityType activity_type = 1;
       */
      public Builder setActivityTypeValue(
          int index, int value) {
        ensureActivityTypeIsMutable();
        activityType_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * repeated .POGOProtos.Enums.ActivityType activity_type = 1;
       */
      public Builder addActivityTypeValue(int value) {
        ensureActivityTypeIsMutable();
        activityType_.add(value);
        onChanged();
        return this;
      }
      /**
       * repeated .POGOProtos.Enums.ActivityType activity_type = 1;
       */
      public Builder addAllActivityTypeValue(
          java.lang.Iterable values) {
        ensureActivityTypeIsMutable();
        for (int value : values) {
          activityType_.add(value);
        }
        onChanged();
        return this;
      }

      private java.util.List exp_ = java.util.Collections.emptyList();
      private void ensureExpIsMutable() {
        if (!((bitField0_ & 0x00000002) == 0x00000002)) {
          exp_ = new java.util.ArrayList(exp_);
          bitField0_ |= 0x00000002;
         }
      }
      /**
       * repeated int32 exp = 2;
       */
      public java.util.List
          getExpList() {
        return java.util.Collections.unmodifiableList(exp_);
      }
      /**
       * repeated int32 exp = 2;
       */
      public int getExpCount() {
        return exp_.size();
      }
      /**
       * repeated int32 exp = 2;
       */
      public int getExp(int index) {
        return exp_.get(index);
      }
      /**
       * repeated int32 exp = 2;
       */
      public Builder setExp(
          int index, int value) {
        ensureExpIsMutable();
        exp_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * repeated int32 exp = 2;
       */
      public Builder addExp(int value) {
        ensureExpIsMutable();
        exp_.add(value);
        onChanged();
        return this;
      }
      /**
       * repeated int32 exp = 2;
       */
      public Builder addAllExp(
          java.lang.Iterable values) {
        ensureExpIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, exp_);
        onChanged();
        return this;
      }
      /**
       * repeated int32 exp = 2;
       */
      public Builder clearExp() {
        exp_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
        return this;
      }

      private java.util.List candy_ = java.util.Collections.emptyList();
      private void ensureCandyIsMutable() {
        if (!((bitField0_ & 0x00000004) == 0x00000004)) {
          candy_ = new java.util.ArrayList(candy_);
          bitField0_ |= 0x00000004;
         }
      }
      /**
       * repeated int32 candy = 3;
       */
      public java.util.List
          getCandyList() {
        return java.util.Collections.unmodifiableList(candy_);
      }
      /**
       * repeated int32 candy = 3;
       */
      public int getCandyCount() {
        return candy_.size();
      }
      /**
       * repeated int32 candy = 3;
       */
      public int getCandy(int index) {
        return candy_.get(index);
      }
      /**
       * repeated int32 candy = 3;
       */
      public Builder setCandy(
          int index, int value) {
        ensureCandyIsMutable();
        candy_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * repeated int32 candy = 3;
       */
      public Builder addCandy(int value) {
        ensureCandyIsMutable();
        candy_.add(value);
        onChanged();
        return this;
      }
      /**
       * repeated int32 candy = 3;
       */
      public Builder addAllCandy(
          java.lang.Iterable values) {
        ensureCandyIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, candy_);
        onChanged();
        return this;
      }
      /**
       * repeated int32 candy = 3;
       */
      public Builder clearCandy() {
        candy_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000004);
        onChanged();
        return this;
      }

      private java.util.List stardust_ = java.util.Collections.emptyList();
      private void ensureStardustIsMutable() {
        if (!((bitField0_ & 0x00000008) == 0x00000008)) {
          stardust_ = new java.util.ArrayList(stardust_);
          bitField0_ |= 0x00000008;
         }
      }
      /**
       * repeated int32 stardust = 4;
       */
      public java.util.List
          getStardustList() {
        return java.util.Collections.unmodifiableList(stardust_);
      }
      /**
       * repeated int32 stardust = 4;
       */
      public int getStardustCount() {
        return stardust_.size();
      }
      /**
       * repeated int32 stardust = 4;
       */
      public int getStardust(int index) {
        return stardust_.get(index);
      }
      /**
       * repeated int32 stardust = 4;
       */
      public Builder setStardust(
          int index, int value) {
        ensureStardustIsMutable();
        stardust_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * repeated int32 stardust = 4;
       */
      public Builder addStardust(int value) {
        ensureStardustIsMutable();
        stardust_.add(value);
        onChanged();
        return this;
      }
      /**
       * repeated int32 stardust = 4;
       */
      public Builder addAllStardust(
          java.lang.Iterable values) {
        ensureStardustIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, stardust_);
        onChanged();
        return this;
      }
      /**
       * repeated int32 stardust = 4;
       */
      public Builder clearStardust() {
        stardust_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000008);
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFieldsProto3(unknownFields);
      }

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


      // @@protoc_insertion_point(builder_scope:POGOProtos.Data.Capture.CaptureScore)
    }

    // @@protoc_insertion_point(class_scope:POGOProtos.Data.Capture.CaptureScore)
    private static final POGOProtos.Data.Capture.CaptureScoreOuterClass.CaptureScore DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new POGOProtos.Data.Capture.CaptureScoreOuterClass.CaptureScore();
    }

    public static POGOProtos.Data.Capture.CaptureScoreOuterClass.CaptureScore getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_POGOProtos_Data_Capture_CaptureScore_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_POGOProtos_Data_Capture_CaptureScore_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/Capture/CaptureScore.p" +
      "roto\022\027POGOProtos.Data.Capture\032#POGOProto" +
      "s/Enums/ActivityType.proto\"s\n\014CaptureSco" +
      "re\0225\n\ractivity_type\030\001 \003(\0162\036.POGOProtos.E" +
      "nums.ActivityType\022\013\n\003exp\030\002 \003(\005\022\r\n\005candy\030" +
      "\003 \003(\005\022\020\n\010stardust\030\004 \003(\005b\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.Enums.ActivityTypeOuterClass.getDescriptor(),
        }, assigner);
    internal_static_POGOProtos_Data_Capture_CaptureScore_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_POGOProtos_Data_Capture_CaptureScore_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_POGOProtos_Data_Capture_CaptureScore_descriptor,
        new java.lang.String[] { "ActivityType", "Exp", "Candy", "Stardust", });
    POGOProtos.Enums.ActivityTypeOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy