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

POGOProtos.Data.Raid.PlayerRaidInfoOuterClass Maven / Gradle / Ivy

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

package POGOProtos.Data.Raid;

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

    /**
     * int32 total_completed_raids = 3;
     */
    int getTotalCompletedRaids();

    /**
     * int32 total_completed_legendary_raids = 4;
     */
    int getTotalCompletedLegendaryRaids();

    /**
     * repeated .POGOProtos.Data.Raid.Raid raids = 5;
     */
    java.util.List 
        getRaidsList();
    /**
     * repeated .POGOProtos.Data.Raid.Raid raids = 5;
     */
    POGOProtos.Data.Raid.RaidOuterClass.Raid getRaids(int index);
    /**
     * repeated .POGOProtos.Data.Raid.Raid raids = 5;
     */
    int getRaidsCount();
    /**
     * repeated .POGOProtos.Data.Raid.Raid raids = 5;
     */
    java.util.List 
        getRaidsOrBuilderList();
    /**
     * repeated .POGOProtos.Data.Raid.Raid raids = 5;
     */
    POGOProtos.Data.Raid.RaidOuterClass.RaidOrBuilder getRaidsOrBuilder(
        int index);
  }
  /**
   * Protobuf type {@code POGOProtos.Data.Raid.PlayerRaidInfo}
   */
  public  static final class PlayerRaidInfo extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:POGOProtos.Data.Raid.PlayerRaidInfo)
      PlayerRaidInfoOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use PlayerRaidInfo.newBuilder() to construct.
    private PlayerRaidInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private PlayerRaidInfo() {
      totalCompletedRaids_ = 0;
      totalCompletedLegendaryRaids_ = 0;
      raids_ = java.util.Collections.emptyList();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private PlayerRaidInfo(
        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 24: {

              totalCompletedRaids_ = input.readInt32();
              break;
            }
            case 32: {

              totalCompletedLegendaryRaids_ = input.readInt32();
              break;
            }
            case 42: {
              if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
                raids_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000004;
              }
              raids_.add(
                  input.readMessage(POGOProtos.Data.Raid.RaidOuterClass.Raid.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)) {
          raids_ = java.util.Collections.unmodifiableList(raids_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.internal_static_POGOProtos_Data_Raid_PlayerRaidInfo_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.internal_static_POGOProtos_Data_Raid_PlayerRaidInfo_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfo.class, POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfo.Builder.class);
    }

    private int bitField0_;
    public static final int TOTAL_COMPLETED_RAIDS_FIELD_NUMBER = 3;
    private int totalCompletedRaids_;
    /**
     * int32 total_completed_raids = 3;
     */
    public int getTotalCompletedRaids() {
      return totalCompletedRaids_;
    }

    public static final int TOTAL_COMPLETED_LEGENDARY_RAIDS_FIELD_NUMBER = 4;
    private int totalCompletedLegendaryRaids_;
    /**
     * int32 total_completed_legendary_raids = 4;
     */
    public int getTotalCompletedLegendaryRaids() {
      return totalCompletedLegendaryRaids_;
    }

    public static final int RAIDS_FIELD_NUMBER = 5;
    private java.util.List raids_;
    /**
     * repeated .POGOProtos.Data.Raid.Raid raids = 5;
     */
    public java.util.List getRaidsList() {
      return raids_;
    }
    /**
     * repeated .POGOProtos.Data.Raid.Raid raids = 5;
     */
    public java.util.List 
        getRaidsOrBuilderList() {
      return raids_;
    }
    /**
     * repeated .POGOProtos.Data.Raid.Raid raids = 5;
     */
    public int getRaidsCount() {
      return raids_.size();
    }
    /**
     * repeated .POGOProtos.Data.Raid.Raid raids = 5;
     */
    public POGOProtos.Data.Raid.RaidOuterClass.Raid getRaids(int index) {
      return raids_.get(index);
    }
    /**
     * repeated .POGOProtos.Data.Raid.Raid raids = 5;
     */
    public POGOProtos.Data.Raid.RaidOuterClass.RaidOrBuilder getRaidsOrBuilder(
        int index) {
      return raids_.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 (totalCompletedRaids_ != 0) {
        output.writeInt32(3, totalCompletedRaids_);
      }
      if (totalCompletedLegendaryRaids_ != 0) {
        output.writeInt32(4, totalCompletedLegendaryRaids_);
      }
      for (int i = 0; i < raids_.size(); i++) {
        output.writeMessage(5, raids_.get(i));
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (totalCompletedRaids_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(3, totalCompletedRaids_);
      }
      if (totalCompletedLegendaryRaids_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(4, totalCompletedLegendaryRaids_);
      }
      for (int i = 0; i < raids_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(5, raids_.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.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfo)) {
        return super.equals(obj);
      }
      POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfo other = (POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfo) obj;

      boolean result = true;
      result = result && (getTotalCompletedRaids()
          == other.getTotalCompletedRaids());
      result = result && (getTotalCompletedLegendaryRaids()
          == other.getTotalCompletedLegendaryRaids());
      result = result && getRaidsList()
          .equals(other.getRaidsList());
      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) + TOTAL_COMPLETED_RAIDS_FIELD_NUMBER;
      hash = (53 * hash) + getTotalCompletedRaids();
      hash = (37 * hash) + TOTAL_COMPLETED_LEGENDARY_RAIDS_FIELD_NUMBER;
      hash = (53 * hash) + getTotalCompletedLegendaryRaids();
      if (getRaidsCount() > 0) {
        hash = (37 * hash) + RAIDS_FIELD_NUMBER;
        hash = (53 * hash) + getRaidsList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.internal_static_POGOProtos_Data_Raid_PlayerRaidInfo_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfo.class, POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfo.Builder.class);
      }

      // Construct using POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfo.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

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

        totalCompletedLegendaryRaids_ = 0;

        if (raidsBuilder_ == null) {
          raids_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000004);
        } else {
          raidsBuilder_.clear();
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.internal_static_POGOProtos_Data_Raid_PlayerRaidInfo_descriptor;
      }

      @java.lang.Override
      public POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfo getDefaultInstanceForType() {
        return POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfo.getDefaultInstance();
      }

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

      @java.lang.Override
      public POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfo buildPartial() {
        POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfo result = new POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfo(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        result.totalCompletedRaids_ = totalCompletedRaids_;
        result.totalCompletedLegendaryRaids_ = totalCompletedLegendaryRaids_;
        if (raidsBuilder_ == null) {
          if (((bitField0_ & 0x00000004) == 0x00000004)) {
            raids_ = java.util.Collections.unmodifiableList(raids_);
            bitField0_ = (bitField0_ & ~0x00000004);
          }
          result.raids_ = raids_;
        } else {
          result.raids_ = raidsBuilder_.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.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfo) {
          return mergeFrom((POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfo)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfo other) {
        if (other == POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfo.getDefaultInstance()) return this;
        if (other.getTotalCompletedRaids() != 0) {
          setTotalCompletedRaids(other.getTotalCompletedRaids());
        }
        if (other.getTotalCompletedLegendaryRaids() != 0) {
          setTotalCompletedLegendaryRaids(other.getTotalCompletedLegendaryRaids());
        }
        if (raidsBuilder_ == null) {
          if (!other.raids_.isEmpty()) {
            if (raids_.isEmpty()) {
              raids_ = other.raids_;
              bitField0_ = (bitField0_ & ~0x00000004);
            } else {
              ensureRaidsIsMutable();
              raids_.addAll(other.raids_);
            }
            onChanged();
          }
        } else {
          if (!other.raids_.isEmpty()) {
            if (raidsBuilder_.isEmpty()) {
              raidsBuilder_.dispose();
              raidsBuilder_ = null;
              raids_ = other.raids_;
              bitField0_ = (bitField0_ & ~0x00000004);
              raidsBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getRaidsFieldBuilder() : null;
            } else {
              raidsBuilder_.addAllMessages(other.raids_);
            }
          }
        }
        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.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfo parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfo) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private int totalCompletedRaids_ ;
      /**
       * int32 total_completed_raids = 3;
       */
      public int getTotalCompletedRaids() {
        return totalCompletedRaids_;
      }
      /**
       * int32 total_completed_raids = 3;
       */
      public Builder setTotalCompletedRaids(int value) {
        
        totalCompletedRaids_ = value;
        onChanged();
        return this;
      }
      /**
       * int32 total_completed_raids = 3;
       */
      public Builder clearTotalCompletedRaids() {
        
        totalCompletedRaids_ = 0;
        onChanged();
        return this;
      }

      private int totalCompletedLegendaryRaids_ ;
      /**
       * int32 total_completed_legendary_raids = 4;
       */
      public int getTotalCompletedLegendaryRaids() {
        return totalCompletedLegendaryRaids_;
      }
      /**
       * int32 total_completed_legendary_raids = 4;
       */
      public Builder setTotalCompletedLegendaryRaids(int value) {
        
        totalCompletedLegendaryRaids_ = value;
        onChanged();
        return this;
      }
      /**
       * int32 total_completed_legendary_raids = 4;
       */
      public Builder clearTotalCompletedLegendaryRaids() {
        
        totalCompletedLegendaryRaids_ = 0;
        onChanged();
        return this;
      }

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

      private com.google.protobuf.RepeatedFieldBuilderV3<
          POGOProtos.Data.Raid.RaidOuterClass.Raid, POGOProtos.Data.Raid.RaidOuterClass.Raid.Builder, POGOProtos.Data.Raid.RaidOuterClass.RaidOrBuilder> raidsBuilder_;

      /**
       * repeated .POGOProtos.Data.Raid.Raid raids = 5;
       */
      public java.util.List getRaidsList() {
        if (raidsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(raids_);
        } else {
          return raidsBuilder_.getMessageList();
        }
      }
      /**
       * repeated .POGOProtos.Data.Raid.Raid raids = 5;
       */
      public int getRaidsCount() {
        if (raidsBuilder_ == null) {
          return raids_.size();
        } else {
          return raidsBuilder_.getCount();
        }
      }
      /**
       * repeated .POGOProtos.Data.Raid.Raid raids = 5;
       */
      public POGOProtos.Data.Raid.RaidOuterClass.Raid getRaids(int index) {
        if (raidsBuilder_ == null) {
          return raids_.get(index);
        } else {
          return raidsBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .POGOProtos.Data.Raid.Raid raids = 5;
       */
      public Builder setRaids(
          int index, POGOProtos.Data.Raid.RaidOuterClass.Raid value) {
        if (raidsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureRaidsIsMutable();
          raids_.set(index, value);
          onChanged();
        } else {
          raidsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Raid.Raid raids = 5;
       */
      public Builder setRaids(
          int index, POGOProtos.Data.Raid.RaidOuterClass.Raid.Builder builderForValue) {
        if (raidsBuilder_ == null) {
          ensureRaidsIsMutable();
          raids_.set(index, builderForValue.build());
          onChanged();
        } else {
          raidsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Raid.Raid raids = 5;
       */
      public Builder addRaids(POGOProtos.Data.Raid.RaidOuterClass.Raid value) {
        if (raidsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureRaidsIsMutable();
          raids_.add(value);
          onChanged();
        } else {
          raidsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Raid.Raid raids = 5;
       */
      public Builder addRaids(
          int index, POGOProtos.Data.Raid.RaidOuterClass.Raid value) {
        if (raidsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureRaidsIsMutable();
          raids_.add(index, value);
          onChanged();
        } else {
          raidsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Raid.Raid raids = 5;
       */
      public Builder addRaids(
          POGOProtos.Data.Raid.RaidOuterClass.Raid.Builder builderForValue) {
        if (raidsBuilder_ == null) {
          ensureRaidsIsMutable();
          raids_.add(builderForValue.build());
          onChanged();
        } else {
          raidsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Raid.Raid raids = 5;
       */
      public Builder addRaids(
          int index, POGOProtos.Data.Raid.RaidOuterClass.Raid.Builder builderForValue) {
        if (raidsBuilder_ == null) {
          ensureRaidsIsMutable();
          raids_.add(index, builderForValue.build());
          onChanged();
        } else {
          raidsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Raid.Raid raids = 5;
       */
      public Builder addAllRaids(
          java.lang.Iterable values) {
        if (raidsBuilder_ == null) {
          ensureRaidsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, raids_);
          onChanged();
        } else {
          raidsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Raid.Raid raids = 5;
       */
      public Builder clearRaids() {
        if (raidsBuilder_ == null) {
          raids_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000004);
          onChanged();
        } else {
          raidsBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Raid.Raid raids = 5;
       */
      public Builder removeRaids(int index) {
        if (raidsBuilder_ == null) {
          ensureRaidsIsMutable();
          raids_.remove(index);
          onChanged();
        } else {
          raidsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Raid.Raid raids = 5;
       */
      public POGOProtos.Data.Raid.RaidOuterClass.Raid.Builder getRaidsBuilder(
          int index) {
        return getRaidsFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .POGOProtos.Data.Raid.Raid raids = 5;
       */
      public POGOProtos.Data.Raid.RaidOuterClass.RaidOrBuilder getRaidsOrBuilder(
          int index) {
        if (raidsBuilder_ == null) {
          return raids_.get(index);  } else {
          return raidsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .POGOProtos.Data.Raid.Raid raids = 5;
       */
      public java.util.List 
           getRaidsOrBuilderList() {
        if (raidsBuilder_ != null) {
          return raidsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(raids_);
        }
      }
      /**
       * repeated .POGOProtos.Data.Raid.Raid raids = 5;
       */
      public POGOProtos.Data.Raid.RaidOuterClass.Raid.Builder addRaidsBuilder() {
        return getRaidsFieldBuilder().addBuilder(
            POGOProtos.Data.Raid.RaidOuterClass.Raid.getDefaultInstance());
      }
      /**
       * repeated .POGOProtos.Data.Raid.Raid raids = 5;
       */
      public POGOProtos.Data.Raid.RaidOuterClass.Raid.Builder addRaidsBuilder(
          int index) {
        return getRaidsFieldBuilder().addBuilder(
            index, POGOProtos.Data.Raid.RaidOuterClass.Raid.getDefaultInstance());
      }
      /**
       * repeated .POGOProtos.Data.Raid.Raid raids = 5;
       */
      public java.util.List 
           getRaidsBuilderList() {
        return getRaidsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          POGOProtos.Data.Raid.RaidOuterClass.Raid, POGOProtos.Data.Raid.RaidOuterClass.Raid.Builder, POGOProtos.Data.Raid.RaidOuterClass.RaidOrBuilder> 
          getRaidsFieldBuilder() {
        if (raidsBuilder_ == null) {
          raidsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              POGOProtos.Data.Raid.RaidOuterClass.Raid, POGOProtos.Data.Raid.RaidOuterClass.Raid.Builder, POGOProtos.Data.Raid.RaidOuterClass.RaidOrBuilder>(
                  raids_,
                  ((bitField0_ & 0x00000004) == 0x00000004),
                  getParentForChildren(),
                  isClean());
          raids_ = null;
        }
        return raidsBuilder_;
      }
      @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.Raid.PlayerRaidInfo)
    }

    // @@protoc_insertion_point(class_scope:POGOProtos.Data.Raid.PlayerRaidInfo)
    private static final POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfo DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfo();
    }

    public static POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfo getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_POGOProtos_Data_Raid_PlayerRaidInfo_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_POGOProtos_Data_Raid_PlayerRaidInfo_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/Raid/PlayerRaidInfo.pr" +
      "oto\022\024POGOProtos.Data.Raid\032\037POGOProtos/Da" +
      "ta/Raid/Raid.proto\"\203\001\n\016PlayerRaidInfo\022\035\n" +
      "\025total_completed_raids\030\003 \001(\005\022\'\n\037total_co" +
      "mpleted_legendary_raids\030\004 \001(\005\022)\n\005raids\030\005" +
      " \003(\0132\032.POGOProtos.Data.Raid.Raidb\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.Raid.RaidOuterClass.getDescriptor(),
        }, assigner);
    internal_static_POGOProtos_Data_Raid_PlayerRaidInfo_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_POGOProtos_Data_Raid_PlayerRaidInfo_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_POGOProtos_Data_Raid_PlayerRaidInfo_descriptor,
        new java.lang.String[] { "TotalCompletedRaids", "TotalCompletedLegendaryRaids", "Raids", });
    POGOProtos.Data.Raid.RaidOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy