POGOProtos.Data.PokedexEntryOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: POGOProtos/Data/PokedexEntry.proto
package POGOProtos.Data;
public final class PokedexEntryOuterClass {
private PokedexEntryOuterClass() {}
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 PokedexEntryOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Data.PokedexEntry)
com.google.protobuf.MessageOrBuilder {
/**
* .POGOProtos.Enums.PokemonId pokemon_id = 1;
*/
int getPokemonIdValue();
/**
* .POGOProtos.Enums.PokemonId pokemon_id = 1;
*/
POGOProtos.Enums.PokemonIdOuterClass.PokemonId getPokemonId();
/**
* int32 times_encountered = 2;
*/
int getTimesEncountered();
/**
* int32 times_captured = 3;
*/
int getTimesCaptured();
/**
* int32 evolution_stone_pieces = 4;
*/
int getEvolutionStonePieces();
/**
* int32 evolution_stones = 5;
*/
int getEvolutionStones();
/**
* repeated .POGOProtos.Enums.Costume captured_costumes = 6;
*/
java.util.List getCapturedCostumesList();
/**
* repeated .POGOProtos.Enums.Costume captured_costumes = 6;
*/
int getCapturedCostumesCount();
/**
* repeated .POGOProtos.Enums.Costume captured_costumes = 6;
*/
POGOProtos.Enums.CostumeOuterClass.Costume getCapturedCostumes(int index);
/**
* repeated .POGOProtos.Enums.Costume captured_costumes = 6;
*/
java.util.List
getCapturedCostumesValueList();
/**
* repeated .POGOProtos.Enums.Costume captured_costumes = 6;
*/
int getCapturedCostumesValue(int index);
/**
* repeated .POGOProtos.Enums.Form captured_forms = 7;
*/
java.util.List getCapturedFormsList();
/**
* repeated .POGOProtos.Enums.Form captured_forms = 7;
*/
int getCapturedFormsCount();
/**
* repeated .POGOProtos.Enums.Form captured_forms = 7;
*/
POGOProtos.Enums.FormOuterClass.Form getCapturedForms(int index);
/**
* repeated .POGOProtos.Enums.Form captured_forms = 7;
*/
java.util.List
getCapturedFormsValueList();
/**
* repeated .POGOProtos.Enums.Form captured_forms = 7;
*/
int getCapturedFormsValue(int index);
/**
* repeated .POGOProtos.Enums.Gender captured_genders = 8;
*/
java.util.List getCapturedGendersList();
/**
* repeated .POGOProtos.Enums.Gender captured_genders = 8;
*/
int getCapturedGendersCount();
/**
* repeated .POGOProtos.Enums.Gender captured_genders = 8;
*/
POGOProtos.Enums.GenderOuterClass.Gender getCapturedGenders(int index);
/**
* repeated .POGOProtos.Enums.Gender captured_genders = 8;
*/
java.util.List
getCapturedGendersValueList();
/**
* repeated .POGOProtos.Enums.Gender captured_genders = 8;
*/
int getCapturedGendersValue(int index);
/**
* bool captured_shiny = 9;
*/
boolean getCapturedShiny();
/**
* repeated .POGOProtos.Enums.Costume encountered_costumes = 10;
*/
java.util.List getEncounteredCostumesList();
/**
* repeated .POGOProtos.Enums.Costume encountered_costumes = 10;
*/
int getEncounteredCostumesCount();
/**
* repeated .POGOProtos.Enums.Costume encountered_costumes = 10;
*/
POGOProtos.Enums.CostumeOuterClass.Costume getEncounteredCostumes(int index);
/**
* repeated .POGOProtos.Enums.Costume encountered_costumes = 10;
*/
java.util.List
getEncounteredCostumesValueList();
/**
* repeated .POGOProtos.Enums.Costume encountered_costumes = 10;
*/
int getEncounteredCostumesValue(int index);
/**
* repeated .POGOProtos.Enums.Form encountered_forms = 11;
*/
java.util.List getEncounteredFormsList();
/**
* repeated .POGOProtos.Enums.Form encountered_forms = 11;
*/
int getEncounteredFormsCount();
/**
* repeated .POGOProtos.Enums.Form encountered_forms = 11;
*/
POGOProtos.Enums.FormOuterClass.Form getEncounteredForms(int index);
/**
* repeated .POGOProtos.Enums.Form encountered_forms = 11;
*/
java.util.List
getEncounteredFormsValueList();
/**
* repeated .POGOProtos.Enums.Form encountered_forms = 11;
*/
int getEncounteredFormsValue(int index);
/**
* repeated .POGOProtos.Enums.Gender encountered_genders = 12;
*/
java.util.List getEncounteredGendersList();
/**
* repeated .POGOProtos.Enums.Gender encountered_genders = 12;
*/
int getEncounteredGendersCount();
/**
* repeated .POGOProtos.Enums.Gender encountered_genders = 12;
*/
POGOProtos.Enums.GenderOuterClass.Gender getEncounteredGenders(int index);
/**
* repeated .POGOProtos.Enums.Gender encountered_genders = 12;
*/
java.util.List
getEncounteredGendersValueList();
/**
* repeated .POGOProtos.Enums.Gender encountered_genders = 12;
*/
int getEncounteredGendersValue(int index);
/**
* bool encountered_shiny = 13;
*/
boolean getEncounteredShiny();
/**
* int32 times_lucky_received = 14;
*/
int getTimesLuckyReceived();
}
/**
* Protobuf type {@code POGOProtos.Data.PokedexEntry}
*/
public static final class PokedexEntry extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Data.PokedexEntry)
PokedexEntryOrBuilder {
private static final long serialVersionUID = 0L;
// Use PokedexEntry.newBuilder() to construct.
private PokedexEntry(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PokedexEntry() {
pokemonId_ = 0;
timesEncountered_ = 0;
timesCaptured_ = 0;
evolutionStonePieces_ = 0;
evolutionStones_ = 0;
capturedCostumes_ = java.util.Collections.emptyList();
capturedForms_ = java.util.Collections.emptyList();
capturedGenders_ = java.util.Collections.emptyList();
capturedShiny_ = false;
encounteredCostumes_ = java.util.Collections.emptyList();
encounteredForms_ = java.util.Collections.emptyList();
encounteredGenders_ = java.util.Collections.emptyList();
encounteredShiny_ = false;
timesLuckyReceived_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PokedexEntry(
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();
pokemonId_ = rawValue;
break;
}
case 16: {
timesEncountered_ = input.readInt32();
break;
}
case 24: {
timesCaptured_ = input.readInt32();
break;
}
case 32: {
evolutionStonePieces_ = input.readInt32();
break;
}
case 40: {
evolutionStones_ = input.readInt32();
break;
}
case 48: {
int rawValue = input.readEnum();
if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
capturedCostumes_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000020;
}
capturedCostumes_.add(rawValue);
break;
}
case 50: {
int length = input.readRawVarint32();
int oldLimit = input.pushLimit(length);
while(input.getBytesUntilLimit() > 0) {
int rawValue = input.readEnum();
if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
capturedCostumes_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000020;
}
capturedCostumes_.add(rawValue);
}
input.popLimit(oldLimit);
break;
}
case 56: {
int rawValue = input.readEnum();
if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
capturedForms_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000040;
}
capturedForms_.add(rawValue);
break;
}
case 58: {
int length = input.readRawVarint32();
int oldLimit = input.pushLimit(length);
while(input.getBytesUntilLimit() > 0) {
int rawValue = input.readEnum();
if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
capturedForms_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000040;
}
capturedForms_.add(rawValue);
}
input.popLimit(oldLimit);
break;
}
case 64: {
int rawValue = input.readEnum();
if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
capturedGenders_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000080;
}
capturedGenders_.add(rawValue);
break;
}
case 66: {
int length = input.readRawVarint32();
int oldLimit = input.pushLimit(length);
while(input.getBytesUntilLimit() > 0) {
int rawValue = input.readEnum();
if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
capturedGenders_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000080;
}
capturedGenders_.add(rawValue);
}
input.popLimit(oldLimit);
break;
}
case 72: {
capturedShiny_ = input.readBool();
break;
}
case 80: {
int rawValue = input.readEnum();
if (!((mutable_bitField0_ & 0x00000200) == 0x00000200)) {
encounteredCostumes_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000200;
}
encounteredCostumes_.add(rawValue);
break;
}
case 82: {
int length = input.readRawVarint32();
int oldLimit = input.pushLimit(length);
while(input.getBytesUntilLimit() > 0) {
int rawValue = input.readEnum();
if (!((mutable_bitField0_ & 0x00000200) == 0x00000200)) {
encounteredCostumes_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000200;
}
encounteredCostumes_.add(rawValue);
}
input.popLimit(oldLimit);
break;
}
case 88: {
int rawValue = input.readEnum();
if (!((mutable_bitField0_ & 0x00000400) == 0x00000400)) {
encounteredForms_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000400;
}
encounteredForms_.add(rawValue);
break;
}
case 90: {
int length = input.readRawVarint32();
int oldLimit = input.pushLimit(length);
while(input.getBytesUntilLimit() > 0) {
int rawValue = input.readEnum();
if (!((mutable_bitField0_ & 0x00000400) == 0x00000400)) {
encounteredForms_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000400;
}
encounteredForms_.add(rawValue);
}
input.popLimit(oldLimit);
break;
}
case 96: {
int rawValue = input.readEnum();
if (!((mutable_bitField0_ & 0x00000800) == 0x00000800)) {
encounteredGenders_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000800;
}
encounteredGenders_.add(rawValue);
break;
}
case 98: {
int length = input.readRawVarint32();
int oldLimit = input.pushLimit(length);
while(input.getBytesUntilLimit() > 0) {
int rawValue = input.readEnum();
if (!((mutable_bitField0_ & 0x00000800) == 0x00000800)) {
encounteredGenders_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000800;
}
encounteredGenders_.add(rawValue);
}
input.popLimit(oldLimit);
break;
}
case 104: {
encounteredShiny_ = input.readBool();
break;
}
case 112: {
timesLuckyReceived_ = input.readInt32();
break;
}
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
capturedCostumes_ = java.util.Collections.unmodifiableList(capturedCostumes_);
}
if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
capturedForms_ = java.util.Collections.unmodifiableList(capturedForms_);
}
if (((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
capturedGenders_ = java.util.Collections.unmodifiableList(capturedGenders_);
}
if (((mutable_bitField0_ & 0x00000200) == 0x00000200)) {
encounteredCostumes_ = java.util.Collections.unmodifiableList(encounteredCostumes_);
}
if (((mutable_bitField0_ & 0x00000400) == 0x00000400)) {
encounteredForms_ = java.util.Collections.unmodifiableList(encounteredForms_);
}
if (((mutable_bitField0_ & 0x00000800) == 0x00000800)) {
encounteredGenders_ = java.util.Collections.unmodifiableList(encounteredGenders_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.PokedexEntryOuterClass.internal_static_POGOProtos_Data_PokedexEntry_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.PokedexEntryOuterClass.internal_static_POGOProtos_Data_PokedexEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.PokedexEntryOuterClass.PokedexEntry.class, POGOProtos.Data.PokedexEntryOuterClass.PokedexEntry.Builder.class);
}
private int bitField0_;
public static final int POKEMON_ID_FIELD_NUMBER = 1;
private int pokemonId_;
/**
* .POGOProtos.Enums.PokemonId pokemon_id = 1;
*/
public int getPokemonIdValue() {
return pokemonId_;
}
/**
* .POGOProtos.Enums.PokemonId pokemon_id = 1;
*/
public POGOProtos.Enums.PokemonIdOuterClass.PokemonId getPokemonId() {
@SuppressWarnings("deprecation")
POGOProtos.Enums.PokemonIdOuterClass.PokemonId result = POGOProtos.Enums.PokemonIdOuterClass.PokemonId.valueOf(pokemonId_);
return result == null ? POGOProtos.Enums.PokemonIdOuterClass.PokemonId.UNRECOGNIZED : result;
}
public static final int TIMES_ENCOUNTERED_FIELD_NUMBER = 2;
private int timesEncountered_;
/**
* int32 times_encountered = 2;
*/
public int getTimesEncountered() {
return timesEncountered_;
}
public static final int TIMES_CAPTURED_FIELD_NUMBER = 3;
private int timesCaptured_;
/**
* int32 times_captured = 3;
*/
public int getTimesCaptured() {
return timesCaptured_;
}
public static final int EVOLUTION_STONE_PIECES_FIELD_NUMBER = 4;
private int evolutionStonePieces_;
/**
* int32 evolution_stone_pieces = 4;
*/
public int getEvolutionStonePieces() {
return evolutionStonePieces_;
}
public static final int EVOLUTION_STONES_FIELD_NUMBER = 5;
private int evolutionStones_;
/**
* int32 evolution_stones = 5;
*/
public int getEvolutionStones() {
return evolutionStones_;
}
public static final int CAPTURED_COSTUMES_FIELD_NUMBER = 6;
private java.util.List capturedCostumes_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, POGOProtos.Enums.CostumeOuterClass.Costume> capturedCostumes_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, POGOProtos.Enums.CostumeOuterClass.Costume>() {
public POGOProtos.Enums.CostumeOuterClass.Costume convert(java.lang.Integer from) {
@SuppressWarnings("deprecation")
POGOProtos.Enums.CostumeOuterClass.Costume result = POGOProtos.Enums.CostumeOuterClass.Costume.valueOf(from);
return result == null ? POGOProtos.Enums.CostumeOuterClass.Costume.UNRECOGNIZED : result;
}
};
/**
* repeated .POGOProtos.Enums.Costume captured_costumes = 6;
*/
public java.util.List getCapturedCostumesList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, POGOProtos.Enums.CostumeOuterClass.Costume>(capturedCostumes_, capturedCostumes_converter_);
}
/**
* repeated .POGOProtos.Enums.Costume captured_costumes = 6;
*/
public int getCapturedCostumesCount() {
return capturedCostumes_.size();
}
/**
* repeated .POGOProtos.Enums.Costume captured_costumes = 6;
*/
public POGOProtos.Enums.CostumeOuterClass.Costume getCapturedCostumes(int index) {
return capturedCostumes_converter_.convert(capturedCostumes_.get(index));
}
/**
* repeated .POGOProtos.Enums.Costume captured_costumes = 6;
*/
public java.util.List
getCapturedCostumesValueList() {
return capturedCostumes_;
}
/**
* repeated .POGOProtos.Enums.Costume captured_costumes = 6;
*/
public int getCapturedCostumesValue(int index) {
return capturedCostumes_.get(index);
}
private int capturedCostumesMemoizedSerializedSize;
public static final int CAPTURED_FORMS_FIELD_NUMBER = 7;
private java.util.List capturedForms_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, POGOProtos.Enums.FormOuterClass.Form> capturedForms_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, POGOProtos.Enums.FormOuterClass.Form>() {
public POGOProtos.Enums.FormOuterClass.Form convert(java.lang.Integer from) {
@SuppressWarnings("deprecation")
POGOProtos.Enums.FormOuterClass.Form result = POGOProtos.Enums.FormOuterClass.Form.valueOf(from);
return result == null ? POGOProtos.Enums.FormOuterClass.Form.UNRECOGNIZED : result;
}
};
/**
* repeated .POGOProtos.Enums.Form captured_forms = 7;
*/
public java.util.List getCapturedFormsList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, POGOProtos.Enums.FormOuterClass.Form>(capturedForms_, capturedForms_converter_);
}
/**
* repeated .POGOProtos.Enums.Form captured_forms = 7;
*/
public int getCapturedFormsCount() {
return capturedForms_.size();
}
/**
* repeated .POGOProtos.Enums.Form captured_forms = 7;
*/
public POGOProtos.Enums.FormOuterClass.Form getCapturedForms(int index) {
return capturedForms_converter_.convert(capturedForms_.get(index));
}
/**
* repeated .POGOProtos.Enums.Form captured_forms = 7;
*/
public java.util.List
getCapturedFormsValueList() {
return capturedForms_;
}
/**
* repeated .POGOProtos.Enums.Form captured_forms = 7;
*/
public int getCapturedFormsValue(int index) {
return capturedForms_.get(index);
}
private int capturedFormsMemoizedSerializedSize;
public static final int CAPTURED_GENDERS_FIELD_NUMBER = 8;
private java.util.List capturedGenders_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, POGOProtos.Enums.GenderOuterClass.Gender> capturedGenders_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, POGOProtos.Enums.GenderOuterClass.Gender>() {
public POGOProtos.Enums.GenderOuterClass.Gender convert(java.lang.Integer from) {
@SuppressWarnings("deprecation")
POGOProtos.Enums.GenderOuterClass.Gender result = POGOProtos.Enums.GenderOuterClass.Gender.valueOf(from);
return result == null ? POGOProtos.Enums.GenderOuterClass.Gender.UNRECOGNIZED : result;
}
};
/**
* repeated .POGOProtos.Enums.Gender captured_genders = 8;
*/
public java.util.List getCapturedGendersList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, POGOProtos.Enums.GenderOuterClass.Gender>(capturedGenders_, capturedGenders_converter_);
}
/**
* repeated .POGOProtos.Enums.Gender captured_genders = 8;
*/
public int getCapturedGendersCount() {
return capturedGenders_.size();
}
/**
* repeated .POGOProtos.Enums.Gender captured_genders = 8;
*/
public POGOProtos.Enums.GenderOuterClass.Gender getCapturedGenders(int index) {
return capturedGenders_converter_.convert(capturedGenders_.get(index));
}
/**
* repeated .POGOProtos.Enums.Gender captured_genders = 8;
*/
public java.util.List
getCapturedGendersValueList() {
return capturedGenders_;
}
/**
* repeated .POGOProtos.Enums.Gender captured_genders = 8;
*/
public int getCapturedGendersValue(int index) {
return capturedGenders_.get(index);
}
private int capturedGendersMemoizedSerializedSize;
public static final int CAPTURED_SHINY_FIELD_NUMBER = 9;
private boolean capturedShiny_;
/**
* bool captured_shiny = 9;
*/
public boolean getCapturedShiny() {
return capturedShiny_;
}
public static final int ENCOUNTERED_COSTUMES_FIELD_NUMBER = 10;
private java.util.List encounteredCostumes_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, POGOProtos.Enums.CostumeOuterClass.Costume> encounteredCostumes_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, POGOProtos.Enums.CostumeOuterClass.Costume>() {
public POGOProtos.Enums.CostumeOuterClass.Costume convert(java.lang.Integer from) {
@SuppressWarnings("deprecation")
POGOProtos.Enums.CostumeOuterClass.Costume result = POGOProtos.Enums.CostumeOuterClass.Costume.valueOf(from);
return result == null ? POGOProtos.Enums.CostumeOuterClass.Costume.UNRECOGNIZED : result;
}
};
/**
* repeated .POGOProtos.Enums.Costume encountered_costumes = 10;
*/
public java.util.List getEncounteredCostumesList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, POGOProtos.Enums.CostumeOuterClass.Costume>(encounteredCostumes_, encounteredCostumes_converter_);
}
/**
* repeated .POGOProtos.Enums.Costume encountered_costumes = 10;
*/
public int getEncounteredCostumesCount() {
return encounteredCostumes_.size();
}
/**
* repeated .POGOProtos.Enums.Costume encountered_costumes = 10;
*/
public POGOProtos.Enums.CostumeOuterClass.Costume getEncounteredCostumes(int index) {
return encounteredCostumes_converter_.convert(encounteredCostumes_.get(index));
}
/**
* repeated .POGOProtos.Enums.Costume encountered_costumes = 10;
*/
public java.util.List
getEncounteredCostumesValueList() {
return encounteredCostumes_;
}
/**
* repeated .POGOProtos.Enums.Costume encountered_costumes = 10;
*/
public int getEncounteredCostumesValue(int index) {
return encounteredCostumes_.get(index);
}
private int encounteredCostumesMemoizedSerializedSize;
public static final int ENCOUNTERED_FORMS_FIELD_NUMBER = 11;
private java.util.List encounteredForms_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, POGOProtos.Enums.FormOuterClass.Form> encounteredForms_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, POGOProtos.Enums.FormOuterClass.Form>() {
public POGOProtos.Enums.FormOuterClass.Form convert(java.lang.Integer from) {
@SuppressWarnings("deprecation")
POGOProtos.Enums.FormOuterClass.Form result = POGOProtos.Enums.FormOuterClass.Form.valueOf(from);
return result == null ? POGOProtos.Enums.FormOuterClass.Form.UNRECOGNIZED : result;
}
};
/**
* repeated .POGOProtos.Enums.Form encountered_forms = 11;
*/
public java.util.List getEncounteredFormsList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, POGOProtos.Enums.FormOuterClass.Form>(encounteredForms_, encounteredForms_converter_);
}
/**
* repeated .POGOProtos.Enums.Form encountered_forms = 11;
*/
public int getEncounteredFormsCount() {
return encounteredForms_.size();
}
/**
* repeated .POGOProtos.Enums.Form encountered_forms = 11;
*/
public POGOProtos.Enums.FormOuterClass.Form getEncounteredForms(int index) {
return encounteredForms_converter_.convert(encounteredForms_.get(index));
}
/**
* repeated .POGOProtos.Enums.Form encountered_forms = 11;
*/
public java.util.List
getEncounteredFormsValueList() {
return encounteredForms_;
}
/**
* repeated .POGOProtos.Enums.Form encountered_forms = 11;
*/
public int getEncounteredFormsValue(int index) {
return encounteredForms_.get(index);
}
private int encounteredFormsMemoizedSerializedSize;
public static final int ENCOUNTERED_GENDERS_FIELD_NUMBER = 12;
private java.util.List encounteredGenders_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, POGOProtos.Enums.GenderOuterClass.Gender> encounteredGenders_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, POGOProtos.Enums.GenderOuterClass.Gender>() {
public POGOProtos.Enums.GenderOuterClass.Gender convert(java.lang.Integer from) {
@SuppressWarnings("deprecation")
POGOProtos.Enums.GenderOuterClass.Gender result = POGOProtos.Enums.GenderOuterClass.Gender.valueOf(from);
return result == null ? POGOProtos.Enums.GenderOuterClass.Gender.UNRECOGNIZED : result;
}
};
/**
* repeated .POGOProtos.Enums.Gender encountered_genders = 12;
*/
public java.util.List getEncounteredGendersList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, POGOProtos.Enums.GenderOuterClass.Gender>(encounteredGenders_, encounteredGenders_converter_);
}
/**
* repeated .POGOProtos.Enums.Gender encountered_genders = 12;
*/
public int getEncounteredGendersCount() {
return encounteredGenders_.size();
}
/**
* repeated .POGOProtos.Enums.Gender encountered_genders = 12;
*/
public POGOProtos.Enums.GenderOuterClass.Gender getEncounteredGenders(int index) {
return encounteredGenders_converter_.convert(encounteredGenders_.get(index));
}
/**
* repeated .POGOProtos.Enums.Gender encountered_genders = 12;
*/
public java.util.List
getEncounteredGendersValueList() {
return encounteredGenders_;
}
/**
* repeated .POGOProtos.Enums.Gender encountered_genders = 12;
*/
public int getEncounteredGendersValue(int index) {
return encounteredGenders_.get(index);
}
private int encounteredGendersMemoizedSerializedSize;
public static final int ENCOUNTERED_SHINY_FIELD_NUMBER = 13;
private boolean encounteredShiny_;
/**
* bool encountered_shiny = 13;
*/
public boolean getEncounteredShiny() {
return encounteredShiny_;
}
public static final int TIMES_LUCKY_RECEIVED_FIELD_NUMBER = 14;
private int timesLuckyReceived_;
/**
* int32 times_lucky_received = 14;
*/
public int getTimesLuckyReceived() {
return timesLuckyReceived_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (pokemonId_ != POGOProtos.Enums.PokemonIdOuterClass.PokemonId.MISSINGNO.getNumber()) {
output.writeEnum(1, pokemonId_);
}
if (timesEncountered_ != 0) {
output.writeInt32(2, timesEncountered_);
}
if (timesCaptured_ != 0) {
output.writeInt32(3, timesCaptured_);
}
if (evolutionStonePieces_ != 0) {
output.writeInt32(4, evolutionStonePieces_);
}
if (evolutionStones_ != 0) {
output.writeInt32(5, evolutionStones_);
}
if (getCapturedCostumesList().size() > 0) {
output.writeUInt32NoTag(50);
output.writeUInt32NoTag(capturedCostumesMemoizedSerializedSize);
}
for (int i = 0; i < capturedCostumes_.size(); i++) {
output.writeEnumNoTag(capturedCostumes_.get(i));
}
if (getCapturedFormsList().size() > 0) {
output.writeUInt32NoTag(58);
output.writeUInt32NoTag(capturedFormsMemoizedSerializedSize);
}
for (int i = 0; i < capturedForms_.size(); i++) {
output.writeEnumNoTag(capturedForms_.get(i));
}
if (getCapturedGendersList().size() > 0) {
output.writeUInt32NoTag(66);
output.writeUInt32NoTag(capturedGendersMemoizedSerializedSize);
}
for (int i = 0; i < capturedGenders_.size(); i++) {
output.writeEnumNoTag(capturedGenders_.get(i));
}
if (capturedShiny_ != false) {
output.writeBool(9, capturedShiny_);
}
if (getEncounteredCostumesList().size() > 0) {
output.writeUInt32NoTag(82);
output.writeUInt32NoTag(encounteredCostumesMemoizedSerializedSize);
}
for (int i = 0; i < encounteredCostumes_.size(); i++) {
output.writeEnumNoTag(encounteredCostumes_.get(i));
}
if (getEncounteredFormsList().size() > 0) {
output.writeUInt32NoTag(90);
output.writeUInt32NoTag(encounteredFormsMemoizedSerializedSize);
}
for (int i = 0; i < encounteredForms_.size(); i++) {
output.writeEnumNoTag(encounteredForms_.get(i));
}
if (getEncounteredGendersList().size() > 0) {
output.writeUInt32NoTag(98);
output.writeUInt32NoTag(encounteredGendersMemoizedSerializedSize);
}
for (int i = 0; i < encounteredGenders_.size(); i++) {
output.writeEnumNoTag(encounteredGenders_.get(i));
}
if (encounteredShiny_ != false) {
output.writeBool(13, encounteredShiny_);
}
if (timesLuckyReceived_ != 0) {
output.writeInt32(14, timesLuckyReceived_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (pokemonId_ != POGOProtos.Enums.PokemonIdOuterClass.PokemonId.MISSINGNO.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, pokemonId_);
}
if (timesEncountered_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, timesEncountered_);
}
if (timesCaptured_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, timesCaptured_);
}
if (evolutionStonePieces_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, evolutionStonePieces_);
}
if (evolutionStones_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(5, evolutionStones_);
}
{
int dataSize = 0;
for (int i = 0; i < capturedCostumes_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeEnumSizeNoTag(capturedCostumes_.get(i));
}
size += dataSize;
if (!getCapturedCostumesList().isEmpty()) { size += 1;
size += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(dataSize);
}capturedCostumesMemoizedSerializedSize = dataSize;
}
{
int dataSize = 0;
for (int i = 0; i < capturedForms_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeEnumSizeNoTag(capturedForms_.get(i));
}
size += dataSize;
if (!getCapturedFormsList().isEmpty()) { size += 1;
size += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(dataSize);
}capturedFormsMemoizedSerializedSize = dataSize;
}
{
int dataSize = 0;
for (int i = 0; i < capturedGenders_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeEnumSizeNoTag(capturedGenders_.get(i));
}
size += dataSize;
if (!getCapturedGendersList().isEmpty()) { size += 1;
size += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(dataSize);
}capturedGendersMemoizedSerializedSize = dataSize;
}
if (capturedShiny_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(9, capturedShiny_);
}
{
int dataSize = 0;
for (int i = 0; i < encounteredCostumes_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeEnumSizeNoTag(encounteredCostumes_.get(i));
}
size += dataSize;
if (!getEncounteredCostumesList().isEmpty()) { size += 1;
size += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(dataSize);
}encounteredCostumesMemoizedSerializedSize = dataSize;
}
{
int dataSize = 0;
for (int i = 0; i < encounteredForms_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeEnumSizeNoTag(encounteredForms_.get(i));
}
size += dataSize;
if (!getEncounteredFormsList().isEmpty()) { size += 1;
size += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(dataSize);
}encounteredFormsMemoizedSerializedSize = dataSize;
}
{
int dataSize = 0;
for (int i = 0; i < encounteredGenders_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeEnumSizeNoTag(encounteredGenders_.get(i));
}
size += dataSize;
if (!getEncounteredGendersList().isEmpty()) { size += 1;
size += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(dataSize);
}encounteredGendersMemoizedSerializedSize = dataSize;
}
if (encounteredShiny_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(13, encounteredShiny_);
}
if (timesLuckyReceived_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(14, timesLuckyReceived_);
}
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.PokedexEntryOuterClass.PokedexEntry)) {
return super.equals(obj);
}
POGOProtos.Data.PokedexEntryOuterClass.PokedexEntry other = (POGOProtos.Data.PokedexEntryOuterClass.PokedexEntry) obj;
boolean result = true;
result = result && pokemonId_ == other.pokemonId_;
result = result && (getTimesEncountered()
== other.getTimesEncountered());
result = result && (getTimesCaptured()
== other.getTimesCaptured());
result = result && (getEvolutionStonePieces()
== other.getEvolutionStonePieces());
result = result && (getEvolutionStones()
== other.getEvolutionStones());
result = result && capturedCostumes_.equals(other.capturedCostumes_);
result = result && capturedForms_.equals(other.capturedForms_);
result = result && capturedGenders_.equals(other.capturedGenders_);
result = result && (getCapturedShiny()
== other.getCapturedShiny());
result = result && encounteredCostumes_.equals(other.encounteredCostumes_);
result = result && encounteredForms_.equals(other.encounteredForms_);
result = result && encounteredGenders_.equals(other.encounteredGenders_);
result = result && (getEncounteredShiny()
== other.getEncounteredShiny());
result = result && (getTimesLuckyReceived()
== other.getTimesLuckyReceived());
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) + POKEMON_ID_FIELD_NUMBER;
hash = (53 * hash) + pokemonId_;
hash = (37 * hash) + TIMES_ENCOUNTERED_FIELD_NUMBER;
hash = (53 * hash) + getTimesEncountered();
hash = (37 * hash) + TIMES_CAPTURED_FIELD_NUMBER;
hash = (53 * hash) + getTimesCaptured();
hash = (37 * hash) + EVOLUTION_STONE_PIECES_FIELD_NUMBER;
hash = (53 * hash) + getEvolutionStonePieces();
hash = (37 * hash) + EVOLUTION_STONES_FIELD_NUMBER;
hash = (53 * hash) + getEvolutionStones();
if (getCapturedCostumesCount() > 0) {
hash = (37 * hash) + CAPTURED_COSTUMES_FIELD_NUMBER;
hash = (53 * hash) + capturedCostumes_.hashCode();
}
if (getCapturedFormsCount() > 0) {
hash = (37 * hash) + CAPTURED_FORMS_FIELD_NUMBER;
hash = (53 * hash) + capturedForms_.hashCode();
}
if (getCapturedGendersCount() > 0) {
hash = (37 * hash) + CAPTURED_GENDERS_FIELD_NUMBER;
hash = (53 * hash) + capturedGenders_.hashCode();
}
hash = (37 * hash) + CAPTURED_SHINY_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getCapturedShiny());
if (getEncounteredCostumesCount() > 0) {
hash = (37 * hash) + ENCOUNTERED_COSTUMES_FIELD_NUMBER;
hash = (53 * hash) + encounteredCostumes_.hashCode();
}
if (getEncounteredFormsCount() > 0) {
hash = (37 * hash) + ENCOUNTERED_FORMS_FIELD_NUMBER;
hash = (53 * hash) + encounteredForms_.hashCode();
}
if (getEncounteredGendersCount() > 0) {
hash = (37 * hash) + ENCOUNTERED_GENDERS_FIELD_NUMBER;
hash = (53 * hash) + encounteredGenders_.hashCode();
}
hash = (37 * hash) + ENCOUNTERED_SHINY_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getEncounteredShiny());
hash = (37 * hash) + TIMES_LUCKY_RECEIVED_FIELD_NUMBER;
hash = (53 * hash) + getTimesLuckyReceived();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Data.PokedexEntryOuterClass.PokedexEntry parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.PokedexEntryOuterClass.PokedexEntry parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.PokedexEntryOuterClass.PokedexEntry parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.PokedexEntryOuterClass.PokedexEntry 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.PokedexEntryOuterClass.PokedexEntry parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.PokedexEntryOuterClass.PokedexEntry parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.PokedexEntryOuterClass.PokedexEntry parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.PokedexEntryOuterClass.PokedexEntry 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.PokedexEntryOuterClass.PokedexEntry parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Data.PokedexEntryOuterClass.PokedexEntry 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.PokedexEntryOuterClass.PokedexEntry parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.PokedexEntryOuterClass.PokedexEntry 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.PokedexEntryOuterClass.PokedexEntry 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.PokedexEntry}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Data.PokedexEntry)
POGOProtos.Data.PokedexEntryOuterClass.PokedexEntryOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.PokedexEntryOuterClass.internal_static_POGOProtos_Data_PokedexEntry_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.PokedexEntryOuterClass.internal_static_POGOProtos_Data_PokedexEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.PokedexEntryOuterClass.PokedexEntry.class, POGOProtos.Data.PokedexEntryOuterClass.PokedexEntry.Builder.class);
}
// Construct using POGOProtos.Data.PokedexEntryOuterClass.PokedexEntry.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();
pokemonId_ = 0;
timesEncountered_ = 0;
timesCaptured_ = 0;
evolutionStonePieces_ = 0;
evolutionStones_ = 0;
capturedCostumes_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
capturedForms_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
capturedGenders_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000080);
capturedShiny_ = false;
encounteredCostumes_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000200);
encounteredForms_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000400);
encounteredGenders_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000800);
encounteredShiny_ = false;
timesLuckyReceived_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Data.PokedexEntryOuterClass.internal_static_POGOProtos_Data_PokedexEntry_descriptor;
}
@java.lang.Override
public POGOProtos.Data.PokedexEntryOuterClass.PokedexEntry getDefaultInstanceForType() {
return POGOProtos.Data.PokedexEntryOuterClass.PokedexEntry.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Data.PokedexEntryOuterClass.PokedexEntry build() {
POGOProtos.Data.PokedexEntryOuterClass.PokedexEntry result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Data.PokedexEntryOuterClass.PokedexEntry buildPartial() {
POGOProtos.Data.PokedexEntryOuterClass.PokedexEntry result = new POGOProtos.Data.PokedexEntryOuterClass.PokedexEntry(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.pokemonId_ = pokemonId_;
result.timesEncountered_ = timesEncountered_;
result.timesCaptured_ = timesCaptured_;
result.evolutionStonePieces_ = evolutionStonePieces_;
result.evolutionStones_ = evolutionStones_;
if (((bitField0_ & 0x00000020) == 0x00000020)) {
capturedCostumes_ = java.util.Collections.unmodifiableList(capturedCostumes_);
bitField0_ = (bitField0_ & ~0x00000020);
}
result.capturedCostumes_ = capturedCostumes_;
if (((bitField0_ & 0x00000040) == 0x00000040)) {
capturedForms_ = java.util.Collections.unmodifiableList(capturedForms_);
bitField0_ = (bitField0_ & ~0x00000040);
}
result.capturedForms_ = capturedForms_;
if (((bitField0_ & 0x00000080) == 0x00000080)) {
capturedGenders_ = java.util.Collections.unmodifiableList(capturedGenders_);
bitField0_ = (bitField0_ & ~0x00000080);
}
result.capturedGenders_ = capturedGenders_;
result.capturedShiny_ = capturedShiny_;
if (((bitField0_ & 0x00000200) == 0x00000200)) {
encounteredCostumes_ = java.util.Collections.unmodifiableList(encounteredCostumes_);
bitField0_ = (bitField0_ & ~0x00000200);
}
result.encounteredCostumes_ = encounteredCostumes_;
if (((bitField0_ & 0x00000400) == 0x00000400)) {
encounteredForms_ = java.util.Collections.unmodifiableList(encounteredForms_);
bitField0_ = (bitField0_ & ~0x00000400);
}
result.encounteredForms_ = encounteredForms_;
if (((bitField0_ & 0x00000800) == 0x00000800)) {
encounteredGenders_ = java.util.Collections.unmodifiableList(encounteredGenders_);
bitField0_ = (bitField0_ & ~0x00000800);
}
result.encounteredGenders_ = encounteredGenders_;
result.encounteredShiny_ = encounteredShiny_;
result.timesLuckyReceived_ = timesLuckyReceived_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof POGOProtos.Data.PokedexEntryOuterClass.PokedexEntry) {
return mergeFrom((POGOProtos.Data.PokedexEntryOuterClass.PokedexEntry)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Data.PokedexEntryOuterClass.PokedexEntry other) {
if (other == POGOProtos.Data.PokedexEntryOuterClass.PokedexEntry.getDefaultInstance()) return this;
if (other.pokemonId_ != 0) {
setPokemonIdValue(other.getPokemonIdValue());
}
if (other.getTimesEncountered() != 0) {
setTimesEncountered(other.getTimesEncountered());
}
if (other.getTimesCaptured() != 0) {
setTimesCaptured(other.getTimesCaptured());
}
if (other.getEvolutionStonePieces() != 0) {
setEvolutionStonePieces(other.getEvolutionStonePieces());
}
if (other.getEvolutionStones() != 0) {
setEvolutionStones(other.getEvolutionStones());
}
if (!other.capturedCostumes_.isEmpty()) {
if (capturedCostumes_.isEmpty()) {
capturedCostumes_ = other.capturedCostumes_;
bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensureCapturedCostumesIsMutable();
capturedCostumes_.addAll(other.capturedCostumes_);
}
onChanged();
}
if (!other.capturedForms_.isEmpty()) {
if (capturedForms_.isEmpty()) {
capturedForms_ = other.capturedForms_;
bitField0_ = (bitField0_ & ~0x00000040);
} else {
ensureCapturedFormsIsMutable();
capturedForms_.addAll(other.capturedForms_);
}
onChanged();
}
if (!other.capturedGenders_.isEmpty()) {
if (capturedGenders_.isEmpty()) {
capturedGenders_ = other.capturedGenders_;
bitField0_ = (bitField0_ & ~0x00000080);
} else {
ensureCapturedGendersIsMutable();
capturedGenders_.addAll(other.capturedGenders_);
}
onChanged();
}
if (other.getCapturedShiny() != false) {
setCapturedShiny(other.getCapturedShiny());
}
if (!other.encounteredCostumes_.isEmpty()) {
if (encounteredCostumes_.isEmpty()) {
encounteredCostumes_ = other.encounteredCostumes_;
bitField0_ = (bitField0_ & ~0x00000200);
} else {
ensureEncounteredCostumesIsMutable();
encounteredCostumes_.addAll(other.encounteredCostumes_);
}
onChanged();
}
if (!other.encounteredForms_.isEmpty()) {
if (encounteredForms_.isEmpty()) {
encounteredForms_ = other.encounteredForms_;
bitField0_ = (bitField0_ & ~0x00000400);
} else {
ensureEncounteredFormsIsMutable();
encounteredForms_.addAll(other.encounteredForms_);
}
onChanged();
}
if (!other.encounteredGenders_.isEmpty()) {
if (encounteredGenders_.isEmpty()) {
encounteredGenders_ = other.encounteredGenders_;
bitField0_ = (bitField0_ & ~0x00000800);
} else {
ensureEncounteredGendersIsMutable();
encounteredGenders_.addAll(other.encounteredGenders_);
}
onChanged();
}
if (other.getEncounteredShiny() != false) {
setEncounteredShiny(other.getEncounteredShiny());
}
if (other.getTimesLuckyReceived() != 0) {
setTimesLuckyReceived(other.getTimesLuckyReceived());
}
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.PokedexEntryOuterClass.PokedexEntry parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Data.PokedexEntryOuterClass.PokedexEntry) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int pokemonId_ = 0;
/**
* .POGOProtos.Enums.PokemonId pokemon_id = 1;
*/
public int getPokemonIdValue() {
return pokemonId_;
}
/**
* .POGOProtos.Enums.PokemonId pokemon_id = 1;
*/
public Builder setPokemonIdValue(int value) {
pokemonId_ = value;
onChanged();
return this;
}
/**
* .POGOProtos.Enums.PokemonId pokemon_id = 1;
*/
public POGOProtos.Enums.PokemonIdOuterClass.PokemonId getPokemonId() {
@SuppressWarnings("deprecation")
POGOProtos.Enums.PokemonIdOuterClass.PokemonId result = POGOProtos.Enums.PokemonIdOuterClass.PokemonId.valueOf(pokemonId_);
return result == null ? POGOProtos.Enums.PokemonIdOuterClass.PokemonId.UNRECOGNIZED : result;
}
/**
* .POGOProtos.Enums.PokemonId pokemon_id = 1;
*/
public Builder setPokemonId(POGOProtos.Enums.PokemonIdOuterClass.PokemonId value) {
if (value == null) {
throw new NullPointerException();
}
pokemonId_ = value.getNumber();
onChanged();
return this;
}
/**
* .POGOProtos.Enums.PokemonId pokemon_id = 1;
*/
public Builder clearPokemonId() {
pokemonId_ = 0;
onChanged();
return this;
}
private int timesEncountered_ ;
/**
* int32 times_encountered = 2;
*/
public int getTimesEncountered() {
return timesEncountered_;
}
/**
* int32 times_encountered = 2;
*/
public Builder setTimesEncountered(int value) {
timesEncountered_ = value;
onChanged();
return this;
}
/**
* int32 times_encountered = 2;
*/
public Builder clearTimesEncountered() {
timesEncountered_ = 0;
onChanged();
return this;
}
private int timesCaptured_ ;
/**
* int32 times_captured = 3;
*/
public int getTimesCaptured() {
return timesCaptured_;
}
/**
* int32 times_captured = 3;
*/
public Builder setTimesCaptured(int value) {
timesCaptured_ = value;
onChanged();
return this;
}
/**
* int32 times_captured = 3;
*/
public Builder clearTimesCaptured() {
timesCaptured_ = 0;
onChanged();
return this;
}
private int evolutionStonePieces_ ;
/**
* int32 evolution_stone_pieces = 4;
*/
public int getEvolutionStonePieces() {
return evolutionStonePieces_;
}
/**
* int32 evolution_stone_pieces = 4;
*/
public Builder setEvolutionStonePieces(int value) {
evolutionStonePieces_ = value;
onChanged();
return this;
}
/**
* int32 evolution_stone_pieces = 4;
*/
public Builder clearEvolutionStonePieces() {
evolutionStonePieces_ = 0;
onChanged();
return this;
}
private int evolutionStones_ ;
/**
* int32 evolution_stones = 5;
*/
public int getEvolutionStones() {
return evolutionStones_;
}
/**
* int32 evolution_stones = 5;
*/
public Builder setEvolutionStones(int value) {
evolutionStones_ = value;
onChanged();
return this;
}
/**
* int32 evolution_stones = 5;
*/
public Builder clearEvolutionStones() {
evolutionStones_ = 0;
onChanged();
return this;
}
private java.util.List capturedCostumes_ =
java.util.Collections.emptyList();
private void ensureCapturedCostumesIsMutable() {
if (!((bitField0_ & 0x00000020) == 0x00000020)) {
capturedCostumes_ = new java.util.ArrayList(capturedCostumes_);
bitField0_ |= 0x00000020;
}
}
/**
* repeated .POGOProtos.Enums.Costume captured_costumes = 6;
*/
public java.util.List getCapturedCostumesList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, POGOProtos.Enums.CostumeOuterClass.Costume>(capturedCostumes_, capturedCostumes_converter_);
}
/**
* repeated .POGOProtos.Enums.Costume captured_costumes = 6;
*/
public int getCapturedCostumesCount() {
return capturedCostumes_.size();
}
/**
* repeated .POGOProtos.Enums.Costume captured_costumes = 6;
*/
public POGOProtos.Enums.CostumeOuterClass.Costume getCapturedCostumes(int index) {
return capturedCostumes_converter_.convert(capturedCostumes_.get(index));
}
/**
* repeated .POGOProtos.Enums.Costume captured_costumes = 6;
*/
public Builder setCapturedCostumes(
int index, POGOProtos.Enums.CostumeOuterClass.Costume value) {
if (value == null) {
throw new NullPointerException();
}
ensureCapturedCostumesIsMutable();
capturedCostumes_.set(index, value.getNumber());
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.Costume captured_costumes = 6;
*/
public Builder addCapturedCostumes(POGOProtos.Enums.CostumeOuterClass.Costume value) {
if (value == null) {
throw new NullPointerException();
}
ensureCapturedCostumesIsMutable();
capturedCostumes_.add(value.getNumber());
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.Costume captured_costumes = 6;
*/
public Builder addAllCapturedCostumes(
java.lang.Iterable extends POGOProtos.Enums.CostumeOuterClass.Costume> values) {
ensureCapturedCostumesIsMutable();
for (POGOProtos.Enums.CostumeOuterClass.Costume value : values) {
capturedCostumes_.add(value.getNumber());
}
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.Costume captured_costumes = 6;
*/
public Builder clearCapturedCostumes() {
capturedCostumes_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.Costume captured_costumes = 6;
*/
public java.util.List
getCapturedCostumesValueList() {
return java.util.Collections.unmodifiableList(capturedCostumes_);
}
/**
* repeated .POGOProtos.Enums.Costume captured_costumes = 6;
*/
public int getCapturedCostumesValue(int index) {
return capturedCostumes_.get(index);
}
/**
* repeated .POGOProtos.Enums.Costume captured_costumes = 6;
*/
public Builder setCapturedCostumesValue(
int index, int value) {
ensureCapturedCostumesIsMutable();
capturedCostumes_.set(index, value);
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.Costume captured_costumes = 6;
*/
public Builder addCapturedCostumesValue(int value) {
ensureCapturedCostumesIsMutable();
capturedCostumes_.add(value);
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.Costume captured_costumes = 6;
*/
public Builder addAllCapturedCostumesValue(
java.lang.Iterable values) {
ensureCapturedCostumesIsMutable();
for (int value : values) {
capturedCostumes_.add(value);
}
onChanged();
return this;
}
private java.util.List capturedForms_ =
java.util.Collections.emptyList();
private void ensureCapturedFormsIsMutable() {
if (!((bitField0_ & 0x00000040) == 0x00000040)) {
capturedForms_ = new java.util.ArrayList(capturedForms_);
bitField0_ |= 0x00000040;
}
}
/**
* repeated .POGOProtos.Enums.Form captured_forms = 7;
*/
public java.util.List getCapturedFormsList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, POGOProtos.Enums.FormOuterClass.Form>(capturedForms_, capturedForms_converter_);
}
/**
* repeated .POGOProtos.Enums.Form captured_forms = 7;
*/
public int getCapturedFormsCount() {
return capturedForms_.size();
}
/**
* repeated .POGOProtos.Enums.Form captured_forms = 7;
*/
public POGOProtos.Enums.FormOuterClass.Form getCapturedForms(int index) {
return capturedForms_converter_.convert(capturedForms_.get(index));
}
/**
* repeated .POGOProtos.Enums.Form captured_forms = 7;
*/
public Builder setCapturedForms(
int index, POGOProtos.Enums.FormOuterClass.Form value) {
if (value == null) {
throw new NullPointerException();
}
ensureCapturedFormsIsMutable();
capturedForms_.set(index, value.getNumber());
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.Form captured_forms = 7;
*/
public Builder addCapturedForms(POGOProtos.Enums.FormOuterClass.Form value) {
if (value == null) {
throw new NullPointerException();
}
ensureCapturedFormsIsMutable();
capturedForms_.add(value.getNumber());
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.Form captured_forms = 7;
*/
public Builder addAllCapturedForms(
java.lang.Iterable extends POGOProtos.Enums.FormOuterClass.Form> values) {
ensureCapturedFormsIsMutable();
for (POGOProtos.Enums.FormOuterClass.Form value : values) {
capturedForms_.add(value.getNumber());
}
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.Form captured_forms = 7;
*/
public Builder clearCapturedForms() {
capturedForms_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.Form captured_forms = 7;
*/
public java.util.List
getCapturedFormsValueList() {
return java.util.Collections.unmodifiableList(capturedForms_);
}
/**
* repeated .POGOProtos.Enums.Form captured_forms = 7;
*/
public int getCapturedFormsValue(int index) {
return capturedForms_.get(index);
}
/**
* repeated .POGOProtos.Enums.Form captured_forms = 7;
*/
public Builder setCapturedFormsValue(
int index, int value) {
ensureCapturedFormsIsMutable();
capturedForms_.set(index, value);
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.Form captured_forms = 7;
*/
public Builder addCapturedFormsValue(int value) {
ensureCapturedFormsIsMutable();
capturedForms_.add(value);
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.Form captured_forms = 7;
*/
public Builder addAllCapturedFormsValue(
java.lang.Iterable values) {
ensureCapturedFormsIsMutable();
for (int value : values) {
capturedForms_.add(value);
}
onChanged();
return this;
}
private java.util.List capturedGenders_ =
java.util.Collections.emptyList();
private void ensureCapturedGendersIsMutable() {
if (!((bitField0_ & 0x00000080) == 0x00000080)) {
capturedGenders_ = new java.util.ArrayList(capturedGenders_);
bitField0_ |= 0x00000080;
}
}
/**
* repeated .POGOProtos.Enums.Gender captured_genders = 8;
*/
public java.util.List getCapturedGendersList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, POGOProtos.Enums.GenderOuterClass.Gender>(capturedGenders_, capturedGenders_converter_);
}
/**
* repeated .POGOProtos.Enums.Gender captured_genders = 8;
*/
public int getCapturedGendersCount() {
return capturedGenders_.size();
}
/**
* repeated .POGOProtos.Enums.Gender captured_genders = 8;
*/
public POGOProtos.Enums.GenderOuterClass.Gender getCapturedGenders(int index) {
return capturedGenders_converter_.convert(capturedGenders_.get(index));
}
/**
* repeated .POGOProtos.Enums.Gender captured_genders = 8;
*/
public Builder setCapturedGenders(
int index, POGOProtos.Enums.GenderOuterClass.Gender value) {
if (value == null) {
throw new NullPointerException();
}
ensureCapturedGendersIsMutable();
capturedGenders_.set(index, value.getNumber());
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.Gender captured_genders = 8;
*/
public Builder addCapturedGenders(POGOProtos.Enums.GenderOuterClass.Gender value) {
if (value == null) {
throw new NullPointerException();
}
ensureCapturedGendersIsMutable();
capturedGenders_.add(value.getNumber());
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.Gender captured_genders = 8;
*/
public Builder addAllCapturedGenders(
java.lang.Iterable extends POGOProtos.Enums.GenderOuterClass.Gender> values) {
ensureCapturedGendersIsMutable();
for (POGOProtos.Enums.GenderOuterClass.Gender value : values) {
capturedGenders_.add(value.getNumber());
}
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.Gender captured_genders = 8;
*/
public Builder clearCapturedGenders() {
capturedGenders_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.Gender captured_genders = 8;
*/
public java.util.List
getCapturedGendersValueList() {
return java.util.Collections.unmodifiableList(capturedGenders_);
}
/**
* repeated .POGOProtos.Enums.Gender captured_genders = 8;
*/
public int getCapturedGendersValue(int index) {
return capturedGenders_.get(index);
}
/**
* repeated .POGOProtos.Enums.Gender captured_genders = 8;
*/
public Builder setCapturedGendersValue(
int index, int value) {
ensureCapturedGendersIsMutable();
capturedGenders_.set(index, value);
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.Gender captured_genders = 8;
*/
public Builder addCapturedGendersValue(int value) {
ensureCapturedGendersIsMutable();
capturedGenders_.add(value);
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.Gender captured_genders = 8;
*/
public Builder addAllCapturedGendersValue(
java.lang.Iterable values) {
ensureCapturedGendersIsMutable();
for (int value : values) {
capturedGenders_.add(value);
}
onChanged();
return this;
}
private boolean capturedShiny_ ;
/**
* bool captured_shiny = 9;
*/
public boolean getCapturedShiny() {
return capturedShiny_;
}
/**
* bool captured_shiny = 9;
*/
public Builder setCapturedShiny(boolean value) {
capturedShiny_ = value;
onChanged();
return this;
}
/**
* bool captured_shiny = 9;
*/
public Builder clearCapturedShiny() {
capturedShiny_ = false;
onChanged();
return this;
}
private java.util.List encounteredCostumes_ =
java.util.Collections.emptyList();
private void ensureEncounteredCostumesIsMutable() {
if (!((bitField0_ & 0x00000200) == 0x00000200)) {
encounteredCostumes_ = new java.util.ArrayList(encounteredCostumes_);
bitField0_ |= 0x00000200;
}
}
/**
* repeated .POGOProtos.Enums.Costume encountered_costumes = 10;
*/
public java.util.List getEncounteredCostumesList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, POGOProtos.Enums.CostumeOuterClass.Costume>(encounteredCostumes_, encounteredCostumes_converter_);
}
/**
* repeated .POGOProtos.Enums.Costume encountered_costumes = 10;
*/
public int getEncounteredCostumesCount() {
return encounteredCostumes_.size();
}
/**
* repeated .POGOProtos.Enums.Costume encountered_costumes = 10;
*/
public POGOProtos.Enums.CostumeOuterClass.Costume getEncounteredCostumes(int index) {
return encounteredCostumes_converter_.convert(encounteredCostumes_.get(index));
}
/**
* repeated .POGOProtos.Enums.Costume encountered_costumes = 10;
*/
public Builder setEncounteredCostumes(
int index, POGOProtos.Enums.CostumeOuterClass.Costume value) {
if (value == null) {
throw new NullPointerException();
}
ensureEncounteredCostumesIsMutable();
encounteredCostumes_.set(index, value.getNumber());
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.Costume encountered_costumes = 10;
*/
public Builder addEncounteredCostumes(POGOProtos.Enums.CostumeOuterClass.Costume value) {
if (value == null) {
throw new NullPointerException();
}
ensureEncounteredCostumesIsMutable();
encounteredCostumes_.add(value.getNumber());
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.Costume encountered_costumes = 10;
*/
public Builder addAllEncounteredCostumes(
java.lang.Iterable extends POGOProtos.Enums.CostumeOuterClass.Costume> values) {
ensureEncounteredCostumesIsMutable();
for (POGOProtos.Enums.CostumeOuterClass.Costume value : values) {
encounteredCostumes_.add(value.getNumber());
}
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.Costume encountered_costumes = 10;
*/
public Builder clearEncounteredCostumes() {
encounteredCostumes_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000200);
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.Costume encountered_costumes = 10;
*/
public java.util.List
getEncounteredCostumesValueList() {
return java.util.Collections.unmodifiableList(encounteredCostumes_);
}
/**
* repeated .POGOProtos.Enums.Costume encountered_costumes = 10;
*/
public int getEncounteredCostumesValue(int index) {
return encounteredCostumes_.get(index);
}
/**
* repeated .POGOProtos.Enums.Costume encountered_costumes = 10;
*/
public Builder setEncounteredCostumesValue(
int index, int value) {
ensureEncounteredCostumesIsMutable();
encounteredCostumes_.set(index, value);
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.Costume encountered_costumes = 10;
*/
public Builder addEncounteredCostumesValue(int value) {
ensureEncounteredCostumesIsMutable();
encounteredCostumes_.add(value);
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.Costume encountered_costumes = 10;
*/
public Builder addAllEncounteredCostumesValue(
java.lang.Iterable values) {
ensureEncounteredCostumesIsMutable();
for (int value : values) {
encounteredCostumes_.add(value);
}
onChanged();
return this;
}
private java.util.List encounteredForms_ =
java.util.Collections.emptyList();
private void ensureEncounteredFormsIsMutable() {
if (!((bitField0_ & 0x00000400) == 0x00000400)) {
encounteredForms_ = new java.util.ArrayList(encounteredForms_);
bitField0_ |= 0x00000400;
}
}
/**
* repeated .POGOProtos.Enums.Form encountered_forms = 11;
*/
public java.util.List getEncounteredFormsList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, POGOProtos.Enums.FormOuterClass.Form>(encounteredForms_, encounteredForms_converter_);
}
/**
* repeated .POGOProtos.Enums.Form encountered_forms = 11;
*/
public int getEncounteredFormsCount() {
return encounteredForms_.size();
}
/**
* repeated .POGOProtos.Enums.Form encountered_forms = 11;
*/
public POGOProtos.Enums.FormOuterClass.Form getEncounteredForms(int index) {
return encounteredForms_converter_.convert(encounteredForms_.get(index));
}
/**
* repeated .POGOProtos.Enums.Form encountered_forms = 11;
*/
public Builder setEncounteredForms(
int index, POGOProtos.Enums.FormOuterClass.Form value) {
if (value == null) {
throw new NullPointerException();
}
ensureEncounteredFormsIsMutable();
encounteredForms_.set(index, value.getNumber());
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.Form encountered_forms = 11;
*/
public Builder addEncounteredForms(POGOProtos.Enums.FormOuterClass.Form value) {
if (value == null) {
throw new NullPointerException();
}
ensureEncounteredFormsIsMutable();
encounteredForms_.add(value.getNumber());
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.Form encountered_forms = 11;
*/
public Builder addAllEncounteredForms(
java.lang.Iterable extends POGOProtos.Enums.FormOuterClass.Form> values) {
ensureEncounteredFormsIsMutable();
for (POGOProtos.Enums.FormOuterClass.Form value : values) {
encounteredForms_.add(value.getNumber());
}
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.Form encountered_forms = 11;
*/
public Builder clearEncounteredForms() {
encounteredForms_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000400);
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.Form encountered_forms = 11;
*/
public java.util.List
getEncounteredFormsValueList() {
return java.util.Collections.unmodifiableList(encounteredForms_);
}
/**
* repeated .POGOProtos.Enums.Form encountered_forms = 11;
*/
public int getEncounteredFormsValue(int index) {
return encounteredForms_.get(index);
}
/**
* repeated .POGOProtos.Enums.Form encountered_forms = 11;
*/
public Builder setEncounteredFormsValue(
int index, int value) {
ensureEncounteredFormsIsMutable();
encounteredForms_.set(index, value);
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.Form encountered_forms = 11;
*/
public Builder addEncounteredFormsValue(int value) {
ensureEncounteredFormsIsMutable();
encounteredForms_.add(value);
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.Form encountered_forms = 11;
*/
public Builder addAllEncounteredFormsValue(
java.lang.Iterable values) {
ensureEncounteredFormsIsMutable();
for (int value : values) {
encounteredForms_.add(value);
}
onChanged();
return this;
}
private java.util.List encounteredGenders_ =
java.util.Collections.emptyList();
private void ensureEncounteredGendersIsMutable() {
if (!((bitField0_ & 0x00000800) == 0x00000800)) {
encounteredGenders_ = new java.util.ArrayList(encounteredGenders_);
bitField0_ |= 0x00000800;
}
}
/**
* repeated .POGOProtos.Enums.Gender encountered_genders = 12;
*/
public java.util.List getEncounteredGendersList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, POGOProtos.Enums.GenderOuterClass.Gender>(encounteredGenders_, encounteredGenders_converter_);
}
/**
* repeated .POGOProtos.Enums.Gender encountered_genders = 12;
*/
public int getEncounteredGendersCount() {
return encounteredGenders_.size();
}
/**
* repeated .POGOProtos.Enums.Gender encountered_genders = 12;
*/
public POGOProtos.Enums.GenderOuterClass.Gender getEncounteredGenders(int index) {
return encounteredGenders_converter_.convert(encounteredGenders_.get(index));
}
/**
* repeated .POGOProtos.Enums.Gender encountered_genders = 12;
*/
public Builder setEncounteredGenders(
int index, POGOProtos.Enums.GenderOuterClass.Gender value) {
if (value == null) {
throw new NullPointerException();
}
ensureEncounteredGendersIsMutable();
encounteredGenders_.set(index, value.getNumber());
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.Gender encountered_genders = 12;
*/
public Builder addEncounteredGenders(POGOProtos.Enums.GenderOuterClass.Gender value) {
if (value == null) {
throw new NullPointerException();
}
ensureEncounteredGendersIsMutable();
encounteredGenders_.add(value.getNumber());
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.Gender encountered_genders = 12;
*/
public Builder addAllEncounteredGenders(
java.lang.Iterable extends POGOProtos.Enums.GenderOuterClass.Gender> values) {
ensureEncounteredGendersIsMutable();
for (POGOProtos.Enums.GenderOuterClass.Gender value : values) {
encounteredGenders_.add(value.getNumber());
}
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.Gender encountered_genders = 12;
*/
public Builder clearEncounteredGenders() {
encounteredGenders_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000800);
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.Gender encountered_genders = 12;
*/
public java.util.List
getEncounteredGendersValueList() {
return java.util.Collections.unmodifiableList(encounteredGenders_);
}
/**
* repeated .POGOProtos.Enums.Gender encountered_genders = 12;
*/
public int getEncounteredGendersValue(int index) {
return encounteredGenders_.get(index);
}
/**
* repeated .POGOProtos.Enums.Gender encountered_genders = 12;
*/
public Builder setEncounteredGendersValue(
int index, int value) {
ensureEncounteredGendersIsMutable();
encounteredGenders_.set(index, value);
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.Gender encountered_genders = 12;
*/
public Builder addEncounteredGendersValue(int value) {
ensureEncounteredGendersIsMutable();
encounteredGenders_.add(value);
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.Gender encountered_genders = 12;
*/
public Builder addAllEncounteredGendersValue(
java.lang.Iterable values) {
ensureEncounteredGendersIsMutable();
for (int value : values) {
encounteredGenders_.add(value);
}
onChanged();
return this;
}
private boolean encounteredShiny_ ;
/**
* bool encountered_shiny = 13;
*/
public boolean getEncounteredShiny() {
return encounteredShiny_;
}
/**
* bool encountered_shiny = 13;
*/
public Builder setEncounteredShiny(boolean value) {
encounteredShiny_ = value;
onChanged();
return this;
}
/**
* bool encountered_shiny = 13;
*/
public Builder clearEncounteredShiny() {
encounteredShiny_ = false;
onChanged();
return this;
}
private int timesLuckyReceived_ ;
/**
* int32 times_lucky_received = 14;
*/
public int getTimesLuckyReceived() {
return timesLuckyReceived_;
}
/**
* int32 times_lucky_received = 14;
*/
public Builder setTimesLuckyReceived(int value) {
timesLuckyReceived_ = value;
onChanged();
return this;
}
/**
* int32 times_lucky_received = 14;
*/
public Builder clearTimesLuckyReceived() {
timesLuckyReceived_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:POGOProtos.Data.PokedexEntry)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Data.PokedexEntry)
private static final POGOProtos.Data.PokedexEntryOuterClass.PokedexEntry DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Data.PokedexEntryOuterClass.PokedexEntry();
}
public static POGOProtos.Data.PokedexEntryOuterClass.PokedexEntry getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public PokedexEntry parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PokedexEntry(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.PokedexEntryOuterClass.PokedexEntry getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Data_PokedexEntry_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Data_PokedexEntry_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/PokedexEntry.proto\022\017PO" +
"GOProtos.Data\032\036POGOProtos/Enums/Costume." +
"proto\032\033POGOProtos/Enums/Form.proto\032\035POGO" +
"Protos/Enums/Gender.proto\032 POGOProtos/En" +
"ums/PokemonId.proto\"\272\004\n\014PokedexEntry\022/\n\n" +
"pokemon_id\030\001 \001(\0162\033.POGOProtos.Enums.Poke" +
"monId\022\031\n\021times_encountered\030\002 \001(\005\022\026\n\016time" +
"s_captured\030\003 \001(\005\022\036\n\026evolution_stone_piec" +
"es\030\004 \001(\005\022\030\n\020evolution_stones\030\005 \001(\005\0224\n\021ca" +
"ptured_costumes\030\006 \003(\0162\031.POGOProtos.Enums" +
".Costume\022.\n\016captured_forms\030\007 \003(\0162\026.POGOP" +
"rotos.Enums.Form\0222\n\020captured_genders\030\010 \003" +
"(\0162\030.POGOProtos.Enums.Gender\022\026\n\016captured" +
"_shiny\030\t \001(\010\0227\n\024encountered_costumes\030\n \003" +
"(\0162\031.POGOProtos.Enums.Costume\0221\n\021encount" +
"ered_forms\030\013 \003(\0162\026.POGOProtos.Enums.Form" +
"\0225\n\023encountered_genders\030\014 \003(\0162\030.POGOProt" +
"os.Enums.Gender\022\031\n\021encountered_shiny\030\r \001" +
"(\010\022\034\n\024times_lucky_received\030\016 \001(\005b\006proto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
POGOProtos.Enums.CostumeOuterClass.getDescriptor(),
POGOProtos.Enums.FormOuterClass.getDescriptor(),
POGOProtos.Enums.GenderOuterClass.getDescriptor(),
POGOProtos.Enums.PokemonIdOuterClass.getDescriptor(),
}, assigner);
internal_static_POGOProtos_Data_PokedexEntry_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_POGOProtos_Data_PokedexEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Data_PokedexEntry_descriptor,
new java.lang.String[] { "PokemonId", "TimesEncountered", "TimesCaptured", "EvolutionStonePieces", "EvolutionStones", "CapturedCostumes", "CapturedForms", "CapturedGenders", "CapturedShiny", "EncounteredCostumes", "EncounteredForms", "EncounteredGenders", "EncounteredShiny", "TimesLuckyReceived", });
POGOProtos.Enums.CostumeOuterClass.getDescriptor();
POGOProtos.Enums.FormOuterClass.getDescriptor();
POGOProtos.Enums.GenderOuterClass.getDescriptor();
POGOProtos.Enums.PokemonIdOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy