POGOProtos.Data.Logs.FortSearchLogEntryOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: POGOProtos/Data/Logs/FortSearchLogEntry.proto
package POGOProtos.Data.Logs;
public final class FortSearchLogEntryOuterClass {
private FortSearchLogEntryOuterClass() {}
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 FortSearchLogEntryOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Data.Logs.FortSearchLogEntry)
com.google.protobuf.MessageOrBuilder {
/**
* .POGOProtos.Data.Logs.FortSearchLogEntry.Result result = 1;
*/
int getResultValue();
/**
* .POGOProtos.Data.Logs.FortSearchLogEntry.Result result = 1;
*/
POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry.Result getResult();
/**
* string fort_id = 2;
*/
java.lang.String getFortId();
/**
* string fort_id = 2;
*/
com.google.protobuf.ByteString
getFortIdBytes();
/**
* repeated .POGOProtos.Inventory.Item.ItemData items = 3;
*/
java.util.List
getItemsList();
/**
* repeated .POGOProtos.Inventory.Item.ItemData items = 3;
*/
POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData getItems(int index);
/**
* repeated .POGOProtos.Inventory.Item.ItemData items = 3;
*/
int getItemsCount();
/**
* repeated .POGOProtos.Inventory.Item.ItemData items = 3;
*/
java.util.List extends POGOProtos.Inventory.Item.ItemDataOuterClass.ItemDataOrBuilder>
getItemsOrBuilderList();
/**
* repeated .POGOProtos.Inventory.Item.ItemData items = 3;
*/
POGOProtos.Inventory.Item.ItemDataOuterClass.ItemDataOrBuilder getItemsOrBuilder(
int index);
/**
* int32 eggs = 4;
*/
int getEggs();
/**
* repeated .POGOProtos.Data.PokemonData pokemon_eggs = 5;
*/
java.util.List
getPokemonEggsList();
/**
* repeated .POGOProtos.Data.PokemonData pokemon_eggs = 5;
*/
POGOProtos.Data.PokemonDataOuterClass.PokemonData getPokemonEggs(int index);
/**
* repeated .POGOProtos.Data.PokemonData pokemon_eggs = 5;
*/
int getPokemonEggsCount();
/**
* repeated .POGOProtos.Data.PokemonData pokemon_eggs = 5;
*/
java.util.List extends POGOProtos.Data.PokemonDataOuterClass.PokemonDataOrBuilder>
getPokemonEggsOrBuilderList();
/**
* repeated .POGOProtos.Data.PokemonData pokemon_eggs = 5;
*/
POGOProtos.Data.PokemonDataOuterClass.PokemonDataOrBuilder getPokemonEggsOrBuilder(
int index);
/**
* .POGOProtos.Map.Fort.FortType fort_type = 6;
*/
int getFortTypeValue();
/**
* .POGOProtos.Map.Fort.FortType fort_type = 6;
*/
POGOProtos.Map.Fort.FortTypeOuterClass.FortType getFortType();
/**
* repeated .POGOProtos.Inventory.Item.ItemData awarded_items = 7;
*/
java.util.List
getAwardedItemsList();
/**
* repeated .POGOProtos.Inventory.Item.ItemData awarded_items = 7;
*/
POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData getAwardedItems(int index);
/**
* repeated .POGOProtos.Inventory.Item.ItemData awarded_items = 7;
*/
int getAwardedItemsCount();
/**
* repeated .POGOProtos.Inventory.Item.ItemData awarded_items = 7;
*/
java.util.List extends POGOProtos.Inventory.Item.ItemDataOuterClass.ItemDataOrBuilder>
getAwardedItemsOrBuilderList();
/**
* repeated .POGOProtos.Inventory.Item.ItemData awarded_items = 7;
*/
POGOProtos.Inventory.Item.ItemDataOuterClass.ItemDataOrBuilder getAwardedItemsOrBuilder(
int index);
/**
* repeated .POGOProtos.Inventory.Item.ItemData bonus_items = 8;
*/
java.util.List
getBonusItemsList();
/**
* repeated .POGOProtos.Inventory.Item.ItemData bonus_items = 8;
*/
POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData getBonusItems(int index);
/**
* repeated .POGOProtos.Inventory.Item.ItemData bonus_items = 8;
*/
int getBonusItemsCount();
/**
* repeated .POGOProtos.Inventory.Item.ItemData bonus_items = 8;
*/
java.util.List extends POGOProtos.Inventory.Item.ItemDataOuterClass.ItemDataOrBuilder>
getBonusItemsOrBuilderList();
/**
* repeated .POGOProtos.Inventory.Item.ItemData bonus_items = 8;
*/
POGOProtos.Inventory.Item.ItemDataOuterClass.ItemDataOrBuilder getBonusItemsOrBuilder(
int index);
/**
* repeated .POGOProtos.Inventory.Item.ItemData team_bonus_items = 9;
*/
java.util.List
getTeamBonusItemsList();
/**
* repeated .POGOProtos.Inventory.Item.ItemData team_bonus_items = 9;
*/
POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData getTeamBonusItems(int index);
/**
* repeated .POGOProtos.Inventory.Item.ItemData team_bonus_items = 9;
*/
int getTeamBonusItemsCount();
/**
* repeated .POGOProtos.Inventory.Item.ItemData team_bonus_items = 9;
*/
java.util.List extends POGOProtos.Inventory.Item.ItemDataOuterClass.ItemDataOrBuilder>
getTeamBonusItemsOrBuilderList();
/**
* repeated .POGOProtos.Inventory.Item.ItemData team_bonus_items = 9;
*/
POGOProtos.Inventory.Item.ItemDataOuterClass.ItemDataOrBuilder getTeamBonusItemsOrBuilder(
int index);
/**
* repeated .POGOProtos.Data.Gift.GiftBox gift_boxes = 10;
*/
java.util.List
getGiftBoxesList();
/**
* repeated .POGOProtos.Data.Gift.GiftBox gift_boxes = 10;
*/
POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBox getGiftBoxes(int index);
/**
* repeated .POGOProtos.Data.Gift.GiftBox gift_boxes = 10;
*/
int getGiftBoxesCount();
/**
* repeated .POGOProtos.Data.Gift.GiftBox gift_boxes = 10;
*/
java.util.List extends POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBoxOrBuilder>
getGiftBoxesOrBuilderList();
/**
* repeated .POGOProtos.Data.Gift.GiftBox gift_boxes = 10;
*/
POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBoxOrBuilder getGiftBoxesOrBuilder(
int index);
}
/**
* Protobuf type {@code POGOProtos.Data.Logs.FortSearchLogEntry}
*/
public static final class FortSearchLogEntry extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Data.Logs.FortSearchLogEntry)
FortSearchLogEntryOrBuilder {
private static final long serialVersionUID = 0L;
// Use FortSearchLogEntry.newBuilder() to construct.
private FortSearchLogEntry(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private FortSearchLogEntry() {
result_ = 0;
fortId_ = "";
items_ = java.util.Collections.emptyList();
eggs_ = 0;
pokemonEggs_ = java.util.Collections.emptyList();
fortType_ = 0;
awardedItems_ = java.util.Collections.emptyList();
bonusItems_ = java.util.Collections.emptyList();
teamBonusItems_ = java.util.Collections.emptyList();
giftBoxes_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private FortSearchLogEntry(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
int rawValue = input.readEnum();
result_ = rawValue;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
fortId_ = s;
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
items_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
items_.add(
input.readMessage(POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.parser(), extensionRegistry));
break;
}
case 32: {
eggs_ = input.readInt32();
break;
}
case 42: {
if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
pokemonEggs_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000010;
}
pokemonEggs_.add(
input.readMessage(POGOProtos.Data.PokemonDataOuterClass.PokemonData.parser(), extensionRegistry));
break;
}
case 48: {
int rawValue = input.readEnum();
fortType_ = rawValue;
break;
}
case 58: {
if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
awardedItems_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000040;
}
awardedItems_.add(
input.readMessage(POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.parser(), extensionRegistry));
break;
}
case 66: {
if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
bonusItems_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000080;
}
bonusItems_.add(
input.readMessage(POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.parser(), extensionRegistry));
break;
}
case 74: {
if (!((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
teamBonusItems_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000100;
}
teamBonusItems_.add(
input.readMessage(POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.parser(), extensionRegistry));
break;
}
case 82: {
if (!((mutable_bitField0_ & 0x00000200) == 0x00000200)) {
giftBoxes_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000200;
}
giftBoxes_.add(
input.readMessage(POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBox.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_ & 0x00000004) == 0x00000004)) {
items_ = java.util.Collections.unmodifiableList(items_);
}
if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
pokemonEggs_ = java.util.Collections.unmodifiableList(pokemonEggs_);
}
if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
awardedItems_ = java.util.Collections.unmodifiableList(awardedItems_);
}
if (((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
bonusItems_ = java.util.Collections.unmodifiableList(bonusItems_);
}
if (((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
teamBonusItems_ = java.util.Collections.unmodifiableList(teamBonusItems_);
}
if (((mutable_bitField0_ & 0x00000200) == 0x00000200)) {
giftBoxes_ = java.util.Collections.unmodifiableList(giftBoxes_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.internal_static_POGOProtos_Data_Logs_FortSearchLogEntry_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.internal_static_POGOProtos_Data_Logs_FortSearchLogEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry.class, POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry.Builder.class);
}
/**
* Protobuf enum {@code POGOProtos.Data.Logs.FortSearchLogEntry.Result}
*/
public enum Result
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 Result valueOf(int value) {
return forNumber(value);
}
public static Result 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<
Result> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Result findValueByNumber(int number) {
return Result.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry.getDescriptor().getEnumTypes().get(0);
}
private static final Result[] VALUES = values();
public static Result valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private Result(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:POGOProtos.Data.Logs.FortSearchLogEntry.Result)
}
private int bitField0_;
public static final int RESULT_FIELD_NUMBER = 1;
private int result_;
/**
* .POGOProtos.Data.Logs.FortSearchLogEntry.Result result = 1;
*/
public int getResultValue() {
return result_;
}
/**
* .POGOProtos.Data.Logs.FortSearchLogEntry.Result result = 1;
*/
public POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry.Result getResult() {
@SuppressWarnings("deprecation")
POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry.Result result = POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry.Result.valueOf(result_);
return result == null ? POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry.Result.UNRECOGNIZED : result;
}
public static final int FORT_ID_FIELD_NUMBER = 2;
private volatile java.lang.Object fortId_;
/**
* string fort_id = 2;
*/
public java.lang.String getFortId() {
java.lang.Object ref = fortId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
fortId_ = s;
return s;
}
}
/**
* string fort_id = 2;
*/
public com.google.protobuf.ByteString
getFortIdBytes() {
java.lang.Object ref = fortId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fortId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ITEMS_FIELD_NUMBER = 3;
private java.util.List items_;
/**
* repeated .POGOProtos.Inventory.Item.ItemData items = 3;
*/
public java.util.List getItemsList() {
return items_;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData items = 3;
*/
public java.util.List extends POGOProtos.Inventory.Item.ItemDataOuterClass.ItemDataOrBuilder>
getItemsOrBuilderList() {
return items_;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData items = 3;
*/
public int getItemsCount() {
return items_.size();
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData items = 3;
*/
public POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData getItems(int index) {
return items_.get(index);
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData items = 3;
*/
public POGOProtos.Inventory.Item.ItemDataOuterClass.ItemDataOrBuilder getItemsOrBuilder(
int index) {
return items_.get(index);
}
public static final int EGGS_FIELD_NUMBER = 4;
private int eggs_;
/**
* int32 eggs = 4;
*/
public int getEggs() {
return eggs_;
}
public static final int POKEMON_EGGS_FIELD_NUMBER = 5;
private java.util.List pokemonEggs_;
/**
* repeated .POGOProtos.Data.PokemonData pokemon_eggs = 5;
*/
public java.util.List getPokemonEggsList() {
return pokemonEggs_;
}
/**
* repeated .POGOProtos.Data.PokemonData pokemon_eggs = 5;
*/
public java.util.List extends POGOProtos.Data.PokemonDataOuterClass.PokemonDataOrBuilder>
getPokemonEggsOrBuilderList() {
return pokemonEggs_;
}
/**
* repeated .POGOProtos.Data.PokemonData pokemon_eggs = 5;
*/
public int getPokemonEggsCount() {
return pokemonEggs_.size();
}
/**
* repeated .POGOProtos.Data.PokemonData pokemon_eggs = 5;
*/
public POGOProtos.Data.PokemonDataOuterClass.PokemonData getPokemonEggs(int index) {
return pokemonEggs_.get(index);
}
/**
* repeated .POGOProtos.Data.PokemonData pokemon_eggs = 5;
*/
public POGOProtos.Data.PokemonDataOuterClass.PokemonDataOrBuilder getPokemonEggsOrBuilder(
int index) {
return pokemonEggs_.get(index);
}
public static final int FORT_TYPE_FIELD_NUMBER = 6;
private int fortType_;
/**
* .POGOProtos.Map.Fort.FortType fort_type = 6;
*/
public int getFortTypeValue() {
return fortType_;
}
/**
* .POGOProtos.Map.Fort.FortType fort_type = 6;
*/
public POGOProtos.Map.Fort.FortTypeOuterClass.FortType getFortType() {
@SuppressWarnings("deprecation")
POGOProtos.Map.Fort.FortTypeOuterClass.FortType result = POGOProtos.Map.Fort.FortTypeOuterClass.FortType.valueOf(fortType_);
return result == null ? POGOProtos.Map.Fort.FortTypeOuterClass.FortType.UNRECOGNIZED : result;
}
public static final int AWARDED_ITEMS_FIELD_NUMBER = 7;
private java.util.List awardedItems_;
/**
* repeated .POGOProtos.Inventory.Item.ItemData awarded_items = 7;
*/
public java.util.List getAwardedItemsList() {
return awardedItems_;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData awarded_items = 7;
*/
public java.util.List extends POGOProtos.Inventory.Item.ItemDataOuterClass.ItemDataOrBuilder>
getAwardedItemsOrBuilderList() {
return awardedItems_;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData awarded_items = 7;
*/
public int getAwardedItemsCount() {
return awardedItems_.size();
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData awarded_items = 7;
*/
public POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData getAwardedItems(int index) {
return awardedItems_.get(index);
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData awarded_items = 7;
*/
public POGOProtos.Inventory.Item.ItemDataOuterClass.ItemDataOrBuilder getAwardedItemsOrBuilder(
int index) {
return awardedItems_.get(index);
}
public static final int BONUS_ITEMS_FIELD_NUMBER = 8;
private java.util.List bonusItems_;
/**
* repeated .POGOProtos.Inventory.Item.ItemData bonus_items = 8;
*/
public java.util.List getBonusItemsList() {
return bonusItems_;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData bonus_items = 8;
*/
public java.util.List extends POGOProtos.Inventory.Item.ItemDataOuterClass.ItemDataOrBuilder>
getBonusItemsOrBuilderList() {
return bonusItems_;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData bonus_items = 8;
*/
public int getBonusItemsCount() {
return bonusItems_.size();
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData bonus_items = 8;
*/
public POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData getBonusItems(int index) {
return bonusItems_.get(index);
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData bonus_items = 8;
*/
public POGOProtos.Inventory.Item.ItemDataOuterClass.ItemDataOrBuilder getBonusItemsOrBuilder(
int index) {
return bonusItems_.get(index);
}
public static final int TEAM_BONUS_ITEMS_FIELD_NUMBER = 9;
private java.util.List teamBonusItems_;
/**
* repeated .POGOProtos.Inventory.Item.ItemData team_bonus_items = 9;
*/
public java.util.List getTeamBonusItemsList() {
return teamBonusItems_;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData team_bonus_items = 9;
*/
public java.util.List extends POGOProtos.Inventory.Item.ItemDataOuterClass.ItemDataOrBuilder>
getTeamBonusItemsOrBuilderList() {
return teamBonusItems_;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData team_bonus_items = 9;
*/
public int getTeamBonusItemsCount() {
return teamBonusItems_.size();
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData team_bonus_items = 9;
*/
public POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData getTeamBonusItems(int index) {
return teamBonusItems_.get(index);
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData team_bonus_items = 9;
*/
public POGOProtos.Inventory.Item.ItemDataOuterClass.ItemDataOrBuilder getTeamBonusItemsOrBuilder(
int index) {
return teamBonusItems_.get(index);
}
public static final int GIFT_BOXES_FIELD_NUMBER = 10;
private java.util.List giftBoxes_;
/**
* repeated .POGOProtos.Data.Gift.GiftBox gift_boxes = 10;
*/
public java.util.List getGiftBoxesList() {
return giftBoxes_;
}
/**
* repeated .POGOProtos.Data.Gift.GiftBox gift_boxes = 10;
*/
public java.util.List extends POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBoxOrBuilder>
getGiftBoxesOrBuilderList() {
return giftBoxes_;
}
/**
* repeated .POGOProtos.Data.Gift.GiftBox gift_boxes = 10;
*/
public int getGiftBoxesCount() {
return giftBoxes_.size();
}
/**
* repeated .POGOProtos.Data.Gift.GiftBox gift_boxes = 10;
*/
public POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBox getGiftBoxes(int index) {
return giftBoxes_.get(index);
}
/**
* repeated .POGOProtos.Data.Gift.GiftBox gift_boxes = 10;
*/
public POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBoxOrBuilder getGiftBoxesOrBuilder(
int index) {
return giftBoxes_.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 (result_ != POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry.Result.UNSET.getNumber()) {
output.writeEnum(1, result_);
}
if (!getFortIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, fortId_);
}
for (int i = 0; i < items_.size(); i++) {
output.writeMessage(3, items_.get(i));
}
if (eggs_ != 0) {
output.writeInt32(4, eggs_);
}
for (int i = 0; i < pokemonEggs_.size(); i++) {
output.writeMessage(5, pokemonEggs_.get(i));
}
if (fortType_ != POGOProtos.Map.Fort.FortTypeOuterClass.FortType.GYM.getNumber()) {
output.writeEnum(6, fortType_);
}
for (int i = 0; i < awardedItems_.size(); i++) {
output.writeMessage(7, awardedItems_.get(i));
}
for (int i = 0; i < bonusItems_.size(); i++) {
output.writeMessage(8, bonusItems_.get(i));
}
for (int i = 0; i < teamBonusItems_.size(); i++) {
output.writeMessage(9, teamBonusItems_.get(i));
}
for (int i = 0; i < giftBoxes_.size(); i++) {
output.writeMessage(10, giftBoxes_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (result_ != POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry.Result.UNSET.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, result_);
}
if (!getFortIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, fortId_);
}
for (int i = 0; i < items_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, items_.get(i));
}
if (eggs_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, eggs_);
}
for (int i = 0; i < pokemonEggs_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, pokemonEggs_.get(i));
}
if (fortType_ != POGOProtos.Map.Fort.FortTypeOuterClass.FortType.GYM.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(6, fortType_);
}
for (int i = 0; i < awardedItems_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, awardedItems_.get(i));
}
for (int i = 0; i < bonusItems_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, bonusItems_.get(i));
}
for (int i = 0; i < teamBonusItems_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, teamBonusItems_.get(i));
}
for (int i = 0; i < giftBoxes_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, giftBoxes_.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.Data.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry)) {
return super.equals(obj);
}
POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry other = (POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry) obj;
boolean result = true;
result = result && result_ == other.result_;
result = result && getFortId()
.equals(other.getFortId());
result = result && getItemsList()
.equals(other.getItemsList());
result = result && (getEggs()
== other.getEggs());
result = result && getPokemonEggsList()
.equals(other.getPokemonEggsList());
result = result && fortType_ == other.fortType_;
result = result && getAwardedItemsList()
.equals(other.getAwardedItemsList());
result = result && getBonusItemsList()
.equals(other.getBonusItemsList());
result = result && getTeamBonusItemsList()
.equals(other.getTeamBonusItemsList());
result = result && getGiftBoxesList()
.equals(other.getGiftBoxesList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + RESULT_FIELD_NUMBER;
hash = (53 * hash) + result_;
hash = (37 * hash) + FORT_ID_FIELD_NUMBER;
hash = (53 * hash) + getFortId().hashCode();
if (getItemsCount() > 0) {
hash = (37 * hash) + ITEMS_FIELD_NUMBER;
hash = (53 * hash) + getItemsList().hashCode();
}
hash = (37 * hash) + EGGS_FIELD_NUMBER;
hash = (53 * hash) + getEggs();
if (getPokemonEggsCount() > 0) {
hash = (37 * hash) + POKEMON_EGGS_FIELD_NUMBER;
hash = (53 * hash) + getPokemonEggsList().hashCode();
}
hash = (37 * hash) + FORT_TYPE_FIELD_NUMBER;
hash = (53 * hash) + fortType_;
if (getAwardedItemsCount() > 0) {
hash = (37 * hash) + AWARDED_ITEMS_FIELD_NUMBER;
hash = (53 * hash) + getAwardedItemsList().hashCode();
}
if (getBonusItemsCount() > 0) {
hash = (37 * hash) + BONUS_ITEMS_FIELD_NUMBER;
hash = (53 * hash) + getBonusItemsList().hashCode();
}
if (getTeamBonusItemsCount() > 0) {
hash = (37 * hash) + TEAM_BONUS_ITEMS_FIELD_NUMBER;
hash = (53 * hash) + getTeamBonusItemsList().hashCode();
}
if (getGiftBoxesCount() > 0) {
hash = (37 * hash) + GIFT_BOXES_FIELD_NUMBER;
hash = (53 * hash) + getGiftBoxesList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry 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.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry 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.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry 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.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry 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.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry 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.Logs.FortSearchLogEntry}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Data.Logs.FortSearchLogEntry)
POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntryOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.internal_static_POGOProtos_Data_Logs_FortSearchLogEntry_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.internal_static_POGOProtos_Data_Logs_FortSearchLogEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry.class, POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry.Builder.class);
}
// Construct using POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getItemsFieldBuilder();
getPokemonEggsFieldBuilder();
getAwardedItemsFieldBuilder();
getBonusItemsFieldBuilder();
getTeamBonusItemsFieldBuilder();
getGiftBoxesFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
result_ = 0;
fortId_ = "";
if (itemsBuilder_ == null) {
items_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
itemsBuilder_.clear();
}
eggs_ = 0;
if (pokemonEggsBuilder_ == null) {
pokemonEggs_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
} else {
pokemonEggsBuilder_.clear();
}
fortType_ = 0;
if (awardedItemsBuilder_ == null) {
awardedItems_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
} else {
awardedItemsBuilder_.clear();
}
if (bonusItemsBuilder_ == null) {
bonusItems_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000080);
} else {
bonusItemsBuilder_.clear();
}
if (teamBonusItemsBuilder_ == null) {
teamBonusItems_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000100);
} else {
teamBonusItemsBuilder_.clear();
}
if (giftBoxesBuilder_ == null) {
giftBoxes_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000200);
} else {
giftBoxesBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.internal_static_POGOProtos_Data_Logs_FortSearchLogEntry_descriptor;
}
@java.lang.Override
public POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry getDefaultInstanceForType() {
return POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry build() {
POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry buildPartial() {
POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry result = new POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.result_ = result_;
result.fortId_ = fortId_;
if (itemsBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004)) {
items_ = java.util.Collections.unmodifiableList(items_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.items_ = items_;
} else {
result.items_ = itemsBuilder_.build();
}
result.eggs_ = eggs_;
if (pokemonEggsBuilder_ == null) {
if (((bitField0_ & 0x00000010) == 0x00000010)) {
pokemonEggs_ = java.util.Collections.unmodifiableList(pokemonEggs_);
bitField0_ = (bitField0_ & ~0x00000010);
}
result.pokemonEggs_ = pokemonEggs_;
} else {
result.pokemonEggs_ = pokemonEggsBuilder_.build();
}
result.fortType_ = fortType_;
if (awardedItemsBuilder_ == null) {
if (((bitField0_ & 0x00000040) == 0x00000040)) {
awardedItems_ = java.util.Collections.unmodifiableList(awardedItems_);
bitField0_ = (bitField0_ & ~0x00000040);
}
result.awardedItems_ = awardedItems_;
} else {
result.awardedItems_ = awardedItemsBuilder_.build();
}
if (bonusItemsBuilder_ == null) {
if (((bitField0_ & 0x00000080) == 0x00000080)) {
bonusItems_ = java.util.Collections.unmodifiableList(bonusItems_);
bitField0_ = (bitField0_ & ~0x00000080);
}
result.bonusItems_ = bonusItems_;
} else {
result.bonusItems_ = bonusItemsBuilder_.build();
}
if (teamBonusItemsBuilder_ == null) {
if (((bitField0_ & 0x00000100) == 0x00000100)) {
teamBonusItems_ = java.util.Collections.unmodifiableList(teamBonusItems_);
bitField0_ = (bitField0_ & ~0x00000100);
}
result.teamBonusItems_ = teamBonusItems_;
} else {
result.teamBonusItems_ = teamBonusItemsBuilder_.build();
}
if (giftBoxesBuilder_ == null) {
if (((bitField0_ & 0x00000200) == 0x00000200)) {
giftBoxes_ = java.util.Collections.unmodifiableList(giftBoxes_);
bitField0_ = (bitField0_ & ~0x00000200);
}
result.giftBoxes_ = giftBoxes_;
} else {
result.giftBoxes_ = giftBoxesBuilder_.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.Data.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry) {
return mergeFrom((POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry other) {
if (other == POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry.getDefaultInstance()) return this;
if (other.result_ != 0) {
setResultValue(other.getResultValue());
}
if (!other.getFortId().isEmpty()) {
fortId_ = other.fortId_;
onChanged();
}
if (itemsBuilder_ == null) {
if (!other.items_.isEmpty()) {
if (items_.isEmpty()) {
items_ = other.items_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureItemsIsMutable();
items_.addAll(other.items_);
}
onChanged();
}
} else {
if (!other.items_.isEmpty()) {
if (itemsBuilder_.isEmpty()) {
itemsBuilder_.dispose();
itemsBuilder_ = null;
items_ = other.items_;
bitField0_ = (bitField0_ & ~0x00000004);
itemsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getItemsFieldBuilder() : null;
} else {
itemsBuilder_.addAllMessages(other.items_);
}
}
}
if (other.getEggs() != 0) {
setEggs(other.getEggs());
}
if (pokemonEggsBuilder_ == null) {
if (!other.pokemonEggs_.isEmpty()) {
if (pokemonEggs_.isEmpty()) {
pokemonEggs_ = other.pokemonEggs_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensurePokemonEggsIsMutable();
pokemonEggs_.addAll(other.pokemonEggs_);
}
onChanged();
}
} else {
if (!other.pokemonEggs_.isEmpty()) {
if (pokemonEggsBuilder_.isEmpty()) {
pokemonEggsBuilder_.dispose();
pokemonEggsBuilder_ = null;
pokemonEggs_ = other.pokemonEggs_;
bitField0_ = (bitField0_ & ~0x00000010);
pokemonEggsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getPokemonEggsFieldBuilder() : null;
} else {
pokemonEggsBuilder_.addAllMessages(other.pokemonEggs_);
}
}
}
if (other.fortType_ != 0) {
setFortTypeValue(other.getFortTypeValue());
}
if (awardedItemsBuilder_ == null) {
if (!other.awardedItems_.isEmpty()) {
if (awardedItems_.isEmpty()) {
awardedItems_ = other.awardedItems_;
bitField0_ = (bitField0_ & ~0x00000040);
} else {
ensureAwardedItemsIsMutable();
awardedItems_.addAll(other.awardedItems_);
}
onChanged();
}
} else {
if (!other.awardedItems_.isEmpty()) {
if (awardedItemsBuilder_.isEmpty()) {
awardedItemsBuilder_.dispose();
awardedItemsBuilder_ = null;
awardedItems_ = other.awardedItems_;
bitField0_ = (bitField0_ & ~0x00000040);
awardedItemsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getAwardedItemsFieldBuilder() : null;
} else {
awardedItemsBuilder_.addAllMessages(other.awardedItems_);
}
}
}
if (bonusItemsBuilder_ == null) {
if (!other.bonusItems_.isEmpty()) {
if (bonusItems_.isEmpty()) {
bonusItems_ = other.bonusItems_;
bitField0_ = (bitField0_ & ~0x00000080);
} else {
ensureBonusItemsIsMutable();
bonusItems_.addAll(other.bonusItems_);
}
onChanged();
}
} else {
if (!other.bonusItems_.isEmpty()) {
if (bonusItemsBuilder_.isEmpty()) {
bonusItemsBuilder_.dispose();
bonusItemsBuilder_ = null;
bonusItems_ = other.bonusItems_;
bitField0_ = (bitField0_ & ~0x00000080);
bonusItemsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getBonusItemsFieldBuilder() : null;
} else {
bonusItemsBuilder_.addAllMessages(other.bonusItems_);
}
}
}
if (teamBonusItemsBuilder_ == null) {
if (!other.teamBonusItems_.isEmpty()) {
if (teamBonusItems_.isEmpty()) {
teamBonusItems_ = other.teamBonusItems_;
bitField0_ = (bitField0_ & ~0x00000100);
} else {
ensureTeamBonusItemsIsMutable();
teamBonusItems_.addAll(other.teamBonusItems_);
}
onChanged();
}
} else {
if (!other.teamBonusItems_.isEmpty()) {
if (teamBonusItemsBuilder_.isEmpty()) {
teamBonusItemsBuilder_.dispose();
teamBonusItemsBuilder_ = null;
teamBonusItems_ = other.teamBonusItems_;
bitField0_ = (bitField0_ & ~0x00000100);
teamBonusItemsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getTeamBonusItemsFieldBuilder() : null;
} else {
teamBonusItemsBuilder_.addAllMessages(other.teamBonusItems_);
}
}
}
if (giftBoxesBuilder_ == null) {
if (!other.giftBoxes_.isEmpty()) {
if (giftBoxes_.isEmpty()) {
giftBoxes_ = other.giftBoxes_;
bitField0_ = (bitField0_ & ~0x00000200);
} else {
ensureGiftBoxesIsMutable();
giftBoxes_.addAll(other.giftBoxes_);
}
onChanged();
}
} else {
if (!other.giftBoxes_.isEmpty()) {
if (giftBoxesBuilder_.isEmpty()) {
giftBoxesBuilder_.dispose();
giftBoxesBuilder_ = null;
giftBoxes_ = other.giftBoxes_;
bitField0_ = (bitField0_ & ~0x00000200);
giftBoxesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getGiftBoxesFieldBuilder() : null;
} else {
giftBoxesBuilder_.addAllMessages(other.giftBoxes_);
}
}
}
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.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int result_ = 0;
/**
* .POGOProtos.Data.Logs.FortSearchLogEntry.Result result = 1;
*/
public int getResultValue() {
return result_;
}
/**
* .POGOProtos.Data.Logs.FortSearchLogEntry.Result result = 1;
*/
public Builder setResultValue(int value) {
result_ = value;
onChanged();
return this;
}
/**
* .POGOProtos.Data.Logs.FortSearchLogEntry.Result result = 1;
*/
public POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry.Result getResult() {
@SuppressWarnings("deprecation")
POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry.Result result = POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry.Result.valueOf(result_);
return result == null ? POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry.Result.UNRECOGNIZED : result;
}
/**
* .POGOProtos.Data.Logs.FortSearchLogEntry.Result result = 1;
*/
public Builder setResult(POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry.Result value) {
if (value == null) {
throw new NullPointerException();
}
result_ = value.getNumber();
onChanged();
return this;
}
/**
* .POGOProtos.Data.Logs.FortSearchLogEntry.Result result = 1;
*/
public Builder clearResult() {
result_ = 0;
onChanged();
return this;
}
private java.lang.Object fortId_ = "";
/**
* string fort_id = 2;
*/
public java.lang.String getFortId() {
java.lang.Object ref = fortId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
fortId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string fort_id = 2;
*/
public com.google.protobuf.ByteString
getFortIdBytes() {
java.lang.Object ref = fortId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fortId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string fort_id = 2;
*/
public Builder setFortId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
fortId_ = value;
onChanged();
return this;
}
/**
* string fort_id = 2;
*/
public Builder clearFortId() {
fortId_ = getDefaultInstance().getFortId();
onChanged();
return this;
}
/**
* string fort_id = 2;
*/
public Builder setFortIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
fortId_ = value;
onChanged();
return this;
}
private java.util.List items_ =
java.util.Collections.emptyList();
private void ensureItemsIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
items_ = new java.util.ArrayList(items_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData, POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.Builder, POGOProtos.Inventory.Item.ItemDataOuterClass.ItemDataOrBuilder> itemsBuilder_;
/**
* repeated .POGOProtos.Inventory.Item.ItemData items = 3;
*/
public java.util.List getItemsList() {
if (itemsBuilder_ == null) {
return java.util.Collections.unmodifiableList(items_);
} else {
return itemsBuilder_.getMessageList();
}
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData items = 3;
*/
public int getItemsCount() {
if (itemsBuilder_ == null) {
return items_.size();
} else {
return itemsBuilder_.getCount();
}
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData items = 3;
*/
public POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData getItems(int index) {
if (itemsBuilder_ == null) {
return items_.get(index);
} else {
return itemsBuilder_.getMessage(index);
}
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData items = 3;
*/
public Builder setItems(
int index, POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData value) {
if (itemsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureItemsIsMutable();
items_.set(index, value);
onChanged();
} else {
itemsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData items = 3;
*/
public Builder setItems(
int index, POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.Builder builderForValue) {
if (itemsBuilder_ == null) {
ensureItemsIsMutable();
items_.set(index, builderForValue.build());
onChanged();
} else {
itemsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData items = 3;
*/
public Builder addItems(POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData value) {
if (itemsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureItemsIsMutable();
items_.add(value);
onChanged();
} else {
itemsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData items = 3;
*/
public Builder addItems(
int index, POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData value) {
if (itemsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureItemsIsMutable();
items_.add(index, value);
onChanged();
} else {
itemsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData items = 3;
*/
public Builder addItems(
POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.Builder builderForValue) {
if (itemsBuilder_ == null) {
ensureItemsIsMutable();
items_.add(builderForValue.build());
onChanged();
} else {
itemsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData items = 3;
*/
public Builder addItems(
int index, POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.Builder builderForValue) {
if (itemsBuilder_ == null) {
ensureItemsIsMutable();
items_.add(index, builderForValue.build());
onChanged();
} else {
itemsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData items = 3;
*/
public Builder addAllItems(
java.lang.Iterable extends POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData> values) {
if (itemsBuilder_ == null) {
ensureItemsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, items_);
onChanged();
} else {
itemsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData items = 3;
*/
public Builder clearItems() {
if (itemsBuilder_ == null) {
items_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
itemsBuilder_.clear();
}
return this;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData items = 3;
*/
public Builder removeItems(int index) {
if (itemsBuilder_ == null) {
ensureItemsIsMutable();
items_.remove(index);
onChanged();
} else {
itemsBuilder_.remove(index);
}
return this;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData items = 3;
*/
public POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.Builder getItemsBuilder(
int index) {
return getItemsFieldBuilder().getBuilder(index);
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData items = 3;
*/
public POGOProtos.Inventory.Item.ItemDataOuterClass.ItemDataOrBuilder getItemsOrBuilder(
int index) {
if (itemsBuilder_ == null) {
return items_.get(index); } else {
return itemsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData items = 3;
*/
public java.util.List extends POGOProtos.Inventory.Item.ItemDataOuterClass.ItemDataOrBuilder>
getItemsOrBuilderList() {
if (itemsBuilder_ != null) {
return itemsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(items_);
}
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData items = 3;
*/
public POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.Builder addItemsBuilder() {
return getItemsFieldBuilder().addBuilder(
POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.getDefaultInstance());
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData items = 3;
*/
public POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.Builder addItemsBuilder(
int index) {
return getItemsFieldBuilder().addBuilder(
index, POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.getDefaultInstance());
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData items = 3;
*/
public java.util.List
getItemsBuilderList() {
return getItemsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData, POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.Builder, POGOProtos.Inventory.Item.ItemDataOuterClass.ItemDataOrBuilder>
getItemsFieldBuilder() {
if (itemsBuilder_ == null) {
itemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData, POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.Builder, POGOProtos.Inventory.Item.ItemDataOuterClass.ItemDataOrBuilder>(
items_,
((bitField0_ & 0x00000004) == 0x00000004),
getParentForChildren(),
isClean());
items_ = null;
}
return itemsBuilder_;
}
private int eggs_ ;
/**
* int32 eggs = 4;
*/
public int getEggs() {
return eggs_;
}
/**
* int32 eggs = 4;
*/
public Builder setEggs(int value) {
eggs_ = value;
onChanged();
return this;
}
/**
* int32 eggs = 4;
*/
public Builder clearEggs() {
eggs_ = 0;
onChanged();
return this;
}
private java.util.List pokemonEggs_ =
java.util.Collections.emptyList();
private void ensurePokemonEggsIsMutable() {
if (!((bitField0_ & 0x00000010) == 0x00000010)) {
pokemonEggs_ = new java.util.ArrayList(pokemonEggs_);
bitField0_ |= 0x00000010;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Data.PokemonDataOuterClass.PokemonData, POGOProtos.Data.PokemonDataOuterClass.PokemonData.Builder, POGOProtos.Data.PokemonDataOuterClass.PokemonDataOrBuilder> pokemonEggsBuilder_;
/**
* repeated .POGOProtos.Data.PokemonData pokemon_eggs = 5;
*/
public java.util.List getPokemonEggsList() {
if (pokemonEggsBuilder_ == null) {
return java.util.Collections.unmodifiableList(pokemonEggs_);
} else {
return pokemonEggsBuilder_.getMessageList();
}
}
/**
* repeated .POGOProtos.Data.PokemonData pokemon_eggs = 5;
*/
public int getPokemonEggsCount() {
if (pokemonEggsBuilder_ == null) {
return pokemonEggs_.size();
} else {
return pokemonEggsBuilder_.getCount();
}
}
/**
* repeated .POGOProtos.Data.PokemonData pokemon_eggs = 5;
*/
public POGOProtos.Data.PokemonDataOuterClass.PokemonData getPokemonEggs(int index) {
if (pokemonEggsBuilder_ == null) {
return pokemonEggs_.get(index);
} else {
return pokemonEggsBuilder_.getMessage(index);
}
}
/**
* repeated .POGOProtos.Data.PokemonData pokemon_eggs = 5;
*/
public Builder setPokemonEggs(
int index, POGOProtos.Data.PokemonDataOuterClass.PokemonData value) {
if (pokemonEggsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePokemonEggsIsMutable();
pokemonEggs_.set(index, value);
onChanged();
} else {
pokemonEggsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .POGOProtos.Data.PokemonData pokemon_eggs = 5;
*/
public Builder setPokemonEggs(
int index, POGOProtos.Data.PokemonDataOuterClass.PokemonData.Builder builderForValue) {
if (pokemonEggsBuilder_ == null) {
ensurePokemonEggsIsMutable();
pokemonEggs_.set(index, builderForValue.build());
onChanged();
} else {
pokemonEggsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Data.PokemonData pokemon_eggs = 5;
*/
public Builder addPokemonEggs(POGOProtos.Data.PokemonDataOuterClass.PokemonData value) {
if (pokemonEggsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePokemonEggsIsMutable();
pokemonEggs_.add(value);
onChanged();
} else {
pokemonEggsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .POGOProtos.Data.PokemonData pokemon_eggs = 5;
*/
public Builder addPokemonEggs(
int index, POGOProtos.Data.PokemonDataOuterClass.PokemonData value) {
if (pokemonEggsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePokemonEggsIsMutable();
pokemonEggs_.add(index, value);
onChanged();
} else {
pokemonEggsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .POGOProtos.Data.PokemonData pokemon_eggs = 5;
*/
public Builder addPokemonEggs(
POGOProtos.Data.PokemonDataOuterClass.PokemonData.Builder builderForValue) {
if (pokemonEggsBuilder_ == null) {
ensurePokemonEggsIsMutable();
pokemonEggs_.add(builderForValue.build());
onChanged();
} else {
pokemonEggsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Data.PokemonData pokemon_eggs = 5;
*/
public Builder addPokemonEggs(
int index, POGOProtos.Data.PokemonDataOuterClass.PokemonData.Builder builderForValue) {
if (pokemonEggsBuilder_ == null) {
ensurePokemonEggsIsMutable();
pokemonEggs_.add(index, builderForValue.build());
onChanged();
} else {
pokemonEggsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Data.PokemonData pokemon_eggs = 5;
*/
public Builder addAllPokemonEggs(
java.lang.Iterable extends POGOProtos.Data.PokemonDataOuterClass.PokemonData> values) {
if (pokemonEggsBuilder_ == null) {
ensurePokemonEggsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, pokemonEggs_);
onChanged();
} else {
pokemonEggsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .POGOProtos.Data.PokemonData pokemon_eggs = 5;
*/
public Builder clearPokemonEggs() {
if (pokemonEggsBuilder_ == null) {
pokemonEggs_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
} else {
pokemonEggsBuilder_.clear();
}
return this;
}
/**
* repeated .POGOProtos.Data.PokemonData pokemon_eggs = 5;
*/
public Builder removePokemonEggs(int index) {
if (pokemonEggsBuilder_ == null) {
ensurePokemonEggsIsMutable();
pokemonEggs_.remove(index);
onChanged();
} else {
pokemonEggsBuilder_.remove(index);
}
return this;
}
/**
* repeated .POGOProtos.Data.PokemonData pokemon_eggs = 5;
*/
public POGOProtos.Data.PokemonDataOuterClass.PokemonData.Builder getPokemonEggsBuilder(
int index) {
return getPokemonEggsFieldBuilder().getBuilder(index);
}
/**
* repeated .POGOProtos.Data.PokemonData pokemon_eggs = 5;
*/
public POGOProtos.Data.PokemonDataOuterClass.PokemonDataOrBuilder getPokemonEggsOrBuilder(
int index) {
if (pokemonEggsBuilder_ == null) {
return pokemonEggs_.get(index); } else {
return pokemonEggsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .POGOProtos.Data.PokemonData pokemon_eggs = 5;
*/
public java.util.List extends POGOProtos.Data.PokemonDataOuterClass.PokemonDataOrBuilder>
getPokemonEggsOrBuilderList() {
if (pokemonEggsBuilder_ != null) {
return pokemonEggsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(pokemonEggs_);
}
}
/**
* repeated .POGOProtos.Data.PokemonData pokemon_eggs = 5;
*/
public POGOProtos.Data.PokemonDataOuterClass.PokemonData.Builder addPokemonEggsBuilder() {
return getPokemonEggsFieldBuilder().addBuilder(
POGOProtos.Data.PokemonDataOuterClass.PokemonData.getDefaultInstance());
}
/**
* repeated .POGOProtos.Data.PokemonData pokemon_eggs = 5;
*/
public POGOProtos.Data.PokemonDataOuterClass.PokemonData.Builder addPokemonEggsBuilder(
int index) {
return getPokemonEggsFieldBuilder().addBuilder(
index, POGOProtos.Data.PokemonDataOuterClass.PokemonData.getDefaultInstance());
}
/**
* repeated .POGOProtos.Data.PokemonData pokemon_eggs = 5;
*/
public java.util.List
getPokemonEggsBuilderList() {
return getPokemonEggsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Data.PokemonDataOuterClass.PokemonData, POGOProtos.Data.PokemonDataOuterClass.PokemonData.Builder, POGOProtos.Data.PokemonDataOuterClass.PokemonDataOrBuilder>
getPokemonEggsFieldBuilder() {
if (pokemonEggsBuilder_ == null) {
pokemonEggsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Data.PokemonDataOuterClass.PokemonData, POGOProtos.Data.PokemonDataOuterClass.PokemonData.Builder, POGOProtos.Data.PokemonDataOuterClass.PokemonDataOrBuilder>(
pokemonEggs_,
((bitField0_ & 0x00000010) == 0x00000010),
getParentForChildren(),
isClean());
pokemonEggs_ = null;
}
return pokemonEggsBuilder_;
}
private int fortType_ = 0;
/**
* .POGOProtos.Map.Fort.FortType fort_type = 6;
*/
public int getFortTypeValue() {
return fortType_;
}
/**
* .POGOProtos.Map.Fort.FortType fort_type = 6;
*/
public Builder setFortTypeValue(int value) {
fortType_ = value;
onChanged();
return this;
}
/**
* .POGOProtos.Map.Fort.FortType fort_type = 6;
*/
public POGOProtos.Map.Fort.FortTypeOuterClass.FortType getFortType() {
@SuppressWarnings("deprecation")
POGOProtos.Map.Fort.FortTypeOuterClass.FortType result = POGOProtos.Map.Fort.FortTypeOuterClass.FortType.valueOf(fortType_);
return result == null ? POGOProtos.Map.Fort.FortTypeOuterClass.FortType.UNRECOGNIZED : result;
}
/**
* .POGOProtos.Map.Fort.FortType fort_type = 6;
*/
public Builder setFortType(POGOProtos.Map.Fort.FortTypeOuterClass.FortType value) {
if (value == null) {
throw new NullPointerException();
}
fortType_ = value.getNumber();
onChanged();
return this;
}
/**
* .POGOProtos.Map.Fort.FortType fort_type = 6;
*/
public Builder clearFortType() {
fortType_ = 0;
onChanged();
return this;
}
private java.util.List awardedItems_ =
java.util.Collections.emptyList();
private void ensureAwardedItemsIsMutable() {
if (!((bitField0_ & 0x00000040) == 0x00000040)) {
awardedItems_ = new java.util.ArrayList(awardedItems_);
bitField0_ |= 0x00000040;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData, POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.Builder, POGOProtos.Inventory.Item.ItemDataOuterClass.ItemDataOrBuilder> awardedItemsBuilder_;
/**
* repeated .POGOProtos.Inventory.Item.ItemData awarded_items = 7;
*/
public java.util.List getAwardedItemsList() {
if (awardedItemsBuilder_ == null) {
return java.util.Collections.unmodifiableList(awardedItems_);
} else {
return awardedItemsBuilder_.getMessageList();
}
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData awarded_items = 7;
*/
public int getAwardedItemsCount() {
if (awardedItemsBuilder_ == null) {
return awardedItems_.size();
} else {
return awardedItemsBuilder_.getCount();
}
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData awarded_items = 7;
*/
public POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData getAwardedItems(int index) {
if (awardedItemsBuilder_ == null) {
return awardedItems_.get(index);
} else {
return awardedItemsBuilder_.getMessage(index);
}
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData awarded_items = 7;
*/
public Builder setAwardedItems(
int index, POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData value) {
if (awardedItemsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAwardedItemsIsMutable();
awardedItems_.set(index, value);
onChanged();
} else {
awardedItemsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData awarded_items = 7;
*/
public Builder setAwardedItems(
int index, POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.Builder builderForValue) {
if (awardedItemsBuilder_ == null) {
ensureAwardedItemsIsMutable();
awardedItems_.set(index, builderForValue.build());
onChanged();
} else {
awardedItemsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData awarded_items = 7;
*/
public Builder addAwardedItems(POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData value) {
if (awardedItemsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAwardedItemsIsMutable();
awardedItems_.add(value);
onChanged();
} else {
awardedItemsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData awarded_items = 7;
*/
public Builder addAwardedItems(
int index, POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData value) {
if (awardedItemsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAwardedItemsIsMutable();
awardedItems_.add(index, value);
onChanged();
} else {
awardedItemsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData awarded_items = 7;
*/
public Builder addAwardedItems(
POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.Builder builderForValue) {
if (awardedItemsBuilder_ == null) {
ensureAwardedItemsIsMutable();
awardedItems_.add(builderForValue.build());
onChanged();
} else {
awardedItemsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData awarded_items = 7;
*/
public Builder addAwardedItems(
int index, POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.Builder builderForValue) {
if (awardedItemsBuilder_ == null) {
ensureAwardedItemsIsMutable();
awardedItems_.add(index, builderForValue.build());
onChanged();
} else {
awardedItemsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData awarded_items = 7;
*/
public Builder addAllAwardedItems(
java.lang.Iterable extends POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData> values) {
if (awardedItemsBuilder_ == null) {
ensureAwardedItemsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, awardedItems_);
onChanged();
} else {
awardedItemsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData awarded_items = 7;
*/
public Builder clearAwardedItems() {
if (awardedItemsBuilder_ == null) {
awardedItems_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
} else {
awardedItemsBuilder_.clear();
}
return this;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData awarded_items = 7;
*/
public Builder removeAwardedItems(int index) {
if (awardedItemsBuilder_ == null) {
ensureAwardedItemsIsMutable();
awardedItems_.remove(index);
onChanged();
} else {
awardedItemsBuilder_.remove(index);
}
return this;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData awarded_items = 7;
*/
public POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.Builder getAwardedItemsBuilder(
int index) {
return getAwardedItemsFieldBuilder().getBuilder(index);
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData awarded_items = 7;
*/
public POGOProtos.Inventory.Item.ItemDataOuterClass.ItemDataOrBuilder getAwardedItemsOrBuilder(
int index) {
if (awardedItemsBuilder_ == null) {
return awardedItems_.get(index); } else {
return awardedItemsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData awarded_items = 7;
*/
public java.util.List extends POGOProtos.Inventory.Item.ItemDataOuterClass.ItemDataOrBuilder>
getAwardedItemsOrBuilderList() {
if (awardedItemsBuilder_ != null) {
return awardedItemsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(awardedItems_);
}
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData awarded_items = 7;
*/
public POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.Builder addAwardedItemsBuilder() {
return getAwardedItemsFieldBuilder().addBuilder(
POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.getDefaultInstance());
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData awarded_items = 7;
*/
public POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.Builder addAwardedItemsBuilder(
int index) {
return getAwardedItemsFieldBuilder().addBuilder(
index, POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.getDefaultInstance());
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData awarded_items = 7;
*/
public java.util.List
getAwardedItemsBuilderList() {
return getAwardedItemsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData, POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.Builder, POGOProtos.Inventory.Item.ItemDataOuterClass.ItemDataOrBuilder>
getAwardedItemsFieldBuilder() {
if (awardedItemsBuilder_ == null) {
awardedItemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData, POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.Builder, POGOProtos.Inventory.Item.ItemDataOuterClass.ItemDataOrBuilder>(
awardedItems_,
((bitField0_ & 0x00000040) == 0x00000040),
getParentForChildren(),
isClean());
awardedItems_ = null;
}
return awardedItemsBuilder_;
}
private java.util.List bonusItems_ =
java.util.Collections.emptyList();
private void ensureBonusItemsIsMutable() {
if (!((bitField0_ & 0x00000080) == 0x00000080)) {
bonusItems_ = new java.util.ArrayList(bonusItems_);
bitField0_ |= 0x00000080;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData, POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.Builder, POGOProtos.Inventory.Item.ItemDataOuterClass.ItemDataOrBuilder> bonusItemsBuilder_;
/**
* repeated .POGOProtos.Inventory.Item.ItemData bonus_items = 8;
*/
public java.util.List getBonusItemsList() {
if (bonusItemsBuilder_ == null) {
return java.util.Collections.unmodifiableList(bonusItems_);
} else {
return bonusItemsBuilder_.getMessageList();
}
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData bonus_items = 8;
*/
public int getBonusItemsCount() {
if (bonusItemsBuilder_ == null) {
return bonusItems_.size();
} else {
return bonusItemsBuilder_.getCount();
}
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData bonus_items = 8;
*/
public POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData getBonusItems(int index) {
if (bonusItemsBuilder_ == null) {
return bonusItems_.get(index);
} else {
return bonusItemsBuilder_.getMessage(index);
}
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData bonus_items = 8;
*/
public Builder setBonusItems(
int index, POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData value) {
if (bonusItemsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBonusItemsIsMutable();
bonusItems_.set(index, value);
onChanged();
} else {
bonusItemsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData bonus_items = 8;
*/
public Builder setBonusItems(
int index, POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.Builder builderForValue) {
if (bonusItemsBuilder_ == null) {
ensureBonusItemsIsMutable();
bonusItems_.set(index, builderForValue.build());
onChanged();
} else {
bonusItemsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData bonus_items = 8;
*/
public Builder addBonusItems(POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData value) {
if (bonusItemsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBonusItemsIsMutable();
bonusItems_.add(value);
onChanged();
} else {
bonusItemsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData bonus_items = 8;
*/
public Builder addBonusItems(
int index, POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData value) {
if (bonusItemsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBonusItemsIsMutable();
bonusItems_.add(index, value);
onChanged();
} else {
bonusItemsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData bonus_items = 8;
*/
public Builder addBonusItems(
POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.Builder builderForValue) {
if (bonusItemsBuilder_ == null) {
ensureBonusItemsIsMutable();
bonusItems_.add(builderForValue.build());
onChanged();
} else {
bonusItemsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData bonus_items = 8;
*/
public Builder addBonusItems(
int index, POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.Builder builderForValue) {
if (bonusItemsBuilder_ == null) {
ensureBonusItemsIsMutable();
bonusItems_.add(index, builderForValue.build());
onChanged();
} else {
bonusItemsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData bonus_items = 8;
*/
public Builder addAllBonusItems(
java.lang.Iterable extends POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData> values) {
if (bonusItemsBuilder_ == null) {
ensureBonusItemsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, bonusItems_);
onChanged();
} else {
bonusItemsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData bonus_items = 8;
*/
public Builder clearBonusItems() {
if (bonusItemsBuilder_ == null) {
bonusItems_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
} else {
bonusItemsBuilder_.clear();
}
return this;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData bonus_items = 8;
*/
public Builder removeBonusItems(int index) {
if (bonusItemsBuilder_ == null) {
ensureBonusItemsIsMutable();
bonusItems_.remove(index);
onChanged();
} else {
bonusItemsBuilder_.remove(index);
}
return this;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData bonus_items = 8;
*/
public POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.Builder getBonusItemsBuilder(
int index) {
return getBonusItemsFieldBuilder().getBuilder(index);
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData bonus_items = 8;
*/
public POGOProtos.Inventory.Item.ItemDataOuterClass.ItemDataOrBuilder getBonusItemsOrBuilder(
int index) {
if (bonusItemsBuilder_ == null) {
return bonusItems_.get(index); } else {
return bonusItemsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData bonus_items = 8;
*/
public java.util.List extends POGOProtos.Inventory.Item.ItemDataOuterClass.ItemDataOrBuilder>
getBonusItemsOrBuilderList() {
if (bonusItemsBuilder_ != null) {
return bonusItemsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(bonusItems_);
}
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData bonus_items = 8;
*/
public POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.Builder addBonusItemsBuilder() {
return getBonusItemsFieldBuilder().addBuilder(
POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.getDefaultInstance());
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData bonus_items = 8;
*/
public POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.Builder addBonusItemsBuilder(
int index) {
return getBonusItemsFieldBuilder().addBuilder(
index, POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.getDefaultInstance());
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData bonus_items = 8;
*/
public java.util.List
getBonusItemsBuilderList() {
return getBonusItemsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData, POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.Builder, POGOProtos.Inventory.Item.ItemDataOuterClass.ItemDataOrBuilder>
getBonusItemsFieldBuilder() {
if (bonusItemsBuilder_ == null) {
bonusItemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData, POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.Builder, POGOProtos.Inventory.Item.ItemDataOuterClass.ItemDataOrBuilder>(
bonusItems_,
((bitField0_ & 0x00000080) == 0x00000080),
getParentForChildren(),
isClean());
bonusItems_ = null;
}
return bonusItemsBuilder_;
}
private java.util.List teamBonusItems_ =
java.util.Collections.emptyList();
private void ensureTeamBonusItemsIsMutable() {
if (!((bitField0_ & 0x00000100) == 0x00000100)) {
teamBonusItems_ = new java.util.ArrayList(teamBonusItems_);
bitField0_ |= 0x00000100;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData, POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.Builder, POGOProtos.Inventory.Item.ItemDataOuterClass.ItemDataOrBuilder> teamBonusItemsBuilder_;
/**
* repeated .POGOProtos.Inventory.Item.ItemData team_bonus_items = 9;
*/
public java.util.List getTeamBonusItemsList() {
if (teamBonusItemsBuilder_ == null) {
return java.util.Collections.unmodifiableList(teamBonusItems_);
} else {
return teamBonusItemsBuilder_.getMessageList();
}
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData team_bonus_items = 9;
*/
public int getTeamBonusItemsCount() {
if (teamBonusItemsBuilder_ == null) {
return teamBonusItems_.size();
} else {
return teamBonusItemsBuilder_.getCount();
}
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData team_bonus_items = 9;
*/
public POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData getTeamBonusItems(int index) {
if (teamBonusItemsBuilder_ == null) {
return teamBonusItems_.get(index);
} else {
return teamBonusItemsBuilder_.getMessage(index);
}
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData team_bonus_items = 9;
*/
public Builder setTeamBonusItems(
int index, POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData value) {
if (teamBonusItemsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTeamBonusItemsIsMutable();
teamBonusItems_.set(index, value);
onChanged();
} else {
teamBonusItemsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData team_bonus_items = 9;
*/
public Builder setTeamBonusItems(
int index, POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.Builder builderForValue) {
if (teamBonusItemsBuilder_ == null) {
ensureTeamBonusItemsIsMutable();
teamBonusItems_.set(index, builderForValue.build());
onChanged();
} else {
teamBonusItemsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData team_bonus_items = 9;
*/
public Builder addTeamBonusItems(POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData value) {
if (teamBonusItemsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTeamBonusItemsIsMutable();
teamBonusItems_.add(value);
onChanged();
} else {
teamBonusItemsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData team_bonus_items = 9;
*/
public Builder addTeamBonusItems(
int index, POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData value) {
if (teamBonusItemsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTeamBonusItemsIsMutable();
teamBonusItems_.add(index, value);
onChanged();
} else {
teamBonusItemsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData team_bonus_items = 9;
*/
public Builder addTeamBonusItems(
POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.Builder builderForValue) {
if (teamBonusItemsBuilder_ == null) {
ensureTeamBonusItemsIsMutable();
teamBonusItems_.add(builderForValue.build());
onChanged();
} else {
teamBonusItemsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData team_bonus_items = 9;
*/
public Builder addTeamBonusItems(
int index, POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.Builder builderForValue) {
if (teamBonusItemsBuilder_ == null) {
ensureTeamBonusItemsIsMutable();
teamBonusItems_.add(index, builderForValue.build());
onChanged();
} else {
teamBonusItemsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData team_bonus_items = 9;
*/
public Builder addAllTeamBonusItems(
java.lang.Iterable extends POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData> values) {
if (teamBonusItemsBuilder_ == null) {
ensureTeamBonusItemsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, teamBonusItems_);
onChanged();
} else {
teamBonusItemsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData team_bonus_items = 9;
*/
public Builder clearTeamBonusItems() {
if (teamBonusItemsBuilder_ == null) {
teamBonusItems_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
} else {
teamBonusItemsBuilder_.clear();
}
return this;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData team_bonus_items = 9;
*/
public Builder removeTeamBonusItems(int index) {
if (teamBonusItemsBuilder_ == null) {
ensureTeamBonusItemsIsMutable();
teamBonusItems_.remove(index);
onChanged();
} else {
teamBonusItemsBuilder_.remove(index);
}
return this;
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData team_bonus_items = 9;
*/
public POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.Builder getTeamBonusItemsBuilder(
int index) {
return getTeamBonusItemsFieldBuilder().getBuilder(index);
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData team_bonus_items = 9;
*/
public POGOProtos.Inventory.Item.ItemDataOuterClass.ItemDataOrBuilder getTeamBonusItemsOrBuilder(
int index) {
if (teamBonusItemsBuilder_ == null) {
return teamBonusItems_.get(index); } else {
return teamBonusItemsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData team_bonus_items = 9;
*/
public java.util.List extends POGOProtos.Inventory.Item.ItemDataOuterClass.ItemDataOrBuilder>
getTeamBonusItemsOrBuilderList() {
if (teamBonusItemsBuilder_ != null) {
return teamBonusItemsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(teamBonusItems_);
}
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData team_bonus_items = 9;
*/
public POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.Builder addTeamBonusItemsBuilder() {
return getTeamBonusItemsFieldBuilder().addBuilder(
POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.getDefaultInstance());
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData team_bonus_items = 9;
*/
public POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.Builder addTeamBonusItemsBuilder(
int index) {
return getTeamBonusItemsFieldBuilder().addBuilder(
index, POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.getDefaultInstance());
}
/**
* repeated .POGOProtos.Inventory.Item.ItemData team_bonus_items = 9;
*/
public java.util.List
getTeamBonusItemsBuilderList() {
return getTeamBonusItemsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData, POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.Builder, POGOProtos.Inventory.Item.ItemDataOuterClass.ItemDataOrBuilder>
getTeamBonusItemsFieldBuilder() {
if (teamBonusItemsBuilder_ == null) {
teamBonusItemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData, POGOProtos.Inventory.Item.ItemDataOuterClass.ItemData.Builder, POGOProtos.Inventory.Item.ItemDataOuterClass.ItemDataOrBuilder>(
teamBonusItems_,
((bitField0_ & 0x00000100) == 0x00000100),
getParentForChildren(),
isClean());
teamBonusItems_ = null;
}
return teamBonusItemsBuilder_;
}
private java.util.List giftBoxes_ =
java.util.Collections.emptyList();
private void ensureGiftBoxesIsMutable() {
if (!((bitField0_ & 0x00000200) == 0x00000200)) {
giftBoxes_ = new java.util.ArrayList(giftBoxes_);
bitField0_ |= 0x00000200;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBox, POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBox.Builder, POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBoxOrBuilder> giftBoxesBuilder_;
/**
* repeated .POGOProtos.Data.Gift.GiftBox gift_boxes = 10;
*/
public java.util.List getGiftBoxesList() {
if (giftBoxesBuilder_ == null) {
return java.util.Collections.unmodifiableList(giftBoxes_);
} else {
return giftBoxesBuilder_.getMessageList();
}
}
/**
* repeated .POGOProtos.Data.Gift.GiftBox gift_boxes = 10;
*/
public int getGiftBoxesCount() {
if (giftBoxesBuilder_ == null) {
return giftBoxes_.size();
} else {
return giftBoxesBuilder_.getCount();
}
}
/**
* repeated .POGOProtos.Data.Gift.GiftBox gift_boxes = 10;
*/
public POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBox getGiftBoxes(int index) {
if (giftBoxesBuilder_ == null) {
return giftBoxes_.get(index);
} else {
return giftBoxesBuilder_.getMessage(index);
}
}
/**
* repeated .POGOProtos.Data.Gift.GiftBox gift_boxes = 10;
*/
public Builder setGiftBoxes(
int index, POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBox value) {
if (giftBoxesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureGiftBoxesIsMutable();
giftBoxes_.set(index, value);
onChanged();
} else {
giftBoxesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .POGOProtos.Data.Gift.GiftBox gift_boxes = 10;
*/
public Builder setGiftBoxes(
int index, POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBox.Builder builderForValue) {
if (giftBoxesBuilder_ == null) {
ensureGiftBoxesIsMutable();
giftBoxes_.set(index, builderForValue.build());
onChanged();
} else {
giftBoxesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Data.Gift.GiftBox gift_boxes = 10;
*/
public Builder addGiftBoxes(POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBox value) {
if (giftBoxesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureGiftBoxesIsMutable();
giftBoxes_.add(value);
onChanged();
} else {
giftBoxesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .POGOProtos.Data.Gift.GiftBox gift_boxes = 10;
*/
public Builder addGiftBoxes(
int index, POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBox value) {
if (giftBoxesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureGiftBoxesIsMutable();
giftBoxes_.add(index, value);
onChanged();
} else {
giftBoxesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .POGOProtos.Data.Gift.GiftBox gift_boxes = 10;
*/
public Builder addGiftBoxes(
POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBox.Builder builderForValue) {
if (giftBoxesBuilder_ == null) {
ensureGiftBoxesIsMutable();
giftBoxes_.add(builderForValue.build());
onChanged();
} else {
giftBoxesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Data.Gift.GiftBox gift_boxes = 10;
*/
public Builder addGiftBoxes(
int index, POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBox.Builder builderForValue) {
if (giftBoxesBuilder_ == null) {
ensureGiftBoxesIsMutable();
giftBoxes_.add(index, builderForValue.build());
onChanged();
} else {
giftBoxesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Data.Gift.GiftBox gift_boxes = 10;
*/
public Builder addAllGiftBoxes(
java.lang.Iterable extends POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBox> values) {
if (giftBoxesBuilder_ == null) {
ensureGiftBoxesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, giftBoxes_);
onChanged();
} else {
giftBoxesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .POGOProtos.Data.Gift.GiftBox gift_boxes = 10;
*/
public Builder clearGiftBoxes() {
if (giftBoxesBuilder_ == null) {
giftBoxes_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000200);
onChanged();
} else {
giftBoxesBuilder_.clear();
}
return this;
}
/**
* repeated .POGOProtos.Data.Gift.GiftBox gift_boxes = 10;
*/
public Builder removeGiftBoxes(int index) {
if (giftBoxesBuilder_ == null) {
ensureGiftBoxesIsMutable();
giftBoxes_.remove(index);
onChanged();
} else {
giftBoxesBuilder_.remove(index);
}
return this;
}
/**
* repeated .POGOProtos.Data.Gift.GiftBox gift_boxes = 10;
*/
public POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBox.Builder getGiftBoxesBuilder(
int index) {
return getGiftBoxesFieldBuilder().getBuilder(index);
}
/**
* repeated .POGOProtos.Data.Gift.GiftBox gift_boxes = 10;
*/
public POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBoxOrBuilder getGiftBoxesOrBuilder(
int index) {
if (giftBoxesBuilder_ == null) {
return giftBoxes_.get(index); } else {
return giftBoxesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .POGOProtos.Data.Gift.GiftBox gift_boxes = 10;
*/
public java.util.List extends POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBoxOrBuilder>
getGiftBoxesOrBuilderList() {
if (giftBoxesBuilder_ != null) {
return giftBoxesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(giftBoxes_);
}
}
/**
* repeated .POGOProtos.Data.Gift.GiftBox gift_boxes = 10;
*/
public POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBox.Builder addGiftBoxesBuilder() {
return getGiftBoxesFieldBuilder().addBuilder(
POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBox.getDefaultInstance());
}
/**
* repeated .POGOProtos.Data.Gift.GiftBox gift_boxes = 10;
*/
public POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBox.Builder addGiftBoxesBuilder(
int index) {
return getGiftBoxesFieldBuilder().addBuilder(
index, POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBox.getDefaultInstance());
}
/**
* repeated .POGOProtos.Data.Gift.GiftBox gift_boxes = 10;
*/
public java.util.List
getGiftBoxesBuilderList() {
return getGiftBoxesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBox, POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBox.Builder, POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBoxOrBuilder>
getGiftBoxesFieldBuilder() {
if (giftBoxesBuilder_ == null) {
giftBoxesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBox, POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBox.Builder, POGOProtos.Data.Gift.GiftBoxOuterClass.GiftBoxOrBuilder>(
giftBoxes_,
((bitField0_ & 0x00000200) == 0x00000200),
getParentForChildren(),
isClean());
giftBoxes_ = null;
}
return giftBoxesBuilder_;
}
@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.Logs.FortSearchLogEntry)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Data.Logs.FortSearchLogEntry)
private static final POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry();
}
public static POGOProtos.Data.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public FortSearchLogEntry parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new FortSearchLogEntry(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.Logs.FortSearchLogEntryOuterClass.FortSearchLogEntry getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Data_Logs_FortSearchLogEntry_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Data_Logs_FortSearchLogEntry_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/Logs/FortSearchLogEntr" +
"y.proto\022\024POGOProtos.Data.Logs\032!POGOProto" +
"s/Data/PokemonData.proto\032(POGOProtos/Inv" +
"entory/Item/ItemData.proto\032\"POGOProtos/M" +
"ap/Fort/FortType.proto\032\"POGOProtos/Data/" +
"Gift/GiftBox.proto\"\230\004\n\022FortSearchLogEntr" +
"y\022?\n\006result\030\001 \001(\0162/.POGOProtos.Data.Logs" +
".FortSearchLogEntry.Result\022\017\n\007fort_id\030\002 " +
"\001(\t\0222\n\005items\030\003 \003(\0132#.POGOProtos.Inventor" +
"y.Item.ItemData\022\014\n\004eggs\030\004 \001(\005\0222\n\014pokemon" +
"_eggs\030\005 \003(\0132\034.POGOProtos.Data.PokemonDat" +
"a\0220\n\tfort_type\030\006 \001(\0162\035.POGOProtos.Map.Fo" +
"rt.FortType\022:\n\rawarded_items\030\007 \003(\0132#.POG" +
"OProtos.Inventory.Item.ItemData\0228\n\013bonus" +
"_items\030\010 \003(\0132#.POGOProtos.Inventory.Item" +
".ItemData\022=\n\020team_bonus_items\030\t \003(\0132#.PO" +
"GOProtos.Inventory.Item.ItemData\0221\n\ngift" +
"_boxes\030\n \003(\0132\035.POGOProtos.Data.Gift.Gift" +
"Box\" \n\006Result\022\t\n\005UNSET\020\000\022\013\n\007SUCCESS\020\001b\006p" +
"roto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
POGOProtos.Data.PokemonDataOuterClass.getDescriptor(),
POGOProtos.Inventory.Item.ItemDataOuterClass.getDescriptor(),
POGOProtos.Map.Fort.FortTypeOuterClass.getDescriptor(),
POGOProtos.Data.Gift.GiftBoxOuterClass.getDescriptor(),
}, assigner);
internal_static_POGOProtos_Data_Logs_FortSearchLogEntry_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_POGOProtos_Data_Logs_FortSearchLogEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Data_Logs_FortSearchLogEntry_descriptor,
new java.lang.String[] { "Result", "FortId", "Items", "Eggs", "PokemonEggs", "FortType", "AwardedItems", "BonusItems", "TeamBonusItems", "GiftBoxes", });
POGOProtos.Data.PokemonDataOuterClass.getDescriptor();
POGOProtos.Inventory.Item.ItemDataOuterClass.getDescriptor();
POGOProtos.Map.Fort.FortTypeOuterClass.getDescriptor();
POGOProtos.Data.Gift.GiftBoxOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy