POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: POGOProtos/Networking/Responses/SfidaUpdateResponse.proto
package POGOProtos.Networking.Responses;
public final class SfidaUpdateResponseOuterClass {
private SfidaUpdateResponseOuterClass() {}
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 SfidaUpdateResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Networking.Responses.SfidaUpdateResponse)
com.google.protobuf.MessageOrBuilder {
/**
* .POGOProtos.Networking.Responses.SfidaUpdateResponse.Status status = 1;
*/
int getStatusValue();
/**
* .POGOProtos.Networking.Responses.SfidaUpdateResponse.Status status = 1;
*/
POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse.Status getStatus();
/**
* bool nearby_pokemon = 2;
*/
boolean getNearbyPokemon();
/**
* bool uncaught_pokemon = 3;
*/
boolean getUncaughtPokemon();
/**
* bool legendary_pokemon = 4;
*/
boolean getLegendaryPokemon();
/**
* string spawnpoint_id = 5;
*/
java.lang.String getSpawnpointId();
/**
* string spawnpoint_id = 5;
*/
com.google.protobuf.ByteString
getSpawnpointIdBytes();
/**
* int64 encounter_id = 6;
*/
long getEncounterId();
/**
* bool nearby_pokestop = 7;
*/
boolean getNearbyPokestop();
/**
* string pokestop_id = 8;
*/
java.lang.String getPokestopId();
/**
* string pokestop_id = 8;
*/
com.google.protobuf.ByteString
getPokestopIdBytes();
/**
* .POGOProtos.Enums.EncounterType encounter_type = 9;
*/
int getEncounterTypeValue();
/**
* .POGOProtos.Enums.EncounterType encounter_type = 9;
*/
POGOProtos.Enums.EncounterTypeOuterClass.EncounterType getEncounterType();
/**
* int32 pokedex_number = 10;
*/
int getPokedexNumber();
/**
* repeated .POGOProtos.Data.Sfida.SfidaNearbyPokemon nearby = 11;
*/
java.util.List
getNearbyList();
/**
* repeated .POGOProtos.Data.Sfida.SfidaNearbyPokemon nearby = 11;
*/
POGOProtos.Data.Sfida.SfidaNearbyPokemonOuterClass.SfidaNearbyPokemon getNearby(int index);
/**
* repeated .POGOProtos.Data.Sfida.SfidaNearbyPokemon nearby = 11;
*/
int getNearbyCount();
/**
* repeated .POGOProtos.Data.Sfida.SfidaNearbyPokemon nearby = 11;
*/
java.util.List extends POGOProtos.Data.Sfida.SfidaNearbyPokemonOuterClass.SfidaNearbyPokemonOrBuilder>
getNearbyOrBuilderList();
/**
* repeated .POGOProtos.Data.Sfida.SfidaNearbyPokemon nearby = 11;
*/
POGOProtos.Data.Sfida.SfidaNearbyPokemonOuterClass.SfidaNearbyPokemonOrBuilder getNearbyOrBuilder(
int index);
}
/**
* Protobuf type {@code POGOProtos.Networking.Responses.SfidaUpdateResponse}
*/
public static final class SfidaUpdateResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Networking.Responses.SfidaUpdateResponse)
SfidaUpdateResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use SfidaUpdateResponse.newBuilder() to construct.
private SfidaUpdateResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SfidaUpdateResponse() {
status_ = 0;
nearbyPokemon_ = false;
uncaughtPokemon_ = false;
legendaryPokemon_ = false;
spawnpointId_ = "";
encounterId_ = 0L;
nearbyPokestop_ = false;
pokestopId_ = "";
encounterType_ = 0;
pokedexNumber_ = 0;
nearby_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SfidaUpdateResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
int rawValue = input.readEnum();
status_ = rawValue;
break;
}
case 16: {
nearbyPokemon_ = input.readBool();
break;
}
case 24: {
uncaughtPokemon_ = input.readBool();
break;
}
case 32: {
legendaryPokemon_ = input.readBool();
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
spawnpointId_ = s;
break;
}
case 48: {
encounterId_ = input.readInt64();
break;
}
case 56: {
nearbyPokestop_ = input.readBool();
break;
}
case 66: {
java.lang.String s = input.readStringRequireUtf8();
pokestopId_ = s;
break;
}
case 72: {
int rawValue = input.readEnum();
encounterType_ = rawValue;
break;
}
case 80: {
pokedexNumber_ = input.readInt32();
break;
}
case 90: {
if (!((mutable_bitField0_ & 0x00000400) == 0x00000400)) {
nearby_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000400;
}
nearby_.add(
input.readMessage(POGOProtos.Data.Sfida.SfidaNearbyPokemonOuterClass.SfidaNearbyPokemon.parser(), extensionRegistry));
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_ & 0x00000400) == 0x00000400)) {
nearby_ = java.util.Collections.unmodifiableList(nearby_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.internal_static_POGOProtos_Networking_Responses_SfidaUpdateResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.internal_static_POGOProtos_Networking_Responses_SfidaUpdateResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse.class, POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse.Builder.class);
}
/**
* Protobuf enum {@code POGOProtos.Networking.Responses.SfidaUpdateResponse.Status}
*/
public enum Status
implements com.google.protobuf.ProtocolMessageEnum {
/**
* UNSET = 0;
*/
UNSET(0),
/**
* SUCCESS = 1;
*/
SUCCESS(1),
UNRECOGNIZED(-1),
;
/**
* UNSET = 0;
*/
public static final int UNSET_VALUE = 0;
/**
* SUCCESS = 1;
*/
public static final int SUCCESS_VALUE = 1;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static Status valueOf(int value) {
return forNumber(value);
}
public static Status forNumber(int value) {
switch (value) {
case 0: return UNSET;
case 1: return SUCCESS;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Status> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Status findValueByNumber(int number) {
return Status.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse.getDescriptor().getEnumTypes().get(0);
}
private static final Status[] VALUES = values();
public static Status valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private Status(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:POGOProtos.Networking.Responses.SfidaUpdateResponse.Status)
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private int status_;
/**
* .POGOProtos.Networking.Responses.SfidaUpdateResponse.Status status = 1;
*/
public int getStatusValue() {
return status_;
}
/**
* .POGOProtos.Networking.Responses.SfidaUpdateResponse.Status status = 1;
*/
public POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse.Status getStatus() {
@SuppressWarnings("deprecation")
POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse.Status result = POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse.Status.valueOf(status_);
return result == null ? POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse.Status.UNRECOGNIZED : result;
}
public static final int NEARBY_POKEMON_FIELD_NUMBER = 2;
private boolean nearbyPokemon_;
/**
* bool nearby_pokemon = 2;
*/
public boolean getNearbyPokemon() {
return nearbyPokemon_;
}
public static final int UNCAUGHT_POKEMON_FIELD_NUMBER = 3;
private boolean uncaughtPokemon_;
/**
* bool uncaught_pokemon = 3;
*/
public boolean getUncaughtPokemon() {
return uncaughtPokemon_;
}
public static final int LEGENDARY_POKEMON_FIELD_NUMBER = 4;
private boolean legendaryPokemon_;
/**
* bool legendary_pokemon = 4;
*/
public boolean getLegendaryPokemon() {
return legendaryPokemon_;
}
public static final int SPAWNPOINT_ID_FIELD_NUMBER = 5;
private volatile java.lang.Object spawnpointId_;
/**
* string spawnpoint_id = 5;
*/
public java.lang.String getSpawnpointId() {
java.lang.Object ref = spawnpointId_;
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();
spawnpointId_ = s;
return s;
}
}
/**
* string spawnpoint_id = 5;
*/
public com.google.protobuf.ByteString
getSpawnpointIdBytes() {
java.lang.Object ref = spawnpointId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
spawnpointId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ENCOUNTER_ID_FIELD_NUMBER = 6;
private long encounterId_;
/**
* int64 encounter_id = 6;
*/
public long getEncounterId() {
return encounterId_;
}
public static final int NEARBY_POKESTOP_FIELD_NUMBER = 7;
private boolean nearbyPokestop_;
/**
* bool nearby_pokestop = 7;
*/
public boolean getNearbyPokestop() {
return nearbyPokestop_;
}
public static final int POKESTOP_ID_FIELD_NUMBER = 8;
private volatile java.lang.Object pokestopId_;
/**
* string pokestop_id = 8;
*/
public java.lang.String getPokestopId() {
java.lang.Object ref = pokestopId_;
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();
pokestopId_ = s;
return s;
}
}
/**
* string pokestop_id = 8;
*/
public com.google.protobuf.ByteString
getPokestopIdBytes() {
java.lang.Object ref = pokestopId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
pokestopId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ENCOUNTER_TYPE_FIELD_NUMBER = 9;
private int encounterType_;
/**
* .POGOProtos.Enums.EncounterType encounter_type = 9;
*/
public int getEncounterTypeValue() {
return encounterType_;
}
/**
* .POGOProtos.Enums.EncounterType encounter_type = 9;
*/
public POGOProtos.Enums.EncounterTypeOuterClass.EncounterType getEncounterType() {
@SuppressWarnings("deprecation")
POGOProtos.Enums.EncounterTypeOuterClass.EncounterType result = POGOProtos.Enums.EncounterTypeOuterClass.EncounterType.valueOf(encounterType_);
return result == null ? POGOProtos.Enums.EncounterTypeOuterClass.EncounterType.UNRECOGNIZED : result;
}
public static final int POKEDEX_NUMBER_FIELD_NUMBER = 10;
private int pokedexNumber_;
/**
* int32 pokedex_number = 10;
*/
public int getPokedexNumber() {
return pokedexNumber_;
}
public static final int NEARBY_FIELD_NUMBER = 11;
private java.util.List nearby_;
/**
* repeated .POGOProtos.Data.Sfida.SfidaNearbyPokemon nearby = 11;
*/
public java.util.List getNearbyList() {
return nearby_;
}
/**
* repeated .POGOProtos.Data.Sfida.SfidaNearbyPokemon nearby = 11;
*/
public java.util.List extends POGOProtos.Data.Sfida.SfidaNearbyPokemonOuterClass.SfidaNearbyPokemonOrBuilder>
getNearbyOrBuilderList() {
return nearby_;
}
/**
* repeated .POGOProtos.Data.Sfida.SfidaNearbyPokemon nearby = 11;
*/
public int getNearbyCount() {
return nearby_.size();
}
/**
* repeated .POGOProtos.Data.Sfida.SfidaNearbyPokemon nearby = 11;
*/
public POGOProtos.Data.Sfida.SfidaNearbyPokemonOuterClass.SfidaNearbyPokemon getNearby(int index) {
return nearby_.get(index);
}
/**
* repeated .POGOProtos.Data.Sfida.SfidaNearbyPokemon nearby = 11;
*/
public POGOProtos.Data.Sfida.SfidaNearbyPokemonOuterClass.SfidaNearbyPokemonOrBuilder getNearbyOrBuilder(
int index) {
return nearby_.get(index);
}
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 (status_ != POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse.Status.UNSET.getNumber()) {
output.writeEnum(1, status_);
}
if (nearbyPokemon_ != false) {
output.writeBool(2, nearbyPokemon_);
}
if (uncaughtPokemon_ != false) {
output.writeBool(3, uncaughtPokemon_);
}
if (legendaryPokemon_ != false) {
output.writeBool(4, legendaryPokemon_);
}
if (!getSpawnpointIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, spawnpointId_);
}
if (encounterId_ != 0L) {
output.writeInt64(6, encounterId_);
}
if (nearbyPokestop_ != false) {
output.writeBool(7, nearbyPokestop_);
}
if (!getPokestopIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, pokestopId_);
}
if (encounterType_ != POGOProtos.Enums.EncounterTypeOuterClass.EncounterType.SPAWN_POINT.getNumber()) {
output.writeEnum(9, encounterType_);
}
if (pokedexNumber_ != 0) {
output.writeInt32(10, pokedexNumber_);
}
for (int i = 0; i < nearby_.size(); i++) {
output.writeMessage(11, nearby_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (status_ != POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse.Status.UNSET.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, status_);
}
if (nearbyPokemon_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(2, nearbyPokemon_);
}
if (uncaughtPokemon_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(3, uncaughtPokemon_);
}
if (legendaryPokemon_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(4, legendaryPokemon_);
}
if (!getSpawnpointIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, spawnpointId_);
}
if (encounterId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(6, encounterId_);
}
if (nearbyPokestop_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(7, nearbyPokestop_);
}
if (!getPokestopIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, pokestopId_);
}
if (encounterType_ != POGOProtos.Enums.EncounterTypeOuterClass.EncounterType.SPAWN_POINT.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(9, encounterType_);
}
if (pokedexNumber_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(10, pokedexNumber_);
}
for (int i = 0; i < nearby_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, nearby_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse)) {
return super.equals(obj);
}
POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse other = (POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse) obj;
boolean result = true;
result = result && status_ == other.status_;
result = result && (getNearbyPokemon()
== other.getNearbyPokemon());
result = result && (getUncaughtPokemon()
== other.getUncaughtPokemon());
result = result && (getLegendaryPokemon()
== other.getLegendaryPokemon());
result = result && getSpawnpointId()
.equals(other.getSpawnpointId());
result = result && (getEncounterId()
== other.getEncounterId());
result = result && (getNearbyPokestop()
== other.getNearbyPokestop());
result = result && getPokestopId()
.equals(other.getPokestopId());
result = result && encounterType_ == other.encounterType_;
result = result && (getPokedexNumber()
== other.getPokedexNumber());
result = result && getNearbyList()
.equals(other.getNearbyList());
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) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + status_;
hash = (37 * hash) + NEARBY_POKEMON_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getNearbyPokemon());
hash = (37 * hash) + UNCAUGHT_POKEMON_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getUncaughtPokemon());
hash = (37 * hash) + LEGENDARY_POKEMON_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getLegendaryPokemon());
hash = (37 * hash) + SPAWNPOINT_ID_FIELD_NUMBER;
hash = (53 * hash) + getSpawnpointId().hashCode();
hash = (37 * hash) + ENCOUNTER_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getEncounterId());
hash = (37 * hash) + NEARBY_POKESTOP_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getNearbyPokestop());
hash = (37 * hash) + POKESTOP_ID_FIELD_NUMBER;
hash = (53 * hash) + getPokestopId().hashCode();
hash = (37 * hash) + ENCOUNTER_TYPE_FIELD_NUMBER;
hash = (53 * hash) + encounterType_;
hash = (37 * hash) + POKEDEX_NUMBER_FIELD_NUMBER;
hash = (53 * hash) + getPokedexNumber();
if (getNearbyCount() > 0) {
hash = (37 * hash) + NEARBY_FIELD_NUMBER;
hash = (53 * hash) + getNearbyList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code POGOProtos.Networking.Responses.SfidaUpdateResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Networking.Responses.SfidaUpdateResponse)
POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.internal_static_POGOProtos_Networking_Responses_SfidaUpdateResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.internal_static_POGOProtos_Networking_Responses_SfidaUpdateResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse.class, POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse.Builder.class);
}
// Construct using POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getNearbyFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
status_ = 0;
nearbyPokemon_ = false;
uncaughtPokemon_ = false;
legendaryPokemon_ = false;
spawnpointId_ = "";
encounterId_ = 0L;
nearbyPokestop_ = false;
pokestopId_ = "";
encounterType_ = 0;
pokedexNumber_ = 0;
if (nearbyBuilder_ == null) {
nearby_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000400);
} else {
nearbyBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.internal_static_POGOProtos_Networking_Responses_SfidaUpdateResponse_descriptor;
}
@java.lang.Override
public POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse getDefaultInstanceForType() {
return POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse build() {
POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse buildPartial() {
POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse result = new POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.status_ = status_;
result.nearbyPokemon_ = nearbyPokemon_;
result.uncaughtPokemon_ = uncaughtPokemon_;
result.legendaryPokemon_ = legendaryPokemon_;
result.spawnpointId_ = spawnpointId_;
result.encounterId_ = encounterId_;
result.nearbyPokestop_ = nearbyPokestop_;
result.pokestopId_ = pokestopId_;
result.encounterType_ = encounterType_;
result.pokedexNumber_ = pokedexNumber_;
if (nearbyBuilder_ == null) {
if (((bitField0_ & 0x00000400) == 0x00000400)) {
nearby_ = java.util.Collections.unmodifiableList(nearby_);
bitField0_ = (bitField0_ & ~0x00000400);
}
result.nearby_ = nearby_;
} else {
result.nearby_ = nearbyBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse) {
return mergeFrom((POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse other) {
if (other == POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse.getDefaultInstance()) return this;
if (other.status_ != 0) {
setStatusValue(other.getStatusValue());
}
if (other.getNearbyPokemon() != false) {
setNearbyPokemon(other.getNearbyPokemon());
}
if (other.getUncaughtPokemon() != false) {
setUncaughtPokemon(other.getUncaughtPokemon());
}
if (other.getLegendaryPokemon() != false) {
setLegendaryPokemon(other.getLegendaryPokemon());
}
if (!other.getSpawnpointId().isEmpty()) {
spawnpointId_ = other.spawnpointId_;
onChanged();
}
if (other.getEncounterId() != 0L) {
setEncounterId(other.getEncounterId());
}
if (other.getNearbyPokestop() != false) {
setNearbyPokestop(other.getNearbyPokestop());
}
if (!other.getPokestopId().isEmpty()) {
pokestopId_ = other.pokestopId_;
onChanged();
}
if (other.encounterType_ != 0) {
setEncounterTypeValue(other.getEncounterTypeValue());
}
if (other.getPokedexNumber() != 0) {
setPokedexNumber(other.getPokedexNumber());
}
if (nearbyBuilder_ == null) {
if (!other.nearby_.isEmpty()) {
if (nearby_.isEmpty()) {
nearby_ = other.nearby_;
bitField0_ = (bitField0_ & ~0x00000400);
} else {
ensureNearbyIsMutable();
nearby_.addAll(other.nearby_);
}
onChanged();
}
} else {
if (!other.nearby_.isEmpty()) {
if (nearbyBuilder_.isEmpty()) {
nearbyBuilder_.dispose();
nearbyBuilder_ = null;
nearby_ = other.nearby_;
bitField0_ = (bitField0_ & ~0x00000400);
nearbyBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getNearbyFieldBuilder() : null;
} else {
nearbyBuilder_.addAllMessages(other.nearby_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int status_ = 0;
/**
* .POGOProtos.Networking.Responses.SfidaUpdateResponse.Status status = 1;
*/
public int getStatusValue() {
return status_;
}
/**
* .POGOProtos.Networking.Responses.SfidaUpdateResponse.Status status = 1;
*/
public Builder setStatusValue(int value) {
status_ = value;
onChanged();
return this;
}
/**
* .POGOProtos.Networking.Responses.SfidaUpdateResponse.Status status = 1;
*/
public POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse.Status getStatus() {
@SuppressWarnings("deprecation")
POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse.Status result = POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse.Status.valueOf(status_);
return result == null ? POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse.Status.UNRECOGNIZED : result;
}
/**
* .POGOProtos.Networking.Responses.SfidaUpdateResponse.Status status = 1;
*/
public Builder setStatus(POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse.Status value) {
if (value == null) {
throw new NullPointerException();
}
status_ = value.getNumber();
onChanged();
return this;
}
/**
* .POGOProtos.Networking.Responses.SfidaUpdateResponse.Status status = 1;
*/
public Builder clearStatus() {
status_ = 0;
onChanged();
return this;
}
private boolean nearbyPokemon_ ;
/**
* bool nearby_pokemon = 2;
*/
public boolean getNearbyPokemon() {
return nearbyPokemon_;
}
/**
* bool nearby_pokemon = 2;
*/
public Builder setNearbyPokemon(boolean value) {
nearbyPokemon_ = value;
onChanged();
return this;
}
/**
* bool nearby_pokemon = 2;
*/
public Builder clearNearbyPokemon() {
nearbyPokemon_ = false;
onChanged();
return this;
}
private boolean uncaughtPokemon_ ;
/**
* bool uncaught_pokemon = 3;
*/
public boolean getUncaughtPokemon() {
return uncaughtPokemon_;
}
/**
* bool uncaught_pokemon = 3;
*/
public Builder setUncaughtPokemon(boolean value) {
uncaughtPokemon_ = value;
onChanged();
return this;
}
/**
* bool uncaught_pokemon = 3;
*/
public Builder clearUncaughtPokemon() {
uncaughtPokemon_ = false;
onChanged();
return this;
}
private boolean legendaryPokemon_ ;
/**
* bool legendary_pokemon = 4;
*/
public boolean getLegendaryPokemon() {
return legendaryPokemon_;
}
/**
* bool legendary_pokemon = 4;
*/
public Builder setLegendaryPokemon(boolean value) {
legendaryPokemon_ = value;
onChanged();
return this;
}
/**
* bool legendary_pokemon = 4;
*/
public Builder clearLegendaryPokemon() {
legendaryPokemon_ = false;
onChanged();
return this;
}
private java.lang.Object spawnpointId_ = "";
/**
* string spawnpoint_id = 5;
*/
public java.lang.String getSpawnpointId() {
java.lang.Object ref = spawnpointId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
spawnpointId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string spawnpoint_id = 5;
*/
public com.google.protobuf.ByteString
getSpawnpointIdBytes() {
java.lang.Object ref = spawnpointId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
spawnpointId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string spawnpoint_id = 5;
*/
public Builder setSpawnpointId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
spawnpointId_ = value;
onChanged();
return this;
}
/**
* string spawnpoint_id = 5;
*/
public Builder clearSpawnpointId() {
spawnpointId_ = getDefaultInstance().getSpawnpointId();
onChanged();
return this;
}
/**
* string spawnpoint_id = 5;
*/
public Builder setSpawnpointIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
spawnpointId_ = value;
onChanged();
return this;
}
private long encounterId_ ;
/**
* int64 encounter_id = 6;
*/
public long getEncounterId() {
return encounterId_;
}
/**
* int64 encounter_id = 6;
*/
public Builder setEncounterId(long value) {
encounterId_ = value;
onChanged();
return this;
}
/**
* int64 encounter_id = 6;
*/
public Builder clearEncounterId() {
encounterId_ = 0L;
onChanged();
return this;
}
private boolean nearbyPokestop_ ;
/**
* bool nearby_pokestop = 7;
*/
public boolean getNearbyPokestop() {
return nearbyPokestop_;
}
/**
* bool nearby_pokestop = 7;
*/
public Builder setNearbyPokestop(boolean value) {
nearbyPokestop_ = value;
onChanged();
return this;
}
/**
* bool nearby_pokestop = 7;
*/
public Builder clearNearbyPokestop() {
nearbyPokestop_ = false;
onChanged();
return this;
}
private java.lang.Object pokestopId_ = "";
/**
* string pokestop_id = 8;
*/
public java.lang.String getPokestopId() {
java.lang.Object ref = pokestopId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
pokestopId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string pokestop_id = 8;
*/
public com.google.protobuf.ByteString
getPokestopIdBytes() {
java.lang.Object ref = pokestopId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
pokestopId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string pokestop_id = 8;
*/
public Builder setPokestopId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
pokestopId_ = value;
onChanged();
return this;
}
/**
* string pokestop_id = 8;
*/
public Builder clearPokestopId() {
pokestopId_ = getDefaultInstance().getPokestopId();
onChanged();
return this;
}
/**
* string pokestop_id = 8;
*/
public Builder setPokestopIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
pokestopId_ = value;
onChanged();
return this;
}
private int encounterType_ = 0;
/**
* .POGOProtos.Enums.EncounterType encounter_type = 9;
*/
public int getEncounterTypeValue() {
return encounterType_;
}
/**
* .POGOProtos.Enums.EncounterType encounter_type = 9;
*/
public Builder setEncounterTypeValue(int value) {
encounterType_ = value;
onChanged();
return this;
}
/**
* .POGOProtos.Enums.EncounterType encounter_type = 9;
*/
public POGOProtos.Enums.EncounterTypeOuterClass.EncounterType getEncounterType() {
@SuppressWarnings("deprecation")
POGOProtos.Enums.EncounterTypeOuterClass.EncounterType result = POGOProtos.Enums.EncounterTypeOuterClass.EncounterType.valueOf(encounterType_);
return result == null ? POGOProtos.Enums.EncounterTypeOuterClass.EncounterType.UNRECOGNIZED : result;
}
/**
* .POGOProtos.Enums.EncounterType encounter_type = 9;
*/
public Builder setEncounterType(POGOProtos.Enums.EncounterTypeOuterClass.EncounterType value) {
if (value == null) {
throw new NullPointerException();
}
encounterType_ = value.getNumber();
onChanged();
return this;
}
/**
* .POGOProtos.Enums.EncounterType encounter_type = 9;
*/
public Builder clearEncounterType() {
encounterType_ = 0;
onChanged();
return this;
}
private int pokedexNumber_ ;
/**
* int32 pokedex_number = 10;
*/
public int getPokedexNumber() {
return pokedexNumber_;
}
/**
* int32 pokedex_number = 10;
*/
public Builder setPokedexNumber(int value) {
pokedexNumber_ = value;
onChanged();
return this;
}
/**
* int32 pokedex_number = 10;
*/
public Builder clearPokedexNumber() {
pokedexNumber_ = 0;
onChanged();
return this;
}
private java.util.List nearby_ =
java.util.Collections.emptyList();
private void ensureNearbyIsMutable() {
if (!((bitField0_ & 0x00000400) == 0x00000400)) {
nearby_ = new java.util.ArrayList(nearby_);
bitField0_ |= 0x00000400;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Data.Sfida.SfidaNearbyPokemonOuterClass.SfidaNearbyPokemon, POGOProtos.Data.Sfida.SfidaNearbyPokemonOuterClass.SfidaNearbyPokemon.Builder, POGOProtos.Data.Sfida.SfidaNearbyPokemonOuterClass.SfidaNearbyPokemonOrBuilder> nearbyBuilder_;
/**
* repeated .POGOProtos.Data.Sfida.SfidaNearbyPokemon nearby = 11;
*/
public java.util.List getNearbyList() {
if (nearbyBuilder_ == null) {
return java.util.Collections.unmodifiableList(nearby_);
} else {
return nearbyBuilder_.getMessageList();
}
}
/**
* repeated .POGOProtos.Data.Sfida.SfidaNearbyPokemon nearby = 11;
*/
public int getNearbyCount() {
if (nearbyBuilder_ == null) {
return nearby_.size();
} else {
return nearbyBuilder_.getCount();
}
}
/**
* repeated .POGOProtos.Data.Sfida.SfidaNearbyPokemon nearby = 11;
*/
public POGOProtos.Data.Sfida.SfidaNearbyPokemonOuterClass.SfidaNearbyPokemon getNearby(int index) {
if (nearbyBuilder_ == null) {
return nearby_.get(index);
} else {
return nearbyBuilder_.getMessage(index);
}
}
/**
* repeated .POGOProtos.Data.Sfida.SfidaNearbyPokemon nearby = 11;
*/
public Builder setNearby(
int index, POGOProtos.Data.Sfida.SfidaNearbyPokemonOuterClass.SfidaNearbyPokemon value) {
if (nearbyBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureNearbyIsMutable();
nearby_.set(index, value);
onChanged();
} else {
nearbyBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .POGOProtos.Data.Sfida.SfidaNearbyPokemon nearby = 11;
*/
public Builder setNearby(
int index, POGOProtos.Data.Sfida.SfidaNearbyPokemonOuterClass.SfidaNearbyPokemon.Builder builderForValue) {
if (nearbyBuilder_ == null) {
ensureNearbyIsMutable();
nearby_.set(index, builderForValue.build());
onChanged();
} else {
nearbyBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Data.Sfida.SfidaNearbyPokemon nearby = 11;
*/
public Builder addNearby(POGOProtos.Data.Sfida.SfidaNearbyPokemonOuterClass.SfidaNearbyPokemon value) {
if (nearbyBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureNearbyIsMutable();
nearby_.add(value);
onChanged();
} else {
nearbyBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .POGOProtos.Data.Sfida.SfidaNearbyPokemon nearby = 11;
*/
public Builder addNearby(
int index, POGOProtos.Data.Sfida.SfidaNearbyPokemonOuterClass.SfidaNearbyPokemon value) {
if (nearbyBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureNearbyIsMutable();
nearby_.add(index, value);
onChanged();
} else {
nearbyBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .POGOProtos.Data.Sfida.SfidaNearbyPokemon nearby = 11;
*/
public Builder addNearby(
POGOProtos.Data.Sfida.SfidaNearbyPokemonOuterClass.SfidaNearbyPokemon.Builder builderForValue) {
if (nearbyBuilder_ == null) {
ensureNearbyIsMutable();
nearby_.add(builderForValue.build());
onChanged();
} else {
nearbyBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Data.Sfida.SfidaNearbyPokemon nearby = 11;
*/
public Builder addNearby(
int index, POGOProtos.Data.Sfida.SfidaNearbyPokemonOuterClass.SfidaNearbyPokemon.Builder builderForValue) {
if (nearbyBuilder_ == null) {
ensureNearbyIsMutable();
nearby_.add(index, builderForValue.build());
onChanged();
} else {
nearbyBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Data.Sfida.SfidaNearbyPokemon nearby = 11;
*/
public Builder addAllNearby(
java.lang.Iterable extends POGOProtos.Data.Sfida.SfidaNearbyPokemonOuterClass.SfidaNearbyPokemon> values) {
if (nearbyBuilder_ == null) {
ensureNearbyIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, nearby_);
onChanged();
} else {
nearbyBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .POGOProtos.Data.Sfida.SfidaNearbyPokemon nearby = 11;
*/
public Builder clearNearby() {
if (nearbyBuilder_ == null) {
nearby_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000400);
onChanged();
} else {
nearbyBuilder_.clear();
}
return this;
}
/**
* repeated .POGOProtos.Data.Sfida.SfidaNearbyPokemon nearby = 11;
*/
public Builder removeNearby(int index) {
if (nearbyBuilder_ == null) {
ensureNearbyIsMutable();
nearby_.remove(index);
onChanged();
} else {
nearbyBuilder_.remove(index);
}
return this;
}
/**
* repeated .POGOProtos.Data.Sfida.SfidaNearbyPokemon nearby = 11;
*/
public POGOProtos.Data.Sfida.SfidaNearbyPokemonOuterClass.SfidaNearbyPokemon.Builder getNearbyBuilder(
int index) {
return getNearbyFieldBuilder().getBuilder(index);
}
/**
* repeated .POGOProtos.Data.Sfida.SfidaNearbyPokemon nearby = 11;
*/
public POGOProtos.Data.Sfida.SfidaNearbyPokemonOuterClass.SfidaNearbyPokemonOrBuilder getNearbyOrBuilder(
int index) {
if (nearbyBuilder_ == null) {
return nearby_.get(index); } else {
return nearbyBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .POGOProtos.Data.Sfida.SfidaNearbyPokemon nearby = 11;
*/
public java.util.List extends POGOProtos.Data.Sfida.SfidaNearbyPokemonOuterClass.SfidaNearbyPokemonOrBuilder>
getNearbyOrBuilderList() {
if (nearbyBuilder_ != null) {
return nearbyBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(nearby_);
}
}
/**
* repeated .POGOProtos.Data.Sfida.SfidaNearbyPokemon nearby = 11;
*/
public POGOProtos.Data.Sfida.SfidaNearbyPokemonOuterClass.SfidaNearbyPokemon.Builder addNearbyBuilder() {
return getNearbyFieldBuilder().addBuilder(
POGOProtos.Data.Sfida.SfidaNearbyPokemonOuterClass.SfidaNearbyPokemon.getDefaultInstance());
}
/**
* repeated .POGOProtos.Data.Sfida.SfidaNearbyPokemon nearby = 11;
*/
public POGOProtos.Data.Sfida.SfidaNearbyPokemonOuterClass.SfidaNearbyPokemon.Builder addNearbyBuilder(
int index) {
return getNearbyFieldBuilder().addBuilder(
index, POGOProtos.Data.Sfida.SfidaNearbyPokemonOuterClass.SfidaNearbyPokemon.getDefaultInstance());
}
/**
* repeated .POGOProtos.Data.Sfida.SfidaNearbyPokemon nearby = 11;
*/
public java.util.List
getNearbyBuilderList() {
return getNearbyFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Data.Sfida.SfidaNearbyPokemonOuterClass.SfidaNearbyPokemon, POGOProtos.Data.Sfida.SfidaNearbyPokemonOuterClass.SfidaNearbyPokemon.Builder, POGOProtos.Data.Sfida.SfidaNearbyPokemonOuterClass.SfidaNearbyPokemonOrBuilder>
getNearbyFieldBuilder() {
if (nearbyBuilder_ == null) {
nearbyBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Data.Sfida.SfidaNearbyPokemonOuterClass.SfidaNearbyPokemon, POGOProtos.Data.Sfida.SfidaNearbyPokemonOuterClass.SfidaNearbyPokemon.Builder, POGOProtos.Data.Sfida.SfidaNearbyPokemonOuterClass.SfidaNearbyPokemonOrBuilder>(
nearby_,
((bitField0_ & 0x00000400) == 0x00000400),
getParentForChildren(),
isClean());
nearby_ = null;
}
return nearbyBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:POGOProtos.Networking.Responses.SfidaUpdateResponse)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Networking.Responses.SfidaUpdateResponse)
private static final POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse();
}
public static POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SfidaUpdateResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SfidaUpdateResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public POGOProtos.Networking.Responses.SfidaUpdateResponseOuterClass.SfidaUpdateResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Networking_Responses_SfidaUpdateResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Networking_Responses_SfidaUpdateResponse_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n9POGOProtos/Networking/Responses/SfidaU" +
"pdateResponse.proto\022\037POGOProtos.Networki" +
"ng.Responses\032$POGOProtos/Enums/Encounter" +
"Type.proto\032.POGOProtos/Data/Sfida/SfidaN" +
"earbyPokemon.proto\"\270\003\n\023SfidaUpdateRespon" +
"se\022K\n\006status\030\001 \001(\0162;.POGOProtos.Networki" +
"ng.Responses.SfidaUpdateResponse.Status\022" +
"\026\n\016nearby_pokemon\030\002 \001(\010\022\030\n\020uncaught_poke" +
"mon\030\003 \001(\010\022\031\n\021legendary_pokemon\030\004 \001(\010\022\025\n\r" +
"spawnpoint_id\030\005 \001(\t\022\024\n\014encounter_id\030\006 \001(" +
"\003\022\027\n\017nearby_pokestop\030\007 \001(\010\022\023\n\013pokestop_i" +
"d\030\010 \001(\t\0227\n\016encounter_type\030\t \001(\0162\037.POGOPr" +
"otos.Enums.EncounterType\022\026\n\016pokedex_numb" +
"er\030\n \001(\005\0229\n\006nearby\030\013 \003(\0132).POGOProtos.Da" +
"ta.Sfida.SfidaNearbyPokemon\" \n\006Status\022\t\n" +
"\005UNSET\020\000\022\013\n\007SUCCESS\020\001b\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.EncounterTypeOuterClass.getDescriptor(),
POGOProtos.Data.Sfida.SfidaNearbyPokemonOuterClass.getDescriptor(),
}, assigner);
internal_static_POGOProtos_Networking_Responses_SfidaUpdateResponse_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_POGOProtos_Networking_Responses_SfidaUpdateResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Networking_Responses_SfidaUpdateResponse_descriptor,
new java.lang.String[] { "Status", "NearbyPokemon", "UncaughtPokemon", "LegendaryPokemon", "SpawnpointId", "EncounterId", "NearbyPokestop", "PokestopId", "EncounterType", "PokedexNumber", "Nearby", });
POGOProtos.Enums.EncounterTypeOuterClass.getDescriptor();
POGOProtos.Data.Sfida.SfidaNearbyPokemonOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy