POGOProtos.Networking.Responses.FortSearchResponseOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: POGOProtos/Networking/Responses/FortSearchResponse.proto
package POGOProtos.Networking.Responses;
public final class FortSearchResponseOuterClass {
private FortSearchResponseOuterClass() {}
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 FortSearchResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Networking.Responses.FortSearchResponse)
com.google.protobuf.MessageOrBuilder {
/**
* .POGOProtos.Networking.Responses.FortSearchResponse.Result result = 1;
*/
int getResultValue();
/**
* .POGOProtos.Networking.Responses.FortSearchResponse.Result result = 1;
*/
POGOProtos.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse.Result getResult();
/**
* repeated .POGOProtos.Inventory.Item.ItemAward items_awarded = 2;
*/
java.util.List
getItemsAwardedList();
/**
* repeated .POGOProtos.Inventory.Item.ItemAward items_awarded = 2;
*/
POGOProtos.Inventory.Item.ItemAwardOuterClass.ItemAward getItemsAwarded(int index);
/**
* repeated .POGOProtos.Inventory.Item.ItemAward items_awarded = 2;
*/
int getItemsAwardedCount();
/**
* repeated .POGOProtos.Inventory.Item.ItemAward items_awarded = 2;
*/
java.util.List extends POGOProtos.Inventory.Item.ItemAwardOuterClass.ItemAwardOrBuilder>
getItemsAwardedOrBuilderList();
/**
* repeated .POGOProtos.Inventory.Item.ItemAward items_awarded = 2;
*/
POGOProtos.Inventory.Item.ItemAwardOuterClass.ItemAwardOrBuilder getItemsAwardedOrBuilder(
int index);
/**
* int32 gems_awarded = 3;
*/
int getGemsAwarded();
/**
* .POGOProtos.Data.PokemonData pokemon_data_egg = 4;
*/
boolean hasPokemonDataEgg();
/**
* .POGOProtos.Data.PokemonData pokemon_data_egg = 4;
*/
POGOProtos.Data.PokemonDataOuterClass.PokemonData getPokemonDataEgg();
/**
* .POGOProtos.Data.PokemonData pokemon_data_egg = 4;
*/
POGOProtos.Data.PokemonDataOuterClass.PokemonDataOrBuilder getPokemonDataEggOrBuilder();
/**
* int32 experience_awarded = 5;
*/
int getExperienceAwarded();
/**
* int64 cooldown_complete_timestamp_ms = 6;
*/
long getCooldownCompleteTimestampMs();
/**
* int32 chain_hack_sequence_number = 7;
*/
int getChainHackSequenceNumber();
/**
* .POGOProtos.Data.Badge.AwardedGymBadge awarded_gym_badge = 8;
*/
boolean hasAwardedGymBadge();
/**
* .POGOProtos.Data.Badge.AwardedGymBadge awarded_gym_badge = 8;
*/
POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge getAwardedGymBadge();
/**
* .POGOProtos.Data.Badge.AwardedGymBadge awarded_gym_badge = 8;
*/
POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadgeOrBuilder getAwardedGymBadgeOrBuilder();
/**
* .POGOProtos.Inventory.Loot loot = 9;
*/
boolean hasLoot();
/**
* .POGOProtos.Inventory.Loot loot = 9;
*/
POGOProtos.Inventory.LootOuterClass.Loot getLoot();
/**
* .POGOProtos.Inventory.Loot loot = 9;
*/
POGOProtos.Inventory.LootOuterClass.LootOrBuilder getLootOrBuilder();
/**
* .POGOProtos.Inventory.Loot bonus_loot = 10;
*/
boolean hasBonusLoot();
/**
* .POGOProtos.Inventory.Loot bonus_loot = 10;
*/
POGOProtos.Inventory.LootOuterClass.Loot getBonusLoot();
/**
* .POGOProtos.Inventory.Loot bonus_loot = 10;
*/
POGOProtos.Inventory.LootOuterClass.LootOrBuilder getBonusLootOrBuilder();
/**
* int32 raid_tickets = 11;
*/
int getRaidTickets();
/**
* .POGOProtos.Inventory.Loot team_bonus_loot = 12;
*/
boolean hasTeamBonusLoot();
/**
* .POGOProtos.Inventory.Loot team_bonus_loot = 12;
*/
POGOProtos.Inventory.LootOuterClass.Loot getTeamBonusLoot();
/**
* .POGOProtos.Inventory.Loot team_bonus_loot = 12;
*/
POGOProtos.Inventory.LootOuterClass.LootOrBuilder getTeamBonusLootOrBuilder();
/**
* string fort_id = 13;
*/
java.lang.String getFortId();
/**
* string fort_id = 13;
*/
com.google.protobuf.ByteString
getFortIdBytes();
/**
* .POGOProtos.Data.Quests.ClientQuest challenge_quest = 14;
*/
boolean hasChallengeQuest();
/**
* .POGOProtos.Data.Quests.ClientQuest challenge_quest = 14;
*/
POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest getChallengeQuest();
/**
* .POGOProtos.Data.Quests.ClientQuest challenge_quest = 14;
*/
POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuestOrBuilder getChallengeQuestOrBuilder();
/**
* .POGOProtos.Data.Gift.GiftBox gift_box = 15;
*/
boolean hasGiftBox();
/**
* .POGOProtos.Data.Gift.GiftBox gift_box = 15;
*/
POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBox getGiftBox();
/**
* .POGOProtos.Data.Gift.GiftBox gift_box = 15;
*/
POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBoxOrBuilder getGiftBoxOrBuilder();
}
/**
* Protobuf type {@code POGOProtos.Networking.Responses.FortSearchResponse}
*/
public static final class FortSearchResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Networking.Responses.FortSearchResponse)
FortSearchResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use FortSearchResponse.newBuilder() to construct.
private FortSearchResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private FortSearchResponse() {
result_ = 0;
itemsAwarded_ = java.util.Collections.emptyList();
gemsAwarded_ = 0;
experienceAwarded_ = 0;
cooldownCompleteTimestampMs_ = 0L;
chainHackSequenceNumber_ = 0;
raidTickets_ = 0;
fortId_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private FortSearchResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
int rawValue = input.readEnum();
result_ = rawValue;
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
itemsAwarded_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
itemsAwarded_.add(
input.readMessage(POGOProtos.Inventory.Item.ItemAwardOuterClass.ItemAward.parser(), extensionRegistry));
break;
}
case 24: {
gemsAwarded_ = input.readInt32();
break;
}
case 34: {
POGOProtos.Data.PokemonDataOuterClass.PokemonData.Builder subBuilder = null;
if (pokemonDataEgg_ != null) {
subBuilder = pokemonDataEgg_.toBuilder();
}
pokemonDataEgg_ = input.readMessage(POGOProtos.Data.PokemonDataOuterClass.PokemonData.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(pokemonDataEgg_);
pokemonDataEgg_ = subBuilder.buildPartial();
}
break;
}
case 40: {
experienceAwarded_ = input.readInt32();
break;
}
case 48: {
cooldownCompleteTimestampMs_ = input.readInt64();
break;
}
case 56: {
chainHackSequenceNumber_ = input.readInt32();
break;
}
case 66: {
POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge.Builder subBuilder = null;
if (awardedGymBadge_ != null) {
subBuilder = awardedGymBadge_.toBuilder();
}
awardedGymBadge_ = input.readMessage(POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(awardedGymBadge_);
awardedGymBadge_ = subBuilder.buildPartial();
}
break;
}
case 74: {
POGOProtos.Inventory.LootOuterClass.Loot.Builder subBuilder = null;
if (loot_ != null) {
subBuilder = loot_.toBuilder();
}
loot_ = input.readMessage(POGOProtos.Inventory.LootOuterClass.Loot.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(loot_);
loot_ = subBuilder.buildPartial();
}
break;
}
case 82: {
POGOProtos.Inventory.LootOuterClass.Loot.Builder subBuilder = null;
if (bonusLoot_ != null) {
subBuilder = bonusLoot_.toBuilder();
}
bonusLoot_ = input.readMessage(POGOProtos.Inventory.LootOuterClass.Loot.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(bonusLoot_);
bonusLoot_ = subBuilder.buildPartial();
}
break;
}
case 88: {
raidTickets_ = input.readInt32();
break;
}
case 98: {
POGOProtos.Inventory.LootOuterClass.Loot.Builder subBuilder = null;
if (teamBonusLoot_ != null) {
subBuilder = teamBonusLoot_.toBuilder();
}
teamBonusLoot_ = input.readMessage(POGOProtos.Inventory.LootOuterClass.Loot.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(teamBonusLoot_);
teamBonusLoot_ = subBuilder.buildPartial();
}
break;
}
case 106: {
java.lang.String s = input.readStringRequireUtf8();
fortId_ = s;
break;
}
case 114: {
POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.Builder subBuilder = null;
if (challengeQuest_ != null) {
subBuilder = challengeQuest_.toBuilder();
}
challengeQuest_ = input.readMessage(POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(challengeQuest_);
challengeQuest_ = subBuilder.buildPartial();
}
break;
}
case 122: {
POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBox.Builder subBuilder = null;
if (giftBox_ != null) {
subBuilder = giftBox_.toBuilder();
}
giftBox_ = input.readMessage(POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBox.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(giftBox_);
giftBox_ = 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_ & 0x00000002) == 0x00000002)) {
itemsAwarded_ = java.util.Collections.unmodifiableList(itemsAwarded_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Networking.Responses.FortSearchResponseOuterClass.internal_static_POGOProtos_Networking_Responses_FortSearchResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Networking.Responses.FortSearchResponseOuterClass.internal_static_POGOProtos_Networking_Responses_FortSearchResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse.class, POGOProtos.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse.Builder.class);
}
/**
* Protobuf enum {@code POGOProtos.Networking.Responses.FortSearchResponse.Result}
*/
public enum Result
implements com.google.protobuf.ProtocolMessageEnum {
/**
* NO_RESULT_SET = 0;
*/
NO_RESULT_SET(0),
/**
* SUCCESS = 1;
*/
SUCCESS(1),
/**
* OUT_OF_RANGE = 2;
*/
OUT_OF_RANGE(2),
/**
* IN_COOLDOWN_PERIOD = 3;
*/
IN_COOLDOWN_PERIOD(3),
/**
* INVENTORY_FULL = 4;
*/
INVENTORY_FULL(4),
/**
* EXCEEDED_DAILY_LIMIT = 5;
*/
EXCEEDED_DAILY_LIMIT(5),
/**
* POI_INACCESSIBLE = 6;
*/
POI_INACCESSIBLE(6),
UNRECOGNIZED(-1),
;
/**
* NO_RESULT_SET = 0;
*/
public static final int NO_RESULT_SET_VALUE = 0;
/**
* SUCCESS = 1;
*/
public static final int SUCCESS_VALUE = 1;
/**
* OUT_OF_RANGE = 2;
*/
public static final int OUT_OF_RANGE_VALUE = 2;
/**
* IN_COOLDOWN_PERIOD = 3;
*/
public static final int IN_COOLDOWN_PERIOD_VALUE = 3;
/**
* INVENTORY_FULL = 4;
*/
public static final int INVENTORY_FULL_VALUE = 4;
/**
* EXCEEDED_DAILY_LIMIT = 5;
*/
public static final int EXCEEDED_DAILY_LIMIT_VALUE = 5;
/**
* POI_INACCESSIBLE = 6;
*/
public static final int POI_INACCESSIBLE_VALUE = 6;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static Result valueOf(int value) {
return forNumber(value);
}
public static Result forNumber(int value) {
switch (value) {
case 0: return NO_RESULT_SET;
case 1: return SUCCESS;
case 2: return OUT_OF_RANGE;
case 3: return IN_COOLDOWN_PERIOD;
case 4: return INVENTORY_FULL;
case 5: return EXCEEDED_DAILY_LIMIT;
case 6: return POI_INACCESSIBLE;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Result> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Result findValueByNumber(int number) {
return Result.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return POGOProtos.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse.getDescriptor().getEnumTypes().get(0);
}
private static final Result[] VALUES = values();
public static Result valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private Result(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:POGOProtos.Networking.Responses.FortSearchResponse.Result)
}
private int bitField0_;
public static final int RESULT_FIELD_NUMBER = 1;
private int result_;
/**
* .POGOProtos.Networking.Responses.FortSearchResponse.Result result = 1;
*/
public int getResultValue() {
return result_;
}
/**
* .POGOProtos.Networking.Responses.FortSearchResponse.Result result = 1;
*/
public POGOProtos.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse.Result getResult() {
@SuppressWarnings("deprecation")
POGOProtos.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse.Result result = POGOProtos.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse.Result.valueOf(result_);
return result == null ? POGOProtos.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse.Result.UNRECOGNIZED : result;
}
public static final int ITEMS_AWARDED_FIELD_NUMBER = 2;
private java.util.List itemsAwarded_;
/**
* repeated .POGOProtos.Inventory.Item.ItemAward items_awarded = 2;
*/
public java.util.List getItemsAwardedList() {
return itemsAwarded_;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemAward items_awarded = 2;
*/
public java.util.List extends POGOProtos.Inventory.Item.ItemAwardOuterClass.ItemAwardOrBuilder>
getItemsAwardedOrBuilderList() {
return itemsAwarded_;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemAward items_awarded = 2;
*/
public int getItemsAwardedCount() {
return itemsAwarded_.size();
}
/**
* repeated .POGOProtos.Inventory.Item.ItemAward items_awarded = 2;
*/
public POGOProtos.Inventory.Item.ItemAwardOuterClass.ItemAward getItemsAwarded(int index) {
return itemsAwarded_.get(index);
}
/**
* repeated .POGOProtos.Inventory.Item.ItemAward items_awarded = 2;
*/
public POGOProtos.Inventory.Item.ItemAwardOuterClass.ItemAwardOrBuilder getItemsAwardedOrBuilder(
int index) {
return itemsAwarded_.get(index);
}
public static final int GEMS_AWARDED_FIELD_NUMBER = 3;
private int gemsAwarded_;
/**
* int32 gems_awarded = 3;
*/
public int getGemsAwarded() {
return gemsAwarded_;
}
public static final int POKEMON_DATA_EGG_FIELD_NUMBER = 4;
private POGOProtos.Data.PokemonDataOuterClass.PokemonData pokemonDataEgg_;
/**
* .POGOProtos.Data.PokemonData pokemon_data_egg = 4;
*/
public boolean hasPokemonDataEgg() {
return pokemonDataEgg_ != null;
}
/**
* .POGOProtos.Data.PokemonData pokemon_data_egg = 4;
*/
public POGOProtos.Data.PokemonDataOuterClass.PokemonData getPokemonDataEgg() {
return pokemonDataEgg_ == null ? POGOProtos.Data.PokemonDataOuterClass.PokemonData.getDefaultInstance() : pokemonDataEgg_;
}
/**
* .POGOProtos.Data.PokemonData pokemon_data_egg = 4;
*/
public POGOProtos.Data.PokemonDataOuterClass.PokemonDataOrBuilder getPokemonDataEggOrBuilder() {
return getPokemonDataEgg();
}
public static final int EXPERIENCE_AWARDED_FIELD_NUMBER = 5;
private int experienceAwarded_;
/**
* int32 experience_awarded = 5;
*/
public int getExperienceAwarded() {
return experienceAwarded_;
}
public static final int COOLDOWN_COMPLETE_TIMESTAMP_MS_FIELD_NUMBER = 6;
private long cooldownCompleteTimestampMs_;
/**
* int64 cooldown_complete_timestamp_ms = 6;
*/
public long getCooldownCompleteTimestampMs() {
return cooldownCompleteTimestampMs_;
}
public static final int CHAIN_HACK_SEQUENCE_NUMBER_FIELD_NUMBER = 7;
private int chainHackSequenceNumber_;
/**
* int32 chain_hack_sequence_number = 7;
*/
public int getChainHackSequenceNumber() {
return chainHackSequenceNumber_;
}
public static final int AWARDED_GYM_BADGE_FIELD_NUMBER = 8;
private POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge awardedGymBadge_;
/**
* .POGOProtos.Data.Badge.AwardedGymBadge awarded_gym_badge = 8;
*/
public boolean hasAwardedGymBadge() {
return awardedGymBadge_ != null;
}
/**
* .POGOProtos.Data.Badge.AwardedGymBadge awarded_gym_badge = 8;
*/
public POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge getAwardedGymBadge() {
return awardedGymBadge_ == null ? POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge.getDefaultInstance() : awardedGymBadge_;
}
/**
* .POGOProtos.Data.Badge.AwardedGymBadge awarded_gym_badge = 8;
*/
public POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadgeOrBuilder getAwardedGymBadgeOrBuilder() {
return getAwardedGymBadge();
}
public static final int LOOT_FIELD_NUMBER = 9;
private POGOProtos.Inventory.LootOuterClass.Loot loot_;
/**
* .POGOProtos.Inventory.Loot loot = 9;
*/
public boolean hasLoot() {
return loot_ != null;
}
/**
* .POGOProtos.Inventory.Loot loot = 9;
*/
public POGOProtos.Inventory.LootOuterClass.Loot getLoot() {
return loot_ == null ? POGOProtos.Inventory.LootOuterClass.Loot.getDefaultInstance() : loot_;
}
/**
* .POGOProtos.Inventory.Loot loot = 9;
*/
public POGOProtos.Inventory.LootOuterClass.LootOrBuilder getLootOrBuilder() {
return getLoot();
}
public static final int BONUS_LOOT_FIELD_NUMBER = 10;
private POGOProtos.Inventory.LootOuterClass.Loot bonusLoot_;
/**
* .POGOProtos.Inventory.Loot bonus_loot = 10;
*/
public boolean hasBonusLoot() {
return bonusLoot_ != null;
}
/**
* .POGOProtos.Inventory.Loot bonus_loot = 10;
*/
public POGOProtos.Inventory.LootOuterClass.Loot getBonusLoot() {
return bonusLoot_ == null ? POGOProtos.Inventory.LootOuterClass.Loot.getDefaultInstance() : bonusLoot_;
}
/**
* .POGOProtos.Inventory.Loot bonus_loot = 10;
*/
public POGOProtos.Inventory.LootOuterClass.LootOrBuilder getBonusLootOrBuilder() {
return getBonusLoot();
}
public static final int RAID_TICKETS_FIELD_NUMBER = 11;
private int raidTickets_;
/**
* int32 raid_tickets = 11;
*/
public int getRaidTickets() {
return raidTickets_;
}
public static final int TEAM_BONUS_LOOT_FIELD_NUMBER = 12;
private POGOProtos.Inventory.LootOuterClass.Loot teamBonusLoot_;
/**
* .POGOProtos.Inventory.Loot team_bonus_loot = 12;
*/
public boolean hasTeamBonusLoot() {
return teamBonusLoot_ != null;
}
/**
* .POGOProtos.Inventory.Loot team_bonus_loot = 12;
*/
public POGOProtos.Inventory.LootOuterClass.Loot getTeamBonusLoot() {
return teamBonusLoot_ == null ? POGOProtos.Inventory.LootOuterClass.Loot.getDefaultInstance() : teamBonusLoot_;
}
/**
* .POGOProtos.Inventory.Loot team_bonus_loot = 12;
*/
public POGOProtos.Inventory.LootOuterClass.LootOrBuilder getTeamBonusLootOrBuilder() {
return getTeamBonusLoot();
}
public static final int FORT_ID_FIELD_NUMBER = 13;
private volatile java.lang.Object fortId_;
/**
* string fort_id = 13;
*/
public java.lang.String getFortId() {
java.lang.Object ref = fortId_;
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();
fortId_ = s;
return s;
}
}
/**
* string fort_id = 13;
*/
public com.google.protobuf.ByteString
getFortIdBytes() {
java.lang.Object ref = fortId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fortId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CHALLENGE_QUEST_FIELD_NUMBER = 14;
private POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest challengeQuest_;
/**
* .POGOProtos.Data.Quests.ClientQuest challenge_quest = 14;
*/
public boolean hasChallengeQuest() {
return challengeQuest_ != null;
}
/**
* .POGOProtos.Data.Quests.ClientQuest challenge_quest = 14;
*/
public POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest getChallengeQuest() {
return challengeQuest_ == null ? POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.getDefaultInstance() : challengeQuest_;
}
/**
* .POGOProtos.Data.Quests.ClientQuest challenge_quest = 14;
*/
public POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuestOrBuilder getChallengeQuestOrBuilder() {
return getChallengeQuest();
}
public static final int GIFT_BOX_FIELD_NUMBER = 15;
private POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBox giftBox_;
/**
* .POGOProtos.Data.Gift.GiftBox gift_box = 15;
*/
public boolean hasGiftBox() {
return giftBox_ != null;
}
/**
* .POGOProtos.Data.Gift.GiftBox gift_box = 15;
*/
public POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBox getGiftBox() {
return giftBox_ == null ? POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBox.getDefaultInstance() : giftBox_;
}
/**
* .POGOProtos.Data.Gift.GiftBox gift_box = 15;
*/
public POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBoxOrBuilder getGiftBoxOrBuilder() {
return getGiftBox();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (result_ != POGOProtos.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse.Result.NO_RESULT_SET.getNumber()) {
output.writeEnum(1, result_);
}
for (int i = 0; i < itemsAwarded_.size(); i++) {
output.writeMessage(2, itemsAwarded_.get(i));
}
if (gemsAwarded_ != 0) {
output.writeInt32(3, gemsAwarded_);
}
if (pokemonDataEgg_ != null) {
output.writeMessage(4, getPokemonDataEgg());
}
if (experienceAwarded_ != 0) {
output.writeInt32(5, experienceAwarded_);
}
if (cooldownCompleteTimestampMs_ != 0L) {
output.writeInt64(6, cooldownCompleteTimestampMs_);
}
if (chainHackSequenceNumber_ != 0) {
output.writeInt32(7, chainHackSequenceNumber_);
}
if (awardedGymBadge_ != null) {
output.writeMessage(8, getAwardedGymBadge());
}
if (loot_ != null) {
output.writeMessage(9, getLoot());
}
if (bonusLoot_ != null) {
output.writeMessage(10, getBonusLoot());
}
if (raidTickets_ != 0) {
output.writeInt32(11, raidTickets_);
}
if (teamBonusLoot_ != null) {
output.writeMessage(12, getTeamBonusLoot());
}
if (!getFortIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 13, fortId_);
}
if (challengeQuest_ != null) {
output.writeMessage(14, getChallengeQuest());
}
if (giftBox_ != null) {
output.writeMessage(15, getGiftBox());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (result_ != POGOProtos.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse.Result.NO_RESULT_SET.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, result_);
}
for (int i = 0; i < itemsAwarded_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, itemsAwarded_.get(i));
}
if (gemsAwarded_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, gemsAwarded_);
}
if (pokemonDataEgg_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getPokemonDataEgg());
}
if (experienceAwarded_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(5, experienceAwarded_);
}
if (cooldownCompleteTimestampMs_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(6, cooldownCompleteTimestampMs_);
}
if (chainHackSequenceNumber_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(7, chainHackSequenceNumber_);
}
if (awardedGymBadge_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, getAwardedGymBadge());
}
if (loot_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, getLoot());
}
if (bonusLoot_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, getBonusLoot());
}
if (raidTickets_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(11, raidTickets_);
}
if (teamBonusLoot_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, getTeamBonusLoot());
}
if (!getFortIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, fortId_);
}
if (challengeQuest_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(14, getChallengeQuest());
}
if (giftBox_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(15, getGiftBox());
}
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.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse)) {
return super.equals(obj);
}
POGOProtos.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse other = (POGOProtos.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse) obj;
boolean result = true;
result = result && result_ == other.result_;
result = result && getItemsAwardedList()
.equals(other.getItemsAwardedList());
result = result && (getGemsAwarded()
== other.getGemsAwarded());
result = result && (hasPokemonDataEgg() == other.hasPokemonDataEgg());
if (hasPokemonDataEgg()) {
result = result && getPokemonDataEgg()
.equals(other.getPokemonDataEgg());
}
result = result && (getExperienceAwarded()
== other.getExperienceAwarded());
result = result && (getCooldownCompleteTimestampMs()
== other.getCooldownCompleteTimestampMs());
result = result && (getChainHackSequenceNumber()
== other.getChainHackSequenceNumber());
result = result && (hasAwardedGymBadge() == other.hasAwardedGymBadge());
if (hasAwardedGymBadge()) {
result = result && getAwardedGymBadge()
.equals(other.getAwardedGymBadge());
}
result = result && (hasLoot() == other.hasLoot());
if (hasLoot()) {
result = result && getLoot()
.equals(other.getLoot());
}
result = result && (hasBonusLoot() == other.hasBonusLoot());
if (hasBonusLoot()) {
result = result && getBonusLoot()
.equals(other.getBonusLoot());
}
result = result && (getRaidTickets()
== other.getRaidTickets());
result = result && (hasTeamBonusLoot() == other.hasTeamBonusLoot());
if (hasTeamBonusLoot()) {
result = result && getTeamBonusLoot()
.equals(other.getTeamBonusLoot());
}
result = result && getFortId()
.equals(other.getFortId());
result = result && (hasChallengeQuest() == other.hasChallengeQuest());
if (hasChallengeQuest()) {
result = result && getChallengeQuest()
.equals(other.getChallengeQuest());
}
result = result && (hasGiftBox() == other.hasGiftBox());
if (hasGiftBox()) {
result = result && getGiftBox()
.equals(other.getGiftBox());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + RESULT_FIELD_NUMBER;
hash = (53 * hash) + result_;
if (getItemsAwardedCount() > 0) {
hash = (37 * hash) + ITEMS_AWARDED_FIELD_NUMBER;
hash = (53 * hash) + getItemsAwardedList().hashCode();
}
hash = (37 * hash) + GEMS_AWARDED_FIELD_NUMBER;
hash = (53 * hash) + getGemsAwarded();
if (hasPokemonDataEgg()) {
hash = (37 * hash) + POKEMON_DATA_EGG_FIELD_NUMBER;
hash = (53 * hash) + getPokemonDataEgg().hashCode();
}
hash = (37 * hash) + EXPERIENCE_AWARDED_FIELD_NUMBER;
hash = (53 * hash) + getExperienceAwarded();
hash = (37 * hash) + COOLDOWN_COMPLETE_TIMESTAMP_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCooldownCompleteTimestampMs());
hash = (37 * hash) + CHAIN_HACK_SEQUENCE_NUMBER_FIELD_NUMBER;
hash = (53 * hash) + getChainHackSequenceNumber();
if (hasAwardedGymBadge()) {
hash = (37 * hash) + AWARDED_GYM_BADGE_FIELD_NUMBER;
hash = (53 * hash) + getAwardedGymBadge().hashCode();
}
if (hasLoot()) {
hash = (37 * hash) + LOOT_FIELD_NUMBER;
hash = (53 * hash) + getLoot().hashCode();
}
if (hasBonusLoot()) {
hash = (37 * hash) + BONUS_LOOT_FIELD_NUMBER;
hash = (53 * hash) + getBonusLoot().hashCode();
}
hash = (37 * hash) + RAID_TICKETS_FIELD_NUMBER;
hash = (53 * hash) + getRaidTickets();
if (hasTeamBonusLoot()) {
hash = (37 * hash) + TEAM_BONUS_LOOT_FIELD_NUMBER;
hash = (53 * hash) + getTeamBonusLoot().hashCode();
}
hash = (37 * hash) + FORT_ID_FIELD_NUMBER;
hash = (53 * hash) + getFortId().hashCode();
if (hasChallengeQuest()) {
hash = (37 * hash) + CHALLENGE_QUEST_FIELD_NUMBER;
hash = (53 * hash) + getChallengeQuest().hashCode();
}
if (hasGiftBox()) {
hash = (37 * hash) + GIFT_BOX_FIELD_NUMBER;
hash = (53 * hash) + getGiftBox().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse 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.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse 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.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse 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.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse 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.Networking.Responses.FortSearchResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Networking.Responses.FortSearchResponse)
POGOProtos.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Networking.Responses.FortSearchResponseOuterClass.internal_static_POGOProtos_Networking_Responses_FortSearchResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Networking.Responses.FortSearchResponseOuterClass.internal_static_POGOProtos_Networking_Responses_FortSearchResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse.class, POGOProtos.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse.Builder.class);
}
// Construct using POGOProtos.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getItemsAwardedFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
result_ = 0;
if (itemsAwardedBuilder_ == null) {
itemsAwarded_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
itemsAwardedBuilder_.clear();
}
gemsAwarded_ = 0;
if (pokemonDataEggBuilder_ == null) {
pokemonDataEgg_ = null;
} else {
pokemonDataEgg_ = null;
pokemonDataEggBuilder_ = null;
}
experienceAwarded_ = 0;
cooldownCompleteTimestampMs_ = 0L;
chainHackSequenceNumber_ = 0;
if (awardedGymBadgeBuilder_ == null) {
awardedGymBadge_ = null;
} else {
awardedGymBadge_ = null;
awardedGymBadgeBuilder_ = null;
}
if (lootBuilder_ == null) {
loot_ = null;
} else {
loot_ = null;
lootBuilder_ = null;
}
if (bonusLootBuilder_ == null) {
bonusLoot_ = null;
} else {
bonusLoot_ = null;
bonusLootBuilder_ = null;
}
raidTickets_ = 0;
if (teamBonusLootBuilder_ == null) {
teamBonusLoot_ = null;
} else {
teamBonusLoot_ = null;
teamBonusLootBuilder_ = null;
}
fortId_ = "";
if (challengeQuestBuilder_ == null) {
challengeQuest_ = null;
} else {
challengeQuest_ = null;
challengeQuestBuilder_ = null;
}
if (giftBoxBuilder_ == null) {
giftBox_ = null;
} else {
giftBox_ = null;
giftBoxBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Networking.Responses.FortSearchResponseOuterClass.internal_static_POGOProtos_Networking_Responses_FortSearchResponse_descriptor;
}
@java.lang.Override
public POGOProtos.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse getDefaultInstanceForType() {
return POGOProtos.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse build() {
POGOProtos.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse buildPartial() {
POGOProtos.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse result = new POGOProtos.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.result_ = result_;
if (itemsAwardedBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002)) {
itemsAwarded_ = java.util.Collections.unmodifiableList(itemsAwarded_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.itemsAwarded_ = itemsAwarded_;
} else {
result.itemsAwarded_ = itemsAwardedBuilder_.build();
}
result.gemsAwarded_ = gemsAwarded_;
if (pokemonDataEggBuilder_ == null) {
result.pokemonDataEgg_ = pokemonDataEgg_;
} else {
result.pokemonDataEgg_ = pokemonDataEggBuilder_.build();
}
result.experienceAwarded_ = experienceAwarded_;
result.cooldownCompleteTimestampMs_ = cooldownCompleteTimestampMs_;
result.chainHackSequenceNumber_ = chainHackSequenceNumber_;
if (awardedGymBadgeBuilder_ == null) {
result.awardedGymBadge_ = awardedGymBadge_;
} else {
result.awardedGymBadge_ = awardedGymBadgeBuilder_.build();
}
if (lootBuilder_ == null) {
result.loot_ = loot_;
} else {
result.loot_ = lootBuilder_.build();
}
if (bonusLootBuilder_ == null) {
result.bonusLoot_ = bonusLoot_;
} else {
result.bonusLoot_ = bonusLootBuilder_.build();
}
result.raidTickets_ = raidTickets_;
if (teamBonusLootBuilder_ == null) {
result.teamBonusLoot_ = teamBonusLoot_;
} else {
result.teamBonusLoot_ = teamBonusLootBuilder_.build();
}
result.fortId_ = fortId_;
if (challengeQuestBuilder_ == null) {
result.challengeQuest_ = challengeQuest_;
} else {
result.challengeQuest_ = challengeQuestBuilder_.build();
}
if (giftBoxBuilder_ == null) {
result.giftBox_ = giftBox_;
} else {
result.giftBox_ = giftBoxBuilder_.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.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse) {
return mergeFrom((POGOProtos.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse other) {
if (other == POGOProtos.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse.getDefaultInstance()) return this;
if (other.result_ != 0) {
setResultValue(other.getResultValue());
}
if (itemsAwardedBuilder_ == null) {
if (!other.itemsAwarded_.isEmpty()) {
if (itemsAwarded_.isEmpty()) {
itemsAwarded_ = other.itemsAwarded_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureItemsAwardedIsMutable();
itemsAwarded_.addAll(other.itemsAwarded_);
}
onChanged();
}
} else {
if (!other.itemsAwarded_.isEmpty()) {
if (itemsAwardedBuilder_.isEmpty()) {
itemsAwardedBuilder_.dispose();
itemsAwardedBuilder_ = null;
itemsAwarded_ = other.itemsAwarded_;
bitField0_ = (bitField0_ & ~0x00000002);
itemsAwardedBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getItemsAwardedFieldBuilder() : null;
} else {
itemsAwardedBuilder_.addAllMessages(other.itemsAwarded_);
}
}
}
if (other.getGemsAwarded() != 0) {
setGemsAwarded(other.getGemsAwarded());
}
if (other.hasPokemonDataEgg()) {
mergePokemonDataEgg(other.getPokemonDataEgg());
}
if (other.getExperienceAwarded() != 0) {
setExperienceAwarded(other.getExperienceAwarded());
}
if (other.getCooldownCompleteTimestampMs() != 0L) {
setCooldownCompleteTimestampMs(other.getCooldownCompleteTimestampMs());
}
if (other.getChainHackSequenceNumber() != 0) {
setChainHackSequenceNumber(other.getChainHackSequenceNumber());
}
if (other.hasAwardedGymBadge()) {
mergeAwardedGymBadge(other.getAwardedGymBadge());
}
if (other.hasLoot()) {
mergeLoot(other.getLoot());
}
if (other.hasBonusLoot()) {
mergeBonusLoot(other.getBonusLoot());
}
if (other.getRaidTickets() != 0) {
setRaidTickets(other.getRaidTickets());
}
if (other.hasTeamBonusLoot()) {
mergeTeamBonusLoot(other.getTeamBonusLoot());
}
if (!other.getFortId().isEmpty()) {
fortId_ = other.fortId_;
onChanged();
}
if (other.hasChallengeQuest()) {
mergeChallengeQuest(other.getChallengeQuest());
}
if (other.hasGiftBox()) {
mergeGiftBox(other.getGiftBox());
}
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.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int result_ = 0;
/**
* .POGOProtos.Networking.Responses.FortSearchResponse.Result result = 1;
*/
public int getResultValue() {
return result_;
}
/**
* .POGOProtos.Networking.Responses.FortSearchResponse.Result result = 1;
*/
public Builder setResultValue(int value) {
result_ = value;
onChanged();
return this;
}
/**
* .POGOProtos.Networking.Responses.FortSearchResponse.Result result = 1;
*/
public POGOProtos.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse.Result getResult() {
@SuppressWarnings("deprecation")
POGOProtos.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse.Result result = POGOProtos.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse.Result.valueOf(result_);
return result == null ? POGOProtos.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse.Result.UNRECOGNIZED : result;
}
/**
* .POGOProtos.Networking.Responses.FortSearchResponse.Result result = 1;
*/
public Builder setResult(POGOProtos.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse.Result value) {
if (value == null) {
throw new NullPointerException();
}
result_ = value.getNumber();
onChanged();
return this;
}
/**
* .POGOProtos.Networking.Responses.FortSearchResponse.Result result = 1;
*/
public Builder clearResult() {
result_ = 0;
onChanged();
return this;
}
private java.util.List itemsAwarded_ =
java.util.Collections.emptyList();
private void ensureItemsAwardedIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
itemsAwarded_ = new java.util.ArrayList(itemsAwarded_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Inventory.Item.ItemAwardOuterClass.ItemAward, POGOProtos.Inventory.Item.ItemAwardOuterClass.ItemAward.Builder, POGOProtos.Inventory.Item.ItemAwardOuterClass.ItemAwardOrBuilder> itemsAwardedBuilder_;
/**
* repeated .POGOProtos.Inventory.Item.ItemAward items_awarded = 2;
*/
public java.util.List getItemsAwardedList() {
if (itemsAwardedBuilder_ == null) {
return java.util.Collections.unmodifiableList(itemsAwarded_);
} else {
return itemsAwardedBuilder_.getMessageList();
}
}
/**
* repeated .POGOProtos.Inventory.Item.ItemAward items_awarded = 2;
*/
public int getItemsAwardedCount() {
if (itemsAwardedBuilder_ == null) {
return itemsAwarded_.size();
} else {
return itemsAwardedBuilder_.getCount();
}
}
/**
* repeated .POGOProtos.Inventory.Item.ItemAward items_awarded = 2;
*/
public POGOProtos.Inventory.Item.ItemAwardOuterClass.ItemAward getItemsAwarded(int index) {
if (itemsAwardedBuilder_ == null) {
return itemsAwarded_.get(index);
} else {
return itemsAwardedBuilder_.getMessage(index);
}
}
/**
* repeated .POGOProtos.Inventory.Item.ItemAward items_awarded = 2;
*/
public Builder setItemsAwarded(
int index, POGOProtos.Inventory.Item.ItemAwardOuterClass.ItemAward value) {
if (itemsAwardedBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureItemsAwardedIsMutable();
itemsAwarded_.set(index, value);
onChanged();
} else {
itemsAwardedBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemAward items_awarded = 2;
*/
public Builder setItemsAwarded(
int index, POGOProtos.Inventory.Item.ItemAwardOuterClass.ItemAward.Builder builderForValue) {
if (itemsAwardedBuilder_ == null) {
ensureItemsAwardedIsMutable();
itemsAwarded_.set(index, builderForValue.build());
onChanged();
} else {
itemsAwardedBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemAward items_awarded = 2;
*/
public Builder addItemsAwarded(POGOProtos.Inventory.Item.ItemAwardOuterClass.ItemAward value) {
if (itemsAwardedBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureItemsAwardedIsMutable();
itemsAwarded_.add(value);
onChanged();
} else {
itemsAwardedBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemAward items_awarded = 2;
*/
public Builder addItemsAwarded(
int index, POGOProtos.Inventory.Item.ItemAwardOuterClass.ItemAward value) {
if (itemsAwardedBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureItemsAwardedIsMutable();
itemsAwarded_.add(index, value);
onChanged();
} else {
itemsAwardedBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemAward items_awarded = 2;
*/
public Builder addItemsAwarded(
POGOProtos.Inventory.Item.ItemAwardOuterClass.ItemAward.Builder builderForValue) {
if (itemsAwardedBuilder_ == null) {
ensureItemsAwardedIsMutable();
itemsAwarded_.add(builderForValue.build());
onChanged();
} else {
itemsAwardedBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemAward items_awarded = 2;
*/
public Builder addItemsAwarded(
int index, POGOProtos.Inventory.Item.ItemAwardOuterClass.ItemAward.Builder builderForValue) {
if (itemsAwardedBuilder_ == null) {
ensureItemsAwardedIsMutable();
itemsAwarded_.add(index, builderForValue.build());
onChanged();
} else {
itemsAwardedBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemAward items_awarded = 2;
*/
public Builder addAllItemsAwarded(
java.lang.Iterable extends POGOProtos.Inventory.Item.ItemAwardOuterClass.ItemAward> values) {
if (itemsAwardedBuilder_ == null) {
ensureItemsAwardedIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, itemsAwarded_);
onChanged();
} else {
itemsAwardedBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemAward items_awarded = 2;
*/
public Builder clearItemsAwarded() {
if (itemsAwardedBuilder_ == null) {
itemsAwarded_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
itemsAwardedBuilder_.clear();
}
return this;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemAward items_awarded = 2;
*/
public Builder removeItemsAwarded(int index) {
if (itemsAwardedBuilder_ == null) {
ensureItemsAwardedIsMutable();
itemsAwarded_.remove(index);
onChanged();
} else {
itemsAwardedBuilder_.remove(index);
}
return this;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemAward items_awarded = 2;
*/
public POGOProtos.Inventory.Item.ItemAwardOuterClass.ItemAward.Builder getItemsAwardedBuilder(
int index) {
return getItemsAwardedFieldBuilder().getBuilder(index);
}
/**
* repeated .POGOProtos.Inventory.Item.ItemAward items_awarded = 2;
*/
public POGOProtos.Inventory.Item.ItemAwardOuterClass.ItemAwardOrBuilder getItemsAwardedOrBuilder(
int index) {
if (itemsAwardedBuilder_ == null) {
return itemsAwarded_.get(index); } else {
return itemsAwardedBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .POGOProtos.Inventory.Item.ItemAward items_awarded = 2;
*/
public java.util.List extends POGOProtos.Inventory.Item.ItemAwardOuterClass.ItemAwardOrBuilder>
getItemsAwardedOrBuilderList() {
if (itemsAwardedBuilder_ != null) {
return itemsAwardedBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(itemsAwarded_);
}
}
/**
* repeated .POGOProtos.Inventory.Item.ItemAward items_awarded = 2;
*/
public POGOProtos.Inventory.Item.ItemAwardOuterClass.ItemAward.Builder addItemsAwardedBuilder() {
return getItemsAwardedFieldBuilder().addBuilder(
POGOProtos.Inventory.Item.ItemAwardOuterClass.ItemAward.getDefaultInstance());
}
/**
* repeated .POGOProtos.Inventory.Item.ItemAward items_awarded = 2;
*/
public POGOProtos.Inventory.Item.ItemAwardOuterClass.ItemAward.Builder addItemsAwardedBuilder(
int index) {
return getItemsAwardedFieldBuilder().addBuilder(
index, POGOProtos.Inventory.Item.ItemAwardOuterClass.ItemAward.getDefaultInstance());
}
/**
* repeated .POGOProtos.Inventory.Item.ItemAward items_awarded = 2;
*/
public java.util.List
getItemsAwardedBuilderList() {
return getItemsAwardedFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Inventory.Item.ItemAwardOuterClass.ItemAward, POGOProtos.Inventory.Item.ItemAwardOuterClass.ItemAward.Builder, POGOProtos.Inventory.Item.ItemAwardOuterClass.ItemAwardOrBuilder>
getItemsAwardedFieldBuilder() {
if (itemsAwardedBuilder_ == null) {
itemsAwardedBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Inventory.Item.ItemAwardOuterClass.ItemAward, POGOProtos.Inventory.Item.ItemAwardOuterClass.ItemAward.Builder, POGOProtos.Inventory.Item.ItemAwardOuterClass.ItemAwardOrBuilder>(
itemsAwarded_,
((bitField0_ & 0x00000002) == 0x00000002),
getParentForChildren(),
isClean());
itemsAwarded_ = null;
}
return itemsAwardedBuilder_;
}
private int gemsAwarded_ ;
/**
* int32 gems_awarded = 3;
*/
public int getGemsAwarded() {
return gemsAwarded_;
}
/**
* int32 gems_awarded = 3;
*/
public Builder setGemsAwarded(int value) {
gemsAwarded_ = value;
onChanged();
return this;
}
/**
* int32 gems_awarded = 3;
*/
public Builder clearGemsAwarded() {
gemsAwarded_ = 0;
onChanged();
return this;
}
private POGOProtos.Data.PokemonDataOuterClass.PokemonData pokemonDataEgg_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.PokemonDataOuterClass.PokemonData, POGOProtos.Data.PokemonDataOuterClass.PokemonData.Builder, POGOProtos.Data.PokemonDataOuterClass.PokemonDataOrBuilder> pokemonDataEggBuilder_;
/**
* .POGOProtos.Data.PokemonData pokemon_data_egg = 4;
*/
public boolean hasPokemonDataEgg() {
return pokemonDataEggBuilder_ != null || pokemonDataEgg_ != null;
}
/**
* .POGOProtos.Data.PokemonData pokemon_data_egg = 4;
*/
public POGOProtos.Data.PokemonDataOuterClass.PokemonData getPokemonDataEgg() {
if (pokemonDataEggBuilder_ == null) {
return pokemonDataEgg_ == null ? POGOProtos.Data.PokemonDataOuterClass.PokemonData.getDefaultInstance() : pokemonDataEgg_;
} else {
return pokemonDataEggBuilder_.getMessage();
}
}
/**
* .POGOProtos.Data.PokemonData pokemon_data_egg = 4;
*/
public Builder setPokemonDataEgg(POGOProtos.Data.PokemonDataOuterClass.PokemonData value) {
if (pokemonDataEggBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
pokemonDataEgg_ = value;
onChanged();
} else {
pokemonDataEggBuilder_.setMessage(value);
}
return this;
}
/**
* .POGOProtos.Data.PokemonData pokemon_data_egg = 4;
*/
public Builder setPokemonDataEgg(
POGOProtos.Data.PokemonDataOuterClass.PokemonData.Builder builderForValue) {
if (pokemonDataEggBuilder_ == null) {
pokemonDataEgg_ = builderForValue.build();
onChanged();
} else {
pokemonDataEggBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .POGOProtos.Data.PokemonData pokemon_data_egg = 4;
*/
public Builder mergePokemonDataEgg(POGOProtos.Data.PokemonDataOuterClass.PokemonData value) {
if (pokemonDataEggBuilder_ == null) {
if (pokemonDataEgg_ != null) {
pokemonDataEgg_ =
POGOProtos.Data.PokemonDataOuterClass.PokemonData.newBuilder(pokemonDataEgg_).mergeFrom(value).buildPartial();
} else {
pokemonDataEgg_ = value;
}
onChanged();
} else {
pokemonDataEggBuilder_.mergeFrom(value);
}
return this;
}
/**
* .POGOProtos.Data.PokemonData pokemon_data_egg = 4;
*/
public Builder clearPokemonDataEgg() {
if (pokemonDataEggBuilder_ == null) {
pokemonDataEgg_ = null;
onChanged();
} else {
pokemonDataEgg_ = null;
pokemonDataEggBuilder_ = null;
}
return this;
}
/**
* .POGOProtos.Data.PokemonData pokemon_data_egg = 4;
*/
public POGOProtos.Data.PokemonDataOuterClass.PokemonData.Builder getPokemonDataEggBuilder() {
onChanged();
return getPokemonDataEggFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Data.PokemonData pokemon_data_egg = 4;
*/
public POGOProtos.Data.PokemonDataOuterClass.PokemonDataOrBuilder getPokemonDataEggOrBuilder() {
if (pokemonDataEggBuilder_ != null) {
return pokemonDataEggBuilder_.getMessageOrBuilder();
} else {
return pokemonDataEgg_ == null ?
POGOProtos.Data.PokemonDataOuterClass.PokemonData.getDefaultInstance() : pokemonDataEgg_;
}
}
/**
* .POGOProtos.Data.PokemonData pokemon_data_egg = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.PokemonDataOuterClass.PokemonData, POGOProtos.Data.PokemonDataOuterClass.PokemonData.Builder, POGOProtos.Data.PokemonDataOuterClass.PokemonDataOrBuilder>
getPokemonDataEggFieldBuilder() {
if (pokemonDataEggBuilder_ == null) {
pokemonDataEggBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.PokemonDataOuterClass.PokemonData, POGOProtos.Data.PokemonDataOuterClass.PokemonData.Builder, POGOProtos.Data.PokemonDataOuterClass.PokemonDataOrBuilder>(
getPokemonDataEgg(),
getParentForChildren(),
isClean());
pokemonDataEgg_ = null;
}
return pokemonDataEggBuilder_;
}
private int experienceAwarded_ ;
/**
* int32 experience_awarded = 5;
*/
public int getExperienceAwarded() {
return experienceAwarded_;
}
/**
* int32 experience_awarded = 5;
*/
public Builder setExperienceAwarded(int value) {
experienceAwarded_ = value;
onChanged();
return this;
}
/**
* int32 experience_awarded = 5;
*/
public Builder clearExperienceAwarded() {
experienceAwarded_ = 0;
onChanged();
return this;
}
private long cooldownCompleteTimestampMs_ ;
/**
* int64 cooldown_complete_timestamp_ms = 6;
*/
public long getCooldownCompleteTimestampMs() {
return cooldownCompleteTimestampMs_;
}
/**
* int64 cooldown_complete_timestamp_ms = 6;
*/
public Builder setCooldownCompleteTimestampMs(long value) {
cooldownCompleteTimestampMs_ = value;
onChanged();
return this;
}
/**
* int64 cooldown_complete_timestamp_ms = 6;
*/
public Builder clearCooldownCompleteTimestampMs() {
cooldownCompleteTimestampMs_ = 0L;
onChanged();
return this;
}
private int chainHackSequenceNumber_ ;
/**
* int32 chain_hack_sequence_number = 7;
*/
public int getChainHackSequenceNumber() {
return chainHackSequenceNumber_;
}
/**
* int32 chain_hack_sequence_number = 7;
*/
public Builder setChainHackSequenceNumber(int value) {
chainHackSequenceNumber_ = value;
onChanged();
return this;
}
/**
* int32 chain_hack_sequence_number = 7;
*/
public Builder clearChainHackSequenceNumber() {
chainHackSequenceNumber_ = 0;
onChanged();
return this;
}
private POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge awardedGymBadge_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge, POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge.Builder, POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadgeOrBuilder> awardedGymBadgeBuilder_;
/**
* .POGOProtos.Data.Badge.AwardedGymBadge awarded_gym_badge = 8;
*/
public boolean hasAwardedGymBadge() {
return awardedGymBadgeBuilder_ != null || awardedGymBadge_ != null;
}
/**
* .POGOProtos.Data.Badge.AwardedGymBadge awarded_gym_badge = 8;
*/
public POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge getAwardedGymBadge() {
if (awardedGymBadgeBuilder_ == null) {
return awardedGymBadge_ == null ? POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge.getDefaultInstance() : awardedGymBadge_;
} else {
return awardedGymBadgeBuilder_.getMessage();
}
}
/**
* .POGOProtos.Data.Badge.AwardedGymBadge awarded_gym_badge = 8;
*/
public Builder setAwardedGymBadge(POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge value) {
if (awardedGymBadgeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
awardedGymBadge_ = value;
onChanged();
} else {
awardedGymBadgeBuilder_.setMessage(value);
}
return this;
}
/**
* .POGOProtos.Data.Badge.AwardedGymBadge awarded_gym_badge = 8;
*/
public Builder setAwardedGymBadge(
POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge.Builder builderForValue) {
if (awardedGymBadgeBuilder_ == null) {
awardedGymBadge_ = builderForValue.build();
onChanged();
} else {
awardedGymBadgeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .POGOProtos.Data.Badge.AwardedGymBadge awarded_gym_badge = 8;
*/
public Builder mergeAwardedGymBadge(POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge value) {
if (awardedGymBadgeBuilder_ == null) {
if (awardedGymBadge_ != null) {
awardedGymBadge_ =
POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge.newBuilder(awardedGymBadge_).mergeFrom(value).buildPartial();
} else {
awardedGymBadge_ = value;
}
onChanged();
} else {
awardedGymBadgeBuilder_.mergeFrom(value);
}
return this;
}
/**
* .POGOProtos.Data.Badge.AwardedGymBadge awarded_gym_badge = 8;
*/
public Builder clearAwardedGymBadge() {
if (awardedGymBadgeBuilder_ == null) {
awardedGymBadge_ = null;
onChanged();
} else {
awardedGymBadge_ = null;
awardedGymBadgeBuilder_ = null;
}
return this;
}
/**
* .POGOProtos.Data.Badge.AwardedGymBadge awarded_gym_badge = 8;
*/
public POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge.Builder getAwardedGymBadgeBuilder() {
onChanged();
return getAwardedGymBadgeFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Data.Badge.AwardedGymBadge awarded_gym_badge = 8;
*/
public POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadgeOrBuilder getAwardedGymBadgeOrBuilder() {
if (awardedGymBadgeBuilder_ != null) {
return awardedGymBadgeBuilder_.getMessageOrBuilder();
} else {
return awardedGymBadge_ == null ?
POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge.getDefaultInstance() : awardedGymBadge_;
}
}
/**
* .POGOProtos.Data.Badge.AwardedGymBadge awarded_gym_badge = 8;
*/
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge, POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge.Builder, POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadgeOrBuilder>
getAwardedGymBadgeFieldBuilder() {
if (awardedGymBadgeBuilder_ == null) {
awardedGymBadgeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge, POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge.Builder, POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadgeOrBuilder>(
getAwardedGymBadge(),
getParentForChildren(),
isClean());
awardedGymBadge_ = null;
}
return awardedGymBadgeBuilder_;
}
private POGOProtos.Inventory.LootOuterClass.Loot loot_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Inventory.LootOuterClass.Loot, POGOProtos.Inventory.LootOuterClass.Loot.Builder, POGOProtos.Inventory.LootOuterClass.LootOrBuilder> lootBuilder_;
/**
* .POGOProtos.Inventory.Loot loot = 9;
*/
public boolean hasLoot() {
return lootBuilder_ != null || loot_ != null;
}
/**
* .POGOProtos.Inventory.Loot loot = 9;
*/
public POGOProtos.Inventory.LootOuterClass.Loot getLoot() {
if (lootBuilder_ == null) {
return loot_ == null ? POGOProtos.Inventory.LootOuterClass.Loot.getDefaultInstance() : loot_;
} else {
return lootBuilder_.getMessage();
}
}
/**
* .POGOProtos.Inventory.Loot loot = 9;
*/
public Builder setLoot(POGOProtos.Inventory.LootOuterClass.Loot value) {
if (lootBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
loot_ = value;
onChanged();
} else {
lootBuilder_.setMessage(value);
}
return this;
}
/**
* .POGOProtos.Inventory.Loot loot = 9;
*/
public Builder setLoot(
POGOProtos.Inventory.LootOuterClass.Loot.Builder builderForValue) {
if (lootBuilder_ == null) {
loot_ = builderForValue.build();
onChanged();
} else {
lootBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .POGOProtos.Inventory.Loot loot = 9;
*/
public Builder mergeLoot(POGOProtos.Inventory.LootOuterClass.Loot value) {
if (lootBuilder_ == null) {
if (loot_ != null) {
loot_ =
POGOProtos.Inventory.LootOuterClass.Loot.newBuilder(loot_).mergeFrom(value).buildPartial();
} else {
loot_ = value;
}
onChanged();
} else {
lootBuilder_.mergeFrom(value);
}
return this;
}
/**
* .POGOProtos.Inventory.Loot loot = 9;
*/
public Builder clearLoot() {
if (lootBuilder_ == null) {
loot_ = null;
onChanged();
} else {
loot_ = null;
lootBuilder_ = null;
}
return this;
}
/**
* .POGOProtos.Inventory.Loot loot = 9;
*/
public POGOProtos.Inventory.LootOuterClass.Loot.Builder getLootBuilder() {
onChanged();
return getLootFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Inventory.Loot loot = 9;
*/
public POGOProtos.Inventory.LootOuterClass.LootOrBuilder getLootOrBuilder() {
if (lootBuilder_ != null) {
return lootBuilder_.getMessageOrBuilder();
} else {
return loot_ == null ?
POGOProtos.Inventory.LootOuterClass.Loot.getDefaultInstance() : loot_;
}
}
/**
* .POGOProtos.Inventory.Loot loot = 9;
*/
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Inventory.LootOuterClass.Loot, POGOProtos.Inventory.LootOuterClass.Loot.Builder, POGOProtos.Inventory.LootOuterClass.LootOrBuilder>
getLootFieldBuilder() {
if (lootBuilder_ == null) {
lootBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Inventory.LootOuterClass.Loot, POGOProtos.Inventory.LootOuterClass.Loot.Builder, POGOProtos.Inventory.LootOuterClass.LootOrBuilder>(
getLoot(),
getParentForChildren(),
isClean());
loot_ = null;
}
return lootBuilder_;
}
private POGOProtos.Inventory.LootOuterClass.Loot bonusLoot_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Inventory.LootOuterClass.Loot, POGOProtos.Inventory.LootOuterClass.Loot.Builder, POGOProtos.Inventory.LootOuterClass.LootOrBuilder> bonusLootBuilder_;
/**
* .POGOProtos.Inventory.Loot bonus_loot = 10;
*/
public boolean hasBonusLoot() {
return bonusLootBuilder_ != null || bonusLoot_ != null;
}
/**
* .POGOProtos.Inventory.Loot bonus_loot = 10;
*/
public POGOProtos.Inventory.LootOuterClass.Loot getBonusLoot() {
if (bonusLootBuilder_ == null) {
return bonusLoot_ == null ? POGOProtos.Inventory.LootOuterClass.Loot.getDefaultInstance() : bonusLoot_;
} else {
return bonusLootBuilder_.getMessage();
}
}
/**
* .POGOProtos.Inventory.Loot bonus_loot = 10;
*/
public Builder setBonusLoot(POGOProtos.Inventory.LootOuterClass.Loot value) {
if (bonusLootBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
bonusLoot_ = value;
onChanged();
} else {
bonusLootBuilder_.setMessage(value);
}
return this;
}
/**
* .POGOProtos.Inventory.Loot bonus_loot = 10;
*/
public Builder setBonusLoot(
POGOProtos.Inventory.LootOuterClass.Loot.Builder builderForValue) {
if (bonusLootBuilder_ == null) {
bonusLoot_ = builderForValue.build();
onChanged();
} else {
bonusLootBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .POGOProtos.Inventory.Loot bonus_loot = 10;
*/
public Builder mergeBonusLoot(POGOProtos.Inventory.LootOuterClass.Loot value) {
if (bonusLootBuilder_ == null) {
if (bonusLoot_ != null) {
bonusLoot_ =
POGOProtos.Inventory.LootOuterClass.Loot.newBuilder(bonusLoot_).mergeFrom(value).buildPartial();
} else {
bonusLoot_ = value;
}
onChanged();
} else {
bonusLootBuilder_.mergeFrom(value);
}
return this;
}
/**
* .POGOProtos.Inventory.Loot bonus_loot = 10;
*/
public Builder clearBonusLoot() {
if (bonusLootBuilder_ == null) {
bonusLoot_ = null;
onChanged();
} else {
bonusLoot_ = null;
bonusLootBuilder_ = null;
}
return this;
}
/**
* .POGOProtos.Inventory.Loot bonus_loot = 10;
*/
public POGOProtos.Inventory.LootOuterClass.Loot.Builder getBonusLootBuilder() {
onChanged();
return getBonusLootFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Inventory.Loot bonus_loot = 10;
*/
public POGOProtos.Inventory.LootOuterClass.LootOrBuilder getBonusLootOrBuilder() {
if (bonusLootBuilder_ != null) {
return bonusLootBuilder_.getMessageOrBuilder();
} else {
return bonusLoot_ == null ?
POGOProtos.Inventory.LootOuterClass.Loot.getDefaultInstance() : bonusLoot_;
}
}
/**
* .POGOProtos.Inventory.Loot bonus_loot = 10;
*/
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Inventory.LootOuterClass.Loot, POGOProtos.Inventory.LootOuterClass.Loot.Builder, POGOProtos.Inventory.LootOuterClass.LootOrBuilder>
getBonusLootFieldBuilder() {
if (bonusLootBuilder_ == null) {
bonusLootBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Inventory.LootOuterClass.Loot, POGOProtos.Inventory.LootOuterClass.Loot.Builder, POGOProtos.Inventory.LootOuterClass.LootOrBuilder>(
getBonusLoot(),
getParentForChildren(),
isClean());
bonusLoot_ = null;
}
return bonusLootBuilder_;
}
private int raidTickets_ ;
/**
* int32 raid_tickets = 11;
*/
public int getRaidTickets() {
return raidTickets_;
}
/**
* int32 raid_tickets = 11;
*/
public Builder setRaidTickets(int value) {
raidTickets_ = value;
onChanged();
return this;
}
/**
* int32 raid_tickets = 11;
*/
public Builder clearRaidTickets() {
raidTickets_ = 0;
onChanged();
return this;
}
private POGOProtos.Inventory.LootOuterClass.Loot teamBonusLoot_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Inventory.LootOuterClass.Loot, POGOProtos.Inventory.LootOuterClass.Loot.Builder, POGOProtos.Inventory.LootOuterClass.LootOrBuilder> teamBonusLootBuilder_;
/**
* .POGOProtos.Inventory.Loot team_bonus_loot = 12;
*/
public boolean hasTeamBonusLoot() {
return teamBonusLootBuilder_ != null || teamBonusLoot_ != null;
}
/**
* .POGOProtos.Inventory.Loot team_bonus_loot = 12;
*/
public POGOProtos.Inventory.LootOuterClass.Loot getTeamBonusLoot() {
if (teamBonusLootBuilder_ == null) {
return teamBonusLoot_ == null ? POGOProtos.Inventory.LootOuterClass.Loot.getDefaultInstance() : teamBonusLoot_;
} else {
return teamBonusLootBuilder_.getMessage();
}
}
/**
* .POGOProtos.Inventory.Loot team_bonus_loot = 12;
*/
public Builder setTeamBonusLoot(POGOProtos.Inventory.LootOuterClass.Loot value) {
if (teamBonusLootBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
teamBonusLoot_ = value;
onChanged();
} else {
teamBonusLootBuilder_.setMessage(value);
}
return this;
}
/**
* .POGOProtos.Inventory.Loot team_bonus_loot = 12;
*/
public Builder setTeamBonusLoot(
POGOProtos.Inventory.LootOuterClass.Loot.Builder builderForValue) {
if (teamBonusLootBuilder_ == null) {
teamBonusLoot_ = builderForValue.build();
onChanged();
} else {
teamBonusLootBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .POGOProtos.Inventory.Loot team_bonus_loot = 12;
*/
public Builder mergeTeamBonusLoot(POGOProtos.Inventory.LootOuterClass.Loot value) {
if (teamBonusLootBuilder_ == null) {
if (teamBonusLoot_ != null) {
teamBonusLoot_ =
POGOProtos.Inventory.LootOuterClass.Loot.newBuilder(teamBonusLoot_).mergeFrom(value).buildPartial();
} else {
teamBonusLoot_ = value;
}
onChanged();
} else {
teamBonusLootBuilder_.mergeFrom(value);
}
return this;
}
/**
* .POGOProtos.Inventory.Loot team_bonus_loot = 12;
*/
public Builder clearTeamBonusLoot() {
if (teamBonusLootBuilder_ == null) {
teamBonusLoot_ = null;
onChanged();
} else {
teamBonusLoot_ = null;
teamBonusLootBuilder_ = null;
}
return this;
}
/**
* .POGOProtos.Inventory.Loot team_bonus_loot = 12;
*/
public POGOProtos.Inventory.LootOuterClass.Loot.Builder getTeamBonusLootBuilder() {
onChanged();
return getTeamBonusLootFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Inventory.Loot team_bonus_loot = 12;
*/
public POGOProtos.Inventory.LootOuterClass.LootOrBuilder getTeamBonusLootOrBuilder() {
if (teamBonusLootBuilder_ != null) {
return teamBonusLootBuilder_.getMessageOrBuilder();
} else {
return teamBonusLoot_ == null ?
POGOProtos.Inventory.LootOuterClass.Loot.getDefaultInstance() : teamBonusLoot_;
}
}
/**
* .POGOProtos.Inventory.Loot team_bonus_loot = 12;
*/
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Inventory.LootOuterClass.Loot, POGOProtos.Inventory.LootOuterClass.Loot.Builder, POGOProtos.Inventory.LootOuterClass.LootOrBuilder>
getTeamBonusLootFieldBuilder() {
if (teamBonusLootBuilder_ == null) {
teamBonusLootBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Inventory.LootOuterClass.Loot, POGOProtos.Inventory.LootOuterClass.Loot.Builder, POGOProtos.Inventory.LootOuterClass.LootOrBuilder>(
getTeamBonusLoot(),
getParentForChildren(),
isClean());
teamBonusLoot_ = null;
}
return teamBonusLootBuilder_;
}
private java.lang.Object fortId_ = "";
/**
* string fort_id = 13;
*/
public java.lang.String getFortId() {
java.lang.Object ref = fortId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
fortId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string fort_id = 13;
*/
public com.google.protobuf.ByteString
getFortIdBytes() {
java.lang.Object ref = fortId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fortId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string fort_id = 13;
*/
public Builder setFortId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
fortId_ = value;
onChanged();
return this;
}
/**
* string fort_id = 13;
*/
public Builder clearFortId() {
fortId_ = getDefaultInstance().getFortId();
onChanged();
return this;
}
/**
* string fort_id = 13;
*/
public Builder setFortIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
fortId_ = value;
onChanged();
return this;
}
private POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest challengeQuest_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest, POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.Builder, POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuestOrBuilder> challengeQuestBuilder_;
/**
* .POGOProtos.Data.Quests.ClientQuest challenge_quest = 14;
*/
public boolean hasChallengeQuest() {
return challengeQuestBuilder_ != null || challengeQuest_ != null;
}
/**
* .POGOProtos.Data.Quests.ClientQuest challenge_quest = 14;
*/
public POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest getChallengeQuest() {
if (challengeQuestBuilder_ == null) {
return challengeQuest_ == null ? POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.getDefaultInstance() : challengeQuest_;
} else {
return challengeQuestBuilder_.getMessage();
}
}
/**
* .POGOProtos.Data.Quests.ClientQuest challenge_quest = 14;
*/
public Builder setChallengeQuest(POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest value) {
if (challengeQuestBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
challengeQuest_ = value;
onChanged();
} else {
challengeQuestBuilder_.setMessage(value);
}
return this;
}
/**
* .POGOProtos.Data.Quests.ClientQuest challenge_quest = 14;
*/
public Builder setChallengeQuest(
POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.Builder builderForValue) {
if (challengeQuestBuilder_ == null) {
challengeQuest_ = builderForValue.build();
onChanged();
} else {
challengeQuestBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .POGOProtos.Data.Quests.ClientQuest challenge_quest = 14;
*/
public Builder mergeChallengeQuest(POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest value) {
if (challengeQuestBuilder_ == null) {
if (challengeQuest_ != null) {
challengeQuest_ =
POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.newBuilder(challengeQuest_).mergeFrom(value).buildPartial();
} else {
challengeQuest_ = value;
}
onChanged();
} else {
challengeQuestBuilder_.mergeFrom(value);
}
return this;
}
/**
* .POGOProtos.Data.Quests.ClientQuest challenge_quest = 14;
*/
public Builder clearChallengeQuest() {
if (challengeQuestBuilder_ == null) {
challengeQuest_ = null;
onChanged();
} else {
challengeQuest_ = null;
challengeQuestBuilder_ = null;
}
return this;
}
/**
* .POGOProtos.Data.Quests.ClientQuest challenge_quest = 14;
*/
public POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.Builder getChallengeQuestBuilder() {
onChanged();
return getChallengeQuestFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Data.Quests.ClientQuest challenge_quest = 14;
*/
public POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuestOrBuilder getChallengeQuestOrBuilder() {
if (challengeQuestBuilder_ != null) {
return challengeQuestBuilder_.getMessageOrBuilder();
} else {
return challengeQuest_ == null ?
POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.getDefaultInstance() : challengeQuest_;
}
}
/**
* .POGOProtos.Data.Quests.ClientQuest challenge_quest = 14;
*/
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest, POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.Builder, POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuestOrBuilder>
getChallengeQuestFieldBuilder() {
if (challengeQuestBuilder_ == null) {
challengeQuestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest, POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.Builder, POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuestOrBuilder>(
getChallengeQuest(),
getParentForChildren(),
isClean());
challengeQuest_ = null;
}
return challengeQuestBuilder_;
}
private POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBox giftBox_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBox, POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBox.Builder, POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBoxOrBuilder> giftBoxBuilder_;
/**
* .POGOProtos.Data.Gift.GiftBox gift_box = 15;
*/
public boolean hasGiftBox() {
return giftBoxBuilder_ != null || giftBox_ != null;
}
/**
* .POGOProtos.Data.Gift.GiftBox gift_box = 15;
*/
public POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBox getGiftBox() {
if (giftBoxBuilder_ == null) {
return giftBox_ == null ? POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBox.getDefaultInstance() : giftBox_;
} else {
return giftBoxBuilder_.getMessage();
}
}
/**
* .POGOProtos.Data.Gift.GiftBox gift_box = 15;
*/
public Builder setGiftBox(POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBox value) {
if (giftBoxBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
giftBox_ = value;
onChanged();
} else {
giftBoxBuilder_.setMessage(value);
}
return this;
}
/**
* .POGOProtos.Data.Gift.GiftBox gift_box = 15;
*/
public Builder setGiftBox(
POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBox.Builder builderForValue) {
if (giftBoxBuilder_ == null) {
giftBox_ = builderForValue.build();
onChanged();
} else {
giftBoxBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .POGOProtos.Data.Gift.GiftBox gift_box = 15;
*/
public Builder mergeGiftBox(POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBox value) {
if (giftBoxBuilder_ == null) {
if (giftBox_ != null) {
giftBox_ =
POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBox.newBuilder(giftBox_).mergeFrom(value).buildPartial();
} else {
giftBox_ = value;
}
onChanged();
} else {
giftBoxBuilder_.mergeFrom(value);
}
return this;
}
/**
* .POGOProtos.Data.Gift.GiftBox gift_box = 15;
*/
public Builder clearGiftBox() {
if (giftBoxBuilder_ == null) {
giftBox_ = null;
onChanged();
} else {
giftBox_ = null;
giftBoxBuilder_ = null;
}
return this;
}
/**
* .POGOProtos.Data.Gift.GiftBox gift_box = 15;
*/
public POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBox.Builder getGiftBoxBuilder() {
onChanged();
return getGiftBoxFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Data.Gift.GiftBox gift_box = 15;
*/
public POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBoxOrBuilder getGiftBoxOrBuilder() {
if (giftBoxBuilder_ != null) {
return giftBoxBuilder_.getMessageOrBuilder();
} else {
return giftBox_ == null ?
POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBox.getDefaultInstance() : giftBox_;
}
}
/**
* .POGOProtos.Data.Gift.GiftBox gift_box = 15;
*/
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBox, POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBox.Builder, POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBoxOrBuilder>
getGiftBoxFieldBuilder() {
if (giftBoxBuilder_ == null) {
giftBoxBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBox, POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBox.Builder, POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBoxOrBuilder>(
getGiftBox(),
getParentForChildren(),
isClean());
giftBox_ = null;
}
return giftBoxBuilder_;
}
@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.Networking.Responses.FortSearchResponse)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Networking.Responses.FortSearchResponse)
private static final POGOProtos.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse();
}
public static POGOProtos.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public FortSearchResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new FortSearchResponse(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.Networking.Responses.FortSearchResponseOuterClass.FortSearchResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Networking_Responses_FortSearchResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Networking_Responses_FortSearchResponse_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n8POGOProtos/Networking/Responses/FortSe" +
"archResponse.proto\022\037POGOProtos.Networkin" +
"g.Responses\032!POGOProtos/Data/PokemonData" +
".proto\032(POGOProtos/Data/Quests/ClientQue" +
"st.proto\032)POGOProtos/Inventory/Item/Item" +
"Award.proto\032\037POGOProtos/Inventory/Loot.p" +
"roto\032+POGOProtos/Data/Badge/AwardedGymBa" +
"dge.proto\032\"POGOProtos/Data/Gift/GiftBox." +
"proto\"\324\006\n\022FortSearchResponse\022J\n\006result\030\001" +
" \001(\0162:.POGOProtos.Networking.Responses.F" +
"ortSearchResponse.Result\022;\n\ritems_awarde" +
"d\030\002 \003(\0132$.POGOProtos.Inventory.Item.Item" +
"Award\022\024\n\014gems_awarded\030\003 \001(\005\0226\n\020pokemon_d" +
"ata_egg\030\004 \001(\0132\034.POGOProtos.Data.PokemonD" +
"ata\022\032\n\022experience_awarded\030\005 \001(\005\022&\n\036coold" +
"own_complete_timestamp_ms\030\006 \001(\003\022\"\n\032chain" +
"_hack_sequence_number\030\007 \001(\005\022A\n\021awarded_g" +
"ym_badge\030\010 \001(\0132&.POGOProtos.Data.Badge.A" +
"wardedGymBadge\022(\n\004loot\030\t \001(\0132\032.POGOProto" +
"s.Inventory.Loot\022.\n\nbonus_loot\030\n \001(\0132\032.P" +
"OGOProtos.Inventory.Loot\022\024\n\014raid_tickets" +
"\030\013 \001(\005\0223\n\017team_bonus_loot\030\014 \001(\0132\032.POGOPr" +
"otos.Inventory.Loot\022\017\n\007fort_id\030\r \001(\t\022<\n\017" +
"challenge_quest\030\016 \001(\0132#.POGOProtos.Data." +
"Quests.ClientQuest\022/\n\010gift_box\030\017 \001(\0132\035.P" +
"OGOProtos.Data.Gift.GiftBox\"\226\001\n\006Result\022\021" +
"\n\rNO_RESULT_SET\020\000\022\013\n\007SUCCESS\020\001\022\020\n\014OUT_OF" +
"_RANGE\020\002\022\026\n\022IN_COOLDOWN_PERIOD\020\003\022\022\n\016INVE" +
"NTORY_FULL\020\004\022\030\n\024EXCEEDED_DAILY_LIMIT\020\005\022\024" +
"\n\020POI_INACCESSIBLE\020\006b\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.PokemonDataOuterClass.getDescriptor(),
POGOProtos.Data.Quests.ClientQuestOuterClass.getDescriptor(),
POGOProtos.Inventory.Item.ItemAwardOuterClass.getDescriptor(),
POGOProtos.Inventory.LootOuterClass.getDescriptor(),
POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.getDescriptor(),
POGOProtos.Data.Gift.GiftBoxOuterClass.getDescriptor(),
}, assigner);
internal_static_POGOProtos_Networking_Responses_FortSearchResponse_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_POGOProtos_Networking_Responses_FortSearchResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Networking_Responses_FortSearchResponse_descriptor,
new java.lang.String[] { "Result", "ItemsAwarded", "GemsAwarded", "PokemonDataEgg", "ExperienceAwarded", "CooldownCompleteTimestampMs", "ChainHackSequenceNumber", "AwardedGymBadge", "Loot", "BonusLoot", "RaidTickets", "TeamBonusLoot", "FortId", "ChallengeQuest", "GiftBox", });
POGOProtos.Data.PokemonDataOuterClass.getDescriptor();
POGOProtos.Data.Quests.ClientQuestOuterClass.getDescriptor();
POGOProtos.Inventory.Item.ItemAwardOuterClass.getDescriptor();
POGOProtos.Inventory.LootOuterClass.getDescriptor();
POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.getDescriptor();
POGOProtos.Data.Gift.GiftBoxOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy