POGOProtos.Data.Quests.QuestConditionOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: POGOProtos/Data/Quests/QuestCondition.proto
package POGOProtos.Data.Quests;
public final class QuestConditionOuterClass {
private QuestConditionOuterClass() {}
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 QuestConditionOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Data.Quests.QuestCondition)
com.google.protobuf.MessageOrBuilder {
/**
* .POGOProtos.Data.Quests.QuestCondition.ConditionType type = 1;
*/
int getTypeValue();
/**
* .POGOProtos.Data.Quests.QuestCondition.ConditionType type = 1;
*/
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.ConditionType getType();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithPokemonType with_pokemon_type = 2;
*/
boolean hasWithPokemonType();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithPokemonType with_pokemon_type = 2;
*/
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType getWithPokemonType();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithPokemonType with_pokemon_type = 2;
*/
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonTypeOrBuilder getWithPokemonTypeOrBuilder();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithPokemonCategory with_pokemon_category = 3;
*/
boolean hasWithPokemonCategory();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithPokemonCategory with_pokemon_category = 3;
*/
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory getWithPokemonCategory();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithPokemonCategory with_pokemon_category = 3;
*/
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategoryOrBuilder getWithPokemonCategoryOrBuilder();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWeatherBoost with_weather_boost = 4;
*/
boolean hasWithWeatherBoost();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWeatherBoost with_weather_boost = 4;
*/
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost getWithWeatherBoost();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWeatherBoost with_weather_boost = 4;
*/
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoostOrBuilder getWithWeatherBoostOrBuilder();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithDailyCaptureBonus with_daily_capture_bonus = 5;
*/
boolean hasWithDailyCaptureBonus();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithDailyCaptureBonus with_daily_capture_bonus = 5;
*/
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus getWithDailyCaptureBonus();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithDailyCaptureBonus with_daily_capture_bonus = 5;
*/
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonusOrBuilder getWithDailyCaptureBonusOrBuilder();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithDailySpinBonus with_daily_spin_bonus = 6;
*/
boolean hasWithDailySpinBonus();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithDailySpinBonus with_daily_spin_bonus = 6;
*/
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus getWithDailySpinBonus();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithDailySpinBonus with_daily_spin_bonus = 6;
*/
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonusOrBuilder getWithDailySpinBonusOrBuilder();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWinRaidStatus with_win_raid_status = 7;
*/
boolean hasWithWinRaidStatus();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWinRaidStatus with_win_raid_status = 7;
*/
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus getWithWinRaidStatus();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWinRaidStatus with_win_raid_status = 7;
*/
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatusOrBuilder getWithWinRaidStatusOrBuilder();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithRaidLevel with_raid_level = 8;
*/
boolean hasWithRaidLevel();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithRaidLevel with_raid_level = 8;
*/
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel getWithRaidLevel();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithRaidLevel with_raid_level = 8;
*/
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevelOrBuilder getWithRaidLevelOrBuilder();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithThrowType with_throw_type = 9;
*/
boolean hasWithThrowType();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithThrowType with_throw_type = 9;
*/
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType getWithThrowType();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithThrowType with_throw_type = 9;
*/
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowTypeOrBuilder getWithThrowTypeOrBuilder();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWinGymBattleStatus with_win_gym_battle_status = 10;
*/
boolean hasWithWinGymBattleStatus();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWinGymBattleStatus with_win_gym_battle_status = 10;
*/
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus getWithWinGymBattleStatus();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWinGymBattleStatus with_win_gym_battle_status = 10;
*/
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatusOrBuilder getWithWinGymBattleStatusOrBuilder();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithSuperEffectiveChargeMove with_super_effective_charge_move = 11;
*/
boolean hasWithSuperEffectiveChargeMove();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithSuperEffectiveChargeMove with_super_effective_charge_move = 11;
*/
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove getWithSuperEffectiveChargeMove();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithSuperEffectiveChargeMove with_super_effective_charge_move = 11;
*/
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMoveOrBuilder getWithSuperEffectiveChargeMoveOrBuilder();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithItem with_item = 12;
*/
boolean hasWithItem();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithItem with_item = 12;
*/
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem getWithItem();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithItem with_item = 12;
*/
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItemOrBuilder getWithItemOrBuilder();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithUniquePokestop with_unique_pokestop = 13;
*/
boolean hasWithUniquePokestop();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithUniquePokestop with_unique_pokestop = 13;
*/
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop getWithUniquePokestop();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithUniquePokestop with_unique_pokestop = 13;
*/
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestopOrBuilder getWithUniquePokestopOrBuilder();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithQuestContext with_quest_context = 14;
*/
boolean hasWithQuestContext();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithQuestContext with_quest_context = 14;
*/
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext getWithQuestContext();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithQuestContext with_quest_context = 14;
*/
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContextOrBuilder getWithQuestContextOrBuilder();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithBadgeType with_badge_type = 15;
*/
boolean hasWithBadgeType();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithBadgeType with_badge_type = 15;
*/
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType getWithBadgeType();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithBadgeType with_badge_type = 15;
*/
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeTypeOrBuilder getWithBadgeTypeOrBuilder();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithPlayerLevel with_player_level = 16;
*/
boolean hasWithPlayerLevel();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithPlayerLevel with_player_level = 16;
*/
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel getWithPlayerLevel();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithPlayerLevel with_player_level = 16;
*/
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevelOrBuilder getWithPlayerLevelOrBuilder();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWinBattleStatus with_win_battle_status = 17;
*/
boolean hasWithWinBattleStatus();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWinBattleStatus with_win_battle_status = 17;
*/
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus getWithWinBattleStatus();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWinBattleStatus with_win_battle_status = 17;
*/
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatusOrBuilder getWithWinBattleStatusOrBuilder();
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.ConditionCase getConditionCase();
}
/**
* Protobuf type {@code POGOProtos.Data.Quests.QuestCondition}
*/
public static final class QuestCondition extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Data.Quests.QuestCondition)
QuestConditionOrBuilder {
private static final long serialVersionUID = 0L;
// Use QuestCondition.newBuilder() to construct.
private QuestCondition(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QuestCondition() {
type_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private QuestCondition(
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();
type_ = rawValue;
break;
}
case 18: {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType.Builder subBuilder = null;
if (conditionCase_ == 2) {
subBuilder = ((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType) condition_).toBuilder();
}
condition_ =
input.readMessage(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType) condition_);
condition_ = subBuilder.buildPartial();
}
conditionCase_ = 2;
break;
}
case 26: {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory.Builder subBuilder = null;
if (conditionCase_ == 3) {
subBuilder = ((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory) condition_).toBuilder();
}
condition_ =
input.readMessage(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory) condition_);
condition_ = subBuilder.buildPartial();
}
conditionCase_ = 3;
break;
}
case 34: {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost.Builder subBuilder = null;
if (conditionCase_ == 4) {
subBuilder = ((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost) condition_).toBuilder();
}
condition_ =
input.readMessage(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost) condition_);
condition_ = subBuilder.buildPartial();
}
conditionCase_ = 4;
break;
}
case 42: {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus.Builder subBuilder = null;
if (conditionCase_ == 5) {
subBuilder = ((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus) condition_).toBuilder();
}
condition_ =
input.readMessage(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus) condition_);
condition_ = subBuilder.buildPartial();
}
conditionCase_ = 5;
break;
}
case 50: {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus.Builder subBuilder = null;
if (conditionCase_ == 6) {
subBuilder = ((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus) condition_).toBuilder();
}
condition_ =
input.readMessage(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus) condition_);
condition_ = subBuilder.buildPartial();
}
conditionCase_ = 6;
break;
}
case 58: {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus.Builder subBuilder = null;
if (conditionCase_ == 7) {
subBuilder = ((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus) condition_).toBuilder();
}
condition_ =
input.readMessage(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus) condition_);
condition_ = subBuilder.buildPartial();
}
conditionCase_ = 7;
break;
}
case 66: {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel.Builder subBuilder = null;
if (conditionCase_ == 8) {
subBuilder = ((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel) condition_).toBuilder();
}
condition_ =
input.readMessage(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel) condition_);
condition_ = subBuilder.buildPartial();
}
conditionCase_ = 8;
break;
}
case 74: {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType.Builder subBuilder = null;
if (conditionCase_ == 9) {
subBuilder = ((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType) condition_).toBuilder();
}
condition_ =
input.readMessage(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType) condition_);
condition_ = subBuilder.buildPartial();
}
conditionCase_ = 9;
break;
}
case 82: {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus.Builder subBuilder = null;
if (conditionCase_ == 10) {
subBuilder = ((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus) condition_).toBuilder();
}
condition_ =
input.readMessage(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus) condition_);
condition_ = subBuilder.buildPartial();
}
conditionCase_ = 10;
break;
}
case 90: {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove.Builder subBuilder = null;
if (conditionCase_ == 11) {
subBuilder = ((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove) condition_).toBuilder();
}
condition_ =
input.readMessage(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove) condition_);
condition_ = subBuilder.buildPartial();
}
conditionCase_ = 11;
break;
}
case 98: {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem.Builder subBuilder = null;
if (conditionCase_ == 12) {
subBuilder = ((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem) condition_).toBuilder();
}
condition_ =
input.readMessage(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem) condition_);
condition_ = subBuilder.buildPartial();
}
conditionCase_ = 12;
break;
}
case 106: {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop.Builder subBuilder = null;
if (conditionCase_ == 13) {
subBuilder = ((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop) condition_).toBuilder();
}
condition_ =
input.readMessage(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop) condition_);
condition_ = subBuilder.buildPartial();
}
conditionCase_ = 13;
break;
}
case 114: {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext.Builder subBuilder = null;
if (conditionCase_ == 14) {
subBuilder = ((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext) condition_).toBuilder();
}
condition_ =
input.readMessage(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext) condition_);
condition_ = subBuilder.buildPartial();
}
conditionCase_ = 14;
break;
}
case 122: {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType.Builder subBuilder = null;
if (conditionCase_ == 15) {
subBuilder = ((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType) condition_).toBuilder();
}
condition_ =
input.readMessage(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType) condition_);
condition_ = subBuilder.buildPartial();
}
conditionCase_ = 15;
break;
}
case 130: {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel.Builder subBuilder = null;
if (conditionCase_ == 16) {
subBuilder = ((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel) condition_).toBuilder();
}
condition_ =
input.readMessage(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel) condition_);
condition_ = subBuilder.buildPartial();
}
conditionCase_ = 16;
break;
}
case 138: {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus.Builder subBuilder = null;
if (conditionCase_ == 17) {
subBuilder = ((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus) condition_).toBuilder();
}
condition_ =
input.readMessage(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus) condition_);
condition_ = subBuilder.buildPartial();
}
conditionCase_ = 17;
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.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.class, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.Builder.class);
}
/**
* Protobuf enum {@code POGOProtos.Data.Quests.QuestCondition.ConditionType}
*/
public enum ConditionType
implements com.google.protobuf.ProtocolMessageEnum {
/**
* UNSET = 0;
*/
UNSET(0),
/**
* WITH_POKEMON_TYPE = 1;
*/
WITH_POKEMON_TYPE(1),
/**
* WITH_POKEMON_CATEGORY = 2;
*/
WITH_POKEMON_CATEGORY(2),
/**
* WITH_WEATHER_BOOST = 3;
*/
WITH_WEATHER_BOOST(3),
/**
* WITH_DAILY_CAPTURE_BONUS = 4;
*/
WITH_DAILY_CAPTURE_BONUS(4),
/**
* WITH_DAILY_SPIN_BONUS = 5;
*/
WITH_DAILY_SPIN_BONUS(5),
/**
* WITH_WIN_RAID_STATUS = 6;
*/
WITH_WIN_RAID_STATUS(6),
/**
* WITH_RAID_LEVEL = 7;
*/
WITH_RAID_LEVEL(7),
/**
* WITH_THROW_TYPE = 8;
*/
WITH_THROW_TYPE(8),
/**
* WITH_WIN_GYM_BATTLE_STATUS = 9;
*/
WITH_WIN_GYM_BATTLE_STATUS(9),
/**
* WITH_SUPER_EFFECTIVE_CHARGE = 10;
*/
WITH_SUPER_EFFECTIVE_CHARGE(10),
/**
* WITH_ITEM = 11;
*/
WITH_ITEM(11),
/**
* WITH_UNIQUE_POKESTOP = 12;
*/
WITH_UNIQUE_POKESTOP(12),
/**
* WITH_QUEST_CONTEXT = 13;
*/
WITH_QUEST_CONTEXT(13),
/**
* WITH_THROW_TYPE_IN_A_ROW = 14;
*/
WITH_THROW_TYPE_IN_A_ROW(14),
/**
* WITH_CURVE_BALL = 15;
*/
WITH_CURVE_BALL(15),
/**
* WITH_BADGE_TYPE = 16;
*/
WITH_BADGE_TYPE(16),
/**
* WITH_PLAYER_LEVEL = 17;
*/
WITH_PLAYER_LEVEL(17),
/**
* WITH_WIN_BATTLE_STATUS = 18;
*/
WITH_WIN_BATTLE_STATUS(18),
/**
* WITH_NEW_FRIEND = 19;
*/
WITH_NEW_FRIEND(19),
/**
* WITH_DAYS_IN_A_ROW = 20;
*/
WITH_DAYS_IN_A_ROW(20),
UNRECOGNIZED(-1),
;
/**
* UNSET = 0;
*/
public static final int UNSET_VALUE = 0;
/**
* WITH_POKEMON_TYPE = 1;
*/
public static final int WITH_POKEMON_TYPE_VALUE = 1;
/**
* WITH_POKEMON_CATEGORY = 2;
*/
public static final int WITH_POKEMON_CATEGORY_VALUE = 2;
/**
* WITH_WEATHER_BOOST = 3;
*/
public static final int WITH_WEATHER_BOOST_VALUE = 3;
/**
* WITH_DAILY_CAPTURE_BONUS = 4;
*/
public static final int WITH_DAILY_CAPTURE_BONUS_VALUE = 4;
/**
* WITH_DAILY_SPIN_BONUS = 5;
*/
public static final int WITH_DAILY_SPIN_BONUS_VALUE = 5;
/**
* WITH_WIN_RAID_STATUS = 6;
*/
public static final int WITH_WIN_RAID_STATUS_VALUE = 6;
/**
* WITH_RAID_LEVEL = 7;
*/
public static final int WITH_RAID_LEVEL_VALUE = 7;
/**
* WITH_THROW_TYPE = 8;
*/
public static final int WITH_THROW_TYPE_VALUE = 8;
/**
* WITH_WIN_GYM_BATTLE_STATUS = 9;
*/
public static final int WITH_WIN_GYM_BATTLE_STATUS_VALUE = 9;
/**
* WITH_SUPER_EFFECTIVE_CHARGE = 10;
*/
public static final int WITH_SUPER_EFFECTIVE_CHARGE_VALUE = 10;
/**
* WITH_ITEM = 11;
*/
public static final int WITH_ITEM_VALUE = 11;
/**
* WITH_UNIQUE_POKESTOP = 12;
*/
public static final int WITH_UNIQUE_POKESTOP_VALUE = 12;
/**
* WITH_QUEST_CONTEXT = 13;
*/
public static final int WITH_QUEST_CONTEXT_VALUE = 13;
/**
* WITH_THROW_TYPE_IN_A_ROW = 14;
*/
public static final int WITH_THROW_TYPE_IN_A_ROW_VALUE = 14;
/**
* WITH_CURVE_BALL = 15;
*/
public static final int WITH_CURVE_BALL_VALUE = 15;
/**
* WITH_BADGE_TYPE = 16;
*/
public static final int WITH_BADGE_TYPE_VALUE = 16;
/**
* WITH_PLAYER_LEVEL = 17;
*/
public static final int WITH_PLAYER_LEVEL_VALUE = 17;
/**
* WITH_WIN_BATTLE_STATUS = 18;
*/
public static final int WITH_WIN_BATTLE_STATUS_VALUE = 18;
/**
* WITH_NEW_FRIEND = 19;
*/
public static final int WITH_NEW_FRIEND_VALUE = 19;
/**
* WITH_DAYS_IN_A_ROW = 20;
*/
public static final int WITH_DAYS_IN_A_ROW_VALUE = 20;
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 ConditionType valueOf(int value) {
return forNumber(value);
}
public static ConditionType forNumber(int value) {
switch (value) {
case 0: return UNSET;
case 1: return WITH_POKEMON_TYPE;
case 2: return WITH_POKEMON_CATEGORY;
case 3: return WITH_WEATHER_BOOST;
case 4: return WITH_DAILY_CAPTURE_BONUS;
case 5: return WITH_DAILY_SPIN_BONUS;
case 6: return WITH_WIN_RAID_STATUS;
case 7: return WITH_RAID_LEVEL;
case 8: return WITH_THROW_TYPE;
case 9: return WITH_WIN_GYM_BATTLE_STATUS;
case 10: return WITH_SUPER_EFFECTIVE_CHARGE;
case 11: return WITH_ITEM;
case 12: return WITH_UNIQUE_POKESTOP;
case 13: return WITH_QUEST_CONTEXT;
case 14: return WITH_THROW_TYPE_IN_A_ROW;
case 15: return WITH_CURVE_BALL;
case 16: return WITH_BADGE_TYPE;
case 17: return WITH_PLAYER_LEVEL;
case 18: return WITH_WIN_BATTLE_STATUS;
case 19: return WITH_NEW_FRIEND;
case 20: return WITH_DAYS_IN_A_ROW;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
ConditionType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public ConditionType findValueByNumber(int number) {
return ConditionType.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.QuestConditionOuterClass.QuestCondition.getDescriptor().getEnumTypes().get(0);
}
private static final ConditionType[] VALUES = values();
public static ConditionType 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 ConditionType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:POGOProtos.Data.Quests.QuestCondition.ConditionType)
}
public interface WithPokemonTypeOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Data.Quests.QuestCondition.WithPokemonType)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .POGOProtos.Enums.PokemonType pokemon_type = 1;
*/
java.util.List getPokemonTypeList();
/**
* repeated .POGOProtos.Enums.PokemonType pokemon_type = 1;
*/
int getPokemonTypeCount();
/**
* repeated .POGOProtos.Enums.PokemonType pokemon_type = 1;
*/
POGOProtos.Enums.PokemonTypeOuterClass.PokemonType getPokemonType(int index);
/**
* repeated .POGOProtos.Enums.PokemonType pokemon_type = 1;
*/
java.util.List
getPokemonTypeValueList();
/**
* repeated .POGOProtos.Enums.PokemonType pokemon_type = 1;
*/
int getPokemonTypeValue(int index);
}
/**
* Protobuf type {@code POGOProtos.Data.Quests.QuestCondition.WithPokemonType}
*/
public static final class WithPokemonType extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Data.Quests.QuestCondition.WithPokemonType)
WithPokemonTypeOrBuilder {
private static final long serialVersionUID = 0L;
// Use WithPokemonType.newBuilder() to construct.
private WithPokemonType(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WithPokemonType() {
pokemonType_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WithPokemonType(
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();
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
pokemonType_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
pokemonType_.add(rawValue);
break;
}
case 10: {
int length = input.readRawVarint32();
int oldLimit = input.pushLimit(length);
while(input.getBytesUntilLimit() > 0) {
int rawValue = input.readEnum();
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
pokemonType_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
pokemonType_.add(rawValue);
}
input.popLimit(oldLimit);
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)) {
pokemonType_ = java.util.Collections.unmodifiableList(pokemonType_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithPokemonType_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithPokemonType_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType.class, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType.Builder.class);
}
public static final int POKEMON_TYPE_FIELD_NUMBER = 1;
private java.util.List pokemonType_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, POGOProtos.Enums.PokemonTypeOuterClass.PokemonType> pokemonType_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, POGOProtos.Enums.PokemonTypeOuterClass.PokemonType>() {
public POGOProtos.Enums.PokemonTypeOuterClass.PokemonType convert(java.lang.Integer from) {
@SuppressWarnings("deprecation")
POGOProtos.Enums.PokemonTypeOuterClass.PokemonType result = POGOProtos.Enums.PokemonTypeOuterClass.PokemonType.valueOf(from);
return result == null ? POGOProtos.Enums.PokemonTypeOuterClass.PokemonType.UNRECOGNIZED : result;
}
};
/**
* repeated .POGOProtos.Enums.PokemonType pokemon_type = 1;
*/
public java.util.List getPokemonTypeList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, POGOProtos.Enums.PokemonTypeOuterClass.PokemonType>(pokemonType_, pokemonType_converter_);
}
/**
* repeated .POGOProtos.Enums.PokemonType pokemon_type = 1;
*/
public int getPokemonTypeCount() {
return pokemonType_.size();
}
/**
* repeated .POGOProtos.Enums.PokemonType pokemon_type = 1;
*/
public POGOProtos.Enums.PokemonTypeOuterClass.PokemonType getPokemonType(int index) {
return pokemonType_converter_.convert(pokemonType_.get(index));
}
/**
* repeated .POGOProtos.Enums.PokemonType pokemon_type = 1;
*/
public java.util.List
getPokemonTypeValueList() {
return pokemonType_;
}
/**
* repeated .POGOProtos.Enums.PokemonType pokemon_type = 1;
*/
public int getPokemonTypeValue(int index) {
return pokemonType_.get(index);
}
private int pokemonTypeMemoizedSerializedSize;
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (getPokemonTypeList().size() > 0) {
output.writeUInt32NoTag(10);
output.writeUInt32NoTag(pokemonTypeMemoizedSerializedSize);
}
for (int i = 0; i < pokemonType_.size(); i++) {
output.writeEnumNoTag(pokemonType_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < pokemonType_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeEnumSizeNoTag(pokemonType_.get(i));
}
size += dataSize;
if (!getPokemonTypeList().isEmpty()) { size += 1;
size += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(dataSize);
}pokemonTypeMemoizedSerializedSize = dataSize;
}
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.QuestConditionOuterClass.QuestCondition.WithPokemonType)) {
return super.equals(obj);
}
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType other = (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType) obj;
boolean result = true;
result = result && pokemonType_.equals(other.pokemonType_);
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 (getPokemonTypeCount() > 0) {
hash = (37 * hash) + POKEMON_TYPE_FIELD_NUMBER;
hash = (53 * hash) + pokemonType_.hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType 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.QuestConditionOuterClass.QuestCondition.WithPokemonType parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType 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.QuestConditionOuterClass.QuestCondition.WithPokemonType parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType 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.QuestConditionOuterClass.QuestCondition.WithPokemonType parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType 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.QuestConditionOuterClass.QuestCondition.WithPokemonType parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType 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.QuestConditionOuterClass.QuestCondition.WithPokemonType 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.QuestCondition.WithPokemonType}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Data.Quests.QuestCondition.WithPokemonType)
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonTypeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithPokemonType_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithPokemonType_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType.class, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType.Builder.class);
}
// Construct using POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType.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();
pokemonType_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithPokemonType_descriptor;
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType getDefaultInstanceForType() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType build() {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType buildPartial() {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType result = new POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType(this);
int from_bitField0_ = bitField0_;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
pokemonType_ = java.util.Collections.unmodifiableList(pokemonType_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.pokemonType_ = pokemonType_;
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.QuestConditionOuterClass.QuestCondition.WithPokemonType) {
return mergeFrom((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType other) {
if (other == POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType.getDefaultInstance()) return this;
if (!other.pokemonType_.isEmpty()) {
if (pokemonType_.isEmpty()) {
pokemonType_ = other.pokemonType_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensurePokemonTypeIsMutable();
pokemonType_.addAll(other.pokemonType_);
}
onChanged();
}
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.QuestConditionOuterClass.QuestCondition.WithPokemonType parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List pokemonType_ =
java.util.Collections.emptyList();
private void ensurePokemonTypeIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
pokemonType_ = new java.util.ArrayList(pokemonType_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated .POGOProtos.Enums.PokemonType pokemon_type = 1;
*/
public java.util.List getPokemonTypeList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, POGOProtos.Enums.PokemonTypeOuterClass.PokemonType>(pokemonType_, pokemonType_converter_);
}
/**
* repeated .POGOProtos.Enums.PokemonType pokemon_type = 1;
*/
public int getPokemonTypeCount() {
return pokemonType_.size();
}
/**
* repeated .POGOProtos.Enums.PokemonType pokemon_type = 1;
*/
public POGOProtos.Enums.PokemonTypeOuterClass.PokemonType getPokemonType(int index) {
return pokemonType_converter_.convert(pokemonType_.get(index));
}
/**
* repeated .POGOProtos.Enums.PokemonType pokemon_type = 1;
*/
public Builder setPokemonType(
int index, POGOProtos.Enums.PokemonTypeOuterClass.PokemonType value) {
if (value == null) {
throw new NullPointerException();
}
ensurePokemonTypeIsMutable();
pokemonType_.set(index, value.getNumber());
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.PokemonType pokemon_type = 1;
*/
public Builder addPokemonType(POGOProtos.Enums.PokemonTypeOuterClass.PokemonType value) {
if (value == null) {
throw new NullPointerException();
}
ensurePokemonTypeIsMutable();
pokemonType_.add(value.getNumber());
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.PokemonType pokemon_type = 1;
*/
public Builder addAllPokemonType(
java.lang.Iterable extends POGOProtos.Enums.PokemonTypeOuterClass.PokemonType> values) {
ensurePokemonTypeIsMutable();
for (POGOProtos.Enums.PokemonTypeOuterClass.PokemonType value : values) {
pokemonType_.add(value.getNumber());
}
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.PokemonType pokemon_type = 1;
*/
public Builder clearPokemonType() {
pokemonType_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.PokemonType pokemon_type = 1;
*/
public java.util.List
getPokemonTypeValueList() {
return java.util.Collections.unmodifiableList(pokemonType_);
}
/**
* repeated .POGOProtos.Enums.PokemonType pokemon_type = 1;
*/
public int getPokemonTypeValue(int index) {
return pokemonType_.get(index);
}
/**
* repeated .POGOProtos.Enums.PokemonType pokemon_type = 1;
*/
public Builder setPokemonTypeValue(
int index, int value) {
ensurePokemonTypeIsMutable();
pokemonType_.set(index, value);
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.PokemonType pokemon_type = 1;
*/
public Builder addPokemonTypeValue(int value) {
ensurePokemonTypeIsMutable();
pokemonType_.add(value);
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.PokemonType pokemon_type = 1;
*/
public Builder addAllPokemonTypeValue(
java.lang.Iterable values) {
ensurePokemonTypeIsMutable();
for (int value : values) {
pokemonType_.add(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.QuestCondition.WithPokemonType)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Data.Quests.QuestCondition.WithPokemonType)
private static final POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType();
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WithPokemonType parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WithPokemonType(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.QuestConditionOuterClass.QuestCondition.WithPokemonType getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WithWeatherBoostOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Data.Quests.QuestCondition.WithWeatherBoost)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code POGOProtos.Data.Quests.QuestCondition.WithWeatherBoost}
*/
public static final class WithWeatherBoost extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Data.Quests.QuestCondition.WithWeatherBoost)
WithWeatherBoostOrBuilder {
private static final long serialVersionUID = 0L;
// Use WithWeatherBoost.newBuilder() to construct.
private WithWeatherBoost(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WithWeatherBoost() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WithWeatherBoost(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
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;
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.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithWeatherBoost_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithWeatherBoost_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost.class, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost.Builder.class);
}
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 {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
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.QuestConditionOuterClass.QuestCondition.WithWeatherBoost)) {
return super.equals(obj);
}
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost other = (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost) obj;
boolean result = true;
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 = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost 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.QuestConditionOuterClass.QuestCondition.WithWeatherBoost parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost 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.QuestConditionOuterClass.QuestCondition.WithWeatherBoost parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost 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.QuestConditionOuterClass.QuestCondition.WithWeatherBoost parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost 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.QuestConditionOuterClass.QuestCondition.WithWeatherBoost parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost 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.QuestConditionOuterClass.QuestCondition.WithWeatherBoost 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.QuestCondition.WithWeatherBoost}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Data.Quests.QuestCondition.WithWeatherBoost)
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoostOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithWeatherBoost_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithWeatherBoost_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost.class, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost.Builder.class);
}
// Construct using POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost.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();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithWeatherBoost_descriptor;
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost getDefaultInstanceForType() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost build() {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost buildPartial() {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost result = new POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost(this);
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.QuestConditionOuterClass.QuestCondition.WithWeatherBoost) {
return mergeFrom((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost other) {
if (other == POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost.getDefaultInstance()) return this;
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.QuestConditionOuterClass.QuestCondition.WithWeatherBoost parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
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.QuestCondition.WithWeatherBoost)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Data.Quests.QuestCondition.WithWeatherBoost)
private static final POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost();
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WithWeatherBoost parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WithWeatherBoost(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.QuestConditionOuterClass.QuestCondition.WithWeatherBoost getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WithPokemonCategoryOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Data.Quests.QuestCondition.WithPokemonCategory)
com.google.protobuf.MessageOrBuilder {
/**
* string category_name = 1;
*/
java.lang.String getCategoryName();
/**
* string category_name = 1;
*/
com.google.protobuf.ByteString
getCategoryNameBytes();
/**
* repeated .POGOProtos.Enums.PokemonId pokemon_ids = 2;
*/
java.util.List getPokemonIdsList();
/**
* repeated .POGOProtos.Enums.PokemonId pokemon_ids = 2;
*/
int getPokemonIdsCount();
/**
* repeated .POGOProtos.Enums.PokemonId pokemon_ids = 2;
*/
POGOProtos.Enums.PokemonIdOuterClass.PokemonId getPokemonIds(int index);
/**
* repeated .POGOProtos.Enums.PokemonId pokemon_ids = 2;
*/
java.util.List
getPokemonIdsValueList();
/**
* repeated .POGOProtos.Enums.PokemonId pokemon_ids = 2;
*/
int getPokemonIdsValue(int index);
}
/**
* Protobuf type {@code POGOProtos.Data.Quests.QuestCondition.WithPokemonCategory}
*/
public static final class WithPokemonCategory extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Data.Quests.QuestCondition.WithPokemonCategory)
WithPokemonCategoryOrBuilder {
private static final long serialVersionUID = 0L;
// Use WithPokemonCategory.newBuilder() to construct.
private WithPokemonCategory(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WithPokemonCategory() {
categoryName_ = "";
pokemonIds_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WithPokemonCategory(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
categoryName_ = s;
break;
}
case 16: {
int rawValue = input.readEnum();
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
pokemonIds_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
pokemonIds_.add(rawValue);
break;
}
case 18: {
int length = input.readRawVarint32();
int oldLimit = input.pushLimit(length);
while(input.getBytesUntilLimit() > 0) {
int rawValue = input.readEnum();
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
pokemonIds_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
pokemonIds_.add(rawValue);
}
input.popLimit(oldLimit);
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_ & 0x00000002) == 0x00000002)) {
pokemonIds_ = java.util.Collections.unmodifiableList(pokemonIds_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithPokemonCategory_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithPokemonCategory_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory.class, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory.Builder.class);
}
private int bitField0_;
public static final int CATEGORY_NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object categoryName_;
/**
* string category_name = 1;
*/
public java.lang.String getCategoryName() {
java.lang.Object ref = categoryName_;
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();
categoryName_ = s;
return s;
}
}
/**
* string category_name = 1;
*/
public com.google.protobuf.ByteString
getCategoryNameBytes() {
java.lang.Object ref = categoryName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
categoryName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int POKEMON_IDS_FIELD_NUMBER = 2;
private java.util.List pokemonIds_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, POGOProtos.Enums.PokemonIdOuterClass.PokemonId> pokemonIds_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, POGOProtos.Enums.PokemonIdOuterClass.PokemonId>() {
public POGOProtos.Enums.PokemonIdOuterClass.PokemonId convert(java.lang.Integer from) {
@SuppressWarnings("deprecation")
POGOProtos.Enums.PokemonIdOuterClass.PokemonId result = POGOProtos.Enums.PokemonIdOuterClass.PokemonId.valueOf(from);
return result == null ? POGOProtos.Enums.PokemonIdOuterClass.PokemonId.UNRECOGNIZED : result;
}
};
/**
* repeated .POGOProtos.Enums.PokemonId pokemon_ids = 2;
*/
public java.util.List getPokemonIdsList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, POGOProtos.Enums.PokemonIdOuterClass.PokemonId>(pokemonIds_, pokemonIds_converter_);
}
/**
* repeated .POGOProtos.Enums.PokemonId pokemon_ids = 2;
*/
public int getPokemonIdsCount() {
return pokemonIds_.size();
}
/**
* repeated .POGOProtos.Enums.PokemonId pokemon_ids = 2;
*/
public POGOProtos.Enums.PokemonIdOuterClass.PokemonId getPokemonIds(int index) {
return pokemonIds_converter_.convert(pokemonIds_.get(index));
}
/**
* repeated .POGOProtos.Enums.PokemonId pokemon_ids = 2;
*/
public java.util.List
getPokemonIdsValueList() {
return pokemonIds_;
}
/**
* repeated .POGOProtos.Enums.PokemonId pokemon_ids = 2;
*/
public int getPokemonIdsValue(int index) {
return pokemonIds_.get(index);
}
private int pokemonIdsMemoizedSerializedSize;
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (!getCategoryNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, categoryName_);
}
if (getPokemonIdsList().size() > 0) {
output.writeUInt32NoTag(18);
output.writeUInt32NoTag(pokemonIdsMemoizedSerializedSize);
}
for (int i = 0; i < pokemonIds_.size(); i++) {
output.writeEnumNoTag(pokemonIds_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getCategoryNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, categoryName_);
}
{
int dataSize = 0;
for (int i = 0; i < pokemonIds_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeEnumSizeNoTag(pokemonIds_.get(i));
}
size += dataSize;
if (!getPokemonIdsList().isEmpty()) { size += 1;
size += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(dataSize);
}pokemonIdsMemoizedSerializedSize = dataSize;
}
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.QuestConditionOuterClass.QuestCondition.WithPokemonCategory)) {
return super.equals(obj);
}
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory other = (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory) obj;
boolean result = true;
result = result && getCategoryName()
.equals(other.getCategoryName());
result = result && pokemonIds_.equals(other.pokemonIds_);
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) + CATEGORY_NAME_FIELD_NUMBER;
hash = (53 * hash) + getCategoryName().hashCode();
if (getPokemonIdsCount() > 0) {
hash = (37 * hash) + POKEMON_IDS_FIELD_NUMBER;
hash = (53 * hash) + pokemonIds_.hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory 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.QuestConditionOuterClass.QuestCondition.WithPokemonCategory parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory 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.QuestConditionOuterClass.QuestCondition.WithPokemonCategory parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory 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.QuestConditionOuterClass.QuestCondition.WithPokemonCategory parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory 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.QuestConditionOuterClass.QuestCondition.WithPokemonCategory parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory 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.QuestConditionOuterClass.QuestCondition.WithPokemonCategory 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.QuestCondition.WithPokemonCategory}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Data.Quests.QuestCondition.WithPokemonCategory)
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategoryOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithPokemonCategory_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithPokemonCategory_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory.class, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory.Builder.class);
}
// Construct using POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory.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();
categoryName_ = "";
pokemonIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithPokemonCategory_descriptor;
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory getDefaultInstanceForType() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory build() {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory buildPartial() {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory result = new POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.categoryName_ = categoryName_;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
pokemonIds_ = java.util.Collections.unmodifiableList(pokemonIds_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.pokemonIds_ = pokemonIds_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory) {
return mergeFrom((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory other) {
if (other == POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory.getDefaultInstance()) return this;
if (!other.getCategoryName().isEmpty()) {
categoryName_ = other.categoryName_;
onChanged();
}
if (!other.pokemonIds_.isEmpty()) {
if (pokemonIds_.isEmpty()) {
pokemonIds_ = other.pokemonIds_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensurePokemonIdsIsMutable();
pokemonIds_.addAll(other.pokemonIds_);
}
onChanged();
}
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.QuestConditionOuterClass.QuestCondition.WithPokemonCategory parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object categoryName_ = "";
/**
* string category_name = 1;
*/
public java.lang.String getCategoryName() {
java.lang.Object ref = categoryName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
categoryName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string category_name = 1;
*/
public com.google.protobuf.ByteString
getCategoryNameBytes() {
java.lang.Object ref = categoryName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
categoryName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string category_name = 1;
*/
public Builder setCategoryName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
categoryName_ = value;
onChanged();
return this;
}
/**
* string category_name = 1;
*/
public Builder clearCategoryName() {
categoryName_ = getDefaultInstance().getCategoryName();
onChanged();
return this;
}
/**
* string category_name = 1;
*/
public Builder setCategoryNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
categoryName_ = value;
onChanged();
return this;
}
private java.util.List pokemonIds_ =
java.util.Collections.emptyList();
private void ensurePokemonIdsIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
pokemonIds_ = new java.util.ArrayList(pokemonIds_);
bitField0_ |= 0x00000002;
}
}
/**
* repeated .POGOProtos.Enums.PokemonId pokemon_ids = 2;
*/
public java.util.List getPokemonIdsList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, POGOProtos.Enums.PokemonIdOuterClass.PokemonId>(pokemonIds_, pokemonIds_converter_);
}
/**
* repeated .POGOProtos.Enums.PokemonId pokemon_ids = 2;
*/
public int getPokemonIdsCount() {
return pokemonIds_.size();
}
/**
* repeated .POGOProtos.Enums.PokemonId pokemon_ids = 2;
*/
public POGOProtos.Enums.PokemonIdOuterClass.PokemonId getPokemonIds(int index) {
return pokemonIds_converter_.convert(pokemonIds_.get(index));
}
/**
* repeated .POGOProtos.Enums.PokemonId pokemon_ids = 2;
*/
public Builder setPokemonIds(
int index, POGOProtos.Enums.PokemonIdOuterClass.PokemonId value) {
if (value == null) {
throw new NullPointerException();
}
ensurePokemonIdsIsMutable();
pokemonIds_.set(index, value.getNumber());
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.PokemonId pokemon_ids = 2;
*/
public Builder addPokemonIds(POGOProtos.Enums.PokemonIdOuterClass.PokemonId value) {
if (value == null) {
throw new NullPointerException();
}
ensurePokemonIdsIsMutable();
pokemonIds_.add(value.getNumber());
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.PokemonId pokemon_ids = 2;
*/
public Builder addAllPokemonIds(
java.lang.Iterable extends POGOProtos.Enums.PokemonIdOuterClass.PokemonId> values) {
ensurePokemonIdsIsMutable();
for (POGOProtos.Enums.PokemonIdOuterClass.PokemonId value : values) {
pokemonIds_.add(value.getNumber());
}
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.PokemonId pokemon_ids = 2;
*/
public Builder clearPokemonIds() {
pokemonIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.PokemonId pokemon_ids = 2;
*/
public java.util.List
getPokemonIdsValueList() {
return java.util.Collections.unmodifiableList(pokemonIds_);
}
/**
* repeated .POGOProtos.Enums.PokemonId pokemon_ids = 2;
*/
public int getPokemonIdsValue(int index) {
return pokemonIds_.get(index);
}
/**
* repeated .POGOProtos.Enums.PokemonId pokemon_ids = 2;
*/
public Builder setPokemonIdsValue(
int index, int value) {
ensurePokemonIdsIsMutable();
pokemonIds_.set(index, value);
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.PokemonId pokemon_ids = 2;
*/
public Builder addPokemonIdsValue(int value) {
ensurePokemonIdsIsMutable();
pokemonIds_.add(value);
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.PokemonId pokemon_ids = 2;
*/
public Builder addAllPokemonIdsValue(
java.lang.Iterable values) {
ensurePokemonIdsIsMutable();
for (int value : values) {
pokemonIds_.add(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.QuestCondition.WithPokemonCategory)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Data.Quests.QuestCondition.WithPokemonCategory)
private static final POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory();
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WithPokemonCategory parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WithPokemonCategory(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.QuestConditionOuterClass.QuestCondition.WithPokemonCategory getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WithDailyCaptureBonusOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Data.Quests.QuestCondition.WithDailyCaptureBonus)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code POGOProtos.Data.Quests.QuestCondition.WithDailyCaptureBonus}
*/
public static final class WithDailyCaptureBonus extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Data.Quests.QuestCondition.WithDailyCaptureBonus)
WithDailyCaptureBonusOrBuilder {
private static final long serialVersionUID = 0L;
// Use WithDailyCaptureBonus.newBuilder() to construct.
private WithDailyCaptureBonus(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WithDailyCaptureBonus() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WithDailyCaptureBonus(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
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;
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.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithDailyCaptureBonus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithDailyCaptureBonus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus.class, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus.Builder.class);
}
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 {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
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.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus)) {
return super.equals(obj);
}
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus other = (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus) obj;
boolean result = true;
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 = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus 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.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus 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.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus 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.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus 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.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus 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.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus 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.QuestCondition.WithDailyCaptureBonus}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Data.Quests.QuestCondition.WithDailyCaptureBonus)
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonusOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithDailyCaptureBonus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithDailyCaptureBonus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus.class, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus.Builder.class);
}
// Construct using POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus.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();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithDailyCaptureBonus_descriptor;
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus getDefaultInstanceForType() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus build() {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus buildPartial() {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus result = new POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus(this);
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.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus) {
return mergeFrom((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus other) {
if (other == POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus.getDefaultInstance()) return this;
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.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
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.QuestCondition.WithDailyCaptureBonus)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Data.Quests.QuestCondition.WithDailyCaptureBonus)
private static final POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus();
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WithDailyCaptureBonus parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WithDailyCaptureBonus(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.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WithDailySpinBonusOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Data.Quests.QuestCondition.WithDailySpinBonus)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code POGOProtos.Data.Quests.QuestCondition.WithDailySpinBonus}
*/
public static final class WithDailySpinBonus extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Data.Quests.QuestCondition.WithDailySpinBonus)
WithDailySpinBonusOrBuilder {
private static final long serialVersionUID = 0L;
// Use WithDailySpinBonus.newBuilder() to construct.
private WithDailySpinBonus(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WithDailySpinBonus() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WithDailySpinBonus(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
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;
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.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithDailySpinBonus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithDailySpinBonus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus.class, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus.Builder.class);
}
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 {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
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.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus)) {
return super.equals(obj);
}
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus other = (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus) obj;
boolean result = true;
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 = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus 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.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus 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.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus 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.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus 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.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus 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.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus 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.QuestCondition.WithDailySpinBonus}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Data.Quests.QuestCondition.WithDailySpinBonus)
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonusOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithDailySpinBonus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithDailySpinBonus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus.class, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus.Builder.class);
}
// Construct using POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus.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();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithDailySpinBonus_descriptor;
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus getDefaultInstanceForType() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus build() {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus buildPartial() {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus result = new POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus(this);
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.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus) {
return mergeFrom((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus other) {
if (other == POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus.getDefaultInstance()) return this;
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.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
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.QuestCondition.WithDailySpinBonus)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Data.Quests.QuestCondition.WithDailySpinBonus)
private static final POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus();
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WithDailySpinBonus parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WithDailySpinBonus(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.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WithWinRaidStatusOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Data.Quests.QuestCondition.WithWinRaidStatus)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code POGOProtos.Data.Quests.QuestCondition.WithWinRaidStatus}
*/
public static final class WithWinRaidStatus extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Data.Quests.QuestCondition.WithWinRaidStatus)
WithWinRaidStatusOrBuilder {
private static final long serialVersionUID = 0L;
// Use WithWinRaidStatus.newBuilder() to construct.
private WithWinRaidStatus(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WithWinRaidStatus() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WithWinRaidStatus(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
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;
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.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithWinRaidStatus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithWinRaidStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus.class, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus.Builder.class);
}
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 {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
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.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus)) {
return super.equals(obj);
}
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus other = (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus) obj;
boolean result = true;
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 = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus 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.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus 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.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus 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.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus 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.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus 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.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus 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.QuestCondition.WithWinRaidStatus}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Data.Quests.QuestCondition.WithWinRaidStatus)
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatusOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithWinRaidStatus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithWinRaidStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus.class, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus.Builder.class);
}
// Construct using POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus.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();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithWinRaidStatus_descriptor;
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus getDefaultInstanceForType() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus build() {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus buildPartial() {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus result = new POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus(this);
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.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus) {
return mergeFrom((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus other) {
if (other == POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus.getDefaultInstance()) return this;
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.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
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.QuestCondition.WithWinRaidStatus)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Data.Quests.QuestCondition.WithWinRaidStatus)
private static final POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus();
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WithWinRaidStatus parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WithWinRaidStatus(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.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WithRaidLevelOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Data.Quests.QuestCondition.WithRaidLevel)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .POGOProtos.Enums.RaidLevel raid_level = 1;
*/
java.util.List getRaidLevelList();
/**
* repeated .POGOProtos.Enums.RaidLevel raid_level = 1;
*/
int getRaidLevelCount();
/**
* repeated .POGOProtos.Enums.RaidLevel raid_level = 1;
*/
POGOProtos.Enums.RaidLevelOuterClass.RaidLevel getRaidLevel(int index);
/**
* repeated .POGOProtos.Enums.RaidLevel raid_level = 1;
*/
java.util.List
getRaidLevelValueList();
/**
* repeated .POGOProtos.Enums.RaidLevel raid_level = 1;
*/
int getRaidLevelValue(int index);
}
/**
* Protobuf type {@code POGOProtos.Data.Quests.QuestCondition.WithRaidLevel}
*/
public static final class WithRaidLevel extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Data.Quests.QuestCondition.WithRaidLevel)
WithRaidLevelOrBuilder {
private static final long serialVersionUID = 0L;
// Use WithRaidLevel.newBuilder() to construct.
private WithRaidLevel(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WithRaidLevel() {
raidLevel_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WithRaidLevel(
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();
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
raidLevel_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
raidLevel_.add(rawValue);
break;
}
case 10: {
int length = input.readRawVarint32();
int oldLimit = input.pushLimit(length);
while(input.getBytesUntilLimit() > 0) {
int rawValue = input.readEnum();
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
raidLevel_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
raidLevel_.add(rawValue);
}
input.popLimit(oldLimit);
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)) {
raidLevel_ = java.util.Collections.unmodifiableList(raidLevel_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithRaidLevel_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithRaidLevel_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel.class, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel.Builder.class);
}
public static final int RAID_LEVEL_FIELD_NUMBER = 1;
private java.util.List raidLevel_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, POGOProtos.Enums.RaidLevelOuterClass.RaidLevel> raidLevel_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, POGOProtos.Enums.RaidLevelOuterClass.RaidLevel>() {
public POGOProtos.Enums.RaidLevelOuterClass.RaidLevel convert(java.lang.Integer from) {
@SuppressWarnings("deprecation")
POGOProtos.Enums.RaidLevelOuterClass.RaidLevel result = POGOProtos.Enums.RaidLevelOuterClass.RaidLevel.valueOf(from);
return result == null ? POGOProtos.Enums.RaidLevelOuterClass.RaidLevel.UNRECOGNIZED : result;
}
};
/**
* repeated .POGOProtos.Enums.RaidLevel raid_level = 1;
*/
public java.util.List getRaidLevelList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, POGOProtos.Enums.RaidLevelOuterClass.RaidLevel>(raidLevel_, raidLevel_converter_);
}
/**
* repeated .POGOProtos.Enums.RaidLevel raid_level = 1;
*/
public int getRaidLevelCount() {
return raidLevel_.size();
}
/**
* repeated .POGOProtos.Enums.RaidLevel raid_level = 1;
*/
public POGOProtos.Enums.RaidLevelOuterClass.RaidLevel getRaidLevel(int index) {
return raidLevel_converter_.convert(raidLevel_.get(index));
}
/**
* repeated .POGOProtos.Enums.RaidLevel raid_level = 1;
*/
public java.util.List
getRaidLevelValueList() {
return raidLevel_;
}
/**
* repeated .POGOProtos.Enums.RaidLevel raid_level = 1;
*/
public int getRaidLevelValue(int index) {
return raidLevel_.get(index);
}
private int raidLevelMemoizedSerializedSize;
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (getRaidLevelList().size() > 0) {
output.writeUInt32NoTag(10);
output.writeUInt32NoTag(raidLevelMemoizedSerializedSize);
}
for (int i = 0; i < raidLevel_.size(); i++) {
output.writeEnumNoTag(raidLevel_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < raidLevel_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeEnumSizeNoTag(raidLevel_.get(i));
}
size += dataSize;
if (!getRaidLevelList().isEmpty()) { size += 1;
size += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(dataSize);
}raidLevelMemoizedSerializedSize = dataSize;
}
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.QuestConditionOuterClass.QuestCondition.WithRaidLevel)) {
return super.equals(obj);
}
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel other = (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel) obj;
boolean result = true;
result = result && raidLevel_.equals(other.raidLevel_);
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 (getRaidLevelCount() > 0) {
hash = (37 * hash) + RAID_LEVEL_FIELD_NUMBER;
hash = (53 * hash) + raidLevel_.hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel 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.QuestConditionOuterClass.QuestCondition.WithRaidLevel parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel 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.QuestConditionOuterClass.QuestCondition.WithRaidLevel parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel 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.QuestConditionOuterClass.QuestCondition.WithRaidLevel parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel 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.QuestConditionOuterClass.QuestCondition.WithRaidLevel parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel 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.QuestConditionOuterClass.QuestCondition.WithRaidLevel 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.QuestCondition.WithRaidLevel}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Data.Quests.QuestCondition.WithRaidLevel)
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevelOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithRaidLevel_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithRaidLevel_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel.class, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel.Builder.class);
}
// Construct using POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel.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();
raidLevel_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithRaidLevel_descriptor;
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel getDefaultInstanceForType() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel build() {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel buildPartial() {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel result = new POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel(this);
int from_bitField0_ = bitField0_;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
raidLevel_ = java.util.Collections.unmodifiableList(raidLevel_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.raidLevel_ = raidLevel_;
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.QuestConditionOuterClass.QuestCondition.WithRaidLevel) {
return mergeFrom((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel other) {
if (other == POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel.getDefaultInstance()) return this;
if (!other.raidLevel_.isEmpty()) {
if (raidLevel_.isEmpty()) {
raidLevel_ = other.raidLevel_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureRaidLevelIsMutable();
raidLevel_.addAll(other.raidLevel_);
}
onChanged();
}
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.QuestConditionOuterClass.QuestCondition.WithRaidLevel parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List raidLevel_ =
java.util.Collections.emptyList();
private void ensureRaidLevelIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
raidLevel_ = new java.util.ArrayList(raidLevel_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated .POGOProtos.Enums.RaidLevel raid_level = 1;
*/
public java.util.List getRaidLevelList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, POGOProtos.Enums.RaidLevelOuterClass.RaidLevel>(raidLevel_, raidLevel_converter_);
}
/**
* repeated .POGOProtos.Enums.RaidLevel raid_level = 1;
*/
public int getRaidLevelCount() {
return raidLevel_.size();
}
/**
* repeated .POGOProtos.Enums.RaidLevel raid_level = 1;
*/
public POGOProtos.Enums.RaidLevelOuterClass.RaidLevel getRaidLevel(int index) {
return raidLevel_converter_.convert(raidLevel_.get(index));
}
/**
* repeated .POGOProtos.Enums.RaidLevel raid_level = 1;
*/
public Builder setRaidLevel(
int index, POGOProtos.Enums.RaidLevelOuterClass.RaidLevel value) {
if (value == null) {
throw new NullPointerException();
}
ensureRaidLevelIsMutable();
raidLevel_.set(index, value.getNumber());
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.RaidLevel raid_level = 1;
*/
public Builder addRaidLevel(POGOProtos.Enums.RaidLevelOuterClass.RaidLevel value) {
if (value == null) {
throw new NullPointerException();
}
ensureRaidLevelIsMutable();
raidLevel_.add(value.getNumber());
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.RaidLevel raid_level = 1;
*/
public Builder addAllRaidLevel(
java.lang.Iterable extends POGOProtos.Enums.RaidLevelOuterClass.RaidLevel> values) {
ensureRaidLevelIsMutable();
for (POGOProtos.Enums.RaidLevelOuterClass.RaidLevel value : values) {
raidLevel_.add(value.getNumber());
}
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.RaidLevel raid_level = 1;
*/
public Builder clearRaidLevel() {
raidLevel_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.RaidLevel raid_level = 1;
*/
public java.util.List
getRaidLevelValueList() {
return java.util.Collections.unmodifiableList(raidLevel_);
}
/**
* repeated .POGOProtos.Enums.RaidLevel raid_level = 1;
*/
public int getRaidLevelValue(int index) {
return raidLevel_.get(index);
}
/**
* repeated .POGOProtos.Enums.RaidLevel raid_level = 1;
*/
public Builder setRaidLevelValue(
int index, int value) {
ensureRaidLevelIsMutable();
raidLevel_.set(index, value);
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.RaidLevel raid_level = 1;
*/
public Builder addRaidLevelValue(int value) {
ensureRaidLevelIsMutable();
raidLevel_.add(value);
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.RaidLevel raid_level = 1;
*/
public Builder addAllRaidLevelValue(
java.lang.Iterable values) {
ensureRaidLevelIsMutable();
for (int value : values) {
raidLevel_.add(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.QuestCondition.WithRaidLevel)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Data.Quests.QuestCondition.WithRaidLevel)
private static final POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel();
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WithRaidLevel parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WithRaidLevel(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.QuestConditionOuterClass.QuestCondition.WithRaidLevel getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WithThrowTypeOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Data.Quests.QuestCondition.WithThrowType)
com.google.protobuf.MessageOrBuilder {
/**
* .POGOProtos.Enums.ActivityType throw_type = 1;
*/
int getThrowTypeValue();
/**
* .POGOProtos.Enums.ActivityType throw_type = 1;
*/
POGOProtos.Enums.ActivityTypeOuterClass.ActivityType getThrowType();
/**
* bool hit = 2;
*/
boolean getHit();
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType.ThrowCase getThrowCase();
}
/**
* Protobuf type {@code POGOProtos.Data.Quests.QuestCondition.WithThrowType}
*/
public static final class WithThrowType extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Data.Quests.QuestCondition.WithThrowType)
WithThrowTypeOrBuilder {
private static final long serialVersionUID = 0L;
// Use WithThrowType.newBuilder() to construct.
private WithThrowType(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WithThrowType() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WithThrowType(
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();
throwCase_ = 1;
throw_ = rawValue;
break;
}
case 16: {
throwCase_ = 2;
throw_ = input.readBool();
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.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithThrowType_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithThrowType_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType.class, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType.Builder.class);
}
private int throwCase_ = 0;
private java.lang.Object throw_;
public enum ThrowCase
implements com.google.protobuf.Internal.EnumLite {
THROW_TYPE(1),
HIT(2),
THROW_NOT_SET(0);
private final int value;
private ThrowCase(int value) {
this.value = value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ThrowCase valueOf(int value) {
return forNumber(value);
}
public static ThrowCase forNumber(int value) {
switch (value) {
case 1: return THROW_TYPE;
case 2: return HIT;
case 0: return THROW_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public ThrowCase
getThrowCase() {
return ThrowCase.forNumber(
throwCase_);
}
public static final int THROW_TYPE_FIELD_NUMBER = 1;
/**
* .POGOProtos.Enums.ActivityType throw_type = 1;
*/
public int getThrowTypeValue() {
if (throwCase_ == 1) {
return (java.lang.Integer) throw_;
}
return 0;
}
/**
* .POGOProtos.Enums.ActivityType throw_type = 1;
*/
public POGOProtos.Enums.ActivityTypeOuterClass.ActivityType getThrowType() {
if (throwCase_ == 1) {
@SuppressWarnings("deprecation")
POGOProtos.Enums.ActivityTypeOuterClass.ActivityType result = POGOProtos.Enums.ActivityTypeOuterClass.ActivityType.valueOf(
(java.lang.Integer) throw_);
return result == null ? POGOProtos.Enums.ActivityTypeOuterClass.ActivityType.UNRECOGNIZED : result;
}
return POGOProtos.Enums.ActivityTypeOuterClass.ActivityType.ACTIVITY_UNKNOWN;
}
public static final int HIT_FIELD_NUMBER = 2;
/**
* bool hit = 2;
*/
public boolean getHit() {
if (throwCase_ == 2) {
return (java.lang.Boolean) throw_;
}
return false;
}
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 (throwCase_ == 1) {
output.writeEnum(1, ((java.lang.Integer) throw_));
}
if (throwCase_ == 2) {
output.writeBool(
2, (boolean)((java.lang.Boolean) throw_));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (throwCase_ == 1) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, ((java.lang.Integer) throw_));
}
if (throwCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(
2, (boolean)((java.lang.Boolean) throw_));
}
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.QuestConditionOuterClass.QuestCondition.WithThrowType)) {
return super.equals(obj);
}
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType other = (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType) obj;
boolean result = true;
result = result && getThrowCase().equals(
other.getThrowCase());
if (!result) return false;
switch (throwCase_) {
case 1:
result = result && getThrowTypeValue()
== other.getThrowTypeValue();
break;
case 2:
result = result && (getHit()
== other.getHit());
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();
switch (throwCase_) {
case 1:
hash = (37 * hash) + THROW_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getThrowTypeValue();
break;
case 2:
hash = (37 * hash) + HIT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getHit());
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType 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.QuestConditionOuterClass.QuestCondition.WithThrowType parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType 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.QuestConditionOuterClass.QuestCondition.WithThrowType parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType 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.QuestConditionOuterClass.QuestCondition.WithThrowType parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType 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.QuestConditionOuterClass.QuestCondition.WithThrowType parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType 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.QuestConditionOuterClass.QuestCondition.WithThrowType 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.QuestCondition.WithThrowType}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Data.Quests.QuestCondition.WithThrowType)
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowTypeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithThrowType_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithThrowType_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType.class, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType.Builder.class);
}
// Construct using POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType.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();
throwCase_ = 0;
throw_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithThrowType_descriptor;
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType getDefaultInstanceForType() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType build() {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType buildPartial() {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType result = new POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType(this);
if (throwCase_ == 1) {
result.throw_ = throw_;
}
if (throwCase_ == 2) {
result.throw_ = throw_;
}
result.throwCase_ = throwCase_;
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.QuestConditionOuterClass.QuestCondition.WithThrowType) {
return mergeFrom((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType other) {
if (other == POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType.getDefaultInstance()) return this;
switch (other.getThrowCase()) {
case THROW_TYPE: {
setThrowTypeValue(other.getThrowTypeValue());
break;
}
case HIT: {
setHit(other.getHit());
break;
}
case THROW_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.QuestConditionOuterClass.QuestCondition.WithThrowType parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int throwCase_ = 0;
private java.lang.Object throw_;
public ThrowCase
getThrowCase() {
return ThrowCase.forNumber(
throwCase_);
}
public Builder clearThrow() {
throwCase_ = 0;
throw_ = null;
onChanged();
return this;
}
/**
* .POGOProtos.Enums.ActivityType throw_type = 1;
*/
public int getThrowTypeValue() {
if (throwCase_ == 1) {
return ((java.lang.Integer) throw_).intValue();
}
return 0;
}
/**
* .POGOProtos.Enums.ActivityType throw_type = 1;
*/
public Builder setThrowTypeValue(int value) {
throwCase_ = 1;
throw_ = value;
onChanged();
return this;
}
/**
* .POGOProtos.Enums.ActivityType throw_type = 1;
*/
public POGOProtos.Enums.ActivityTypeOuterClass.ActivityType getThrowType() {
if (throwCase_ == 1) {
@SuppressWarnings("deprecation")
POGOProtos.Enums.ActivityTypeOuterClass.ActivityType result = POGOProtos.Enums.ActivityTypeOuterClass.ActivityType.valueOf(
(java.lang.Integer) throw_);
return result == null ? POGOProtos.Enums.ActivityTypeOuterClass.ActivityType.UNRECOGNIZED : result;
}
return POGOProtos.Enums.ActivityTypeOuterClass.ActivityType.ACTIVITY_UNKNOWN;
}
/**
* .POGOProtos.Enums.ActivityType throw_type = 1;
*/
public Builder setThrowType(POGOProtos.Enums.ActivityTypeOuterClass.ActivityType value) {
if (value == null) {
throw new NullPointerException();
}
throwCase_ = 1;
throw_ = value.getNumber();
onChanged();
return this;
}
/**
* .POGOProtos.Enums.ActivityType throw_type = 1;
*/
public Builder clearThrowType() {
if (throwCase_ == 1) {
throwCase_ = 0;
throw_ = null;
onChanged();
}
return this;
}
/**
* bool hit = 2;
*/
public boolean getHit() {
if (throwCase_ == 2) {
return (java.lang.Boolean) throw_;
}
return false;
}
/**
* bool hit = 2;
*/
public Builder setHit(boolean value) {
throwCase_ = 2;
throw_ = value;
onChanged();
return this;
}
/**
* bool hit = 2;
*/
public Builder clearHit() {
if (throwCase_ == 2) {
throwCase_ = 0;
throw_ = null;
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.QuestCondition.WithThrowType)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Data.Quests.QuestCondition.WithThrowType)
private static final POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType();
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WithThrowType parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WithThrowType(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.QuestConditionOuterClass.QuestCondition.WithThrowType getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WithCurveBallOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Data.Quests.QuestCondition.WithCurveBall)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code POGOProtos.Data.Quests.QuestCondition.WithCurveBall}
*/
public static final class WithCurveBall extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Data.Quests.QuestCondition.WithCurveBall)
WithCurveBallOrBuilder {
private static final long serialVersionUID = 0L;
// Use WithCurveBall.newBuilder() to construct.
private WithCurveBall(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WithCurveBall() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WithCurveBall(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
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;
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.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithCurveBall_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithCurveBall_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithCurveBall.class, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithCurveBall.Builder.class);
}
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 {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
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.QuestConditionOuterClass.QuestCondition.WithCurveBall)) {
return super.equals(obj);
}
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithCurveBall other = (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithCurveBall) obj;
boolean result = true;
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 = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithCurveBall parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithCurveBall 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.QuestConditionOuterClass.QuestCondition.WithCurveBall parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithCurveBall 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.QuestConditionOuterClass.QuestCondition.WithCurveBall parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithCurveBall parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithCurveBall parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithCurveBall 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.QuestConditionOuterClass.QuestCondition.WithCurveBall parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithCurveBall 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.QuestConditionOuterClass.QuestCondition.WithCurveBall parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithCurveBall 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.QuestConditionOuterClass.QuestCondition.WithCurveBall 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.QuestCondition.WithCurveBall}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Data.Quests.QuestCondition.WithCurveBall)
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithCurveBallOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithCurveBall_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithCurveBall_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithCurveBall.class, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithCurveBall.Builder.class);
}
// Construct using POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithCurveBall.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();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithCurveBall_descriptor;
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithCurveBall getDefaultInstanceForType() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithCurveBall.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithCurveBall build() {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithCurveBall result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithCurveBall buildPartial() {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithCurveBall result = new POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithCurveBall(this);
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.QuestConditionOuterClass.QuestCondition.WithCurveBall) {
return mergeFrom((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithCurveBall)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithCurveBall other) {
if (other == POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithCurveBall.getDefaultInstance()) return this;
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.QuestConditionOuterClass.QuestCondition.WithCurveBall parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithCurveBall) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
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.QuestCondition.WithCurveBall)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Data.Quests.QuestCondition.WithCurveBall)
private static final POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithCurveBall DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithCurveBall();
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithCurveBall getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WithCurveBall parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WithCurveBall(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.QuestConditionOuterClass.QuestCondition.WithCurveBall getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WithWinGymBattleStatusOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Data.Quests.QuestCondition.WithWinGymBattleStatus)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code POGOProtos.Data.Quests.QuestCondition.WithWinGymBattleStatus}
*/
public static final class WithWinGymBattleStatus extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Data.Quests.QuestCondition.WithWinGymBattleStatus)
WithWinGymBattleStatusOrBuilder {
private static final long serialVersionUID = 0L;
// Use WithWinGymBattleStatus.newBuilder() to construct.
private WithWinGymBattleStatus(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WithWinGymBattleStatus() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WithWinGymBattleStatus(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
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;
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.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithWinGymBattleStatus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithWinGymBattleStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus.class, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus.Builder.class);
}
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 {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
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.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus)) {
return super.equals(obj);
}
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus other = (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus) obj;
boolean result = true;
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 = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus 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.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus 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.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus 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.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus 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.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus 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.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus 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.QuestCondition.WithWinGymBattleStatus}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Data.Quests.QuestCondition.WithWinGymBattleStatus)
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatusOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithWinGymBattleStatus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithWinGymBattleStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus.class, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus.Builder.class);
}
// Construct using POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus.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();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithWinGymBattleStatus_descriptor;
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus getDefaultInstanceForType() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus build() {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus buildPartial() {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus result = new POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus(this);
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.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus) {
return mergeFrom((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus other) {
if (other == POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus.getDefaultInstance()) return this;
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.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
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.QuestCondition.WithWinGymBattleStatus)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Data.Quests.QuestCondition.WithWinGymBattleStatus)
private static final POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus();
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WithWinGymBattleStatus parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WithWinGymBattleStatus(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.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WithSuperEffectiveChargeMoveOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Data.Quests.QuestCondition.WithSuperEffectiveChargeMove)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code POGOProtos.Data.Quests.QuestCondition.WithSuperEffectiveChargeMove}
*/
public static final class WithSuperEffectiveChargeMove extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Data.Quests.QuestCondition.WithSuperEffectiveChargeMove)
WithSuperEffectiveChargeMoveOrBuilder {
private static final long serialVersionUID = 0L;
// Use WithSuperEffectiveChargeMove.newBuilder() to construct.
private WithSuperEffectiveChargeMove(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WithSuperEffectiveChargeMove() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WithSuperEffectiveChargeMove(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
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;
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.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithSuperEffectiveChargeMove_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithSuperEffectiveChargeMove_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove.class, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove.Builder.class);
}
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 {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
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.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove)) {
return super.equals(obj);
}
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove other = (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove) obj;
boolean result = true;
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 = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove 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.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove 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.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove 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.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove 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.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove 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.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove 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.QuestCondition.WithSuperEffectiveChargeMove}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Data.Quests.QuestCondition.WithSuperEffectiveChargeMove)
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMoveOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithSuperEffectiveChargeMove_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithSuperEffectiveChargeMove_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove.class, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove.Builder.class);
}
// Construct using POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove.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();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithSuperEffectiveChargeMove_descriptor;
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove getDefaultInstanceForType() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove build() {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove buildPartial() {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove result = new POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove(this);
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.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove) {
return mergeFrom((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove other) {
if (other == POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove.getDefaultInstance()) return this;
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.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
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.QuestCondition.WithSuperEffectiveChargeMove)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Data.Quests.QuestCondition.WithSuperEffectiveChargeMove)
private static final POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove();
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WithSuperEffectiveChargeMove parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WithSuperEffectiveChargeMove(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.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WithItemOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Data.Quests.QuestCondition.WithItem)
com.google.protobuf.MessageOrBuilder {
/**
* .POGOProtos.Inventory.Item.ItemId item = 1;
*/
int getItemValue();
/**
* .POGOProtos.Inventory.Item.ItemId item = 1;
*/
POGOProtos.Inventory.Item.ItemIdOuterClass.ItemId getItem();
}
/**
* Protobuf type {@code POGOProtos.Data.Quests.QuestCondition.WithItem}
*/
public static final class WithItem extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Data.Quests.QuestCondition.WithItem)
WithItemOrBuilder {
private static final long serialVersionUID = 0L;
// Use WithItem.newBuilder() to construct.
private WithItem(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WithItem() {
item_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WithItem(
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();
item_ = rawValue;
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.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithItem_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithItem_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem.class, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem.Builder.class);
}
public static final int ITEM_FIELD_NUMBER = 1;
private int item_;
/**
* .POGOProtos.Inventory.Item.ItemId item = 1;
*/
public int getItemValue() {
return item_;
}
/**
* .POGOProtos.Inventory.Item.ItemId item = 1;
*/
public POGOProtos.Inventory.Item.ItemIdOuterClass.ItemId getItem() {
@SuppressWarnings("deprecation")
POGOProtos.Inventory.Item.ItemIdOuterClass.ItemId result = POGOProtos.Inventory.Item.ItemIdOuterClass.ItemId.valueOf(item_);
return result == null ? POGOProtos.Inventory.Item.ItemIdOuterClass.ItemId.UNRECOGNIZED : result;
}
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 (item_ != POGOProtos.Inventory.Item.ItemIdOuterClass.ItemId.ITEM_UNKNOWN.getNumber()) {
output.writeEnum(1, item_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (item_ != POGOProtos.Inventory.Item.ItemIdOuterClass.ItemId.ITEM_UNKNOWN.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, item_);
}
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.QuestConditionOuterClass.QuestCondition.WithItem)) {
return super.equals(obj);
}
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem other = (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem) obj;
boolean result = true;
result = result && item_ == other.item_;
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) + ITEM_FIELD_NUMBER;
hash = (53 * hash) + item_;
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem 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.QuestConditionOuterClass.QuestCondition.WithItem parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem 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.QuestConditionOuterClass.QuestCondition.WithItem parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem 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.QuestConditionOuterClass.QuestCondition.WithItem parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem 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.QuestConditionOuterClass.QuestCondition.WithItem parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem 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.QuestConditionOuterClass.QuestCondition.WithItem 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.QuestCondition.WithItem}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Data.Quests.QuestCondition.WithItem)
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItemOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithItem_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithItem_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem.class, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem.Builder.class);
}
// Construct using POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem.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();
item_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithItem_descriptor;
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem getDefaultInstanceForType() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem build() {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem buildPartial() {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem result = new POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem(this);
result.item_ = item_;
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.QuestConditionOuterClass.QuestCondition.WithItem) {
return mergeFrom((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem other) {
if (other == POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem.getDefaultInstance()) return this;
if (other.item_ != 0) {
setItemValue(other.getItemValue());
}
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.QuestConditionOuterClass.QuestCondition.WithItem parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int item_ = 0;
/**
* .POGOProtos.Inventory.Item.ItemId item = 1;
*/
public int getItemValue() {
return item_;
}
/**
* .POGOProtos.Inventory.Item.ItemId item = 1;
*/
public Builder setItemValue(int value) {
item_ = value;
onChanged();
return this;
}
/**
* .POGOProtos.Inventory.Item.ItemId item = 1;
*/
public POGOProtos.Inventory.Item.ItemIdOuterClass.ItemId getItem() {
@SuppressWarnings("deprecation")
POGOProtos.Inventory.Item.ItemIdOuterClass.ItemId result = POGOProtos.Inventory.Item.ItemIdOuterClass.ItemId.valueOf(item_);
return result == null ? POGOProtos.Inventory.Item.ItemIdOuterClass.ItemId.UNRECOGNIZED : result;
}
/**
* .POGOProtos.Inventory.Item.ItemId item = 1;
*/
public Builder setItem(POGOProtos.Inventory.Item.ItemIdOuterClass.ItemId value) {
if (value == null) {
throw new NullPointerException();
}
item_ = value.getNumber();
onChanged();
return this;
}
/**
* .POGOProtos.Inventory.Item.ItemId item = 1;
*/
public Builder clearItem() {
item_ = 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.QuestCondition.WithItem)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Data.Quests.QuestCondition.WithItem)
private static final POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem();
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WithItem parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WithItem(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.QuestConditionOuterClass.QuestCondition.WithItem getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WithUniquePokestopOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Data.Quests.QuestCondition.WithUniquePokestop)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code POGOProtos.Data.Quests.QuestCondition.WithUniquePokestop}
*/
public static final class WithUniquePokestop extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Data.Quests.QuestCondition.WithUniquePokestop)
WithUniquePokestopOrBuilder {
private static final long serialVersionUID = 0L;
// Use WithUniquePokestop.newBuilder() to construct.
private WithUniquePokestop(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WithUniquePokestop() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WithUniquePokestop(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
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;
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.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithUniquePokestop_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithUniquePokestop_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop.class, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop.Builder.class);
}
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 {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
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.QuestConditionOuterClass.QuestCondition.WithUniquePokestop)) {
return super.equals(obj);
}
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop other = (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop) obj;
boolean result = true;
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 = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop 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.QuestConditionOuterClass.QuestCondition.WithUniquePokestop parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop 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.QuestConditionOuterClass.QuestCondition.WithUniquePokestop parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop 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.QuestConditionOuterClass.QuestCondition.WithUniquePokestop parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop 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.QuestConditionOuterClass.QuestCondition.WithUniquePokestop parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop 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.QuestConditionOuterClass.QuestCondition.WithUniquePokestop 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.QuestCondition.WithUniquePokestop}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Data.Quests.QuestCondition.WithUniquePokestop)
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestopOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithUniquePokestop_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithUniquePokestop_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop.class, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop.Builder.class);
}
// Construct using POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop.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();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithUniquePokestop_descriptor;
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop getDefaultInstanceForType() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop build() {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop buildPartial() {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop result = new POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop(this);
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.QuestConditionOuterClass.QuestCondition.WithUniquePokestop) {
return mergeFrom((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop other) {
if (other == POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop.getDefaultInstance()) return this;
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.QuestConditionOuterClass.QuestCondition.WithUniquePokestop parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
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.QuestCondition.WithUniquePokestop)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Data.Quests.QuestCondition.WithUniquePokestop)
private static final POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop();
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WithUniquePokestop parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WithUniquePokestop(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.QuestConditionOuterClass.QuestCondition.WithUniquePokestop getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WithQuestContextOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Data.Quests.QuestCondition.WithQuestContext)
com.google.protobuf.MessageOrBuilder {
/**
* .POGOProtos.Data.Quests.QuestCondition.WithQuestContext.Context context = 1;
*/
int getContextValue();
/**
* .POGOProtos.Data.Quests.QuestCondition.WithQuestContext.Context context = 1;
*/
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext.Context getContext();
}
/**
* Protobuf type {@code POGOProtos.Data.Quests.QuestCondition.WithQuestContext}
*/
public static final class WithQuestContext extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Data.Quests.QuestCondition.WithQuestContext)
WithQuestContextOrBuilder {
private static final long serialVersionUID = 0L;
// Use WithQuestContext.newBuilder() to construct.
private WithQuestContext(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WithQuestContext() {
context_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WithQuestContext(
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();
context_ = rawValue;
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.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithQuestContext_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithQuestContext_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext.class, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext.Builder.class);
}
/**
* Protobuf enum {@code POGOProtos.Data.Quests.QuestCondition.WithQuestContext.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.QuestConditionOuterClass.QuestCondition.WithQuestContext.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.QuestCondition.WithQuestContext.Context)
}
public static final int CONTEXT_FIELD_NUMBER = 1;
private int context_;
/**
* .POGOProtos.Data.Quests.QuestCondition.WithQuestContext.Context context = 1;
*/
public int getContextValue() {
return context_;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithQuestContext.Context context = 1;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext.Context getContext() {
@SuppressWarnings("deprecation")
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext.Context result = POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext.Context.valueOf(context_);
return result == null ? POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext.Context.UNRECOGNIZED : result;
}
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 (context_ != POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext.Context.UNSET.getNumber()) {
output.writeEnum(1, context_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (context_ != POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext.Context.UNSET.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, context_);
}
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.QuestConditionOuterClass.QuestCondition.WithQuestContext)) {
return super.equals(obj);
}
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext other = (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext) obj;
boolean result = true;
result = result && context_ == other.context_;
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) + CONTEXT_FIELD_NUMBER;
hash = (53 * hash) + context_;
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext 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.QuestConditionOuterClass.QuestCondition.WithQuestContext parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext 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.QuestConditionOuterClass.QuestCondition.WithQuestContext parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext 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.QuestConditionOuterClass.QuestCondition.WithQuestContext parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext 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.QuestConditionOuterClass.QuestCondition.WithQuestContext parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext 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.QuestConditionOuterClass.QuestCondition.WithQuestContext 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.QuestCondition.WithQuestContext}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Data.Quests.QuestCondition.WithQuestContext)
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContextOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithQuestContext_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithQuestContext_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext.class, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext.Builder.class);
}
// Construct using POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext.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();
context_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithQuestContext_descriptor;
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext getDefaultInstanceForType() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext build() {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext buildPartial() {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext result = new POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext(this);
result.context_ = context_;
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.QuestConditionOuterClass.QuestCondition.WithQuestContext) {
return mergeFrom((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext other) {
if (other == POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext.getDefaultInstance()) return this;
if (other.context_ != 0) {
setContextValue(other.getContextValue());
}
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.QuestConditionOuterClass.QuestCondition.WithQuestContext parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int context_ = 0;
/**
* .POGOProtos.Data.Quests.QuestCondition.WithQuestContext.Context context = 1;
*/
public int getContextValue() {
return context_;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithQuestContext.Context context = 1;
*/
public Builder setContextValue(int value) {
context_ = value;
onChanged();
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithQuestContext.Context context = 1;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext.Context getContext() {
@SuppressWarnings("deprecation")
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext.Context result = POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext.Context.valueOf(context_);
return result == null ? POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext.Context.UNRECOGNIZED : result;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithQuestContext.Context context = 1;
*/
public Builder setContext(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext.Context value) {
if (value == null) {
throw new NullPointerException();
}
context_ = value.getNumber();
onChanged();
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithQuestContext.Context context = 1;
*/
public Builder clearContext() {
context_ = 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.QuestCondition.WithQuestContext)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Data.Quests.QuestCondition.WithQuestContext)
private static final POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext();
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WithQuestContext parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WithQuestContext(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.QuestConditionOuterClass.QuestCondition.WithQuestContext getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WithBadgeTypeOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Data.Quests.QuestCondition.WithBadgeType)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .POGOProtos.Enums.BadgeType badge_type = 1;
*/
java.util.List getBadgeTypeList();
/**
* repeated .POGOProtos.Enums.BadgeType badge_type = 1;
*/
int getBadgeTypeCount();
/**
* repeated .POGOProtos.Enums.BadgeType badge_type = 1;
*/
POGOProtos.Enums.BadgeTypeOuterClass.BadgeType getBadgeType(int index);
/**
* repeated .POGOProtos.Enums.BadgeType badge_type = 1;
*/
java.util.List
getBadgeTypeValueList();
/**
* repeated .POGOProtos.Enums.BadgeType badge_type = 1;
*/
int getBadgeTypeValue(int index);
/**
* int32 badge_rank = 2;
*/
int getBadgeRank();
/**
* int32 amount = 3;
*/
int getAmount();
}
/**
* Protobuf type {@code POGOProtos.Data.Quests.QuestCondition.WithBadgeType}
*/
public static final class WithBadgeType extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Data.Quests.QuestCondition.WithBadgeType)
WithBadgeTypeOrBuilder {
private static final long serialVersionUID = 0L;
// Use WithBadgeType.newBuilder() to construct.
private WithBadgeType(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WithBadgeType() {
badgeType_ = java.util.Collections.emptyList();
badgeRank_ = 0;
amount_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WithBadgeType(
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();
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
badgeType_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
badgeType_.add(rawValue);
break;
}
case 10: {
int length = input.readRawVarint32();
int oldLimit = input.pushLimit(length);
while(input.getBytesUntilLimit() > 0) {
int rawValue = input.readEnum();
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
badgeType_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
badgeType_.add(rawValue);
}
input.popLimit(oldLimit);
break;
}
case 16: {
badgeRank_ = input.readInt32();
break;
}
case 24: {
amount_ = input.readInt32();
break;
}
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
badgeType_ = java.util.Collections.unmodifiableList(badgeType_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithBadgeType_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithBadgeType_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType.class, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType.Builder.class);
}
private int bitField0_;
public static final int BADGE_TYPE_FIELD_NUMBER = 1;
private java.util.List badgeType_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, POGOProtos.Enums.BadgeTypeOuterClass.BadgeType> badgeType_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, POGOProtos.Enums.BadgeTypeOuterClass.BadgeType>() {
public POGOProtos.Enums.BadgeTypeOuterClass.BadgeType convert(java.lang.Integer from) {
@SuppressWarnings("deprecation")
POGOProtos.Enums.BadgeTypeOuterClass.BadgeType result = POGOProtos.Enums.BadgeTypeOuterClass.BadgeType.valueOf(from);
return result == null ? POGOProtos.Enums.BadgeTypeOuterClass.BadgeType.UNRECOGNIZED : result;
}
};
/**
* repeated .POGOProtos.Enums.BadgeType badge_type = 1;
*/
public java.util.List getBadgeTypeList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, POGOProtos.Enums.BadgeTypeOuterClass.BadgeType>(badgeType_, badgeType_converter_);
}
/**
* repeated .POGOProtos.Enums.BadgeType badge_type = 1;
*/
public int getBadgeTypeCount() {
return badgeType_.size();
}
/**
* repeated .POGOProtos.Enums.BadgeType badge_type = 1;
*/
public POGOProtos.Enums.BadgeTypeOuterClass.BadgeType getBadgeType(int index) {
return badgeType_converter_.convert(badgeType_.get(index));
}
/**
* repeated .POGOProtos.Enums.BadgeType badge_type = 1;
*/
public java.util.List
getBadgeTypeValueList() {
return badgeType_;
}
/**
* repeated .POGOProtos.Enums.BadgeType badge_type = 1;
*/
public int getBadgeTypeValue(int index) {
return badgeType_.get(index);
}
private int badgeTypeMemoizedSerializedSize;
public static final int BADGE_RANK_FIELD_NUMBER = 2;
private int badgeRank_;
/**
* int32 badge_rank = 2;
*/
public int getBadgeRank() {
return badgeRank_;
}
public static final int AMOUNT_FIELD_NUMBER = 3;
private int amount_;
/**
* int32 amount = 3;
*/
public int getAmount() {
return amount_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (getBadgeTypeList().size() > 0) {
output.writeUInt32NoTag(10);
output.writeUInt32NoTag(badgeTypeMemoizedSerializedSize);
}
for (int i = 0; i < badgeType_.size(); i++) {
output.writeEnumNoTag(badgeType_.get(i));
}
if (badgeRank_ != 0) {
output.writeInt32(2, badgeRank_);
}
if (amount_ != 0) {
output.writeInt32(3, amount_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < badgeType_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeEnumSizeNoTag(badgeType_.get(i));
}
size += dataSize;
if (!getBadgeTypeList().isEmpty()) { size += 1;
size += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(dataSize);
}badgeTypeMemoizedSerializedSize = dataSize;
}
if (badgeRank_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, badgeRank_);
}
if (amount_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, amount_);
}
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.QuestConditionOuterClass.QuestCondition.WithBadgeType)) {
return super.equals(obj);
}
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType other = (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType) obj;
boolean result = true;
result = result && badgeType_.equals(other.badgeType_);
result = result && (getBadgeRank()
== other.getBadgeRank());
result = result && (getAmount()
== other.getAmount());
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 (getBadgeTypeCount() > 0) {
hash = (37 * hash) + BADGE_TYPE_FIELD_NUMBER;
hash = (53 * hash) + badgeType_.hashCode();
}
hash = (37 * hash) + BADGE_RANK_FIELD_NUMBER;
hash = (53 * hash) + getBadgeRank();
hash = (37 * hash) + AMOUNT_FIELD_NUMBER;
hash = (53 * hash) + getAmount();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType 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.QuestConditionOuterClass.QuestCondition.WithBadgeType parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType 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.QuestConditionOuterClass.QuestCondition.WithBadgeType parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType 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.QuestConditionOuterClass.QuestCondition.WithBadgeType parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType 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.QuestConditionOuterClass.QuestCondition.WithBadgeType parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType 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.QuestConditionOuterClass.QuestCondition.WithBadgeType 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.QuestCondition.WithBadgeType}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Data.Quests.QuestCondition.WithBadgeType)
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeTypeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithBadgeType_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithBadgeType_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType.class, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType.Builder.class);
}
// Construct using POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType.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();
badgeType_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
badgeRank_ = 0;
amount_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithBadgeType_descriptor;
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType getDefaultInstanceForType() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType build() {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType buildPartial() {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType result = new POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
badgeType_ = java.util.Collections.unmodifiableList(badgeType_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.badgeType_ = badgeType_;
result.badgeRank_ = badgeRank_;
result.amount_ = amount_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType) {
return mergeFrom((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType other) {
if (other == POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType.getDefaultInstance()) return this;
if (!other.badgeType_.isEmpty()) {
if (badgeType_.isEmpty()) {
badgeType_ = other.badgeType_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureBadgeTypeIsMutable();
badgeType_.addAll(other.badgeType_);
}
onChanged();
}
if (other.getBadgeRank() != 0) {
setBadgeRank(other.getBadgeRank());
}
if (other.getAmount() != 0) {
setAmount(other.getAmount());
}
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.QuestConditionOuterClass.QuestCondition.WithBadgeType parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List badgeType_ =
java.util.Collections.emptyList();
private void ensureBadgeTypeIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
badgeType_ = new java.util.ArrayList(badgeType_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated .POGOProtos.Enums.BadgeType badge_type = 1;
*/
public java.util.List getBadgeTypeList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, POGOProtos.Enums.BadgeTypeOuterClass.BadgeType>(badgeType_, badgeType_converter_);
}
/**
* repeated .POGOProtos.Enums.BadgeType badge_type = 1;
*/
public int getBadgeTypeCount() {
return badgeType_.size();
}
/**
* repeated .POGOProtos.Enums.BadgeType badge_type = 1;
*/
public POGOProtos.Enums.BadgeTypeOuterClass.BadgeType getBadgeType(int index) {
return badgeType_converter_.convert(badgeType_.get(index));
}
/**
* repeated .POGOProtos.Enums.BadgeType badge_type = 1;
*/
public Builder setBadgeType(
int index, POGOProtos.Enums.BadgeTypeOuterClass.BadgeType value) {
if (value == null) {
throw new NullPointerException();
}
ensureBadgeTypeIsMutable();
badgeType_.set(index, value.getNumber());
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.BadgeType badge_type = 1;
*/
public Builder addBadgeType(POGOProtos.Enums.BadgeTypeOuterClass.BadgeType value) {
if (value == null) {
throw new NullPointerException();
}
ensureBadgeTypeIsMutable();
badgeType_.add(value.getNumber());
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.BadgeType badge_type = 1;
*/
public Builder addAllBadgeType(
java.lang.Iterable extends POGOProtos.Enums.BadgeTypeOuterClass.BadgeType> values) {
ensureBadgeTypeIsMutable();
for (POGOProtos.Enums.BadgeTypeOuterClass.BadgeType value : values) {
badgeType_.add(value.getNumber());
}
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.BadgeType badge_type = 1;
*/
public Builder clearBadgeType() {
badgeType_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.BadgeType badge_type = 1;
*/
public java.util.List
getBadgeTypeValueList() {
return java.util.Collections.unmodifiableList(badgeType_);
}
/**
* repeated .POGOProtos.Enums.BadgeType badge_type = 1;
*/
public int getBadgeTypeValue(int index) {
return badgeType_.get(index);
}
/**
* repeated .POGOProtos.Enums.BadgeType badge_type = 1;
*/
public Builder setBadgeTypeValue(
int index, int value) {
ensureBadgeTypeIsMutable();
badgeType_.set(index, value);
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.BadgeType badge_type = 1;
*/
public Builder addBadgeTypeValue(int value) {
ensureBadgeTypeIsMutable();
badgeType_.add(value);
onChanged();
return this;
}
/**
* repeated .POGOProtos.Enums.BadgeType badge_type = 1;
*/
public Builder addAllBadgeTypeValue(
java.lang.Iterable values) {
ensureBadgeTypeIsMutable();
for (int value : values) {
badgeType_.add(value);
}
onChanged();
return this;
}
private int badgeRank_ ;
/**
* int32 badge_rank = 2;
*/
public int getBadgeRank() {
return badgeRank_;
}
/**
* int32 badge_rank = 2;
*/
public Builder setBadgeRank(int value) {
badgeRank_ = value;
onChanged();
return this;
}
/**
* int32 badge_rank = 2;
*/
public Builder clearBadgeRank() {
badgeRank_ = 0;
onChanged();
return this;
}
private int amount_ ;
/**
* int32 amount = 3;
*/
public int getAmount() {
return amount_;
}
/**
* int32 amount = 3;
*/
public Builder setAmount(int value) {
amount_ = value;
onChanged();
return this;
}
/**
* int32 amount = 3;
*/
public Builder clearAmount() {
amount_ = 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.QuestCondition.WithBadgeType)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Data.Quests.QuestCondition.WithBadgeType)
private static final POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType();
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WithBadgeType parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WithBadgeType(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.QuestConditionOuterClass.QuestCondition.WithBadgeType getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WithPlayerLevelOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Data.Quests.QuestCondition.WithPlayerLevel)
com.google.protobuf.MessageOrBuilder {
/**
* int32 level = 1;
*/
int getLevel();
}
/**
* Protobuf type {@code POGOProtos.Data.Quests.QuestCondition.WithPlayerLevel}
*/
public static final class WithPlayerLevel extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Data.Quests.QuestCondition.WithPlayerLevel)
WithPlayerLevelOrBuilder {
private static final long serialVersionUID = 0L;
// Use WithPlayerLevel.newBuilder() to construct.
private WithPlayerLevel(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WithPlayerLevel() {
level_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WithPlayerLevel(
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: {
level_ = 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.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithPlayerLevel_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithPlayerLevel_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel.class, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel.Builder.class);
}
public static final int LEVEL_FIELD_NUMBER = 1;
private int level_;
/**
* int32 level = 1;
*/
public int getLevel() {
return level_;
}
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 (level_ != 0) {
output.writeInt32(1, level_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (level_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, level_);
}
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.QuestConditionOuterClass.QuestCondition.WithPlayerLevel)) {
return super.equals(obj);
}
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel other = (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel) obj;
boolean result = true;
result = result && (getLevel()
== other.getLevel());
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) + LEVEL_FIELD_NUMBER;
hash = (53 * hash) + getLevel();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel 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.QuestConditionOuterClass.QuestCondition.WithPlayerLevel parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel 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.QuestConditionOuterClass.QuestCondition.WithPlayerLevel parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel 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.QuestConditionOuterClass.QuestCondition.WithPlayerLevel parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel 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.QuestConditionOuterClass.QuestCondition.WithPlayerLevel parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel 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.QuestConditionOuterClass.QuestCondition.WithPlayerLevel 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.QuestCondition.WithPlayerLevel}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Data.Quests.QuestCondition.WithPlayerLevel)
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevelOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithPlayerLevel_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithPlayerLevel_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel.class, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel.Builder.class);
}
// Construct using POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel.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();
level_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithPlayerLevel_descriptor;
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel getDefaultInstanceForType() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel build() {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel buildPartial() {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel result = new POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel(this);
result.level_ = level_;
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.QuestConditionOuterClass.QuestCondition.WithPlayerLevel) {
return mergeFrom((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel other) {
if (other == POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel.getDefaultInstance()) return this;
if (other.getLevel() != 0) {
setLevel(other.getLevel());
}
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.QuestConditionOuterClass.QuestCondition.WithPlayerLevel parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int level_ ;
/**
* int32 level = 1;
*/
public int getLevel() {
return level_;
}
/**
* int32 level = 1;
*/
public Builder setLevel(int value) {
level_ = value;
onChanged();
return this;
}
/**
* int32 level = 1;
*/
public Builder clearLevel() {
level_ = 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.QuestCondition.WithPlayerLevel)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Data.Quests.QuestCondition.WithPlayerLevel)
private static final POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel();
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WithPlayerLevel parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WithPlayerLevel(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.QuestConditionOuterClass.QuestCondition.WithPlayerLevel getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WithWinBattleStatusOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Data.Quests.QuestCondition.WithWinBattleStatus)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code POGOProtos.Data.Quests.QuestCondition.WithWinBattleStatus}
*/
public static final class WithWinBattleStatus extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Data.Quests.QuestCondition.WithWinBattleStatus)
WithWinBattleStatusOrBuilder {
private static final long serialVersionUID = 0L;
// Use WithWinBattleStatus.newBuilder() to construct.
private WithWinBattleStatus(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WithWinBattleStatus() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WithWinBattleStatus(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
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;
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.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithWinBattleStatus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithWinBattleStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus.class, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus.Builder.class);
}
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 {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
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.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus)) {
return super.equals(obj);
}
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus other = (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus) obj;
boolean result = true;
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 = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus 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.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus 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.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus 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.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus 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.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus 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.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus 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.QuestCondition.WithWinBattleStatus}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Data.Quests.QuestCondition.WithWinBattleStatus)
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatusOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithWinBattleStatus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithWinBattleStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus.class, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus.Builder.class);
}
// Construct using POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus.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();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_WithWinBattleStatus_descriptor;
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus getDefaultInstanceForType() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus build() {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus buildPartial() {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus result = new POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus(this);
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.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus) {
return mergeFrom((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus other) {
if (other == POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus.getDefaultInstance()) return this;
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.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
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.QuestCondition.WithWinBattleStatus)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Data.Quests.QuestCondition.WithWinBattleStatus)
private static final POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus();
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WithWinBattleStatus parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WithWinBattleStatus(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.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private int conditionCase_ = 0;
private java.lang.Object condition_;
public enum ConditionCase
implements com.google.protobuf.Internal.EnumLite {
WITH_POKEMON_TYPE(2),
WITH_POKEMON_CATEGORY(3),
WITH_WEATHER_BOOST(4),
WITH_DAILY_CAPTURE_BONUS(5),
WITH_DAILY_SPIN_BONUS(6),
WITH_WIN_RAID_STATUS(7),
WITH_RAID_LEVEL(8),
WITH_THROW_TYPE(9),
WITH_WIN_GYM_BATTLE_STATUS(10),
WITH_SUPER_EFFECTIVE_CHARGE_MOVE(11),
WITH_ITEM(12),
WITH_UNIQUE_POKESTOP(13),
WITH_QUEST_CONTEXT(14),
WITH_BADGE_TYPE(15),
WITH_PLAYER_LEVEL(16),
WITH_WIN_BATTLE_STATUS(17),
CONDITION_NOT_SET(0);
private final int value;
private ConditionCase(int value) {
this.value = value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ConditionCase valueOf(int value) {
return forNumber(value);
}
public static ConditionCase forNumber(int value) {
switch (value) {
case 2: return WITH_POKEMON_TYPE;
case 3: return WITH_POKEMON_CATEGORY;
case 4: return WITH_WEATHER_BOOST;
case 5: return WITH_DAILY_CAPTURE_BONUS;
case 6: return WITH_DAILY_SPIN_BONUS;
case 7: return WITH_WIN_RAID_STATUS;
case 8: return WITH_RAID_LEVEL;
case 9: return WITH_THROW_TYPE;
case 10: return WITH_WIN_GYM_BATTLE_STATUS;
case 11: return WITH_SUPER_EFFECTIVE_CHARGE_MOVE;
case 12: return WITH_ITEM;
case 13: return WITH_UNIQUE_POKESTOP;
case 14: return WITH_QUEST_CONTEXT;
case 15: return WITH_BADGE_TYPE;
case 16: return WITH_PLAYER_LEVEL;
case 17: return WITH_WIN_BATTLE_STATUS;
case 0: return CONDITION_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public ConditionCase
getConditionCase() {
return ConditionCase.forNumber(
conditionCase_);
}
public static final int TYPE_FIELD_NUMBER = 1;
private int type_;
/**
* .POGOProtos.Data.Quests.QuestCondition.ConditionType type = 1;
*/
public int getTypeValue() {
return type_;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.ConditionType type = 1;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.ConditionType getType() {
@SuppressWarnings("deprecation")
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.ConditionType result = POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.ConditionType.valueOf(type_);
return result == null ? POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.ConditionType.UNRECOGNIZED : result;
}
public static final int WITH_POKEMON_TYPE_FIELD_NUMBER = 2;
/**
* .POGOProtos.Data.Quests.QuestCondition.WithPokemonType with_pokemon_type = 2;
*/
public boolean hasWithPokemonType() {
return conditionCase_ == 2;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithPokemonType with_pokemon_type = 2;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType getWithPokemonType() {
if (conditionCase_ == 2) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType.getDefaultInstance();
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithPokemonType with_pokemon_type = 2;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonTypeOrBuilder getWithPokemonTypeOrBuilder() {
if (conditionCase_ == 2) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType.getDefaultInstance();
}
public static final int WITH_POKEMON_CATEGORY_FIELD_NUMBER = 3;
/**
* .POGOProtos.Data.Quests.QuestCondition.WithPokemonCategory with_pokemon_category = 3;
*/
public boolean hasWithPokemonCategory() {
return conditionCase_ == 3;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithPokemonCategory with_pokemon_category = 3;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory getWithPokemonCategory() {
if (conditionCase_ == 3) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory.getDefaultInstance();
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithPokemonCategory with_pokemon_category = 3;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategoryOrBuilder getWithPokemonCategoryOrBuilder() {
if (conditionCase_ == 3) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory.getDefaultInstance();
}
public static final int WITH_WEATHER_BOOST_FIELD_NUMBER = 4;
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWeatherBoost with_weather_boost = 4;
*/
public boolean hasWithWeatherBoost() {
return conditionCase_ == 4;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWeatherBoost with_weather_boost = 4;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost getWithWeatherBoost() {
if (conditionCase_ == 4) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost.getDefaultInstance();
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWeatherBoost with_weather_boost = 4;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoostOrBuilder getWithWeatherBoostOrBuilder() {
if (conditionCase_ == 4) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost.getDefaultInstance();
}
public static final int WITH_DAILY_CAPTURE_BONUS_FIELD_NUMBER = 5;
/**
* .POGOProtos.Data.Quests.QuestCondition.WithDailyCaptureBonus with_daily_capture_bonus = 5;
*/
public boolean hasWithDailyCaptureBonus() {
return conditionCase_ == 5;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithDailyCaptureBonus with_daily_capture_bonus = 5;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus getWithDailyCaptureBonus() {
if (conditionCase_ == 5) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus.getDefaultInstance();
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithDailyCaptureBonus with_daily_capture_bonus = 5;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonusOrBuilder getWithDailyCaptureBonusOrBuilder() {
if (conditionCase_ == 5) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus.getDefaultInstance();
}
public static final int WITH_DAILY_SPIN_BONUS_FIELD_NUMBER = 6;
/**
* .POGOProtos.Data.Quests.QuestCondition.WithDailySpinBonus with_daily_spin_bonus = 6;
*/
public boolean hasWithDailySpinBonus() {
return conditionCase_ == 6;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithDailySpinBonus with_daily_spin_bonus = 6;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus getWithDailySpinBonus() {
if (conditionCase_ == 6) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus.getDefaultInstance();
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithDailySpinBonus with_daily_spin_bonus = 6;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonusOrBuilder getWithDailySpinBonusOrBuilder() {
if (conditionCase_ == 6) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus.getDefaultInstance();
}
public static final int WITH_WIN_RAID_STATUS_FIELD_NUMBER = 7;
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWinRaidStatus with_win_raid_status = 7;
*/
public boolean hasWithWinRaidStatus() {
return conditionCase_ == 7;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWinRaidStatus with_win_raid_status = 7;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus getWithWinRaidStatus() {
if (conditionCase_ == 7) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus.getDefaultInstance();
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWinRaidStatus with_win_raid_status = 7;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatusOrBuilder getWithWinRaidStatusOrBuilder() {
if (conditionCase_ == 7) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus.getDefaultInstance();
}
public static final int WITH_RAID_LEVEL_FIELD_NUMBER = 8;
/**
* .POGOProtos.Data.Quests.QuestCondition.WithRaidLevel with_raid_level = 8;
*/
public boolean hasWithRaidLevel() {
return conditionCase_ == 8;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithRaidLevel with_raid_level = 8;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel getWithRaidLevel() {
if (conditionCase_ == 8) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel.getDefaultInstance();
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithRaidLevel with_raid_level = 8;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevelOrBuilder getWithRaidLevelOrBuilder() {
if (conditionCase_ == 8) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel.getDefaultInstance();
}
public static final int WITH_THROW_TYPE_FIELD_NUMBER = 9;
/**
* .POGOProtos.Data.Quests.QuestCondition.WithThrowType with_throw_type = 9;
*/
public boolean hasWithThrowType() {
return conditionCase_ == 9;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithThrowType with_throw_type = 9;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType getWithThrowType() {
if (conditionCase_ == 9) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType.getDefaultInstance();
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithThrowType with_throw_type = 9;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowTypeOrBuilder getWithThrowTypeOrBuilder() {
if (conditionCase_ == 9) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType.getDefaultInstance();
}
public static final int WITH_WIN_GYM_BATTLE_STATUS_FIELD_NUMBER = 10;
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWinGymBattleStatus with_win_gym_battle_status = 10;
*/
public boolean hasWithWinGymBattleStatus() {
return conditionCase_ == 10;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWinGymBattleStatus with_win_gym_battle_status = 10;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus getWithWinGymBattleStatus() {
if (conditionCase_ == 10) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus.getDefaultInstance();
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWinGymBattleStatus with_win_gym_battle_status = 10;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatusOrBuilder getWithWinGymBattleStatusOrBuilder() {
if (conditionCase_ == 10) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus.getDefaultInstance();
}
public static final int WITH_SUPER_EFFECTIVE_CHARGE_MOVE_FIELD_NUMBER = 11;
/**
* .POGOProtos.Data.Quests.QuestCondition.WithSuperEffectiveChargeMove with_super_effective_charge_move = 11;
*/
public boolean hasWithSuperEffectiveChargeMove() {
return conditionCase_ == 11;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithSuperEffectiveChargeMove with_super_effective_charge_move = 11;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove getWithSuperEffectiveChargeMove() {
if (conditionCase_ == 11) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove.getDefaultInstance();
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithSuperEffectiveChargeMove with_super_effective_charge_move = 11;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMoveOrBuilder getWithSuperEffectiveChargeMoveOrBuilder() {
if (conditionCase_ == 11) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove.getDefaultInstance();
}
public static final int WITH_ITEM_FIELD_NUMBER = 12;
/**
* .POGOProtos.Data.Quests.QuestCondition.WithItem with_item = 12;
*/
public boolean hasWithItem() {
return conditionCase_ == 12;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithItem with_item = 12;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem getWithItem() {
if (conditionCase_ == 12) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem.getDefaultInstance();
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithItem with_item = 12;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItemOrBuilder getWithItemOrBuilder() {
if (conditionCase_ == 12) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem.getDefaultInstance();
}
public static final int WITH_UNIQUE_POKESTOP_FIELD_NUMBER = 13;
/**
* .POGOProtos.Data.Quests.QuestCondition.WithUniquePokestop with_unique_pokestop = 13;
*/
public boolean hasWithUniquePokestop() {
return conditionCase_ == 13;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithUniquePokestop with_unique_pokestop = 13;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop getWithUniquePokestop() {
if (conditionCase_ == 13) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop.getDefaultInstance();
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithUniquePokestop with_unique_pokestop = 13;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestopOrBuilder getWithUniquePokestopOrBuilder() {
if (conditionCase_ == 13) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop.getDefaultInstance();
}
public static final int WITH_QUEST_CONTEXT_FIELD_NUMBER = 14;
/**
* .POGOProtos.Data.Quests.QuestCondition.WithQuestContext with_quest_context = 14;
*/
public boolean hasWithQuestContext() {
return conditionCase_ == 14;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithQuestContext with_quest_context = 14;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext getWithQuestContext() {
if (conditionCase_ == 14) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext.getDefaultInstance();
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithQuestContext with_quest_context = 14;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContextOrBuilder getWithQuestContextOrBuilder() {
if (conditionCase_ == 14) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext.getDefaultInstance();
}
public static final int WITH_BADGE_TYPE_FIELD_NUMBER = 15;
/**
* .POGOProtos.Data.Quests.QuestCondition.WithBadgeType with_badge_type = 15;
*/
public boolean hasWithBadgeType() {
return conditionCase_ == 15;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithBadgeType with_badge_type = 15;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType getWithBadgeType() {
if (conditionCase_ == 15) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType.getDefaultInstance();
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithBadgeType with_badge_type = 15;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeTypeOrBuilder getWithBadgeTypeOrBuilder() {
if (conditionCase_ == 15) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType.getDefaultInstance();
}
public static final int WITH_PLAYER_LEVEL_FIELD_NUMBER = 16;
/**
* .POGOProtos.Data.Quests.QuestCondition.WithPlayerLevel with_player_level = 16;
*/
public boolean hasWithPlayerLevel() {
return conditionCase_ == 16;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithPlayerLevel with_player_level = 16;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel getWithPlayerLevel() {
if (conditionCase_ == 16) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel.getDefaultInstance();
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithPlayerLevel with_player_level = 16;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevelOrBuilder getWithPlayerLevelOrBuilder() {
if (conditionCase_ == 16) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel.getDefaultInstance();
}
public static final int WITH_WIN_BATTLE_STATUS_FIELD_NUMBER = 17;
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWinBattleStatus with_win_battle_status = 17;
*/
public boolean hasWithWinBattleStatus() {
return conditionCase_ == 17;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWinBattleStatus with_win_battle_status = 17;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus getWithWinBattleStatus() {
if (conditionCase_ == 17) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus.getDefaultInstance();
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWinBattleStatus with_win_battle_status = 17;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatusOrBuilder getWithWinBattleStatusOrBuilder() {
if (conditionCase_ == 17) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus.getDefaultInstance();
}
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 (type_ != POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.ConditionType.UNSET.getNumber()) {
output.writeEnum(1, type_);
}
if (conditionCase_ == 2) {
output.writeMessage(2, (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType) condition_);
}
if (conditionCase_ == 3) {
output.writeMessage(3, (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory) condition_);
}
if (conditionCase_ == 4) {
output.writeMessage(4, (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost) condition_);
}
if (conditionCase_ == 5) {
output.writeMessage(5, (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus) condition_);
}
if (conditionCase_ == 6) {
output.writeMessage(6, (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus) condition_);
}
if (conditionCase_ == 7) {
output.writeMessage(7, (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus) condition_);
}
if (conditionCase_ == 8) {
output.writeMessage(8, (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel) condition_);
}
if (conditionCase_ == 9) {
output.writeMessage(9, (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType) condition_);
}
if (conditionCase_ == 10) {
output.writeMessage(10, (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus) condition_);
}
if (conditionCase_ == 11) {
output.writeMessage(11, (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove) condition_);
}
if (conditionCase_ == 12) {
output.writeMessage(12, (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem) condition_);
}
if (conditionCase_ == 13) {
output.writeMessage(13, (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop) condition_);
}
if (conditionCase_ == 14) {
output.writeMessage(14, (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext) condition_);
}
if (conditionCase_ == 15) {
output.writeMessage(15, (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType) condition_);
}
if (conditionCase_ == 16) {
output.writeMessage(16, (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel) condition_);
}
if (conditionCase_ == 17) {
output.writeMessage(17, (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus) condition_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (type_ != POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.ConditionType.UNSET.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, type_);
}
if (conditionCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType) condition_);
}
if (conditionCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory) condition_);
}
if (conditionCase_ == 4) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost) condition_);
}
if (conditionCase_ == 5) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus) condition_);
}
if (conditionCase_ == 6) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus) condition_);
}
if (conditionCase_ == 7) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus) condition_);
}
if (conditionCase_ == 8) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel) condition_);
}
if (conditionCase_ == 9) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType) condition_);
}
if (conditionCase_ == 10) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus) condition_);
}
if (conditionCase_ == 11) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove) condition_);
}
if (conditionCase_ == 12) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem) condition_);
}
if (conditionCase_ == 13) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop) condition_);
}
if (conditionCase_ == 14) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(14, (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext) condition_);
}
if (conditionCase_ == 15) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(15, (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType) condition_);
}
if (conditionCase_ == 16) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(16, (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel) condition_);
}
if (conditionCase_ == 17) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(17, (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus) condition_);
}
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.QuestConditionOuterClass.QuestCondition)) {
return super.equals(obj);
}
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition other = (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition) obj;
boolean result = true;
result = result && type_ == other.type_;
result = result && getConditionCase().equals(
other.getConditionCase());
if (!result) return false;
switch (conditionCase_) {
case 2:
result = result && getWithPokemonType()
.equals(other.getWithPokemonType());
break;
case 3:
result = result && getWithPokemonCategory()
.equals(other.getWithPokemonCategory());
break;
case 4:
result = result && getWithWeatherBoost()
.equals(other.getWithWeatherBoost());
break;
case 5:
result = result && getWithDailyCaptureBonus()
.equals(other.getWithDailyCaptureBonus());
break;
case 6:
result = result && getWithDailySpinBonus()
.equals(other.getWithDailySpinBonus());
break;
case 7:
result = result && getWithWinRaidStatus()
.equals(other.getWithWinRaidStatus());
break;
case 8:
result = result && getWithRaidLevel()
.equals(other.getWithRaidLevel());
break;
case 9:
result = result && getWithThrowType()
.equals(other.getWithThrowType());
break;
case 10:
result = result && getWithWinGymBattleStatus()
.equals(other.getWithWinGymBattleStatus());
break;
case 11:
result = result && getWithSuperEffectiveChargeMove()
.equals(other.getWithSuperEffectiveChargeMove());
break;
case 12:
result = result && getWithItem()
.equals(other.getWithItem());
break;
case 13:
result = result && getWithUniquePokestop()
.equals(other.getWithUniquePokestop());
break;
case 14:
result = result && getWithQuestContext()
.equals(other.getWithQuestContext());
break;
case 15:
result = result && getWithBadgeType()
.equals(other.getWithBadgeType());
break;
case 16:
result = result && getWithPlayerLevel()
.equals(other.getWithPlayerLevel());
break;
case 17:
result = result && getWithWinBattleStatus()
.equals(other.getWithWinBattleStatus());
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) + TYPE_FIELD_NUMBER;
hash = (53 * hash) + type_;
switch (conditionCase_) {
case 2:
hash = (37 * hash) + WITH_POKEMON_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getWithPokemonType().hashCode();
break;
case 3:
hash = (37 * hash) + WITH_POKEMON_CATEGORY_FIELD_NUMBER;
hash = (53 * hash) + getWithPokemonCategory().hashCode();
break;
case 4:
hash = (37 * hash) + WITH_WEATHER_BOOST_FIELD_NUMBER;
hash = (53 * hash) + getWithWeatherBoost().hashCode();
break;
case 5:
hash = (37 * hash) + WITH_DAILY_CAPTURE_BONUS_FIELD_NUMBER;
hash = (53 * hash) + getWithDailyCaptureBonus().hashCode();
break;
case 6:
hash = (37 * hash) + WITH_DAILY_SPIN_BONUS_FIELD_NUMBER;
hash = (53 * hash) + getWithDailySpinBonus().hashCode();
break;
case 7:
hash = (37 * hash) + WITH_WIN_RAID_STATUS_FIELD_NUMBER;
hash = (53 * hash) + getWithWinRaidStatus().hashCode();
break;
case 8:
hash = (37 * hash) + WITH_RAID_LEVEL_FIELD_NUMBER;
hash = (53 * hash) + getWithRaidLevel().hashCode();
break;
case 9:
hash = (37 * hash) + WITH_THROW_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getWithThrowType().hashCode();
break;
case 10:
hash = (37 * hash) + WITH_WIN_GYM_BATTLE_STATUS_FIELD_NUMBER;
hash = (53 * hash) + getWithWinGymBattleStatus().hashCode();
break;
case 11:
hash = (37 * hash) + WITH_SUPER_EFFECTIVE_CHARGE_MOVE_FIELD_NUMBER;
hash = (53 * hash) + getWithSuperEffectiveChargeMove().hashCode();
break;
case 12:
hash = (37 * hash) + WITH_ITEM_FIELD_NUMBER;
hash = (53 * hash) + getWithItem().hashCode();
break;
case 13:
hash = (37 * hash) + WITH_UNIQUE_POKESTOP_FIELD_NUMBER;
hash = (53 * hash) + getWithUniquePokestop().hashCode();
break;
case 14:
hash = (37 * hash) + WITH_QUEST_CONTEXT_FIELD_NUMBER;
hash = (53 * hash) + getWithQuestContext().hashCode();
break;
case 15:
hash = (37 * hash) + WITH_BADGE_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getWithBadgeType().hashCode();
break;
case 16:
hash = (37 * hash) + WITH_PLAYER_LEVEL_FIELD_NUMBER;
hash = (53 * hash) + getWithPlayerLevel().hashCode();
break;
case 17:
hash = (37 * hash) + WITH_WIN_BATTLE_STATUS_FIELD_NUMBER;
hash = (53 * hash) + getWithWinBattleStatus().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition 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.QuestConditionOuterClass.QuestCondition parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition 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.QuestConditionOuterClass.QuestCondition parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition 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.QuestConditionOuterClass.QuestCondition parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition 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.QuestConditionOuterClass.QuestCondition parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition 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.QuestConditionOuterClass.QuestCondition 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.QuestCondition}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Data.Quests.QuestCondition)
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestConditionOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.class, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.Builder.class);
}
// Construct using POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.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();
type_ = 0;
conditionCase_ = 0;
condition_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.internal_static_POGOProtos_Data_Quests_QuestCondition_descriptor;
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition getDefaultInstanceForType() {
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition build() {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition buildPartial() {
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition result = new POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition(this);
result.type_ = type_;
if (conditionCase_ == 2) {
if (withPokemonTypeBuilder_ == null) {
result.condition_ = condition_;
} else {
result.condition_ = withPokemonTypeBuilder_.build();
}
}
if (conditionCase_ == 3) {
if (withPokemonCategoryBuilder_ == null) {
result.condition_ = condition_;
} else {
result.condition_ = withPokemonCategoryBuilder_.build();
}
}
if (conditionCase_ == 4) {
if (withWeatherBoostBuilder_ == null) {
result.condition_ = condition_;
} else {
result.condition_ = withWeatherBoostBuilder_.build();
}
}
if (conditionCase_ == 5) {
if (withDailyCaptureBonusBuilder_ == null) {
result.condition_ = condition_;
} else {
result.condition_ = withDailyCaptureBonusBuilder_.build();
}
}
if (conditionCase_ == 6) {
if (withDailySpinBonusBuilder_ == null) {
result.condition_ = condition_;
} else {
result.condition_ = withDailySpinBonusBuilder_.build();
}
}
if (conditionCase_ == 7) {
if (withWinRaidStatusBuilder_ == null) {
result.condition_ = condition_;
} else {
result.condition_ = withWinRaidStatusBuilder_.build();
}
}
if (conditionCase_ == 8) {
if (withRaidLevelBuilder_ == null) {
result.condition_ = condition_;
} else {
result.condition_ = withRaidLevelBuilder_.build();
}
}
if (conditionCase_ == 9) {
if (withThrowTypeBuilder_ == null) {
result.condition_ = condition_;
} else {
result.condition_ = withThrowTypeBuilder_.build();
}
}
if (conditionCase_ == 10) {
if (withWinGymBattleStatusBuilder_ == null) {
result.condition_ = condition_;
} else {
result.condition_ = withWinGymBattleStatusBuilder_.build();
}
}
if (conditionCase_ == 11) {
if (withSuperEffectiveChargeMoveBuilder_ == null) {
result.condition_ = condition_;
} else {
result.condition_ = withSuperEffectiveChargeMoveBuilder_.build();
}
}
if (conditionCase_ == 12) {
if (withItemBuilder_ == null) {
result.condition_ = condition_;
} else {
result.condition_ = withItemBuilder_.build();
}
}
if (conditionCase_ == 13) {
if (withUniquePokestopBuilder_ == null) {
result.condition_ = condition_;
} else {
result.condition_ = withUniquePokestopBuilder_.build();
}
}
if (conditionCase_ == 14) {
if (withQuestContextBuilder_ == null) {
result.condition_ = condition_;
} else {
result.condition_ = withQuestContextBuilder_.build();
}
}
if (conditionCase_ == 15) {
if (withBadgeTypeBuilder_ == null) {
result.condition_ = condition_;
} else {
result.condition_ = withBadgeTypeBuilder_.build();
}
}
if (conditionCase_ == 16) {
if (withPlayerLevelBuilder_ == null) {
result.condition_ = condition_;
} else {
result.condition_ = withPlayerLevelBuilder_.build();
}
}
if (conditionCase_ == 17) {
if (withWinBattleStatusBuilder_ == null) {
result.condition_ = condition_;
} else {
result.condition_ = withWinBattleStatusBuilder_.build();
}
}
result.conditionCase_ = conditionCase_;
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.QuestConditionOuterClass.QuestCondition) {
return mergeFrom((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition other) {
if (other == POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.getDefaultInstance()) return this;
if (other.type_ != 0) {
setTypeValue(other.getTypeValue());
}
switch (other.getConditionCase()) {
case WITH_POKEMON_TYPE: {
mergeWithPokemonType(other.getWithPokemonType());
break;
}
case WITH_POKEMON_CATEGORY: {
mergeWithPokemonCategory(other.getWithPokemonCategory());
break;
}
case WITH_WEATHER_BOOST: {
mergeWithWeatherBoost(other.getWithWeatherBoost());
break;
}
case WITH_DAILY_CAPTURE_BONUS: {
mergeWithDailyCaptureBonus(other.getWithDailyCaptureBonus());
break;
}
case WITH_DAILY_SPIN_BONUS: {
mergeWithDailySpinBonus(other.getWithDailySpinBonus());
break;
}
case WITH_WIN_RAID_STATUS: {
mergeWithWinRaidStatus(other.getWithWinRaidStatus());
break;
}
case WITH_RAID_LEVEL: {
mergeWithRaidLevel(other.getWithRaidLevel());
break;
}
case WITH_THROW_TYPE: {
mergeWithThrowType(other.getWithThrowType());
break;
}
case WITH_WIN_GYM_BATTLE_STATUS: {
mergeWithWinGymBattleStatus(other.getWithWinGymBattleStatus());
break;
}
case WITH_SUPER_EFFECTIVE_CHARGE_MOVE: {
mergeWithSuperEffectiveChargeMove(other.getWithSuperEffectiveChargeMove());
break;
}
case WITH_ITEM: {
mergeWithItem(other.getWithItem());
break;
}
case WITH_UNIQUE_POKESTOP: {
mergeWithUniquePokestop(other.getWithUniquePokestop());
break;
}
case WITH_QUEST_CONTEXT: {
mergeWithQuestContext(other.getWithQuestContext());
break;
}
case WITH_BADGE_TYPE: {
mergeWithBadgeType(other.getWithBadgeType());
break;
}
case WITH_PLAYER_LEVEL: {
mergeWithPlayerLevel(other.getWithPlayerLevel());
break;
}
case WITH_WIN_BATTLE_STATUS: {
mergeWithWinBattleStatus(other.getWithWinBattleStatus());
break;
}
case CONDITION_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.QuestConditionOuterClass.QuestCondition parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int conditionCase_ = 0;
private java.lang.Object condition_;
public ConditionCase
getConditionCase() {
return ConditionCase.forNumber(
conditionCase_);
}
public Builder clearCondition() {
conditionCase_ = 0;
condition_ = null;
onChanged();
return this;
}
private int type_ = 0;
/**
* .POGOProtos.Data.Quests.QuestCondition.ConditionType type = 1;
*/
public int getTypeValue() {
return type_;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.ConditionType type = 1;
*/
public Builder setTypeValue(int value) {
type_ = value;
onChanged();
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.ConditionType type = 1;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.ConditionType getType() {
@SuppressWarnings("deprecation")
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.ConditionType result = POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.ConditionType.valueOf(type_);
return result == null ? POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.ConditionType.UNRECOGNIZED : result;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.ConditionType type = 1;
*/
public Builder setType(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.ConditionType value) {
if (value == null) {
throw new NullPointerException();
}
type_ = value.getNumber();
onChanged();
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.ConditionType type = 1;
*/
public Builder clearType() {
type_ = 0;
onChanged();
return this;
}
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonTypeOrBuilder> withPokemonTypeBuilder_;
/**
* .POGOProtos.Data.Quests.QuestCondition.WithPokemonType with_pokemon_type = 2;
*/
public boolean hasWithPokemonType() {
return conditionCase_ == 2;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithPokemonType with_pokemon_type = 2;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType getWithPokemonType() {
if (withPokemonTypeBuilder_ == null) {
if (conditionCase_ == 2) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType.getDefaultInstance();
} else {
if (conditionCase_ == 2) {
return withPokemonTypeBuilder_.getMessage();
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType.getDefaultInstance();
}
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithPokemonType with_pokemon_type = 2;
*/
public Builder setWithPokemonType(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType value) {
if (withPokemonTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
condition_ = value;
onChanged();
} else {
withPokemonTypeBuilder_.setMessage(value);
}
conditionCase_ = 2;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithPokemonType with_pokemon_type = 2;
*/
public Builder setWithPokemonType(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType.Builder builderForValue) {
if (withPokemonTypeBuilder_ == null) {
condition_ = builderForValue.build();
onChanged();
} else {
withPokemonTypeBuilder_.setMessage(builderForValue.build());
}
conditionCase_ = 2;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithPokemonType with_pokemon_type = 2;
*/
public Builder mergeWithPokemonType(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType value) {
if (withPokemonTypeBuilder_ == null) {
if (conditionCase_ == 2 &&
condition_ != POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType.getDefaultInstance()) {
condition_ = POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType.newBuilder((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType) condition_)
.mergeFrom(value).buildPartial();
} else {
condition_ = value;
}
onChanged();
} else {
if (conditionCase_ == 2) {
withPokemonTypeBuilder_.mergeFrom(value);
}
withPokemonTypeBuilder_.setMessage(value);
}
conditionCase_ = 2;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithPokemonType with_pokemon_type = 2;
*/
public Builder clearWithPokemonType() {
if (withPokemonTypeBuilder_ == null) {
if (conditionCase_ == 2) {
conditionCase_ = 0;
condition_ = null;
onChanged();
}
} else {
if (conditionCase_ == 2) {
conditionCase_ = 0;
condition_ = null;
}
withPokemonTypeBuilder_.clear();
}
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithPokemonType with_pokemon_type = 2;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType.Builder getWithPokemonTypeBuilder() {
return getWithPokemonTypeFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithPokemonType with_pokemon_type = 2;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonTypeOrBuilder getWithPokemonTypeOrBuilder() {
if ((conditionCase_ == 2) && (withPokemonTypeBuilder_ != null)) {
return withPokemonTypeBuilder_.getMessageOrBuilder();
} else {
if (conditionCase_ == 2) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType.getDefaultInstance();
}
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithPokemonType with_pokemon_type = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonTypeOrBuilder>
getWithPokemonTypeFieldBuilder() {
if (withPokemonTypeBuilder_ == null) {
if (!(conditionCase_ == 2)) {
condition_ = POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType.getDefaultInstance();
}
withPokemonTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonTypeOrBuilder>(
(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonType) condition_,
getParentForChildren(),
isClean());
condition_ = null;
}
conditionCase_ = 2;
onChanged();;
return withPokemonTypeBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategoryOrBuilder> withPokemonCategoryBuilder_;
/**
* .POGOProtos.Data.Quests.QuestCondition.WithPokemonCategory with_pokemon_category = 3;
*/
public boolean hasWithPokemonCategory() {
return conditionCase_ == 3;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithPokemonCategory with_pokemon_category = 3;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory getWithPokemonCategory() {
if (withPokemonCategoryBuilder_ == null) {
if (conditionCase_ == 3) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory.getDefaultInstance();
} else {
if (conditionCase_ == 3) {
return withPokemonCategoryBuilder_.getMessage();
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory.getDefaultInstance();
}
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithPokemonCategory with_pokemon_category = 3;
*/
public Builder setWithPokemonCategory(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory value) {
if (withPokemonCategoryBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
condition_ = value;
onChanged();
} else {
withPokemonCategoryBuilder_.setMessage(value);
}
conditionCase_ = 3;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithPokemonCategory with_pokemon_category = 3;
*/
public Builder setWithPokemonCategory(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory.Builder builderForValue) {
if (withPokemonCategoryBuilder_ == null) {
condition_ = builderForValue.build();
onChanged();
} else {
withPokemonCategoryBuilder_.setMessage(builderForValue.build());
}
conditionCase_ = 3;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithPokemonCategory with_pokemon_category = 3;
*/
public Builder mergeWithPokemonCategory(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory value) {
if (withPokemonCategoryBuilder_ == null) {
if (conditionCase_ == 3 &&
condition_ != POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory.getDefaultInstance()) {
condition_ = POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory.newBuilder((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory) condition_)
.mergeFrom(value).buildPartial();
} else {
condition_ = value;
}
onChanged();
} else {
if (conditionCase_ == 3) {
withPokemonCategoryBuilder_.mergeFrom(value);
}
withPokemonCategoryBuilder_.setMessage(value);
}
conditionCase_ = 3;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithPokemonCategory with_pokemon_category = 3;
*/
public Builder clearWithPokemonCategory() {
if (withPokemonCategoryBuilder_ == null) {
if (conditionCase_ == 3) {
conditionCase_ = 0;
condition_ = null;
onChanged();
}
} else {
if (conditionCase_ == 3) {
conditionCase_ = 0;
condition_ = null;
}
withPokemonCategoryBuilder_.clear();
}
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithPokemonCategory with_pokemon_category = 3;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory.Builder getWithPokemonCategoryBuilder() {
return getWithPokemonCategoryFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithPokemonCategory with_pokemon_category = 3;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategoryOrBuilder getWithPokemonCategoryOrBuilder() {
if ((conditionCase_ == 3) && (withPokemonCategoryBuilder_ != null)) {
return withPokemonCategoryBuilder_.getMessageOrBuilder();
} else {
if (conditionCase_ == 3) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory.getDefaultInstance();
}
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithPokemonCategory with_pokemon_category = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategoryOrBuilder>
getWithPokemonCategoryFieldBuilder() {
if (withPokemonCategoryBuilder_ == null) {
if (!(conditionCase_ == 3)) {
condition_ = POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory.getDefaultInstance();
}
withPokemonCategoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategoryOrBuilder>(
(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPokemonCategory) condition_,
getParentForChildren(),
isClean());
condition_ = null;
}
conditionCase_ = 3;
onChanged();;
return withPokemonCategoryBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoostOrBuilder> withWeatherBoostBuilder_;
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWeatherBoost with_weather_boost = 4;
*/
public boolean hasWithWeatherBoost() {
return conditionCase_ == 4;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWeatherBoost with_weather_boost = 4;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost getWithWeatherBoost() {
if (withWeatherBoostBuilder_ == null) {
if (conditionCase_ == 4) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost.getDefaultInstance();
} else {
if (conditionCase_ == 4) {
return withWeatherBoostBuilder_.getMessage();
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost.getDefaultInstance();
}
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWeatherBoost with_weather_boost = 4;
*/
public Builder setWithWeatherBoost(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost value) {
if (withWeatherBoostBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
condition_ = value;
onChanged();
} else {
withWeatherBoostBuilder_.setMessage(value);
}
conditionCase_ = 4;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWeatherBoost with_weather_boost = 4;
*/
public Builder setWithWeatherBoost(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost.Builder builderForValue) {
if (withWeatherBoostBuilder_ == null) {
condition_ = builderForValue.build();
onChanged();
} else {
withWeatherBoostBuilder_.setMessage(builderForValue.build());
}
conditionCase_ = 4;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWeatherBoost with_weather_boost = 4;
*/
public Builder mergeWithWeatherBoost(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost value) {
if (withWeatherBoostBuilder_ == null) {
if (conditionCase_ == 4 &&
condition_ != POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost.getDefaultInstance()) {
condition_ = POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost.newBuilder((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost) condition_)
.mergeFrom(value).buildPartial();
} else {
condition_ = value;
}
onChanged();
} else {
if (conditionCase_ == 4) {
withWeatherBoostBuilder_.mergeFrom(value);
}
withWeatherBoostBuilder_.setMessage(value);
}
conditionCase_ = 4;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWeatherBoost with_weather_boost = 4;
*/
public Builder clearWithWeatherBoost() {
if (withWeatherBoostBuilder_ == null) {
if (conditionCase_ == 4) {
conditionCase_ = 0;
condition_ = null;
onChanged();
}
} else {
if (conditionCase_ == 4) {
conditionCase_ = 0;
condition_ = null;
}
withWeatherBoostBuilder_.clear();
}
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWeatherBoost with_weather_boost = 4;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost.Builder getWithWeatherBoostBuilder() {
return getWithWeatherBoostFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWeatherBoost with_weather_boost = 4;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoostOrBuilder getWithWeatherBoostOrBuilder() {
if ((conditionCase_ == 4) && (withWeatherBoostBuilder_ != null)) {
return withWeatherBoostBuilder_.getMessageOrBuilder();
} else {
if (conditionCase_ == 4) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost.getDefaultInstance();
}
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWeatherBoost with_weather_boost = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoostOrBuilder>
getWithWeatherBoostFieldBuilder() {
if (withWeatherBoostBuilder_ == null) {
if (!(conditionCase_ == 4)) {
condition_ = POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost.getDefaultInstance();
}
withWeatherBoostBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoostOrBuilder>(
(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWeatherBoost) condition_,
getParentForChildren(),
isClean());
condition_ = null;
}
conditionCase_ = 4;
onChanged();;
return withWeatherBoostBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonusOrBuilder> withDailyCaptureBonusBuilder_;
/**
* .POGOProtos.Data.Quests.QuestCondition.WithDailyCaptureBonus with_daily_capture_bonus = 5;
*/
public boolean hasWithDailyCaptureBonus() {
return conditionCase_ == 5;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithDailyCaptureBonus with_daily_capture_bonus = 5;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus getWithDailyCaptureBonus() {
if (withDailyCaptureBonusBuilder_ == null) {
if (conditionCase_ == 5) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus.getDefaultInstance();
} else {
if (conditionCase_ == 5) {
return withDailyCaptureBonusBuilder_.getMessage();
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus.getDefaultInstance();
}
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithDailyCaptureBonus with_daily_capture_bonus = 5;
*/
public Builder setWithDailyCaptureBonus(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus value) {
if (withDailyCaptureBonusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
condition_ = value;
onChanged();
} else {
withDailyCaptureBonusBuilder_.setMessage(value);
}
conditionCase_ = 5;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithDailyCaptureBonus with_daily_capture_bonus = 5;
*/
public Builder setWithDailyCaptureBonus(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus.Builder builderForValue) {
if (withDailyCaptureBonusBuilder_ == null) {
condition_ = builderForValue.build();
onChanged();
} else {
withDailyCaptureBonusBuilder_.setMessage(builderForValue.build());
}
conditionCase_ = 5;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithDailyCaptureBonus with_daily_capture_bonus = 5;
*/
public Builder mergeWithDailyCaptureBonus(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus value) {
if (withDailyCaptureBonusBuilder_ == null) {
if (conditionCase_ == 5 &&
condition_ != POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus.getDefaultInstance()) {
condition_ = POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus.newBuilder((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus) condition_)
.mergeFrom(value).buildPartial();
} else {
condition_ = value;
}
onChanged();
} else {
if (conditionCase_ == 5) {
withDailyCaptureBonusBuilder_.mergeFrom(value);
}
withDailyCaptureBonusBuilder_.setMessage(value);
}
conditionCase_ = 5;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithDailyCaptureBonus with_daily_capture_bonus = 5;
*/
public Builder clearWithDailyCaptureBonus() {
if (withDailyCaptureBonusBuilder_ == null) {
if (conditionCase_ == 5) {
conditionCase_ = 0;
condition_ = null;
onChanged();
}
} else {
if (conditionCase_ == 5) {
conditionCase_ = 0;
condition_ = null;
}
withDailyCaptureBonusBuilder_.clear();
}
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithDailyCaptureBonus with_daily_capture_bonus = 5;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus.Builder getWithDailyCaptureBonusBuilder() {
return getWithDailyCaptureBonusFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithDailyCaptureBonus with_daily_capture_bonus = 5;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonusOrBuilder getWithDailyCaptureBonusOrBuilder() {
if ((conditionCase_ == 5) && (withDailyCaptureBonusBuilder_ != null)) {
return withDailyCaptureBonusBuilder_.getMessageOrBuilder();
} else {
if (conditionCase_ == 5) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus.getDefaultInstance();
}
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithDailyCaptureBonus with_daily_capture_bonus = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonusOrBuilder>
getWithDailyCaptureBonusFieldBuilder() {
if (withDailyCaptureBonusBuilder_ == null) {
if (!(conditionCase_ == 5)) {
condition_ = POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus.getDefaultInstance();
}
withDailyCaptureBonusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonusOrBuilder>(
(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailyCaptureBonus) condition_,
getParentForChildren(),
isClean());
condition_ = null;
}
conditionCase_ = 5;
onChanged();;
return withDailyCaptureBonusBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonusOrBuilder> withDailySpinBonusBuilder_;
/**
* .POGOProtos.Data.Quests.QuestCondition.WithDailySpinBonus with_daily_spin_bonus = 6;
*/
public boolean hasWithDailySpinBonus() {
return conditionCase_ == 6;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithDailySpinBonus with_daily_spin_bonus = 6;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus getWithDailySpinBonus() {
if (withDailySpinBonusBuilder_ == null) {
if (conditionCase_ == 6) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus.getDefaultInstance();
} else {
if (conditionCase_ == 6) {
return withDailySpinBonusBuilder_.getMessage();
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus.getDefaultInstance();
}
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithDailySpinBonus with_daily_spin_bonus = 6;
*/
public Builder setWithDailySpinBonus(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus value) {
if (withDailySpinBonusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
condition_ = value;
onChanged();
} else {
withDailySpinBonusBuilder_.setMessage(value);
}
conditionCase_ = 6;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithDailySpinBonus with_daily_spin_bonus = 6;
*/
public Builder setWithDailySpinBonus(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus.Builder builderForValue) {
if (withDailySpinBonusBuilder_ == null) {
condition_ = builderForValue.build();
onChanged();
} else {
withDailySpinBonusBuilder_.setMessage(builderForValue.build());
}
conditionCase_ = 6;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithDailySpinBonus with_daily_spin_bonus = 6;
*/
public Builder mergeWithDailySpinBonus(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus value) {
if (withDailySpinBonusBuilder_ == null) {
if (conditionCase_ == 6 &&
condition_ != POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus.getDefaultInstance()) {
condition_ = POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus.newBuilder((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus) condition_)
.mergeFrom(value).buildPartial();
} else {
condition_ = value;
}
onChanged();
} else {
if (conditionCase_ == 6) {
withDailySpinBonusBuilder_.mergeFrom(value);
}
withDailySpinBonusBuilder_.setMessage(value);
}
conditionCase_ = 6;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithDailySpinBonus with_daily_spin_bonus = 6;
*/
public Builder clearWithDailySpinBonus() {
if (withDailySpinBonusBuilder_ == null) {
if (conditionCase_ == 6) {
conditionCase_ = 0;
condition_ = null;
onChanged();
}
} else {
if (conditionCase_ == 6) {
conditionCase_ = 0;
condition_ = null;
}
withDailySpinBonusBuilder_.clear();
}
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithDailySpinBonus with_daily_spin_bonus = 6;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus.Builder getWithDailySpinBonusBuilder() {
return getWithDailySpinBonusFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithDailySpinBonus with_daily_spin_bonus = 6;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonusOrBuilder getWithDailySpinBonusOrBuilder() {
if ((conditionCase_ == 6) && (withDailySpinBonusBuilder_ != null)) {
return withDailySpinBonusBuilder_.getMessageOrBuilder();
} else {
if (conditionCase_ == 6) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus.getDefaultInstance();
}
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithDailySpinBonus with_daily_spin_bonus = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonusOrBuilder>
getWithDailySpinBonusFieldBuilder() {
if (withDailySpinBonusBuilder_ == null) {
if (!(conditionCase_ == 6)) {
condition_ = POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus.getDefaultInstance();
}
withDailySpinBonusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonusOrBuilder>(
(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithDailySpinBonus) condition_,
getParentForChildren(),
isClean());
condition_ = null;
}
conditionCase_ = 6;
onChanged();;
return withDailySpinBonusBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatusOrBuilder> withWinRaidStatusBuilder_;
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWinRaidStatus with_win_raid_status = 7;
*/
public boolean hasWithWinRaidStatus() {
return conditionCase_ == 7;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWinRaidStatus with_win_raid_status = 7;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus getWithWinRaidStatus() {
if (withWinRaidStatusBuilder_ == null) {
if (conditionCase_ == 7) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus.getDefaultInstance();
} else {
if (conditionCase_ == 7) {
return withWinRaidStatusBuilder_.getMessage();
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus.getDefaultInstance();
}
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWinRaidStatus with_win_raid_status = 7;
*/
public Builder setWithWinRaidStatus(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus value) {
if (withWinRaidStatusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
condition_ = value;
onChanged();
} else {
withWinRaidStatusBuilder_.setMessage(value);
}
conditionCase_ = 7;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWinRaidStatus with_win_raid_status = 7;
*/
public Builder setWithWinRaidStatus(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus.Builder builderForValue) {
if (withWinRaidStatusBuilder_ == null) {
condition_ = builderForValue.build();
onChanged();
} else {
withWinRaidStatusBuilder_.setMessage(builderForValue.build());
}
conditionCase_ = 7;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWinRaidStatus with_win_raid_status = 7;
*/
public Builder mergeWithWinRaidStatus(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus value) {
if (withWinRaidStatusBuilder_ == null) {
if (conditionCase_ == 7 &&
condition_ != POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus.getDefaultInstance()) {
condition_ = POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus.newBuilder((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus) condition_)
.mergeFrom(value).buildPartial();
} else {
condition_ = value;
}
onChanged();
} else {
if (conditionCase_ == 7) {
withWinRaidStatusBuilder_.mergeFrom(value);
}
withWinRaidStatusBuilder_.setMessage(value);
}
conditionCase_ = 7;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWinRaidStatus with_win_raid_status = 7;
*/
public Builder clearWithWinRaidStatus() {
if (withWinRaidStatusBuilder_ == null) {
if (conditionCase_ == 7) {
conditionCase_ = 0;
condition_ = null;
onChanged();
}
} else {
if (conditionCase_ == 7) {
conditionCase_ = 0;
condition_ = null;
}
withWinRaidStatusBuilder_.clear();
}
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWinRaidStatus with_win_raid_status = 7;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus.Builder getWithWinRaidStatusBuilder() {
return getWithWinRaidStatusFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWinRaidStatus with_win_raid_status = 7;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatusOrBuilder getWithWinRaidStatusOrBuilder() {
if ((conditionCase_ == 7) && (withWinRaidStatusBuilder_ != null)) {
return withWinRaidStatusBuilder_.getMessageOrBuilder();
} else {
if (conditionCase_ == 7) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus.getDefaultInstance();
}
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWinRaidStatus with_win_raid_status = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatusOrBuilder>
getWithWinRaidStatusFieldBuilder() {
if (withWinRaidStatusBuilder_ == null) {
if (!(conditionCase_ == 7)) {
condition_ = POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus.getDefaultInstance();
}
withWinRaidStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatusOrBuilder>(
(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinRaidStatus) condition_,
getParentForChildren(),
isClean());
condition_ = null;
}
conditionCase_ = 7;
onChanged();;
return withWinRaidStatusBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevelOrBuilder> withRaidLevelBuilder_;
/**
* .POGOProtos.Data.Quests.QuestCondition.WithRaidLevel with_raid_level = 8;
*/
public boolean hasWithRaidLevel() {
return conditionCase_ == 8;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithRaidLevel with_raid_level = 8;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel getWithRaidLevel() {
if (withRaidLevelBuilder_ == null) {
if (conditionCase_ == 8) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel.getDefaultInstance();
} else {
if (conditionCase_ == 8) {
return withRaidLevelBuilder_.getMessage();
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel.getDefaultInstance();
}
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithRaidLevel with_raid_level = 8;
*/
public Builder setWithRaidLevel(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel value) {
if (withRaidLevelBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
condition_ = value;
onChanged();
} else {
withRaidLevelBuilder_.setMessage(value);
}
conditionCase_ = 8;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithRaidLevel with_raid_level = 8;
*/
public Builder setWithRaidLevel(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel.Builder builderForValue) {
if (withRaidLevelBuilder_ == null) {
condition_ = builderForValue.build();
onChanged();
} else {
withRaidLevelBuilder_.setMessage(builderForValue.build());
}
conditionCase_ = 8;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithRaidLevel with_raid_level = 8;
*/
public Builder mergeWithRaidLevel(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel value) {
if (withRaidLevelBuilder_ == null) {
if (conditionCase_ == 8 &&
condition_ != POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel.getDefaultInstance()) {
condition_ = POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel.newBuilder((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel) condition_)
.mergeFrom(value).buildPartial();
} else {
condition_ = value;
}
onChanged();
} else {
if (conditionCase_ == 8) {
withRaidLevelBuilder_.mergeFrom(value);
}
withRaidLevelBuilder_.setMessage(value);
}
conditionCase_ = 8;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithRaidLevel with_raid_level = 8;
*/
public Builder clearWithRaidLevel() {
if (withRaidLevelBuilder_ == null) {
if (conditionCase_ == 8) {
conditionCase_ = 0;
condition_ = null;
onChanged();
}
} else {
if (conditionCase_ == 8) {
conditionCase_ = 0;
condition_ = null;
}
withRaidLevelBuilder_.clear();
}
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithRaidLevel with_raid_level = 8;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel.Builder getWithRaidLevelBuilder() {
return getWithRaidLevelFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithRaidLevel with_raid_level = 8;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevelOrBuilder getWithRaidLevelOrBuilder() {
if ((conditionCase_ == 8) && (withRaidLevelBuilder_ != null)) {
return withRaidLevelBuilder_.getMessageOrBuilder();
} else {
if (conditionCase_ == 8) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel.getDefaultInstance();
}
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithRaidLevel with_raid_level = 8;
*/
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevelOrBuilder>
getWithRaidLevelFieldBuilder() {
if (withRaidLevelBuilder_ == null) {
if (!(conditionCase_ == 8)) {
condition_ = POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel.getDefaultInstance();
}
withRaidLevelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevelOrBuilder>(
(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithRaidLevel) condition_,
getParentForChildren(),
isClean());
condition_ = null;
}
conditionCase_ = 8;
onChanged();;
return withRaidLevelBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowTypeOrBuilder> withThrowTypeBuilder_;
/**
* .POGOProtos.Data.Quests.QuestCondition.WithThrowType with_throw_type = 9;
*/
public boolean hasWithThrowType() {
return conditionCase_ == 9;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithThrowType with_throw_type = 9;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType getWithThrowType() {
if (withThrowTypeBuilder_ == null) {
if (conditionCase_ == 9) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType.getDefaultInstance();
} else {
if (conditionCase_ == 9) {
return withThrowTypeBuilder_.getMessage();
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType.getDefaultInstance();
}
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithThrowType with_throw_type = 9;
*/
public Builder setWithThrowType(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType value) {
if (withThrowTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
condition_ = value;
onChanged();
} else {
withThrowTypeBuilder_.setMessage(value);
}
conditionCase_ = 9;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithThrowType with_throw_type = 9;
*/
public Builder setWithThrowType(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType.Builder builderForValue) {
if (withThrowTypeBuilder_ == null) {
condition_ = builderForValue.build();
onChanged();
} else {
withThrowTypeBuilder_.setMessage(builderForValue.build());
}
conditionCase_ = 9;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithThrowType with_throw_type = 9;
*/
public Builder mergeWithThrowType(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType value) {
if (withThrowTypeBuilder_ == null) {
if (conditionCase_ == 9 &&
condition_ != POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType.getDefaultInstance()) {
condition_ = POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType.newBuilder((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType) condition_)
.mergeFrom(value).buildPartial();
} else {
condition_ = value;
}
onChanged();
} else {
if (conditionCase_ == 9) {
withThrowTypeBuilder_.mergeFrom(value);
}
withThrowTypeBuilder_.setMessage(value);
}
conditionCase_ = 9;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithThrowType with_throw_type = 9;
*/
public Builder clearWithThrowType() {
if (withThrowTypeBuilder_ == null) {
if (conditionCase_ == 9) {
conditionCase_ = 0;
condition_ = null;
onChanged();
}
} else {
if (conditionCase_ == 9) {
conditionCase_ = 0;
condition_ = null;
}
withThrowTypeBuilder_.clear();
}
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithThrowType with_throw_type = 9;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType.Builder getWithThrowTypeBuilder() {
return getWithThrowTypeFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithThrowType with_throw_type = 9;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowTypeOrBuilder getWithThrowTypeOrBuilder() {
if ((conditionCase_ == 9) && (withThrowTypeBuilder_ != null)) {
return withThrowTypeBuilder_.getMessageOrBuilder();
} else {
if (conditionCase_ == 9) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType.getDefaultInstance();
}
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithThrowType with_throw_type = 9;
*/
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowTypeOrBuilder>
getWithThrowTypeFieldBuilder() {
if (withThrowTypeBuilder_ == null) {
if (!(conditionCase_ == 9)) {
condition_ = POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType.getDefaultInstance();
}
withThrowTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowTypeOrBuilder>(
(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithThrowType) condition_,
getParentForChildren(),
isClean());
condition_ = null;
}
conditionCase_ = 9;
onChanged();;
return withThrowTypeBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatusOrBuilder> withWinGymBattleStatusBuilder_;
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWinGymBattleStatus with_win_gym_battle_status = 10;
*/
public boolean hasWithWinGymBattleStatus() {
return conditionCase_ == 10;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWinGymBattleStatus with_win_gym_battle_status = 10;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus getWithWinGymBattleStatus() {
if (withWinGymBattleStatusBuilder_ == null) {
if (conditionCase_ == 10) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus.getDefaultInstance();
} else {
if (conditionCase_ == 10) {
return withWinGymBattleStatusBuilder_.getMessage();
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus.getDefaultInstance();
}
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWinGymBattleStatus with_win_gym_battle_status = 10;
*/
public Builder setWithWinGymBattleStatus(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus value) {
if (withWinGymBattleStatusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
condition_ = value;
onChanged();
} else {
withWinGymBattleStatusBuilder_.setMessage(value);
}
conditionCase_ = 10;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWinGymBattleStatus with_win_gym_battle_status = 10;
*/
public Builder setWithWinGymBattleStatus(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus.Builder builderForValue) {
if (withWinGymBattleStatusBuilder_ == null) {
condition_ = builderForValue.build();
onChanged();
} else {
withWinGymBattleStatusBuilder_.setMessage(builderForValue.build());
}
conditionCase_ = 10;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWinGymBattleStatus with_win_gym_battle_status = 10;
*/
public Builder mergeWithWinGymBattleStatus(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus value) {
if (withWinGymBattleStatusBuilder_ == null) {
if (conditionCase_ == 10 &&
condition_ != POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus.getDefaultInstance()) {
condition_ = POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus.newBuilder((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus) condition_)
.mergeFrom(value).buildPartial();
} else {
condition_ = value;
}
onChanged();
} else {
if (conditionCase_ == 10) {
withWinGymBattleStatusBuilder_.mergeFrom(value);
}
withWinGymBattleStatusBuilder_.setMessage(value);
}
conditionCase_ = 10;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWinGymBattleStatus with_win_gym_battle_status = 10;
*/
public Builder clearWithWinGymBattleStatus() {
if (withWinGymBattleStatusBuilder_ == null) {
if (conditionCase_ == 10) {
conditionCase_ = 0;
condition_ = null;
onChanged();
}
} else {
if (conditionCase_ == 10) {
conditionCase_ = 0;
condition_ = null;
}
withWinGymBattleStatusBuilder_.clear();
}
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWinGymBattleStatus with_win_gym_battle_status = 10;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus.Builder getWithWinGymBattleStatusBuilder() {
return getWithWinGymBattleStatusFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWinGymBattleStatus with_win_gym_battle_status = 10;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatusOrBuilder getWithWinGymBattleStatusOrBuilder() {
if ((conditionCase_ == 10) && (withWinGymBattleStatusBuilder_ != null)) {
return withWinGymBattleStatusBuilder_.getMessageOrBuilder();
} else {
if (conditionCase_ == 10) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus.getDefaultInstance();
}
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWinGymBattleStatus with_win_gym_battle_status = 10;
*/
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatusOrBuilder>
getWithWinGymBattleStatusFieldBuilder() {
if (withWinGymBattleStatusBuilder_ == null) {
if (!(conditionCase_ == 10)) {
condition_ = POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus.getDefaultInstance();
}
withWinGymBattleStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatusOrBuilder>(
(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinGymBattleStatus) condition_,
getParentForChildren(),
isClean());
condition_ = null;
}
conditionCase_ = 10;
onChanged();;
return withWinGymBattleStatusBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMoveOrBuilder> withSuperEffectiveChargeMoveBuilder_;
/**
* .POGOProtos.Data.Quests.QuestCondition.WithSuperEffectiveChargeMove with_super_effective_charge_move = 11;
*/
public boolean hasWithSuperEffectiveChargeMove() {
return conditionCase_ == 11;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithSuperEffectiveChargeMove with_super_effective_charge_move = 11;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove getWithSuperEffectiveChargeMove() {
if (withSuperEffectiveChargeMoveBuilder_ == null) {
if (conditionCase_ == 11) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove.getDefaultInstance();
} else {
if (conditionCase_ == 11) {
return withSuperEffectiveChargeMoveBuilder_.getMessage();
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove.getDefaultInstance();
}
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithSuperEffectiveChargeMove with_super_effective_charge_move = 11;
*/
public Builder setWithSuperEffectiveChargeMove(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove value) {
if (withSuperEffectiveChargeMoveBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
condition_ = value;
onChanged();
} else {
withSuperEffectiveChargeMoveBuilder_.setMessage(value);
}
conditionCase_ = 11;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithSuperEffectiveChargeMove with_super_effective_charge_move = 11;
*/
public Builder setWithSuperEffectiveChargeMove(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove.Builder builderForValue) {
if (withSuperEffectiveChargeMoveBuilder_ == null) {
condition_ = builderForValue.build();
onChanged();
} else {
withSuperEffectiveChargeMoveBuilder_.setMessage(builderForValue.build());
}
conditionCase_ = 11;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithSuperEffectiveChargeMove with_super_effective_charge_move = 11;
*/
public Builder mergeWithSuperEffectiveChargeMove(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove value) {
if (withSuperEffectiveChargeMoveBuilder_ == null) {
if (conditionCase_ == 11 &&
condition_ != POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove.getDefaultInstance()) {
condition_ = POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove.newBuilder((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove) condition_)
.mergeFrom(value).buildPartial();
} else {
condition_ = value;
}
onChanged();
} else {
if (conditionCase_ == 11) {
withSuperEffectiveChargeMoveBuilder_.mergeFrom(value);
}
withSuperEffectiveChargeMoveBuilder_.setMessage(value);
}
conditionCase_ = 11;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithSuperEffectiveChargeMove with_super_effective_charge_move = 11;
*/
public Builder clearWithSuperEffectiveChargeMove() {
if (withSuperEffectiveChargeMoveBuilder_ == null) {
if (conditionCase_ == 11) {
conditionCase_ = 0;
condition_ = null;
onChanged();
}
} else {
if (conditionCase_ == 11) {
conditionCase_ = 0;
condition_ = null;
}
withSuperEffectiveChargeMoveBuilder_.clear();
}
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithSuperEffectiveChargeMove with_super_effective_charge_move = 11;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove.Builder getWithSuperEffectiveChargeMoveBuilder() {
return getWithSuperEffectiveChargeMoveFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithSuperEffectiveChargeMove with_super_effective_charge_move = 11;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMoveOrBuilder getWithSuperEffectiveChargeMoveOrBuilder() {
if ((conditionCase_ == 11) && (withSuperEffectiveChargeMoveBuilder_ != null)) {
return withSuperEffectiveChargeMoveBuilder_.getMessageOrBuilder();
} else {
if (conditionCase_ == 11) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove.getDefaultInstance();
}
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithSuperEffectiveChargeMove with_super_effective_charge_move = 11;
*/
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMoveOrBuilder>
getWithSuperEffectiveChargeMoveFieldBuilder() {
if (withSuperEffectiveChargeMoveBuilder_ == null) {
if (!(conditionCase_ == 11)) {
condition_ = POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove.getDefaultInstance();
}
withSuperEffectiveChargeMoveBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMoveOrBuilder>(
(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithSuperEffectiveChargeMove) condition_,
getParentForChildren(),
isClean());
condition_ = null;
}
conditionCase_ = 11;
onChanged();;
return withSuperEffectiveChargeMoveBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItemOrBuilder> withItemBuilder_;
/**
* .POGOProtos.Data.Quests.QuestCondition.WithItem with_item = 12;
*/
public boolean hasWithItem() {
return conditionCase_ == 12;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithItem with_item = 12;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem getWithItem() {
if (withItemBuilder_ == null) {
if (conditionCase_ == 12) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem.getDefaultInstance();
} else {
if (conditionCase_ == 12) {
return withItemBuilder_.getMessage();
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem.getDefaultInstance();
}
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithItem with_item = 12;
*/
public Builder setWithItem(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem value) {
if (withItemBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
condition_ = value;
onChanged();
} else {
withItemBuilder_.setMessage(value);
}
conditionCase_ = 12;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithItem with_item = 12;
*/
public Builder setWithItem(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem.Builder builderForValue) {
if (withItemBuilder_ == null) {
condition_ = builderForValue.build();
onChanged();
} else {
withItemBuilder_.setMessage(builderForValue.build());
}
conditionCase_ = 12;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithItem with_item = 12;
*/
public Builder mergeWithItem(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem value) {
if (withItemBuilder_ == null) {
if (conditionCase_ == 12 &&
condition_ != POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem.getDefaultInstance()) {
condition_ = POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem.newBuilder((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem) condition_)
.mergeFrom(value).buildPartial();
} else {
condition_ = value;
}
onChanged();
} else {
if (conditionCase_ == 12) {
withItemBuilder_.mergeFrom(value);
}
withItemBuilder_.setMessage(value);
}
conditionCase_ = 12;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithItem with_item = 12;
*/
public Builder clearWithItem() {
if (withItemBuilder_ == null) {
if (conditionCase_ == 12) {
conditionCase_ = 0;
condition_ = null;
onChanged();
}
} else {
if (conditionCase_ == 12) {
conditionCase_ = 0;
condition_ = null;
}
withItemBuilder_.clear();
}
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithItem with_item = 12;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem.Builder getWithItemBuilder() {
return getWithItemFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithItem with_item = 12;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItemOrBuilder getWithItemOrBuilder() {
if ((conditionCase_ == 12) && (withItemBuilder_ != null)) {
return withItemBuilder_.getMessageOrBuilder();
} else {
if (conditionCase_ == 12) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem.getDefaultInstance();
}
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithItem with_item = 12;
*/
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItemOrBuilder>
getWithItemFieldBuilder() {
if (withItemBuilder_ == null) {
if (!(conditionCase_ == 12)) {
condition_ = POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem.getDefaultInstance();
}
withItemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItemOrBuilder>(
(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithItem) condition_,
getParentForChildren(),
isClean());
condition_ = null;
}
conditionCase_ = 12;
onChanged();;
return withItemBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestopOrBuilder> withUniquePokestopBuilder_;
/**
* .POGOProtos.Data.Quests.QuestCondition.WithUniquePokestop with_unique_pokestop = 13;
*/
public boolean hasWithUniquePokestop() {
return conditionCase_ == 13;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithUniquePokestop with_unique_pokestop = 13;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop getWithUniquePokestop() {
if (withUniquePokestopBuilder_ == null) {
if (conditionCase_ == 13) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop.getDefaultInstance();
} else {
if (conditionCase_ == 13) {
return withUniquePokestopBuilder_.getMessage();
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop.getDefaultInstance();
}
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithUniquePokestop with_unique_pokestop = 13;
*/
public Builder setWithUniquePokestop(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop value) {
if (withUniquePokestopBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
condition_ = value;
onChanged();
} else {
withUniquePokestopBuilder_.setMessage(value);
}
conditionCase_ = 13;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithUniquePokestop with_unique_pokestop = 13;
*/
public Builder setWithUniquePokestop(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop.Builder builderForValue) {
if (withUniquePokestopBuilder_ == null) {
condition_ = builderForValue.build();
onChanged();
} else {
withUniquePokestopBuilder_.setMessage(builderForValue.build());
}
conditionCase_ = 13;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithUniquePokestop with_unique_pokestop = 13;
*/
public Builder mergeWithUniquePokestop(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop value) {
if (withUniquePokestopBuilder_ == null) {
if (conditionCase_ == 13 &&
condition_ != POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop.getDefaultInstance()) {
condition_ = POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop.newBuilder((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop) condition_)
.mergeFrom(value).buildPartial();
} else {
condition_ = value;
}
onChanged();
} else {
if (conditionCase_ == 13) {
withUniquePokestopBuilder_.mergeFrom(value);
}
withUniquePokestopBuilder_.setMessage(value);
}
conditionCase_ = 13;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithUniquePokestop with_unique_pokestop = 13;
*/
public Builder clearWithUniquePokestop() {
if (withUniquePokestopBuilder_ == null) {
if (conditionCase_ == 13) {
conditionCase_ = 0;
condition_ = null;
onChanged();
}
} else {
if (conditionCase_ == 13) {
conditionCase_ = 0;
condition_ = null;
}
withUniquePokestopBuilder_.clear();
}
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithUniquePokestop with_unique_pokestop = 13;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop.Builder getWithUniquePokestopBuilder() {
return getWithUniquePokestopFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithUniquePokestop with_unique_pokestop = 13;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestopOrBuilder getWithUniquePokestopOrBuilder() {
if ((conditionCase_ == 13) && (withUniquePokestopBuilder_ != null)) {
return withUniquePokestopBuilder_.getMessageOrBuilder();
} else {
if (conditionCase_ == 13) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop.getDefaultInstance();
}
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithUniquePokestop with_unique_pokestop = 13;
*/
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestopOrBuilder>
getWithUniquePokestopFieldBuilder() {
if (withUniquePokestopBuilder_ == null) {
if (!(conditionCase_ == 13)) {
condition_ = POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop.getDefaultInstance();
}
withUniquePokestopBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestopOrBuilder>(
(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithUniquePokestop) condition_,
getParentForChildren(),
isClean());
condition_ = null;
}
conditionCase_ = 13;
onChanged();;
return withUniquePokestopBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContextOrBuilder> withQuestContextBuilder_;
/**
* .POGOProtos.Data.Quests.QuestCondition.WithQuestContext with_quest_context = 14;
*/
public boolean hasWithQuestContext() {
return conditionCase_ == 14;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithQuestContext with_quest_context = 14;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext getWithQuestContext() {
if (withQuestContextBuilder_ == null) {
if (conditionCase_ == 14) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext.getDefaultInstance();
} else {
if (conditionCase_ == 14) {
return withQuestContextBuilder_.getMessage();
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext.getDefaultInstance();
}
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithQuestContext with_quest_context = 14;
*/
public Builder setWithQuestContext(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext value) {
if (withQuestContextBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
condition_ = value;
onChanged();
} else {
withQuestContextBuilder_.setMessage(value);
}
conditionCase_ = 14;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithQuestContext with_quest_context = 14;
*/
public Builder setWithQuestContext(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext.Builder builderForValue) {
if (withQuestContextBuilder_ == null) {
condition_ = builderForValue.build();
onChanged();
} else {
withQuestContextBuilder_.setMessage(builderForValue.build());
}
conditionCase_ = 14;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithQuestContext with_quest_context = 14;
*/
public Builder mergeWithQuestContext(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext value) {
if (withQuestContextBuilder_ == null) {
if (conditionCase_ == 14 &&
condition_ != POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext.getDefaultInstance()) {
condition_ = POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext.newBuilder((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext) condition_)
.mergeFrom(value).buildPartial();
} else {
condition_ = value;
}
onChanged();
} else {
if (conditionCase_ == 14) {
withQuestContextBuilder_.mergeFrom(value);
}
withQuestContextBuilder_.setMessage(value);
}
conditionCase_ = 14;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithQuestContext with_quest_context = 14;
*/
public Builder clearWithQuestContext() {
if (withQuestContextBuilder_ == null) {
if (conditionCase_ == 14) {
conditionCase_ = 0;
condition_ = null;
onChanged();
}
} else {
if (conditionCase_ == 14) {
conditionCase_ = 0;
condition_ = null;
}
withQuestContextBuilder_.clear();
}
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithQuestContext with_quest_context = 14;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext.Builder getWithQuestContextBuilder() {
return getWithQuestContextFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithQuestContext with_quest_context = 14;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContextOrBuilder getWithQuestContextOrBuilder() {
if ((conditionCase_ == 14) && (withQuestContextBuilder_ != null)) {
return withQuestContextBuilder_.getMessageOrBuilder();
} else {
if (conditionCase_ == 14) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext.getDefaultInstance();
}
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithQuestContext with_quest_context = 14;
*/
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContextOrBuilder>
getWithQuestContextFieldBuilder() {
if (withQuestContextBuilder_ == null) {
if (!(conditionCase_ == 14)) {
condition_ = POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext.getDefaultInstance();
}
withQuestContextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContextOrBuilder>(
(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithQuestContext) condition_,
getParentForChildren(),
isClean());
condition_ = null;
}
conditionCase_ = 14;
onChanged();;
return withQuestContextBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeTypeOrBuilder> withBadgeTypeBuilder_;
/**
* .POGOProtos.Data.Quests.QuestCondition.WithBadgeType with_badge_type = 15;
*/
public boolean hasWithBadgeType() {
return conditionCase_ == 15;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithBadgeType with_badge_type = 15;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType getWithBadgeType() {
if (withBadgeTypeBuilder_ == null) {
if (conditionCase_ == 15) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType.getDefaultInstance();
} else {
if (conditionCase_ == 15) {
return withBadgeTypeBuilder_.getMessage();
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType.getDefaultInstance();
}
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithBadgeType with_badge_type = 15;
*/
public Builder setWithBadgeType(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType value) {
if (withBadgeTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
condition_ = value;
onChanged();
} else {
withBadgeTypeBuilder_.setMessage(value);
}
conditionCase_ = 15;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithBadgeType with_badge_type = 15;
*/
public Builder setWithBadgeType(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType.Builder builderForValue) {
if (withBadgeTypeBuilder_ == null) {
condition_ = builderForValue.build();
onChanged();
} else {
withBadgeTypeBuilder_.setMessage(builderForValue.build());
}
conditionCase_ = 15;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithBadgeType with_badge_type = 15;
*/
public Builder mergeWithBadgeType(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType value) {
if (withBadgeTypeBuilder_ == null) {
if (conditionCase_ == 15 &&
condition_ != POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType.getDefaultInstance()) {
condition_ = POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType.newBuilder((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType) condition_)
.mergeFrom(value).buildPartial();
} else {
condition_ = value;
}
onChanged();
} else {
if (conditionCase_ == 15) {
withBadgeTypeBuilder_.mergeFrom(value);
}
withBadgeTypeBuilder_.setMessage(value);
}
conditionCase_ = 15;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithBadgeType with_badge_type = 15;
*/
public Builder clearWithBadgeType() {
if (withBadgeTypeBuilder_ == null) {
if (conditionCase_ == 15) {
conditionCase_ = 0;
condition_ = null;
onChanged();
}
} else {
if (conditionCase_ == 15) {
conditionCase_ = 0;
condition_ = null;
}
withBadgeTypeBuilder_.clear();
}
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithBadgeType with_badge_type = 15;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType.Builder getWithBadgeTypeBuilder() {
return getWithBadgeTypeFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithBadgeType with_badge_type = 15;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeTypeOrBuilder getWithBadgeTypeOrBuilder() {
if ((conditionCase_ == 15) && (withBadgeTypeBuilder_ != null)) {
return withBadgeTypeBuilder_.getMessageOrBuilder();
} else {
if (conditionCase_ == 15) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType.getDefaultInstance();
}
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithBadgeType with_badge_type = 15;
*/
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeTypeOrBuilder>
getWithBadgeTypeFieldBuilder() {
if (withBadgeTypeBuilder_ == null) {
if (!(conditionCase_ == 15)) {
condition_ = POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType.getDefaultInstance();
}
withBadgeTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeTypeOrBuilder>(
(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithBadgeType) condition_,
getParentForChildren(),
isClean());
condition_ = null;
}
conditionCase_ = 15;
onChanged();;
return withBadgeTypeBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevelOrBuilder> withPlayerLevelBuilder_;
/**
* .POGOProtos.Data.Quests.QuestCondition.WithPlayerLevel with_player_level = 16;
*/
public boolean hasWithPlayerLevel() {
return conditionCase_ == 16;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithPlayerLevel with_player_level = 16;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel getWithPlayerLevel() {
if (withPlayerLevelBuilder_ == null) {
if (conditionCase_ == 16) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel.getDefaultInstance();
} else {
if (conditionCase_ == 16) {
return withPlayerLevelBuilder_.getMessage();
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel.getDefaultInstance();
}
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithPlayerLevel with_player_level = 16;
*/
public Builder setWithPlayerLevel(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel value) {
if (withPlayerLevelBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
condition_ = value;
onChanged();
} else {
withPlayerLevelBuilder_.setMessage(value);
}
conditionCase_ = 16;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithPlayerLevel with_player_level = 16;
*/
public Builder setWithPlayerLevel(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel.Builder builderForValue) {
if (withPlayerLevelBuilder_ == null) {
condition_ = builderForValue.build();
onChanged();
} else {
withPlayerLevelBuilder_.setMessage(builderForValue.build());
}
conditionCase_ = 16;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithPlayerLevel with_player_level = 16;
*/
public Builder mergeWithPlayerLevel(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel value) {
if (withPlayerLevelBuilder_ == null) {
if (conditionCase_ == 16 &&
condition_ != POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel.getDefaultInstance()) {
condition_ = POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel.newBuilder((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel) condition_)
.mergeFrom(value).buildPartial();
} else {
condition_ = value;
}
onChanged();
} else {
if (conditionCase_ == 16) {
withPlayerLevelBuilder_.mergeFrom(value);
}
withPlayerLevelBuilder_.setMessage(value);
}
conditionCase_ = 16;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithPlayerLevel with_player_level = 16;
*/
public Builder clearWithPlayerLevel() {
if (withPlayerLevelBuilder_ == null) {
if (conditionCase_ == 16) {
conditionCase_ = 0;
condition_ = null;
onChanged();
}
} else {
if (conditionCase_ == 16) {
conditionCase_ = 0;
condition_ = null;
}
withPlayerLevelBuilder_.clear();
}
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithPlayerLevel with_player_level = 16;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel.Builder getWithPlayerLevelBuilder() {
return getWithPlayerLevelFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithPlayerLevel with_player_level = 16;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevelOrBuilder getWithPlayerLevelOrBuilder() {
if ((conditionCase_ == 16) && (withPlayerLevelBuilder_ != null)) {
return withPlayerLevelBuilder_.getMessageOrBuilder();
} else {
if (conditionCase_ == 16) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel.getDefaultInstance();
}
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithPlayerLevel with_player_level = 16;
*/
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevelOrBuilder>
getWithPlayerLevelFieldBuilder() {
if (withPlayerLevelBuilder_ == null) {
if (!(conditionCase_ == 16)) {
condition_ = POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel.getDefaultInstance();
}
withPlayerLevelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevelOrBuilder>(
(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithPlayerLevel) condition_,
getParentForChildren(),
isClean());
condition_ = null;
}
conditionCase_ = 16;
onChanged();;
return withPlayerLevelBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatusOrBuilder> withWinBattleStatusBuilder_;
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWinBattleStatus with_win_battle_status = 17;
*/
public boolean hasWithWinBattleStatus() {
return conditionCase_ == 17;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWinBattleStatus with_win_battle_status = 17;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus getWithWinBattleStatus() {
if (withWinBattleStatusBuilder_ == null) {
if (conditionCase_ == 17) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus.getDefaultInstance();
} else {
if (conditionCase_ == 17) {
return withWinBattleStatusBuilder_.getMessage();
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus.getDefaultInstance();
}
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWinBattleStatus with_win_battle_status = 17;
*/
public Builder setWithWinBattleStatus(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus value) {
if (withWinBattleStatusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
condition_ = value;
onChanged();
} else {
withWinBattleStatusBuilder_.setMessage(value);
}
conditionCase_ = 17;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWinBattleStatus with_win_battle_status = 17;
*/
public Builder setWithWinBattleStatus(
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus.Builder builderForValue) {
if (withWinBattleStatusBuilder_ == null) {
condition_ = builderForValue.build();
onChanged();
} else {
withWinBattleStatusBuilder_.setMessage(builderForValue.build());
}
conditionCase_ = 17;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWinBattleStatus with_win_battle_status = 17;
*/
public Builder mergeWithWinBattleStatus(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus value) {
if (withWinBattleStatusBuilder_ == null) {
if (conditionCase_ == 17 &&
condition_ != POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus.getDefaultInstance()) {
condition_ = POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus.newBuilder((POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus) condition_)
.mergeFrom(value).buildPartial();
} else {
condition_ = value;
}
onChanged();
} else {
if (conditionCase_ == 17) {
withWinBattleStatusBuilder_.mergeFrom(value);
}
withWinBattleStatusBuilder_.setMessage(value);
}
conditionCase_ = 17;
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWinBattleStatus with_win_battle_status = 17;
*/
public Builder clearWithWinBattleStatus() {
if (withWinBattleStatusBuilder_ == null) {
if (conditionCase_ == 17) {
conditionCase_ = 0;
condition_ = null;
onChanged();
}
} else {
if (conditionCase_ == 17) {
conditionCase_ = 0;
condition_ = null;
}
withWinBattleStatusBuilder_.clear();
}
return this;
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWinBattleStatus with_win_battle_status = 17;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus.Builder getWithWinBattleStatusBuilder() {
return getWithWinBattleStatusFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWinBattleStatus with_win_battle_status = 17;
*/
public POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatusOrBuilder getWithWinBattleStatusOrBuilder() {
if ((conditionCase_ == 17) && (withWinBattleStatusBuilder_ != null)) {
return withWinBattleStatusBuilder_.getMessageOrBuilder();
} else {
if (conditionCase_ == 17) {
return (POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus) condition_;
}
return POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus.getDefaultInstance();
}
}
/**
* .POGOProtos.Data.Quests.QuestCondition.WithWinBattleStatus with_win_battle_status = 17;
*/
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatusOrBuilder>
getWithWinBattleStatusFieldBuilder() {
if (withWinBattleStatusBuilder_ == null) {
if (!(conditionCase_ == 17)) {
condition_ = POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus.getDefaultInstance();
}
withWinBattleStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus.Builder, POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatusOrBuilder>(
(POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition.WithWinBattleStatus) condition_,
getParentForChildren(),
isClean());
condition_ = null;
}
conditionCase_ = 17;
onChanged();;
return withWinBattleStatusBuilder_;
}
@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.QuestCondition)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Data.Quests.QuestCondition)
private static final POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition();
}
public static POGOProtos.Data.Quests.QuestConditionOuterClass.QuestCondition getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public QuestCondition parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new QuestCondition(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.QuestConditionOuterClass.QuestCondition getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Data_Quests_QuestCondition_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Data_Quests_QuestCondition_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Data_Quests_QuestCondition_WithPokemonType_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Data_Quests_QuestCondition_WithPokemonType_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Data_Quests_QuestCondition_WithWeatherBoost_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Data_Quests_QuestCondition_WithWeatherBoost_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Data_Quests_QuestCondition_WithPokemonCategory_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Data_Quests_QuestCondition_WithPokemonCategory_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Data_Quests_QuestCondition_WithDailyCaptureBonus_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Data_Quests_QuestCondition_WithDailyCaptureBonus_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Data_Quests_QuestCondition_WithDailySpinBonus_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Data_Quests_QuestCondition_WithDailySpinBonus_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Data_Quests_QuestCondition_WithWinRaidStatus_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Data_Quests_QuestCondition_WithWinRaidStatus_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Data_Quests_QuestCondition_WithRaidLevel_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Data_Quests_QuestCondition_WithRaidLevel_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Data_Quests_QuestCondition_WithThrowType_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Data_Quests_QuestCondition_WithThrowType_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Data_Quests_QuestCondition_WithCurveBall_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Data_Quests_QuestCondition_WithCurveBall_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Data_Quests_QuestCondition_WithWinGymBattleStatus_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Data_Quests_QuestCondition_WithWinGymBattleStatus_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Data_Quests_QuestCondition_WithSuperEffectiveChargeMove_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Data_Quests_QuestCondition_WithSuperEffectiveChargeMove_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Data_Quests_QuestCondition_WithItem_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Data_Quests_QuestCondition_WithItem_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Data_Quests_QuestCondition_WithUniquePokestop_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Data_Quests_QuestCondition_WithUniquePokestop_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Data_Quests_QuestCondition_WithQuestContext_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Data_Quests_QuestCondition_WithQuestContext_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Data_Quests_QuestCondition_WithBadgeType_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Data_Quests_QuestCondition_WithBadgeType_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Data_Quests_QuestCondition_WithPlayerLevel_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Data_Quests_QuestCondition_WithPlayerLevel_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Data_Quests_QuestCondition_WithWinBattleStatus_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Data_Quests_QuestCondition_WithWinBattleStatus_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/QuestCondition." +
"proto\022\026POGOProtos.Data.Quests\032#POGOProto" +
"s/Enums/ActivityType.proto\032 POGOProtos/E" +
"nums/BadgeType.proto\032 POGOProtos/Enums/P" +
"okemonId.proto\032\"POGOProtos/Enums/Pokemon" +
"Type.proto\032 POGOProtos/Enums/RaidLevel.p" +
"roto\032&POGOProtos/Inventory/Item/ItemId.p" +
"roto\"\205\027\n\016QuestCondition\022B\n\004type\030\001 \001(\01624." +
"POGOProtos.Data.Quests.QuestCondition.Co" +
"nditionType\022S\n\021with_pokemon_type\030\002 \001(\01326" +
".POGOProtos.Data.Quests.QuestCondition.W" +
"ithPokemonTypeH\000\022[\n\025with_pokemon_categor" +
"y\030\003 \001(\0132:.POGOProtos.Data.Quests.QuestCo" +
"ndition.WithPokemonCategoryH\000\022U\n\022with_we" +
"ather_boost\030\004 \001(\01327.POGOProtos.Data.Ques" +
"ts.QuestCondition.WithWeatherBoostH\000\022`\n\030" +
"with_daily_capture_bonus\030\005 \001(\0132<.POGOPro" +
"tos.Data.Quests.QuestCondition.WithDaily" +
"CaptureBonusH\000\022Z\n\025with_daily_spin_bonus\030" +
"\006 \001(\01329.POGOProtos.Data.Quests.QuestCond" +
"ition.WithDailySpinBonusH\000\022X\n\024with_win_r" +
"aid_status\030\007 \001(\01328.POGOProtos.Data.Quest" +
"s.QuestCondition.WithWinRaidStatusH\000\022O\n\017" +
"with_raid_level\030\010 \001(\01324.POGOProtos.Data." +
"Quests.QuestCondition.WithRaidLevelH\000\022O\n" +
"\017with_throw_type\030\t \001(\01324.POGOProtos.Data" +
".Quests.QuestCondition.WithThrowTypeH\000\022c" +
"\n\032with_win_gym_battle_status\030\n \001(\0132=.POG" +
"OProtos.Data.Quests.QuestCondition.WithW" +
"inGymBattleStatusH\000\022o\n with_super_effect" +
"ive_charge_move\030\013 \001(\0132C.POGOProtos.Data." +
"Quests.QuestCondition.WithSuperEffective" +
"ChargeMoveH\000\022D\n\twith_item\030\014 \001(\0132/.POGOPr" +
"otos.Data.Quests.QuestCondition.WithItem" +
"H\000\022Y\n\024with_unique_pokestop\030\r \001(\01329.POGOP" +
"rotos.Data.Quests.QuestCondition.WithUni" +
"quePokestopH\000\022U\n\022with_quest_context\030\016 \001(" +
"\01327.POGOProtos.Data.Quests.QuestConditio" +
"n.WithQuestContextH\000\022O\n\017with_badge_type\030" +
"\017 \001(\01324.POGOProtos.Data.Quests.QuestCond" +
"ition.WithBadgeTypeH\000\022S\n\021with_player_lev" +
"el\030\020 \001(\01326.POGOProtos.Data.Quests.QuestC" +
"ondition.WithPlayerLevelH\000\022\\\n\026with_win_b" +
"attle_status\030\021 \001(\0132:.POGOProtos.Data.Que" +
"sts.QuestCondition.WithWinBattleStatusH\000" +
"\032F\n\017WithPokemonType\0223\n\014pokemon_type\030\001 \003(" +
"\0162\035.POGOProtos.Enums.PokemonType\032\022\n\020With" +
"WeatherBoost\032^\n\023WithPokemonCategory\022\025\n\rc" +
"ategory_name\030\001 \001(\t\0220\n\013pokemon_ids\030\002 \003(\0162" +
"\033.POGOProtos.Enums.PokemonId\032\027\n\025WithDail" +
"yCaptureBonus\032\024\n\022WithDailySpinBonus\032\023\n\021W" +
"ithWinRaidStatus\032@\n\rWithRaidLevel\022/\n\nrai" +
"d_level\030\001 \003(\0162\033.POGOProtos.Enums.RaidLev" +
"el\032]\n\rWithThrowType\0224\n\nthrow_type\030\001 \001(\0162" +
"\036.POGOProtos.Enums.ActivityTypeH\000\022\r\n\003hit" +
"\030\002 \001(\010H\000B\007\n\005Throw\032\017\n\rWithCurveBall\032\030\n\026Wi" +
"thWinGymBattleStatus\032\036\n\034WithSuperEffecti" +
"veChargeMove\032;\n\010WithItem\022/\n\004item\030\001 \001(\0162!" +
".POGOProtos.Inventory.Item.ItemId\032\024\n\022Wit" +
"hUniquePokestop\032\240\001\n\020WithQuestContext\022P\n\007" +
"context\030\001 \001(\0162?.POGOProtos.Data.Quests.Q" +
"uestCondition.WithQuestContext.Context\":" +
"\n\007Context\022\t\n\005UNSET\020\000\022\017\n\013STORY_QUEST\020\001\022\023\n" +
"\017CHALLENGE_QUEST\020\002\032d\n\rWithBadgeType\022/\n\nb" +
"adge_type\030\001 \003(\0162\033.POGOProtos.Enums.Badge" +
"Type\022\022\n\nbadge_rank\030\002 \001(\005\022\016\n\006amount\030\003 \001(\005" +
"\032 \n\017WithPlayerLevel\022\r\n\005level\030\001 \001(\005\032\025\n\023Wi" +
"thWinBattleStatus\"\213\004\n\rConditionType\022\t\n\005U" +
"NSET\020\000\022\025\n\021WITH_POKEMON_TYPE\020\001\022\031\n\025WITH_PO" +
"KEMON_CATEGORY\020\002\022\026\n\022WITH_WEATHER_BOOST\020\003" +
"\022\034\n\030WITH_DAILY_CAPTURE_BONUS\020\004\022\031\n\025WITH_D" +
"AILY_SPIN_BONUS\020\005\022\030\n\024WITH_WIN_RAID_STATU" +
"S\020\006\022\023\n\017WITH_RAID_LEVEL\020\007\022\023\n\017WITH_THROW_T" +
"YPE\020\010\022\036\n\032WITH_WIN_GYM_BATTLE_STATUS\020\t\022\037\n" +
"\033WITH_SUPER_EFFECTIVE_CHARGE\020\n\022\r\n\tWITH_I" +
"TEM\020\013\022\030\n\024WITH_UNIQUE_POKESTOP\020\014\022\026\n\022WITH_" +
"QUEST_CONTEXT\020\r\022\034\n\030WITH_THROW_TYPE_IN_A_" +
"ROW\020\016\022\023\n\017WITH_CURVE_BALL\020\017\022\023\n\017WITH_BADGE" +
"_TYPE\020\020\022\025\n\021WITH_PLAYER_LEVEL\020\021\022\032\n\026WITH_W" +
"IN_BATTLE_STATUS\020\022\022\023\n\017WITH_NEW_FRIEND\020\023\022" +
"\026\n\022WITH_DAYS_IN_A_ROW\020\024B\013\n\tConditionb\006pr" +
"oto3"
};
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.ActivityTypeOuterClass.getDescriptor(),
POGOProtos.Enums.BadgeTypeOuterClass.getDescriptor(),
POGOProtos.Enums.PokemonIdOuterClass.getDescriptor(),
POGOProtos.Enums.PokemonTypeOuterClass.getDescriptor(),
POGOProtos.Enums.RaidLevelOuterClass.getDescriptor(),
POGOProtos.Inventory.Item.ItemIdOuterClass.getDescriptor(),
}, assigner);
internal_static_POGOProtos_Data_Quests_QuestCondition_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_POGOProtos_Data_Quests_QuestCondition_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Data_Quests_QuestCondition_descriptor,
new java.lang.String[] { "Type", "WithPokemonType", "WithPokemonCategory", "WithWeatherBoost", "WithDailyCaptureBonus", "WithDailySpinBonus", "WithWinRaidStatus", "WithRaidLevel", "WithThrowType", "WithWinGymBattleStatus", "WithSuperEffectiveChargeMove", "WithItem", "WithUniquePokestop", "WithQuestContext", "WithBadgeType", "WithPlayerLevel", "WithWinBattleStatus", "Condition", });
internal_static_POGOProtos_Data_Quests_QuestCondition_WithPokemonType_descriptor =
internal_static_POGOProtos_Data_Quests_QuestCondition_descriptor.getNestedTypes().get(0);
internal_static_POGOProtos_Data_Quests_QuestCondition_WithPokemonType_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Data_Quests_QuestCondition_WithPokemonType_descriptor,
new java.lang.String[] { "PokemonType", });
internal_static_POGOProtos_Data_Quests_QuestCondition_WithWeatherBoost_descriptor =
internal_static_POGOProtos_Data_Quests_QuestCondition_descriptor.getNestedTypes().get(1);
internal_static_POGOProtos_Data_Quests_QuestCondition_WithWeatherBoost_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Data_Quests_QuestCondition_WithWeatherBoost_descriptor,
new java.lang.String[] { });
internal_static_POGOProtos_Data_Quests_QuestCondition_WithPokemonCategory_descriptor =
internal_static_POGOProtos_Data_Quests_QuestCondition_descriptor.getNestedTypes().get(2);
internal_static_POGOProtos_Data_Quests_QuestCondition_WithPokemonCategory_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Data_Quests_QuestCondition_WithPokemonCategory_descriptor,
new java.lang.String[] { "CategoryName", "PokemonIds", });
internal_static_POGOProtos_Data_Quests_QuestCondition_WithDailyCaptureBonus_descriptor =
internal_static_POGOProtos_Data_Quests_QuestCondition_descriptor.getNestedTypes().get(3);
internal_static_POGOProtos_Data_Quests_QuestCondition_WithDailyCaptureBonus_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Data_Quests_QuestCondition_WithDailyCaptureBonus_descriptor,
new java.lang.String[] { });
internal_static_POGOProtos_Data_Quests_QuestCondition_WithDailySpinBonus_descriptor =
internal_static_POGOProtos_Data_Quests_QuestCondition_descriptor.getNestedTypes().get(4);
internal_static_POGOProtos_Data_Quests_QuestCondition_WithDailySpinBonus_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Data_Quests_QuestCondition_WithDailySpinBonus_descriptor,
new java.lang.String[] { });
internal_static_POGOProtos_Data_Quests_QuestCondition_WithWinRaidStatus_descriptor =
internal_static_POGOProtos_Data_Quests_QuestCondition_descriptor.getNestedTypes().get(5);
internal_static_POGOProtos_Data_Quests_QuestCondition_WithWinRaidStatus_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Data_Quests_QuestCondition_WithWinRaidStatus_descriptor,
new java.lang.String[] { });
internal_static_POGOProtos_Data_Quests_QuestCondition_WithRaidLevel_descriptor =
internal_static_POGOProtos_Data_Quests_QuestCondition_descriptor.getNestedTypes().get(6);
internal_static_POGOProtos_Data_Quests_QuestCondition_WithRaidLevel_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Data_Quests_QuestCondition_WithRaidLevel_descriptor,
new java.lang.String[] { "RaidLevel", });
internal_static_POGOProtos_Data_Quests_QuestCondition_WithThrowType_descriptor =
internal_static_POGOProtos_Data_Quests_QuestCondition_descriptor.getNestedTypes().get(7);
internal_static_POGOProtos_Data_Quests_QuestCondition_WithThrowType_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Data_Quests_QuestCondition_WithThrowType_descriptor,
new java.lang.String[] { "ThrowType", "Hit", "Throw", });
internal_static_POGOProtos_Data_Quests_QuestCondition_WithCurveBall_descriptor =
internal_static_POGOProtos_Data_Quests_QuestCondition_descriptor.getNestedTypes().get(8);
internal_static_POGOProtos_Data_Quests_QuestCondition_WithCurveBall_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Data_Quests_QuestCondition_WithCurveBall_descriptor,
new java.lang.String[] { });
internal_static_POGOProtos_Data_Quests_QuestCondition_WithWinGymBattleStatus_descriptor =
internal_static_POGOProtos_Data_Quests_QuestCondition_descriptor.getNestedTypes().get(9);
internal_static_POGOProtos_Data_Quests_QuestCondition_WithWinGymBattleStatus_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Data_Quests_QuestCondition_WithWinGymBattleStatus_descriptor,
new java.lang.String[] { });
internal_static_POGOProtos_Data_Quests_QuestCondition_WithSuperEffectiveChargeMove_descriptor =
internal_static_POGOProtos_Data_Quests_QuestCondition_descriptor.getNestedTypes().get(10);
internal_static_POGOProtos_Data_Quests_QuestCondition_WithSuperEffectiveChargeMove_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Data_Quests_QuestCondition_WithSuperEffectiveChargeMove_descriptor,
new java.lang.String[] { });
internal_static_POGOProtos_Data_Quests_QuestCondition_WithItem_descriptor =
internal_static_POGOProtos_Data_Quests_QuestCondition_descriptor.getNestedTypes().get(11);
internal_static_POGOProtos_Data_Quests_QuestCondition_WithItem_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Data_Quests_QuestCondition_WithItem_descriptor,
new java.lang.String[] { "Item", });
internal_static_POGOProtos_Data_Quests_QuestCondition_WithUniquePokestop_descriptor =
internal_static_POGOProtos_Data_Quests_QuestCondition_descriptor.getNestedTypes().get(12);
internal_static_POGOProtos_Data_Quests_QuestCondition_WithUniquePokestop_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Data_Quests_QuestCondition_WithUniquePokestop_descriptor,
new java.lang.String[] { });
internal_static_POGOProtos_Data_Quests_QuestCondition_WithQuestContext_descriptor =
internal_static_POGOProtos_Data_Quests_QuestCondition_descriptor.getNestedTypes().get(13);
internal_static_POGOProtos_Data_Quests_QuestCondition_WithQuestContext_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Data_Quests_QuestCondition_WithQuestContext_descriptor,
new java.lang.String[] { "Context", });
internal_static_POGOProtos_Data_Quests_QuestCondition_WithBadgeType_descriptor =
internal_static_POGOProtos_Data_Quests_QuestCondition_descriptor.getNestedTypes().get(14);
internal_static_POGOProtos_Data_Quests_QuestCondition_WithBadgeType_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Data_Quests_QuestCondition_WithBadgeType_descriptor,
new java.lang.String[] { "BadgeType", "BadgeRank", "Amount", });
internal_static_POGOProtos_Data_Quests_QuestCondition_WithPlayerLevel_descriptor =
internal_static_POGOProtos_Data_Quests_QuestCondition_descriptor.getNestedTypes().get(15);
internal_static_POGOProtos_Data_Quests_QuestCondition_WithPlayerLevel_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Data_Quests_QuestCondition_WithPlayerLevel_descriptor,
new java.lang.String[] { "Level", });
internal_static_POGOProtos_Data_Quests_QuestCondition_WithWinBattleStatus_descriptor =
internal_static_POGOProtos_Data_Quests_QuestCondition_descriptor.getNestedTypes().get(16);
internal_static_POGOProtos_Data_Quests_QuestCondition_WithWinBattleStatus_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Data_Quests_QuestCondition_WithWinBattleStatus_descriptor,
new java.lang.String[] { });
POGOProtos.Enums.ActivityTypeOuterClass.getDescriptor();
POGOProtos.Enums.BadgeTypeOuterClass.getDescriptor();
POGOProtos.Enums.PokemonIdOuterClass.getDescriptor();
POGOProtos.Enums.PokemonTypeOuterClass.getDescriptor();
POGOProtos.Enums.RaidLevelOuterClass.getDescriptor();
POGOProtos.Inventory.Item.ItemIdOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy