POGOProtos.Data.Raid.RaidInfoOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: POGOProtos/Data/Raid/RaidInfo.proto
package POGOProtos.Data.Raid;
public final class RaidInfoOuterClass {
private RaidInfoOuterClass() {}
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 RaidInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Data.Raid.RaidInfo)
com.google.protobuf.MessageOrBuilder {
/**
* int64 raid_seed = 1;
*/
long getRaidSeed();
/**
* int64 raid_spawn_ms = 2;
*/
long getRaidSpawnMs();
/**
* int64 raid_battle_ms = 3;
*/
long getRaidBattleMs();
/**
* int64 raid_end_ms = 4;
*/
long getRaidEndMs();
/**
* .POGOProtos.Data.PokemonData raid_pokemon = 5;
*/
boolean hasRaidPokemon();
/**
* .POGOProtos.Data.PokemonData raid_pokemon = 5;
*/
POGOProtos.Data.PokemonDataOuterClass.PokemonData getRaidPokemon();
/**
* .POGOProtos.Data.PokemonData raid_pokemon = 5;
*/
POGOProtos.Data.PokemonDataOuterClass.PokemonDataOrBuilder getRaidPokemonOrBuilder();
/**
* .POGOProtos.Enums.RaidLevel raid_level = 6;
*/
int getRaidLevelValue();
/**
* .POGOProtos.Enums.RaidLevel raid_level = 6;
*/
POGOProtos.Enums.RaidLevelOuterClass.RaidLevel getRaidLevel();
/**
* bool complete = 7;
*/
boolean getComplete();
/**
* bool is_exclusive = 8;
*/
boolean getIsExclusive();
/**
* bool is_raid_hidden = 9;
*/
boolean getIsRaidHidden();
/**
* bool is_scheduled_raid = 10;
*/
boolean getIsScheduledRaid();
/**
* bool is_free = 11;
*/
boolean getIsFree();
/**
* string campaign_id = 12;
*/
java.lang.String getCampaignId();
/**
* string campaign_id = 12;
*/
com.google.protobuf.ByteString
getCampaignIdBytes();
}
/**
* Protobuf type {@code POGOProtos.Data.Raid.RaidInfo}
*/
public static final class RaidInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Data.Raid.RaidInfo)
RaidInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use RaidInfo.newBuilder() to construct.
private RaidInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private RaidInfo() {
raidSeed_ = 0L;
raidSpawnMs_ = 0L;
raidBattleMs_ = 0L;
raidEndMs_ = 0L;
raidLevel_ = 0;
complete_ = false;
isExclusive_ = false;
isRaidHidden_ = false;
isScheduledRaid_ = false;
isFree_ = false;
campaignId_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private RaidInfo(
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: {
raidSeed_ = input.readInt64();
break;
}
case 16: {
raidSpawnMs_ = input.readInt64();
break;
}
case 24: {
raidBattleMs_ = input.readInt64();
break;
}
case 32: {
raidEndMs_ = input.readInt64();
break;
}
case 42: {
POGOProtos.Data.PokemonDataOuterClass.PokemonData.Builder subBuilder = null;
if (raidPokemon_ != null) {
subBuilder = raidPokemon_.toBuilder();
}
raidPokemon_ = input.readMessage(POGOProtos.Data.PokemonDataOuterClass.PokemonData.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(raidPokemon_);
raidPokemon_ = subBuilder.buildPartial();
}
break;
}
case 48: {
int rawValue = input.readEnum();
raidLevel_ = rawValue;
break;
}
case 56: {
complete_ = input.readBool();
break;
}
case 64: {
isExclusive_ = input.readBool();
break;
}
case 72: {
isRaidHidden_ = input.readBool();
break;
}
case 80: {
isScheduledRaid_ = input.readBool();
break;
}
case 88: {
isFree_ = input.readBool();
break;
}
case 98: {
java.lang.String s = input.readStringRequireUtf8();
campaignId_ = s;
break;
}
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Raid.RaidInfoOuterClass.internal_static_POGOProtos_Data_Raid_RaidInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Raid.RaidInfoOuterClass.internal_static_POGOProtos_Data_Raid_RaidInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo.class, POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo.Builder.class);
}
public static final int RAID_SEED_FIELD_NUMBER = 1;
private long raidSeed_;
/**
* int64 raid_seed = 1;
*/
public long getRaidSeed() {
return raidSeed_;
}
public static final int RAID_SPAWN_MS_FIELD_NUMBER = 2;
private long raidSpawnMs_;
/**
* int64 raid_spawn_ms = 2;
*/
public long getRaidSpawnMs() {
return raidSpawnMs_;
}
public static final int RAID_BATTLE_MS_FIELD_NUMBER = 3;
private long raidBattleMs_;
/**
* int64 raid_battle_ms = 3;
*/
public long getRaidBattleMs() {
return raidBattleMs_;
}
public static final int RAID_END_MS_FIELD_NUMBER = 4;
private long raidEndMs_;
/**
* int64 raid_end_ms = 4;
*/
public long getRaidEndMs() {
return raidEndMs_;
}
public static final int RAID_POKEMON_FIELD_NUMBER = 5;
private POGOProtos.Data.PokemonDataOuterClass.PokemonData raidPokemon_;
/**
* .POGOProtos.Data.PokemonData raid_pokemon = 5;
*/
public boolean hasRaidPokemon() {
return raidPokemon_ != null;
}
/**
* .POGOProtos.Data.PokemonData raid_pokemon = 5;
*/
public POGOProtos.Data.PokemonDataOuterClass.PokemonData getRaidPokemon() {
return raidPokemon_ == null ? POGOProtos.Data.PokemonDataOuterClass.PokemonData.getDefaultInstance() : raidPokemon_;
}
/**
* .POGOProtos.Data.PokemonData raid_pokemon = 5;
*/
public POGOProtos.Data.PokemonDataOuterClass.PokemonDataOrBuilder getRaidPokemonOrBuilder() {
return getRaidPokemon();
}
public static final int RAID_LEVEL_FIELD_NUMBER = 6;
private int raidLevel_;
/**
* .POGOProtos.Enums.RaidLevel raid_level = 6;
*/
public int getRaidLevelValue() {
return raidLevel_;
}
/**
* .POGOProtos.Enums.RaidLevel raid_level = 6;
*/
public POGOProtos.Enums.RaidLevelOuterClass.RaidLevel getRaidLevel() {
@SuppressWarnings("deprecation")
POGOProtos.Enums.RaidLevelOuterClass.RaidLevel result = POGOProtos.Enums.RaidLevelOuterClass.RaidLevel.valueOf(raidLevel_);
return result == null ? POGOProtos.Enums.RaidLevelOuterClass.RaidLevel.UNRECOGNIZED : result;
}
public static final int COMPLETE_FIELD_NUMBER = 7;
private boolean complete_;
/**
* bool complete = 7;
*/
public boolean getComplete() {
return complete_;
}
public static final int IS_EXCLUSIVE_FIELD_NUMBER = 8;
private boolean isExclusive_;
/**
* bool is_exclusive = 8;
*/
public boolean getIsExclusive() {
return isExclusive_;
}
public static final int IS_RAID_HIDDEN_FIELD_NUMBER = 9;
private boolean isRaidHidden_;
/**
* bool is_raid_hidden = 9;
*/
public boolean getIsRaidHidden() {
return isRaidHidden_;
}
public static final int IS_SCHEDULED_RAID_FIELD_NUMBER = 10;
private boolean isScheduledRaid_;
/**
* bool is_scheduled_raid = 10;
*/
public boolean getIsScheduledRaid() {
return isScheduledRaid_;
}
public static final int IS_FREE_FIELD_NUMBER = 11;
private boolean isFree_;
/**
* bool is_free = 11;
*/
public boolean getIsFree() {
return isFree_;
}
public static final int CAMPAIGN_ID_FIELD_NUMBER = 12;
private volatile java.lang.Object campaignId_;
/**
* string campaign_id = 12;
*/
public java.lang.String getCampaignId() {
java.lang.Object ref = campaignId_;
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();
campaignId_ = s;
return s;
}
}
/**
* string campaign_id = 12;
*/
public com.google.protobuf.ByteString
getCampaignIdBytes() {
java.lang.Object ref = campaignId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
campaignId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (raidSeed_ != 0L) {
output.writeInt64(1, raidSeed_);
}
if (raidSpawnMs_ != 0L) {
output.writeInt64(2, raidSpawnMs_);
}
if (raidBattleMs_ != 0L) {
output.writeInt64(3, raidBattleMs_);
}
if (raidEndMs_ != 0L) {
output.writeInt64(4, raidEndMs_);
}
if (raidPokemon_ != null) {
output.writeMessage(5, getRaidPokemon());
}
if (raidLevel_ != POGOProtos.Enums.RaidLevelOuterClass.RaidLevel.RAID_LEVEL_UNSET.getNumber()) {
output.writeEnum(6, raidLevel_);
}
if (complete_ != false) {
output.writeBool(7, complete_);
}
if (isExclusive_ != false) {
output.writeBool(8, isExclusive_);
}
if (isRaidHidden_ != false) {
output.writeBool(9, isRaidHidden_);
}
if (isScheduledRaid_ != false) {
output.writeBool(10, isScheduledRaid_);
}
if (isFree_ != false) {
output.writeBool(11, isFree_);
}
if (!getCampaignIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 12, campaignId_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (raidSeed_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, raidSeed_);
}
if (raidSpawnMs_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, raidSpawnMs_);
}
if (raidBattleMs_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, raidBattleMs_);
}
if (raidEndMs_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, raidEndMs_);
}
if (raidPokemon_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getRaidPokemon());
}
if (raidLevel_ != POGOProtos.Enums.RaidLevelOuterClass.RaidLevel.RAID_LEVEL_UNSET.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(6, raidLevel_);
}
if (complete_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(7, complete_);
}
if (isExclusive_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(8, isExclusive_);
}
if (isRaidHidden_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(9, isRaidHidden_);
}
if (isScheduledRaid_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(10, isScheduledRaid_);
}
if (isFree_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(11, isFree_);
}
if (!getCampaignIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, campaignId_);
}
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.Raid.RaidInfoOuterClass.RaidInfo)) {
return super.equals(obj);
}
POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo other = (POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo) obj;
boolean result = true;
result = result && (getRaidSeed()
== other.getRaidSeed());
result = result && (getRaidSpawnMs()
== other.getRaidSpawnMs());
result = result && (getRaidBattleMs()
== other.getRaidBattleMs());
result = result && (getRaidEndMs()
== other.getRaidEndMs());
result = result && (hasRaidPokemon() == other.hasRaidPokemon());
if (hasRaidPokemon()) {
result = result && getRaidPokemon()
.equals(other.getRaidPokemon());
}
result = result && raidLevel_ == other.raidLevel_;
result = result && (getComplete()
== other.getComplete());
result = result && (getIsExclusive()
== other.getIsExclusive());
result = result && (getIsRaidHidden()
== other.getIsRaidHidden());
result = result && (getIsScheduledRaid()
== other.getIsScheduledRaid());
result = result && (getIsFree()
== other.getIsFree());
result = result && getCampaignId()
.equals(other.getCampaignId());
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) + RAID_SEED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getRaidSeed());
hash = (37 * hash) + RAID_SPAWN_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getRaidSpawnMs());
hash = (37 * hash) + RAID_BATTLE_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getRaidBattleMs());
hash = (37 * hash) + RAID_END_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getRaidEndMs());
if (hasRaidPokemon()) {
hash = (37 * hash) + RAID_POKEMON_FIELD_NUMBER;
hash = (53 * hash) + getRaidPokemon().hashCode();
}
hash = (37 * hash) + RAID_LEVEL_FIELD_NUMBER;
hash = (53 * hash) + raidLevel_;
hash = (37 * hash) + COMPLETE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getComplete());
hash = (37 * hash) + IS_EXCLUSIVE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsExclusive());
hash = (37 * hash) + IS_RAID_HIDDEN_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsRaidHidden());
hash = (37 * hash) + IS_SCHEDULED_RAID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsScheduledRaid());
hash = (37 * hash) + IS_FREE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsFree());
hash = (37 * hash) + CAMPAIGN_ID_FIELD_NUMBER;
hash = (53 * hash) + getCampaignId().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo 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.Raid.RaidInfoOuterClass.RaidInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo 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.Raid.RaidInfoOuterClass.RaidInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo 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.Raid.RaidInfoOuterClass.RaidInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo 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.Raid.RaidInfoOuterClass.RaidInfo 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.Raid.RaidInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Data.Raid.RaidInfo)
POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Raid.RaidInfoOuterClass.internal_static_POGOProtos_Data_Raid_RaidInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Raid.RaidInfoOuterClass.internal_static_POGOProtos_Data_Raid_RaidInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo.class, POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo.Builder.class);
}
// Construct using POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo.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();
raidSeed_ = 0L;
raidSpawnMs_ = 0L;
raidBattleMs_ = 0L;
raidEndMs_ = 0L;
if (raidPokemonBuilder_ == null) {
raidPokemon_ = null;
} else {
raidPokemon_ = null;
raidPokemonBuilder_ = null;
}
raidLevel_ = 0;
complete_ = false;
isExclusive_ = false;
isRaidHidden_ = false;
isScheduledRaid_ = false;
isFree_ = false;
campaignId_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Data.Raid.RaidInfoOuterClass.internal_static_POGOProtos_Data_Raid_RaidInfo_descriptor;
}
@java.lang.Override
public POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo getDefaultInstanceForType() {
return POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo build() {
POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo buildPartial() {
POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo result = new POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo(this);
result.raidSeed_ = raidSeed_;
result.raidSpawnMs_ = raidSpawnMs_;
result.raidBattleMs_ = raidBattleMs_;
result.raidEndMs_ = raidEndMs_;
if (raidPokemonBuilder_ == null) {
result.raidPokemon_ = raidPokemon_;
} else {
result.raidPokemon_ = raidPokemonBuilder_.build();
}
result.raidLevel_ = raidLevel_;
result.complete_ = complete_;
result.isExclusive_ = isExclusive_;
result.isRaidHidden_ = isRaidHidden_;
result.isScheduledRaid_ = isScheduledRaid_;
result.isFree_ = isFree_;
result.campaignId_ = campaignId_;
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.Raid.RaidInfoOuterClass.RaidInfo) {
return mergeFrom((POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo other) {
if (other == POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo.getDefaultInstance()) return this;
if (other.getRaidSeed() != 0L) {
setRaidSeed(other.getRaidSeed());
}
if (other.getRaidSpawnMs() != 0L) {
setRaidSpawnMs(other.getRaidSpawnMs());
}
if (other.getRaidBattleMs() != 0L) {
setRaidBattleMs(other.getRaidBattleMs());
}
if (other.getRaidEndMs() != 0L) {
setRaidEndMs(other.getRaidEndMs());
}
if (other.hasRaidPokemon()) {
mergeRaidPokemon(other.getRaidPokemon());
}
if (other.raidLevel_ != 0) {
setRaidLevelValue(other.getRaidLevelValue());
}
if (other.getComplete() != false) {
setComplete(other.getComplete());
}
if (other.getIsExclusive() != false) {
setIsExclusive(other.getIsExclusive());
}
if (other.getIsRaidHidden() != false) {
setIsRaidHidden(other.getIsRaidHidden());
}
if (other.getIsScheduledRaid() != false) {
setIsScheduledRaid(other.getIsScheduledRaid());
}
if (other.getIsFree() != false) {
setIsFree(other.getIsFree());
}
if (!other.getCampaignId().isEmpty()) {
campaignId_ = other.campaignId_;
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.Raid.RaidInfoOuterClass.RaidInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private long raidSeed_ ;
/**
* int64 raid_seed = 1;
*/
public long getRaidSeed() {
return raidSeed_;
}
/**
* int64 raid_seed = 1;
*/
public Builder setRaidSeed(long value) {
raidSeed_ = value;
onChanged();
return this;
}
/**
* int64 raid_seed = 1;
*/
public Builder clearRaidSeed() {
raidSeed_ = 0L;
onChanged();
return this;
}
private long raidSpawnMs_ ;
/**
* int64 raid_spawn_ms = 2;
*/
public long getRaidSpawnMs() {
return raidSpawnMs_;
}
/**
* int64 raid_spawn_ms = 2;
*/
public Builder setRaidSpawnMs(long value) {
raidSpawnMs_ = value;
onChanged();
return this;
}
/**
* int64 raid_spawn_ms = 2;
*/
public Builder clearRaidSpawnMs() {
raidSpawnMs_ = 0L;
onChanged();
return this;
}
private long raidBattleMs_ ;
/**
* int64 raid_battle_ms = 3;
*/
public long getRaidBattleMs() {
return raidBattleMs_;
}
/**
* int64 raid_battle_ms = 3;
*/
public Builder setRaidBattleMs(long value) {
raidBattleMs_ = value;
onChanged();
return this;
}
/**
* int64 raid_battle_ms = 3;
*/
public Builder clearRaidBattleMs() {
raidBattleMs_ = 0L;
onChanged();
return this;
}
private long raidEndMs_ ;
/**
* int64 raid_end_ms = 4;
*/
public long getRaidEndMs() {
return raidEndMs_;
}
/**
* int64 raid_end_ms = 4;
*/
public Builder setRaidEndMs(long value) {
raidEndMs_ = value;
onChanged();
return this;
}
/**
* int64 raid_end_ms = 4;
*/
public Builder clearRaidEndMs() {
raidEndMs_ = 0L;
onChanged();
return this;
}
private POGOProtos.Data.PokemonDataOuterClass.PokemonData raidPokemon_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.PokemonDataOuterClass.PokemonData, POGOProtos.Data.PokemonDataOuterClass.PokemonData.Builder, POGOProtos.Data.PokemonDataOuterClass.PokemonDataOrBuilder> raidPokemonBuilder_;
/**
* .POGOProtos.Data.PokemonData raid_pokemon = 5;
*/
public boolean hasRaidPokemon() {
return raidPokemonBuilder_ != null || raidPokemon_ != null;
}
/**
* .POGOProtos.Data.PokemonData raid_pokemon = 5;
*/
public POGOProtos.Data.PokemonDataOuterClass.PokemonData getRaidPokemon() {
if (raidPokemonBuilder_ == null) {
return raidPokemon_ == null ? POGOProtos.Data.PokemonDataOuterClass.PokemonData.getDefaultInstance() : raidPokemon_;
} else {
return raidPokemonBuilder_.getMessage();
}
}
/**
* .POGOProtos.Data.PokemonData raid_pokemon = 5;
*/
public Builder setRaidPokemon(POGOProtos.Data.PokemonDataOuterClass.PokemonData value) {
if (raidPokemonBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
raidPokemon_ = value;
onChanged();
} else {
raidPokemonBuilder_.setMessage(value);
}
return this;
}
/**
* .POGOProtos.Data.PokemonData raid_pokemon = 5;
*/
public Builder setRaidPokemon(
POGOProtos.Data.PokemonDataOuterClass.PokemonData.Builder builderForValue) {
if (raidPokemonBuilder_ == null) {
raidPokemon_ = builderForValue.build();
onChanged();
} else {
raidPokemonBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .POGOProtos.Data.PokemonData raid_pokemon = 5;
*/
public Builder mergeRaidPokemon(POGOProtos.Data.PokemonDataOuterClass.PokemonData value) {
if (raidPokemonBuilder_ == null) {
if (raidPokemon_ != null) {
raidPokemon_ =
POGOProtos.Data.PokemonDataOuterClass.PokemonData.newBuilder(raidPokemon_).mergeFrom(value).buildPartial();
} else {
raidPokemon_ = value;
}
onChanged();
} else {
raidPokemonBuilder_.mergeFrom(value);
}
return this;
}
/**
* .POGOProtos.Data.PokemonData raid_pokemon = 5;
*/
public Builder clearRaidPokemon() {
if (raidPokemonBuilder_ == null) {
raidPokemon_ = null;
onChanged();
} else {
raidPokemon_ = null;
raidPokemonBuilder_ = null;
}
return this;
}
/**
* .POGOProtos.Data.PokemonData raid_pokemon = 5;
*/
public POGOProtos.Data.PokemonDataOuterClass.PokemonData.Builder getRaidPokemonBuilder() {
onChanged();
return getRaidPokemonFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Data.PokemonData raid_pokemon = 5;
*/
public POGOProtos.Data.PokemonDataOuterClass.PokemonDataOrBuilder getRaidPokemonOrBuilder() {
if (raidPokemonBuilder_ != null) {
return raidPokemonBuilder_.getMessageOrBuilder();
} else {
return raidPokemon_ == null ?
POGOProtos.Data.PokemonDataOuterClass.PokemonData.getDefaultInstance() : raidPokemon_;
}
}
/**
* .POGOProtos.Data.PokemonData raid_pokemon = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.PokemonDataOuterClass.PokemonData, POGOProtos.Data.PokemonDataOuterClass.PokemonData.Builder, POGOProtos.Data.PokemonDataOuterClass.PokemonDataOrBuilder>
getRaidPokemonFieldBuilder() {
if (raidPokemonBuilder_ == null) {
raidPokemonBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.PokemonDataOuterClass.PokemonData, POGOProtos.Data.PokemonDataOuterClass.PokemonData.Builder, POGOProtos.Data.PokemonDataOuterClass.PokemonDataOrBuilder>(
getRaidPokemon(),
getParentForChildren(),
isClean());
raidPokemon_ = null;
}
return raidPokemonBuilder_;
}
private int raidLevel_ = 0;
/**
* .POGOProtos.Enums.RaidLevel raid_level = 6;
*/
public int getRaidLevelValue() {
return raidLevel_;
}
/**
* .POGOProtos.Enums.RaidLevel raid_level = 6;
*/
public Builder setRaidLevelValue(int value) {
raidLevel_ = value;
onChanged();
return this;
}
/**
* .POGOProtos.Enums.RaidLevel raid_level = 6;
*/
public POGOProtos.Enums.RaidLevelOuterClass.RaidLevel getRaidLevel() {
@SuppressWarnings("deprecation")
POGOProtos.Enums.RaidLevelOuterClass.RaidLevel result = POGOProtos.Enums.RaidLevelOuterClass.RaidLevel.valueOf(raidLevel_);
return result == null ? POGOProtos.Enums.RaidLevelOuterClass.RaidLevel.UNRECOGNIZED : result;
}
/**
* .POGOProtos.Enums.RaidLevel raid_level = 6;
*/
public Builder setRaidLevel(POGOProtos.Enums.RaidLevelOuterClass.RaidLevel value) {
if (value == null) {
throw new NullPointerException();
}
raidLevel_ = value.getNumber();
onChanged();
return this;
}
/**
* .POGOProtos.Enums.RaidLevel raid_level = 6;
*/
public Builder clearRaidLevel() {
raidLevel_ = 0;
onChanged();
return this;
}
private boolean complete_ ;
/**
* bool complete = 7;
*/
public boolean getComplete() {
return complete_;
}
/**
* bool complete = 7;
*/
public Builder setComplete(boolean value) {
complete_ = value;
onChanged();
return this;
}
/**
* bool complete = 7;
*/
public Builder clearComplete() {
complete_ = false;
onChanged();
return this;
}
private boolean isExclusive_ ;
/**
* bool is_exclusive = 8;
*/
public boolean getIsExclusive() {
return isExclusive_;
}
/**
* bool is_exclusive = 8;
*/
public Builder setIsExclusive(boolean value) {
isExclusive_ = value;
onChanged();
return this;
}
/**
* bool is_exclusive = 8;
*/
public Builder clearIsExclusive() {
isExclusive_ = false;
onChanged();
return this;
}
private boolean isRaidHidden_ ;
/**
* bool is_raid_hidden = 9;
*/
public boolean getIsRaidHidden() {
return isRaidHidden_;
}
/**
* bool is_raid_hidden = 9;
*/
public Builder setIsRaidHidden(boolean value) {
isRaidHidden_ = value;
onChanged();
return this;
}
/**
* bool is_raid_hidden = 9;
*/
public Builder clearIsRaidHidden() {
isRaidHidden_ = false;
onChanged();
return this;
}
private boolean isScheduledRaid_ ;
/**
* bool is_scheduled_raid = 10;
*/
public boolean getIsScheduledRaid() {
return isScheduledRaid_;
}
/**
* bool is_scheduled_raid = 10;
*/
public Builder setIsScheduledRaid(boolean value) {
isScheduledRaid_ = value;
onChanged();
return this;
}
/**
* bool is_scheduled_raid = 10;
*/
public Builder clearIsScheduledRaid() {
isScheduledRaid_ = false;
onChanged();
return this;
}
private boolean isFree_ ;
/**
* bool is_free = 11;
*/
public boolean getIsFree() {
return isFree_;
}
/**
* bool is_free = 11;
*/
public Builder setIsFree(boolean value) {
isFree_ = value;
onChanged();
return this;
}
/**
* bool is_free = 11;
*/
public Builder clearIsFree() {
isFree_ = false;
onChanged();
return this;
}
private java.lang.Object campaignId_ = "";
/**
* string campaign_id = 12;
*/
public java.lang.String getCampaignId() {
java.lang.Object ref = campaignId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
campaignId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string campaign_id = 12;
*/
public com.google.protobuf.ByteString
getCampaignIdBytes() {
java.lang.Object ref = campaignId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
campaignId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string campaign_id = 12;
*/
public Builder setCampaignId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
campaignId_ = value;
onChanged();
return this;
}
/**
* string campaign_id = 12;
*/
public Builder clearCampaignId() {
campaignId_ = getDefaultInstance().getCampaignId();
onChanged();
return this;
}
/**
* string campaign_id = 12;
*/
public Builder setCampaignIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
campaignId_ = 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.Raid.RaidInfo)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Data.Raid.RaidInfo)
private static final POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo();
}
public static POGOProtos.Data.Raid.RaidInfoOuterClass.RaidInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public RaidInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new RaidInfo(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.Raid.RaidInfoOuterClass.RaidInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Data_Raid_RaidInfo_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Data_Raid_RaidInfo_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/Raid/RaidInfo.proto\022\024P" +
"OGOProtos.Data.Raid\032!POGOProtos/Data/Pok" +
"emonData.proto\032 POGOProtos/Enums/RaidLev" +
"el.proto\"\307\002\n\010RaidInfo\022\021\n\traid_seed\030\001 \001(\003" +
"\022\025\n\rraid_spawn_ms\030\002 \001(\003\022\026\n\016raid_battle_m" +
"s\030\003 \001(\003\022\023\n\013raid_end_ms\030\004 \001(\003\0222\n\014raid_pok" +
"emon\030\005 \001(\0132\034.POGOProtos.Data.PokemonData" +
"\022/\n\nraid_level\030\006 \001(\0162\033.POGOProtos.Enums." +
"RaidLevel\022\020\n\010complete\030\007 \001(\010\022\024\n\014is_exclus" +
"ive\030\010 \001(\010\022\026\n\016is_raid_hidden\030\t \001(\010\022\031\n\021is_" +
"scheduled_raid\030\n \001(\010\022\017\n\007is_free\030\013 \001(\010\022\023\n" +
"\013campaign_id\030\014 \001(\tb\006proto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
POGOProtos.Data.PokemonDataOuterClass.getDescriptor(),
POGOProtos.Enums.RaidLevelOuterClass.getDescriptor(),
}, assigner);
internal_static_POGOProtos_Data_Raid_RaidInfo_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_POGOProtos_Data_Raid_RaidInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Data_Raid_RaidInfo_descriptor,
new java.lang.String[] { "RaidSeed", "RaidSpawnMs", "RaidBattleMs", "RaidEndMs", "RaidPokemon", "RaidLevel", "Complete", "IsExclusive", "IsRaidHidden", "IsScheduledRaid", "IsFree", "CampaignId", });
POGOProtos.Data.PokemonDataOuterClass.getDescriptor();
POGOProtos.Enums.RaidLevelOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy