POGOProtos.Data.Badge.AwardedGymBadgeOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: POGOProtos/Data/Badge/AwardedGymBadge.proto
package POGOProtos.Data.Badge;
public final class AwardedGymBadgeOuterClass {
private AwardedGymBadgeOuterClass() {}
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 AwardedGymBadgeOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Data.Badge.AwardedGymBadge)
com.google.protobuf.MessageOrBuilder {
/**
* string fort_id = 1;
*/
java.lang.String getFortId();
/**
* string fort_id = 1;
*/
com.google.protobuf.ByteString
getFortIdBytes();
/**
* .POGOProtos.Enums.GymBadgeType gym_badge_type = 2;
*/
int getGymBadgeTypeValue();
/**
* .POGOProtos.Enums.GymBadgeType gym_badge_type = 2;
*/
POGOProtos.Enums.GymBadgeTypeOuterClass.GymBadgeType getGymBadgeType();
/**
* uint32 score = 3;
*/
int getScore();
/**
* .POGOProtos.Data.Badge.GymBadgeStats gym_badge_stats = 4;
*/
boolean hasGymBadgeStats();
/**
* .POGOProtos.Data.Badge.GymBadgeStats gym_badge_stats = 4;
*/
POGOProtos.Data.Badge.GymBadgeStatsOuterClass.GymBadgeStats getGymBadgeStats();
/**
* .POGOProtos.Data.Badge.GymBadgeStats gym_badge_stats = 4;
*/
POGOProtos.Data.Badge.GymBadgeStatsOuterClass.GymBadgeStatsOrBuilder getGymBadgeStatsOrBuilder();
/**
* uint64 last_update_timestamp_ms = 5;
*/
long getLastUpdateTimestampMs();
/**
* uint64 last_check_timestamp_ms = 11;
*/
long getLastCheckTimestampMs();
/**
* uint32 earned_points = 12;
*/
int getEarnedPoints();
/**
* float progress = 13;
*/
float getProgress();
/**
* bool level_up = 14;
*/
boolean getLevelUp();
/**
* string name = 6;
*/
java.lang.String getName();
/**
* string name = 6;
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* string image_url = 7;
*/
java.lang.String getImageUrl();
/**
* string image_url = 7;
*/
com.google.protobuf.ByteString
getImageUrlBytes();
/**
* string description = 8;
*/
java.lang.String getDescription();
/**
* string description = 8;
*/
com.google.protobuf.ByteString
getDescriptionBytes();
/**
* double latitude = 9;
*/
double getLatitude();
/**
* double longitude = 10;
*/
double getLongitude();
/**
* .POGOProtos.Data.Raid.PlayerRaidInfo raids = 15;
*/
boolean hasRaids();
/**
* .POGOProtos.Data.Raid.PlayerRaidInfo raids = 15;
*/
POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfo getRaids();
/**
* .POGOProtos.Data.Raid.PlayerRaidInfo raids = 15;
*/
POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfoOrBuilder getRaidsOrBuilder();
}
/**
* Protobuf type {@code POGOProtos.Data.Badge.AwardedGymBadge}
*/
public static final class AwardedGymBadge extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Data.Badge.AwardedGymBadge)
AwardedGymBadgeOrBuilder {
private static final long serialVersionUID = 0L;
// Use AwardedGymBadge.newBuilder() to construct.
private AwardedGymBadge(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AwardedGymBadge() {
fortId_ = "";
gymBadgeType_ = 0;
score_ = 0;
lastUpdateTimestampMs_ = 0L;
lastCheckTimestampMs_ = 0L;
earnedPoints_ = 0;
progress_ = 0F;
levelUp_ = false;
name_ = "";
imageUrl_ = "";
description_ = "";
latitude_ = 0D;
longitude_ = 0D;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AwardedGymBadge(
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();
fortId_ = s;
break;
}
case 16: {
int rawValue = input.readEnum();
gymBadgeType_ = rawValue;
break;
}
case 24: {
score_ = input.readUInt32();
break;
}
case 34: {
POGOProtos.Data.Badge.GymBadgeStatsOuterClass.GymBadgeStats.Builder subBuilder = null;
if (gymBadgeStats_ != null) {
subBuilder = gymBadgeStats_.toBuilder();
}
gymBadgeStats_ = input.readMessage(POGOProtos.Data.Badge.GymBadgeStatsOuterClass.GymBadgeStats.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(gymBadgeStats_);
gymBadgeStats_ = subBuilder.buildPartial();
}
break;
}
case 40: {
lastUpdateTimestampMs_ = input.readUInt64();
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
name_ = s;
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
imageUrl_ = s;
break;
}
case 66: {
java.lang.String s = input.readStringRequireUtf8();
description_ = s;
break;
}
case 73: {
latitude_ = input.readDouble();
break;
}
case 81: {
longitude_ = input.readDouble();
break;
}
case 88: {
lastCheckTimestampMs_ = input.readUInt64();
break;
}
case 96: {
earnedPoints_ = input.readUInt32();
break;
}
case 109: {
progress_ = input.readFloat();
break;
}
case 112: {
levelUp_ = input.readBool();
break;
}
case 122: {
POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfo.Builder subBuilder = null;
if (raids_ != null) {
subBuilder = raids_.toBuilder();
}
raids_ = input.readMessage(POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(raids_);
raids_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.internal_static_POGOProtos_Data_Badge_AwardedGymBadge_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.internal_static_POGOProtos_Data_Badge_AwardedGymBadge_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge.class, POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge.Builder.class);
}
public static final int FORT_ID_FIELD_NUMBER = 1;
private volatile java.lang.Object fortId_;
/**
* string fort_id = 1;
*/
public java.lang.String getFortId() {
java.lang.Object ref = fortId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
fortId_ = s;
return s;
}
}
/**
* string fort_id = 1;
*/
public com.google.protobuf.ByteString
getFortIdBytes() {
java.lang.Object ref = fortId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fortId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int GYM_BADGE_TYPE_FIELD_NUMBER = 2;
private int gymBadgeType_;
/**
* .POGOProtos.Enums.GymBadgeType gym_badge_type = 2;
*/
public int getGymBadgeTypeValue() {
return gymBadgeType_;
}
/**
* .POGOProtos.Enums.GymBadgeType gym_badge_type = 2;
*/
public POGOProtos.Enums.GymBadgeTypeOuterClass.GymBadgeType getGymBadgeType() {
@SuppressWarnings("deprecation")
POGOProtos.Enums.GymBadgeTypeOuterClass.GymBadgeType result = POGOProtos.Enums.GymBadgeTypeOuterClass.GymBadgeType.valueOf(gymBadgeType_);
return result == null ? POGOProtos.Enums.GymBadgeTypeOuterClass.GymBadgeType.UNRECOGNIZED : result;
}
public static final int SCORE_FIELD_NUMBER = 3;
private int score_;
/**
* uint32 score = 3;
*/
public int getScore() {
return score_;
}
public static final int GYM_BADGE_STATS_FIELD_NUMBER = 4;
private POGOProtos.Data.Badge.GymBadgeStatsOuterClass.GymBadgeStats gymBadgeStats_;
/**
* .POGOProtos.Data.Badge.GymBadgeStats gym_badge_stats = 4;
*/
public boolean hasGymBadgeStats() {
return gymBadgeStats_ != null;
}
/**
* .POGOProtos.Data.Badge.GymBadgeStats gym_badge_stats = 4;
*/
public POGOProtos.Data.Badge.GymBadgeStatsOuterClass.GymBadgeStats getGymBadgeStats() {
return gymBadgeStats_ == null ? POGOProtos.Data.Badge.GymBadgeStatsOuterClass.GymBadgeStats.getDefaultInstance() : gymBadgeStats_;
}
/**
* .POGOProtos.Data.Badge.GymBadgeStats gym_badge_stats = 4;
*/
public POGOProtos.Data.Badge.GymBadgeStatsOuterClass.GymBadgeStatsOrBuilder getGymBadgeStatsOrBuilder() {
return getGymBadgeStats();
}
public static final int LAST_UPDATE_TIMESTAMP_MS_FIELD_NUMBER = 5;
private long lastUpdateTimestampMs_;
/**
* uint64 last_update_timestamp_ms = 5;
*/
public long getLastUpdateTimestampMs() {
return lastUpdateTimestampMs_;
}
public static final int LAST_CHECK_TIMESTAMP_MS_FIELD_NUMBER = 11;
private long lastCheckTimestampMs_;
/**
* uint64 last_check_timestamp_ms = 11;
*/
public long getLastCheckTimestampMs() {
return lastCheckTimestampMs_;
}
public static final int EARNED_POINTS_FIELD_NUMBER = 12;
private int earnedPoints_;
/**
* uint32 earned_points = 12;
*/
public int getEarnedPoints() {
return earnedPoints_;
}
public static final int PROGRESS_FIELD_NUMBER = 13;
private float progress_;
/**
* float progress = 13;
*/
public float getProgress() {
return progress_;
}
public static final int LEVEL_UP_FIELD_NUMBER = 14;
private boolean levelUp_;
/**
* bool level_up = 14;
*/
public boolean getLevelUp() {
return levelUp_;
}
public static final int NAME_FIELD_NUMBER = 6;
private volatile java.lang.Object name_;
/**
* string name = 6;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
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();
name_ = s;
return s;
}
}
/**
* string name = 6;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int IMAGE_URL_FIELD_NUMBER = 7;
private volatile java.lang.Object imageUrl_;
/**
* string image_url = 7;
*/
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 = 7;
*/
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 DESCRIPTION_FIELD_NUMBER = 8;
private volatile java.lang.Object description_;
/**
* string description = 8;
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
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();
description_ = s;
return s;
}
}
/**
* string description = 8;
*/
public com.google.protobuf.ByteString
getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LATITUDE_FIELD_NUMBER = 9;
private double latitude_;
/**
* double latitude = 9;
*/
public double getLatitude() {
return latitude_;
}
public static final int LONGITUDE_FIELD_NUMBER = 10;
private double longitude_;
/**
* double longitude = 10;
*/
public double getLongitude() {
return longitude_;
}
public static final int RAIDS_FIELD_NUMBER = 15;
private POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfo raids_;
/**
* .POGOProtos.Data.Raid.PlayerRaidInfo raids = 15;
*/
public boolean hasRaids() {
return raids_ != null;
}
/**
* .POGOProtos.Data.Raid.PlayerRaidInfo raids = 15;
*/
public POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfo getRaids() {
return raids_ == null ? POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfo.getDefaultInstance() : raids_;
}
/**
* .POGOProtos.Data.Raid.PlayerRaidInfo raids = 15;
*/
public POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfoOrBuilder getRaidsOrBuilder() {
return getRaids();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getFortIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fortId_);
}
if (gymBadgeType_ != POGOProtos.Enums.GymBadgeTypeOuterClass.GymBadgeType.GYM_BADGE_UNSET.getNumber()) {
output.writeEnum(2, gymBadgeType_);
}
if (score_ != 0) {
output.writeUInt32(3, score_);
}
if (gymBadgeStats_ != null) {
output.writeMessage(4, getGymBadgeStats());
}
if (lastUpdateTimestampMs_ != 0L) {
output.writeUInt64(5, lastUpdateTimestampMs_);
}
if (!getNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, name_);
}
if (!getImageUrlBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, imageUrl_);
}
if (!getDescriptionBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, description_);
}
if (latitude_ != 0D) {
output.writeDouble(9, latitude_);
}
if (longitude_ != 0D) {
output.writeDouble(10, longitude_);
}
if (lastCheckTimestampMs_ != 0L) {
output.writeUInt64(11, lastCheckTimestampMs_);
}
if (earnedPoints_ != 0) {
output.writeUInt32(12, earnedPoints_);
}
if (progress_ != 0F) {
output.writeFloat(13, progress_);
}
if (levelUp_ != false) {
output.writeBool(14, levelUp_);
}
if (raids_ != null) {
output.writeMessage(15, getRaids());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getFortIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, fortId_);
}
if (gymBadgeType_ != POGOProtos.Enums.GymBadgeTypeOuterClass.GymBadgeType.GYM_BADGE_UNSET.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, gymBadgeType_);
}
if (score_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, score_);
}
if (gymBadgeStats_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getGymBadgeStats());
}
if (lastUpdateTimestampMs_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(5, lastUpdateTimestampMs_);
}
if (!getNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, name_);
}
if (!getImageUrlBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, imageUrl_);
}
if (!getDescriptionBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, description_);
}
if (latitude_ != 0D) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(9, latitude_);
}
if (longitude_ != 0D) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(10, longitude_);
}
if (lastCheckTimestampMs_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(11, lastCheckTimestampMs_);
}
if (earnedPoints_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(12, earnedPoints_);
}
if (progress_ != 0F) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(13, progress_);
}
if (levelUp_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(14, levelUp_);
}
if (raids_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(15, getRaids());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge)) {
return super.equals(obj);
}
POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge other = (POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge) obj;
boolean result = true;
result = result && getFortId()
.equals(other.getFortId());
result = result && gymBadgeType_ == other.gymBadgeType_;
result = result && (getScore()
== other.getScore());
result = result && (hasGymBadgeStats() == other.hasGymBadgeStats());
if (hasGymBadgeStats()) {
result = result && getGymBadgeStats()
.equals(other.getGymBadgeStats());
}
result = result && (getLastUpdateTimestampMs()
== other.getLastUpdateTimestampMs());
result = result && (getLastCheckTimestampMs()
== other.getLastCheckTimestampMs());
result = result && (getEarnedPoints()
== other.getEarnedPoints());
result = result && (
java.lang.Float.floatToIntBits(getProgress())
== java.lang.Float.floatToIntBits(
other.getProgress()));
result = result && (getLevelUp()
== other.getLevelUp());
result = result && getName()
.equals(other.getName());
result = result && getImageUrl()
.equals(other.getImageUrl());
result = result && getDescription()
.equals(other.getDescription());
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 && (hasRaids() == other.hasRaids());
if (hasRaids()) {
result = result && getRaids()
.equals(other.getRaids());
}
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) + FORT_ID_FIELD_NUMBER;
hash = (53 * hash) + getFortId().hashCode();
hash = (37 * hash) + GYM_BADGE_TYPE_FIELD_NUMBER;
hash = (53 * hash) + gymBadgeType_;
hash = (37 * hash) + SCORE_FIELD_NUMBER;
hash = (53 * hash) + getScore();
if (hasGymBadgeStats()) {
hash = (37 * hash) + GYM_BADGE_STATS_FIELD_NUMBER;
hash = (53 * hash) + getGymBadgeStats().hashCode();
}
hash = (37 * hash) + LAST_UPDATE_TIMESTAMP_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getLastUpdateTimestampMs());
hash = (37 * hash) + LAST_CHECK_TIMESTAMP_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getLastCheckTimestampMs());
hash = (37 * hash) + EARNED_POINTS_FIELD_NUMBER;
hash = (53 * hash) + getEarnedPoints();
hash = (37 * hash) + PROGRESS_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getProgress());
hash = (37 * hash) + LEVEL_UP_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getLevelUp());
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + IMAGE_URL_FIELD_NUMBER;
hash = (53 * hash) + getImageUrl().hashCode();
hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getDescription().hashCode();
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()));
if (hasRaids()) {
hash = (37 * hash) + RAIDS_FIELD_NUMBER;
hash = (53 * hash) + getRaids().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code POGOProtos.Data.Badge.AwardedGymBadge}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Data.Badge.AwardedGymBadge)
POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadgeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.internal_static_POGOProtos_Data_Badge_AwardedGymBadge_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.internal_static_POGOProtos_Data_Badge_AwardedGymBadge_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge.class, POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge.Builder.class);
}
// Construct using POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge.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();
fortId_ = "";
gymBadgeType_ = 0;
score_ = 0;
if (gymBadgeStatsBuilder_ == null) {
gymBadgeStats_ = null;
} else {
gymBadgeStats_ = null;
gymBadgeStatsBuilder_ = null;
}
lastUpdateTimestampMs_ = 0L;
lastCheckTimestampMs_ = 0L;
earnedPoints_ = 0;
progress_ = 0F;
levelUp_ = false;
name_ = "";
imageUrl_ = "";
description_ = "";
latitude_ = 0D;
longitude_ = 0D;
if (raidsBuilder_ == null) {
raids_ = null;
} else {
raids_ = null;
raidsBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.internal_static_POGOProtos_Data_Badge_AwardedGymBadge_descriptor;
}
@java.lang.Override
public POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge getDefaultInstanceForType() {
return POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge build() {
POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge buildPartial() {
POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge result = new POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge(this);
result.fortId_ = fortId_;
result.gymBadgeType_ = gymBadgeType_;
result.score_ = score_;
if (gymBadgeStatsBuilder_ == null) {
result.gymBadgeStats_ = gymBadgeStats_;
} else {
result.gymBadgeStats_ = gymBadgeStatsBuilder_.build();
}
result.lastUpdateTimestampMs_ = lastUpdateTimestampMs_;
result.lastCheckTimestampMs_ = lastCheckTimestampMs_;
result.earnedPoints_ = earnedPoints_;
result.progress_ = progress_;
result.levelUp_ = levelUp_;
result.name_ = name_;
result.imageUrl_ = imageUrl_;
result.description_ = description_;
result.latitude_ = latitude_;
result.longitude_ = longitude_;
if (raidsBuilder_ == null) {
result.raids_ = raids_;
} else {
result.raids_ = raidsBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge) {
return mergeFrom((POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge other) {
if (other == POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge.getDefaultInstance()) return this;
if (!other.getFortId().isEmpty()) {
fortId_ = other.fortId_;
onChanged();
}
if (other.gymBadgeType_ != 0) {
setGymBadgeTypeValue(other.getGymBadgeTypeValue());
}
if (other.getScore() != 0) {
setScore(other.getScore());
}
if (other.hasGymBadgeStats()) {
mergeGymBadgeStats(other.getGymBadgeStats());
}
if (other.getLastUpdateTimestampMs() != 0L) {
setLastUpdateTimestampMs(other.getLastUpdateTimestampMs());
}
if (other.getLastCheckTimestampMs() != 0L) {
setLastCheckTimestampMs(other.getLastCheckTimestampMs());
}
if (other.getEarnedPoints() != 0) {
setEarnedPoints(other.getEarnedPoints());
}
if (other.getProgress() != 0F) {
setProgress(other.getProgress());
}
if (other.getLevelUp() != false) {
setLevelUp(other.getLevelUp());
}
if (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
if (!other.getImageUrl().isEmpty()) {
imageUrl_ = other.imageUrl_;
onChanged();
}
if (!other.getDescription().isEmpty()) {
description_ = other.description_;
onChanged();
}
if (other.getLatitude() != 0D) {
setLatitude(other.getLatitude());
}
if (other.getLongitude() != 0D) {
setLongitude(other.getLongitude());
}
if (other.hasRaids()) {
mergeRaids(other.getRaids());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object fortId_ = "";
/**
* string fort_id = 1;
*/
public java.lang.String getFortId() {
java.lang.Object ref = fortId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
fortId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string fort_id = 1;
*/
public com.google.protobuf.ByteString
getFortIdBytes() {
java.lang.Object ref = fortId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fortId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string fort_id = 1;
*/
public Builder setFortId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
fortId_ = value;
onChanged();
return this;
}
/**
* string fort_id = 1;
*/
public Builder clearFortId() {
fortId_ = getDefaultInstance().getFortId();
onChanged();
return this;
}
/**
* string fort_id = 1;
*/
public Builder setFortIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
fortId_ = value;
onChanged();
return this;
}
private int gymBadgeType_ = 0;
/**
* .POGOProtos.Enums.GymBadgeType gym_badge_type = 2;
*/
public int getGymBadgeTypeValue() {
return gymBadgeType_;
}
/**
* .POGOProtos.Enums.GymBadgeType gym_badge_type = 2;
*/
public Builder setGymBadgeTypeValue(int value) {
gymBadgeType_ = value;
onChanged();
return this;
}
/**
* .POGOProtos.Enums.GymBadgeType gym_badge_type = 2;
*/
public POGOProtos.Enums.GymBadgeTypeOuterClass.GymBadgeType getGymBadgeType() {
@SuppressWarnings("deprecation")
POGOProtos.Enums.GymBadgeTypeOuterClass.GymBadgeType result = POGOProtos.Enums.GymBadgeTypeOuterClass.GymBadgeType.valueOf(gymBadgeType_);
return result == null ? POGOProtos.Enums.GymBadgeTypeOuterClass.GymBadgeType.UNRECOGNIZED : result;
}
/**
* .POGOProtos.Enums.GymBadgeType gym_badge_type = 2;
*/
public Builder setGymBadgeType(POGOProtos.Enums.GymBadgeTypeOuterClass.GymBadgeType value) {
if (value == null) {
throw new NullPointerException();
}
gymBadgeType_ = value.getNumber();
onChanged();
return this;
}
/**
* .POGOProtos.Enums.GymBadgeType gym_badge_type = 2;
*/
public Builder clearGymBadgeType() {
gymBadgeType_ = 0;
onChanged();
return this;
}
private int score_ ;
/**
* uint32 score = 3;
*/
public int getScore() {
return score_;
}
/**
* uint32 score = 3;
*/
public Builder setScore(int value) {
score_ = value;
onChanged();
return this;
}
/**
* uint32 score = 3;
*/
public Builder clearScore() {
score_ = 0;
onChanged();
return this;
}
private POGOProtos.Data.Badge.GymBadgeStatsOuterClass.GymBadgeStats gymBadgeStats_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Badge.GymBadgeStatsOuterClass.GymBadgeStats, POGOProtos.Data.Badge.GymBadgeStatsOuterClass.GymBadgeStats.Builder, POGOProtos.Data.Badge.GymBadgeStatsOuterClass.GymBadgeStatsOrBuilder> gymBadgeStatsBuilder_;
/**
* .POGOProtos.Data.Badge.GymBadgeStats gym_badge_stats = 4;
*/
public boolean hasGymBadgeStats() {
return gymBadgeStatsBuilder_ != null || gymBadgeStats_ != null;
}
/**
* .POGOProtos.Data.Badge.GymBadgeStats gym_badge_stats = 4;
*/
public POGOProtos.Data.Badge.GymBadgeStatsOuterClass.GymBadgeStats getGymBadgeStats() {
if (gymBadgeStatsBuilder_ == null) {
return gymBadgeStats_ == null ? POGOProtos.Data.Badge.GymBadgeStatsOuterClass.GymBadgeStats.getDefaultInstance() : gymBadgeStats_;
} else {
return gymBadgeStatsBuilder_.getMessage();
}
}
/**
* .POGOProtos.Data.Badge.GymBadgeStats gym_badge_stats = 4;
*/
public Builder setGymBadgeStats(POGOProtos.Data.Badge.GymBadgeStatsOuterClass.GymBadgeStats value) {
if (gymBadgeStatsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
gymBadgeStats_ = value;
onChanged();
} else {
gymBadgeStatsBuilder_.setMessage(value);
}
return this;
}
/**
* .POGOProtos.Data.Badge.GymBadgeStats gym_badge_stats = 4;
*/
public Builder setGymBadgeStats(
POGOProtos.Data.Badge.GymBadgeStatsOuterClass.GymBadgeStats.Builder builderForValue) {
if (gymBadgeStatsBuilder_ == null) {
gymBadgeStats_ = builderForValue.build();
onChanged();
} else {
gymBadgeStatsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .POGOProtos.Data.Badge.GymBadgeStats gym_badge_stats = 4;
*/
public Builder mergeGymBadgeStats(POGOProtos.Data.Badge.GymBadgeStatsOuterClass.GymBadgeStats value) {
if (gymBadgeStatsBuilder_ == null) {
if (gymBadgeStats_ != null) {
gymBadgeStats_ =
POGOProtos.Data.Badge.GymBadgeStatsOuterClass.GymBadgeStats.newBuilder(gymBadgeStats_).mergeFrom(value).buildPartial();
} else {
gymBadgeStats_ = value;
}
onChanged();
} else {
gymBadgeStatsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .POGOProtos.Data.Badge.GymBadgeStats gym_badge_stats = 4;
*/
public Builder clearGymBadgeStats() {
if (gymBadgeStatsBuilder_ == null) {
gymBadgeStats_ = null;
onChanged();
} else {
gymBadgeStats_ = null;
gymBadgeStatsBuilder_ = null;
}
return this;
}
/**
* .POGOProtos.Data.Badge.GymBadgeStats gym_badge_stats = 4;
*/
public POGOProtos.Data.Badge.GymBadgeStatsOuterClass.GymBadgeStats.Builder getGymBadgeStatsBuilder() {
onChanged();
return getGymBadgeStatsFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Data.Badge.GymBadgeStats gym_badge_stats = 4;
*/
public POGOProtos.Data.Badge.GymBadgeStatsOuterClass.GymBadgeStatsOrBuilder getGymBadgeStatsOrBuilder() {
if (gymBadgeStatsBuilder_ != null) {
return gymBadgeStatsBuilder_.getMessageOrBuilder();
} else {
return gymBadgeStats_ == null ?
POGOProtos.Data.Badge.GymBadgeStatsOuterClass.GymBadgeStats.getDefaultInstance() : gymBadgeStats_;
}
}
/**
* .POGOProtos.Data.Badge.GymBadgeStats gym_badge_stats = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Badge.GymBadgeStatsOuterClass.GymBadgeStats, POGOProtos.Data.Badge.GymBadgeStatsOuterClass.GymBadgeStats.Builder, POGOProtos.Data.Badge.GymBadgeStatsOuterClass.GymBadgeStatsOrBuilder>
getGymBadgeStatsFieldBuilder() {
if (gymBadgeStatsBuilder_ == null) {
gymBadgeStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Badge.GymBadgeStatsOuterClass.GymBadgeStats, POGOProtos.Data.Badge.GymBadgeStatsOuterClass.GymBadgeStats.Builder, POGOProtos.Data.Badge.GymBadgeStatsOuterClass.GymBadgeStatsOrBuilder>(
getGymBadgeStats(),
getParentForChildren(),
isClean());
gymBadgeStats_ = null;
}
return gymBadgeStatsBuilder_;
}
private long lastUpdateTimestampMs_ ;
/**
* uint64 last_update_timestamp_ms = 5;
*/
public long getLastUpdateTimestampMs() {
return lastUpdateTimestampMs_;
}
/**
* uint64 last_update_timestamp_ms = 5;
*/
public Builder setLastUpdateTimestampMs(long value) {
lastUpdateTimestampMs_ = value;
onChanged();
return this;
}
/**
* uint64 last_update_timestamp_ms = 5;
*/
public Builder clearLastUpdateTimestampMs() {
lastUpdateTimestampMs_ = 0L;
onChanged();
return this;
}
private long lastCheckTimestampMs_ ;
/**
* uint64 last_check_timestamp_ms = 11;
*/
public long getLastCheckTimestampMs() {
return lastCheckTimestampMs_;
}
/**
* uint64 last_check_timestamp_ms = 11;
*/
public Builder setLastCheckTimestampMs(long value) {
lastCheckTimestampMs_ = value;
onChanged();
return this;
}
/**
* uint64 last_check_timestamp_ms = 11;
*/
public Builder clearLastCheckTimestampMs() {
lastCheckTimestampMs_ = 0L;
onChanged();
return this;
}
private int earnedPoints_ ;
/**
* uint32 earned_points = 12;
*/
public int getEarnedPoints() {
return earnedPoints_;
}
/**
* uint32 earned_points = 12;
*/
public Builder setEarnedPoints(int value) {
earnedPoints_ = value;
onChanged();
return this;
}
/**
* uint32 earned_points = 12;
*/
public Builder clearEarnedPoints() {
earnedPoints_ = 0;
onChanged();
return this;
}
private float progress_ ;
/**
* float progress = 13;
*/
public float getProgress() {
return progress_;
}
/**
* float progress = 13;
*/
public Builder setProgress(float value) {
progress_ = value;
onChanged();
return this;
}
/**
* float progress = 13;
*/
public Builder clearProgress() {
progress_ = 0F;
onChanged();
return this;
}
private boolean levelUp_ ;
/**
* bool level_up = 14;
*/
public boolean getLevelUp() {
return levelUp_;
}
/**
* bool level_up = 14;
*/
public Builder setLevelUp(boolean value) {
levelUp_ = value;
onChanged();
return this;
}
/**
* bool level_up = 14;
*/
public Builder clearLevelUp() {
levelUp_ = false;
onChanged();
return this;
}
private java.lang.Object name_ = "";
/**
* string name = 6;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string name = 6;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string name = 6;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
* string name = 6;
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* string name = 6;
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
name_ = value;
onChanged();
return this;
}
private java.lang.Object imageUrl_ = "";
/**
* string image_url = 7;
*/
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 = 7;
*/
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 = 7;
*/
public Builder setImageUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
imageUrl_ = value;
onChanged();
return this;
}
/**
* string image_url = 7;
*/
public Builder clearImageUrl() {
imageUrl_ = getDefaultInstance().getImageUrl();
onChanged();
return this;
}
/**
* string image_url = 7;
*/
public Builder setImageUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
imageUrl_ = value;
onChanged();
return this;
}
private java.lang.Object description_ = "";
/**
* string description = 8;
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
description_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string description = 8;
*/
public com.google.protobuf.ByteString
getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string description = 8;
*/
public Builder setDescription(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
description_ = value;
onChanged();
return this;
}
/**
* string description = 8;
*/
public Builder clearDescription() {
description_ = getDefaultInstance().getDescription();
onChanged();
return this;
}
/**
* string description = 8;
*/
public Builder setDescriptionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
description_ = value;
onChanged();
return this;
}
private double latitude_ ;
/**
* double latitude = 9;
*/
public double getLatitude() {
return latitude_;
}
/**
* double latitude = 9;
*/
public Builder setLatitude(double value) {
latitude_ = value;
onChanged();
return this;
}
/**
* double latitude = 9;
*/
public Builder clearLatitude() {
latitude_ = 0D;
onChanged();
return this;
}
private double longitude_ ;
/**
* double longitude = 10;
*/
public double getLongitude() {
return longitude_;
}
/**
* double longitude = 10;
*/
public Builder setLongitude(double value) {
longitude_ = value;
onChanged();
return this;
}
/**
* double longitude = 10;
*/
public Builder clearLongitude() {
longitude_ = 0D;
onChanged();
return this;
}
private POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfo raids_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfo, POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfo.Builder, POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfoOrBuilder> raidsBuilder_;
/**
* .POGOProtos.Data.Raid.PlayerRaidInfo raids = 15;
*/
public boolean hasRaids() {
return raidsBuilder_ != null || raids_ != null;
}
/**
* .POGOProtos.Data.Raid.PlayerRaidInfo raids = 15;
*/
public POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfo getRaids() {
if (raidsBuilder_ == null) {
return raids_ == null ? POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfo.getDefaultInstance() : raids_;
} else {
return raidsBuilder_.getMessage();
}
}
/**
* .POGOProtos.Data.Raid.PlayerRaidInfo raids = 15;
*/
public Builder setRaids(POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfo value) {
if (raidsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
raids_ = value;
onChanged();
} else {
raidsBuilder_.setMessage(value);
}
return this;
}
/**
* .POGOProtos.Data.Raid.PlayerRaidInfo raids = 15;
*/
public Builder setRaids(
POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfo.Builder builderForValue) {
if (raidsBuilder_ == null) {
raids_ = builderForValue.build();
onChanged();
} else {
raidsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .POGOProtos.Data.Raid.PlayerRaidInfo raids = 15;
*/
public Builder mergeRaids(POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfo value) {
if (raidsBuilder_ == null) {
if (raids_ != null) {
raids_ =
POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfo.newBuilder(raids_).mergeFrom(value).buildPartial();
} else {
raids_ = value;
}
onChanged();
} else {
raidsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .POGOProtos.Data.Raid.PlayerRaidInfo raids = 15;
*/
public Builder clearRaids() {
if (raidsBuilder_ == null) {
raids_ = null;
onChanged();
} else {
raids_ = null;
raidsBuilder_ = null;
}
return this;
}
/**
* .POGOProtos.Data.Raid.PlayerRaidInfo raids = 15;
*/
public POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfo.Builder getRaidsBuilder() {
onChanged();
return getRaidsFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Data.Raid.PlayerRaidInfo raids = 15;
*/
public POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfoOrBuilder getRaidsOrBuilder() {
if (raidsBuilder_ != null) {
return raidsBuilder_.getMessageOrBuilder();
} else {
return raids_ == null ?
POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfo.getDefaultInstance() : raids_;
}
}
/**
* .POGOProtos.Data.Raid.PlayerRaidInfo raids = 15;
*/
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfo, POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfo.Builder, POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfoOrBuilder>
getRaidsFieldBuilder() {
if (raidsBuilder_ == null) {
raidsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfo, POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfo.Builder, POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.PlayerRaidInfoOrBuilder>(
getRaids(),
getParentForChildren(),
isClean());
raids_ = null;
}
return raidsBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:POGOProtos.Data.Badge.AwardedGymBadge)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Data.Badge.AwardedGymBadge)
private static final POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge();
}
public static POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public AwardedGymBadge parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AwardedGymBadge(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public POGOProtos.Data.Badge.AwardedGymBadgeOuterClass.AwardedGymBadge getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Data_Badge_AwardedGymBadge_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Data_Badge_AwardedGymBadge_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n+POGOProtos/Data/Badge/AwardedGymBadge." +
"proto\022\025POGOProtos.Data.Badge\032#POGOProtos" +
"/Enums/GymBadgeType.proto\032)POGOProtos/Da" +
"ta/Badge/GymBadgeStats.proto\032)POGOProtos" +
"/Data/Raid/PlayerRaidInfo.proto\"\266\003\n\017Awar" +
"dedGymBadge\022\017\n\007fort_id\030\001 \001(\t\0226\n\016gym_badg" +
"e_type\030\002 \001(\0162\036.POGOProtos.Enums.GymBadge" +
"Type\022\r\n\005score\030\003 \001(\r\022=\n\017gym_badge_stats\030\004" +
" \001(\0132$.POGOProtos.Data.Badge.GymBadgeSta" +
"ts\022 \n\030last_update_timestamp_ms\030\005 \001(\004\022\037\n\027" +
"last_check_timestamp_ms\030\013 \001(\004\022\025\n\rearned_" +
"points\030\014 \001(\r\022\020\n\010progress\030\r \001(\002\022\020\n\010level_" +
"up\030\016 \001(\010\022\014\n\004name\030\006 \001(\t\022\021\n\timage_url\030\007 \001(" +
"\t\022\023\n\013description\030\010 \001(\t\022\020\n\010latitude\030\t \001(\001" +
"\022\021\n\tlongitude\030\n \001(\001\0223\n\005raids\030\017 \001(\0132$.POG" +
"OProtos.Data.Raid.PlayerRaidInfob\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.Enums.GymBadgeTypeOuterClass.getDescriptor(),
POGOProtos.Data.Badge.GymBadgeStatsOuterClass.getDescriptor(),
POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.getDescriptor(),
}, assigner);
internal_static_POGOProtos_Data_Badge_AwardedGymBadge_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_POGOProtos_Data_Badge_AwardedGymBadge_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Data_Badge_AwardedGymBadge_descriptor,
new java.lang.String[] { "FortId", "GymBadgeType", "Score", "GymBadgeStats", "LastUpdateTimestampMs", "LastCheckTimestampMs", "EarnedPoints", "Progress", "LevelUp", "Name", "ImageUrl", "Description", "Latitude", "Longitude", "Raids", });
POGOProtos.Enums.GymBadgeTypeOuterClass.getDescriptor();
POGOProtos.Data.Badge.GymBadgeStatsOuterClass.getDescriptor();
POGOProtos.Data.Raid.PlayerRaidInfoOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy