POGOProtos.Data.Combat.CombatPlayerOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: POGOProtos/Data/Combat/CombatPlayer.proto
package POGOProtos.Data.Combat;
public final class CombatPlayerOuterClass {
private CombatPlayerOuterClass() {}
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 CombatPlayerOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Data.Combat.CombatPlayer)
com.google.protobuf.MessageOrBuilder {
/**
* .POGOProtos.Data.Player.PlayerPublicProfile public_profile = 1;
*/
boolean hasPublicProfile();
/**
* .POGOProtos.Data.Player.PlayerPublicProfile public_profile = 1;
*/
POGOProtos.Data.Player.PlayerPublicProfileOuterClass.PlayerPublicProfile getPublicProfile();
/**
* .POGOProtos.Data.Player.PlayerPublicProfile public_profile = 1;
*/
POGOProtos.Data.Player.PlayerPublicProfileOuterClass.PlayerPublicProfileOrBuilder getPublicProfileOrBuilder();
/**
* .POGOProtos.Data.Combat.CombatPokemon active_pokemon = 2;
*/
boolean hasActivePokemon();
/**
* .POGOProtos.Data.Combat.CombatPokemon active_pokemon = 2;
*/
POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon getActivePokemon();
/**
* .POGOProtos.Data.Combat.CombatPokemon active_pokemon = 2;
*/
POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemonOrBuilder getActivePokemonOrBuilder();
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon reserve_pokemon = 3;
*/
java.util.List
getReservePokemonList();
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon reserve_pokemon = 3;
*/
POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon getReservePokemon(int index);
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon reserve_pokemon = 3;
*/
int getReservePokemonCount();
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon reserve_pokemon = 3;
*/
java.util.List extends POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemonOrBuilder>
getReservePokemonOrBuilderList();
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon reserve_pokemon = 3;
*/
POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemonOrBuilder getReservePokemonOrBuilder(
int index);
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon fainted_pokemon = 4;
*/
java.util.List
getFaintedPokemonList();
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon fainted_pokemon = 4;
*/
POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon getFaintedPokemon(int index);
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon fainted_pokemon = 4;
*/
int getFaintedPokemonCount();
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon fainted_pokemon = 4;
*/
java.util.List extends POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemonOrBuilder>
getFaintedPokemonOrBuilderList();
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon fainted_pokemon = 4;
*/
POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemonOrBuilder getFaintedPokemonOrBuilder(
int index);
/**
* .POGOProtos.Data.Combat.CombatAction current_action = 5;
*/
boolean hasCurrentAction();
/**
* .POGOProtos.Data.Combat.CombatAction current_action = 5;
*/
POGOProtos.Data.Combat.CombatActionOuterClass.CombatAction getCurrentAction();
/**
* .POGOProtos.Data.Combat.CombatAction current_action = 5;
*/
POGOProtos.Data.Combat.CombatActionOuterClass.CombatActionOrBuilder getCurrentActionOrBuilder();
/**
* bool lockstep_ack = 6;
*/
boolean getLockstepAck();
/**
* int32 last_updated_turn = 7;
*/
int getLastUpdatedTurn();
/**
* .POGOProtos.Data.Combat.CombatAction minigame_action = 8;
*/
boolean hasMinigameAction();
/**
* .POGOProtos.Data.Combat.CombatAction minigame_action = 8;
*/
POGOProtos.Data.Combat.CombatActionOuterClass.CombatAction getMinigameAction();
/**
* .POGOProtos.Data.Combat.CombatAction minigame_action = 8;
*/
POGOProtos.Data.Combat.CombatActionOuterClass.CombatActionOrBuilder getMinigameActionOrBuilder();
/**
* int64 quick_swap_available_ms = 9;
*/
long getQuickSwapAvailableMs();
/**
* int32 minigame_defense_chances_left = 10;
*/
int getMinigameDefenseChancesLeft();
}
/**
* Protobuf type {@code POGOProtos.Data.Combat.CombatPlayer}
*/
public static final class CombatPlayer extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Data.Combat.CombatPlayer)
CombatPlayerOrBuilder {
private static final long serialVersionUID = 0L;
// Use CombatPlayer.newBuilder() to construct.
private CombatPlayer(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private CombatPlayer() {
reservePokemon_ = java.util.Collections.emptyList();
faintedPokemon_ = java.util.Collections.emptyList();
lockstepAck_ = false;
lastUpdatedTurn_ = 0;
quickSwapAvailableMs_ = 0L;
minigameDefenseChancesLeft_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CombatPlayer(
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: {
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 18: {
POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon.Builder subBuilder = null;
if (activePokemon_ != null) {
subBuilder = activePokemon_.toBuilder();
}
activePokemon_ = input.readMessage(POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(activePokemon_);
activePokemon_ = subBuilder.buildPartial();
}
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
reservePokemon_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
reservePokemon_.add(
input.readMessage(POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon.parser(), extensionRegistry));
break;
}
case 34: {
if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
faintedPokemon_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000008;
}
faintedPokemon_.add(
input.readMessage(POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon.parser(), extensionRegistry));
break;
}
case 42: {
POGOProtos.Data.Combat.CombatActionOuterClass.CombatAction.Builder subBuilder = null;
if (currentAction_ != null) {
subBuilder = currentAction_.toBuilder();
}
currentAction_ = input.readMessage(POGOProtos.Data.Combat.CombatActionOuterClass.CombatAction.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(currentAction_);
currentAction_ = subBuilder.buildPartial();
}
break;
}
case 48: {
lockstepAck_ = input.readBool();
break;
}
case 56: {
lastUpdatedTurn_ = input.readInt32();
break;
}
case 66: {
POGOProtos.Data.Combat.CombatActionOuterClass.CombatAction.Builder subBuilder = null;
if (minigameAction_ != null) {
subBuilder = minigameAction_.toBuilder();
}
minigameAction_ = input.readMessage(POGOProtos.Data.Combat.CombatActionOuterClass.CombatAction.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(minigameAction_);
minigameAction_ = subBuilder.buildPartial();
}
break;
}
case 72: {
quickSwapAvailableMs_ = input.readInt64();
break;
}
case 80: {
minigameDefenseChancesLeft_ = input.readInt32();
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)) {
reservePokemon_ = java.util.Collections.unmodifiableList(reservePokemon_);
}
if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
faintedPokemon_ = java.util.Collections.unmodifiableList(faintedPokemon_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Combat.CombatPlayerOuterClass.internal_static_POGOProtos_Data_Combat_CombatPlayer_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Combat.CombatPlayerOuterClass.internal_static_POGOProtos_Data_Combat_CombatPlayer_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Combat.CombatPlayerOuterClass.CombatPlayer.class, POGOProtos.Data.Combat.CombatPlayerOuterClass.CombatPlayer.Builder.class);
}
private int bitField0_;
public static final int PUBLIC_PROFILE_FIELD_NUMBER = 1;
private POGOProtos.Data.Player.PlayerPublicProfileOuterClass.PlayerPublicProfile publicProfile_;
/**
* .POGOProtos.Data.Player.PlayerPublicProfile public_profile = 1;
*/
public boolean hasPublicProfile() {
return publicProfile_ != null;
}
/**
* .POGOProtos.Data.Player.PlayerPublicProfile public_profile = 1;
*/
public POGOProtos.Data.Player.PlayerPublicProfileOuterClass.PlayerPublicProfile getPublicProfile() {
return publicProfile_ == null ? POGOProtos.Data.Player.PlayerPublicProfileOuterClass.PlayerPublicProfile.getDefaultInstance() : publicProfile_;
}
/**
* .POGOProtos.Data.Player.PlayerPublicProfile public_profile = 1;
*/
public POGOProtos.Data.Player.PlayerPublicProfileOuterClass.PlayerPublicProfileOrBuilder getPublicProfileOrBuilder() {
return getPublicProfile();
}
public static final int ACTIVE_POKEMON_FIELD_NUMBER = 2;
private POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon activePokemon_;
/**
* .POGOProtos.Data.Combat.CombatPokemon active_pokemon = 2;
*/
public boolean hasActivePokemon() {
return activePokemon_ != null;
}
/**
* .POGOProtos.Data.Combat.CombatPokemon active_pokemon = 2;
*/
public POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon getActivePokemon() {
return activePokemon_ == null ? POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon.getDefaultInstance() : activePokemon_;
}
/**
* .POGOProtos.Data.Combat.CombatPokemon active_pokemon = 2;
*/
public POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemonOrBuilder getActivePokemonOrBuilder() {
return getActivePokemon();
}
public static final int RESERVE_POKEMON_FIELD_NUMBER = 3;
private java.util.List reservePokemon_;
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon reserve_pokemon = 3;
*/
public java.util.List getReservePokemonList() {
return reservePokemon_;
}
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon reserve_pokemon = 3;
*/
public java.util.List extends POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemonOrBuilder>
getReservePokemonOrBuilderList() {
return reservePokemon_;
}
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon reserve_pokemon = 3;
*/
public int getReservePokemonCount() {
return reservePokemon_.size();
}
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon reserve_pokemon = 3;
*/
public POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon getReservePokemon(int index) {
return reservePokemon_.get(index);
}
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon reserve_pokemon = 3;
*/
public POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemonOrBuilder getReservePokemonOrBuilder(
int index) {
return reservePokemon_.get(index);
}
public static final int FAINTED_POKEMON_FIELD_NUMBER = 4;
private java.util.List faintedPokemon_;
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon fainted_pokemon = 4;
*/
public java.util.List getFaintedPokemonList() {
return faintedPokemon_;
}
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon fainted_pokemon = 4;
*/
public java.util.List extends POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemonOrBuilder>
getFaintedPokemonOrBuilderList() {
return faintedPokemon_;
}
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon fainted_pokemon = 4;
*/
public int getFaintedPokemonCount() {
return faintedPokemon_.size();
}
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon fainted_pokemon = 4;
*/
public POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon getFaintedPokemon(int index) {
return faintedPokemon_.get(index);
}
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon fainted_pokemon = 4;
*/
public POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemonOrBuilder getFaintedPokemonOrBuilder(
int index) {
return faintedPokemon_.get(index);
}
public static final int CURRENT_ACTION_FIELD_NUMBER = 5;
private POGOProtos.Data.Combat.CombatActionOuterClass.CombatAction currentAction_;
/**
* .POGOProtos.Data.Combat.CombatAction current_action = 5;
*/
public boolean hasCurrentAction() {
return currentAction_ != null;
}
/**
* .POGOProtos.Data.Combat.CombatAction current_action = 5;
*/
public POGOProtos.Data.Combat.CombatActionOuterClass.CombatAction getCurrentAction() {
return currentAction_ == null ? POGOProtos.Data.Combat.CombatActionOuterClass.CombatAction.getDefaultInstance() : currentAction_;
}
/**
* .POGOProtos.Data.Combat.CombatAction current_action = 5;
*/
public POGOProtos.Data.Combat.CombatActionOuterClass.CombatActionOrBuilder getCurrentActionOrBuilder() {
return getCurrentAction();
}
public static final int LOCKSTEP_ACK_FIELD_NUMBER = 6;
private boolean lockstepAck_;
/**
* bool lockstep_ack = 6;
*/
public boolean getLockstepAck() {
return lockstepAck_;
}
public static final int LAST_UPDATED_TURN_FIELD_NUMBER = 7;
private int lastUpdatedTurn_;
/**
* int32 last_updated_turn = 7;
*/
public int getLastUpdatedTurn() {
return lastUpdatedTurn_;
}
public static final int MINIGAME_ACTION_FIELD_NUMBER = 8;
private POGOProtos.Data.Combat.CombatActionOuterClass.CombatAction minigameAction_;
/**
* .POGOProtos.Data.Combat.CombatAction minigame_action = 8;
*/
public boolean hasMinigameAction() {
return minigameAction_ != null;
}
/**
* .POGOProtos.Data.Combat.CombatAction minigame_action = 8;
*/
public POGOProtos.Data.Combat.CombatActionOuterClass.CombatAction getMinigameAction() {
return minigameAction_ == null ? POGOProtos.Data.Combat.CombatActionOuterClass.CombatAction.getDefaultInstance() : minigameAction_;
}
/**
* .POGOProtos.Data.Combat.CombatAction minigame_action = 8;
*/
public POGOProtos.Data.Combat.CombatActionOuterClass.CombatActionOrBuilder getMinigameActionOrBuilder() {
return getMinigameAction();
}
public static final int QUICK_SWAP_AVAILABLE_MS_FIELD_NUMBER = 9;
private long quickSwapAvailableMs_;
/**
* int64 quick_swap_available_ms = 9;
*/
public long getQuickSwapAvailableMs() {
return quickSwapAvailableMs_;
}
public static final int MINIGAME_DEFENSE_CHANCES_LEFT_FIELD_NUMBER = 10;
private int minigameDefenseChancesLeft_;
/**
* int32 minigame_defense_chances_left = 10;
*/
public int getMinigameDefenseChancesLeft() {
return minigameDefenseChancesLeft_;
}
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 (publicProfile_ != null) {
output.writeMessage(1, getPublicProfile());
}
if (activePokemon_ != null) {
output.writeMessage(2, getActivePokemon());
}
for (int i = 0; i < reservePokemon_.size(); i++) {
output.writeMessage(3, reservePokemon_.get(i));
}
for (int i = 0; i < faintedPokemon_.size(); i++) {
output.writeMessage(4, faintedPokemon_.get(i));
}
if (currentAction_ != null) {
output.writeMessage(5, getCurrentAction());
}
if (lockstepAck_ != false) {
output.writeBool(6, lockstepAck_);
}
if (lastUpdatedTurn_ != 0) {
output.writeInt32(7, lastUpdatedTurn_);
}
if (minigameAction_ != null) {
output.writeMessage(8, getMinigameAction());
}
if (quickSwapAvailableMs_ != 0L) {
output.writeInt64(9, quickSwapAvailableMs_);
}
if (minigameDefenseChancesLeft_ != 0) {
output.writeInt32(10, minigameDefenseChancesLeft_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (publicProfile_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getPublicProfile());
}
if (activePokemon_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getActivePokemon());
}
for (int i = 0; i < reservePokemon_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, reservePokemon_.get(i));
}
for (int i = 0; i < faintedPokemon_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, faintedPokemon_.get(i));
}
if (currentAction_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getCurrentAction());
}
if (lockstepAck_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(6, lockstepAck_);
}
if (lastUpdatedTurn_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(7, lastUpdatedTurn_);
}
if (minigameAction_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, getMinigameAction());
}
if (quickSwapAvailableMs_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(9, quickSwapAvailableMs_);
}
if (minigameDefenseChancesLeft_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(10, minigameDefenseChancesLeft_);
}
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.CombatPlayerOuterClass.CombatPlayer)) {
return super.equals(obj);
}
POGOProtos.Data.Combat.CombatPlayerOuterClass.CombatPlayer other = (POGOProtos.Data.Combat.CombatPlayerOuterClass.CombatPlayer) obj;
boolean result = true;
result = result && (hasPublicProfile() == other.hasPublicProfile());
if (hasPublicProfile()) {
result = result && getPublicProfile()
.equals(other.getPublicProfile());
}
result = result && (hasActivePokemon() == other.hasActivePokemon());
if (hasActivePokemon()) {
result = result && getActivePokemon()
.equals(other.getActivePokemon());
}
result = result && getReservePokemonList()
.equals(other.getReservePokemonList());
result = result && getFaintedPokemonList()
.equals(other.getFaintedPokemonList());
result = result && (hasCurrentAction() == other.hasCurrentAction());
if (hasCurrentAction()) {
result = result && getCurrentAction()
.equals(other.getCurrentAction());
}
result = result && (getLockstepAck()
== other.getLockstepAck());
result = result && (getLastUpdatedTurn()
== other.getLastUpdatedTurn());
result = result && (hasMinigameAction() == other.hasMinigameAction());
if (hasMinigameAction()) {
result = result && getMinigameAction()
.equals(other.getMinigameAction());
}
result = result && (getQuickSwapAvailableMs()
== other.getQuickSwapAvailableMs());
result = result && (getMinigameDefenseChancesLeft()
== other.getMinigameDefenseChancesLeft());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasPublicProfile()) {
hash = (37 * hash) + PUBLIC_PROFILE_FIELD_NUMBER;
hash = (53 * hash) + getPublicProfile().hashCode();
}
if (hasActivePokemon()) {
hash = (37 * hash) + ACTIVE_POKEMON_FIELD_NUMBER;
hash = (53 * hash) + getActivePokemon().hashCode();
}
if (getReservePokemonCount() > 0) {
hash = (37 * hash) + RESERVE_POKEMON_FIELD_NUMBER;
hash = (53 * hash) + getReservePokemonList().hashCode();
}
if (getFaintedPokemonCount() > 0) {
hash = (37 * hash) + FAINTED_POKEMON_FIELD_NUMBER;
hash = (53 * hash) + getFaintedPokemonList().hashCode();
}
if (hasCurrentAction()) {
hash = (37 * hash) + CURRENT_ACTION_FIELD_NUMBER;
hash = (53 * hash) + getCurrentAction().hashCode();
}
hash = (37 * hash) + LOCKSTEP_ACK_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getLockstepAck());
hash = (37 * hash) + LAST_UPDATED_TURN_FIELD_NUMBER;
hash = (53 * hash) + getLastUpdatedTurn();
if (hasMinigameAction()) {
hash = (37 * hash) + MINIGAME_ACTION_FIELD_NUMBER;
hash = (53 * hash) + getMinigameAction().hashCode();
}
hash = (37 * hash) + QUICK_SWAP_AVAILABLE_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getQuickSwapAvailableMs());
hash = (37 * hash) + MINIGAME_DEFENSE_CHANCES_LEFT_FIELD_NUMBER;
hash = (53 * hash) + getMinigameDefenseChancesLeft();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Data.Combat.CombatPlayerOuterClass.CombatPlayer parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Combat.CombatPlayerOuterClass.CombatPlayer 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.CombatPlayerOuterClass.CombatPlayer parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Combat.CombatPlayerOuterClass.CombatPlayer 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.CombatPlayerOuterClass.CombatPlayer parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Combat.CombatPlayerOuterClass.CombatPlayer parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Combat.CombatPlayerOuterClass.CombatPlayer parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Combat.CombatPlayerOuterClass.CombatPlayer 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.CombatPlayerOuterClass.CombatPlayer parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Data.Combat.CombatPlayerOuterClass.CombatPlayer 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.CombatPlayerOuterClass.CombatPlayer parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Combat.CombatPlayerOuterClass.CombatPlayer 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.CombatPlayerOuterClass.CombatPlayer 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.CombatPlayer}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Data.Combat.CombatPlayer)
POGOProtos.Data.Combat.CombatPlayerOuterClass.CombatPlayerOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Combat.CombatPlayerOuterClass.internal_static_POGOProtos_Data_Combat_CombatPlayer_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Combat.CombatPlayerOuterClass.internal_static_POGOProtos_Data_Combat_CombatPlayer_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Combat.CombatPlayerOuterClass.CombatPlayer.class, POGOProtos.Data.Combat.CombatPlayerOuterClass.CombatPlayer.Builder.class);
}
// Construct using POGOProtos.Data.Combat.CombatPlayerOuterClass.CombatPlayer.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getReservePokemonFieldBuilder();
getFaintedPokemonFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (publicProfileBuilder_ == null) {
publicProfile_ = null;
} else {
publicProfile_ = null;
publicProfileBuilder_ = null;
}
if (activePokemonBuilder_ == null) {
activePokemon_ = null;
} else {
activePokemon_ = null;
activePokemonBuilder_ = null;
}
if (reservePokemonBuilder_ == null) {
reservePokemon_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
reservePokemonBuilder_.clear();
}
if (faintedPokemonBuilder_ == null) {
faintedPokemon_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
} else {
faintedPokemonBuilder_.clear();
}
if (currentActionBuilder_ == null) {
currentAction_ = null;
} else {
currentAction_ = null;
currentActionBuilder_ = null;
}
lockstepAck_ = false;
lastUpdatedTurn_ = 0;
if (minigameActionBuilder_ == null) {
minigameAction_ = null;
} else {
minigameAction_ = null;
minigameActionBuilder_ = null;
}
quickSwapAvailableMs_ = 0L;
minigameDefenseChancesLeft_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Data.Combat.CombatPlayerOuterClass.internal_static_POGOProtos_Data_Combat_CombatPlayer_descriptor;
}
@java.lang.Override
public POGOProtos.Data.Combat.CombatPlayerOuterClass.CombatPlayer getDefaultInstanceForType() {
return POGOProtos.Data.Combat.CombatPlayerOuterClass.CombatPlayer.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Data.Combat.CombatPlayerOuterClass.CombatPlayer build() {
POGOProtos.Data.Combat.CombatPlayerOuterClass.CombatPlayer result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Data.Combat.CombatPlayerOuterClass.CombatPlayer buildPartial() {
POGOProtos.Data.Combat.CombatPlayerOuterClass.CombatPlayer result = new POGOProtos.Data.Combat.CombatPlayerOuterClass.CombatPlayer(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (publicProfileBuilder_ == null) {
result.publicProfile_ = publicProfile_;
} else {
result.publicProfile_ = publicProfileBuilder_.build();
}
if (activePokemonBuilder_ == null) {
result.activePokemon_ = activePokemon_;
} else {
result.activePokemon_ = activePokemonBuilder_.build();
}
if (reservePokemonBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004)) {
reservePokemon_ = java.util.Collections.unmodifiableList(reservePokemon_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.reservePokemon_ = reservePokemon_;
} else {
result.reservePokemon_ = reservePokemonBuilder_.build();
}
if (faintedPokemonBuilder_ == null) {
if (((bitField0_ & 0x00000008) == 0x00000008)) {
faintedPokemon_ = java.util.Collections.unmodifiableList(faintedPokemon_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.faintedPokemon_ = faintedPokemon_;
} else {
result.faintedPokemon_ = faintedPokemonBuilder_.build();
}
if (currentActionBuilder_ == null) {
result.currentAction_ = currentAction_;
} else {
result.currentAction_ = currentActionBuilder_.build();
}
result.lockstepAck_ = lockstepAck_;
result.lastUpdatedTurn_ = lastUpdatedTurn_;
if (minigameActionBuilder_ == null) {
result.minigameAction_ = minigameAction_;
} else {
result.minigameAction_ = minigameActionBuilder_.build();
}
result.quickSwapAvailableMs_ = quickSwapAvailableMs_;
result.minigameDefenseChancesLeft_ = minigameDefenseChancesLeft_;
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.CombatPlayerOuterClass.CombatPlayer) {
return mergeFrom((POGOProtos.Data.Combat.CombatPlayerOuterClass.CombatPlayer)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Data.Combat.CombatPlayerOuterClass.CombatPlayer other) {
if (other == POGOProtos.Data.Combat.CombatPlayerOuterClass.CombatPlayer.getDefaultInstance()) return this;
if (other.hasPublicProfile()) {
mergePublicProfile(other.getPublicProfile());
}
if (other.hasActivePokemon()) {
mergeActivePokemon(other.getActivePokemon());
}
if (reservePokemonBuilder_ == null) {
if (!other.reservePokemon_.isEmpty()) {
if (reservePokemon_.isEmpty()) {
reservePokemon_ = other.reservePokemon_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureReservePokemonIsMutable();
reservePokemon_.addAll(other.reservePokemon_);
}
onChanged();
}
} else {
if (!other.reservePokemon_.isEmpty()) {
if (reservePokemonBuilder_.isEmpty()) {
reservePokemonBuilder_.dispose();
reservePokemonBuilder_ = null;
reservePokemon_ = other.reservePokemon_;
bitField0_ = (bitField0_ & ~0x00000004);
reservePokemonBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getReservePokemonFieldBuilder() : null;
} else {
reservePokemonBuilder_.addAllMessages(other.reservePokemon_);
}
}
}
if (faintedPokemonBuilder_ == null) {
if (!other.faintedPokemon_.isEmpty()) {
if (faintedPokemon_.isEmpty()) {
faintedPokemon_ = other.faintedPokemon_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureFaintedPokemonIsMutable();
faintedPokemon_.addAll(other.faintedPokemon_);
}
onChanged();
}
} else {
if (!other.faintedPokemon_.isEmpty()) {
if (faintedPokemonBuilder_.isEmpty()) {
faintedPokemonBuilder_.dispose();
faintedPokemonBuilder_ = null;
faintedPokemon_ = other.faintedPokemon_;
bitField0_ = (bitField0_ & ~0x00000008);
faintedPokemonBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getFaintedPokemonFieldBuilder() : null;
} else {
faintedPokemonBuilder_.addAllMessages(other.faintedPokemon_);
}
}
}
if (other.hasCurrentAction()) {
mergeCurrentAction(other.getCurrentAction());
}
if (other.getLockstepAck() != false) {
setLockstepAck(other.getLockstepAck());
}
if (other.getLastUpdatedTurn() != 0) {
setLastUpdatedTurn(other.getLastUpdatedTurn());
}
if (other.hasMinigameAction()) {
mergeMinigameAction(other.getMinigameAction());
}
if (other.getQuickSwapAvailableMs() != 0L) {
setQuickSwapAvailableMs(other.getQuickSwapAvailableMs());
}
if (other.getMinigameDefenseChancesLeft() != 0) {
setMinigameDefenseChancesLeft(other.getMinigameDefenseChancesLeft());
}
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.CombatPlayerOuterClass.CombatPlayer parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Data.Combat.CombatPlayerOuterClass.CombatPlayer) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
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 = 1;
*/
public boolean hasPublicProfile() {
return publicProfileBuilder_ != null || publicProfile_ != null;
}
/**
* .POGOProtos.Data.Player.PlayerPublicProfile public_profile = 1;
*/
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 = 1;
*/
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 = 1;
*/
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 = 1;
*/
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 = 1;
*/
public Builder clearPublicProfile() {
if (publicProfileBuilder_ == null) {
publicProfile_ = null;
onChanged();
} else {
publicProfile_ = null;
publicProfileBuilder_ = null;
}
return this;
}
/**
* .POGOProtos.Data.Player.PlayerPublicProfile public_profile = 1;
*/
public POGOProtos.Data.Player.PlayerPublicProfileOuterClass.PlayerPublicProfile.Builder getPublicProfileBuilder() {
onChanged();
return getPublicProfileFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Data.Player.PlayerPublicProfile public_profile = 1;
*/
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 = 1;
*/
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 POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon activePokemon_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon, POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon.Builder, POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemonOrBuilder> activePokemonBuilder_;
/**
* .POGOProtos.Data.Combat.CombatPokemon active_pokemon = 2;
*/
public boolean hasActivePokemon() {
return activePokemonBuilder_ != null || activePokemon_ != null;
}
/**
* .POGOProtos.Data.Combat.CombatPokemon active_pokemon = 2;
*/
public POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon getActivePokemon() {
if (activePokemonBuilder_ == null) {
return activePokemon_ == null ? POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon.getDefaultInstance() : activePokemon_;
} else {
return activePokemonBuilder_.getMessage();
}
}
/**
* .POGOProtos.Data.Combat.CombatPokemon active_pokemon = 2;
*/
public Builder setActivePokemon(POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon value) {
if (activePokemonBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
activePokemon_ = value;
onChanged();
} else {
activePokemonBuilder_.setMessage(value);
}
return this;
}
/**
* .POGOProtos.Data.Combat.CombatPokemon active_pokemon = 2;
*/
public Builder setActivePokemon(
POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon.Builder builderForValue) {
if (activePokemonBuilder_ == null) {
activePokemon_ = builderForValue.build();
onChanged();
} else {
activePokemonBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .POGOProtos.Data.Combat.CombatPokemon active_pokemon = 2;
*/
public Builder mergeActivePokemon(POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon value) {
if (activePokemonBuilder_ == null) {
if (activePokemon_ != null) {
activePokemon_ =
POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon.newBuilder(activePokemon_).mergeFrom(value).buildPartial();
} else {
activePokemon_ = value;
}
onChanged();
} else {
activePokemonBuilder_.mergeFrom(value);
}
return this;
}
/**
* .POGOProtos.Data.Combat.CombatPokemon active_pokemon = 2;
*/
public Builder clearActivePokemon() {
if (activePokemonBuilder_ == null) {
activePokemon_ = null;
onChanged();
} else {
activePokemon_ = null;
activePokemonBuilder_ = null;
}
return this;
}
/**
* .POGOProtos.Data.Combat.CombatPokemon active_pokemon = 2;
*/
public POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon.Builder getActivePokemonBuilder() {
onChanged();
return getActivePokemonFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Data.Combat.CombatPokemon active_pokemon = 2;
*/
public POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemonOrBuilder getActivePokemonOrBuilder() {
if (activePokemonBuilder_ != null) {
return activePokemonBuilder_.getMessageOrBuilder();
} else {
return activePokemon_ == null ?
POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon.getDefaultInstance() : activePokemon_;
}
}
/**
* .POGOProtos.Data.Combat.CombatPokemon active_pokemon = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon, POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon.Builder, POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemonOrBuilder>
getActivePokemonFieldBuilder() {
if (activePokemonBuilder_ == null) {
activePokemonBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon, POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon.Builder, POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemonOrBuilder>(
getActivePokemon(),
getParentForChildren(),
isClean());
activePokemon_ = null;
}
return activePokemonBuilder_;
}
private java.util.List reservePokemon_ =
java.util.Collections.emptyList();
private void ensureReservePokemonIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
reservePokemon_ = new java.util.ArrayList(reservePokemon_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon, POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon.Builder, POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemonOrBuilder> reservePokemonBuilder_;
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon reserve_pokemon = 3;
*/
public java.util.List getReservePokemonList() {
if (reservePokemonBuilder_ == null) {
return java.util.Collections.unmodifiableList(reservePokemon_);
} else {
return reservePokemonBuilder_.getMessageList();
}
}
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon reserve_pokemon = 3;
*/
public int getReservePokemonCount() {
if (reservePokemonBuilder_ == null) {
return reservePokemon_.size();
} else {
return reservePokemonBuilder_.getCount();
}
}
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon reserve_pokemon = 3;
*/
public POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon getReservePokemon(int index) {
if (reservePokemonBuilder_ == null) {
return reservePokemon_.get(index);
} else {
return reservePokemonBuilder_.getMessage(index);
}
}
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon reserve_pokemon = 3;
*/
public Builder setReservePokemon(
int index, POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon value) {
if (reservePokemonBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureReservePokemonIsMutable();
reservePokemon_.set(index, value);
onChanged();
} else {
reservePokemonBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon reserve_pokemon = 3;
*/
public Builder setReservePokemon(
int index, POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon.Builder builderForValue) {
if (reservePokemonBuilder_ == null) {
ensureReservePokemonIsMutable();
reservePokemon_.set(index, builderForValue.build());
onChanged();
} else {
reservePokemonBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon reserve_pokemon = 3;
*/
public Builder addReservePokemon(POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon value) {
if (reservePokemonBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureReservePokemonIsMutable();
reservePokemon_.add(value);
onChanged();
} else {
reservePokemonBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon reserve_pokemon = 3;
*/
public Builder addReservePokemon(
int index, POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon value) {
if (reservePokemonBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureReservePokemonIsMutable();
reservePokemon_.add(index, value);
onChanged();
} else {
reservePokemonBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon reserve_pokemon = 3;
*/
public Builder addReservePokemon(
POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon.Builder builderForValue) {
if (reservePokemonBuilder_ == null) {
ensureReservePokemonIsMutable();
reservePokemon_.add(builderForValue.build());
onChanged();
} else {
reservePokemonBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon reserve_pokemon = 3;
*/
public Builder addReservePokemon(
int index, POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon.Builder builderForValue) {
if (reservePokemonBuilder_ == null) {
ensureReservePokemonIsMutable();
reservePokemon_.add(index, builderForValue.build());
onChanged();
} else {
reservePokemonBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon reserve_pokemon = 3;
*/
public Builder addAllReservePokemon(
java.lang.Iterable extends POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon> values) {
if (reservePokemonBuilder_ == null) {
ensureReservePokemonIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, reservePokemon_);
onChanged();
} else {
reservePokemonBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon reserve_pokemon = 3;
*/
public Builder clearReservePokemon() {
if (reservePokemonBuilder_ == null) {
reservePokemon_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
reservePokemonBuilder_.clear();
}
return this;
}
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon reserve_pokemon = 3;
*/
public Builder removeReservePokemon(int index) {
if (reservePokemonBuilder_ == null) {
ensureReservePokemonIsMutable();
reservePokemon_.remove(index);
onChanged();
} else {
reservePokemonBuilder_.remove(index);
}
return this;
}
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon reserve_pokemon = 3;
*/
public POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon.Builder getReservePokemonBuilder(
int index) {
return getReservePokemonFieldBuilder().getBuilder(index);
}
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon reserve_pokemon = 3;
*/
public POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemonOrBuilder getReservePokemonOrBuilder(
int index) {
if (reservePokemonBuilder_ == null) {
return reservePokemon_.get(index); } else {
return reservePokemonBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon reserve_pokemon = 3;
*/
public java.util.List extends POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemonOrBuilder>
getReservePokemonOrBuilderList() {
if (reservePokemonBuilder_ != null) {
return reservePokemonBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(reservePokemon_);
}
}
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon reserve_pokemon = 3;
*/
public POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon.Builder addReservePokemonBuilder() {
return getReservePokemonFieldBuilder().addBuilder(
POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon.getDefaultInstance());
}
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon reserve_pokemon = 3;
*/
public POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon.Builder addReservePokemonBuilder(
int index) {
return getReservePokemonFieldBuilder().addBuilder(
index, POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon.getDefaultInstance());
}
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon reserve_pokemon = 3;
*/
public java.util.List
getReservePokemonBuilderList() {
return getReservePokemonFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon, POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon.Builder, POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemonOrBuilder>
getReservePokemonFieldBuilder() {
if (reservePokemonBuilder_ == null) {
reservePokemonBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon, POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon.Builder, POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemonOrBuilder>(
reservePokemon_,
((bitField0_ & 0x00000004) == 0x00000004),
getParentForChildren(),
isClean());
reservePokemon_ = null;
}
return reservePokemonBuilder_;
}
private java.util.List faintedPokemon_ =
java.util.Collections.emptyList();
private void ensureFaintedPokemonIsMutable() {
if (!((bitField0_ & 0x00000008) == 0x00000008)) {
faintedPokemon_ = new java.util.ArrayList(faintedPokemon_);
bitField0_ |= 0x00000008;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon, POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon.Builder, POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemonOrBuilder> faintedPokemonBuilder_;
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon fainted_pokemon = 4;
*/
public java.util.List getFaintedPokemonList() {
if (faintedPokemonBuilder_ == null) {
return java.util.Collections.unmodifiableList(faintedPokemon_);
} else {
return faintedPokemonBuilder_.getMessageList();
}
}
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon fainted_pokemon = 4;
*/
public int getFaintedPokemonCount() {
if (faintedPokemonBuilder_ == null) {
return faintedPokemon_.size();
} else {
return faintedPokemonBuilder_.getCount();
}
}
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon fainted_pokemon = 4;
*/
public POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon getFaintedPokemon(int index) {
if (faintedPokemonBuilder_ == null) {
return faintedPokemon_.get(index);
} else {
return faintedPokemonBuilder_.getMessage(index);
}
}
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon fainted_pokemon = 4;
*/
public Builder setFaintedPokemon(
int index, POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon value) {
if (faintedPokemonBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFaintedPokemonIsMutable();
faintedPokemon_.set(index, value);
onChanged();
} else {
faintedPokemonBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon fainted_pokemon = 4;
*/
public Builder setFaintedPokemon(
int index, POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon.Builder builderForValue) {
if (faintedPokemonBuilder_ == null) {
ensureFaintedPokemonIsMutable();
faintedPokemon_.set(index, builderForValue.build());
onChanged();
} else {
faintedPokemonBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon fainted_pokemon = 4;
*/
public Builder addFaintedPokemon(POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon value) {
if (faintedPokemonBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFaintedPokemonIsMutable();
faintedPokemon_.add(value);
onChanged();
} else {
faintedPokemonBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon fainted_pokemon = 4;
*/
public Builder addFaintedPokemon(
int index, POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon value) {
if (faintedPokemonBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFaintedPokemonIsMutable();
faintedPokemon_.add(index, value);
onChanged();
} else {
faintedPokemonBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon fainted_pokemon = 4;
*/
public Builder addFaintedPokemon(
POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon.Builder builderForValue) {
if (faintedPokemonBuilder_ == null) {
ensureFaintedPokemonIsMutable();
faintedPokemon_.add(builderForValue.build());
onChanged();
} else {
faintedPokemonBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon fainted_pokemon = 4;
*/
public Builder addFaintedPokemon(
int index, POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon.Builder builderForValue) {
if (faintedPokemonBuilder_ == null) {
ensureFaintedPokemonIsMutable();
faintedPokemon_.add(index, builderForValue.build());
onChanged();
} else {
faintedPokemonBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon fainted_pokemon = 4;
*/
public Builder addAllFaintedPokemon(
java.lang.Iterable extends POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon> values) {
if (faintedPokemonBuilder_ == null) {
ensureFaintedPokemonIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, faintedPokemon_);
onChanged();
} else {
faintedPokemonBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon fainted_pokemon = 4;
*/
public Builder clearFaintedPokemon() {
if (faintedPokemonBuilder_ == null) {
faintedPokemon_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
faintedPokemonBuilder_.clear();
}
return this;
}
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon fainted_pokemon = 4;
*/
public Builder removeFaintedPokemon(int index) {
if (faintedPokemonBuilder_ == null) {
ensureFaintedPokemonIsMutable();
faintedPokemon_.remove(index);
onChanged();
} else {
faintedPokemonBuilder_.remove(index);
}
return this;
}
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon fainted_pokemon = 4;
*/
public POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon.Builder getFaintedPokemonBuilder(
int index) {
return getFaintedPokemonFieldBuilder().getBuilder(index);
}
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon fainted_pokemon = 4;
*/
public POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemonOrBuilder getFaintedPokemonOrBuilder(
int index) {
if (faintedPokemonBuilder_ == null) {
return faintedPokemon_.get(index); } else {
return faintedPokemonBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon fainted_pokemon = 4;
*/
public java.util.List extends POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemonOrBuilder>
getFaintedPokemonOrBuilderList() {
if (faintedPokemonBuilder_ != null) {
return faintedPokemonBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(faintedPokemon_);
}
}
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon fainted_pokemon = 4;
*/
public POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon.Builder addFaintedPokemonBuilder() {
return getFaintedPokemonFieldBuilder().addBuilder(
POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon.getDefaultInstance());
}
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon fainted_pokemon = 4;
*/
public POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon.Builder addFaintedPokemonBuilder(
int index) {
return getFaintedPokemonFieldBuilder().addBuilder(
index, POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon.getDefaultInstance());
}
/**
* repeated .POGOProtos.Data.Combat.CombatPokemon fainted_pokemon = 4;
*/
public java.util.List
getFaintedPokemonBuilderList() {
return getFaintedPokemonFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon, POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon.Builder, POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemonOrBuilder>
getFaintedPokemonFieldBuilder() {
if (faintedPokemonBuilder_ == null) {
faintedPokemonBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon, POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemon.Builder, POGOProtos.Data.Combat.CombatPokemonOuterClass.CombatPokemonOrBuilder>(
faintedPokemon_,
((bitField0_ & 0x00000008) == 0x00000008),
getParentForChildren(),
isClean());
faintedPokemon_ = null;
}
return faintedPokemonBuilder_;
}
private POGOProtos.Data.Combat.CombatActionOuterClass.CombatAction currentAction_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Combat.CombatActionOuterClass.CombatAction, POGOProtos.Data.Combat.CombatActionOuterClass.CombatAction.Builder, POGOProtos.Data.Combat.CombatActionOuterClass.CombatActionOrBuilder> currentActionBuilder_;
/**
* .POGOProtos.Data.Combat.CombatAction current_action = 5;
*/
public boolean hasCurrentAction() {
return currentActionBuilder_ != null || currentAction_ != null;
}
/**
* .POGOProtos.Data.Combat.CombatAction current_action = 5;
*/
public POGOProtos.Data.Combat.CombatActionOuterClass.CombatAction getCurrentAction() {
if (currentActionBuilder_ == null) {
return currentAction_ == null ? POGOProtos.Data.Combat.CombatActionOuterClass.CombatAction.getDefaultInstance() : currentAction_;
} else {
return currentActionBuilder_.getMessage();
}
}
/**
* .POGOProtos.Data.Combat.CombatAction current_action = 5;
*/
public Builder setCurrentAction(POGOProtos.Data.Combat.CombatActionOuterClass.CombatAction value) {
if (currentActionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
currentAction_ = value;
onChanged();
} else {
currentActionBuilder_.setMessage(value);
}
return this;
}
/**
* .POGOProtos.Data.Combat.CombatAction current_action = 5;
*/
public Builder setCurrentAction(
POGOProtos.Data.Combat.CombatActionOuterClass.CombatAction.Builder builderForValue) {
if (currentActionBuilder_ == null) {
currentAction_ = builderForValue.build();
onChanged();
} else {
currentActionBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .POGOProtos.Data.Combat.CombatAction current_action = 5;
*/
public Builder mergeCurrentAction(POGOProtos.Data.Combat.CombatActionOuterClass.CombatAction value) {
if (currentActionBuilder_ == null) {
if (currentAction_ != null) {
currentAction_ =
POGOProtos.Data.Combat.CombatActionOuterClass.CombatAction.newBuilder(currentAction_).mergeFrom(value).buildPartial();
} else {
currentAction_ = value;
}
onChanged();
} else {
currentActionBuilder_.mergeFrom(value);
}
return this;
}
/**
* .POGOProtos.Data.Combat.CombatAction current_action = 5;
*/
public Builder clearCurrentAction() {
if (currentActionBuilder_ == null) {
currentAction_ = null;
onChanged();
} else {
currentAction_ = null;
currentActionBuilder_ = null;
}
return this;
}
/**
* .POGOProtos.Data.Combat.CombatAction current_action = 5;
*/
public POGOProtos.Data.Combat.CombatActionOuterClass.CombatAction.Builder getCurrentActionBuilder() {
onChanged();
return getCurrentActionFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Data.Combat.CombatAction current_action = 5;
*/
public POGOProtos.Data.Combat.CombatActionOuterClass.CombatActionOrBuilder getCurrentActionOrBuilder() {
if (currentActionBuilder_ != null) {
return currentActionBuilder_.getMessageOrBuilder();
} else {
return currentAction_ == null ?
POGOProtos.Data.Combat.CombatActionOuterClass.CombatAction.getDefaultInstance() : currentAction_;
}
}
/**
* .POGOProtos.Data.Combat.CombatAction current_action = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Combat.CombatActionOuterClass.CombatAction, POGOProtos.Data.Combat.CombatActionOuterClass.CombatAction.Builder, POGOProtos.Data.Combat.CombatActionOuterClass.CombatActionOrBuilder>
getCurrentActionFieldBuilder() {
if (currentActionBuilder_ == null) {
currentActionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Combat.CombatActionOuterClass.CombatAction, POGOProtos.Data.Combat.CombatActionOuterClass.CombatAction.Builder, POGOProtos.Data.Combat.CombatActionOuterClass.CombatActionOrBuilder>(
getCurrentAction(),
getParentForChildren(),
isClean());
currentAction_ = null;
}
return currentActionBuilder_;
}
private boolean lockstepAck_ ;
/**
* bool lockstep_ack = 6;
*/
public boolean getLockstepAck() {
return lockstepAck_;
}
/**
* bool lockstep_ack = 6;
*/
public Builder setLockstepAck(boolean value) {
lockstepAck_ = value;
onChanged();
return this;
}
/**
* bool lockstep_ack = 6;
*/
public Builder clearLockstepAck() {
lockstepAck_ = false;
onChanged();
return this;
}
private int lastUpdatedTurn_ ;
/**
* int32 last_updated_turn = 7;
*/
public int getLastUpdatedTurn() {
return lastUpdatedTurn_;
}
/**
* int32 last_updated_turn = 7;
*/
public Builder setLastUpdatedTurn(int value) {
lastUpdatedTurn_ = value;
onChanged();
return this;
}
/**
* int32 last_updated_turn = 7;
*/
public Builder clearLastUpdatedTurn() {
lastUpdatedTurn_ = 0;
onChanged();
return this;
}
private POGOProtos.Data.Combat.CombatActionOuterClass.CombatAction minigameAction_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Combat.CombatActionOuterClass.CombatAction, POGOProtos.Data.Combat.CombatActionOuterClass.CombatAction.Builder, POGOProtos.Data.Combat.CombatActionOuterClass.CombatActionOrBuilder> minigameActionBuilder_;
/**
* .POGOProtos.Data.Combat.CombatAction minigame_action = 8;
*/
public boolean hasMinigameAction() {
return minigameActionBuilder_ != null || minigameAction_ != null;
}
/**
* .POGOProtos.Data.Combat.CombatAction minigame_action = 8;
*/
public POGOProtos.Data.Combat.CombatActionOuterClass.CombatAction getMinigameAction() {
if (minigameActionBuilder_ == null) {
return minigameAction_ == null ? POGOProtos.Data.Combat.CombatActionOuterClass.CombatAction.getDefaultInstance() : minigameAction_;
} else {
return minigameActionBuilder_.getMessage();
}
}
/**
* .POGOProtos.Data.Combat.CombatAction minigame_action = 8;
*/
public Builder setMinigameAction(POGOProtos.Data.Combat.CombatActionOuterClass.CombatAction value) {
if (minigameActionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
minigameAction_ = value;
onChanged();
} else {
minigameActionBuilder_.setMessage(value);
}
return this;
}
/**
* .POGOProtos.Data.Combat.CombatAction minigame_action = 8;
*/
public Builder setMinigameAction(
POGOProtos.Data.Combat.CombatActionOuterClass.CombatAction.Builder builderForValue) {
if (minigameActionBuilder_ == null) {
minigameAction_ = builderForValue.build();
onChanged();
} else {
minigameActionBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .POGOProtos.Data.Combat.CombatAction minigame_action = 8;
*/
public Builder mergeMinigameAction(POGOProtos.Data.Combat.CombatActionOuterClass.CombatAction value) {
if (minigameActionBuilder_ == null) {
if (minigameAction_ != null) {
minigameAction_ =
POGOProtos.Data.Combat.CombatActionOuterClass.CombatAction.newBuilder(minigameAction_).mergeFrom(value).buildPartial();
} else {
minigameAction_ = value;
}
onChanged();
} else {
minigameActionBuilder_.mergeFrom(value);
}
return this;
}
/**
* .POGOProtos.Data.Combat.CombatAction minigame_action = 8;
*/
public Builder clearMinigameAction() {
if (minigameActionBuilder_ == null) {
minigameAction_ = null;
onChanged();
} else {
minigameAction_ = null;
minigameActionBuilder_ = null;
}
return this;
}
/**
* .POGOProtos.Data.Combat.CombatAction minigame_action = 8;
*/
public POGOProtos.Data.Combat.CombatActionOuterClass.CombatAction.Builder getMinigameActionBuilder() {
onChanged();
return getMinigameActionFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Data.Combat.CombatAction minigame_action = 8;
*/
public POGOProtos.Data.Combat.CombatActionOuterClass.CombatActionOrBuilder getMinigameActionOrBuilder() {
if (minigameActionBuilder_ != null) {
return minigameActionBuilder_.getMessageOrBuilder();
} else {
return minigameAction_ == null ?
POGOProtos.Data.Combat.CombatActionOuterClass.CombatAction.getDefaultInstance() : minigameAction_;
}
}
/**
* .POGOProtos.Data.Combat.CombatAction minigame_action = 8;
*/
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Combat.CombatActionOuterClass.CombatAction, POGOProtos.Data.Combat.CombatActionOuterClass.CombatAction.Builder, POGOProtos.Data.Combat.CombatActionOuterClass.CombatActionOrBuilder>
getMinigameActionFieldBuilder() {
if (minigameActionBuilder_ == null) {
minigameActionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Combat.CombatActionOuterClass.CombatAction, POGOProtos.Data.Combat.CombatActionOuterClass.CombatAction.Builder, POGOProtos.Data.Combat.CombatActionOuterClass.CombatActionOrBuilder>(
getMinigameAction(),
getParentForChildren(),
isClean());
minigameAction_ = null;
}
return minigameActionBuilder_;
}
private long quickSwapAvailableMs_ ;
/**
* int64 quick_swap_available_ms = 9;
*/
public long getQuickSwapAvailableMs() {
return quickSwapAvailableMs_;
}
/**
* int64 quick_swap_available_ms = 9;
*/
public Builder setQuickSwapAvailableMs(long value) {
quickSwapAvailableMs_ = value;
onChanged();
return this;
}
/**
* int64 quick_swap_available_ms = 9;
*/
public Builder clearQuickSwapAvailableMs() {
quickSwapAvailableMs_ = 0L;
onChanged();
return this;
}
private int minigameDefenseChancesLeft_ ;
/**
* int32 minigame_defense_chances_left = 10;
*/
public int getMinigameDefenseChancesLeft() {
return minigameDefenseChancesLeft_;
}
/**
* int32 minigame_defense_chances_left = 10;
*/
public Builder setMinigameDefenseChancesLeft(int value) {
minigameDefenseChancesLeft_ = value;
onChanged();
return this;
}
/**
* int32 minigame_defense_chances_left = 10;
*/
public Builder clearMinigameDefenseChancesLeft() {
minigameDefenseChancesLeft_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:POGOProtos.Data.Combat.CombatPlayer)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Data.Combat.CombatPlayer)
private static final POGOProtos.Data.Combat.CombatPlayerOuterClass.CombatPlayer DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Data.Combat.CombatPlayerOuterClass.CombatPlayer();
}
public static POGOProtos.Data.Combat.CombatPlayerOuterClass.CombatPlayer getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CombatPlayer parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CombatPlayer(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.CombatPlayerOuterClass.CombatPlayer getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Data_Combat_CombatPlayer_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Data_Combat_CombatPlayer_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/Combat/CombatPlayer.pr" +
"oto\022\026POGOProtos.Data.Combat\0320POGOProtos/" +
"Data/Player/PlayerPublicProfile.proto\032*P" +
"OGOProtos/Data/Combat/CombatPokemon.prot" +
"o\032)POGOProtos/Data/Combat/CombatAction.p" +
"roto\"\210\004\n\014CombatPlayer\022C\n\016public_profile\030" +
"\001 \001(\0132+.POGOProtos.Data.Player.PlayerPub" +
"licProfile\022=\n\016active_pokemon\030\002 \001(\0132%.POG" +
"OProtos.Data.Combat.CombatPokemon\022>\n\017res" +
"erve_pokemon\030\003 \003(\0132%.POGOProtos.Data.Com" +
"bat.CombatPokemon\022>\n\017fainted_pokemon\030\004 \003" +
"(\0132%.POGOProtos.Data.Combat.CombatPokemo" +
"n\022<\n\016current_action\030\005 \001(\0132$.POGOProtos.D" +
"ata.Combat.CombatAction\022\024\n\014lockstep_ack\030" +
"\006 \001(\010\022\031\n\021last_updated_turn\030\007 \001(\005\022=\n\017mini" +
"game_action\030\010 \001(\0132$.POGOProtos.Data.Comb" +
"at.CombatAction\022\037\n\027quick_swap_available_" +
"ms\030\t \001(\003\022%\n\035minigame_defense_chances_lef" +
"t\030\n \001(\005b\006proto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
POGOProtos.Data.Player.PlayerPublicProfileOuterClass.getDescriptor(),
POGOProtos.Data.Combat.CombatPokemonOuterClass.getDescriptor(),
POGOProtos.Data.Combat.CombatActionOuterClass.getDescriptor(),
}, assigner);
internal_static_POGOProtos_Data_Combat_CombatPlayer_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_POGOProtos_Data_Combat_CombatPlayer_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Data_Combat_CombatPlayer_descriptor,
new java.lang.String[] { "PublicProfile", "ActivePokemon", "ReservePokemon", "FaintedPokemon", "CurrentAction", "LockstepAck", "LastUpdatedTurn", "MinigameAction", "QuickSwapAvailableMs", "MinigameDefenseChancesLeft", });
POGOProtos.Data.Player.PlayerPublicProfileOuterClass.getDescriptor();
POGOProtos.Data.Combat.CombatPokemonOuterClass.getDescriptor();
POGOProtos.Data.Combat.CombatActionOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy