POGOProtos.Data.Quests.QuestOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: POGOProtos/Data/Quests/Quest.proto
package POGOProtos.Data.Quests;
public final class QuestOuterClass {
private QuestOuterClass() {}
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 QuestOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Data.Quests.Quest)
com.google.protobuf.MessageOrBuilder {
/**
* .POGOProtos.Enums.QuestType quest_type = 1;
*/
int getQuestTypeValue();
/**
* .POGOProtos.Enums.QuestType quest_type = 1;
*/
POGOProtos.Enums.QuestTypeOuterClass.QuestType getQuestType();
/**
* .POGOProtos.Data.Quests.Quest.DailyQuest daily_quest = 2;
*/
boolean hasDailyQuest();
/**
* .POGOProtos.Data.Quests.Quest.DailyQuest daily_quest = 2;
*/
POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest getDailyQuest();
/**
* .POGOProtos.Data.Quests.Quest.DailyQuest daily_quest = 2;
*/
POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuestOrBuilder getDailyQuestOrBuilder();
/**
* .POGOProtos.Data.Quests.Quest.MultiPartQuest multi_part = 3;
*/
boolean hasMultiPart();
/**
* .POGOProtos.Data.Quests.Quest.MultiPartQuest multi_part = 3;
*/
POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest getMultiPart();
/**
* .POGOProtos.Data.Quests.Quest.MultiPartQuest multi_part = 3;
*/
POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuestOrBuilder getMultiPartOrBuilder();
/**
* .POGOProtos.Data.Quests.CatchPokemonQuest catch_pokemon = 4;
*/
boolean hasCatchPokemon();
/**
* .POGOProtos.Data.Quests.CatchPokemonQuest catch_pokemon = 4;
*/
POGOProtos.Data.Quests.CatchPokemonQuestOuterClass.CatchPokemonQuest getCatchPokemon();
/**
* .POGOProtos.Data.Quests.CatchPokemonQuest catch_pokemon = 4;
*/
POGOProtos.Data.Quests.CatchPokemonQuestOuterClass.CatchPokemonQuestOrBuilder getCatchPokemonOrBuilder();
/**
* .POGOProtos.Data.Quests.AddFriendQuest add_friend = 5;
*/
boolean hasAddFriend();
/**
* .POGOProtos.Data.Quests.AddFriendQuest add_friend = 5;
*/
POGOProtos.Data.Quests.AddFriendQuestOuterClass.AddFriendQuest getAddFriend();
/**
* .POGOProtos.Data.Quests.AddFriendQuest add_friend = 5;
*/
POGOProtos.Data.Quests.AddFriendQuestOuterClass.AddFriendQuestOrBuilder getAddFriendOrBuilder();
/**
* .POGOProtos.Data.Quests.TradePokemonQuest trade_pokemon = 6;
*/
boolean hasTradePokemon();
/**
* .POGOProtos.Data.Quests.TradePokemonQuest trade_pokemon = 6;
*/
POGOProtos.Data.Quests.TradePokemonQuestOuterClass.TradePokemonQuest getTradePokemon();
/**
* .POGOProtos.Data.Quests.TradePokemonQuest trade_pokemon = 6;
*/
POGOProtos.Data.Quests.TradePokemonQuestOuterClass.TradePokemonQuestOrBuilder getTradePokemonOrBuilder();
/**
* string quest_id = 100;
*/
java.lang.String getQuestId();
/**
* string quest_id = 100;
*/
com.google.protobuf.ByteString
getQuestIdBytes();
/**
* int64 quest_seed = 101;
*/
long getQuestSeed();
/**
* .POGOProtos.Data.Quests.Quest.Context quest_context = 102;
*/
int getQuestContextValue();
/**
* .POGOProtos.Data.Quests.Quest.Context quest_context = 102;
*/
POGOProtos.Data.Quests.QuestOuterClass.Quest.Context getQuestContext();
/**
* string template_id = 103;
*/
java.lang.String getTemplateId();
/**
* string template_id = 103;
*/
com.google.protobuf.ByteString
getTemplateIdBytes();
/**
* int32 progress = 104;
*/
int getProgress();
/**
* .POGOProtos.Data.Quests.QuestGoal goal = 105;
*/
boolean hasGoal();
/**
* .POGOProtos.Data.Quests.QuestGoal goal = 105;
*/
POGOProtos.Data.Quests.QuestGoalOuterClass.QuestGoal getGoal();
/**
* .POGOProtos.Data.Quests.QuestGoal goal = 105;
*/
POGOProtos.Data.Quests.QuestGoalOuterClass.QuestGoalOrBuilder getGoalOrBuilder();
/**
* .POGOProtos.Data.Quests.Quest.Status status = 106;
*/
int getStatusValue();
/**
* .POGOProtos.Data.Quests.Quest.Status status = 106;
*/
POGOProtos.Data.Quests.QuestOuterClass.Quest.Status getStatus();
/**
* repeated .POGOProtos.Data.Quests.QuestReward quest_rewards = 107;
*/
java.util.List
getQuestRewardsList();
/**
* repeated .POGOProtos.Data.Quests.QuestReward quest_rewards = 107;
*/
POGOProtos.Data.Quests.QuestRewardOuterClass.QuestReward getQuestRewards(int index);
/**
* repeated .POGOProtos.Data.Quests.QuestReward quest_rewards = 107;
*/
int getQuestRewardsCount();
/**
* repeated .POGOProtos.Data.Quests.QuestReward quest_rewards = 107;
*/
java.util.List extends POGOProtos.Data.Quests.QuestRewardOuterClass.QuestRewardOrBuilder>
getQuestRewardsOrBuilderList();
/**
* repeated .POGOProtos.Data.Quests.QuestReward quest_rewards = 107;
*/
POGOProtos.Data.Quests.QuestRewardOuterClass.QuestRewardOrBuilder getQuestRewardsOrBuilder(
int index);
/**
* int64 creation_timestamp_ms = 108;
*/
long getCreationTimestampMs();
/**
* int64 last_update_timestamp_ms = 109;
*/
long getLastUpdateTimestampMs();
/**
* int64 compeletion_timestamp_ms = 110;
*/
long getCompeletionTimestampMs();
/**
* string fort_id = 111;
*/
java.lang.String getFortId();
/**
* string fort_id = 111;
*/
com.google.protobuf.ByteString
getFortIdBytes();
/**
* bool admin_generated = 112;
*/
boolean getAdminGenerated();
/**
* bool stamp_count_override_enabled = 113;
*/
boolean getStampCountOverrideEnabled();
/**
* int32 stamp_count_override = 114;
*/
int getStampCountOverride();
/**
* int64 s2_cell_id = 115;
*/
long getS2CellId();
/**
* int32 story_quest_template_version = 116;
*/
int getStoryQuestTemplateVersion();
/**
* .POGOProtos.Data.Quests.Quest.DailyCounter daily_counter = 117;
*/
boolean hasDailyCounter();
/**
* .POGOProtos.Data.Quests.Quest.DailyCounter daily_counter = 117;
*/
POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter getDailyCounter();
/**
* .POGOProtos.Data.Quests.Quest.DailyCounter daily_counter = 117;
*/
POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounterOrBuilder getDailyCounterOrBuilder();
/**
* string reward_pokemon_icon_url = 118;
*/
java.lang.String getRewardPokemonIconUrl();
/**
* string reward_pokemon_icon_url = 118;
*/
com.google.protobuf.ByteString
getRewardPokemonIconUrlBytes();
public POGOProtos.Data.Quests.QuestOuterClass.Quest.QuestCase getQuestCase();
}
/**
* Protobuf type {@code POGOProtos.Data.Quests.Quest}
*/
public static final class Quest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Data.Quests.Quest)
QuestOrBuilder {
private static final long serialVersionUID = 0L;
// Use Quest.newBuilder() to construct.
private Quest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Quest() {
questType_ = 0;
questId_ = "";
questSeed_ = 0L;
questContext_ = 0;
templateId_ = "";
progress_ = 0;
status_ = 0;
questRewards_ = java.util.Collections.emptyList();
creationTimestampMs_ = 0L;
lastUpdateTimestampMs_ = 0L;
compeletionTimestampMs_ = 0L;
fortId_ = "";
adminGenerated_ = false;
stampCountOverrideEnabled_ = false;
stampCountOverride_ = 0;
s2CellId_ = 0L;
storyQuestTemplateVersion_ = 0;
rewardPokemonIconUrl_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Quest(
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();
questType_ = rawValue;
break;
}
case 18: {
POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest.Builder subBuilder = null;
if (questCase_ == 2) {
subBuilder = ((POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest) quest_).toBuilder();
}
quest_ =
input.readMessage(POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest) quest_);
quest_ = subBuilder.buildPartial();
}
questCase_ = 2;
break;
}
case 26: {
POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest.Builder subBuilder = null;
if (questCase_ == 3) {
subBuilder = ((POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest) quest_).toBuilder();
}
quest_ =
input.readMessage(POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest) quest_);
quest_ = subBuilder.buildPartial();
}
questCase_ = 3;
break;
}
case 34: {
POGOProtos.Data.Quests.CatchPokemonQuestOuterClass.CatchPokemonQuest.Builder subBuilder = null;
if (questCase_ == 4) {
subBuilder = ((POGOProtos.Data.Quests.CatchPokemonQuestOuterClass.CatchPokemonQuest) quest_).toBuilder();
}
quest_ =
input.readMessage(POGOProtos.Data.Quests.CatchPokemonQuestOuterClass.CatchPokemonQuest.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((POGOProtos.Data.Quests.CatchPokemonQuestOuterClass.CatchPokemonQuest) quest_);
quest_ = subBuilder.buildPartial();
}
questCase_ = 4;
break;
}
case 42: {
POGOProtos.Data.Quests.AddFriendQuestOuterClass.AddFriendQuest.Builder subBuilder = null;
if (questCase_ == 5) {
subBuilder = ((POGOProtos.Data.Quests.AddFriendQuestOuterClass.AddFriendQuest) quest_).toBuilder();
}
quest_ =
input.readMessage(POGOProtos.Data.Quests.AddFriendQuestOuterClass.AddFriendQuest.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((POGOProtos.Data.Quests.AddFriendQuestOuterClass.AddFriendQuest) quest_);
quest_ = subBuilder.buildPartial();
}
questCase_ = 5;
break;
}
case 50: {
POGOProtos.Data.Quests.TradePokemonQuestOuterClass.TradePokemonQuest.Builder subBuilder = null;
if (questCase_ == 6) {
subBuilder = ((POGOProtos.Data.Quests.TradePokemonQuestOuterClass.TradePokemonQuest) quest_).toBuilder();
}
quest_ =
input.readMessage(POGOProtos.Data.Quests.TradePokemonQuestOuterClass.TradePokemonQuest.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((POGOProtos.Data.Quests.TradePokemonQuestOuterClass.TradePokemonQuest) quest_);
quest_ = subBuilder.buildPartial();
}
questCase_ = 6;
break;
}
case 802: {
java.lang.String s = input.readStringRequireUtf8();
questId_ = s;
break;
}
case 808: {
questSeed_ = input.readInt64();
break;
}
case 816: {
int rawValue = input.readEnum();
questContext_ = rawValue;
break;
}
case 826: {
java.lang.String s = input.readStringRequireUtf8();
templateId_ = s;
break;
}
case 832: {
progress_ = input.readInt32();
break;
}
case 842: {
POGOProtos.Data.Quests.QuestGoalOuterClass.QuestGoal.Builder subBuilder = null;
if (goal_ != null) {
subBuilder = goal_.toBuilder();
}
goal_ = input.readMessage(POGOProtos.Data.Quests.QuestGoalOuterClass.QuestGoal.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(goal_);
goal_ = subBuilder.buildPartial();
}
break;
}
case 848: {
int rawValue = input.readEnum();
status_ = rawValue;
break;
}
case 858: {
if (!((mutable_bitField0_ & 0x00002000) == 0x00002000)) {
questRewards_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00002000;
}
questRewards_.add(
input.readMessage(POGOProtos.Data.Quests.QuestRewardOuterClass.QuestReward.parser(), extensionRegistry));
break;
}
case 864: {
creationTimestampMs_ = input.readInt64();
break;
}
case 872: {
lastUpdateTimestampMs_ = input.readInt64();
break;
}
case 880: {
compeletionTimestampMs_ = input.readInt64();
break;
}
case 890: {
java.lang.String s = input.readStringRequireUtf8();
fortId_ = s;
break;
}
case 896: {
adminGenerated_ = input.readBool();
break;
}
case 904: {
stampCountOverrideEnabled_ = input.readBool();
break;
}
case 912: {
stampCountOverride_ = input.readInt32();
break;
}
case 920: {
s2CellId_ = input.readInt64();
break;
}
case 928: {
storyQuestTemplateVersion_ = input.readInt32();
break;
}
case 938: {
POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter.Builder subBuilder = null;
if (dailyCounter_ != null) {
subBuilder = dailyCounter_.toBuilder();
}
dailyCounter_ = input.readMessage(POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(dailyCounter_);
dailyCounter_ = subBuilder.buildPartial();
}
break;
}
case 946: {
java.lang.String s = input.readStringRequireUtf8();
rewardPokemonIconUrl_ = s;
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_ & 0x00002000) == 0x00002000)) {
questRewards_ = java.util.Collections.unmodifiableList(questRewards_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Quests.QuestOuterClass.internal_static_POGOProtos_Data_Quests_Quest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.QuestOuterClass.internal_static_POGOProtos_Data_Quests_Quest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.QuestOuterClass.Quest.class, POGOProtos.Data.Quests.QuestOuterClass.Quest.Builder.class);
}
/**
* Protobuf enum {@code POGOProtos.Data.Quests.Quest.Context}
*/
public enum Context
implements com.google.protobuf.ProtocolMessageEnum {
/**
* UNSET = 0;
*/
UNSET(0),
/**
* STORY_QUEST = 1;
*/
STORY_QUEST(1),
/**
* CHALLENGE_QUEST = 2;
*/
CHALLENGE_QUEST(2),
UNRECOGNIZED(-1),
;
/**
* UNSET = 0;
*/
public static final int UNSET_VALUE = 0;
/**
* STORY_QUEST = 1;
*/
public static final int STORY_QUEST_VALUE = 1;
/**
* CHALLENGE_QUEST = 2;
*/
public static final int CHALLENGE_QUEST_VALUE = 2;
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 Context valueOf(int value) {
return forNumber(value);
}
public static Context forNumber(int value) {
switch (value) {
case 0: return UNSET;
case 1: return STORY_QUEST;
case 2: return CHALLENGE_QUEST;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Context> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Context findValueByNumber(int number) {
return Context.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.Quests.QuestOuterClass.Quest.getDescriptor().getEnumTypes().get(0);
}
private static final Context[] VALUES = values();
public static Context 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 Context(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:POGOProtos.Data.Quests.Quest.Context)
}
/**
* Protobuf enum {@code POGOProtos.Data.Quests.Quest.Status}
*/
public enum Status
implements com.google.protobuf.ProtocolMessageEnum {
/**
* STATUS_UNDEFINED = 0;
*/
STATUS_UNDEFINED(0),
/**
* STATUS_ACTIVE = 1;
*/
STATUS_ACTIVE(1),
/**
* STATUS_COMPLETED = 2;
*/
STATUS_COMPLETED(2),
UNRECOGNIZED(-1),
;
/**
* STATUS_UNDEFINED = 0;
*/
public static final int STATUS_UNDEFINED_VALUE = 0;
/**
* STATUS_ACTIVE = 1;
*/
public static final int STATUS_ACTIVE_VALUE = 1;
/**
* STATUS_COMPLETED = 2;
*/
public static final int STATUS_COMPLETED_VALUE = 2;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static Status valueOf(int value) {
return forNumber(value);
}
public static Status forNumber(int value) {
switch (value) {
case 0: return STATUS_UNDEFINED;
case 1: return STATUS_ACTIVE;
case 2: return STATUS_COMPLETED;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Status> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Status findValueByNumber(int number) {
return Status.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return POGOProtos.Data.Quests.QuestOuterClass.Quest.getDescriptor().getEnumTypes().get(1);
}
private static final Status[] VALUES = values();
public static Status valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private Status(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:POGOProtos.Data.Quests.Quest.Status)
}
public interface MultiPartQuestOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Data.Quests.Quest.MultiPartQuest)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .POGOProtos.Data.Quests.Quest sub_quests = 1;
*/
java.util.List
getSubQuestsList();
/**
* repeated .POGOProtos.Data.Quests.Quest sub_quests = 1;
*/
POGOProtos.Data.Quests.QuestOuterClass.Quest getSubQuests(int index);
/**
* repeated .POGOProtos.Data.Quests.Quest sub_quests = 1;
*/
int getSubQuestsCount();
/**
* repeated .POGOProtos.Data.Quests.Quest sub_quests = 1;
*/
java.util.List extends POGOProtos.Data.Quests.QuestOuterClass.QuestOrBuilder>
getSubQuestsOrBuilderList();
/**
* repeated .POGOProtos.Data.Quests.Quest sub_quests = 1;
*/
POGOProtos.Data.Quests.QuestOuterClass.QuestOrBuilder getSubQuestsOrBuilder(
int index);
}
/**
* Protobuf type {@code POGOProtos.Data.Quests.Quest.MultiPartQuest}
*/
public static final class MultiPartQuest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Data.Quests.Quest.MultiPartQuest)
MultiPartQuestOrBuilder {
private static final long serialVersionUID = 0L;
// Use MultiPartQuest.newBuilder() to construct.
private MultiPartQuest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MultiPartQuest() {
subQuests_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MultiPartQuest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
subQuests_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
subQuests_.add(
input.readMessage(POGOProtos.Data.Quests.QuestOuterClass.Quest.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_ & 0x00000001) == 0x00000001)) {
subQuests_ = java.util.Collections.unmodifiableList(subQuests_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Quests.QuestOuterClass.internal_static_POGOProtos_Data_Quests_Quest_MultiPartQuest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.QuestOuterClass.internal_static_POGOProtos_Data_Quests_Quest_MultiPartQuest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest.class, POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest.Builder.class);
}
public static final int SUB_QUESTS_FIELD_NUMBER = 1;
private java.util.List subQuests_;
/**
* repeated .POGOProtos.Data.Quests.Quest sub_quests = 1;
*/
public java.util.List getSubQuestsList() {
return subQuests_;
}
/**
* repeated .POGOProtos.Data.Quests.Quest sub_quests = 1;
*/
public java.util.List extends POGOProtos.Data.Quests.QuestOuterClass.QuestOrBuilder>
getSubQuestsOrBuilderList() {
return subQuests_;
}
/**
* repeated .POGOProtos.Data.Quests.Quest sub_quests = 1;
*/
public int getSubQuestsCount() {
return subQuests_.size();
}
/**
* repeated .POGOProtos.Data.Quests.Quest sub_quests = 1;
*/
public POGOProtos.Data.Quests.QuestOuterClass.Quest getSubQuests(int index) {
return subQuests_.get(index);
}
/**
* repeated .POGOProtos.Data.Quests.Quest sub_quests = 1;
*/
public POGOProtos.Data.Quests.QuestOuterClass.QuestOrBuilder getSubQuestsOrBuilder(
int index) {
return subQuests_.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 {
for (int i = 0; i < subQuests_.size(); i++) {
output.writeMessage(1, subQuests_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < subQuests_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, subQuests_.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.Quests.QuestOuterClass.Quest.MultiPartQuest)) {
return super.equals(obj);
}
POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest other = (POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest) obj;
boolean result = true;
result = result && getSubQuestsList()
.equals(other.getSubQuestsList());
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();
if (getSubQuestsCount() > 0) {
hash = (37 * hash) + SUB_QUESTS_FIELD_NUMBER;
hash = (53 * hash) + getSubQuestsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest 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.Quests.QuestOuterClass.Quest.MultiPartQuest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest 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.Quests.QuestOuterClass.Quest.MultiPartQuest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest 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.Quests.QuestOuterClass.Quest.MultiPartQuest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest 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.Quests.QuestOuterClass.Quest.MultiPartQuest 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.Quests.Quest.MultiPartQuest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Data.Quests.Quest.MultiPartQuest)
POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Quests.QuestOuterClass.internal_static_POGOProtos_Data_Quests_Quest_MultiPartQuest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.QuestOuterClass.internal_static_POGOProtos_Data_Quests_Quest_MultiPartQuest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest.class, POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest.Builder.class);
}
// Construct using POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getSubQuestsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (subQuestsBuilder_ == null) {
subQuests_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
subQuestsBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Data.Quests.QuestOuterClass.internal_static_POGOProtos_Data_Quests_Quest_MultiPartQuest_descriptor;
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest getDefaultInstanceForType() {
return POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest build() {
POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest buildPartial() {
POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest result = new POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest(this);
int from_bitField0_ = bitField0_;
if (subQuestsBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subQuests_ = java.util.Collections.unmodifiableList(subQuests_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.subQuests_ = subQuests_;
} else {
result.subQuests_ = subQuestsBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest) {
return mergeFrom((POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest other) {
if (other == POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest.getDefaultInstance()) return this;
if (subQuestsBuilder_ == null) {
if (!other.subQuests_.isEmpty()) {
if (subQuests_.isEmpty()) {
subQuests_ = other.subQuests_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureSubQuestsIsMutable();
subQuests_.addAll(other.subQuests_);
}
onChanged();
}
} else {
if (!other.subQuests_.isEmpty()) {
if (subQuestsBuilder_.isEmpty()) {
subQuestsBuilder_.dispose();
subQuestsBuilder_ = null;
subQuests_ = other.subQuests_;
bitField0_ = (bitField0_ & ~0x00000001);
subQuestsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getSubQuestsFieldBuilder() : null;
} else {
subQuestsBuilder_.addAllMessages(other.subQuests_);
}
}
}
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.Quests.QuestOuterClass.Quest.MultiPartQuest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List subQuests_ =
java.util.Collections.emptyList();
private void ensureSubQuestsIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
subQuests_ = new java.util.ArrayList(subQuests_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Data.Quests.QuestOuterClass.Quest, POGOProtos.Data.Quests.QuestOuterClass.Quest.Builder, POGOProtos.Data.Quests.QuestOuterClass.QuestOrBuilder> subQuestsBuilder_;
/**
* repeated .POGOProtos.Data.Quests.Quest sub_quests = 1;
*/
public java.util.List getSubQuestsList() {
if (subQuestsBuilder_ == null) {
return java.util.Collections.unmodifiableList(subQuests_);
} else {
return subQuestsBuilder_.getMessageList();
}
}
/**
* repeated .POGOProtos.Data.Quests.Quest sub_quests = 1;
*/
public int getSubQuestsCount() {
if (subQuestsBuilder_ == null) {
return subQuests_.size();
} else {
return subQuestsBuilder_.getCount();
}
}
/**
* repeated .POGOProtos.Data.Quests.Quest sub_quests = 1;
*/
public POGOProtos.Data.Quests.QuestOuterClass.Quest getSubQuests(int index) {
if (subQuestsBuilder_ == null) {
return subQuests_.get(index);
} else {
return subQuestsBuilder_.getMessage(index);
}
}
/**
* repeated .POGOProtos.Data.Quests.Quest sub_quests = 1;
*/
public Builder setSubQuests(
int index, POGOProtos.Data.Quests.QuestOuterClass.Quest value) {
if (subQuestsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSubQuestsIsMutable();
subQuests_.set(index, value);
onChanged();
} else {
subQuestsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .POGOProtos.Data.Quests.Quest sub_quests = 1;
*/
public Builder setSubQuests(
int index, POGOProtos.Data.Quests.QuestOuterClass.Quest.Builder builderForValue) {
if (subQuestsBuilder_ == null) {
ensureSubQuestsIsMutable();
subQuests_.set(index, builderForValue.build());
onChanged();
} else {
subQuestsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Data.Quests.Quest sub_quests = 1;
*/
public Builder addSubQuests(POGOProtos.Data.Quests.QuestOuterClass.Quest value) {
if (subQuestsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSubQuestsIsMutable();
subQuests_.add(value);
onChanged();
} else {
subQuestsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .POGOProtos.Data.Quests.Quest sub_quests = 1;
*/
public Builder addSubQuests(
int index, POGOProtos.Data.Quests.QuestOuterClass.Quest value) {
if (subQuestsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSubQuestsIsMutable();
subQuests_.add(index, value);
onChanged();
} else {
subQuestsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .POGOProtos.Data.Quests.Quest sub_quests = 1;
*/
public Builder addSubQuests(
POGOProtos.Data.Quests.QuestOuterClass.Quest.Builder builderForValue) {
if (subQuestsBuilder_ == null) {
ensureSubQuestsIsMutable();
subQuests_.add(builderForValue.build());
onChanged();
} else {
subQuestsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Data.Quests.Quest sub_quests = 1;
*/
public Builder addSubQuests(
int index, POGOProtos.Data.Quests.QuestOuterClass.Quest.Builder builderForValue) {
if (subQuestsBuilder_ == null) {
ensureSubQuestsIsMutable();
subQuests_.add(index, builderForValue.build());
onChanged();
} else {
subQuestsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Data.Quests.Quest sub_quests = 1;
*/
public Builder addAllSubQuests(
java.lang.Iterable extends POGOProtos.Data.Quests.QuestOuterClass.Quest> values) {
if (subQuestsBuilder_ == null) {
ensureSubQuestsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, subQuests_);
onChanged();
} else {
subQuestsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .POGOProtos.Data.Quests.Quest sub_quests = 1;
*/
public Builder clearSubQuests() {
if (subQuestsBuilder_ == null) {
subQuests_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
subQuestsBuilder_.clear();
}
return this;
}
/**
* repeated .POGOProtos.Data.Quests.Quest sub_quests = 1;
*/
public Builder removeSubQuests(int index) {
if (subQuestsBuilder_ == null) {
ensureSubQuestsIsMutable();
subQuests_.remove(index);
onChanged();
} else {
subQuestsBuilder_.remove(index);
}
return this;
}
/**
* repeated .POGOProtos.Data.Quests.Quest sub_quests = 1;
*/
public POGOProtos.Data.Quests.QuestOuterClass.Quest.Builder getSubQuestsBuilder(
int index) {
return getSubQuestsFieldBuilder().getBuilder(index);
}
/**
* repeated .POGOProtos.Data.Quests.Quest sub_quests = 1;
*/
public POGOProtos.Data.Quests.QuestOuterClass.QuestOrBuilder getSubQuestsOrBuilder(
int index) {
if (subQuestsBuilder_ == null) {
return subQuests_.get(index); } else {
return subQuestsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .POGOProtos.Data.Quests.Quest sub_quests = 1;
*/
public java.util.List extends POGOProtos.Data.Quests.QuestOuterClass.QuestOrBuilder>
getSubQuestsOrBuilderList() {
if (subQuestsBuilder_ != null) {
return subQuestsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(subQuests_);
}
}
/**
* repeated .POGOProtos.Data.Quests.Quest sub_quests = 1;
*/
public POGOProtos.Data.Quests.QuestOuterClass.Quest.Builder addSubQuestsBuilder() {
return getSubQuestsFieldBuilder().addBuilder(
POGOProtos.Data.Quests.QuestOuterClass.Quest.getDefaultInstance());
}
/**
* repeated .POGOProtos.Data.Quests.Quest sub_quests = 1;
*/
public POGOProtos.Data.Quests.QuestOuterClass.Quest.Builder addSubQuestsBuilder(
int index) {
return getSubQuestsFieldBuilder().addBuilder(
index, POGOProtos.Data.Quests.QuestOuterClass.Quest.getDefaultInstance());
}
/**
* repeated .POGOProtos.Data.Quests.Quest sub_quests = 1;
*/
public java.util.List
getSubQuestsBuilderList() {
return getSubQuestsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Data.Quests.QuestOuterClass.Quest, POGOProtos.Data.Quests.QuestOuterClass.Quest.Builder, POGOProtos.Data.Quests.QuestOuterClass.QuestOrBuilder>
getSubQuestsFieldBuilder() {
if (subQuestsBuilder_ == null) {
subQuestsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Data.Quests.QuestOuterClass.Quest, POGOProtos.Data.Quests.QuestOuterClass.Quest.Builder, POGOProtos.Data.Quests.QuestOuterClass.QuestOrBuilder>(
subQuests_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
subQuests_ = null;
}
return subQuestsBuilder_;
}
@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.Quests.Quest.MultiPartQuest)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Data.Quests.Quest.MultiPartQuest)
private static final POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest();
}
public static POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public MultiPartQuest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MultiPartQuest(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.Quests.QuestOuterClass.Quest.MultiPartQuest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DailyQuestOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Data.Quests.Quest.DailyQuest)
com.google.protobuf.MessageOrBuilder {
/**
* int32 current_period_bucket = 1;
*/
int getCurrentPeriodBucket();
/**
* int32 current_streak_count = 2;
*/
int getCurrentStreakCount();
}
/**
* Protobuf type {@code POGOProtos.Data.Quests.Quest.DailyQuest}
*/
public static final class DailyQuest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Data.Quests.Quest.DailyQuest)
DailyQuestOrBuilder {
private static final long serialVersionUID = 0L;
// Use DailyQuest.newBuilder() to construct.
private DailyQuest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DailyQuest() {
currentPeriodBucket_ = 0;
currentStreakCount_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DailyQuest(
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: {
currentPeriodBucket_ = input.readInt32();
break;
}
case 16: {
currentStreakCount_ = input.readInt32();
break;
}
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Quests.QuestOuterClass.internal_static_POGOProtos_Data_Quests_Quest_DailyQuest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.QuestOuterClass.internal_static_POGOProtos_Data_Quests_Quest_DailyQuest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest.class, POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest.Builder.class);
}
public static final int CURRENT_PERIOD_BUCKET_FIELD_NUMBER = 1;
private int currentPeriodBucket_;
/**
* int32 current_period_bucket = 1;
*/
public int getCurrentPeriodBucket() {
return currentPeriodBucket_;
}
public static final int CURRENT_STREAK_COUNT_FIELD_NUMBER = 2;
private int currentStreakCount_;
/**
* int32 current_streak_count = 2;
*/
public int getCurrentStreakCount() {
return currentStreakCount_;
}
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 (currentPeriodBucket_ != 0) {
output.writeInt32(1, currentPeriodBucket_);
}
if (currentStreakCount_ != 0) {
output.writeInt32(2, currentStreakCount_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (currentPeriodBucket_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, currentPeriodBucket_);
}
if (currentStreakCount_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, currentStreakCount_);
}
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.Quests.QuestOuterClass.Quest.DailyQuest)) {
return super.equals(obj);
}
POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest other = (POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest) obj;
boolean result = true;
result = result && (getCurrentPeriodBucket()
== other.getCurrentPeriodBucket());
result = result && (getCurrentStreakCount()
== other.getCurrentStreakCount());
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) + CURRENT_PERIOD_BUCKET_FIELD_NUMBER;
hash = (53 * hash) + getCurrentPeriodBucket();
hash = (37 * hash) + CURRENT_STREAK_COUNT_FIELD_NUMBER;
hash = (53 * hash) + getCurrentStreakCount();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest 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.Quests.QuestOuterClass.Quest.DailyQuest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest 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.Quests.QuestOuterClass.Quest.DailyQuest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest 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.Quests.QuestOuterClass.Quest.DailyQuest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest 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.Quests.QuestOuterClass.Quest.DailyQuest 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.Quests.Quest.DailyQuest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Data.Quests.Quest.DailyQuest)
POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Quests.QuestOuterClass.internal_static_POGOProtos_Data_Quests_Quest_DailyQuest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.QuestOuterClass.internal_static_POGOProtos_Data_Quests_Quest_DailyQuest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest.class, POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest.Builder.class);
}
// Construct using POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
currentPeriodBucket_ = 0;
currentStreakCount_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Data.Quests.QuestOuterClass.internal_static_POGOProtos_Data_Quests_Quest_DailyQuest_descriptor;
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest getDefaultInstanceForType() {
return POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest build() {
POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest buildPartial() {
POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest result = new POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest(this);
result.currentPeriodBucket_ = currentPeriodBucket_;
result.currentStreakCount_ = currentStreakCount_;
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.Quests.QuestOuterClass.Quest.DailyQuest) {
return mergeFrom((POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest other) {
if (other == POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest.getDefaultInstance()) return this;
if (other.getCurrentPeriodBucket() != 0) {
setCurrentPeriodBucket(other.getCurrentPeriodBucket());
}
if (other.getCurrentStreakCount() != 0) {
setCurrentStreakCount(other.getCurrentStreakCount());
}
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.Quests.QuestOuterClass.Quest.DailyQuest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int currentPeriodBucket_ ;
/**
* int32 current_period_bucket = 1;
*/
public int getCurrentPeriodBucket() {
return currentPeriodBucket_;
}
/**
* int32 current_period_bucket = 1;
*/
public Builder setCurrentPeriodBucket(int value) {
currentPeriodBucket_ = value;
onChanged();
return this;
}
/**
* int32 current_period_bucket = 1;
*/
public Builder clearCurrentPeriodBucket() {
currentPeriodBucket_ = 0;
onChanged();
return this;
}
private int currentStreakCount_ ;
/**
* int32 current_streak_count = 2;
*/
public int getCurrentStreakCount() {
return currentStreakCount_;
}
/**
* int32 current_streak_count = 2;
*/
public Builder setCurrentStreakCount(int value) {
currentStreakCount_ = value;
onChanged();
return this;
}
/**
* int32 current_streak_count = 2;
*/
public Builder clearCurrentStreakCount() {
currentStreakCount_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:POGOProtos.Data.Quests.Quest.DailyQuest)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Data.Quests.Quest.DailyQuest)
private static final POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest();
}
public static POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DailyQuest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DailyQuest(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.Quests.QuestOuterClass.Quest.DailyQuest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DailyCounterOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Data.Quests.Quest.DailyCounter)
com.google.protobuf.MessageOrBuilder {
/**
* int64 window = 1;
*/
long getWindow();
/**
* int32 count = 2;
*/
int getCount();
}
/**
* Protobuf type {@code POGOProtos.Data.Quests.Quest.DailyCounter}
*/
public static final class DailyCounter extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Data.Quests.Quest.DailyCounter)
DailyCounterOrBuilder {
private static final long serialVersionUID = 0L;
// Use DailyCounter.newBuilder() to construct.
private DailyCounter(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DailyCounter() {
window_ = 0L;
count_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DailyCounter(
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: {
window_ = input.readInt64();
break;
}
case 16: {
count_ = input.readInt32();
break;
}
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Quests.QuestOuterClass.internal_static_POGOProtos_Data_Quests_Quest_DailyCounter_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.QuestOuterClass.internal_static_POGOProtos_Data_Quests_Quest_DailyCounter_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter.class, POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter.Builder.class);
}
public static final int WINDOW_FIELD_NUMBER = 1;
private long window_;
/**
* int64 window = 1;
*/
public long getWindow() {
return window_;
}
public static final int COUNT_FIELD_NUMBER = 2;
private int count_;
/**
* int32 count = 2;
*/
public int getCount() {
return count_;
}
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 (window_ != 0L) {
output.writeInt64(1, window_);
}
if (count_ != 0) {
output.writeInt32(2, count_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (window_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, window_);
}
if (count_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, count_);
}
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.Quests.QuestOuterClass.Quest.DailyCounter)) {
return super.equals(obj);
}
POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter other = (POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter) obj;
boolean result = true;
result = result && (getWindow()
== other.getWindow());
result = result && (getCount()
== other.getCount());
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) + WINDOW_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getWindow());
hash = (37 * hash) + COUNT_FIELD_NUMBER;
hash = (53 * hash) + getCount();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter 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.Quests.QuestOuterClass.Quest.DailyCounter parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter 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.Quests.QuestOuterClass.Quest.DailyCounter parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter 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.Quests.QuestOuterClass.Quest.DailyCounter parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter 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.Quests.QuestOuterClass.Quest.DailyCounter 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.Quests.Quest.DailyCounter}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Data.Quests.Quest.DailyCounter)
POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounterOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Quests.QuestOuterClass.internal_static_POGOProtos_Data_Quests_Quest_DailyCounter_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.QuestOuterClass.internal_static_POGOProtos_Data_Quests_Quest_DailyCounter_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter.class, POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter.Builder.class);
}
// Construct using POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
window_ = 0L;
count_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Data.Quests.QuestOuterClass.internal_static_POGOProtos_Data_Quests_Quest_DailyCounter_descriptor;
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter getDefaultInstanceForType() {
return POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter build() {
POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter buildPartial() {
POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter result = new POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter(this);
result.window_ = window_;
result.count_ = count_;
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.Quests.QuestOuterClass.Quest.DailyCounter) {
return mergeFrom((POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter other) {
if (other == POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter.getDefaultInstance()) return this;
if (other.getWindow() != 0L) {
setWindow(other.getWindow());
}
if (other.getCount() != 0) {
setCount(other.getCount());
}
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.Quests.QuestOuterClass.Quest.DailyCounter parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private long window_ ;
/**
* int64 window = 1;
*/
public long getWindow() {
return window_;
}
/**
* int64 window = 1;
*/
public Builder setWindow(long value) {
window_ = value;
onChanged();
return this;
}
/**
* int64 window = 1;
*/
public Builder clearWindow() {
window_ = 0L;
onChanged();
return this;
}
private int count_ ;
/**
* int32 count = 2;
*/
public int getCount() {
return count_;
}
/**
* int32 count = 2;
*/
public Builder setCount(int value) {
count_ = value;
onChanged();
return this;
}
/**
* int32 count = 2;
*/
public Builder clearCount() {
count_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:POGOProtos.Data.Quests.Quest.DailyCounter)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Data.Quests.Quest.DailyCounter)
private static final POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter();
}
public static POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DailyCounter parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DailyCounter(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.Quests.QuestOuterClass.Quest.DailyCounter getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private int bitField0_;
private int questCase_ = 0;
private java.lang.Object quest_;
public enum QuestCase
implements com.google.protobuf.Internal.EnumLite {
DAILY_QUEST(2),
MULTI_PART(3),
CATCH_POKEMON(4),
ADD_FRIEND(5),
TRADE_POKEMON(6),
QUEST_NOT_SET(0);
private final int value;
private QuestCase(int value) {
this.value = value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static QuestCase valueOf(int value) {
return forNumber(value);
}
public static QuestCase forNumber(int value) {
switch (value) {
case 2: return DAILY_QUEST;
case 3: return MULTI_PART;
case 4: return CATCH_POKEMON;
case 5: return ADD_FRIEND;
case 6: return TRADE_POKEMON;
case 0: return QUEST_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public QuestCase
getQuestCase() {
return QuestCase.forNumber(
questCase_);
}
public static final int QUEST_TYPE_FIELD_NUMBER = 1;
private int questType_;
/**
* .POGOProtos.Enums.QuestType quest_type = 1;
*/
public int getQuestTypeValue() {
return questType_;
}
/**
* .POGOProtos.Enums.QuestType quest_type = 1;
*/
public POGOProtos.Enums.QuestTypeOuterClass.QuestType getQuestType() {
@SuppressWarnings("deprecation")
POGOProtos.Enums.QuestTypeOuterClass.QuestType result = POGOProtos.Enums.QuestTypeOuterClass.QuestType.valueOf(questType_);
return result == null ? POGOProtos.Enums.QuestTypeOuterClass.QuestType.UNRECOGNIZED : result;
}
public static final int DAILY_QUEST_FIELD_NUMBER = 2;
/**
* .POGOProtos.Data.Quests.Quest.DailyQuest daily_quest = 2;
*/
public boolean hasDailyQuest() {
return questCase_ == 2;
}
/**
* .POGOProtos.Data.Quests.Quest.DailyQuest daily_quest = 2;
*/
public POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest getDailyQuest() {
if (questCase_ == 2) {
return (POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest) quest_;
}
return POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest.getDefaultInstance();
}
/**
* .POGOProtos.Data.Quests.Quest.DailyQuest daily_quest = 2;
*/
public POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuestOrBuilder getDailyQuestOrBuilder() {
if (questCase_ == 2) {
return (POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest) quest_;
}
return POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest.getDefaultInstance();
}
public static final int MULTI_PART_FIELD_NUMBER = 3;
/**
* .POGOProtos.Data.Quests.Quest.MultiPartQuest multi_part = 3;
*/
public boolean hasMultiPart() {
return questCase_ == 3;
}
/**
* .POGOProtos.Data.Quests.Quest.MultiPartQuest multi_part = 3;
*/
public POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest getMultiPart() {
if (questCase_ == 3) {
return (POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest) quest_;
}
return POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest.getDefaultInstance();
}
/**
* .POGOProtos.Data.Quests.Quest.MultiPartQuest multi_part = 3;
*/
public POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuestOrBuilder getMultiPartOrBuilder() {
if (questCase_ == 3) {
return (POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest) quest_;
}
return POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest.getDefaultInstance();
}
public static final int CATCH_POKEMON_FIELD_NUMBER = 4;
/**
* .POGOProtos.Data.Quests.CatchPokemonQuest catch_pokemon = 4;
*/
public boolean hasCatchPokemon() {
return questCase_ == 4;
}
/**
* .POGOProtos.Data.Quests.CatchPokemonQuest catch_pokemon = 4;
*/
public POGOProtos.Data.Quests.CatchPokemonQuestOuterClass.CatchPokemonQuest getCatchPokemon() {
if (questCase_ == 4) {
return (POGOProtos.Data.Quests.CatchPokemonQuestOuterClass.CatchPokemonQuest) quest_;
}
return POGOProtos.Data.Quests.CatchPokemonQuestOuterClass.CatchPokemonQuest.getDefaultInstance();
}
/**
* .POGOProtos.Data.Quests.CatchPokemonQuest catch_pokemon = 4;
*/
public POGOProtos.Data.Quests.CatchPokemonQuestOuterClass.CatchPokemonQuestOrBuilder getCatchPokemonOrBuilder() {
if (questCase_ == 4) {
return (POGOProtos.Data.Quests.CatchPokemonQuestOuterClass.CatchPokemonQuest) quest_;
}
return POGOProtos.Data.Quests.CatchPokemonQuestOuterClass.CatchPokemonQuest.getDefaultInstance();
}
public static final int ADD_FRIEND_FIELD_NUMBER = 5;
/**
* .POGOProtos.Data.Quests.AddFriendQuest add_friend = 5;
*/
public boolean hasAddFriend() {
return questCase_ == 5;
}
/**
* .POGOProtos.Data.Quests.AddFriendQuest add_friend = 5;
*/
public POGOProtos.Data.Quests.AddFriendQuestOuterClass.AddFriendQuest getAddFriend() {
if (questCase_ == 5) {
return (POGOProtos.Data.Quests.AddFriendQuestOuterClass.AddFriendQuest) quest_;
}
return POGOProtos.Data.Quests.AddFriendQuestOuterClass.AddFriendQuest.getDefaultInstance();
}
/**
* .POGOProtos.Data.Quests.AddFriendQuest add_friend = 5;
*/
public POGOProtos.Data.Quests.AddFriendQuestOuterClass.AddFriendQuestOrBuilder getAddFriendOrBuilder() {
if (questCase_ == 5) {
return (POGOProtos.Data.Quests.AddFriendQuestOuterClass.AddFriendQuest) quest_;
}
return POGOProtos.Data.Quests.AddFriendQuestOuterClass.AddFriendQuest.getDefaultInstance();
}
public static final int TRADE_POKEMON_FIELD_NUMBER = 6;
/**
* .POGOProtos.Data.Quests.TradePokemonQuest trade_pokemon = 6;
*/
public boolean hasTradePokemon() {
return questCase_ == 6;
}
/**
* .POGOProtos.Data.Quests.TradePokemonQuest trade_pokemon = 6;
*/
public POGOProtos.Data.Quests.TradePokemonQuestOuterClass.TradePokemonQuest getTradePokemon() {
if (questCase_ == 6) {
return (POGOProtos.Data.Quests.TradePokemonQuestOuterClass.TradePokemonQuest) quest_;
}
return POGOProtos.Data.Quests.TradePokemonQuestOuterClass.TradePokemonQuest.getDefaultInstance();
}
/**
* .POGOProtos.Data.Quests.TradePokemonQuest trade_pokemon = 6;
*/
public POGOProtos.Data.Quests.TradePokemonQuestOuterClass.TradePokemonQuestOrBuilder getTradePokemonOrBuilder() {
if (questCase_ == 6) {
return (POGOProtos.Data.Quests.TradePokemonQuestOuterClass.TradePokemonQuest) quest_;
}
return POGOProtos.Data.Quests.TradePokemonQuestOuterClass.TradePokemonQuest.getDefaultInstance();
}
public static final int QUEST_ID_FIELD_NUMBER = 100;
private volatile java.lang.Object questId_;
/**
* string quest_id = 100;
*/
public java.lang.String getQuestId() {
java.lang.Object ref = questId_;
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();
questId_ = s;
return s;
}
}
/**
* string quest_id = 100;
*/
public com.google.protobuf.ByteString
getQuestIdBytes() {
java.lang.Object ref = questId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
questId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int QUEST_SEED_FIELD_NUMBER = 101;
private long questSeed_;
/**
* int64 quest_seed = 101;
*/
public long getQuestSeed() {
return questSeed_;
}
public static final int QUEST_CONTEXT_FIELD_NUMBER = 102;
private int questContext_;
/**
* .POGOProtos.Data.Quests.Quest.Context quest_context = 102;
*/
public int getQuestContextValue() {
return questContext_;
}
/**
* .POGOProtos.Data.Quests.Quest.Context quest_context = 102;
*/
public POGOProtos.Data.Quests.QuestOuterClass.Quest.Context getQuestContext() {
@SuppressWarnings("deprecation")
POGOProtos.Data.Quests.QuestOuterClass.Quest.Context result = POGOProtos.Data.Quests.QuestOuterClass.Quest.Context.valueOf(questContext_);
return result == null ? POGOProtos.Data.Quests.QuestOuterClass.Quest.Context.UNRECOGNIZED : result;
}
public static final int TEMPLATE_ID_FIELD_NUMBER = 103;
private volatile java.lang.Object templateId_;
/**
* string template_id = 103;
*/
public java.lang.String getTemplateId() {
java.lang.Object ref = templateId_;
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();
templateId_ = s;
return s;
}
}
/**
* string template_id = 103;
*/
public com.google.protobuf.ByteString
getTemplateIdBytes() {
java.lang.Object ref = templateId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
templateId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PROGRESS_FIELD_NUMBER = 104;
private int progress_;
/**
* int32 progress = 104;
*/
public int getProgress() {
return progress_;
}
public static final int GOAL_FIELD_NUMBER = 105;
private POGOProtos.Data.Quests.QuestGoalOuterClass.QuestGoal goal_;
/**
* .POGOProtos.Data.Quests.QuestGoal goal = 105;
*/
public boolean hasGoal() {
return goal_ != null;
}
/**
* .POGOProtos.Data.Quests.QuestGoal goal = 105;
*/
public POGOProtos.Data.Quests.QuestGoalOuterClass.QuestGoal getGoal() {
return goal_ == null ? POGOProtos.Data.Quests.QuestGoalOuterClass.QuestGoal.getDefaultInstance() : goal_;
}
/**
* .POGOProtos.Data.Quests.QuestGoal goal = 105;
*/
public POGOProtos.Data.Quests.QuestGoalOuterClass.QuestGoalOrBuilder getGoalOrBuilder() {
return getGoal();
}
public static final int STATUS_FIELD_NUMBER = 106;
private int status_;
/**
* .POGOProtos.Data.Quests.Quest.Status status = 106;
*/
public int getStatusValue() {
return status_;
}
/**
* .POGOProtos.Data.Quests.Quest.Status status = 106;
*/
public POGOProtos.Data.Quests.QuestOuterClass.Quest.Status getStatus() {
@SuppressWarnings("deprecation")
POGOProtos.Data.Quests.QuestOuterClass.Quest.Status result = POGOProtos.Data.Quests.QuestOuterClass.Quest.Status.valueOf(status_);
return result == null ? POGOProtos.Data.Quests.QuestOuterClass.Quest.Status.UNRECOGNIZED : result;
}
public static final int QUEST_REWARDS_FIELD_NUMBER = 107;
private java.util.List questRewards_;
/**
* repeated .POGOProtos.Data.Quests.QuestReward quest_rewards = 107;
*/
public java.util.List getQuestRewardsList() {
return questRewards_;
}
/**
* repeated .POGOProtos.Data.Quests.QuestReward quest_rewards = 107;
*/
public java.util.List extends POGOProtos.Data.Quests.QuestRewardOuterClass.QuestRewardOrBuilder>
getQuestRewardsOrBuilderList() {
return questRewards_;
}
/**
* repeated .POGOProtos.Data.Quests.QuestReward quest_rewards = 107;
*/
public int getQuestRewardsCount() {
return questRewards_.size();
}
/**
* repeated .POGOProtos.Data.Quests.QuestReward quest_rewards = 107;
*/
public POGOProtos.Data.Quests.QuestRewardOuterClass.QuestReward getQuestRewards(int index) {
return questRewards_.get(index);
}
/**
* repeated .POGOProtos.Data.Quests.QuestReward quest_rewards = 107;
*/
public POGOProtos.Data.Quests.QuestRewardOuterClass.QuestRewardOrBuilder getQuestRewardsOrBuilder(
int index) {
return questRewards_.get(index);
}
public static final int CREATION_TIMESTAMP_MS_FIELD_NUMBER = 108;
private long creationTimestampMs_;
/**
* int64 creation_timestamp_ms = 108;
*/
public long getCreationTimestampMs() {
return creationTimestampMs_;
}
public static final int LAST_UPDATE_TIMESTAMP_MS_FIELD_NUMBER = 109;
private long lastUpdateTimestampMs_;
/**
* int64 last_update_timestamp_ms = 109;
*/
public long getLastUpdateTimestampMs() {
return lastUpdateTimestampMs_;
}
public static final int COMPELETION_TIMESTAMP_MS_FIELD_NUMBER = 110;
private long compeletionTimestampMs_;
/**
* int64 compeletion_timestamp_ms = 110;
*/
public long getCompeletionTimestampMs() {
return compeletionTimestampMs_;
}
public static final int FORT_ID_FIELD_NUMBER = 111;
private volatile java.lang.Object fortId_;
/**
* string fort_id = 111;
*/
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 = 111;
*/
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 ADMIN_GENERATED_FIELD_NUMBER = 112;
private boolean adminGenerated_;
/**
* bool admin_generated = 112;
*/
public boolean getAdminGenerated() {
return adminGenerated_;
}
public static final int STAMP_COUNT_OVERRIDE_ENABLED_FIELD_NUMBER = 113;
private boolean stampCountOverrideEnabled_;
/**
* bool stamp_count_override_enabled = 113;
*/
public boolean getStampCountOverrideEnabled() {
return stampCountOverrideEnabled_;
}
public static final int STAMP_COUNT_OVERRIDE_FIELD_NUMBER = 114;
private int stampCountOverride_;
/**
* int32 stamp_count_override = 114;
*/
public int getStampCountOverride() {
return stampCountOverride_;
}
public static final int S2_CELL_ID_FIELD_NUMBER = 115;
private long s2CellId_;
/**
* int64 s2_cell_id = 115;
*/
public long getS2CellId() {
return s2CellId_;
}
public static final int STORY_QUEST_TEMPLATE_VERSION_FIELD_NUMBER = 116;
private int storyQuestTemplateVersion_;
/**
* int32 story_quest_template_version = 116;
*/
public int getStoryQuestTemplateVersion() {
return storyQuestTemplateVersion_;
}
public static final int DAILY_COUNTER_FIELD_NUMBER = 117;
private POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter dailyCounter_;
/**
* .POGOProtos.Data.Quests.Quest.DailyCounter daily_counter = 117;
*/
public boolean hasDailyCounter() {
return dailyCounter_ != null;
}
/**
* .POGOProtos.Data.Quests.Quest.DailyCounter daily_counter = 117;
*/
public POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter getDailyCounter() {
return dailyCounter_ == null ? POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter.getDefaultInstance() : dailyCounter_;
}
/**
* .POGOProtos.Data.Quests.Quest.DailyCounter daily_counter = 117;
*/
public POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounterOrBuilder getDailyCounterOrBuilder() {
return getDailyCounter();
}
public static final int REWARD_POKEMON_ICON_URL_FIELD_NUMBER = 118;
private volatile java.lang.Object rewardPokemonIconUrl_;
/**
* string reward_pokemon_icon_url = 118;
*/
public java.lang.String getRewardPokemonIconUrl() {
java.lang.Object ref = rewardPokemonIconUrl_;
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();
rewardPokemonIconUrl_ = s;
return s;
}
}
/**
* string reward_pokemon_icon_url = 118;
*/
public com.google.protobuf.ByteString
getRewardPokemonIconUrlBytes() {
java.lang.Object ref = rewardPokemonIconUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
rewardPokemonIconUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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 (questType_ != POGOProtos.Enums.QuestTypeOuterClass.QuestType.QUEST_UNKNOWN_TYPE.getNumber()) {
output.writeEnum(1, questType_);
}
if (questCase_ == 2) {
output.writeMessage(2, (POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest) quest_);
}
if (questCase_ == 3) {
output.writeMessage(3, (POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest) quest_);
}
if (questCase_ == 4) {
output.writeMessage(4, (POGOProtos.Data.Quests.CatchPokemonQuestOuterClass.CatchPokemonQuest) quest_);
}
if (questCase_ == 5) {
output.writeMessage(5, (POGOProtos.Data.Quests.AddFriendQuestOuterClass.AddFriendQuest) quest_);
}
if (questCase_ == 6) {
output.writeMessage(6, (POGOProtos.Data.Quests.TradePokemonQuestOuterClass.TradePokemonQuest) quest_);
}
if (!getQuestIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 100, questId_);
}
if (questSeed_ != 0L) {
output.writeInt64(101, questSeed_);
}
if (questContext_ != POGOProtos.Data.Quests.QuestOuterClass.Quest.Context.UNSET.getNumber()) {
output.writeEnum(102, questContext_);
}
if (!getTemplateIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 103, templateId_);
}
if (progress_ != 0) {
output.writeInt32(104, progress_);
}
if (goal_ != null) {
output.writeMessage(105, getGoal());
}
if (status_ != POGOProtos.Data.Quests.QuestOuterClass.Quest.Status.STATUS_UNDEFINED.getNumber()) {
output.writeEnum(106, status_);
}
for (int i = 0; i < questRewards_.size(); i++) {
output.writeMessage(107, questRewards_.get(i));
}
if (creationTimestampMs_ != 0L) {
output.writeInt64(108, creationTimestampMs_);
}
if (lastUpdateTimestampMs_ != 0L) {
output.writeInt64(109, lastUpdateTimestampMs_);
}
if (compeletionTimestampMs_ != 0L) {
output.writeInt64(110, compeletionTimestampMs_);
}
if (!getFortIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 111, fortId_);
}
if (adminGenerated_ != false) {
output.writeBool(112, adminGenerated_);
}
if (stampCountOverrideEnabled_ != false) {
output.writeBool(113, stampCountOverrideEnabled_);
}
if (stampCountOverride_ != 0) {
output.writeInt32(114, stampCountOverride_);
}
if (s2CellId_ != 0L) {
output.writeInt64(115, s2CellId_);
}
if (storyQuestTemplateVersion_ != 0) {
output.writeInt32(116, storyQuestTemplateVersion_);
}
if (dailyCounter_ != null) {
output.writeMessage(117, getDailyCounter());
}
if (!getRewardPokemonIconUrlBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 118, rewardPokemonIconUrl_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (questType_ != POGOProtos.Enums.QuestTypeOuterClass.QuestType.QUEST_UNKNOWN_TYPE.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, questType_);
}
if (questCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, (POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest) quest_);
}
if (questCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, (POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest) quest_);
}
if (questCase_ == 4) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, (POGOProtos.Data.Quests.CatchPokemonQuestOuterClass.CatchPokemonQuest) quest_);
}
if (questCase_ == 5) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, (POGOProtos.Data.Quests.AddFriendQuestOuterClass.AddFriendQuest) quest_);
}
if (questCase_ == 6) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, (POGOProtos.Data.Quests.TradePokemonQuestOuterClass.TradePokemonQuest) quest_);
}
if (!getQuestIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(100, questId_);
}
if (questSeed_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(101, questSeed_);
}
if (questContext_ != POGOProtos.Data.Quests.QuestOuterClass.Quest.Context.UNSET.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(102, questContext_);
}
if (!getTemplateIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(103, templateId_);
}
if (progress_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(104, progress_);
}
if (goal_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(105, getGoal());
}
if (status_ != POGOProtos.Data.Quests.QuestOuterClass.Quest.Status.STATUS_UNDEFINED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(106, status_);
}
for (int i = 0; i < questRewards_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(107, questRewards_.get(i));
}
if (creationTimestampMs_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(108, creationTimestampMs_);
}
if (lastUpdateTimestampMs_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(109, lastUpdateTimestampMs_);
}
if (compeletionTimestampMs_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(110, compeletionTimestampMs_);
}
if (!getFortIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(111, fortId_);
}
if (adminGenerated_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(112, adminGenerated_);
}
if (stampCountOverrideEnabled_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(113, stampCountOverrideEnabled_);
}
if (stampCountOverride_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(114, stampCountOverride_);
}
if (s2CellId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(115, s2CellId_);
}
if (storyQuestTemplateVersion_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(116, storyQuestTemplateVersion_);
}
if (dailyCounter_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(117, getDailyCounter());
}
if (!getRewardPokemonIconUrlBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(118, rewardPokemonIconUrl_);
}
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.Quests.QuestOuterClass.Quest)) {
return super.equals(obj);
}
POGOProtos.Data.Quests.QuestOuterClass.Quest other = (POGOProtos.Data.Quests.QuestOuterClass.Quest) obj;
boolean result = true;
result = result && questType_ == other.questType_;
result = result && getQuestId()
.equals(other.getQuestId());
result = result && (getQuestSeed()
== other.getQuestSeed());
result = result && questContext_ == other.questContext_;
result = result && getTemplateId()
.equals(other.getTemplateId());
result = result && (getProgress()
== other.getProgress());
result = result && (hasGoal() == other.hasGoal());
if (hasGoal()) {
result = result && getGoal()
.equals(other.getGoal());
}
result = result && status_ == other.status_;
result = result && getQuestRewardsList()
.equals(other.getQuestRewardsList());
result = result && (getCreationTimestampMs()
== other.getCreationTimestampMs());
result = result && (getLastUpdateTimestampMs()
== other.getLastUpdateTimestampMs());
result = result && (getCompeletionTimestampMs()
== other.getCompeletionTimestampMs());
result = result && getFortId()
.equals(other.getFortId());
result = result && (getAdminGenerated()
== other.getAdminGenerated());
result = result && (getStampCountOverrideEnabled()
== other.getStampCountOverrideEnabled());
result = result && (getStampCountOverride()
== other.getStampCountOverride());
result = result && (getS2CellId()
== other.getS2CellId());
result = result && (getStoryQuestTemplateVersion()
== other.getStoryQuestTemplateVersion());
result = result && (hasDailyCounter() == other.hasDailyCounter());
if (hasDailyCounter()) {
result = result && getDailyCounter()
.equals(other.getDailyCounter());
}
result = result && getRewardPokemonIconUrl()
.equals(other.getRewardPokemonIconUrl());
result = result && getQuestCase().equals(
other.getQuestCase());
if (!result) return false;
switch (questCase_) {
case 2:
result = result && getDailyQuest()
.equals(other.getDailyQuest());
break;
case 3:
result = result && getMultiPart()
.equals(other.getMultiPart());
break;
case 4:
result = result && getCatchPokemon()
.equals(other.getCatchPokemon());
break;
case 5:
result = result && getAddFriend()
.equals(other.getAddFriend());
break;
case 6:
result = result && getTradePokemon()
.equals(other.getTradePokemon());
break;
case 0:
default:
}
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) + QUEST_TYPE_FIELD_NUMBER;
hash = (53 * hash) + questType_;
hash = (37 * hash) + QUEST_ID_FIELD_NUMBER;
hash = (53 * hash) + getQuestId().hashCode();
hash = (37 * hash) + QUEST_SEED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getQuestSeed());
hash = (37 * hash) + QUEST_CONTEXT_FIELD_NUMBER;
hash = (53 * hash) + questContext_;
hash = (37 * hash) + TEMPLATE_ID_FIELD_NUMBER;
hash = (53 * hash) + getTemplateId().hashCode();
hash = (37 * hash) + PROGRESS_FIELD_NUMBER;
hash = (53 * hash) + getProgress();
if (hasGoal()) {
hash = (37 * hash) + GOAL_FIELD_NUMBER;
hash = (53 * hash) + getGoal().hashCode();
}
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + status_;
if (getQuestRewardsCount() > 0) {
hash = (37 * hash) + QUEST_REWARDS_FIELD_NUMBER;
hash = (53 * hash) + getQuestRewardsList().hashCode();
}
hash = (37 * hash) + CREATION_TIMESTAMP_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCreationTimestampMs());
hash = (37 * hash) + LAST_UPDATE_TIMESTAMP_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getLastUpdateTimestampMs());
hash = (37 * hash) + COMPELETION_TIMESTAMP_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCompeletionTimestampMs());
hash = (37 * hash) + FORT_ID_FIELD_NUMBER;
hash = (53 * hash) + getFortId().hashCode();
hash = (37 * hash) + ADMIN_GENERATED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getAdminGenerated());
hash = (37 * hash) + STAMP_COUNT_OVERRIDE_ENABLED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getStampCountOverrideEnabled());
hash = (37 * hash) + STAMP_COUNT_OVERRIDE_FIELD_NUMBER;
hash = (53 * hash) + getStampCountOverride();
hash = (37 * hash) + S2_CELL_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getS2CellId());
hash = (37 * hash) + STORY_QUEST_TEMPLATE_VERSION_FIELD_NUMBER;
hash = (53 * hash) + getStoryQuestTemplateVersion();
if (hasDailyCounter()) {
hash = (37 * hash) + DAILY_COUNTER_FIELD_NUMBER;
hash = (53 * hash) + getDailyCounter().hashCode();
}
hash = (37 * hash) + REWARD_POKEMON_ICON_URL_FIELD_NUMBER;
hash = (53 * hash) + getRewardPokemonIconUrl().hashCode();
switch (questCase_) {
case 2:
hash = (37 * hash) + DAILY_QUEST_FIELD_NUMBER;
hash = (53 * hash) + getDailyQuest().hashCode();
break;
case 3:
hash = (37 * hash) + MULTI_PART_FIELD_NUMBER;
hash = (53 * hash) + getMultiPart().hashCode();
break;
case 4:
hash = (37 * hash) + CATCH_POKEMON_FIELD_NUMBER;
hash = (53 * hash) + getCatchPokemon().hashCode();
break;
case 5:
hash = (37 * hash) + ADD_FRIEND_FIELD_NUMBER;
hash = (53 * hash) + getAddFriend().hashCode();
break;
case 6:
hash = (37 * hash) + TRADE_POKEMON_FIELD_NUMBER;
hash = (53 * hash) + getTradePokemon().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Data.Quests.QuestOuterClass.Quest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestOuterClass.Quest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Quests.QuestOuterClass.Quest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestOuterClass.Quest 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.Quests.QuestOuterClass.Quest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestOuterClass.Quest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Quests.QuestOuterClass.Quest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestOuterClass.Quest 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.Quests.QuestOuterClass.Quest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestOuterClass.Quest 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.Quests.QuestOuterClass.Quest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestOuterClass.Quest 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.Quests.QuestOuterClass.Quest 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.Quests.Quest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Data.Quests.Quest)
POGOProtos.Data.Quests.QuestOuterClass.QuestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Quests.QuestOuterClass.internal_static_POGOProtos_Data_Quests_Quest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.QuestOuterClass.internal_static_POGOProtos_Data_Quests_Quest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.QuestOuterClass.Quest.class, POGOProtos.Data.Quests.QuestOuterClass.Quest.Builder.class);
}
// Construct using POGOProtos.Data.Quests.QuestOuterClass.Quest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getQuestRewardsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
questType_ = 0;
questId_ = "";
questSeed_ = 0L;
questContext_ = 0;
templateId_ = "";
progress_ = 0;
if (goalBuilder_ == null) {
goal_ = null;
} else {
goal_ = null;
goalBuilder_ = null;
}
status_ = 0;
if (questRewardsBuilder_ == null) {
questRewards_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00002000);
} else {
questRewardsBuilder_.clear();
}
creationTimestampMs_ = 0L;
lastUpdateTimestampMs_ = 0L;
compeletionTimestampMs_ = 0L;
fortId_ = "";
adminGenerated_ = false;
stampCountOverrideEnabled_ = false;
stampCountOverride_ = 0;
s2CellId_ = 0L;
storyQuestTemplateVersion_ = 0;
if (dailyCounterBuilder_ == null) {
dailyCounter_ = null;
} else {
dailyCounter_ = null;
dailyCounterBuilder_ = null;
}
rewardPokemonIconUrl_ = "";
questCase_ = 0;
quest_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Data.Quests.QuestOuterClass.internal_static_POGOProtos_Data_Quests_Quest_descriptor;
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestOuterClass.Quest getDefaultInstanceForType() {
return POGOProtos.Data.Quests.QuestOuterClass.Quest.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestOuterClass.Quest build() {
POGOProtos.Data.Quests.QuestOuterClass.Quest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestOuterClass.Quest buildPartial() {
POGOProtos.Data.Quests.QuestOuterClass.Quest result = new POGOProtos.Data.Quests.QuestOuterClass.Quest(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.questType_ = questType_;
if (questCase_ == 2) {
if (dailyQuestBuilder_ == null) {
result.quest_ = quest_;
} else {
result.quest_ = dailyQuestBuilder_.build();
}
}
if (questCase_ == 3) {
if (multiPartBuilder_ == null) {
result.quest_ = quest_;
} else {
result.quest_ = multiPartBuilder_.build();
}
}
if (questCase_ == 4) {
if (catchPokemonBuilder_ == null) {
result.quest_ = quest_;
} else {
result.quest_ = catchPokemonBuilder_.build();
}
}
if (questCase_ == 5) {
if (addFriendBuilder_ == null) {
result.quest_ = quest_;
} else {
result.quest_ = addFriendBuilder_.build();
}
}
if (questCase_ == 6) {
if (tradePokemonBuilder_ == null) {
result.quest_ = quest_;
} else {
result.quest_ = tradePokemonBuilder_.build();
}
}
result.questId_ = questId_;
result.questSeed_ = questSeed_;
result.questContext_ = questContext_;
result.templateId_ = templateId_;
result.progress_ = progress_;
if (goalBuilder_ == null) {
result.goal_ = goal_;
} else {
result.goal_ = goalBuilder_.build();
}
result.status_ = status_;
if (questRewardsBuilder_ == null) {
if (((bitField0_ & 0x00002000) == 0x00002000)) {
questRewards_ = java.util.Collections.unmodifiableList(questRewards_);
bitField0_ = (bitField0_ & ~0x00002000);
}
result.questRewards_ = questRewards_;
} else {
result.questRewards_ = questRewardsBuilder_.build();
}
result.creationTimestampMs_ = creationTimestampMs_;
result.lastUpdateTimestampMs_ = lastUpdateTimestampMs_;
result.compeletionTimestampMs_ = compeletionTimestampMs_;
result.fortId_ = fortId_;
result.adminGenerated_ = adminGenerated_;
result.stampCountOverrideEnabled_ = stampCountOverrideEnabled_;
result.stampCountOverride_ = stampCountOverride_;
result.s2CellId_ = s2CellId_;
result.storyQuestTemplateVersion_ = storyQuestTemplateVersion_;
if (dailyCounterBuilder_ == null) {
result.dailyCounter_ = dailyCounter_;
} else {
result.dailyCounter_ = dailyCounterBuilder_.build();
}
result.rewardPokemonIconUrl_ = rewardPokemonIconUrl_;
result.bitField0_ = to_bitField0_;
result.questCase_ = questCase_;
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.Quests.QuestOuterClass.Quest) {
return mergeFrom((POGOProtos.Data.Quests.QuestOuterClass.Quest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Data.Quests.QuestOuterClass.Quest other) {
if (other == POGOProtos.Data.Quests.QuestOuterClass.Quest.getDefaultInstance()) return this;
if (other.questType_ != 0) {
setQuestTypeValue(other.getQuestTypeValue());
}
if (!other.getQuestId().isEmpty()) {
questId_ = other.questId_;
onChanged();
}
if (other.getQuestSeed() != 0L) {
setQuestSeed(other.getQuestSeed());
}
if (other.questContext_ != 0) {
setQuestContextValue(other.getQuestContextValue());
}
if (!other.getTemplateId().isEmpty()) {
templateId_ = other.templateId_;
onChanged();
}
if (other.getProgress() != 0) {
setProgress(other.getProgress());
}
if (other.hasGoal()) {
mergeGoal(other.getGoal());
}
if (other.status_ != 0) {
setStatusValue(other.getStatusValue());
}
if (questRewardsBuilder_ == null) {
if (!other.questRewards_.isEmpty()) {
if (questRewards_.isEmpty()) {
questRewards_ = other.questRewards_;
bitField0_ = (bitField0_ & ~0x00002000);
} else {
ensureQuestRewardsIsMutable();
questRewards_.addAll(other.questRewards_);
}
onChanged();
}
} else {
if (!other.questRewards_.isEmpty()) {
if (questRewardsBuilder_.isEmpty()) {
questRewardsBuilder_.dispose();
questRewardsBuilder_ = null;
questRewards_ = other.questRewards_;
bitField0_ = (bitField0_ & ~0x00002000);
questRewardsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getQuestRewardsFieldBuilder() : null;
} else {
questRewardsBuilder_.addAllMessages(other.questRewards_);
}
}
}
if (other.getCreationTimestampMs() != 0L) {
setCreationTimestampMs(other.getCreationTimestampMs());
}
if (other.getLastUpdateTimestampMs() != 0L) {
setLastUpdateTimestampMs(other.getLastUpdateTimestampMs());
}
if (other.getCompeletionTimestampMs() != 0L) {
setCompeletionTimestampMs(other.getCompeletionTimestampMs());
}
if (!other.getFortId().isEmpty()) {
fortId_ = other.fortId_;
onChanged();
}
if (other.getAdminGenerated() != false) {
setAdminGenerated(other.getAdminGenerated());
}
if (other.getStampCountOverrideEnabled() != false) {
setStampCountOverrideEnabled(other.getStampCountOverrideEnabled());
}
if (other.getStampCountOverride() != 0) {
setStampCountOverride(other.getStampCountOverride());
}
if (other.getS2CellId() != 0L) {
setS2CellId(other.getS2CellId());
}
if (other.getStoryQuestTemplateVersion() != 0) {
setStoryQuestTemplateVersion(other.getStoryQuestTemplateVersion());
}
if (other.hasDailyCounter()) {
mergeDailyCounter(other.getDailyCounter());
}
if (!other.getRewardPokemonIconUrl().isEmpty()) {
rewardPokemonIconUrl_ = other.rewardPokemonIconUrl_;
onChanged();
}
switch (other.getQuestCase()) {
case DAILY_QUEST: {
mergeDailyQuest(other.getDailyQuest());
break;
}
case MULTI_PART: {
mergeMultiPart(other.getMultiPart());
break;
}
case CATCH_POKEMON: {
mergeCatchPokemon(other.getCatchPokemon());
break;
}
case ADD_FRIEND: {
mergeAddFriend(other.getAddFriend());
break;
}
case TRADE_POKEMON: {
mergeTradePokemon(other.getTradePokemon());
break;
}
case QUEST_NOT_SET: {
break;
}
}
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.Quests.QuestOuterClass.Quest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Data.Quests.QuestOuterClass.Quest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int questCase_ = 0;
private java.lang.Object quest_;
public QuestCase
getQuestCase() {
return QuestCase.forNumber(
questCase_);
}
public Builder clearQuest() {
questCase_ = 0;
quest_ = null;
onChanged();
return this;
}
private int bitField0_;
private int questType_ = 0;
/**
* .POGOProtos.Enums.QuestType quest_type = 1;
*/
public int getQuestTypeValue() {
return questType_;
}
/**
* .POGOProtos.Enums.QuestType quest_type = 1;
*/
public Builder setQuestTypeValue(int value) {
questType_ = value;
onChanged();
return this;
}
/**
* .POGOProtos.Enums.QuestType quest_type = 1;
*/
public POGOProtos.Enums.QuestTypeOuterClass.QuestType getQuestType() {
@SuppressWarnings("deprecation")
POGOProtos.Enums.QuestTypeOuterClass.QuestType result = POGOProtos.Enums.QuestTypeOuterClass.QuestType.valueOf(questType_);
return result == null ? POGOProtos.Enums.QuestTypeOuterClass.QuestType.UNRECOGNIZED : result;
}
/**
* .POGOProtos.Enums.QuestType quest_type = 1;
*/
public Builder setQuestType(POGOProtos.Enums.QuestTypeOuterClass.QuestType value) {
if (value == null) {
throw new NullPointerException();
}
questType_ = value.getNumber();
onChanged();
return this;
}
/**
* .POGOProtos.Enums.QuestType quest_type = 1;
*/
public Builder clearQuestType() {
questType_ = 0;
onChanged();
return this;
}
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest, POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest.Builder, POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuestOrBuilder> dailyQuestBuilder_;
/**
* .POGOProtos.Data.Quests.Quest.DailyQuest daily_quest = 2;
*/
public boolean hasDailyQuest() {
return questCase_ == 2;
}
/**
* .POGOProtos.Data.Quests.Quest.DailyQuest daily_quest = 2;
*/
public POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest getDailyQuest() {
if (dailyQuestBuilder_ == null) {
if (questCase_ == 2) {
return (POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest) quest_;
}
return POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest.getDefaultInstance();
} else {
if (questCase_ == 2) {
return dailyQuestBuilder_.getMessage();
}
return POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest.getDefaultInstance();
}
}
/**
* .POGOProtos.Data.Quests.Quest.DailyQuest daily_quest = 2;
*/
public Builder setDailyQuest(POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest value) {
if (dailyQuestBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
quest_ = value;
onChanged();
} else {
dailyQuestBuilder_.setMessage(value);
}
questCase_ = 2;
return this;
}
/**
* .POGOProtos.Data.Quests.Quest.DailyQuest daily_quest = 2;
*/
public Builder setDailyQuest(
POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest.Builder builderForValue) {
if (dailyQuestBuilder_ == null) {
quest_ = builderForValue.build();
onChanged();
} else {
dailyQuestBuilder_.setMessage(builderForValue.build());
}
questCase_ = 2;
return this;
}
/**
* .POGOProtos.Data.Quests.Quest.DailyQuest daily_quest = 2;
*/
public Builder mergeDailyQuest(POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest value) {
if (dailyQuestBuilder_ == null) {
if (questCase_ == 2 &&
quest_ != POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest.getDefaultInstance()) {
quest_ = POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest.newBuilder((POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest) quest_)
.mergeFrom(value).buildPartial();
} else {
quest_ = value;
}
onChanged();
} else {
if (questCase_ == 2) {
dailyQuestBuilder_.mergeFrom(value);
}
dailyQuestBuilder_.setMessage(value);
}
questCase_ = 2;
return this;
}
/**
* .POGOProtos.Data.Quests.Quest.DailyQuest daily_quest = 2;
*/
public Builder clearDailyQuest() {
if (dailyQuestBuilder_ == null) {
if (questCase_ == 2) {
questCase_ = 0;
quest_ = null;
onChanged();
}
} else {
if (questCase_ == 2) {
questCase_ = 0;
quest_ = null;
}
dailyQuestBuilder_.clear();
}
return this;
}
/**
* .POGOProtos.Data.Quests.Quest.DailyQuest daily_quest = 2;
*/
public POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest.Builder getDailyQuestBuilder() {
return getDailyQuestFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Data.Quests.Quest.DailyQuest daily_quest = 2;
*/
public POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuestOrBuilder getDailyQuestOrBuilder() {
if ((questCase_ == 2) && (dailyQuestBuilder_ != null)) {
return dailyQuestBuilder_.getMessageOrBuilder();
} else {
if (questCase_ == 2) {
return (POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest) quest_;
}
return POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest.getDefaultInstance();
}
}
/**
* .POGOProtos.Data.Quests.Quest.DailyQuest daily_quest = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest, POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest.Builder, POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuestOrBuilder>
getDailyQuestFieldBuilder() {
if (dailyQuestBuilder_ == null) {
if (!(questCase_ == 2)) {
quest_ = POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest.getDefaultInstance();
}
dailyQuestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest, POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest.Builder, POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuestOrBuilder>(
(POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyQuest) quest_,
getParentForChildren(),
isClean());
quest_ = null;
}
questCase_ = 2;
onChanged();;
return dailyQuestBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest, POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest.Builder, POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuestOrBuilder> multiPartBuilder_;
/**
* .POGOProtos.Data.Quests.Quest.MultiPartQuest multi_part = 3;
*/
public boolean hasMultiPart() {
return questCase_ == 3;
}
/**
* .POGOProtos.Data.Quests.Quest.MultiPartQuest multi_part = 3;
*/
public POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest getMultiPart() {
if (multiPartBuilder_ == null) {
if (questCase_ == 3) {
return (POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest) quest_;
}
return POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest.getDefaultInstance();
} else {
if (questCase_ == 3) {
return multiPartBuilder_.getMessage();
}
return POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest.getDefaultInstance();
}
}
/**
* .POGOProtos.Data.Quests.Quest.MultiPartQuest multi_part = 3;
*/
public Builder setMultiPart(POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest value) {
if (multiPartBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
quest_ = value;
onChanged();
} else {
multiPartBuilder_.setMessage(value);
}
questCase_ = 3;
return this;
}
/**
* .POGOProtos.Data.Quests.Quest.MultiPartQuest multi_part = 3;
*/
public Builder setMultiPart(
POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest.Builder builderForValue) {
if (multiPartBuilder_ == null) {
quest_ = builderForValue.build();
onChanged();
} else {
multiPartBuilder_.setMessage(builderForValue.build());
}
questCase_ = 3;
return this;
}
/**
* .POGOProtos.Data.Quests.Quest.MultiPartQuest multi_part = 3;
*/
public Builder mergeMultiPart(POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest value) {
if (multiPartBuilder_ == null) {
if (questCase_ == 3 &&
quest_ != POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest.getDefaultInstance()) {
quest_ = POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest.newBuilder((POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest) quest_)
.mergeFrom(value).buildPartial();
} else {
quest_ = value;
}
onChanged();
} else {
if (questCase_ == 3) {
multiPartBuilder_.mergeFrom(value);
}
multiPartBuilder_.setMessage(value);
}
questCase_ = 3;
return this;
}
/**
* .POGOProtos.Data.Quests.Quest.MultiPartQuest multi_part = 3;
*/
public Builder clearMultiPart() {
if (multiPartBuilder_ == null) {
if (questCase_ == 3) {
questCase_ = 0;
quest_ = null;
onChanged();
}
} else {
if (questCase_ == 3) {
questCase_ = 0;
quest_ = null;
}
multiPartBuilder_.clear();
}
return this;
}
/**
* .POGOProtos.Data.Quests.Quest.MultiPartQuest multi_part = 3;
*/
public POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest.Builder getMultiPartBuilder() {
return getMultiPartFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Data.Quests.Quest.MultiPartQuest multi_part = 3;
*/
public POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuestOrBuilder getMultiPartOrBuilder() {
if ((questCase_ == 3) && (multiPartBuilder_ != null)) {
return multiPartBuilder_.getMessageOrBuilder();
} else {
if (questCase_ == 3) {
return (POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest) quest_;
}
return POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest.getDefaultInstance();
}
}
/**
* .POGOProtos.Data.Quests.Quest.MultiPartQuest multi_part = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest, POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest.Builder, POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuestOrBuilder>
getMultiPartFieldBuilder() {
if (multiPartBuilder_ == null) {
if (!(questCase_ == 3)) {
quest_ = POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest.getDefaultInstance();
}
multiPartBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest, POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest.Builder, POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuestOrBuilder>(
(POGOProtos.Data.Quests.QuestOuterClass.Quest.MultiPartQuest) quest_,
getParentForChildren(),
isClean());
quest_ = null;
}
questCase_ = 3;
onChanged();;
return multiPartBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.CatchPokemonQuestOuterClass.CatchPokemonQuest, POGOProtos.Data.Quests.CatchPokemonQuestOuterClass.CatchPokemonQuest.Builder, POGOProtos.Data.Quests.CatchPokemonQuestOuterClass.CatchPokemonQuestOrBuilder> catchPokemonBuilder_;
/**
* .POGOProtos.Data.Quests.CatchPokemonQuest catch_pokemon = 4;
*/
public boolean hasCatchPokemon() {
return questCase_ == 4;
}
/**
* .POGOProtos.Data.Quests.CatchPokemonQuest catch_pokemon = 4;
*/
public POGOProtos.Data.Quests.CatchPokemonQuestOuterClass.CatchPokemonQuest getCatchPokemon() {
if (catchPokemonBuilder_ == null) {
if (questCase_ == 4) {
return (POGOProtos.Data.Quests.CatchPokemonQuestOuterClass.CatchPokemonQuest) quest_;
}
return POGOProtos.Data.Quests.CatchPokemonQuestOuterClass.CatchPokemonQuest.getDefaultInstance();
} else {
if (questCase_ == 4) {
return catchPokemonBuilder_.getMessage();
}
return POGOProtos.Data.Quests.CatchPokemonQuestOuterClass.CatchPokemonQuest.getDefaultInstance();
}
}
/**
* .POGOProtos.Data.Quests.CatchPokemonQuest catch_pokemon = 4;
*/
public Builder setCatchPokemon(POGOProtos.Data.Quests.CatchPokemonQuestOuterClass.CatchPokemonQuest value) {
if (catchPokemonBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
quest_ = value;
onChanged();
} else {
catchPokemonBuilder_.setMessage(value);
}
questCase_ = 4;
return this;
}
/**
* .POGOProtos.Data.Quests.CatchPokemonQuest catch_pokemon = 4;
*/
public Builder setCatchPokemon(
POGOProtos.Data.Quests.CatchPokemonQuestOuterClass.CatchPokemonQuest.Builder builderForValue) {
if (catchPokemonBuilder_ == null) {
quest_ = builderForValue.build();
onChanged();
} else {
catchPokemonBuilder_.setMessage(builderForValue.build());
}
questCase_ = 4;
return this;
}
/**
* .POGOProtos.Data.Quests.CatchPokemonQuest catch_pokemon = 4;
*/
public Builder mergeCatchPokemon(POGOProtos.Data.Quests.CatchPokemonQuestOuterClass.CatchPokemonQuest value) {
if (catchPokemonBuilder_ == null) {
if (questCase_ == 4 &&
quest_ != POGOProtos.Data.Quests.CatchPokemonQuestOuterClass.CatchPokemonQuest.getDefaultInstance()) {
quest_ = POGOProtos.Data.Quests.CatchPokemonQuestOuterClass.CatchPokemonQuest.newBuilder((POGOProtos.Data.Quests.CatchPokemonQuestOuterClass.CatchPokemonQuest) quest_)
.mergeFrom(value).buildPartial();
} else {
quest_ = value;
}
onChanged();
} else {
if (questCase_ == 4) {
catchPokemonBuilder_.mergeFrom(value);
}
catchPokemonBuilder_.setMessage(value);
}
questCase_ = 4;
return this;
}
/**
* .POGOProtos.Data.Quests.CatchPokemonQuest catch_pokemon = 4;
*/
public Builder clearCatchPokemon() {
if (catchPokemonBuilder_ == null) {
if (questCase_ == 4) {
questCase_ = 0;
quest_ = null;
onChanged();
}
} else {
if (questCase_ == 4) {
questCase_ = 0;
quest_ = null;
}
catchPokemonBuilder_.clear();
}
return this;
}
/**
* .POGOProtos.Data.Quests.CatchPokemonQuest catch_pokemon = 4;
*/
public POGOProtos.Data.Quests.CatchPokemonQuestOuterClass.CatchPokemonQuest.Builder getCatchPokemonBuilder() {
return getCatchPokemonFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Data.Quests.CatchPokemonQuest catch_pokemon = 4;
*/
public POGOProtos.Data.Quests.CatchPokemonQuestOuterClass.CatchPokemonQuestOrBuilder getCatchPokemonOrBuilder() {
if ((questCase_ == 4) && (catchPokemonBuilder_ != null)) {
return catchPokemonBuilder_.getMessageOrBuilder();
} else {
if (questCase_ == 4) {
return (POGOProtos.Data.Quests.CatchPokemonQuestOuterClass.CatchPokemonQuest) quest_;
}
return POGOProtos.Data.Quests.CatchPokemonQuestOuterClass.CatchPokemonQuest.getDefaultInstance();
}
}
/**
* .POGOProtos.Data.Quests.CatchPokemonQuest catch_pokemon = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.CatchPokemonQuestOuterClass.CatchPokemonQuest, POGOProtos.Data.Quests.CatchPokemonQuestOuterClass.CatchPokemonQuest.Builder, POGOProtos.Data.Quests.CatchPokemonQuestOuterClass.CatchPokemonQuestOrBuilder>
getCatchPokemonFieldBuilder() {
if (catchPokemonBuilder_ == null) {
if (!(questCase_ == 4)) {
quest_ = POGOProtos.Data.Quests.CatchPokemonQuestOuterClass.CatchPokemonQuest.getDefaultInstance();
}
catchPokemonBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.CatchPokemonQuestOuterClass.CatchPokemonQuest, POGOProtos.Data.Quests.CatchPokemonQuestOuterClass.CatchPokemonQuest.Builder, POGOProtos.Data.Quests.CatchPokemonQuestOuterClass.CatchPokemonQuestOrBuilder>(
(POGOProtos.Data.Quests.CatchPokemonQuestOuterClass.CatchPokemonQuest) quest_,
getParentForChildren(),
isClean());
quest_ = null;
}
questCase_ = 4;
onChanged();;
return catchPokemonBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.AddFriendQuestOuterClass.AddFriendQuest, POGOProtos.Data.Quests.AddFriendQuestOuterClass.AddFriendQuest.Builder, POGOProtos.Data.Quests.AddFriendQuestOuterClass.AddFriendQuestOrBuilder> addFriendBuilder_;
/**
* .POGOProtos.Data.Quests.AddFriendQuest add_friend = 5;
*/
public boolean hasAddFriend() {
return questCase_ == 5;
}
/**
* .POGOProtos.Data.Quests.AddFriendQuest add_friend = 5;
*/
public POGOProtos.Data.Quests.AddFriendQuestOuterClass.AddFriendQuest getAddFriend() {
if (addFriendBuilder_ == null) {
if (questCase_ == 5) {
return (POGOProtos.Data.Quests.AddFriendQuestOuterClass.AddFriendQuest) quest_;
}
return POGOProtos.Data.Quests.AddFriendQuestOuterClass.AddFriendQuest.getDefaultInstance();
} else {
if (questCase_ == 5) {
return addFriendBuilder_.getMessage();
}
return POGOProtos.Data.Quests.AddFriendQuestOuterClass.AddFriendQuest.getDefaultInstance();
}
}
/**
* .POGOProtos.Data.Quests.AddFriendQuest add_friend = 5;
*/
public Builder setAddFriend(POGOProtos.Data.Quests.AddFriendQuestOuterClass.AddFriendQuest value) {
if (addFriendBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
quest_ = value;
onChanged();
} else {
addFriendBuilder_.setMessage(value);
}
questCase_ = 5;
return this;
}
/**
* .POGOProtos.Data.Quests.AddFriendQuest add_friend = 5;
*/
public Builder setAddFriend(
POGOProtos.Data.Quests.AddFriendQuestOuterClass.AddFriendQuest.Builder builderForValue) {
if (addFriendBuilder_ == null) {
quest_ = builderForValue.build();
onChanged();
} else {
addFriendBuilder_.setMessage(builderForValue.build());
}
questCase_ = 5;
return this;
}
/**
* .POGOProtos.Data.Quests.AddFriendQuest add_friend = 5;
*/
public Builder mergeAddFriend(POGOProtos.Data.Quests.AddFriendQuestOuterClass.AddFriendQuest value) {
if (addFriendBuilder_ == null) {
if (questCase_ == 5 &&
quest_ != POGOProtos.Data.Quests.AddFriendQuestOuterClass.AddFriendQuest.getDefaultInstance()) {
quest_ = POGOProtos.Data.Quests.AddFriendQuestOuterClass.AddFriendQuest.newBuilder((POGOProtos.Data.Quests.AddFriendQuestOuterClass.AddFriendQuest) quest_)
.mergeFrom(value).buildPartial();
} else {
quest_ = value;
}
onChanged();
} else {
if (questCase_ == 5) {
addFriendBuilder_.mergeFrom(value);
}
addFriendBuilder_.setMessage(value);
}
questCase_ = 5;
return this;
}
/**
* .POGOProtos.Data.Quests.AddFriendQuest add_friend = 5;
*/
public Builder clearAddFriend() {
if (addFriendBuilder_ == null) {
if (questCase_ == 5) {
questCase_ = 0;
quest_ = null;
onChanged();
}
} else {
if (questCase_ == 5) {
questCase_ = 0;
quest_ = null;
}
addFriendBuilder_.clear();
}
return this;
}
/**
* .POGOProtos.Data.Quests.AddFriendQuest add_friend = 5;
*/
public POGOProtos.Data.Quests.AddFriendQuestOuterClass.AddFriendQuest.Builder getAddFriendBuilder() {
return getAddFriendFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Data.Quests.AddFriendQuest add_friend = 5;
*/
public POGOProtos.Data.Quests.AddFriendQuestOuterClass.AddFriendQuestOrBuilder getAddFriendOrBuilder() {
if ((questCase_ == 5) && (addFriendBuilder_ != null)) {
return addFriendBuilder_.getMessageOrBuilder();
} else {
if (questCase_ == 5) {
return (POGOProtos.Data.Quests.AddFriendQuestOuterClass.AddFriendQuest) quest_;
}
return POGOProtos.Data.Quests.AddFriendQuestOuterClass.AddFriendQuest.getDefaultInstance();
}
}
/**
* .POGOProtos.Data.Quests.AddFriendQuest add_friend = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.AddFriendQuestOuterClass.AddFriendQuest, POGOProtos.Data.Quests.AddFriendQuestOuterClass.AddFriendQuest.Builder, POGOProtos.Data.Quests.AddFriendQuestOuterClass.AddFriendQuestOrBuilder>
getAddFriendFieldBuilder() {
if (addFriendBuilder_ == null) {
if (!(questCase_ == 5)) {
quest_ = POGOProtos.Data.Quests.AddFriendQuestOuterClass.AddFriendQuest.getDefaultInstance();
}
addFriendBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.AddFriendQuestOuterClass.AddFriendQuest, POGOProtos.Data.Quests.AddFriendQuestOuterClass.AddFriendQuest.Builder, POGOProtos.Data.Quests.AddFriendQuestOuterClass.AddFriendQuestOrBuilder>(
(POGOProtos.Data.Quests.AddFriendQuestOuterClass.AddFriendQuest) quest_,
getParentForChildren(),
isClean());
quest_ = null;
}
questCase_ = 5;
onChanged();;
return addFriendBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.TradePokemonQuestOuterClass.TradePokemonQuest, POGOProtos.Data.Quests.TradePokemonQuestOuterClass.TradePokemonQuest.Builder, POGOProtos.Data.Quests.TradePokemonQuestOuterClass.TradePokemonQuestOrBuilder> tradePokemonBuilder_;
/**
* .POGOProtos.Data.Quests.TradePokemonQuest trade_pokemon = 6;
*/
public boolean hasTradePokemon() {
return questCase_ == 6;
}
/**
* .POGOProtos.Data.Quests.TradePokemonQuest trade_pokemon = 6;
*/
public POGOProtos.Data.Quests.TradePokemonQuestOuterClass.TradePokemonQuest getTradePokemon() {
if (tradePokemonBuilder_ == null) {
if (questCase_ == 6) {
return (POGOProtos.Data.Quests.TradePokemonQuestOuterClass.TradePokemonQuest) quest_;
}
return POGOProtos.Data.Quests.TradePokemonQuestOuterClass.TradePokemonQuest.getDefaultInstance();
} else {
if (questCase_ == 6) {
return tradePokemonBuilder_.getMessage();
}
return POGOProtos.Data.Quests.TradePokemonQuestOuterClass.TradePokemonQuest.getDefaultInstance();
}
}
/**
* .POGOProtos.Data.Quests.TradePokemonQuest trade_pokemon = 6;
*/
public Builder setTradePokemon(POGOProtos.Data.Quests.TradePokemonQuestOuterClass.TradePokemonQuest value) {
if (tradePokemonBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
quest_ = value;
onChanged();
} else {
tradePokemonBuilder_.setMessage(value);
}
questCase_ = 6;
return this;
}
/**
* .POGOProtos.Data.Quests.TradePokemonQuest trade_pokemon = 6;
*/
public Builder setTradePokemon(
POGOProtos.Data.Quests.TradePokemonQuestOuterClass.TradePokemonQuest.Builder builderForValue) {
if (tradePokemonBuilder_ == null) {
quest_ = builderForValue.build();
onChanged();
} else {
tradePokemonBuilder_.setMessage(builderForValue.build());
}
questCase_ = 6;
return this;
}
/**
* .POGOProtos.Data.Quests.TradePokemonQuest trade_pokemon = 6;
*/
public Builder mergeTradePokemon(POGOProtos.Data.Quests.TradePokemonQuestOuterClass.TradePokemonQuest value) {
if (tradePokemonBuilder_ == null) {
if (questCase_ == 6 &&
quest_ != POGOProtos.Data.Quests.TradePokemonQuestOuterClass.TradePokemonQuest.getDefaultInstance()) {
quest_ = POGOProtos.Data.Quests.TradePokemonQuestOuterClass.TradePokemonQuest.newBuilder((POGOProtos.Data.Quests.TradePokemonQuestOuterClass.TradePokemonQuest) quest_)
.mergeFrom(value).buildPartial();
} else {
quest_ = value;
}
onChanged();
} else {
if (questCase_ == 6) {
tradePokemonBuilder_.mergeFrom(value);
}
tradePokemonBuilder_.setMessage(value);
}
questCase_ = 6;
return this;
}
/**
* .POGOProtos.Data.Quests.TradePokemonQuest trade_pokemon = 6;
*/
public Builder clearTradePokemon() {
if (tradePokemonBuilder_ == null) {
if (questCase_ == 6) {
questCase_ = 0;
quest_ = null;
onChanged();
}
} else {
if (questCase_ == 6) {
questCase_ = 0;
quest_ = null;
}
tradePokemonBuilder_.clear();
}
return this;
}
/**
* .POGOProtos.Data.Quests.TradePokemonQuest trade_pokemon = 6;
*/
public POGOProtos.Data.Quests.TradePokemonQuestOuterClass.TradePokemonQuest.Builder getTradePokemonBuilder() {
return getTradePokemonFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Data.Quests.TradePokemonQuest trade_pokemon = 6;
*/
public POGOProtos.Data.Quests.TradePokemonQuestOuterClass.TradePokemonQuestOrBuilder getTradePokemonOrBuilder() {
if ((questCase_ == 6) && (tradePokemonBuilder_ != null)) {
return tradePokemonBuilder_.getMessageOrBuilder();
} else {
if (questCase_ == 6) {
return (POGOProtos.Data.Quests.TradePokemonQuestOuterClass.TradePokemonQuest) quest_;
}
return POGOProtos.Data.Quests.TradePokemonQuestOuterClass.TradePokemonQuest.getDefaultInstance();
}
}
/**
* .POGOProtos.Data.Quests.TradePokemonQuest trade_pokemon = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.TradePokemonQuestOuterClass.TradePokemonQuest, POGOProtos.Data.Quests.TradePokemonQuestOuterClass.TradePokemonQuest.Builder, POGOProtos.Data.Quests.TradePokemonQuestOuterClass.TradePokemonQuestOrBuilder>
getTradePokemonFieldBuilder() {
if (tradePokemonBuilder_ == null) {
if (!(questCase_ == 6)) {
quest_ = POGOProtos.Data.Quests.TradePokemonQuestOuterClass.TradePokemonQuest.getDefaultInstance();
}
tradePokemonBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.TradePokemonQuestOuterClass.TradePokemonQuest, POGOProtos.Data.Quests.TradePokemonQuestOuterClass.TradePokemonQuest.Builder, POGOProtos.Data.Quests.TradePokemonQuestOuterClass.TradePokemonQuestOrBuilder>(
(POGOProtos.Data.Quests.TradePokemonQuestOuterClass.TradePokemonQuest) quest_,
getParentForChildren(),
isClean());
quest_ = null;
}
questCase_ = 6;
onChanged();;
return tradePokemonBuilder_;
}
private java.lang.Object questId_ = "";
/**
* string quest_id = 100;
*/
public java.lang.String getQuestId() {
java.lang.Object ref = questId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
questId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string quest_id = 100;
*/
public com.google.protobuf.ByteString
getQuestIdBytes() {
java.lang.Object ref = questId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
questId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string quest_id = 100;
*/
public Builder setQuestId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
questId_ = value;
onChanged();
return this;
}
/**
* string quest_id = 100;
*/
public Builder clearQuestId() {
questId_ = getDefaultInstance().getQuestId();
onChanged();
return this;
}
/**
* string quest_id = 100;
*/
public Builder setQuestIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
questId_ = value;
onChanged();
return this;
}
private long questSeed_ ;
/**
* int64 quest_seed = 101;
*/
public long getQuestSeed() {
return questSeed_;
}
/**
* int64 quest_seed = 101;
*/
public Builder setQuestSeed(long value) {
questSeed_ = value;
onChanged();
return this;
}
/**
* int64 quest_seed = 101;
*/
public Builder clearQuestSeed() {
questSeed_ = 0L;
onChanged();
return this;
}
private int questContext_ = 0;
/**
* .POGOProtos.Data.Quests.Quest.Context quest_context = 102;
*/
public int getQuestContextValue() {
return questContext_;
}
/**
* .POGOProtos.Data.Quests.Quest.Context quest_context = 102;
*/
public Builder setQuestContextValue(int value) {
questContext_ = value;
onChanged();
return this;
}
/**
* .POGOProtos.Data.Quests.Quest.Context quest_context = 102;
*/
public POGOProtos.Data.Quests.QuestOuterClass.Quest.Context getQuestContext() {
@SuppressWarnings("deprecation")
POGOProtos.Data.Quests.QuestOuterClass.Quest.Context result = POGOProtos.Data.Quests.QuestOuterClass.Quest.Context.valueOf(questContext_);
return result == null ? POGOProtos.Data.Quests.QuestOuterClass.Quest.Context.UNRECOGNIZED : result;
}
/**
* .POGOProtos.Data.Quests.Quest.Context quest_context = 102;
*/
public Builder setQuestContext(POGOProtos.Data.Quests.QuestOuterClass.Quest.Context value) {
if (value == null) {
throw new NullPointerException();
}
questContext_ = value.getNumber();
onChanged();
return this;
}
/**
* .POGOProtos.Data.Quests.Quest.Context quest_context = 102;
*/
public Builder clearQuestContext() {
questContext_ = 0;
onChanged();
return this;
}
private java.lang.Object templateId_ = "";
/**
* string template_id = 103;
*/
public java.lang.String getTemplateId() {
java.lang.Object ref = templateId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
templateId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string template_id = 103;
*/
public com.google.protobuf.ByteString
getTemplateIdBytes() {
java.lang.Object ref = templateId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
templateId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string template_id = 103;
*/
public Builder setTemplateId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
templateId_ = value;
onChanged();
return this;
}
/**
* string template_id = 103;
*/
public Builder clearTemplateId() {
templateId_ = getDefaultInstance().getTemplateId();
onChanged();
return this;
}
/**
* string template_id = 103;
*/
public Builder setTemplateIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
templateId_ = value;
onChanged();
return this;
}
private int progress_ ;
/**
* int32 progress = 104;
*/
public int getProgress() {
return progress_;
}
/**
* int32 progress = 104;
*/
public Builder setProgress(int value) {
progress_ = value;
onChanged();
return this;
}
/**
* int32 progress = 104;
*/
public Builder clearProgress() {
progress_ = 0;
onChanged();
return this;
}
private POGOProtos.Data.Quests.QuestGoalOuterClass.QuestGoal goal_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestGoalOuterClass.QuestGoal, POGOProtos.Data.Quests.QuestGoalOuterClass.QuestGoal.Builder, POGOProtos.Data.Quests.QuestGoalOuterClass.QuestGoalOrBuilder> goalBuilder_;
/**
* .POGOProtos.Data.Quests.QuestGoal goal = 105;
*/
public boolean hasGoal() {
return goalBuilder_ != null || goal_ != null;
}
/**
* .POGOProtos.Data.Quests.QuestGoal goal = 105;
*/
public POGOProtos.Data.Quests.QuestGoalOuterClass.QuestGoal getGoal() {
if (goalBuilder_ == null) {
return goal_ == null ? POGOProtos.Data.Quests.QuestGoalOuterClass.QuestGoal.getDefaultInstance() : goal_;
} else {
return goalBuilder_.getMessage();
}
}
/**
* .POGOProtos.Data.Quests.QuestGoal goal = 105;
*/
public Builder setGoal(POGOProtos.Data.Quests.QuestGoalOuterClass.QuestGoal value) {
if (goalBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
goal_ = value;
onChanged();
} else {
goalBuilder_.setMessage(value);
}
return this;
}
/**
* .POGOProtos.Data.Quests.QuestGoal goal = 105;
*/
public Builder setGoal(
POGOProtos.Data.Quests.QuestGoalOuterClass.QuestGoal.Builder builderForValue) {
if (goalBuilder_ == null) {
goal_ = builderForValue.build();
onChanged();
} else {
goalBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .POGOProtos.Data.Quests.QuestGoal goal = 105;
*/
public Builder mergeGoal(POGOProtos.Data.Quests.QuestGoalOuterClass.QuestGoal value) {
if (goalBuilder_ == null) {
if (goal_ != null) {
goal_ =
POGOProtos.Data.Quests.QuestGoalOuterClass.QuestGoal.newBuilder(goal_).mergeFrom(value).buildPartial();
} else {
goal_ = value;
}
onChanged();
} else {
goalBuilder_.mergeFrom(value);
}
return this;
}
/**
* .POGOProtos.Data.Quests.QuestGoal goal = 105;
*/
public Builder clearGoal() {
if (goalBuilder_ == null) {
goal_ = null;
onChanged();
} else {
goal_ = null;
goalBuilder_ = null;
}
return this;
}
/**
* .POGOProtos.Data.Quests.QuestGoal goal = 105;
*/
public POGOProtos.Data.Quests.QuestGoalOuterClass.QuestGoal.Builder getGoalBuilder() {
onChanged();
return getGoalFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Data.Quests.QuestGoal goal = 105;
*/
public POGOProtos.Data.Quests.QuestGoalOuterClass.QuestGoalOrBuilder getGoalOrBuilder() {
if (goalBuilder_ != null) {
return goalBuilder_.getMessageOrBuilder();
} else {
return goal_ == null ?
POGOProtos.Data.Quests.QuestGoalOuterClass.QuestGoal.getDefaultInstance() : goal_;
}
}
/**
* .POGOProtos.Data.Quests.QuestGoal goal = 105;
*/
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestGoalOuterClass.QuestGoal, POGOProtos.Data.Quests.QuestGoalOuterClass.QuestGoal.Builder, POGOProtos.Data.Quests.QuestGoalOuterClass.QuestGoalOrBuilder>
getGoalFieldBuilder() {
if (goalBuilder_ == null) {
goalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestGoalOuterClass.QuestGoal, POGOProtos.Data.Quests.QuestGoalOuterClass.QuestGoal.Builder, POGOProtos.Data.Quests.QuestGoalOuterClass.QuestGoalOrBuilder>(
getGoal(),
getParentForChildren(),
isClean());
goal_ = null;
}
return goalBuilder_;
}
private int status_ = 0;
/**
* .POGOProtos.Data.Quests.Quest.Status status = 106;
*/
public int getStatusValue() {
return status_;
}
/**
* .POGOProtos.Data.Quests.Quest.Status status = 106;
*/
public Builder setStatusValue(int value) {
status_ = value;
onChanged();
return this;
}
/**
* .POGOProtos.Data.Quests.Quest.Status status = 106;
*/
public POGOProtos.Data.Quests.QuestOuterClass.Quest.Status getStatus() {
@SuppressWarnings("deprecation")
POGOProtos.Data.Quests.QuestOuterClass.Quest.Status result = POGOProtos.Data.Quests.QuestOuterClass.Quest.Status.valueOf(status_);
return result == null ? POGOProtos.Data.Quests.QuestOuterClass.Quest.Status.UNRECOGNIZED : result;
}
/**
* .POGOProtos.Data.Quests.Quest.Status status = 106;
*/
public Builder setStatus(POGOProtos.Data.Quests.QuestOuterClass.Quest.Status value) {
if (value == null) {
throw new NullPointerException();
}
status_ = value.getNumber();
onChanged();
return this;
}
/**
* .POGOProtos.Data.Quests.Quest.Status status = 106;
*/
public Builder clearStatus() {
status_ = 0;
onChanged();
return this;
}
private java.util.List questRewards_ =
java.util.Collections.emptyList();
private void ensureQuestRewardsIsMutable() {
if (!((bitField0_ & 0x00002000) == 0x00002000)) {
questRewards_ = new java.util.ArrayList(questRewards_);
bitField0_ |= 0x00002000;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Data.Quests.QuestRewardOuterClass.QuestReward, POGOProtos.Data.Quests.QuestRewardOuterClass.QuestReward.Builder, POGOProtos.Data.Quests.QuestRewardOuterClass.QuestRewardOrBuilder> questRewardsBuilder_;
/**
* repeated .POGOProtos.Data.Quests.QuestReward quest_rewards = 107;
*/
public java.util.List getQuestRewardsList() {
if (questRewardsBuilder_ == null) {
return java.util.Collections.unmodifiableList(questRewards_);
} else {
return questRewardsBuilder_.getMessageList();
}
}
/**
* repeated .POGOProtos.Data.Quests.QuestReward quest_rewards = 107;
*/
public int getQuestRewardsCount() {
if (questRewardsBuilder_ == null) {
return questRewards_.size();
} else {
return questRewardsBuilder_.getCount();
}
}
/**
* repeated .POGOProtos.Data.Quests.QuestReward quest_rewards = 107;
*/
public POGOProtos.Data.Quests.QuestRewardOuterClass.QuestReward getQuestRewards(int index) {
if (questRewardsBuilder_ == null) {
return questRewards_.get(index);
} else {
return questRewardsBuilder_.getMessage(index);
}
}
/**
* repeated .POGOProtos.Data.Quests.QuestReward quest_rewards = 107;
*/
public Builder setQuestRewards(
int index, POGOProtos.Data.Quests.QuestRewardOuterClass.QuestReward value) {
if (questRewardsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureQuestRewardsIsMutable();
questRewards_.set(index, value);
onChanged();
} else {
questRewardsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .POGOProtos.Data.Quests.QuestReward quest_rewards = 107;
*/
public Builder setQuestRewards(
int index, POGOProtos.Data.Quests.QuestRewardOuterClass.QuestReward.Builder builderForValue) {
if (questRewardsBuilder_ == null) {
ensureQuestRewardsIsMutable();
questRewards_.set(index, builderForValue.build());
onChanged();
} else {
questRewardsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Data.Quests.QuestReward quest_rewards = 107;
*/
public Builder addQuestRewards(POGOProtos.Data.Quests.QuestRewardOuterClass.QuestReward value) {
if (questRewardsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureQuestRewardsIsMutable();
questRewards_.add(value);
onChanged();
} else {
questRewardsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .POGOProtos.Data.Quests.QuestReward quest_rewards = 107;
*/
public Builder addQuestRewards(
int index, POGOProtos.Data.Quests.QuestRewardOuterClass.QuestReward value) {
if (questRewardsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureQuestRewardsIsMutable();
questRewards_.add(index, value);
onChanged();
} else {
questRewardsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .POGOProtos.Data.Quests.QuestReward quest_rewards = 107;
*/
public Builder addQuestRewards(
POGOProtos.Data.Quests.QuestRewardOuterClass.QuestReward.Builder builderForValue) {
if (questRewardsBuilder_ == null) {
ensureQuestRewardsIsMutable();
questRewards_.add(builderForValue.build());
onChanged();
} else {
questRewardsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Data.Quests.QuestReward quest_rewards = 107;
*/
public Builder addQuestRewards(
int index, POGOProtos.Data.Quests.QuestRewardOuterClass.QuestReward.Builder builderForValue) {
if (questRewardsBuilder_ == null) {
ensureQuestRewardsIsMutable();
questRewards_.add(index, builderForValue.build());
onChanged();
} else {
questRewardsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Data.Quests.QuestReward quest_rewards = 107;
*/
public Builder addAllQuestRewards(
java.lang.Iterable extends POGOProtos.Data.Quests.QuestRewardOuterClass.QuestReward> values) {
if (questRewardsBuilder_ == null) {
ensureQuestRewardsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, questRewards_);
onChanged();
} else {
questRewardsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .POGOProtos.Data.Quests.QuestReward quest_rewards = 107;
*/
public Builder clearQuestRewards() {
if (questRewardsBuilder_ == null) {
questRewards_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00002000);
onChanged();
} else {
questRewardsBuilder_.clear();
}
return this;
}
/**
* repeated .POGOProtos.Data.Quests.QuestReward quest_rewards = 107;
*/
public Builder removeQuestRewards(int index) {
if (questRewardsBuilder_ == null) {
ensureQuestRewardsIsMutable();
questRewards_.remove(index);
onChanged();
} else {
questRewardsBuilder_.remove(index);
}
return this;
}
/**
* repeated .POGOProtos.Data.Quests.QuestReward quest_rewards = 107;
*/
public POGOProtos.Data.Quests.QuestRewardOuterClass.QuestReward.Builder getQuestRewardsBuilder(
int index) {
return getQuestRewardsFieldBuilder().getBuilder(index);
}
/**
* repeated .POGOProtos.Data.Quests.QuestReward quest_rewards = 107;
*/
public POGOProtos.Data.Quests.QuestRewardOuterClass.QuestRewardOrBuilder getQuestRewardsOrBuilder(
int index) {
if (questRewardsBuilder_ == null) {
return questRewards_.get(index); } else {
return questRewardsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .POGOProtos.Data.Quests.QuestReward quest_rewards = 107;
*/
public java.util.List extends POGOProtos.Data.Quests.QuestRewardOuterClass.QuestRewardOrBuilder>
getQuestRewardsOrBuilderList() {
if (questRewardsBuilder_ != null) {
return questRewardsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(questRewards_);
}
}
/**
* repeated .POGOProtos.Data.Quests.QuestReward quest_rewards = 107;
*/
public POGOProtos.Data.Quests.QuestRewardOuterClass.QuestReward.Builder addQuestRewardsBuilder() {
return getQuestRewardsFieldBuilder().addBuilder(
POGOProtos.Data.Quests.QuestRewardOuterClass.QuestReward.getDefaultInstance());
}
/**
* repeated .POGOProtos.Data.Quests.QuestReward quest_rewards = 107;
*/
public POGOProtos.Data.Quests.QuestRewardOuterClass.QuestReward.Builder addQuestRewardsBuilder(
int index) {
return getQuestRewardsFieldBuilder().addBuilder(
index, POGOProtos.Data.Quests.QuestRewardOuterClass.QuestReward.getDefaultInstance());
}
/**
* repeated .POGOProtos.Data.Quests.QuestReward quest_rewards = 107;
*/
public java.util.List
getQuestRewardsBuilderList() {
return getQuestRewardsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Data.Quests.QuestRewardOuterClass.QuestReward, POGOProtos.Data.Quests.QuestRewardOuterClass.QuestReward.Builder, POGOProtos.Data.Quests.QuestRewardOuterClass.QuestRewardOrBuilder>
getQuestRewardsFieldBuilder() {
if (questRewardsBuilder_ == null) {
questRewardsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Data.Quests.QuestRewardOuterClass.QuestReward, POGOProtos.Data.Quests.QuestRewardOuterClass.QuestReward.Builder, POGOProtos.Data.Quests.QuestRewardOuterClass.QuestRewardOrBuilder>(
questRewards_,
((bitField0_ & 0x00002000) == 0x00002000),
getParentForChildren(),
isClean());
questRewards_ = null;
}
return questRewardsBuilder_;
}
private long creationTimestampMs_ ;
/**
* int64 creation_timestamp_ms = 108;
*/
public long getCreationTimestampMs() {
return creationTimestampMs_;
}
/**
* int64 creation_timestamp_ms = 108;
*/
public Builder setCreationTimestampMs(long value) {
creationTimestampMs_ = value;
onChanged();
return this;
}
/**
* int64 creation_timestamp_ms = 108;
*/
public Builder clearCreationTimestampMs() {
creationTimestampMs_ = 0L;
onChanged();
return this;
}
private long lastUpdateTimestampMs_ ;
/**
* int64 last_update_timestamp_ms = 109;
*/
public long getLastUpdateTimestampMs() {
return lastUpdateTimestampMs_;
}
/**
* int64 last_update_timestamp_ms = 109;
*/
public Builder setLastUpdateTimestampMs(long value) {
lastUpdateTimestampMs_ = value;
onChanged();
return this;
}
/**
* int64 last_update_timestamp_ms = 109;
*/
public Builder clearLastUpdateTimestampMs() {
lastUpdateTimestampMs_ = 0L;
onChanged();
return this;
}
private long compeletionTimestampMs_ ;
/**
* int64 compeletion_timestamp_ms = 110;
*/
public long getCompeletionTimestampMs() {
return compeletionTimestampMs_;
}
/**
* int64 compeletion_timestamp_ms = 110;
*/
public Builder setCompeletionTimestampMs(long value) {
compeletionTimestampMs_ = value;
onChanged();
return this;
}
/**
* int64 compeletion_timestamp_ms = 110;
*/
public Builder clearCompeletionTimestampMs() {
compeletionTimestampMs_ = 0L;
onChanged();
return this;
}
private java.lang.Object fortId_ = "";
/**
* string fort_id = 111;
*/
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 = 111;
*/
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 = 111;
*/
public Builder setFortId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
fortId_ = value;
onChanged();
return this;
}
/**
* string fort_id = 111;
*/
public Builder clearFortId() {
fortId_ = getDefaultInstance().getFortId();
onChanged();
return this;
}
/**
* string fort_id = 111;
*/
public Builder setFortIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
fortId_ = value;
onChanged();
return this;
}
private boolean adminGenerated_ ;
/**
* bool admin_generated = 112;
*/
public boolean getAdminGenerated() {
return adminGenerated_;
}
/**
* bool admin_generated = 112;
*/
public Builder setAdminGenerated(boolean value) {
adminGenerated_ = value;
onChanged();
return this;
}
/**
* bool admin_generated = 112;
*/
public Builder clearAdminGenerated() {
adminGenerated_ = false;
onChanged();
return this;
}
private boolean stampCountOverrideEnabled_ ;
/**
* bool stamp_count_override_enabled = 113;
*/
public boolean getStampCountOverrideEnabled() {
return stampCountOverrideEnabled_;
}
/**
* bool stamp_count_override_enabled = 113;
*/
public Builder setStampCountOverrideEnabled(boolean value) {
stampCountOverrideEnabled_ = value;
onChanged();
return this;
}
/**
* bool stamp_count_override_enabled = 113;
*/
public Builder clearStampCountOverrideEnabled() {
stampCountOverrideEnabled_ = false;
onChanged();
return this;
}
private int stampCountOverride_ ;
/**
* int32 stamp_count_override = 114;
*/
public int getStampCountOverride() {
return stampCountOverride_;
}
/**
* int32 stamp_count_override = 114;
*/
public Builder setStampCountOverride(int value) {
stampCountOverride_ = value;
onChanged();
return this;
}
/**
* int32 stamp_count_override = 114;
*/
public Builder clearStampCountOverride() {
stampCountOverride_ = 0;
onChanged();
return this;
}
private long s2CellId_ ;
/**
* int64 s2_cell_id = 115;
*/
public long getS2CellId() {
return s2CellId_;
}
/**
* int64 s2_cell_id = 115;
*/
public Builder setS2CellId(long value) {
s2CellId_ = value;
onChanged();
return this;
}
/**
* int64 s2_cell_id = 115;
*/
public Builder clearS2CellId() {
s2CellId_ = 0L;
onChanged();
return this;
}
private int storyQuestTemplateVersion_ ;
/**
* int32 story_quest_template_version = 116;
*/
public int getStoryQuestTemplateVersion() {
return storyQuestTemplateVersion_;
}
/**
* int32 story_quest_template_version = 116;
*/
public Builder setStoryQuestTemplateVersion(int value) {
storyQuestTemplateVersion_ = value;
onChanged();
return this;
}
/**
* int32 story_quest_template_version = 116;
*/
public Builder clearStoryQuestTemplateVersion() {
storyQuestTemplateVersion_ = 0;
onChanged();
return this;
}
private POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter dailyCounter_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter, POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter.Builder, POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounterOrBuilder> dailyCounterBuilder_;
/**
* .POGOProtos.Data.Quests.Quest.DailyCounter daily_counter = 117;
*/
public boolean hasDailyCounter() {
return dailyCounterBuilder_ != null || dailyCounter_ != null;
}
/**
* .POGOProtos.Data.Quests.Quest.DailyCounter daily_counter = 117;
*/
public POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter getDailyCounter() {
if (dailyCounterBuilder_ == null) {
return dailyCounter_ == null ? POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter.getDefaultInstance() : dailyCounter_;
} else {
return dailyCounterBuilder_.getMessage();
}
}
/**
* .POGOProtos.Data.Quests.Quest.DailyCounter daily_counter = 117;
*/
public Builder setDailyCounter(POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter value) {
if (dailyCounterBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
dailyCounter_ = value;
onChanged();
} else {
dailyCounterBuilder_.setMessage(value);
}
return this;
}
/**
* .POGOProtos.Data.Quests.Quest.DailyCounter daily_counter = 117;
*/
public Builder setDailyCounter(
POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter.Builder builderForValue) {
if (dailyCounterBuilder_ == null) {
dailyCounter_ = builderForValue.build();
onChanged();
} else {
dailyCounterBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .POGOProtos.Data.Quests.Quest.DailyCounter daily_counter = 117;
*/
public Builder mergeDailyCounter(POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter value) {
if (dailyCounterBuilder_ == null) {
if (dailyCounter_ != null) {
dailyCounter_ =
POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter.newBuilder(dailyCounter_).mergeFrom(value).buildPartial();
} else {
dailyCounter_ = value;
}
onChanged();
} else {
dailyCounterBuilder_.mergeFrom(value);
}
return this;
}
/**
* .POGOProtos.Data.Quests.Quest.DailyCounter daily_counter = 117;
*/
public Builder clearDailyCounter() {
if (dailyCounterBuilder_ == null) {
dailyCounter_ = null;
onChanged();
} else {
dailyCounter_ = null;
dailyCounterBuilder_ = null;
}
return this;
}
/**
* .POGOProtos.Data.Quests.Quest.DailyCounter daily_counter = 117;
*/
public POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter.Builder getDailyCounterBuilder() {
onChanged();
return getDailyCounterFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Data.Quests.Quest.DailyCounter daily_counter = 117;
*/
public POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounterOrBuilder getDailyCounterOrBuilder() {
if (dailyCounterBuilder_ != null) {
return dailyCounterBuilder_.getMessageOrBuilder();
} else {
return dailyCounter_ == null ?
POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter.getDefaultInstance() : dailyCounter_;
}
}
/**
* .POGOProtos.Data.Quests.Quest.DailyCounter daily_counter = 117;
*/
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter, POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter.Builder, POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounterOrBuilder>
getDailyCounterFieldBuilder() {
if (dailyCounterBuilder_ == null) {
dailyCounterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter, POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounter.Builder, POGOProtos.Data.Quests.QuestOuterClass.Quest.DailyCounterOrBuilder>(
getDailyCounter(),
getParentForChildren(),
isClean());
dailyCounter_ = null;
}
return dailyCounterBuilder_;
}
private java.lang.Object rewardPokemonIconUrl_ = "";
/**
* string reward_pokemon_icon_url = 118;
*/
public java.lang.String getRewardPokemonIconUrl() {
java.lang.Object ref = rewardPokemonIconUrl_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
rewardPokemonIconUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string reward_pokemon_icon_url = 118;
*/
public com.google.protobuf.ByteString
getRewardPokemonIconUrlBytes() {
java.lang.Object ref = rewardPokemonIconUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
rewardPokemonIconUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string reward_pokemon_icon_url = 118;
*/
public Builder setRewardPokemonIconUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
rewardPokemonIconUrl_ = value;
onChanged();
return this;
}
/**
* string reward_pokemon_icon_url = 118;
*/
public Builder clearRewardPokemonIconUrl() {
rewardPokemonIconUrl_ = getDefaultInstance().getRewardPokemonIconUrl();
onChanged();
return this;
}
/**
* string reward_pokemon_icon_url = 118;
*/
public Builder setRewardPokemonIconUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
rewardPokemonIconUrl_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:POGOProtos.Data.Quests.Quest)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Data.Quests.Quest)
private static final POGOProtos.Data.Quests.QuestOuterClass.Quest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Data.Quests.QuestOuterClass.Quest();
}
public static POGOProtos.Data.Quests.QuestOuterClass.Quest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Quest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Quest(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.Quests.QuestOuterClass.Quest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Data_Quests_Quest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Data_Quests_Quest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Data_Quests_Quest_MultiPartQuest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Data_Quests_Quest_MultiPartQuest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Data_Quests_Quest_DailyQuest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Data_Quests_Quest_DailyQuest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Data_Quests_Quest_DailyCounter_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Data_Quests_Quest_DailyCounter_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/Quests/Quest.proto\022\026PO" +
"GOProtos.Data.Quests\032 POGOProtos/Enums/Q" +
"uestType.proto\032.POGOProtos/Data/Quests/C" +
"atchPokemonQuest.proto\032(POGOProtos/Data/" +
"Quests/QuestReward.proto\032&POGOProtos/Dat" +
"a/Quests/QuestGoal.proto\032+POGOProtos/Dat" +
"a/Quests/AddFriendQuest.proto\032.POGOProto" +
"s/Data/Quests/TradePokemonQuest.proto\"\355\n" +
"\n\005Quest\022/\n\nquest_type\030\001 \001(\0162\033.POGOProtos" +
".Enums.QuestType\022?\n\013daily_quest\030\002 \001(\0132(." +
"POGOProtos.Data.Quests.Quest.DailyQuestH" +
"\000\022B\n\nmulti_part\030\003 \001(\0132,.POGOProtos.Data." +
"Quests.Quest.MultiPartQuestH\000\022B\n\rcatch_p" +
"okemon\030\004 \001(\0132).POGOProtos.Data.Quests.Ca" +
"tchPokemonQuestH\000\022<\n\nadd_friend\030\005 \001(\0132&." +
"POGOProtos.Data.Quests.AddFriendQuestH\000\022" +
"B\n\rtrade_pokemon\030\006 \001(\0132).POGOProtos.Data" +
".Quests.TradePokemonQuestH\000\022\020\n\010quest_id\030" +
"d \001(\t\022\022\n\nquest_seed\030e \001(\003\022<\n\rquest_conte" +
"xt\030f \001(\0162%.POGOProtos.Data.Quests.Quest." +
"Context\022\023\n\013template_id\030g \001(\t\022\020\n\010progress" +
"\030h \001(\005\022/\n\004goal\030i \001(\0132!.POGOProtos.Data.Q" +
"uests.QuestGoal\0224\n\006status\030j \001(\0162$.POGOPr" +
"otos.Data.Quests.Quest.Status\022:\n\rquest_r" +
"ewards\030k \003(\0132#.POGOProtos.Data.Quests.Qu" +
"estReward\022\035\n\025creation_timestamp_ms\030l \001(\003" +
"\022 \n\030last_update_timestamp_ms\030m \001(\003\022 \n\030co" +
"mpeletion_timestamp_ms\030n \001(\003\022\017\n\007fort_id\030" +
"o \001(\t\022\027\n\017admin_generated\030p \001(\010\022$\n\034stamp_" +
"count_override_enabled\030q \001(\010\022\034\n\024stamp_co" +
"unt_override\030r \001(\005\022\022\n\ns2_cell_id\030s \001(\003\022$" +
"\n\034story_quest_template_version\030t \001(\005\022A\n\r" +
"daily_counter\030u \001(\0132*.POGOProtos.Data.Qu" +
"ests.Quest.DailyCounter\022\037\n\027reward_pokemo" +
"n_icon_url\030v \001(\t\032C\n\016MultiPartQuest\0221\n\nsu" +
"b_quests\030\001 \003(\0132\035.POGOProtos.Data.Quests." +
"Quest\032I\n\nDailyQuest\022\035\n\025current_period_bu" +
"cket\030\001 \001(\005\022\034\n\024current_streak_count\030\002 \001(\005" +
"\032-\n\014DailyCounter\022\016\n\006window\030\001 \001(\003\022\r\n\005coun" +
"t\030\002 \001(\005\":\n\007Context\022\t\n\005UNSET\020\000\022\017\n\013STORY_Q" +
"UEST\020\001\022\023\n\017CHALLENGE_QUEST\020\002\"G\n\006Status\022\024\n" +
"\020STATUS_UNDEFINED\020\000\022\021\n\rSTATUS_ACTIVE\020\001\022\024" +
"\n\020STATUS_COMPLETED\020\002B\007\n\005Questb\006proto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
POGOProtos.Enums.QuestTypeOuterClass.getDescriptor(),
POGOProtos.Data.Quests.CatchPokemonQuestOuterClass.getDescriptor(),
POGOProtos.Data.Quests.QuestRewardOuterClass.getDescriptor(),
POGOProtos.Data.Quests.QuestGoalOuterClass.getDescriptor(),
POGOProtos.Data.Quests.AddFriendQuestOuterClass.getDescriptor(),
POGOProtos.Data.Quests.TradePokemonQuestOuterClass.getDescriptor(),
}, assigner);
internal_static_POGOProtos_Data_Quests_Quest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_POGOProtos_Data_Quests_Quest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Data_Quests_Quest_descriptor,
new java.lang.String[] { "QuestType", "DailyQuest", "MultiPart", "CatchPokemon", "AddFriend", "TradePokemon", "QuestId", "QuestSeed", "QuestContext", "TemplateId", "Progress", "Goal", "Status", "QuestRewards", "CreationTimestampMs", "LastUpdateTimestampMs", "CompeletionTimestampMs", "FortId", "AdminGenerated", "StampCountOverrideEnabled", "StampCountOverride", "S2CellId", "StoryQuestTemplateVersion", "DailyCounter", "RewardPokemonIconUrl", "Quest", });
internal_static_POGOProtos_Data_Quests_Quest_MultiPartQuest_descriptor =
internal_static_POGOProtos_Data_Quests_Quest_descriptor.getNestedTypes().get(0);
internal_static_POGOProtos_Data_Quests_Quest_MultiPartQuest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Data_Quests_Quest_MultiPartQuest_descriptor,
new java.lang.String[] { "SubQuests", });
internal_static_POGOProtos_Data_Quests_Quest_DailyQuest_descriptor =
internal_static_POGOProtos_Data_Quests_Quest_descriptor.getNestedTypes().get(1);
internal_static_POGOProtos_Data_Quests_Quest_DailyQuest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Data_Quests_Quest_DailyQuest_descriptor,
new java.lang.String[] { "CurrentPeriodBucket", "CurrentStreakCount", });
internal_static_POGOProtos_Data_Quests_Quest_DailyCounter_descriptor =
internal_static_POGOProtos_Data_Quests_Quest_descriptor.getNestedTypes().get(2);
internal_static_POGOProtos_Data_Quests_Quest_DailyCounter_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Data_Quests_Quest_DailyCounter_descriptor,
new java.lang.String[] { "Window", "Count", });
POGOProtos.Enums.QuestTypeOuterClass.getDescriptor();
POGOProtos.Data.Quests.CatchPokemonQuestOuterClass.getDescriptor();
POGOProtos.Data.Quests.QuestRewardOuterClass.getDescriptor();
POGOProtos.Data.Quests.QuestGoalOuterClass.getDescriptor();
POGOProtos.Data.Quests.AddFriendQuestOuterClass.getDescriptor();
POGOProtos.Data.Quests.TradePokemonQuestOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy