POGOProtos.Map.Fort.FortDataOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: POGOProtos/Map/Fort/FortData.proto
package POGOProtos.Map.Fort;
public final class FortDataOuterClass {
private FortDataOuterClass() {}
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 FortDataOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Map.Fort.FortData)
com.google.protobuf.MessageOrBuilder {
/**
* string id = 1;
*/
java.lang.String getId();
/**
* string id = 1;
*/
com.google.protobuf.ByteString
getIdBytes();
/**
* int64 last_modified_timestamp_ms = 2;
*/
long getLastModifiedTimestampMs();
/**
* double latitude = 3;
*/
double getLatitude();
/**
* double longitude = 4;
*/
double getLongitude();
/**
*
* (Gym only) Team that owns the gym.
*
*
* .POGOProtos.Enums.TeamColor owned_by_team = 5;
*/
int getOwnedByTeamValue();
/**
*
* (Gym only) Team that owns the gym.
*
*
* .POGOProtos.Enums.TeamColor owned_by_team = 5;
*/
POGOProtos.Enums.TeamColorOuterClass.TeamColor getOwnedByTeam();
/**
*
* (Gym only) Highest CP Pokemon ID at the gym.
*
*
* .POGOProtos.Enums.PokemonId guard_pokemon_id = 6;
*/
int getGuardPokemonIdValue();
/**
*
* (Gym only) Highest CP Pokemon ID at the gym.
*
*
* .POGOProtos.Enums.PokemonId guard_pokemon_id = 6;
*/
POGOProtos.Enums.PokemonIdOuterClass.PokemonId getGuardPokemonId();
/**
* int32 guard_pokemon_level = 7;
*/
int getGuardPokemonLevel();
/**
* bool enabled = 8;
*/
boolean getEnabled();
/**
* .POGOProtos.Map.Fort.FortType type = 9;
*/
int getTypeValue();
/**
* .POGOProtos.Map.Fort.FortType type = 9;
*/
POGOProtos.Map.Fort.FortTypeOuterClass.FortType getType();
/**
*
* (Gym only) Prestigate / experience of the gym.
*
*
* int64 gym_points = 10;
*/
long getGymPoints();
/**
*
* (Gym only) Whether someone is battling at the gym currently.
*
*
* bool is_in_battle = 11;
*/
boolean getIsInBattle();
/**
*
* (Pokestop only)
*
*
* repeated .POGOProtos.Inventory.Item.ItemId active_fort_modifier = 12;
*/
java.util.List getActiveFortModifierList();
/**
*
* (Pokestop only)
*
*
* repeated .POGOProtos.Inventory.Item.ItemId active_fort_modifier = 12;
*/
int getActiveFortModifierCount();
/**
*
* (Pokestop only)
*
*
* repeated .POGOProtos.Inventory.Item.ItemId active_fort_modifier = 12;
*/
POGOProtos.Inventory.Item.ItemIdOuterClass.ItemId getActiveFortModifier(int index);
/**
*
* (Pokestop only)
*
*
* repeated .POGOProtos.Inventory.Item.ItemId active_fort_modifier = 12;
*/
java.util.List
getActiveFortModifierValueList();
/**
*
* (Pokestop only)
*
*
* repeated .POGOProtos.Inventory.Item.ItemId active_fort_modifier = 12;
*/
int getActiveFortModifierValue(int index);
/**
* .POGOProtos.Map.Pokemon.MapPokemon active_pokemon = 13;
*/
boolean hasActivePokemon();
/**
* .POGOProtos.Map.Pokemon.MapPokemon active_pokemon = 13;
*/
POGOProtos.Map.Pokemon.MapPokemonOuterClass.MapPokemon getActivePokemon();
/**
* .POGOProtos.Map.Pokemon.MapPokemon active_pokemon = 13;
*/
POGOProtos.Map.Pokemon.MapPokemonOuterClass.MapPokemonOrBuilder getActivePokemonOrBuilder();
/**
*
* (Pokestop only) Timestamp when the pokestop can be activated again to get items / xp.
*
*
* int64 cooldown_complete_ms = 14;
*/
long getCooldownCompleteMs();
/**
* .POGOProtos.Map.Fort.FortSponsor sponsor = 15;
*/
int getSponsorValue();
/**
* .POGOProtos.Map.Fort.FortSponsor sponsor = 15;
*/
POGOProtos.Map.Fort.FortSponsorOuterClass.FortSponsor getSponsor();
/**
* .POGOProtos.Map.Fort.FortRenderingType rendering_type = 16;
*/
int getRenderingTypeValue();
/**
* .POGOProtos.Map.Fort.FortRenderingType rendering_type = 16;
*/
POGOProtos.Map.Fort.FortRenderingTypeOuterClass.FortRenderingType getRenderingType();
/**
* int64 deploy_lockout_end_ms = 17;
*/
long getDeployLockoutEndMs();
/**
* .POGOProtos.Data.PokemonDisplay guard_pokemon_display = 18;
*/
boolean hasGuardPokemonDisplay();
/**
* .POGOProtos.Data.PokemonDisplay guard_pokemon_display = 18;
*/
POGOProtos.Data.PokemonDisplayOuterClass.PokemonDisplay getGuardPokemonDisplay();
/**
* .POGOProtos.Data.PokemonDisplay guard_pokemon_display = 18;
*/
POGOProtos.Data.PokemonDisplayOuterClass.PokemonDisplayOrBuilder getGuardPokemonDisplayOrBuilder();
/**
* bool closed = 19;
*/
boolean getClosed();
/**
* .POGOProtos.Data.Raid.RaidInfo raid_info = 20;
*/
boolean hasRaidInfo();
/**
* .POGOProtos.Data.Raid.RaidInfo raid_info = 20;
*/
POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo getRaidInfo();
/**
* .POGOProtos.Data.Raid.RaidInfo raid_info = 20;
*/
POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfoOrBuilder getRaidInfoOrBuilder();
/**
* .POGOProtos.Map.Fort.GymDisplay gym_display = 21;
*/
boolean hasGymDisplay();
/**
* .POGOProtos.Map.Fort.GymDisplay gym_display = 21;
*/
POGOProtos.Map.Fort.GymDisplayOuterClass.GymDisplay getGymDisplay();
/**
* .POGOProtos.Map.Fort.GymDisplay gym_display = 21;
*/
POGOProtos.Map.Fort.GymDisplayOuterClass.GymDisplayOrBuilder getGymDisplayOrBuilder();
/**
* bool visited = 22;
*/
boolean getVisited();
/**
* int64 same_team_deploy_lockout_end_ms = 23;
*/
long getSameTeamDeployLockoutEndMs();
/**
* bool allow_checkin = 24;
*/
boolean getAllowCheckin();
/**
* string image_url = 25;
*/
java.lang.String getImageUrl();
/**
* string image_url = 25;
*/
com.google.protobuf.ByteString
getImageUrlBytes();
/**
* bool in_event = 26;
*/
boolean getInEvent();
/**
* string banner_url = 27;
*/
java.lang.String getBannerUrl();
/**
* string banner_url = 27;
*/
com.google.protobuf.ByteString
getBannerUrlBytes();
/**
* string partner_id = 28;
*/
java.lang.String getPartnerId();
/**
* string partner_id = 28;
*/
com.google.protobuf.ByteString
getPartnerIdBytes();
/**
* bool challenge_quest_completed = 30;
*/
boolean getChallengeQuestCompleted();
/**
* bool is_ex_raid_eligible = 31;
*/
boolean getIsExRaidEligible();
}
/**
* Protobuf type {@code POGOProtos.Map.Fort.FortData}
*/
public static final class FortData extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Map.Fort.FortData)
FortDataOrBuilder {
private static final long serialVersionUID = 0L;
// Use FortData.newBuilder() to construct.
private FortData(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private FortData() {
id_ = "";
lastModifiedTimestampMs_ = 0L;
latitude_ = 0D;
longitude_ = 0D;
ownedByTeam_ = 0;
guardPokemonId_ = 0;
guardPokemonLevel_ = 0;
enabled_ = false;
type_ = 0;
gymPoints_ = 0L;
isInBattle_ = false;
activeFortModifier_ = java.util.Collections.emptyList();
cooldownCompleteMs_ = 0L;
sponsor_ = 0;
renderingType_ = 0;
deployLockoutEndMs_ = 0L;
closed_ = false;
visited_ = false;
sameTeamDeployLockoutEndMs_ = 0L;
allowCheckin_ = false;
imageUrl_ = "";
inEvent_ = false;
bannerUrl_ = "";
partnerId_ = "";
challengeQuestCompleted_ = false;
isExRaidEligible_ = false;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private FortData(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
id_ = s;
break;
}
case 16: {
lastModifiedTimestampMs_ = input.readInt64();
break;
}
case 25: {
latitude_ = input.readDouble();
break;
}
case 33: {
longitude_ = input.readDouble();
break;
}
case 40: {
int rawValue = input.readEnum();
ownedByTeam_ = rawValue;
break;
}
case 48: {
int rawValue = input.readEnum();
guardPokemonId_ = rawValue;
break;
}
case 56: {
guardPokemonLevel_ = input.readInt32();
break;
}
case 64: {
enabled_ = input.readBool();
break;
}
case 72: {
int rawValue = input.readEnum();
type_ = rawValue;
break;
}
case 80: {
gymPoints_ = input.readInt64();
break;
}
case 88: {
isInBattle_ = input.readBool();
break;
}
case 96: {
int rawValue = input.readEnum();
if (!((mutable_bitField0_ & 0x00000800) == 0x00000800)) {
activeFortModifier_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000800;
}
activeFortModifier_.add(rawValue);
break;
}
case 98: {
int length = input.readRawVarint32();
int oldLimit = input.pushLimit(length);
while(input.getBytesUntilLimit() > 0) {
int rawValue = input.readEnum();
if (!((mutable_bitField0_ & 0x00000800) == 0x00000800)) {
activeFortModifier_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000800;
}
activeFortModifier_.add(rawValue);
}
input.popLimit(oldLimit);
break;
}
case 106: {
POGOProtos.Map.Pokemon.MapPokemonOuterClass.MapPokemon.Builder subBuilder = null;
if (activePokemon_ != null) {
subBuilder = activePokemon_.toBuilder();
}
activePokemon_ = input.readMessage(POGOProtos.Map.Pokemon.MapPokemonOuterClass.MapPokemon.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(activePokemon_);
activePokemon_ = subBuilder.buildPartial();
}
break;
}
case 112: {
cooldownCompleteMs_ = input.readInt64();
break;
}
case 120: {
int rawValue = input.readEnum();
sponsor_ = rawValue;
break;
}
case 128: {
int rawValue = input.readEnum();
renderingType_ = rawValue;
break;
}
case 136: {
deployLockoutEndMs_ = input.readInt64();
break;
}
case 146: {
POGOProtos.Data.PokemonDisplayOuterClass.PokemonDisplay.Builder subBuilder = null;
if (guardPokemonDisplay_ != null) {
subBuilder = guardPokemonDisplay_.toBuilder();
}
guardPokemonDisplay_ = input.readMessage(POGOProtos.Data.PokemonDisplayOuterClass.PokemonDisplay.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(guardPokemonDisplay_);
guardPokemonDisplay_ = subBuilder.buildPartial();
}
break;
}
case 152: {
closed_ = input.readBool();
break;
}
case 162: {
POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo.Builder subBuilder = null;
if (raidInfo_ != null) {
subBuilder = raidInfo_.toBuilder();
}
raidInfo_ = input.readMessage(POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(raidInfo_);
raidInfo_ = subBuilder.buildPartial();
}
break;
}
case 170: {
POGOProtos.Map.Fort.GymDisplayOuterClass.GymDisplay.Builder subBuilder = null;
if (gymDisplay_ != null) {
subBuilder = gymDisplay_.toBuilder();
}
gymDisplay_ = input.readMessage(POGOProtos.Map.Fort.GymDisplayOuterClass.GymDisplay.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(gymDisplay_);
gymDisplay_ = subBuilder.buildPartial();
}
break;
}
case 176: {
visited_ = input.readBool();
break;
}
case 184: {
sameTeamDeployLockoutEndMs_ = input.readInt64();
break;
}
case 192: {
allowCheckin_ = input.readBool();
break;
}
case 202: {
java.lang.String s = input.readStringRequireUtf8();
imageUrl_ = s;
break;
}
case 208: {
inEvent_ = input.readBool();
break;
}
case 218: {
java.lang.String s = input.readStringRequireUtf8();
bannerUrl_ = s;
break;
}
case 226: {
java.lang.String s = input.readStringRequireUtf8();
partnerId_ = s;
break;
}
case 240: {
challengeQuestCompleted_ = input.readBool();
break;
}
case 248: {
isExRaidEligible_ = input.readBool();
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_ & 0x00000800) == 0x00000800)) {
activeFortModifier_ = java.util.Collections.unmodifiableList(activeFortModifier_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Map.Fort.FortDataOuterClass.internal_static_POGOProtos_Map_Fort_FortData_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Map.Fort.FortDataOuterClass.internal_static_POGOProtos_Map_Fort_FortData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Map.Fort.FortDataOuterClass.FortData.class, POGOProtos.Map.Fort.FortDataOuterClass.FortData.Builder.class);
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
private volatile java.lang.Object id_;
/**
* string id = 1;
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
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();
id_ = s;
return s;
}
}
/**
* string id = 1;
*/
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LAST_MODIFIED_TIMESTAMP_MS_FIELD_NUMBER = 2;
private long lastModifiedTimestampMs_;
/**
* int64 last_modified_timestamp_ms = 2;
*/
public long getLastModifiedTimestampMs() {
return lastModifiedTimestampMs_;
}
public static final int LATITUDE_FIELD_NUMBER = 3;
private double latitude_;
/**
* double latitude = 3;
*/
public double getLatitude() {
return latitude_;
}
public static final int LONGITUDE_FIELD_NUMBER = 4;
private double longitude_;
/**
* double longitude = 4;
*/
public double getLongitude() {
return longitude_;
}
public static final int OWNED_BY_TEAM_FIELD_NUMBER = 5;
private int ownedByTeam_;
/**
*
* (Gym only) Team that owns the gym.
*
*
* .POGOProtos.Enums.TeamColor owned_by_team = 5;
*/
public int getOwnedByTeamValue() {
return ownedByTeam_;
}
/**
*
* (Gym only) Team that owns the gym.
*
*
* .POGOProtos.Enums.TeamColor owned_by_team = 5;
*/
public POGOProtos.Enums.TeamColorOuterClass.TeamColor getOwnedByTeam() {
@SuppressWarnings("deprecation")
POGOProtos.Enums.TeamColorOuterClass.TeamColor result = POGOProtos.Enums.TeamColorOuterClass.TeamColor.valueOf(ownedByTeam_);
return result == null ? POGOProtos.Enums.TeamColorOuterClass.TeamColor.UNRECOGNIZED : result;
}
public static final int GUARD_POKEMON_ID_FIELD_NUMBER = 6;
private int guardPokemonId_;
/**
*
* (Gym only) Highest CP Pokemon ID at the gym.
*
*
* .POGOProtos.Enums.PokemonId guard_pokemon_id = 6;
*/
public int getGuardPokemonIdValue() {
return guardPokemonId_;
}
/**
*
* (Gym only) Highest CP Pokemon ID at the gym.
*
*
* .POGOProtos.Enums.PokemonId guard_pokemon_id = 6;
*/
public POGOProtos.Enums.PokemonIdOuterClass.PokemonId getGuardPokemonId() {
@SuppressWarnings("deprecation")
POGOProtos.Enums.PokemonIdOuterClass.PokemonId result = POGOProtos.Enums.PokemonIdOuterClass.PokemonId.valueOf(guardPokemonId_);
return result == null ? POGOProtos.Enums.PokemonIdOuterClass.PokemonId.UNRECOGNIZED : result;
}
public static final int GUARD_POKEMON_LEVEL_FIELD_NUMBER = 7;
private int guardPokemonLevel_;
/**
* int32 guard_pokemon_level = 7;
*/
public int getGuardPokemonLevel() {
return guardPokemonLevel_;
}
public static final int ENABLED_FIELD_NUMBER = 8;
private boolean enabled_;
/**
* bool enabled = 8;
*/
public boolean getEnabled() {
return enabled_;
}
public static final int TYPE_FIELD_NUMBER = 9;
private int type_;
/**
* .POGOProtos.Map.Fort.FortType type = 9;
*/
public int getTypeValue() {
return type_;
}
/**
* .POGOProtos.Map.Fort.FortType type = 9;
*/
public POGOProtos.Map.Fort.FortTypeOuterClass.FortType getType() {
@SuppressWarnings("deprecation")
POGOProtos.Map.Fort.FortTypeOuterClass.FortType result = POGOProtos.Map.Fort.FortTypeOuterClass.FortType.valueOf(type_);
return result == null ? POGOProtos.Map.Fort.FortTypeOuterClass.FortType.UNRECOGNIZED : result;
}
public static final int GYM_POINTS_FIELD_NUMBER = 10;
private long gymPoints_;
/**
*
* (Gym only) Prestigate / experience of the gym.
*
*
* int64 gym_points = 10;
*/
public long getGymPoints() {
return gymPoints_;
}
public static final int IS_IN_BATTLE_FIELD_NUMBER = 11;
private boolean isInBattle_;
/**
*
* (Gym only) Whether someone is battling at the gym currently.
*
*
* bool is_in_battle = 11;
*/
public boolean getIsInBattle() {
return isInBattle_;
}
public static final int ACTIVE_FORT_MODIFIER_FIELD_NUMBER = 12;
private java.util.List activeFortModifier_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, POGOProtos.Inventory.Item.ItemIdOuterClass.ItemId> activeFortModifier_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, POGOProtos.Inventory.Item.ItemIdOuterClass.ItemId>() {
public POGOProtos.Inventory.Item.ItemIdOuterClass.ItemId convert(java.lang.Integer from) {
@SuppressWarnings("deprecation")
POGOProtos.Inventory.Item.ItemIdOuterClass.ItemId result = POGOProtos.Inventory.Item.ItemIdOuterClass.ItemId.valueOf(from);
return result == null ? POGOProtos.Inventory.Item.ItemIdOuterClass.ItemId.UNRECOGNIZED : result;
}
};
/**
*
* (Pokestop only)
*
*
* repeated .POGOProtos.Inventory.Item.ItemId active_fort_modifier = 12;
*/
public java.util.List getActiveFortModifierList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, POGOProtos.Inventory.Item.ItemIdOuterClass.ItemId>(activeFortModifier_, activeFortModifier_converter_);
}
/**
*
* (Pokestop only)
*
*
* repeated .POGOProtos.Inventory.Item.ItemId active_fort_modifier = 12;
*/
public int getActiveFortModifierCount() {
return activeFortModifier_.size();
}
/**
*
* (Pokestop only)
*
*
* repeated .POGOProtos.Inventory.Item.ItemId active_fort_modifier = 12;
*/
public POGOProtos.Inventory.Item.ItemIdOuterClass.ItemId getActiveFortModifier(int index) {
return activeFortModifier_converter_.convert(activeFortModifier_.get(index));
}
/**
*
* (Pokestop only)
*
*
* repeated .POGOProtos.Inventory.Item.ItemId active_fort_modifier = 12;
*/
public java.util.List
getActiveFortModifierValueList() {
return activeFortModifier_;
}
/**
*
* (Pokestop only)
*
*
* repeated .POGOProtos.Inventory.Item.ItemId active_fort_modifier = 12;
*/
public int getActiveFortModifierValue(int index) {
return activeFortModifier_.get(index);
}
private int activeFortModifierMemoizedSerializedSize;
public static final int ACTIVE_POKEMON_FIELD_NUMBER = 13;
private POGOProtos.Map.Pokemon.MapPokemonOuterClass.MapPokemon activePokemon_;
/**
* .POGOProtos.Map.Pokemon.MapPokemon active_pokemon = 13;
*/
public boolean hasActivePokemon() {
return activePokemon_ != null;
}
/**
* .POGOProtos.Map.Pokemon.MapPokemon active_pokemon = 13;
*/
public POGOProtos.Map.Pokemon.MapPokemonOuterClass.MapPokemon getActivePokemon() {
return activePokemon_ == null ? POGOProtos.Map.Pokemon.MapPokemonOuterClass.MapPokemon.getDefaultInstance() : activePokemon_;
}
/**
* .POGOProtos.Map.Pokemon.MapPokemon active_pokemon = 13;
*/
public POGOProtos.Map.Pokemon.MapPokemonOuterClass.MapPokemonOrBuilder getActivePokemonOrBuilder() {
return getActivePokemon();
}
public static final int COOLDOWN_COMPLETE_MS_FIELD_NUMBER = 14;
private long cooldownCompleteMs_;
/**
*
* (Pokestop only) Timestamp when the pokestop can be activated again to get items / xp.
*
*
* int64 cooldown_complete_ms = 14;
*/
public long getCooldownCompleteMs() {
return cooldownCompleteMs_;
}
public static final int SPONSOR_FIELD_NUMBER = 15;
private int sponsor_;
/**
* .POGOProtos.Map.Fort.FortSponsor sponsor = 15;
*/
public int getSponsorValue() {
return sponsor_;
}
/**
* .POGOProtos.Map.Fort.FortSponsor sponsor = 15;
*/
public POGOProtos.Map.Fort.FortSponsorOuterClass.FortSponsor getSponsor() {
@SuppressWarnings("deprecation")
POGOProtos.Map.Fort.FortSponsorOuterClass.FortSponsor result = POGOProtos.Map.Fort.FortSponsorOuterClass.FortSponsor.valueOf(sponsor_);
return result == null ? POGOProtos.Map.Fort.FortSponsorOuterClass.FortSponsor.UNRECOGNIZED : result;
}
public static final int RENDERING_TYPE_FIELD_NUMBER = 16;
private int renderingType_;
/**
* .POGOProtos.Map.Fort.FortRenderingType rendering_type = 16;
*/
public int getRenderingTypeValue() {
return renderingType_;
}
/**
* .POGOProtos.Map.Fort.FortRenderingType rendering_type = 16;
*/
public POGOProtos.Map.Fort.FortRenderingTypeOuterClass.FortRenderingType getRenderingType() {
@SuppressWarnings("deprecation")
POGOProtos.Map.Fort.FortRenderingTypeOuterClass.FortRenderingType result = POGOProtos.Map.Fort.FortRenderingTypeOuterClass.FortRenderingType.valueOf(renderingType_);
return result == null ? POGOProtos.Map.Fort.FortRenderingTypeOuterClass.FortRenderingType.UNRECOGNIZED : result;
}
public static final int DEPLOY_LOCKOUT_END_MS_FIELD_NUMBER = 17;
private long deployLockoutEndMs_;
/**
* int64 deploy_lockout_end_ms = 17;
*/
public long getDeployLockoutEndMs() {
return deployLockoutEndMs_;
}
public static final int GUARD_POKEMON_DISPLAY_FIELD_NUMBER = 18;
private POGOProtos.Data.PokemonDisplayOuterClass.PokemonDisplay guardPokemonDisplay_;
/**
* .POGOProtos.Data.PokemonDisplay guard_pokemon_display = 18;
*/
public boolean hasGuardPokemonDisplay() {
return guardPokemonDisplay_ != null;
}
/**
* .POGOProtos.Data.PokemonDisplay guard_pokemon_display = 18;
*/
public POGOProtos.Data.PokemonDisplayOuterClass.PokemonDisplay getGuardPokemonDisplay() {
return guardPokemonDisplay_ == null ? POGOProtos.Data.PokemonDisplayOuterClass.PokemonDisplay.getDefaultInstance() : guardPokemonDisplay_;
}
/**
* .POGOProtos.Data.PokemonDisplay guard_pokemon_display = 18;
*/
public POGOProtos.Data.PokemonDisplayOuterClass.PokemonDisplayOrBuilder getGuardPokemonDisplayOrBuilder() {
return getGuardPokemonDisplay();
}
public static final int CLOSED_FIELD_NUMBER = 19;
private boolean closed_;
/**
* bool closed = 19;
*/
public boolean getClosed() {
return closed_;
}
public static final int RAID_INFO_FIELD_NUMBER = 20;
private POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo raidInfo_;
/**
* .POGOProtos.Data.Raid.RaidInfo raid_info = 20;
*/
public boolean hasRaidInfo() {
return raidInfo_ != null;
}
/**
* .POGOProtos.Data.Raid.RaidInfo raid_info = 20;
*/
public POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo getRaidInfo() {
return raidInfo_ == null ? POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo.getDefaultInstance() : raidInfo_;
}
/**
* .POGOProtos.Data.Raid.RaidInfo raid_info = 20;
*/
public POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfoOrBuilder getRaidInfoOrBuilder() {
return getRaidInfo();
}
public static final int GYM_DISPLAY_FIELD_NUMBER = 21;
private POGOProtos.Map.Fort.GymDisplayOuterClass.GymDisplay gymDisplay_;
/**
* .POGOProtos.Map.Fort.GymDisplay gym_display = 21;
*/
public boolean hasGymDisplay() {
return gymDisplay_ != null;
}
/**
* .POGOProtos.Map.Fort.GymDisplay gym_display = 21;
*/
public POGOProtos.Map.Fort.GymDisplayOuterClass.GymDisplay getGymDisplay() {
return gymDisplay_ == null ? POGOProtos.Map.Fort.GymDisplayOuterClass.GymDisplay.getDefaultInstance() : gymDisplay_;
}
/**
* .POGOProtos.Map.Fort.GymDisplay gym_display = 21;
*/
public POGOProtos.Map.Fort.GymDisplayOuterClass.GymDisplayOrBuilder getGymDisplayOrBuilder() {
return getGymDisplay();
}
public static final int VISITED_FIELD_NUMBER = 22;
private boolean visited_;
/**
* bool visited = 22;
*/
public boolean getVisited() {
return visited_;
}
public static final int SAME_TEAM_DEPLOY_LOCKOUT_END_MS_FIELD_NUMBER = 23;
private long sameTeamDeployLockoutEndMs_;
/**
* int64 same_team_deploy_lockout_end_ms = 23;
*/
public long getSameTeamDeployLockoutEndMs() {
return sameTeamDeployLockoutEndMs_;
}
public static final int ALLOW_CHECKIN_FIELD_NUMBER = 24;
private boolean allowCheckin_;
/**
* bool allow_checkin = 24;
*/
public boolean getAllowCheckin() {
return allowCheckin_;
}
public static final int IMAGE_URL_FIELD_NUMBER = 25;
private volatile java.lang.Object imageUrl_;
/**
* string image_url = 25;
*/
public java.lang.String getImageUrl() {
java.lang.Object ref = imageUrl_;
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();
imageUrl_ = s;
return s;
}
}
/**
* string image_url = 25;
*/
public com.google.protobuf.ByteString
getImageUrlBytes() {
java.lang.Object ref = imageUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
imageUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int IN_EVENT_FIELD_NUMBER = 26;
private boolean inEvent_;
/**
* bool in_event = 26;
*/
public boolean getInEvent() {
return inEvent_;
}
public static final int BANNER_URL_FIELD_NUMBER = 27;
private volatile java.lang.Object bannerUrl_;
/**
* string banner_url = 27;
*/
public java.lang.String getBannerUrl() {
java.lang.Object ref = bannerUrl_;
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();
bannerUrl_ = s;
return s;
}
}
/**
* string banner_url = 27;
*/
public com.google.protobuf.ByteString
getBannerUrlBytes() {
java.lang.Object ref = bannerUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
bannerUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PARTNER_ID_FIELD_NUMBER = 28;
private volatile java.lang.Object partnerId_;
/**
* string partner_id = 28;
*/
public java.lang.String getPartnerId() {
java.lang.Object ref = partnerId_;
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();
partnerId_ = s;
return s;
}
}
/**
* string partner_id = 28;
*/
public com.google.protobuf.ByteString
getPartnerIdBytes() {
java.lang.Object ref = partnerId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
partnerId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CHALLENGE_QUEST_COMPLETED_FIELD_NUMBER = 30;
private boolean challengeQuestCompleted_;
/**
* bool challenge_quest_completed = 30;
*/
public boolean getChallengeQuestCompleted() {
return challengeQuestCompleted_;
}
public static final int IS_EX_RAID_ELIGIBLE_FIELD_NUMBER = 31;
private boolean isExRaidEligible_;
/**
* bool is_ex_raid_eligible = 31;
*/
public boolean getIsExRaidEligible() {
return isExRaidEligible_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (!getIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_);
}
if (lastModifiedTimestampMs_ != 0L) {
output.writeInt64(2, lastModifiedTimestampMs_);
}
if (latitude_ != 0D) {
output.writeDouble(3, latitude_);
}
if (longitude_ != 0D) {
output.writeDouble(4, longitude_);
}
if (ownedByTeam_ != POGOProtos.Enums.TeamColorOuterClass.TeamColor.NEUTRAL.getNumber()) {
output.writeEnum(5, ownedByTeam_);
}
if (guardPokemonId_ != POGOProtos.Enums.PokemonIdOuterClass.PokemonId.MISSINGNO.getNumber()) {
output.writeEnum(6, guardPokemonId_);
}
if (guardPokemonLevel_ != 0) {
output.writeInt32(7, guardPokemonLevel_);
}
if (enabled_ != false) {
output.writeBool(8, enabled_);
}
if (type_ != POGOProtos.Map.Fort.FortTypeOuterClass.FortType.GYM.getNumber()) {
output.writeEnum(9, type_);
}
if (gymPoints_ != 0L) {
output.writeInt64(10, gymPoints_);
}
if (isInBattle_ != false) {
output.writeBool(11, isInBattle_);
}
if (getActiveFortModifierList().size() > 0) {
output.writeUInt32NoTag(98);
output.writeUInt32NoTag(activeFortModifierMemoizedSerializedSize);
}
for (int i = 0; i < activeFortModifier_.size(); i++) {
output.writeEnumNoTag(activeFortModifier_.get(i));
}
if (activePokemon_ != null) {
output.writeMessage(13, getActivePokemon());
}
if (cooldownCompleteMs_ != 0L) {
output.writeInt64(14, cooldownCompleteMs_);
}
if (sponsor_ != POGOProtos.Map.Fort.FortSponsorOuterClass.FortSponsor.UNSET_SPONSOR.getNumber()) {
output.writeEnum(15, sponsor_);
}
if (renderingType_ != POGOProtos.Map.Fort.FortRenderingTypeOuterClass.FortRenderingType.DEFAULT.getNumber()) {
output.writeEnum(16, renderingType_);
}
if (deployLockoutEndMs_ != 0L) {
output.writeInt64(17, deployLockoutEndMs_);
}
if (guardPokemonDisplay_ != null) {
output.writeMessage(18, getGuardPokemonDisplay());
}
if (closed_ != false) {
output.writeBool(19, closed_);
}
if (raidInfo_ != null) {
output.writeMessage(20, getRaidInfo());
}
if (gymDisplay_ != null) {
output.writeMessage(21, getGymDisplay());
}
if (visited_ != false) {
output.writeBool(22, visited_);
}
if (sameTeamDeployLockoutEndMs_ != 0L) {
output.writeInt64(23, sameTeamDeployLockoutEndMs_);
}
if (allowCheckin_ != false) {
output.writeBool(24, allowCheckin_);
}
if (!getImageUrlBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 25, imageUrl_);
}
if (inEvent_ != false) {
output.writeBool(26, inEvent_);
}
if (!getBannerUrlBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 27, bannerUrl_);
}
if (!getPartnerIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 28, partnerId_);
}
if (challengeQuestCompleted_ != false) {
output.writeBool(30, challengeQuestCompleted_);
}
if (isExRaidEligible_ != false) {
output.writeBool(31, isExRaidEligible_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_);
}
if (lastModifiedTimestampMs_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, lastModifiedTimestampMs_);
}
if (latitude_ != 0D) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(3, latitude_);
}
if (longitude_ != 0D) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(4, longitude_);
}
if (ownedByTeam_ != POGOProtos.Enums.TeamColorOuterClass.TeamColor.NEUTRAL.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(5, ownedByTeam_);
}
if (guardPokemonId_ != POGOProtos.Enums.PokemonIdOuterClass.PokemonId.MISSINGNO.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(6, guardPokemonId_);
}
if (guardPokemonLevel_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(7, guardPokemonLevel_);
}
if (enabled_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(8, enabled_);
}
if (type_ != POGOProtos.Map.Fort.FortTypeOuterClass.FortType.GYM.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(9, type_);
}
if (gymPoints_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(10, gymPoints_);
}
if (isInBattle_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(11, isInBattle_);
}
{
int dataSize = 0;
for (int i = 0; i < activeFortModifier_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeEnumSizeNoTag(activeFortModifier_.get(i));
}
size += dataSize;
if (!getActiveFortModifierList().isEmpty()) { size += 1;
size += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(dataSize);
}activeFortModifierMemoizedSerializedSize = dataSize;
}
if (activePokemon_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, getActivePokemon());
}
if (cooldownCompleteMs_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(14, cooldownCompleteMs_);
}
if (sponsor_ != POGOProtos.Map.Fort.FortSponsorOuterClass.FortSponsor.UNSET_SPONSOR.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(15, sponsor_);
}
if (renderingType_ != POGOProtos.Map.Fort.FortRenderingTypeOuterClass.FortRenderingType.DEFAULT.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(16, renderingType_);
}
if (deployLockoutEndMs_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(17, deployLockoutEndMs_);
}
if (guardPokemonDisplay_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(18, getGuardPokemonDisplay());
}
if (closed_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(19, closed_);
}
if (raidInfo_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(20, getRaidInfo());
}
if (gymDisplay_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(21, getGymDisplay());
}
if (visited_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(22, visited_);
}
if (sameTeamDeployLockoutEndMs_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(23, sameTeamDeployLockoutEndMs_);
}
if (allowCheckin_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(24, allowCheckin_);
}
if (!getImageUrlBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(25, imageUrl_);
}
if (inEvent_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(26, inEvent_);
}
if (!getBannerUrlBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(27, bannerUrl_);
}
if (!getPartnerIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(28, partnerId_);
}
if (challengeQuestCompleted_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(30, challengeQuestCompleted_);
}
if (isExRaidEligible_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(31, isExRaidEligible_);
}
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.Map.Fort.FortDataOuterClass.FortData)) {
return super.equals(obj);
}
POGOProtos.Map.Fort.FortDataOuterClass.FortData other = (POGOProtos.Map.Fort.FortDataOuterClass.FortData) obj;
boolean result = true;
result = result && getId()
.equals(other.getId());
result = result && (getLastModifiedTimestampMs()
== other.getLastModifiedTimestampMs());
result = result && (
java.lang.Double.doubleToLongBits(getLatitude())
== java.lang.Double.doubleToLongBits(
other.getLatitude()));
result = result && (
java.lang.Double.doubleToLongBits(getLongitude())
== java.lang.Double.doubleToLongBits(
other.getLongitude()));
result = result && ownedByTeam_ == other.ownedByTeam_;
result = result && guardPokemonId_ == other.guardPokemonId_;
result = result && (getGuardPokemonLevel()
== other.getGuardPokemonLevel());
result = result && (getEnabled()
== other.getEnabled());
result = result && type_ == other.type_;
result = result && (getGymPoints()
== other.getGymPoints());
result = result && (getIsInBattle()
== other.getIsInBattle());
result = result && activeFortModifier_.equals(other.activeFortModifier_);
result = result && (hasActivePokemon() == other.hasActivePokemon());
if (hasActivePokemon()) {
result = result && getActivePokemon()
.equals(other.getActivePokemon());
}
result = result && (getCooldownCompleteMs()
== other.getCooldownCompleteMs());
result = result && sponsor_ == other.sponsor_;
result = result && renderingType_ == other.renderingType_;
result = result && (getDeployLockoutEndMs()
== other.getDeployLockoutEndMs());
result = result && (hasGuardPokemonDisplay() == other.hasGuardPokemonDisplay());
if (hasGuardPokemonDisplay()) {
result = result && getGuardPokemonDisplay()
.equals(other.getGuardPokemonDisplay());
}
result = result && (getClosed()
== other.getClosed());
result = result && (hasRaidInfo() == other.hasRaidInfo());
if (hasRaidInfo()) {
result = result && getRaidInfo()
.equals(other.getRaidInfo());
}
result = result && (hasGymDisplay() == other.hasGymDisplay());
if (hasGymDisplay()) {
result = result && getGymDisplay()
.equals(other.getGymDisplay());
}
result = result && (getVisited()
== other.getVisited());
result = result && (getSameTeamDeployLockoutEndMs()
== other.getSameTeamDeployLockoutEndMs());
result = result && (getAllowCheckin()
== other.getAllowCheckin());
result = result && getImageUrl()
.equals(other.getImageUrl());
result = result && (getInEvent()
== other.getInEvent());
result = result && getBannerUrl()
.equals(other.getBannerUrl());
result = result && getPartnerId()
.equals(other.getPartnerId());
result = result && (getChallengeQuestCompleted()
== other.getChallengeQuestCompleted());
result = result && (getIsExRaidEligible()
== other.getIsExRaidEligible());
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) + ID_FIELD_NUMBER;
hash = (53 * hash) + getId().hashCode();
hash = (37 * hash) + LAST_MODIFIED_TIMESTAMP_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getLastModifiedTimestampMs());
hash = (37 * hash) + LATITUDE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getLatitude()));
hash = (37 * hash) + LONGITUDE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getLongitude()));
hash = (37 * hash) + OWNED_BY_TEAM_FIELD_NUMBER;
hash = (53 * hash) + ownedByTeam_;
hash = (37 * hash) + GUARD_POKEMON_ID_FIELD_NUMBER;
hash = (53 * hash) + guardPokemonId_;
hash = (37 * hash) + GUARD_POKEMON_LEVEL_FIELD_NUMBER;
hash = (53 * hash) + getGuardPokemonLevel();
hash = (37 * hash) + ENABLED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getEnabled());
hash = (37 * hash) + TYPE_FIELD_NUMBER;
hash = (53 * hash) + type_;
hash = (37 * hash) + GYM_POINTS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getGymPoints());
hash = (37 * hash) + IS_IN_BATTLE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsInBattle());
if (getActiveFortModifierCount() > 0) {
hash = (37 * hash) + ACTIVE_FORT_MODIFIER_FIELD_NUMBER;
hash = (53 * hash) + activeFortModifier_.hashCode();
}
if (hasActivePokemon()) {
hash = (37 * hash) + ACTIVE_POKEMON_FIELD_NUMBER;
hash = (53 * hash) + getActivePokemon().hashCode();
}
hash = (37 * hash) + COOLDOWN_COMPLETE_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCooldownCompleteMs());
hash = (37 * hash) + SPONSOR_FIELD_NUMBER;
hash = (53 * hash) + sponsor_;
hash = (37 * hash) + RENDERING_TYPE_FIELD_NUMBER;
hash = (53 * hash) + renderingType_;
hash = (37 * hash) + DEPLOY_LOCKOUT_END_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getDeployLockoutEndMs());
if (hasGuardPokemonDisplay()) {
hash = (37 * hash) + GUARD_POKEMON_DISPLAY_FIELD_NUMBER;
hash = (53 * hash) + getGuardPokemonDisplay().hashCode();
}
hash = (37 * hash) + CLOSED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getClosed());
if (hasRaidInfo()) {
hash = (37 * hash) + RAID_INFO_FIELD_NUMBER;
hash = (53 * hash) + getRaidInfo().hashCode();
}
if (hasGymDisplay()) {
hash = (37 * hash) + GYM_DISPLAY_FIELD_NUMBER;
hash = (53 * hash) + getGymDisplay().hashCode();
}
hash = (37 * hash) + VISITED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getVisited());
hash = (37 * hash) + SAME_TEAM_DEPLOY_LOCKOUT_END_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSameTeamDeployLockoutEndMs());
hash = (37 * hash) + ALLOW_CHECKIN_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getAllowCheckin());
hash = (37 * hash) + IMAGE_URL_FIELD_NUMBER;
hash = (53 * hash) + getImageUrl().hashCode();
hash = (37 * hash) + IN_EVENT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getInEvent());
hash = (37 * hash) + BANNER_URL_FIELD_NUMBER;
hash = (53 * hash) + getBannerUrl().hashCode();
hash = (37 * hash) + PARTNER_ID_FIELD_NUMBER;
hash = (53 * hash) + getPartnerId().hashCode();
hash = (37 * hash) + CHALLENGE_QUEST_COMPLETED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getChallengeQuestCompleted());
hash = (37 * hash) + IS_EX_RAID_ELIGIBLE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsExRaidEligible());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Map.Fort.FortDataOuterClass.FortData parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Map.Fort.FortDataOuterClass.FortData parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Map.Fort.FortDataOuterClass.FortData parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Map.Fort.FortDataOuterClass.FortData parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Map.Fort.FortDataOuterClass.FortData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Map.Fort.FortDataOuterClass.FortData parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Map.Fort.FortDataOuterClass.FortData parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Map.Fort.FortDataOuterClass.FortData 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.Map.Fort.FortDataOuterClass.FortData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Map.Fort.FortDataOuterClass.FortData 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.Map.Fort.FortDataOuterClass.FortData parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Map.Fort.FortDataOuterClass.FortData 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.Map.Fort.FortDataOuterClass.FortData 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.Map.Fort.FortData}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Map.Fort.FortData)
POGOProtos.Map.Fort.FortDataOuterClass.FortDataOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Map.Fort.FortDataOuterClass.internal_static_POGOProtos_Map_Fort_FortData_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Map.Fort.FortDataOuterClass.internal_static_POGOProtos_Map_Fort_FortData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Map.Fort.FortDataOuterClass.FortData.class, POGOProtos.Map.Fort.FortDataOuterClass.FortData.Builder.class);
}
// Construct using POGOProtos.Map.Fort.FortDataOuterClass.FortData.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
id_ = "";
lastModifiedTimestampMs_ = 0L;
latitude_ = 0D;
longitude_ = 0D;
ownedByTeam_ = 0;
guardPokemonId_ = 0;
guardPokemonLevel_ = 0;
enabled_ = false;
type_ = 0;
gymPoints_ = 0L;
isInBattle_ = false;
activeFortModifier_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000800);
if (activePokemonBuilder_ == null) {
activePokemon_ = null;
} else {
activePokemon_ = null;
activePokemonBuilder_ = null;
}
cooldownCompleteMs_ = 0L;
sponsor_ = 0;
renderingType_ = 0;
deployLockoutEndMs_ = 0L;
if (guardPokemonDisplayBuilder_ == null) {
guardPokemonDisplay_ = null;
} else {
guardPokemonDisplay_ = null;
guardPokemonDisplayBuilder_ = null;
}
closed_ = false;
if (raidInfoBuilder_ == null) {
raidInfo_ = null;
} else {
raidInfo_ = null;
raidInfoBuilder_ = null;
}
if (gymDisplayBuilder_ == null) {
gymDisplay_ = null;
} else {
gymDisplay_ = null;
gymDisplayBuilder_ = null;
}
visited_ = false;
sameTeamDeployLockoutEndMs_ = 0L;
allowCheckin_ = false;
imageUrl_ = "";
inEvent_ = false;
bannerUrl_ = "";
partnerId_ = "";
challengeQuestCompleted_ = false;
isExRaidEligible_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Map.Fort.FortDataOuterClass.internal_static_POGOProtos_Map_Fort_FortData_descriptor;
}
@java.lang.Override
public POGOProtos.Map.Fort.FortDataOuterClass.FortData getDefaultInstanceForType() {
return POGOProtos.Map.Fort.FortDataOuterClass.FortData.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Map.Fort.FortDataOuterClass.FortData build() {
POGOProtos.Map.Fort.FortDataOuterClass.FortData result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Map.Fort.FortDataOuterClass.FortData buildPartial() {
POGOProtos.Map.Fort.FortDataOuterClass.FortData result = new POGOProtos.Map.Fort.FortDataOuterClass.FortData(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.id_ = id_;
result.lastModifiedTimestampMs_ = lastModifiedTimestampMs_;
result.latitude_ = latitude_;
result.longitude_ = longitude_;
result.ownedByTeam_ = ownedByTeam_;
result.guardPokemonId_ = guardPokemonId_;
result.guardPokemonLevel_ = guardPokemonLevel_;
result.enabled_ = enabled_;
result.type_ = type_;
result.gymPoints_ = gymPoints_;
result.isInBattle_ = isInBattle_;
if (((bitField0_ & 0x00000800) == 0x00000800)) {
activeFortModifier_ = java.util.Collections.unmodifiableList(activeFortModifier_);
bitField0_ = (bitField0_ & ~0x00000800);
}
result.activeFortModifier_ = activeFortModifier_;
if (activePokemonBuilder_ == null) {
result.activePokemon_ = activePokemon_;
} else {
result.activePokemon_ = activePokemonBuilder_.build();
}
result.cooldownCompleteMs_ = cooldownCompleteMs_;
result.sponsor_ = sponsor_;
result.renderingType_ = renderingType_;
result.deployLockoutEndMs_ = deployLockoutEndMs_;
if (guardPokemonDisplayBuilder_ == null) {
result.guardPokemonDisplay_ = guardPokemonDisplay_;
} else {
result.guardPokemonDisplay_ = guardPokemonDisplayBuilder_.build();
}
result.closed_ = closed_;
if (raidInfoBuilder_ == null) {
result.raidInfo_ = raidInfo_;
} else {
result.raidInfo_ = raidInfoBuilder_.build();
}
if (gymDisplayBuilder_ == null) {
result.gymDisplay_ = gymDisplay_;
} else {
result.gymDisplay_ = gymDisplayBuilder_.build();
}
result.visited_ = visited_;
result.sameTeamDeployLockoutEndMs_ = sameTeamDeployLockoutEndMs_;
result.allowCheckin_ = allowCheckin_;
result.imageUrl_ = imageUrl_;
result.inEvent_ = inEvent_;
result.bannerUrl_ = bannerUrl_;
result.partnerId_ = partnerId_;
result.challengeQuestCompleted_ = challengeQuestCompleted_;
result.isExRaidEligible_ = isExRaidEligible_;
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.Map.Fort.FortDataOuterClass.FortData) {
return mergeFrom((POGOProtos.Map.Fort.FortDataOuterClass.FortData)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Map.Fort.FortDataOuterClass.FortData other) {
if (other == POGOProtos.Map.Fort.FortDataOuterClass.FortData.getDefaultInstance()) return this;
if (!other.getId().isEmpty()) {
id_ = other.id_;
onChanged();
}
if (other.getLastModifiedTimestampMs() != 0L) {
setLastModifiedTimestampMs(other.getLastModifiedTimestampMs());
}
if (other.getLatitude() != 0D) {
setLatitude(other.getLatitude());
}
if (other.getLongitude() != 0D) {
setLongitude(other.getLongitude());
}
if (other.ownedByTeam_ != 0) {
setOwnedByTeamValue(other.getOwnedByTeamValue());
}
if (other.guardPokemonId_ != 0) {
setGuardPokemonIdValue(other.getGuardPokemonIdValue());
}
if (other.getGuardPokemonLevel() != 0) {
setGuardPokemonLevel(other.getGuardPokemonLevel());
}
if (other.getEnabled() != false) {
setEnabled(other.getEnabled());
}
if (other.type_ != 0) {
setTypeValue(other.getTypeValue());
}
if (other.getGymPoints() != 0L) {
setGymPoints(other.getGymPoints());
}
if (other.getIsInBattle() != false) {
setIsInBattle(other.getIsInBattle());
}
if (!other.activeFortModifier_.isEmpty()) {
if (activeFortModifier_.isEmpty()) {
activeFortModifier_ = other.activeFortModifier_;
bitField0_ = (bitField0_ & ~0x00000800);
} else {
ensureActiveFortModifierIsMutable();
activeFortModifier_.addAll(other.activeFortModifier_);
}
onChanged();
}
if (other.hasActivePokemon()) {
mergeActivePokemon(other.getActivePokemon());
}
if (other.getCooldownCompleteMs() != 0L) {
setCooldownCompleteMs(other.getCooldownCompleteMs());
}
if (other.sponsor_ != 0) {
setSponsorValue(other.getSponsorValue());
}
if (other.renderingType_ != 0) {
setRenderingTypeValue(other.getRenderingTypeValue());
}
if (other.getDeployLockoutEndMs() != 0L) {
setDeployLockoutEndMs(other.getDeployLockoutEndMs());
}
if (other.hasGuardPokemonDisplay()) {
mergeGuardPokemonDisplay(other.getGuardPokemonDisplay());
}
if (other.getClosed() != false) {
setClosed(other.getClosed());
}
if (other.hasRaidInfo()) {
mergeRaidInfo(other.getRaidInfo());
}
if (other.hasGymDisplay()) {
mergeGymDisplay(other.getGymDisplay());
}
if (other.getVisited() != false) {
setVisited(other.getVisited());
}
if (other.getSameTeamDeployLockoutEndMs() != 0L) {
setSameTeamDeployLockoutEndMs(other.getSameTeamDeployLockoutEndMs());
}
if (other.getAllowCheckin() != false) {
setAllowCheckin(other.getAllowCheckin());
}
if (!other.getImageUrl().isEmpty()) {
imageUrl_ = other.imageUrl_;
onChanged();
}
if (other.getInEvent() != false) {
setInEvent(other.getInEvent());
}
if (!other.getBannerUrl().isEmpty()) {
bannerUrl_ = other.bannerUrl_;
onChanged();
}
if (!other.getPartnerId().isEmpty()) {
partnerId_ = other.partnerId_;
onChanged();
}
if (other.getChallengeQuestCompleted() != false) {
setChallengeQuestCompleted(other.getChallengeQuestCompleted());
}
if (other.getIsExRaidEligible() != false) {
setIsExRaidEligible(other.getIsExRaidEligible());
}
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.Map.Fort.FortDataOuterClass.FortData parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Map.Fort.FortDataOuterClass.FortData) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object id_ = "";
/**
* string id = 1;
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
id_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string id = 1;
*/
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string id = 1;
*/
public Builder setId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
id_ = value;
onChanged();
return this;
}
/**
* string id = 1;
*/
public Builder clearId() {
id_ = getDefaultInstance().getId();
onChanged();
return this;
}
/**
* string id = 1;
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
id_ = value;
onChanged();
return this;
}
private long lastModifiedTimestampMs_ ;
/**
* int64 last_modified_timestamp_ms = 2;
*/
public long getLastModifiedTimestampMs() {
return lastModifiedTimestampMs_;
}
/**
* int64 last_modified_timestamp_ms = 2;
*/
public Builder setLastModifiedTimestampMs(long value) {
lastModifiedTimestampMs_ = value;
onChanged();
return this;
}
/**
* int64 last_modified_timestamp_ms = 2;
*/
public Builder clearLastModifiedTimestampMs() {
lastModifiedTimestampMs_ = 0L;
onChanged();
return this;
}
private double latitude_ ;
/**
* double latitude = 3;
*/
public double getLatitude() {
return latitude_;
}
/**
* double latitude = 3;
*/
public Builder setLatitude(double value) {
latitude_ = value;
onChanged();
return this;
}
/**
* double latitude = 3;
*/
public Builder clearLatitude() {
latitude_ = 0D;
onChanged();
return this;
}
private double longitude_ ;
/**
* double longitude = 4;
*/
public double getLongitude() {
return longitude_;
}
/**
* double longitude = 4;
*/
public Builder setLongitude(double value) {
longitude_ = value;
onChanged();
return this;
}
/**
* double longitude = 4;
*/
public Builder clearLongitude() {
longitude_ = 0D;
onChanged();
return this;
}
private int ownedByTeam_ = 0;
/**
*
* (Gym only) Team that owns the gym.
*
*
* .POGOProtos.Enums.TeamColor owned_by_team = 5;
*/
public int getOwnedByTeamValue() {
return ownedByTeam_;
}
/**
*
* (Gym only) Team that owns the gym.
*
*
* .POGOProtos.Enums.TeamColor owned_by_team = 5;
*/
public Builder setOwnedByTeamValue(int value) {
ownedByTeam_ = value;
onChanged();
return this;
}
/**
*
* (Gym only) Team that owns the gym.
*
*
* .POGOProtos.Enums.TeamColor owned_by_team = 5;
*/
public POGOProtos.Enums.TeamColorOuterClass.TeamColor getOwnedByTeam() {
@SuppressWarnings("deprecation")
POGOProtos.Enums.TeamColorOuterClass.TeamColor result = POGOProtos.Enums.TeamColorOuterClass.TeamColor.valueOf(ownedByTeam_);
return result == null ? POGOProtos.Enums.TeamColorOuterClass.TeamColor.UNRECOGNIZED : result;
}
/**
*
* (Gym only) Team that owns the gym.
*
*
* .POGOProtos.Enums.TeamColor owned_by_team = 5;
*/
public Builder setOwnedByTeam(POGOProtos.Enums.TeamColorOuterClass.TeamColor value) {
if (value == null) {
throw new NullPointerException();
}
ownedByTeam_ = value.getNumber();
onChanged();
return this;
}
/**
*
* (Gym only) Team that owns the gym.
*
*
* .POGOProtos.Enums.TeamColor owned_by_team = 5;
*/
public Builder clearOwnedByTeam() {
ownedByTeam_ = 0;
onChanged();
return this;
}
private int guardPokemonId_ = 0;
/**
*
* (Gym only) Highest CP Pokemon ID at the gym.
*
*
* .POGOProtos.Enums.PokemonId guard_pokemon_id = 6;
*/
public int getGuardPokemonIdValue() {
return guardPokemonId_;
}
/**
*
* (Gym only) Highest CP Pokemon ID at the gym.
*
*
* .POGOProtos.Enums.PokemonId guard_pokemon_id = 6;
*/
public Builder setGuardPokemonIdValue(int value) {
guardPokemonId_ = value;
onChanged();
return this;
}
/**
*
* (Gym only) Highest CP Pokemon ID at the gym.
*
*
* .POGOProtos.Enums.PokemonId guard_pokemon_id = 6;
*/
public POGOProtos.Enums.PokemonIdOuterClass.PokemonId getGuardPokemonId() {
@SuppressWarnings("deprecation")
POGOProtos.Enums.PokemonIdOuterClass.PokemonId result = POGOProtos.Enums.PokemonIdOuterClass.PokemonId.valueOf(guardPokemonId_);
return result == null ? POGOProtos.Enums.PokemonIdOuterClass.PokemonId.UNRECOGNIZED : result;
}
/**
*
* (Gym only) Highest CP Pokemon ID at the gym.
*
*
* .POGOProtos.Enums.PokemonId guard_pokemon_id = 6;
*/
public Builder setGuardPokemonId(POGOProtos.Enums.PokemonIdOuterClass.PokemonId value) {
if (value == null) {
throw new NullPointerException();
}
guardPokemonId_ = value.getNumber();
onChanged();
return this;
}
/**
*
* (Gym only) Highest CP Pokemon ID at the gym.
*
*
* .POGOProtos.Enums.PokemonId guard_pokemon_id = 6;
*/
public Builder clearGuardPokemonId() {
guardPokemonId_ = 0;
onChanged();
return this;
}
private int guardPokemonLevel_ ;
/**
* int32 guard_pokemon_level = 7;
*/
public int getGuardPokemonLevel() {
return guardPokemonLevel_;
}
/**
* int32 guard_pokemon_level = 7;
*/
public Builder setGuardPokemonLevel(int value) {
guardPokemonLevel_ = value;
onChanged();
return this;
}
/**
* int32 guard_pokemon_level = 7;
*/
public Builder clearGuardPokemonLevel() {
guardPokemonLevel_ = 0;
onChanged();
return this;
}
private boolean enabled_ ;
/**
* bool enabled = 8;
*/
public boolean getEnabled() {
return enabled_;
}
/**
* bool enabled = 8;
*/
public Builder setEnabled(boolean value) {
enabled_ = value;
onChanged();
return this;
}
/**
* bool enabled = 8;
*/
public Builder clearEnabled() {
enabled_ = false;
onChanged();
return this;
}
private int type_ = 0;
/**
* .POGOProtos.Map.Fort.FortType type = 9;
*/
public int getTypeValue() {
return type_;
}
/**
* .POGOProtos.Map.Fort.FortType type = 9;
*/
public Builder setTypeValue(int value) {
type_ = value;
onChanged();
return this;
}
/**
* .POGOProtos.Map.Fort.FortType type = 9;
*/
public POGOProtos.Map.Fort.FortTypeOuterClass.FortType getType() {
@SuppressWarnings("deprecation")
POGOProtos.Map.Fort.FortTypeOuterClass.FortType result = POGOProtos.Map.Fort.FortTypeOuterClass.FortType.valueOf(type_);
return result == null ? POGOProtos.Map.Fort.FortTypeOuterClass.FortType.UNRECOGNIZED : result;
}
/**
* .POGOProtos.Map.Fort.FortType type = 9;
*/
public Builder setType(POGOProtos.Map.Fort.FortTypeOuterClass.FortType value) {
if (value == null) {
throw new NullPointerException();
}
type_ = value.getNumber();
onChanged();
return this;
}
/**
* .POGOProtos.Map.Fort.FortType type = 9;
*/
public Builder clearType() {
type_ = 0;
onChanged();
return this;
}
private long gymPoints_ ;
/**
*
* (Gym only) Prestigate / experience of the gym.
*
*
* int64 gym_points = 10;
*/
public long getGymPoints() {
return gymPoints_;
}
/**
*
* (Gym only) Prestigate / experience of the gym.
*
*
* int64 gym_points = 10;
*/
public Builder setGymPoints(long value) {
gymPoints_ = value;
onChanged();
return this;
}
/**
*
* (Gym only) Prestigate / experience of the gym.
*
*
* int64 gym_points = 10;
*/
public Builder clearGymPoints() {
gymPoints_ = 0L;
onChanged();
return this;
}
private boolean isInBattle_ ;
/**
*
* (Gym only) Whether someone is battling at the gym currently.
*
*
* bool is_in_battle = 11;
*/
public boolean getIsInBattle() {
return isInBattle_;
}
/**
*
* (Gym only) Whether someone is battling at the gym currently.
*
*
* bool is_in_battle = 11;
*/
public Builder setIsInBattle(boolean value) {
isInBattle_ = value;
onChanged();
return this;
}
/**
*
* (Gym only) Whether someone is battling at the gym currently.
*
*
* bool is_in_battle = 11;
*/
public Builder clearIsInBattle() {
isInBattle_ = false;
onChanged();
return this;
}
private java.util.List activeFortModifier_ =
java.util.Collections.emptyList();
private void ensureActiveFortModifierIsMutable() {
if (!((bitField0_ & 0x00000800) == 0x00000800)) {
activeFortModifier_ = new java.util.ArrayList(activeFortModifier_);
bitField0_ |= 0x00000800;
}
}
/**
*
* (Pokestop only)
*
*
* repeated .POGOProtos.Inventory.Item.ItemId active_fort_modifier = 12;
*/
public java.util.List getActiveFortModifierList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, POGOProtos.Inventory.Item.ItemIdOuterClass.ItemId>(activeFortModifier_, activeFortModifier_converter_);
}
/**
*
* (Pokestop only)
*
*
* repeated .POGOProtos.Inventory.Item.ItemId active_fort_modifier = 12;
*/
public int getActiveFortModifierCount() {
return activeFortModifier_.size();
}
/**
*
* (Pokestop only)
*
*
* repeated .POGOProtos.Inventory.Item.ItemId active_fort_modifier = 12;
*/
public POGOProtos.Inventory.Item.ItemIdOuterClass.ItemId getActiveFortModifier(int index) {
return activeFortModifier_converter_.convert(activeFortModifier_.get(index));
}
/**
*
* (Pokestop only)
*
*
* repeated .POGOProtos.Inventory.Item.ItemId active_fort_modifier = 12;
*/
public Builder setActiveFortModifier(
int index, POGOProtos.Inventory.Item.ItemIdOuterClass.ItemId value) {
if (value == null) {
throw new NullPointerException();
}
ensureActiveFortModifierIsMutable();
activeFortModifier_.set(index, value.getNumber());
onChanged();
return this;
}
/**
*
* (Pokestop only)
*
*
* repeated .POGOProtos.Inventory.Item.ItemId active_fort_modifier = 12;
*/
public Builder addActiveFortModifier(POGOProtos.Inventory.Item.ItemIdOuterClass.ItemId value) {
if (value == null) {
throw new NullPointerException();
}
ensureActiveFortModifierIsMutable();
activeFortModifier_.add(value.getNumber());
onChanged();
return this;
}
/**
*
* (Pokestop only)
*
*
* repeated .POGOProtos.Inventory.Item.ItemId active_fort_modifier = 12;
*/
public Builder addAllActiveFortModifier(
java.lang.Iterable extends POGOProtos.Inventory.Item.ItemIdOuterClass.ItemId> values) {
ensureActiveFortModifierIsMutable();
for (POGOProtos.Inventory.Item.ItemIdOuterClass.ItemId value : values) {
activeFortModifier_.add(value.getNumber());
}
onChanged();
return this;
}
/**
*
* (Pokestop only)
*
*
* repeated .POGOProtos.Inventory.Item.ItemId active_fort_modifier = 12;
*/
public Builder clearActiveFortModifier() {
activeFortModifier_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000800);
onChanged();
return this;
}
/**
*
* (Pokestop only)
*
*
* repeated .POGOProtos.Inventory.Item.ItemId active_fort_modifier = 12;
*/
public java.util.List
getActiveFortModifierValueList() {
return java.util.Collections.unmodifiableList(activeFortModifier_);
}
/**
*
* (Pokestop only)
*
*
* repeated .POGOProtos.Inventory.Item.ItemId active_fort_modifier = 12;
*/
public int getActiveFortModifierValue(int index) {
return activeFortModifier_.get(index);
}
/**
*
* (Pokestop only)
*
*
* repeated .POGOProtos.Inventory.Item.ItemId active_fort_modifier = 12;
*/
public Builder setActiveFortModifierValue(
int index, int value) {
ensureActiveFortModifierIsMutable();
activeFortModifier_.set(index, value);
onChanged();
return this;
}
/**
*
* (Pokestop only)
*
*
* repeated .POGOProtos.Inventory.Item.ItemId active_fort_modifier = 12;
*/
public Builder addActiveFortModifierValue(int value) {
ensureActiveFortModifierIsMutable();
activeFortModifier_.add(value);
onChanged();
return this;
}
/**
*
* (Pokestop only)
*
*
* repeated .POGOProtos.Inventory.Item.ItemId active_fort_modifier = 12;
*/
public Builder addAllActiveFortModifierValue(
java.lang.Iterable values) {
ensureActiveFortModifierIsMutable();
for (int value : values) {
activeFortModifier_.add(value);
}
onChanged();
return this;
}
private POGOProtos.Map.Pokemon.MapPokemonOuterClass.MapPokemon activePokemon_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Map.Pokemon.MapPokemonOuterClass.MapPokemon, POGOProtos.Map.Pokemon.MapPokemonOuterClass.MapPokemon.Builder, POGOProtos.Map.Pokemon.MapPokemonOuterClass.MapPokemonOrBuilder> activePokemonBuilder_;
/**
* .POGOProtos.Map.Pokemon.MapPokemon active_pokemon = 13;
*/
public boolean hasActivePokemon() {
return activePokemonBuilder_ != null || activePokemon_ != null;
}
/**
* .POGOProtos.Map.Pokemon.MapPokemon active_pokemon = 13;
*/
public POGOProtos.Map.Pokemon.MapPokemonOuterClass.MapPokemon getActivePokemon() {
if (activePokemonBuilder_ == null) {
return activePokemon_ == null ? POGOProtos.Map.Pokemon.MapPokemonOuterClass.MapPokemon.getDefaultInstance() : activePokemon_;
} else {
return activePokemonBuilder_.getMessage();
}
}
/**
* .POGOProtos.Map.Pokemon.MapPokemon active_pokemon = 13;
*/
public Builder setActivePokemon(POGOProtos.Map.Pokemon.MapPokemonOuterClass.MapPokemon value) {
if (activePokemonBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
activePokemon_ = value;
onChanged();
} else {
activePokemonBuilder_.setMessage(value);
}
return this;
}
/**
* .POGOProtos.Map.Pokemon.MapPokemon active_pokemon = 13;
*/
public Builder setActivePokemon(
POGOProtos.Map.Pokemon.MapPokemonOuterClass.MapPokemon.Builder builderForValue) {
if (activePokemonBuilder_ == null) {
activePokemon_ = builderForValue.build();
onChanged();
} else {
activePokemonBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .POGOProtos.Map.Pokemon.MapPokemon active_pokemon = 13;
*/
public Builder mergeActivePokemon(POGOProtos.Map.Pokemon.MapPokemonOuterClass.MapPokemon value) {
if (activePokemonBuilder_ == null) {
if (activePokemon_ != null) {
activePokemon_ =
POGOProtos.Map.Pokemon.MapPokemonOuterClass.MapPokemon.newBuilder(activePokemon_).mergeFrom(value).buildPartial();
} else {
activePokemon_ = value;
}
onChanged();
} else {
activePokemonBuilder_.mergeFrom(value);
}
return this;
}
/**
* .POGOProtos.Map.Pokemon.MapPokemon active_pokemon = 13;
*/
public Builder clearActivePokemon() {
if (activePokemonBuilder_ == null) {
activePokemon_ = null;
onChanged();
} else {
activePokemon_ = null;
activePokemonBuilder_ = null;
}
return this;
}
/**
* .POGOProtos.Map.Pokemon.MapPokemon active_pokemon = 13;
*/
public POGOProtos.Map.Pokemon.MapPokemonOuterClass.MapPokemon.Builder getActivePokemonBuilder() {
onChanged();
return getActivePokemonFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Map.Pokemon.MapPokemon active_pokemon = 13;
*/
public POGOProtos.Map.Pokemon.MapPokemonOuterClass.MapPokemonOrBuilder getActivePokemonOrBuilder() {
if (activePokemonBuilder_ != null) {
return activePokemonBuilder_.getMessageOrBuilder();
} else {
return activePokemon_ == null ?
POGOProtos.Map.Pokemon.MapPokemonOuterClass.MapPokemon.getDefaultInstance() : activePokemon_;
}
}
/**
* .POGOProtos.Map.Pokemon.MapPokemon active_pokemon = 13;
*/
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Map.Pokemon.MapPokemonOuterClass.MapPokemon, POGOProtos.Map.Pokemon.MapPokemonOuterClass.MapPokemon.Builder, POGOProtos.Map.Pokemon.MapPokemonOuterClass.MapPokemonOrBuilder>
getActivePokemonFieldBuilder() {
if (activePokemonBuilder_ == null) {
activePokemonBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Map.Pokemon.MapPokemonOuterClass.MapPokemon, POGOProtos.Map.Pokemon.MapPokemonOuterClass.MapPokemon.Builder, POGOProtos.Map.Pokemon.MapPokemonOuterClass.MapPokemonOrBuilder>(
getActivePokemon(),
getParentForChildren(),
isClean());
activePokemon_ = null;
}
return activePokemonBuilder_;
}
private long cooldownCompleteMs_ ;
/**
*
* (Pokestop only) Timestamp when the pokestop can be activated again to get items / xp.
*
*
* int64 cooldown_complete_ms = 14;
*/
public long getCooldownCompleteMs() {
return cooldownCompleteMs_;
}
/**
*
* (Pokestop only) Timestamp when the pokestop can be activated again to get items / xp.
*
*
* int64 cooldown_complete_ms = 14;
*/
public Builder setCooldownCompleteMs(long value) {
cooldownCompleteMs_ = value;
onChanged();
return this;
}
/**
*
* (Pokestop only) Timestamp when the pokestop can be activated again to get items / xp.
*
*
* int64 cooldown_complete_ms = 14;
*/
public Builder clearCooldownCompleteMs() {
cooldownCompleteMs_ = 0L;
onChanged();
return this;
}
private int sponsor_ = 0;
/**
* .POGOProtos.Map.Fort.FortSponsor sponsor = 15;
*/
public int getSponsorValue() {
return sponsor_;
}
/**
* .POGOProtos.Map.Fort.FortSponsor sponsor = 15;
*/
public Builder setSponsorValue(int value) {
sponsor_ = value;
onChanged();
return this;
}
/**
* .POGOProtos.Map.Fort.FortSponsor sponsor = 15;
*/
public POGOProtos.Map.Fort.FortSponsorOuterClass.FortSponsor getSponsor() {
@SuppressWarnings("deprecation")
POGOProtos.Map.Fort.FortSponsorOuterClass.FortSponsor result = POGOProtos.Map.Fort.FortSponsorOuterClass.FortSponsor.valueOf(sponsor_);
return result == null ? POGOProtos.Map.Fort.FortSponsorOuterClass.FortSponsor.UNRECOGNIZED : result;
}
/**
* .POGOProtos.Map.Fort.FortSponsor sponsor = 15;
*/
public Builder setSponsor(POGOProtos.Map.Fort.FortSponsorOuterClass.FortSponsor value) {
if (value == null) {
throw new NullPointerException();
}
sponsor_ = value.getNumber();
onChanged();
return this;
}
/**
* .POGOProtos.Map.Fort.FortSponsor sponsor = 15;
*/
public Builder clearSponsor() {
sponsor_ = 0;
onChanged();
return this;
}
private int renderingType_ = 0;
/**
* .POGOProtos.Map.Fort.FortRenderingType rendering_type = 16;
*/
public int getRenderingTypeValue() {
return renderingType_;
}
/**
* .POGOProtos.Map.Fort.FortRenderingType rendering_type = 16;
*/
public Builder setRenderingTypeValue(int value) {
renderingType_ = value;
onChanged();
return this;
}
/**
* .POGOProtos.Map.Fort.FortRenderingType rendering_type = 16;
*/
public POGOProtos.Map.Fort.FortRenderingTypeOuterClass.FortRenderingType getRenderingType() {
@SuppressWarnings("deprecation")
POGOProtos.Map.Fort.FortRenderingTypeOuterClass.FortRenderingType result = POGOProtos.Map.Fort.FortRenderingTypeOuterClass.FortRenderingType.valueOf(renderingType_);
return result == null ? POGOProtos.Map.Fort.FortRenderingTypeOuterClass.FortRenderingType.UNRECOGNIZED : result;
}
/**
* .POGOProtos.Map.Fort.FortRenderingType rendering_type = 16;
*/
public Builder setRenderingType(POGOProtos.Map.Fort.FortRenderingTypeOuterClass.FortRenderingType value) {
if (value == null) {
throw new NullPointerException();
}
renderingType_ = value.getNumber();
onChanged();
return this;
}
/**
* .POGOProtos.Map.Fort.FortRenderingType rendering_type = 16;
*/
public Builder clearRenderingType() {
renderingType_ = 0;
onChanged();
return this;
}
private long deployLockoutEndMs_ ;
/**
* int64 deploy_lockout_end_ms = 17;
*/
public long getDeployLockoutEndMs() {
return deployLockoutEndMs_;
}
/**
* int64 deploy_lockout_end_ms = 17;
*/
public Builder setDeployLockoutEndMs(long value) {
deployLockoutEndMs_ = value;
onChanged();
return this;
}
/**
* int64 deploy_lockout_end_ms = 17;
*/
public Builder clearDeployLockoutEndMs() {
deployLockoutEndMs_ = 0L;
onChanged();
return this;
}
private POGOProtos.Data.PokemonDisplayOuterClass.PokemonDisplay guardPokemonDisplay_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.PokemonDisplayOuterClass.PokemonDisplay, POGOProtos.Data.PokemonDisplayOuterClass.PokemonDisplay.Builder, POGOProtos.Data.PokemonDisplayOuterClass.PokemonDisplayOrBuilder> guardPokemonDisplayBuilder_;
/**
* .POGOProtos.Data.PokemonDisplay guard_pokemon_display = 18;
*/
public boolean hasGuardPokemonDisplay() {
return guardPokemonDisplayBuilder_ != null || guardPokemonDisplay_ != null;
}
/**
* .POGOProtos.Data.PokemonDisplay guard_pokemon_display = 18;
*/
public POGOProtos.Data.PokemonDisplayOuterClass.PokemonDisplay getGuardPokemonDisplay() {
if (guardPokemonDisplayBuilder_ == null) {
return guardPokemonDisplay_ == null ? POGOProtos.Data.PokemonDisplayOuterClass.PokemonDisplay.getDefaultInstance() : guardPokemonDisplay_;
} else {
return guardPokemonDisplayBuilder_.getMessage();
}
}
/**
* .POGOProtos.Data.PokemonDisplay guard_pokemon_display = 18;
*/
public Builder setGuardPokemonDisplay(POGOProtos.Data.PokemonDisplayOuterClass.PokemonDisplay value) {
if (guardPokemonDisplayBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
guardPokemonDisplay_ = value;
onChanged();
} else {
guardPokemonDisplayBuilder_.setMessage(value);
}
return this;
}
/**
* .POGOProtos.Data.PokemonDisplay guard_pokemon_display = 18;
*/
public Builder setGuardPokemonDisplay(
POGOProtos.Data.PokemonDisplayOuterClass.PokemonDisplay.Builder builderForValue) {
if (guardPokemonDisplayBuilder_ == null) {
guardPokemonDisplay_ = builderForValue.build();
onChanged();
} else {
guardPokemonDisplayBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .POGOProtos.Data.PokemonDisplay guard_pokemon_display = 18;
*/
public Builder mergeGuardPokemonDisplay(POGOProtos.Data.PokemonDisplayOuterClass.PokemonDisplay value) {
if (guardPokemonDisplayBuilder_ == null) {
if (guardPokemonDisplay_ != null) {
guardPokemonDisplay_ =
POGOProtos.Data.PokemonDisplayOuterClass.PokemonDisplay.newBuilder(guardPokemonDisplay_).mergeFrom(value).buildPartial();
} else {
guardPokemonDisplay_ = value;
}
onChanged();
} else {
guardPokemonDisplayBuilder_.mergeFrom(value);
}
return this;
}
/**
* .POGOProtos.Data.PokemonDisplay guard_pokemon_display = 18;
*/
public Builder clearGuardPokemonDisplay() {
if (guardPokemonDisplayBuilder_ == null) {
guardPokemonDisplay_ = null;
onChanged();
} else {
guardPokemonDisplay_ = null;
guardPokemonDisplayBuilder_ = null;
}
return this;
}
/**
* .POGOProtos.Data.PokemonDisplay guard_pokemon_display = 18;
*/
public POGOProtos.Data.PokemonDisplayOuterClass.PokemonDisplay.Builder getGuardPokemonDisplayBuilder() {
onChanged();
return getGuardPokemonDisplayFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Data.PokemonDisplay guard_pokemon_display = 18;
*/
public POGOProtos.Data.PokemonDisplayOuterClass.PokemonDisplayOrBuilder getGuardPokemonDisplayOrBuilder() {
if (guardPokemonDisplayBuilder_ != null) {
return guardPokemonDisplayBuilder_.getMessageOrBuilder();
} else {
return guardPokemonDisplay_ == null ?
POGOProtos.Data.PokemonDisplayOuterClass.PokemonDisplay.getDefaultInstance() : guardPokemonDisplay_;
}
}
/**
* .POGOProtos.Data.PokemonDisplay guard_pokemon_display = 18;
*/
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.PokemonDisplayOuterClass.PokemonDisplay, POGOProtos.Data.PokemonDisplayOuterClass.PokemonDisplay.Builder, POGOProtos.Data.PokemonDisplayOuterClass.PokemonDisplayOrBuilder>
getGuardPokemonDisplayFieldBuilder() {
if (guardPokemonDisplayBuilder_ == null) {
guardPokemonDisplayBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.PokemonDisplayOuterClass.PokemonDisplay, POGOProtos.Data.PokemonDisplayOuterClass.PokemonDisplay.Builder, POGOProtos.Data.PokemonDisplayOuterClass.PokemonDisplayOrBuilder>(
getGuardPokemonDisplay(),
getParentForChildren(),
isClean());
guardPokemonDisplay_ = null;
}
return guardPokemonDisplayBuilder_;
}
private boolean closed_ ;
/**
* bool closed = 19;
*/
public boolean getClosed() {
return closed_;
}
/**
* bool closed = 19;
*/
public Builder setClosed(boolean value) {
closed_ = value;
onChanged();
return this;
}
/**
* bool closed = 19;
*/
public Builder clearClosed() {
closed_ = false;
onChanged();
return this;
}
private POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo raidInfo_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo, POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo.Builder, POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfoOrBuilder> raidInfoBuilder_;
/**
* .POGOProtos.Data.Raid.RaidInfo raid_info = 20;
*/
public boolean hasRaidInfo() {
return raidInfoBuilder_ != null || raidInfo_ != null;
}
/**
* .POGOProtos.Data.Raid.RaidInfo raid_info = 20;
*/
public POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo getRaidInfo() {
if (raidInfoBuilder_ == null) {
return raidInfo_ == null ? POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo.getDefaultInstance() : raidInfo_;
} else {
return raidInfoBuilder_.getMessage();
}
}
/**
* .POGOProtos.Data.Raid.RaidInfo raid_info = 20;
*/
public Builder setRaidInfo(POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo value) {
if (raidInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
raidInfo_ = value;
onChanged();
} else {
raidInfoBuilder_.setMessage(value);
}
return this;
}
/**
* .POGOProtos.Data.Raid.RaidInfo raid_info = 20;
*/
public Builder setRaidInfo(
POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo.Builder builderForValue) {
if (raidInfoBuilder_ == null) {
raidInfo_ = builderForValue.build();
onChanged();
} else {
raidInfoBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .POGOProtos.Data.Raid.RaidInfo raid_info = 20;
*/
public Builder mergeRaidInfo(POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo value) {
if (raidInfoBuilder_ == null) {
if (raidInfo_ != null) {
raidInfo_ =
POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo.newBuilder(raidInfo_).mergeFrom(value).buildPartial();
} else {
raidInfo_ = value;
}
onChanged();
} else {
raidInfoBuilder_.mergeFrom(value);
}
return this;
}
/**
* .POGOProtos.Data.Raid.RaidInfo raid_info = 20;
*/
public Builder clearRaidInfo() {
if (raidInfoBuilder_ == null) {
raidInfo_ = null;
onChanged();
} else {
raidInfo_ = null;
raidInfoBuilder_ = null;
}
return this;
}
/**
* .POGOProtos.Data.Raid.RaidInfo raid_info = 20;
*/
public POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo.Builder getRaidInfoBuilder() {
onChanged();
return getRaidInfoFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Data.Raid.RaidInfo raid_info = 20;
*/
public POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfoOrBuilder getRaidInfoOrBuilder() {
if (raidInfoBuilder_ != null) {
return raidInfoBuilder_.getMessageOrBuilder();
} else {
return raidInfo_ == null ?
POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo.getDefaultInstance() : raidInfo_;
}
}
/**
* .POGOProtos.Data.Raid.RaidInfo raid_info = 20;
*/
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo, POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo.Builder, POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfoOrBuilder>
getRaidInfoFieldBuilder() {
if (raidInfoBuilder_ == null) {
raidInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo, POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo.Builder, POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfoOrBuilder>(
getRaidInfo(),
getParentForChildren(),
isClean());
raidInfo_ = null;
}
return raidInfoBuilder_;
}
private POGOProtos.Map.Fort.GymDisplayOuterClass.GymDisplay gymDisplay_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Map.Fort.GymDisplayOuterClass.GymDisplay, POGOProtos.Map.Fort.GymDisplayOuterClass.GymDisplay.Builder, POGOProtos.Map.Fort.GymDisplayOuterClass.GymDisplayOrBuilder> gymDisplayBuilder_;
/**
* .POGOProtos.Map.Fort.GymDisplay gym_display = 21;
*/
public boolean hasGymDisplay() {
return gymDisplayBuilder_ != null || gymDisplay_ != null;
}
/**
* .POGOProtos.Map.Fort.GymDisplay gym_display = 21;
*/
public POGOProtos.Map.Fort.GymDisplayOuterClass.GymDisplay getGymDisplay() {
if (gymDisplayBuilder_ == null) {
return gymDisplay_ == null ? POGOProtos.Map.Fort.GymDisplayOuterClass.GymDisplay.getDefaultInstance() : gymDisplay_;
} else {
return gymDisplayBuilder_.getMessage();
}
}
/**
* .POGOProtos.Map.Fort.GymDisplay gym_display = 21;
*/
public Builder setGymDisplay(POGOProtos.Map.Fort.GymDisplayOuterClass.GymDisplay value) {
if (gymDisplayBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
gymDisplay_ = value;
onChanged();
} else {
gymDisplayBuilder_.setMessage(value);
}
return this;
}
/**
* .POGOProtos.Map.Fort.GymDisplay gym_display = 21;
*/
public Builder setGymDisplay(
POGOProtos.Map.Fort.GymDisplayOuterClass.GymDisplay.Builder builderForValue) {
if (gymDisplayBuilder_ == null) {
gymDisplay_ = builderForValue.build();
onChanged();
} else {
gymDisplayBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .POGOProtos.Map.Fort.GymDisplay gym_display = 21;
*/
public Builder mergeGymDisplay(POGOProtos.Map.Fort.GymDisplayOuterClass.GymDisplay value) {
if (gymDisplayBuilder_ == null) {
if (gymDisplay_ != null) {
gymDisplay_ =
POGOProtos.Map.Fort.GymDisplayOuterClass.GymDisplay.newBuilder(gymDisplay_).mergeFrom(value).buildPartial();
} else {
gymDisplay_ = value;
}
onChanged();
} else {
gymDisplayBuilder_.mergeFrom(value);
}
return this;
}
/**
* .POGOProtos.Map.Fort.GymDisplay gym_display = 21;
*/
public Builder clearGymDisplay() {
if (gymDisplayBuilder_ == null) {
gymDisplay_ = null;
onChanged();
} else {
gymDisplay_ = null;
gymDisplayBuilder_ = null;
}
return this;
}
/**
* .POGOProtos.Map.Fort.GymDisplay gym_display = 21;
*/
public POGOProtos.Map.Fort.GymDisplayOuterClass.GymDisplay.Builder getGymDisplayBuilder() {
onChanged();
return getGymDisplayFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Map.Fort.GymDisplay gym_display = 21;
*/
public POGOProtos.Map.Fort.GymDisplayOuterClass.GymDisplayOrBuilder getGymDisplayOrBuilder() {
if (gymDisplayBuilder_ != null) {
return gymDisplayBuilder_.getMessageOrBuilder();
} else {
return gymDisplay_ == null ?
POGOProtos.Map.Fort.GymDisplayOuterClass.GymDisplay.getDefaultInstance() : gymDisplay_;
}
}
/**
* .POGOProtos.Map.Fort.GymDisplay gym_display = 21;
*/
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Map.Fort.GymDisplayOuterClass.GymDisplay, POGOProtos.Map.Fort.GymDisplayOuterClass.GymDisplay.Builder, POGOProtos.Map.Fort.GymDisplayOuterClass.GymDisplayOrBuilder>
getGymDisplayFieldBuilder() {
if (gymDisplayBuilder_ == null) {
gymDisplayBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Map.Fort.GymDisplayOuterClass.GymDisplay, POGOProtos.Map.Fort.GymDisplayOuterClass.GymDisplay.Builder, POGOProtos.Map.Fort.GymDisplayOuterClass.GymDisplayOrBuilder>(
getGymDisplay(),
getParentForChildren(),
isClean());
gymDisplay_ = null;
}
return gymDisplayBuilder_;
}
private boolean visited_ ;
/**
* bool visited = 22;
*/
public boolean getVisited() {
return visited_;
}
/**
* bool visited = 22;
*/
public Builder setVisited(boolean value) {
visited_ = value;
onChanged();
return this;
}
/**
* bool visited = 22;
*/
public Builder clearVisited() {
visited_ = false;
onChanged();
return this;
}
private long sameTeamDeployLockoutEndMs_ ;
/**
* int64 same_team_deploy_lockout_end_ms = 23;
*/
public long getSameTeamDeployLockoutEndMs() {
return sameTeamDeployLockoutEndMs_;
}
/**
* int64 same_team_deploy_lockout_end_ms = 23;
*/
public Builder setSameTeamDeployLockoutEndMs(long value) {
sameTeamDeployLockoutEndMs_ = value;
onChanged();
return this;
}
/**
* int64 same_team_deploy_lockout_end_ms = 23;
*/
public Builder clearSameTeamDeployLockoutEndMs() {
sameTeamDeployLockoutEndMs_ = 0L;
onChanged();
return this;
}
private boolean allowCheckin_ ;
/**
* bool allow_checkin = 24;
*/
public boolean getAllowCheckin() {
return allowCheckin_;
}
/**
* bool allow_checkin = 24;
*/
public Builder setAllowCheckin(boolean value) {
allowCheckin_ = value;
onChanged();
return this;
}
/**
* bool allow_checkin = 24;
*/
public Builder clearAllowCheckin() {
allowCheckin_ = false;
onChanged();
return this;
}
private java.lang.Object imageUrl_ = "";
/**
* string image_url = 25;
*/
public java.lang.String getImageUrl() {
java.lang.Object ref = imageUrl_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
imageUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string image_url = 25;
*/
public com.google.protobuf.ByteString
getImageUrlBytes() {
java.lang.Object ref = imageUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
imageUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string image_url = 25;
*/
public Builder setImageUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
imageUrl_ = value;
onChanged();
return this;
}
/**
* string image_url = 25;
*/
public Builder clearImageUrl() {
imageUrl_ = getDefaultInstance().getImageUrl();
onChanged();
return this;
}
/**
* string image_url = 25;
*/
public Builder setImageUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
imageUrl_ = value;
onChanged();
return this;
}
private boolean inEvent_ ;
/**
* bool in_event = 26;
*/
public boolean getInEvent() {
return inEvent_;
}
/**
* bool in_event = 26;
*/
public Builder setInEvent(boolean value) {
inEvent_ = value;
onChanged();
return this;
}
/**
* bool in_event = 26;
*/
public Builder clearInEvent() {
inEvent_ = false;
onChanged();
return this;
}
private java.lang.Object bannerUrl_ = "";
/**
* string banner_url = 27;
*/
public java.lang.String getBannerUrl() {
java.lang.Object ref = bannerUrl_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
bannerUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string banner_url = 27;
*/
public com.google.protobuf.ByteString
getBannerUrlBytes() {
java.lang.Object ref = bannerUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
bannerUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string banner_url = 27;
*/
public Builder setBannerUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bannerUrl_ = value;
onChanged();
return this;
}
/**
* string banner_url = 27;
*/
public Builder clearBannerUrl() {
bannerUrl_ = getDefaultInstance().getBannerUrl();
onChanged();
return this;
}
/**
* string banner_url = 27;
*/
public Builder setBannerUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
bannerUrl_ = value;
onChanged();
return this;
}
private java.lang.Object partnerId_ = "";
/**
* string partner_id = 28;
*/
public java.lang.String getPartnerId() {
java.lang.Object ref = partnerId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
partnerId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string partner_id = 28;
*/
public com.google.protobuf.ByteString
getPartnerIdBytes() {
java.lang.Object ref = partnerId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
partnerId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string partner_id = 28;
*/
public Builder setPartnerId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
partnerId_ = value;
onChanged();
return this;
}
/**
* string partner_id = 28;
*/
public Builder clearPartnerId() {
partnerId_ = getDefaultInstance().getPartnerId();
onChanged();
return this;
}
/**
* string partner_id = 28;
*/
public Builder setPartnerIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
partnerId_ = value;
onChanged();
return this;
}
private boolean challengeQuestCompleted_ ;
/**
* bool challenge_quest_completed = 30;
*/
public boolean getChallengeQuestCompleted() {
return challengeQuestCompleted_;
}
/**
* bool challenge_quest_completed = 30;
*/
public Builder setChallengeQuestCompleted(boolean value) {
challengeQuestCompleted_ = value;
onChanged();
return this;
}
/**
* bool challenge_quest_completed = 30;
*/
public Builder clearChallengeQuestCompleted() {
challengeQuestCompleted_ = false;
onChanged();
return this;
}
private boolean isExRaidEligible_ ;
/**
* bool is_ex_raid_eligible = 31;
*/
public boolean getIsExRaidEligible() {
return isExRaidEligible_;
}
/**
* bool is_ex_raid_eligible = 31;
*/
public Builder setIsExRaidEligible(boolean value) {
isExRaidEligible_ = value;
onChanged();
return this;
}
/**
* bool is_ex_raid_eligible = 31;
*/
public Builder clearIsExRaidEligible() {
isExRaidEligible_ = false;
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.Map.Fort.FortData)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Map.Fort.FortData)
private static final POGOProtos.Map.Fort.FortDataOuterClass.FortData DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Map.Fort.FortDataOuterClass.FortData();
}
public static POGOProtos.Map.Fort.FortDataOuterClass.FortData getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public FortData parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new FortData(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.Map.Fort.FortDataOuterClass.FortData getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Map_Fort_FortData_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Map_Fort_FortData_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/Map/Fort/FortData.proto\022\023PO" +
"GOProtos.Map.Fort\032$POGOProtos/Data/Pokem" +
"onDisplay.proto\032#POGOProtos/Data/Raid/Ra" +
"idInfo.proto\032 POGOProtos/Enums/PokemonId" +
".proto\032 POGOProtos/Enums/TeamColor.proto" +
"\032&POGOProtos/Inventory/Item/ItemId.proto" +
"\032$POGOProtos/Map/Fort/GymDisplay.proto\032\"" +
"POGOProtos/Map/Fort/FortType.proto\032%POGO" +
"Protos/Map/Fort/FortSponsor.proto\032+POGOP" +
"rotos/Map/Fort/FortRenderingType.proto\032\'" +
"POGOProtos/Map/Pokemon/MapPokemon.proto\"" +
"\223\010\n\010FortData\022\n\n\002id\030\001 \001(\t\022\"\n\032last_modifie" +
"d_timestamp_ms\030\002 \001(\003\022\020\n\010latitude\030\003 \001(\001\022\021" +
"\n\tlongitude\030\004 \001(\001\0222\n\rowned_by_team\030\005 \001(\016" +
"2\033.POGOProtos.Enums.TeamColor\0225\n\020guard_p" +
"okemon_id\030\006 \001(\0162\033.POGOProtos.Enums.Pokem" +
"onId\022\033\n\023guard_pokemon_level\030\007 \001(\005\022\017\n\007ena" +
"bled\030\010 \001(\010\022+\n\004type\030\t \001(\0162\035.POGOProtos.Ma" +
"p.Fort.FortType\022\022\n\ngym_points\030\n \001(\003\022\024\n\014i" +
"s_in_battle\030\013 \001(\010\022?\n\024active_fort_modifie" +
"r\030\014 \003(\0162!.POGOProtos.Inventory.Item.Item" +
"Id\022:\n\016active_pokemon\030\r \001(\0132\".POGOProtos." +
"Map.Pokemon.MapPokemon\022\034\n\024cooldown_compl" +
"ete_ms\030\016 \001(\003\0221\n\007sponsor\030\017 \001(\0162 .POGOProt" +
"os.Map.Fort.FortSponsor\022>\n\016rendering_typ" +
"e\030\020 \001(\0162&.POGOProtos.Map.Fort.FortRender" +
"ingType\022\035\n\025deploy_lockout_end_ms\030\021 \001(\003\022>" +
"\n\025guard_pokemon_display\030\022 \001(\0132\037.POGOProt" +
"os.Data.PokemonDisplay\022\016\n\006closed\030\023 \001(\010\0221" +
"\n\traid_info\030\024 \001(\0132\036.POGOProtos.Data.Raid" +
".RaidInfo\0224\n\013gym_display\030\025 \001(\0132\037.POGOPro" +
"tos.Map.Fort.GymDisplay\022\017\n\007visited\030\026 \001(\010" +
"\022\'\n\037same_team_deploy_lockout_end_ms\030\027 \001(" +
"\003\022\025\n\rallow_checkin\030\030 \001(\010\022\021\n\timage_url\030\031 " +
"\001(\t\022\020\n\010in_event\030\032 \001(\010\022\022\n\nbanner_url\030\033 \001(" +
"\t\022\022\n\npartner_id\030\034 \001(\t\022!\n\031challenge_quest" +
"_completed\030\036 \001(\010\022\033\n\023is_ex_raid_eligible\030" +
"\037 \001(\010b\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.PokemonDisplayOuterClass.getDescriptor(),
POGOProtos.Data.Raid.RaidInfoOuterClass.getDescriptor(),
POGOProtos.Enums.PokemonIdOuterClass.getDescriptor(),
POGOProtos.Enums.TeamColorOuterClass.getDescriptor(),
POGOProtos.Inventory.Item.ItemIdOuterClass.getDescriptor(),
POGOProtos.Map.Fort.GymDisplayOuterClass.getDescriptor(),
POGOProtos.Map.Fort.FortTypeOuterClass.getDescriptor(),
POGOProtos.Map.Fort.FortSponsorOuterClass.getDescriptor(),
POGOProtos.Map.Fort.FortRenderingTypeOuterClass.getDescriptor(),
POGOProtos.Map.Pokemon.MapPokemonOuterClass.getDescriptor(),
}, assigner);
internal_static_POGOProtos_Map_Fort_FortData_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_POGOProtos_Map_Fort_FortData_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Map_Fort_FortData_descriptor,
new java.lang.String[] { "Id", "LastModifiedTimestampMs", "Latitude", "Longitude", "OwnedByTeam", "GuardPokemonId", "GuardPokemonLevel", "Enabled", "Type", "GymPoints", "IsInBattle", "ActiveFortModifier", "ActivePokemon", "CooldownCompleteMs", "Sponsor", "RenderingType", "DeployLockoutEndMs", "GuardPokemonDisplay", "Closed", "RaidInfo", "GymDisplay", "Visited", "SameTeamDeployLockoutEndMs", "AllowCheckin", "ImageUrl", "InEvent", "BannerUrl", "PartnerId", "ChallengeQuestCompleted", "IsExRaidEligible", });
POGOProtos.Data.PokemonDisplayOuterClass.getDescriptor();
POGOProtos.Data.Raid.RaidInfoOuterClass.getDescriptor();
POGOProtos.Enums.PokemonIdOuterClass.getDescriptor();
POGOProtos.Enums.TeamColorOuterClass.getDescriptor();
POGOProtos.Inventory.Item.ItemIdOuterClass.getDescriptor();
POGOProtos.Map.Fort.GymDisplayOuterClass.getDescriptor();
POGOProtos.Map.Fort.FortTypeOuterClass.getDescriptor();
POGOProtos.Map.Fort.FortSponsorOuterClass.getDescriptor();
POGOProtos.Map.Fort.FortRenderingTypeOuterClass.getDescriptor();
POGOProtos.Map.Pokemon.MapPokemonOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy