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

POGOProtos.Data.Combat.CombatPlayerProfileOuterClass Maven / Gradle / Ivy

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

package POGOProtos.Data.Combat;

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

    /**
     * string player_id = 1;
     */
    java.lang.String getPlayerId();
    /**
     * string player_id = 1;
     */
    com.google.protobuf.ByteString
        getPlayerIdBytes();

    /**
     * .POGOProtos.Data.Player.PlayerPublicProfile public_profile = 2;
     */
    boolean hasPublicProfile();
    /**
     * .POGOProtos.Data.Player.PlayerPublicProfile public_profile = 2;
     */
    POGOProtos.Data.Player.PlayerPublicProfileOuterClass.PlayerPublicProfile getPublicProfile();
    /**
     * .POGOProtos.Data.Player.PlayerPublicProfile public_profile = 2;
     */
    POGOProtos.Data.Player.PlayerPublicProfileOuterClass.PlayerPublicProfileOrBuilder getPublicProfileOrBuilder();

    /**
     * repeated string combat_league_template_id = 3;
     */
    java.util.List
        getCombatLeagueTemplateIdList();
    /**
     * repeated string combat_league_template_id = 3;
     */
    int getCombatLeagueTemplateIdCount();
    /**
     * repeated string combat_league_template_id = 3;
     */
    java.lang.String getCombatLeagueTemplateId(int index);
    /**
     * repeated string combat_league_template_id = 3;
     */
    com.google.protobuf.ByteString
        getCombatLeagueTemplateIdBytes(int index);

    /**
     * fixed64 buddy_pokemon_id = 4;
     */
    long getBuddyPokemonId();

    /**
     * .POGOProtos.Data.Location location = 5;
     */
    boolean hasLocation();
    /**
     * .POGOProtos.Data.Location location = 5;
     */
    POGOProtos.Data.LocationOuterClass.Location getLocation();
    /**
     * .POGOProtos.Data.Location location = 5;
     */
    POGOProtos.Data.LocationOuterClass.LocationOrBuilder getLocationOrBuilder();

    /**
     * .POGOProtos.Data.Combat.CombatPlayerPreferences combat_player_preferences = 6;
     */
    boolean hasCombatPlayerPreferences();
    /**
     * .POGOProtos.Data.Combat.CombatPlayerPreferences combat_player_preferences = 6;
     */
    POGOProtos.Data.Combat.CombatPlayerPreferencesOuterClass.CombatPlayerPreferences getCombatPlayerPreferences();
    /**
     * .POGOProtos.Data.Combat.CombatPlayerPreferences combat_player_preferences = 6;
     */
    POGOProtos.Data.Combat.CombatPlayerPreferencesOuterClass.CombatPlayerPreferencesOrBuilder getCombatPlayerPreferencesOrBuilder();
  }
  /**
   * Protobuf type {@code POGOProtos.Data.Combat.CombatPlayerProfile}
   */
  public  static final class CombatPlayerProfile extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:POGOProtos.Data.Combat.CombatPlayerProfile)
      CombatPlayerProfileOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use CombatPlayerProfile.newBuilder() to construct.
    private CombatPlayerProfile(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private CombatPlayerProfile() {
      playerId_ = "";
      combatLeagueTemplateId_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      buddyPokemonId_ = 0L;
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private CombatPlayerProfile(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              java.lang.String s = input.readStringRequireUtf8();

              playerId_ = s;
              break;
            }
            case 18: {
              POGOProtos.Data.Player.PlayerPublicProfileOuterClass.PlayerPublicProfile.Builder subBuilder = null;
              if (publicProfile_ != null) {
                subBuilder = publicProfile_.toBuilder();
              }
              publicProfile_ = input.readMessage(POGOProtos.Data.Player.PlayerPublicProfileOuterClass.PlayerPublicProfile.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(publicProfile_);
                publicProfile_ = subBuilder.buildPartial();
              }

              break;
            }
            case 26: {
              java.lang.String s = input.readStringRequireUtf8();
              if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
                combatLeagueTemplateId_ = new com.google.protobuf.LazyStringArrayList();
                mutable_bitField0_ |= 0x00000004;
              }
              combatLeagueTemplateId_.add(s);
              break;
            }
            case 33: {

              buddyPokemonId_ = input.readFixed64();
              break;
            }
            case 42: {
              POGOProtos.Data.LocationOuterClass.Location.Builder subBuilder = null;
              if (location_ != null) {
                subBuilder = location_.toBuilder();
              }
              location_ = input.readMessage(POGOProtos.Data.LocationOuterClass.Location.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(location_);
                location_ = subBuilder.buildPartial();
              }

              break;
            }
            case 50: {
              POGOProtos.Data.Combat.CombatPlayerPreferencesOuterClass.CombatPlayerPreferences.Builder subBuilder = null;
              if (combatPlayerPreferences_ != null) {
                subBuilder = combatPlayerPreferences_.toBuilder();
              }
              combatPlayerPreferences_ = input.readMessage(POGOProtos.Data.Combat.CombatPlayerPreferencesOuterClass.CombatPlayerPreferences.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(combatPlayerPreferences_);
                combatPlayerPreferences_ = subBuilder.buildPartial();
              }

              break;
            }
            default: {
              if (!parseUnknownFieldProto3(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
          combatLeagueTemplateId_ = combatLeagueTemplateId_.getUnmodifiableView();
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return POGOProtos.Data.Combat.CombatPlayerProfileOuterClass.internal_static_POGOProtos_Data_Combat_CombatPlayerProfile_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return POGOProtos.Data.Combat.CombatPlayerProfileOuterClass.internal_static_POGOProtos_Data_Combat_CombatPlayerProfile_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              POGOProtos.Data.Combat.CombatPlayerProfileOuterClass.CombatPlayerProfile.class, POGOProtos.Data.Combat.CombatPlayerProfileOuterClass.CombatPlayerProfile.Builder.class);
    }

    private int bitField0_;
    public static final int PLAYER_ID_FIELD_NUMBER = 1;
    private volatile java.lang.Object playerId_;
    /**
     * string player_id = 1;
     */
    public java.lang.String getPlayerId() {
      java.lang.Object ref = playerId_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        playerId_ = s;
        return s;
      }
    }
    /**
     * string player_id = 1;
     */
    public com.google.protobuf.ByteString
        getPlayerIdBytes() {
      java.lang.Object ref = playerId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        playerId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int PUBLIC_PROFILE_FIELD_NUMBER = 2;
    private POGOProtos.Data.Player.PlayerPublicProfileOuterClass.PlayerPublicProfile publicProfile_;
    /**
     * .POGOProtos.Data.Player.PlayerPublicProfile public_profile = 2;
     */
    public boolean hasPublicProfile() {
      return publicProfile_ != null;
    }
    /**
     * .POGOProtos.Data.Player.PlayerPublicProfile public_profile = 2;
     */
    public POGOProtos.Data.Player.PlayerPublicProfileOuterClass.PlayerPublicProfile getPublicProfile() {
      return publicProfile_ == null ? POGOProtos.Data.Player.PlayerPublicProfileOuterClass.PlayerPublicProfile.getDefaultInstance() : publicProfile_;
    }
    /**
     * .POGOProtos.Data.Player.PlayerPublicProfile public_profile = 2;
     */
    public POGOProtos.Data.Player.PlayerPublicProfileOuterClass.PlayerPublicProfileOrBuilder getPublicProfileOrBuilder() {
      return getPublicProfile();
    }

    public static final int COMBAT_LEAGUE_TEMPLATE_ID_FIELD_NUMBER = 3;
    private com.google.protobuf.LazyStringList combatLeagueTemplateId_;
    /**
     * repeated string combat_league_template_id = 3;
     */
    public com.google.protobuf.ProtocolStringList
        getCombatLeagueTemplateIdList() {
      return combatLeagueTemplateId_;
    }
    /**
     * repeated string combat_league_template_id = 3;
     */
    public int getCombatLeagueTemplateIdCount() {
      return combatLeagueTemplateId_.size();
    }
    /**
     * repeated string combat_league_template_id = 3;
     */
    public java.lang.String getCombatLeagueTemplateId(int index) {
      return combatLeagueTemplateId_.get(index);
    }
    /**
     * repeated string combat_league_template_id = 3;
     */
    public com.google.protobuf.ByteString
        getCombatLeagueTemplateIdBytes(int index) {
      return combatLeagueTemplateId_.getByteString(index);
    }

    public static final int BUDDY_POKEMON_ID_FIELD_NUMBER = 4;
    private long buddyPokemonId_;
    /**
     * fixed64 buddy_pokemon_id = 4;
     */
    public long getBuddyPokemonId() {
      return buddyPokemonId_;
    }

    public static final int LOCATION_FIELD_NUMBER = 5;
    private POGOProtos.Data.LocationOuterClass.Location location_;
    /**
     * .POGOProtos.Data.Location location = 5;
     */
    public boolean hasLocation() {
      return location_ != null;
    }
    /**
     * .POGOProtos.Data.Location location = 5;
     */
    public POGOProtos.Data.LocationOuterClass.Location getLocation() {
      return location_ == null ? POGOProtos.Data.LocationOuterClass.Location.getDefaultInstance() : location_;
    }
    /**
     * .POGOProtos.Data.Location location = 5;
     */
    public POGOProtos.Data.LocationOuterClass.LocationOrBuilder getLocationOrBuilder() {
      return getLocation();
    }

    public static final int COMBAT_PLAYER_PREFERENCES_FIELD_NUMBER = 6;
    private POGOProtos.Data.Combat.CombatPlayerPreferencesOuterClass.CombatPlayerPreferences combatPlayerPreferences_;
    /**
     * .POGOProtos.Data.Combat.CombatPlayerPreferences combat_player_preferences = 6;
     */
    public boolean hasCombatPlayerPreferences() {
      return combatPlayerPreferences_ != null;
    }
    /**
     * .POGOProtos.Data.Combat.CombatPlayerPreferences combat_player_preferences = 6;
     */
    public POGOProtos.Data.Combat.CombatPlayerPreferencesOuterClass.CombatPlayerPreferences getCombatPlayerPreferences() {
      return combatPlayerPreferences_ == null ? POGOProtos.Data.Combat.CombatPlayerPreferencesOuterClass.CombatPlayerPreferences.getDefaultInstance() : combatPlayerPreferences_;
    }
    /**
     * .POGOProtos.Data.Combat.CombatPlayerPreferences combat_player_preferences = 6;
     */
    public POGOProtos.Data.Combat.CombatPlayerPreferencesOuterClass.CombatPlayerPreferencesOrBuilder getCombatPlayerPreferencesOrBuilder() {
      return getCombatPlayerPreferences();
    }

    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 (!getPlayerIdBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, playerId_);
      }
      if (publicProfile_ != null) {
        output.writeMessage(2, getPublicProfile());
      }
      for (int i = 0; i < combatLeagueTemplateId_.size(); i++) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, combatLeagueTemplateId_.getRaw(i));
      }
      if (buddyPokemonId_ != 0L) {
        output.writeFixed64(4, buddyPokemonId_);
      }
      if (location_ != null) {
        output.writeMessage(5, getLocation());
      }
      if (combatPlayerPreferences_ != null) {
        output.writeMessage(6, getCombatPlayerPreferences());
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (!getPlayerIdBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, playerId_);
      }
      if (publicProfile_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, getPublicProfile());
      }
      {
        int dataSize = 0;
        for (int i = 0; i < combatLeagueTemplateId_.size(); i++) {
          dataSize += computeStringSizeNoTag(combatLeagueTemplateId_.getRaw(i));
        }
        size += dataSize;
        size += 1 * getCombatLeagueTemplateIdList().size();
      }
      if (buddyPokemonId_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeFixed64Size(4, buddyPokemonId_);
      }
      if (location_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(5, getLocation());
      }
      if (combatPlayerPreferences_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(6, getCombatPlayerPreferences());
      }
      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.Combat.CombatPlayerProfileOuterClass.CombatPlayerProfile)) {
        return super.equals(obj);
      }
      POGOProtos.Data.Combat.CombatPlayerProfileOuterClass.CombatPlayerProfile other = (POGOProtos.Data.Combat.CombatPlayerProfileOuterClass.CombatPlayerProfile) obj;

      boolean result = true;
      result = result && getPlayerId()
          .equals(other.getPlayerId());
      result = result && (hasPublicProfile() == other.hasPublicProfile());
      if (hasPublicProfile()) {
        result = result && getPublicProfile()
            .equals(other.getPublicProfile());
      }
      result = result && getCombatLeagueTemplateIdList()
          .equals(other.getCombatLeagueTemplateIdList());
      result = result && (getBuddyPokemonId()
          == other.getBuddyPokemonId());
      result = result && (hasLocation() == other.hasLocation());
      if (hasLocation()) {
        result = result && getLocation()
            .equals(other.getLocation());
      }
      result = result && (hasCombatPlayerPreferences() == other.hasCombatPlayerPreferences());
      if (hasCombatPlayerPreferences()) {
        result = result && getCombatPlayerPreferences()
            .equals(other.getCombatPlayerPreferences());
      }
      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) + PLAYER_ID_FIELD_NUMBER;
      hash = (53 * hash) + getPlayerId().hashCode();
      if (hasPublicProfile()) {
        hash = (37 * hash) + PUBLIC_PROFILE_FIELD_NUMBER;
        hash = (53 * hash) + getPublicProfile().hashCode();
      }
      if (getCombatLeagueTemplateIdCount() > 0) {
        hash = (37 * hash) + COMBAT_LEAGUE_TEMPLATE_ID_FIELD_NUMBER;
        hash = (53 * hash) + getCombatLeagueTemplateIdList().hashCode();
      }
      hash = (37 * hash) + BUDDY_POKEMON_ID_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getBuddyPokemonId());
      if (hasLocation()) {
        hash = (37 * hash) + LOCATION_FIELD_NUMBER;
        hash = (53 * hash) + getLocation().hashCode();
      }
      if (hasCombatPlayerPreferences()) {
        hash = (37 * hash) + COMBAT_PLAYER_PREFERENCES_FIELD_NUMBER;
        hash = (53 * hash) + getCombatPlayerPreferences().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return POGOProtos.Data.Combat.CombatPlayerProfileOuterClass.internal_static_POGOProtos_Data_Combat_CombatPlayerProfile_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                POGOProtos.Data.Combat.CombatPlayerProfileOuterClass.CombatPlayerProfile.class, POGOProtos.Data.Combat.CombatPlayerProfileOuterClass.CombatPlayerProfile.Builder.class);
      }

      // Construct using POGOProtos.Data.Combat.CombatPlayerProfileOuterClass.CombatPlayerProfile.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();
        playerId_ = "";

        if (publicProfileBuilder_ == null) {
          publicProfile_ = null;
        } else {
          publicProfile_ = null;
          publicProfileBuilder_ = null;
        }
        combatLeagueTemplateId_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000004);
        buddyPokemonId_ = 0L;

        if (locationBuilder_ == null) {
          location_ = null;
        } else {
          location_ = null;
          locationBuilder_ = null;
        }
        if (combatPlayerPreferencesBuilder_ == null) {
          combatPlayerPreferences_ = null;
        } else {
          combatPlayerPreferences_ = null;
          combatPlayerPreferencesBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return POGOProtos.Data.Combat.CombatPlayerProfileOuterClass.internal_static_POGOProtos_Data_Combat_CombatPlayerProfile_descriptor;
      }

      @java.lang.Override
      public POGOProtos.Data.Combat.CombatPlayerProfileOuterClass.CombatPlayerProfile getDefaultInstanceForType() {
        return POGOProtos.Data.Combat.CombatPlayerProfileOuterClass.CombatPlayerProfile.getDefaultInstance();
      }

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

      @java.lang.Override
      public POGOProtos.Data.Combat.CombatPlayerProfileOuterClass.CombatPlayerProfile buildPartial() {
        POGOProtos.Data.Combat.CombatPlayerProfileOuterClass.CombatPlayerProfile result = new POGOProtos.Data.Combat.CombatPlayerProfileOuterClass.CombatPlayerProfile(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        result.playerId_ = playerId_;
        if (publicProfileBuilder_ == null) {
          result.publicProfile_ = publicProfile_;
        } else {
          result.publicProfile_ = publicProfileBuilder_.build();
        }
        if (((bitField0_ & 0x00000004) == 0x00000004)) {
          combatLeagueTemplateId_ = combatLeagueTemplateId_.getUnmodifiableView();
          bitField0_ = (bitField0_ & ~0x00000004);
        }
        result.combatLeagueTemplateId_ = combatLeagueTemplateId_;
        result.buddyPokemonId_ = buddyPokemonId_;
        if (locationBuilder_ == null) {
          result.location_ = location_;
        } else {
          result.location_ = locationBuilder_.build();
        }
        if (combatPlayerPreferencesBuilder_ == null) {
          result.combatPlayerPreferences_ = combatPlayerPreferences_;
        } else {
          result.combatPlayerPreferences_ = combatPlayerPreferencesBuilder_.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.Combat.CombatPlayerProfileOuterClass.CombatPlayerProfile) {
          return mergeFrom((POGOProtos.Data.Combat.CombatPlayerProfileOuterClass.CombatPlayerProfile)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(POGOProtos.Data.Combat.CombatPlayerProfileOuterClass.CombatPlayerProfile other) {
        if (other == POGOProtos.Data.Combat.CombatPlayerProfileOuterClass.CombatPlayerProfile.getDefaultInstance()) return this;
        if (!other.getPlayerId().isEmpty()) {
          playerId_ = other.playerId_;
          onChanged();
        }
        if (other.hasPublicProfile()) {
          mergePublicProfile(other.getPublicProfile());
        }
        if (!other.combatLeagueTemplateId_.isEmpty()) {
          if (combatLeagueTemplateId_.isEmpty()) {
            combatLeagueTemplateId_ = other.combatLeagueTemplateId_;
            bitField0_ = (bitField0_ & ~0x00000004);
          } else {
            ensureCombatLeagueTemplateIdIsMutable();
            combatLeagueTemplateId_.addAll(other.combatLeagueTemplateId_);
          }
          onChanged();
        }
        if (other.getBuddyPokemonId() != 0L) {
          setBuddyPokemonId(other.getBuddyPokemonId());
        }
        if (other.hasLocation()) {
          mergeLocation(other.getLocation());
        }
        if (other.hasCombatPlayerPreferences()) {
          mergeCombatPlayerPreferences(other.getCombatPlayerPreferences());
        }
        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.Combat.CombatPlayerProfileOuterClass.CombatPlayerProfile parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (POGOProtos.Data.Combat.CombatPlayerProfileOuterClass.CombatPlayerProfile) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.lang.Object playerId_ = "";
      /**
       * string player_id = 1;
       */
      public java.lang.String getPlayerId() {
        java.lang.Object ref = playerId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          playerId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string player_id = 1;
       */
      public com.google.protobuf.ByteString
          getPlayerIdBytes() {
        java.lang.Object ref = playerId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          playerId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string player_id = 1;
       */
      public Builder setPlayerId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        playerId_ = value;
        onChanged();
        return this;
      }
      /**
       * string player_id = 1;
       */
      public Builder clearPlayerId() {
        
        playerId_ = getDefaultInstance().getPlayerId();
        onChanged();
        return this;
      }
      /**
       * string player_id = 1;
       */
      public Builder setPlayerIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        playerId_ = value;
        onChanged();
        return this;
      }

      private POGOProtos.Data.Player.PlayerPublicProfileOuterClass.PlayerPublicProfile publicProfile_ = null;
      private com.google.protobuf.SingleFieldBuilderV3<
          POGOProtos.Data.Player.PlayerPublicProfileOuterClass.PlayerPublicProfile, POGOProtos.Data.Player.PlayerPublicProfileOuterClass.PlayerPublicProfile.Builder, POGOProtos.Data.Player.PlayerPublicProfileOuterClass.PlayerPublicProfileOrBuilder> publicProfileBuilder_;
      /**
       * .POGOProtos.Data.Player.PlayerPublicProfile public_profile = 2;
       */
      public boolean hasPublicProfile() {
        return publicProfileBuilder_ != null || publicProfile_ != null;
      }
      /**
       * .POGOProtos.Data.Player.PlayerPublicProfile public_profile = 2;
       */
      public POGOProtos.Data.Player.PlayerPublicProfileOuterClass.PlayerPublicProfile getPublicProfile() {
        if (publicProfileBuilder_ == null) {
          return publicProfile_ == null ? POGOProtos.Data.Player.PlayerPublicProfileOuterClass.PlayerPublicProfile.getDefaultInstance() : publicProfile_;
        } else {
          return publicProfileBuilder_.getMessage();
        }
      }
      /**
       * .POGOProtos.Data.Player.PlayerPublicProfile public_profile = 2;
       */
      public Builder setPublicProfile(POGOProtos.Data.Player.PlayerPublicProfileOuterClass.PlayerPublicProfile value) {
        if (publicProfileBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          publicProfile_ = value;
          onChanged();
        } else {
          publicProfileBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Player.PlayerPublicProfile public_profile = 2;
       */
      public Builder setPublicProfile(
          POGOProtos.Data.Player.PlayerPublicProfileOuterClass.PlayerPublicProfile.Builder builderForValue) {
        if (publicProfileBuilder_ == null) {
          publicProfile_ = builderForValue.build();
          onChanged();
        } else {
          publicProfileBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Player.PlayerPublicProfile public_profile = 2;
       */
      public Builder mergePublicProfile(POGOProtos.Data.Player.PlayerPublicProfileOuterClass.PlayerPublicProfile value) {
        if (publicProfileBuilder_ == null) {
          if (publicProfile_ != null) {
            publicProfile_ =
              POGOProtos.Data.Player.PlayerPublicProfileOuterClass.PlayerPublicProfile.newBuilder(publicProfile_).mergeFrom(value).buildPartial();
          } else {
            publicProfile_ = value;
          }
          onChanged();
        } else {
          publicProfileBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Player.PlayerPublicProfile public_profile = 2;
       */
      public Builder clearPublicProfile() {
        if (publicProfileBuilder_ == null) {
          publicProfile_ = null;
          onChanged();
        } else {
          publicProfile_ = null;
          publicProfileBuilder_ = null;
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Player.PlayerPublicProfile public_profile = 2;
       */
      public POGOProtos.Data.Player.PlayerPublicProfileOuterClass.PlayerPublicProfile.Builder getPublicProfileBuilder() {
        
        onChanged();
        return getPublicProfileFieldBuilder().getBuilder();
      }
      /**
       * .POGOProtos.Data.Player.PlayerPublicProfile public_profile = 2;
       */
      public POGOProtos.Data.Player.PlayerPublicProfileOuterClass.PlayerPublicProfileOrBuilder getPublicProfileOrBuilder() {
        if (publicProfileBuilder_ != null) {
          return publicProfileBuilder_.getMessageOrBuilder();
        } else {
          return publicProfile_ == null ?
              POGOProtos.Data.Player.PlayerPublicProfileOuterClass.PlayerPublicProfile.getDefaultInstance() : publicProfile_;
        }
      }
      /**
       * .POGOProtos.Data.Player.PlayerPublicProfile public_profile = 2;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          POGOProtos.Data.Player.PlayerPublicProfileOuterClass.PlayerPublicProfile, POGOProtos.Data.Player.PlayerPublicProfileOuterClass.PlayerPublicProfile.Builder, POGOProtos.Data.Player.PlayerPublicProfileOuterClass.PlayerPublicProfileOrBuilder> 
          getPublicProfileFieldBuilder() {
        if (publicProfileBuilder_ == null) {
          publicProfileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              POGOProtos.Data.Player.PlayerPublicProfileOuterClass.PlayerPublicProfile, POGOProtos.Data.Player.PlayerPublicProfileOuterClass.PlayerPublicProfile.Builder, POGOProtos.Data.Player.PlayerPublicProfileOuterClass.PlayerPublicProfileOrBuilder>(
                  getPublicProfile(),
                  getParentForChildren(),
                  isClean());
          publicProfile_ = null;
        }
        return publicProfileBuilder_;
      }

      private com.google.protobuf.LazyStringList combatLeagueTemplateId_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      private void ensureCombatLeagueTemplateIdIsMutable() {
        if (!((bitField0_ & 0x00000004) == 0x00000004)) {
          combatLeagueTemplateId_ = new com.google.protobuf.LazyStringArrayList(combatLeagueTemplateId_);
          bitField0_ |= 0x00000004;
         }
      }
      /**
       * repeated string combat_league_template_id = 3;
       */
      public com.google.protobuf.ProtocolStringList
          getCombatLeagueTemplateIdList() {
        return combatLeagueTemplateId_.getUnmodifiableView();
      }
      /**
       * repeated string combat_league_template_id = 3;
       */
      public int getCombatLeagueTemplateIdCount() {
        return combatLeagueTemplateId_.size();
      }
      /**
       * repeated string combat_league_template_id = 3;
       */
      public java.lang.String getCombatLeagueTemplateId(int index) {
        return combatLeagueTemplateId_.get(index);
      }
      /**
       * repeated string combat_league_template_id = 3;
       */
      public com.google.protobuf.ByteString
          getCombatLeagueTemplateIdBytes(int index) {
        return combatLeagueTemplateId_.getByteString(index);
      }
      /**
       * repeated string combat_league_template_id = 3;
       */
      public Builder setCombatLeagueTemplateId(
          int index, java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureCombatLeagueTemplateIdIsMutable();
        combatLeagueTemplateId_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * repeated string combat_league_template_id = 3;
       */
      public Builder addCombatLeagueTemplateId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureCombatLeagueTemplateIdIsMutable();
        combatLeagueTemplateId_.add(value);
        onChanged();
        return this;
      }
      /**
       * repeated string combat_league_template_id = 3;
       */
      public Builder addAllCombatLeagueTemplateId(
          java.lang.Iterable values) {
        ensureCombatLeagueTemplateIdIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, combatLeagueTemplateId_);
        onChanged();
        return this;
      }
      /**
       * repeated string combat_league_template_id = 3;
       */
      public Builder clearCombatLeagueTemplateId() {
        combatLeagueTemplateId_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000004);
        onChanged();
        return this;
      }
      /**
       * repeated string combat_league_template_id = 3;
       */
      public Builder addCombatLeagueTemplateIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        ensureCombatLeagueTemplateIdIsMutable();
        combatLeagueTemplateId_.add(value);
        onChanged();
        return this;
      }

      private long buddyPokemonId_ ;
      /**
       * fixed64 buddy_pokemon_id = 4;
       */
      public long getBuddyPokemonId() {
        return buddyPokemonId_;
      }
      /**
       * fixed64 buddy_pokemon_id = 4;
       */
      public Builder setBuddyPokemonId(long value) {
        
        buddyPokemonId_ = value;
        onChanged();
        return this;
      }
      /**
       * fixed64 buddy_pokemon_id = 4;
       */
      public Builder clearBuddyPokemonId() {
        
        buddyPokemonId_ = 0L;
        onChanged();
        return this;
      }

      private POGOProtos.Data.LocationOuterClass.Location location_ = null;
      private com.google.protobuf.SingleFieldBuilderV3<
          POGOProtos.Data.LocationOuterClass.Location, POGOProtos.Data.LocationOuterClass.Location.Builder, POGOProtos.Data.LocationOuterClass.LocationOrBuilder> locationBuilder_;
      /**
       * .POGOProtos.Data.Location location = 5;
       */
      public boolean hasLocation() {
        return locationBuilder_ != null || location_ != null;
      }
      /**
       * .POGOProtos.Data.Location location = 5;
       */
      public POGOProtos.Data.LocationOuterClass.Location getLocation() {
        if (locationBuilder_ == null) {
          return location_ == null ? POGOProtos.Data.LocationOuterClass.Location.getDefaultInstance() : location_;
        } else {
          return locationBuilder_.getMessage();
        }
      }
      /**
       * .POGOProtos.Data.Location location = 5;
       */
      public Builder setLocation(POGOProtos.Data.LocationOuterClass.Location value) {
        if (locationBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          location_ = value;
          onChanged();
        } else {
          locationBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Location location = 5;
       */
      public Builder setLocation(
          POGOProtos.Data.LocationOuterClass.Location.Builder builderForValue) {
        if (locationBuilder_ == null) {
          location_ = builderForValue.build();
          onChanged();
        } else {
          locationBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Location location = 5;
       */
      public Builder mergeLocation(POGOProtos.Data.LocationOuterClass.Location value) {
        if (locationBuilder_ == null) {
          if (location_ != null) {
            location_ =
              POGOProtos.Data.LocationOuterClass.Location.newBuilder(location_).mergeFrom(value).buildPartial();
          } else {
            location_ = value;
          }
          onChanged();
        } else {
          locationBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Location location = 5;
       */
      public Builder clearLocation() {
        if (locationBuilder_ == null) {
          location_ = null;
          onChanged();
        } else {
          location_ = null;
          locationBuilder_ = null;
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Location location = 5;
       */
      public POGOProtos.Data.LocationOuterClass.Location.Builder getLocationBuilder() {
        
        onChanged();
        return getLocationFieldBuilder().getBuilder();
      }
      /**
       * .POGOProtos.Data.Location location = 5;
       */
      public POGOProtos.Data.LocationOuterClass.LocationOrBuilder getLocationOrBuilder() {
        if (locationBuilder_ != null) {
          return locationBuilder_.getMessageOrBuilder();
        } else {
          return location_ == null ?
              POGOProtos.Data.LocationOuterClass.Location.getDefaultInstance() : location_;
        }
      }
      /**
       * .POGOProtos.Data.Location location = 5;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          POGOProtos.Data.LocationOuterClass.Location, POGOProtos.Data.LocationOuterClass.Location.Builder, POGOProtos.Data.LocationOuterClass.LocationOrBuilder> 
          getLocationFieldBuilder() {
        if (locationBuilder_ == null) {
          locationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              POGOProtos.Data.LocationOuterClass.Location, POGOProtos.Data.LocationOuterClass.Location.Builder, POGOProtos.Data.LocationOuterClass.LocationOrBuilder>(
                  getLocation(),
                  getParentForChildren(),
                  isClean());
          location_ = null;
        }
        return locationBuilder_;
      }

      private POGOProtos.Data.Combat.CombatPlayerPreferencesOuterClass.CombatPlayerPreferences combatPlayerPreferences_ = null;
      private com.google.protobuf.SingleFieldBuilderV3<
          POGOProtos.Data.Combat.CombatPlayerPreferencesOuterClass.CombatPlayerPreferences, POGOProtos.Data.Combat.CombatPlayerPreferencesOuterClass.CombatPlayerPreferences.Builder, POGOProtos.Data.Combat.CombatPlayerPreferencesOuterClass.CombatPlayerPreferencesOrBuilder> combatPlayerPreferencesBuilder_;
      /**
       * .POGOProtos.Data.Combat.CombatPlayerPreferences combat_player_preferences = 6;
       */
      public boolean hasCombatPlayerPreferences() {
        return combatPlayerPreferencesBuilder_ != null || combatPlayerPreferences_ != null;
      }
      /**
       * .POGOProtos.Data.Combat.CombatPlayerPreferences combat_player_preferences = 6;
       */
      public POGOProtos.Data.Combat.CombatPlayerPreferencesOuterClass.CombatPlayerPreferences getCombatPlayerPreferences() {
        if (combatPlayerPreferencesBuilder_ == null) {
          return combatPlayerPreferences_ == null ? POGOProtos.Data.Combat.CombatPlayerPreferencesOuterClass.CombatPlayerPreferences.getDefaultInstance() : combatPlayerPreferences_;
        } else {
          return combatPlayerPreferencesBuilder_.getMessage();
        }
      }
      /**
       * .POGOProtos.Data.Combat.CombatPlayerPreferences combat_player_preferences = 6;
       */
      public Builder setCombatPlayerPreferences(POGOProtos.Data.Combat.CombatPlayerPreferencesOuterClass.CombatPlayerPreferences value) {
        if (combatPlayerPreferencesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          combatPlayerPreferences_ = value;
          onChanged();
        } else {
          combatPlayerPreferencesBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Combat.CombatPlayerPreferences combat_player_preferences = 6;
       */
      public Builder setCombatPlayerPreferences(
          POGOProtos.Data.Combat.CombatPlayerPreferencesOuterClass.CombatPlayerPreferences.Builder builderForValue) {
        if (combatPlayerPreferencesBuilder_ == null) {
          combatPlayerPreferences_ = builderForValue.build();
          onChanged();
        } else {
          combatPlayerPreferencesBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Combat.CombatPlayerPreferences combat_player_preferences = 6;
       */
      public Builder mergeCombatPlayerPreferences(POGOProtos.Data.Combat.CombatPlayerPreferencesOuterClass.CombatPlayerPreferences value) {
        if (combatPlayerPreferencesBuilder_ == null) {
          if (combatPlayerPreferences_ != null) {
            combatPlayerPreferences_ =
              POGOProtos.Data.Combat.CombatPlayerPreferencesOuterClass.CombatPlayerPreferences.newBuilder(combatPlayerPreferences_).mergeFrom(value).buildPartial();
          } else {
            combatPlayerPreferences_ = value;
          }
          onChanged();
        } else {
          combatPlayerPreferencesBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Combat.CombatPlayerPreferences combat_player_preferences = 6;
       */
      public Builder clearCombatPlayerPreferences() {
        if (combatPlayerPreferencesBuilder_ == null) {
          combatPlayerPreferences_ = null;
          onChanged();
        } else {
          combatPlayerPreferences_ = null;
          combatPlayerPreferencesBuilder_ = null;
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Combat.CombatPlayerPreferences combat_player_preferences = 6;
       */
      public POGOProtos.Data.Combat.CombatPlayerPreferencesOuterClass.CombatPlayerPreferences.Builder getCombatPlayerPreferencesBuilder() {
        
        onChanged();
        return getCombatPlayerPreferencesFieldBuilder().getBuilder();
      }
      /**
       * .POGOProtos.Data.Combat.CombatPlayerPreferences combat_player_preferences = 6;
       */
      public POGOProtos.Data.Combat.CombatPlayerPreferencesOuterClass.CombatPlayerPreferencesOrBuilder getCombatPlayerPreferencesOrBuilder() {
        if (combatPlayerPreferencesBuilder_ != null) {
          return combatPlayerPreferencesBuilder_.getMessageOrBuilder();
        } else {
          return combatPlayerPreferences_ == null ?
              POGOProtos.Data.Combat.CombatPlayerPreferencesOuterClass.CombatPlayerPreferences.getDefaultInstance() : combatPlayerPreferences_;
        }
      }
      /**
       * .POGOProtos.Data.Combat.CombatPlayerPreferences combat_player_preferences = 6;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          POGOProtos.Data.Combat.CombatPlayerPreferencesOuterClass.CombatPlayerPreferences, POGOProtos.Data.Combat.CombatPlayerPreferencesOuterClass.CombatPlayerPreferences.Builder, POGOProtos.Data.Combat.CombatPlayerPreferencesOuterClass.CombatPlayerPreferencesOrBuilder> 
          getCombatPlayerPreferencesFieldBuilder() {
        if (combatPlayerPreferencesBuilder_ == null) {
          combatPlayerPreferencesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              POGOProtos.Data.Combat.CombatPlayerPreferencesOuterClass.CombatPlayerPreferences, POGOProtos.Data.Combat.CombatPlayerPreferencesOuterClass.CombatPlayerPreferences.Builder, POGOProtos.Data.Combat.CombatPlayerPreferencesOuterClass.CombatPlayerPreferencesOrBuilder>(
                  getCombatPlayerPreferences(),
                  getParentForChildren(),
                  isClean());
          combatPlayerPreferences_ = null;
        }
        return combatPlayerPreferencesBuilder_;
      }
      @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.Combat.CombatPlayerProfile)
    }

    // @@protoc_insertion_point(class_scope:POGOProtos.Data.Combat.CombatPlayerProfile)
    private static final POGOProtos.Data.Combat.CombatPlayerProfileOuterClass.CombatPlayerProfile DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new POGOProtos.Data.Combat.CombatPlayerProfileOuterClass.CombatPlayerProfile();
    }

    public static POGOProtos.Data.Combat.CombatPlayerProfileOuterClass.CombatPlayerProfile getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_POGOProtos_Data_Combat_CombatPlayerProfile_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_POGOProtos_Data_Combat_CombatPlayerProfile_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/Combat/CombatPlayerPro" +
      "file.proto\022\026POGOProtos.Data.Combat\0320POGO" +
      "Protos/Data/Player/PlayerPublicProfile.p" +
      "roto\032\036POGOProtos/Data/Location.proto\0324PO" +
      "GOProtos/Data/Combat/CombatPlayerPrefere" +
      "nces.proto\"\253\002\n\023CombatPlayerProfile\022\021\n\tpl" +
      "ayer_id\030\001 \001(\t\022C\n\016public_profile\030\002 \001(\0132+." +
      "POGOProtos.Data.Player.PlayerPublicProfi" +
      "le\022!\n\031combat_league_template_id\030\003 \003(\t\022\030\n" +
      "\020buddy_pokemon_id\030\004 \001(\006\022+\n\010location\030\005 \001(" +
      "\0132\031.POGOProtos.Data.Location\022R\n\031combat_p" +
      "layer_preferences\030\006 \001(\0132/.POGOProtos.Dat" +
      "a.Combat.CombatPlayerPreferencesb\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.Player.PlayerPublicProfileOuterClass.getDescriptor(),
          POGOProtos.Data.LocationOuterClass.getDescriptor(),
          POGOProtos.Data.Combat.CombatPlayerPreferencesOuterClass.getDescriptor(),
        }, assigner);
    internal_static_POGOProtos_Data_Combat_CombatPlayerProfile_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_POGOProtos_Data_Combat_CombatPlayerProfile_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_POGOProtos_Data_Combat_CombatPlayerProfile_descriptor,
        new java.lang.String[] { "PlayerId", "PublicProfile", "CombatLeagueTemplateId", "BuddyPokemonId", "Location", "CombatPlayerPreferences", });
    POGOProtos.Data.Player.PlayerPublicProfileOuterClass.getDescriptor();
    POGOProtos.Data.LocationOuterClass.getDescriptor();
    POGOProtos.Data.Combat.CombatPlayerPreferencesOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy