POGOProtos.Data.Raid.ExclusiveRaidCancellationOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: POGOProtos/Data/Raid/ExclusiveRaidCancellation.proto
package POGOProtos.Data.Raid;
public final class ExclusiveRaidCancellationOuterClass {
private ExclusiveRaidCancellationOuterClass() {}
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 ExclusiveRaidCancellationOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Data.Raid.ExclusiveRaidCancellation)
com.google.protobuf.MessageOrBuilder {
/**
* string fort_id = 1;
*/
java.lang.String getFortId();
/**
* string fort_id = 1;
*/
com.google.protobuf.ByteString
getFortIdBytes();
/**
* int64 start_time_ms = 2;
*/
long getStartTimeMs();
/**
* int64 end_time_ms = 3;
*/
long getEndTimeMs();
/**
* string image_url = 4;
*/
java.lang.String getImageUrl();
/**
* string image_url = 4;
*/
com.google.protobuf.ByteString
getImageUrlBytes();
/**
* double latitude = 5;
*/
double getLatitude();
/**
* double longitude = 6;
*/
double getLongitude();
/**
* string gym_name = 7;
*/
java.lang.String getGymName();
/**
* string gym_name = 7;
*/
com.google.protobuf.ByteString
getGymNameBytes();
/**
* repeated .POGOProtos.Inventory.LootItem rewards = 8;
*/
java.util.List
getRewardsList();
/**
* repeated .POGOProtos.Inventory.LootItem rewards = 8;
*/
POGOProtos.Inventory.LootItemOuterClass.LootItem getRewards(int index);
/**
* repeated .POGOProtos.Inventory.LootItem rewards = 8;
*/
int getRewardsCount();
/**
* repeated .POGOProtos.Inventory.LootItem rewards = 8;
*/
java.util.List extends POGOProtos.Inventory.LootItemOuterClass.LootItemOrBuilder>
getRewardsOrBuilderList();
/**
* repeated .POGOProtos.Inventory.LootItem rewards = 8;
*/
POGOProtos.Inventory.LootItemOuterClass.LootItemOrBuilder getRewardsOrBuilder(
int index);
}
/**
* Protobuf type {@code POGOProtos.Data.Raid.ExclusiveRaidCancellation}
*/
public static final class ExclusiveRaidCancellation extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Data.Raid.ExclusiveRaidCancellation)
ExclusiveRaidCancellationOrBuilder {
private static final long serialVersionUID = 0L;
// Use ExclusiveRaidCancellation.newBuilder() to construct.
private ExclusiveRaidCancellation(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ExclusiveRaidCancellation() {
fortId_ = "";
startTimeMs_ = 0L;
endTimeMs_ = 0L;
imageUrl_ = "";
latitude_ = 0D;
longitude_ = 0D;
gymName_ = "";
rewards_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ExclusiveRaidCancellation(
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();
fortId_ = s;
break;
}
case 16: {
startTimeMs_ = input.readInt64();
break;
}
case 24: {
endTimeMs_ = input.readInt64();
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
imageUrl_ = s;
break;
}
case 41: {
latitude_ = input.readDouble();
break;
}
case 49: {
longitude_ = input.readDouble();
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
gymName_ = s;
break;
}
case 66: {
if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
rewards_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000080;
}
rewards_.add(
input.readMessage(POGOProtos.Inventory.LootItemOuterClass.LootItem.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
rewards_ = java.util.Collections.unmodifiableList(rewards_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Raid.ExclusiveRaidCancellationOuterClass.internal_static_POGOProtos_Data_Raid_ExclusiveRaidCancellation_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Raid.ExclusiveRaidCancellationOuterClass.internal_static_POGOProtos_Data_Raid_ExclusiveRaidCancellation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Raid.ExclusiveRaidCancellationOuterClass.ExclusiveRaidCancellation.class, POGOProtos.Data.Raid.ExclusiveRaidCancellationOuterClass.ExclusiveRaidCancellation.Builder.class);
}
private int bitField0_;
public static final int FORT_ID_FIELD_NUMBER = 1;
private volatile java.lang.Object fortId_;
/**
* string fort_id = 1;
*/
public java.lang.String getFortId() {
java.lang.Object ref = fortId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
fortId_ = s;
return s;
}
}
/**
* string fort_id = 1;
*/
public com.google.protobuf.ByteString
getFortIdBytes() {
java.lang.Object ref = fortId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fortId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int START_TIME_MS_FIELD_NUMBER = 2;
private long startTimeMs_;
/**
* int64 start_time_ms = 2;
*/
public long getStartTimeMs() {
return startTimeMs_;
}
public static final int END_TIME_MS_FIELD_NUMBER = 3;
private long endTimeMs_;
/**
* int64 end_time_ms = 3;
*/
public long getEndTimeMs() {
return endTimeMs_;
}
public static final int IMAGE_URL_FIELD_NUMBER = 4;
private volatile java.lang.Object imageUrl_;
/**
* string image_url = 4;
*/
public java.lang.String getImageUrl() {
java.lang.Object ref = imageUrl_;
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();
imageUrl_ = s;
return s;
}
}
/**
* string image_url = 4;
*/
public com.google.protobuf.ByteString
getImageUrlBytes() {
java.lang.Object ref = imageUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
imageUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LATITUDE_FIELD_NUMBER = 5;
private double latitude_;
/**
* double latitude = 5;
*/
public double getLatitude() {
return latitude_;
}
public static final int LONGITUDE_FIELD_NUMBER = 6;
private double longitude_;
/**
* double longitude = 6;
*/
public double getLongitude() {
return longitude_;
}
public static final int GYM_NAME_FIELD_NUMBER = 7;
private volatile java.lang.Object gymName_;
/**
* string gym_name = 7;
*/
public java.lang.String getGymName() {
java.lang.Object ref = gymName_;
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();
gymName_ = s;
return s;
}
}
/**
* string gym_name = 7;
*/
public com.google.protobuf.ByteString
getGymNameBytes() {
java.lang.Object ref = gymName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
gymName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int REWARDS_FIELD_NUMBER = 8;
private java.util.List rewards_;
/**
* repeated .POGOProtos.Inventory.LootItem rewards = 8;
*/
public java.util.List getRewardsList() {
return rewards_;
}
/**
* repeated .POGOProtos.Inventory.LootItem rewards = 8;
*/
public java.util.List extends POGOProtos.Inventory.LootItemOuterClass.LootItemOrBuilder>
getRewardsOrBuilderList() {
return rewards_;
}
/**
* repeated .POGOProtos.Inventory.LootItem rewards = 8;
*/
public int getRewardsCount() {
return rewards_.size();
}
/**
* repeated .POGOProtos.Inventory.LootItem rewards = 8;
*/
public POGOProtos.Inventory.LootItemOuterClass.LootItem getRewards(int index) {
return rewards_.get(index);
}
/**
* repeated .POGOProtos.Inventory.LootItem rewards = 8;
*/
public POGOProtos.Inventory.LootItemOuterClass.LootItemOrBuilder getRewardsOrBuilder(
int index) {
return rewards_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getFortIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fortId_);
}
if (startTimeMs_ != 0L) {
output.writeInt64(2, startTimeMs_);
}
if (endTimeMs_ != 0L) {
output.writeInt64(3, endTimeMs_);
}
if (!getImageUrlBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, imageUrl_);
}
if (latitude_ != 0D) {
output.writeDouble(5, latitude_);
}
if (longitude_ != 0D) {
output.writeDouble(6, longitude_);
}
if (!getGymNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, gymName_);
}
for (int i = 0; i < rewards_.size(); i++) {
output.writeMessage(8, rewards_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getFortIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, fortId_);
}
if (startTimeMs_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, startTimeMs_);
}
if (endTimeMs_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, endTimeMs_);
}
if (!getImageUrlBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, imageUrl_);
}
if (latitude_ != 0D) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(5, latitude_);
}
if (longitude_ != 0D) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(6, longitude_);
}
if (!getGymNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, gymName_);
}
for (int i = 0; i < rewards_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, rewards_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof POGOProtos.Data.Raid.ExclusiveRaidCancellationOuterClass.ExclusiveRaidCancellation)) {
return super.equals(obj);
}
POGOProtos.Data.Raid.ExclusiveRaidCancellationOuterClass.ExclusiveRaidCancellation other = (POGOProtos.Data.Raid.ExclusiveRaidCancellationOuterClass.ExclusiveRaidCancellation) obj;
boolean result = true;
result = result && getFortId()
.equals(other.getFortId());
result = result && (getStartTimeMs()
== other.getStartTimeMs());
result = result && (getEndTimeMs()
== other.getEndTimeMs());
result = result && getImageUrl()
.equals(other.getImageUrl());
result = result && (
java.lang.Double.doubleToLongBits(getLatitude())
== java.lang.Double.doubleToLongBits(
other.getLatitude()));
result = result && (
java.lang.Double.doubleToLongBits(getLongitude())
== java.lang.Double.doubleToLongBits(
other.getLongitude()));
result = result && getGymName()
.equals(other.getGymName());
result = result && getRewardsList()
.equals(other.getRewardsList());
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) + FORT_ID_FIELD_NUMBER;
hash = (53 * hash) + getFortId().hashCode();
hash = (37 * hash) + START_TIME_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getStartTimeMs());
hash = (37 * hash) + END_TIME_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getEndTimeMs());
hash = (37 * hash) + IMAGE_URL_FIELD_NUMBER;
hash = (53 * hash) + getImageUrl().hashCode();
hash = (37 * hash) + LATITUDE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getLatitude()));
hash = (37 * hash) + LONGITUDE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getLongitude()));
hash = (37 * hash) + GYM_NAME_FIELD_NUMBER;
hash = (53 * hash) + getGymName().hashCode();
if (getRewardsCount() > 0) {
hash = (37 * hash) + REWARDS_FIELD_NUMBER;
hash = (53 * hash) + getRewardsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Data.Raid.ExclusiveRaidCancellationOuterClass.ExclusiveRaidCancellation parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Raid.ExclusiveRaidCancellationOuterClass.ExclusiveRaidCancellation 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.ExclusiveRaidCancellationOuterClass.ExclusiveRaidCancellation parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Raid.ExclusiveRaidCancellationOuterClass.ExclusiveRaidCancellation 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.ExclusiveRaidCancellationOuterClass.ExclusiveRaidCancellation parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Raid.ExclusiveRaidCancellationOuterClass.ExclusiveRaidCancellation parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Raid.ExclusiveRaidCancellationOuterClass.ExclusiveRaidCancellation parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Raid.ExclusiveRaidCancellationOuterClass.ExclusiveRaidCancellation 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.ExclusiveRaidCancellationOuterClass.ExclusiveRaidCancellation parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Data.Raid.ExclusiveRaidCancellationOuterClass.ExclusiveRaidCancellation 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.ExclusiveRaidCancellationOuterClass.ExclusiveRaidCancellation parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Raid.ExclusiveRaidCancellationOuterClass.ExclusiveRaidCancellation 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.ExclusiveRaidCancellationOuterClass.ExclusiveRaidCancellation 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.ExclusiveRaidCancellation}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Data.Raid.ExclusiveRaidCancellation)
POGOProtos.Data.Raid.ExclusiveRaidCancellationOuterClass.ExclusiveRaidCancellationOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Raid.ExclusiveRaidCancellationOuterClass.internal_static_POGOProtos_Data_Raid_ExclusiveRaidCancellation_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Raid.ExclusiveRaidCancellationOuterClass.internal_static_POGOProtos_Data_Raid_ExclusiveRaidCancellation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Raid.ExclusiveRaidCancellationOuterClass.ExclusiveRaidCancellation.class, POGOProtos.Data.Raid.ExclusiveRaidCancellationOuterClass.ExclusiveRaidCancellation.Builder.class);
}
// Construct using POGOProtos.Data.Raid.ExclusiveRaidCancellationOuterClass.ExclusiveRaidCancellation.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getRewardsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
fortId_ = "";
startTimeMs_ = 0L;
endTimeMs_ = 0L;
imageUrl_ = "";
latitude_ = 0D;
longitude_ = 0D;
gymName_ = "";
if (rewardsBuilder_ == null) {
rewards_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000080);
} else {
rewardsBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Data.Raid.ExclusiveRaidCancellationOuterClass.internal_static_POGOProtos_Data_Raid_ExclusiveRaidCancellation_descriptor;
}
@java.lang.Override
public POGOProtos.Data.Raid.ExclusiveRaidCancellationOuterClass.ExclusiveRaidCancellation getDefaultInstanceForType() {
return POGOProtos.Data.Raid.ExclusiveRaidCancellationOuterClass.ExclusiveRaidCancellation.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Data.Raid.ExclusiveRaidCancellationOuterClass.ExclusiveRaidCancellation build() {
POGOProtos.Data.Raid.ExclusiveRaidCancellationOuterClass.ExclusiveRaidCancellation result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Data.Raid.ExclusiveRaidCancellationOuterClass.ExclusiveRaidCancellation buildPartial() {
POGOProtos.Data.Raid.ExclusiveRaidCancellationOuterClass.ExclusiveRaidCancellation result = new POGOProtos.Data.Raid.ExclusiveRaidCancellationOuterClass.ExclusiveRaidCancellation(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.fortId_ = fortId_;
result.startTimeMs_ = startTimeMs_;
result.endTimeMs_ = endTimeMs_;
result.imageUrl_ = imageUrl_;
result.latitude_ = latitude_;
result.longitude_ = longitude_;
result.gymName_ = gymName_;
if (rewardsBuilder_ == null) {
if (((bitField0_ & 0x00000080) == 0x00000080)) {
rewards_ = java.util.Collections.unmodifiableList(rewards_);
bitField0_ = (bitField0_ & ~0x00000080);
}
result.rewards_ = rewards_;
} else {
result.rewards_ = rewardsBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof POGOProtos.Data.Raid.ExclusiveRaidCancellationOuterClass.ExclusiveRaidCancellation) {
return mergeFrom((POGOProtos.Data.Raid.ExclusiveRaidCancellationOuterClass.ExclusiveRaidCancellation)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Data.Raid.ExclusiveRaidCancellationOuterClass.ExclusiveRaidCancellation other) {
if (other == POGOProtos.Data.Raid.ExclusiveRaidCancellationOuterClass.ExclusiveRaidCancellation.getDefaultInstance()) return this;
if (!other.getFortId().isEmpty()) {
fortId_ = other.fortId_;
onChanged();
}
if (other.getStartTimeMs() != 0L) {
setStartTimeMs(other.getStartTimeMs());
}
if (other.getEndTimeMs() != 0L) {
setEndTimeMs(other.getEndTimeMs());
}
if (!other.getImageUrl().isEmpty()) {
imageUrl_ = other.imageUrl_;
onChanged();
}
if (other.getLatitude() != 0D) {
setLatitude(other.getLatitude());
}
if (other.getLongitude() != 0D) {
setLongitude(other.getLongitude());
}
if (!other.getGymName().isEmpty()) {
gymName_ = other.gymName_;
onChanged();
}
if (rewardsBuilder_ == null) {
if (!other.rewards_.isEmpty()) {
if (rewards_.isEmpty()) {
rewards_ = other.rewards_;
bitField0_ = (bitField0_ & ~0x00000080);
} else {
ensureRewardsIsMutable();
rewards_.addAll(other.rewards_);
}
onChanged();
}
} else {
if (!other.rewards_.isEmpty()) {
if (rewardsBuilder_.isEmpty()) {
rewardsBuilder_.dispose();
rewardsBuilder_ = null;
rewards_ = other.rewards_;
bitField0_ = (bitField0_ & ~0x00000080);
rewardsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getRewardsFieldBuilder() : null;
} else {
rewardsBuilder_.addAllMessages(other.rewards_);
}
}
}
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.ExclusiveRaidCancellationOuterClass.ExclusiveRaidCancellation parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Data.Raid.ExclusiveRaidCancellationOuterClass.ExclusiveRaidCancellation) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object fortId_ = "";
/**
* string fort_id = 1;
*/
public java.lang.String getFortId() {
java.lang.Object ref = fortId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
fortId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string fort_id = 1;
*/
public com.google.protobuf.ByteString
getFortIdBytes() {
java.lang.Object ref = fortId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fortId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string fort_id = 1;
*/
public Builder setFortId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
fortId_ = value;
onChanged();
return this;
}
/**
* string fort_id = 1;
*/
public Builder clearFortId() {
fortId_ = getDefaultInstance().getFortId();
onChanged();
return this;
}
/**
* string fort_id = 1;
*/
public Builder setFortIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
fortId_ = value;
onChanged();
return this;
}
private long startTimeMs_ ;
/**
* int64 start_time_ms = 2;
*/
public long getStartTimeMs() {
return startTimeMs_;
}
/**
* int64 start_time_ms = 2;
*/
public Builder setStartTimeMs(long value) {
startTimeMs_ = value;
onChanged();
return this;
}
/**
* int64 start_time_ms = 2;
*/
public Builder clearStartTimeMs() {
startTimeMs_ = 0L;
onChanged();
return this;
}
private long endTimeMs_ ;
/**
* int64 end_time_ms = 3;
*/
public long getEndTimeMs() {
return endTimeMs_;
}
/**
* int64 end_time_ms = 3;
*/
public Builder setEndTimeMs(long value) {
endTimeMs_ = value;
onChanged();
return this;
}
/**
* int64 end_time_ms = 3;
*/
public Builder clearEndTimeMs() {
endTimeMs_ = 0L;
onChanged();
return this;
}
private java.lang.Object imageUrl_ = "";
/**
* string image_url = 4;
*/
public java.lang.String getImageUrl() {
java.lang.Object ref = imageUrl_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
imageUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string image_url = 4;
*/
public com.google.protobuf.ByteString
getImageUrlBytes() {
java.lang.Object ref = imageUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
imageUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string image_url = 4;
*/
public Builder setImageUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
imageUrl_ = value;
onChanged();
return this;
}
/**
* string image_url = 4;
*/
public Builder clearImageUrl() {
imageUrl_ = getDefaultInstance().getImageUrl();
onChanged();
return this;
}
/**
* string image_url = 4;
*/
public Builder setImageUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
imageUrl_ = value;
onChanged();
return this;
}
private double latitude_ ;
/**
* double latitude = 5;
*/
public double getLatitude() {
return latitude_;
}
/**
* double latitude = 5;
*/
public Builder setLatitude(double value) {
latitude_ = value;
onChanged();
return this;
}
/**
* double latitude = 5;
*/
public Builder clearLatitude() {
latitude_ = 0D;
onChanged();
return this;
}
private double longitude_ ;
/**
* double longitude = 6;
*/
public double getLongitude() {
return longitude_;
}
/**
* double longitude = 6;
*/
public Builder setLongitude(double value) {
longitude_ = value;
onChanged();
return this;
}
/**
* double longitude = 6;
*/
public Builder clearLongitude() {
longitude_ = 0D;
onChanged();
return this;
}
private java.lang.Object gymName_ = "";
/**
* string gym_name = 7;
*/
public java.lang.String getGymName() {
java.lang.Object ref = gymName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
gymName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string gym_name = 7;
*/
public com.google.protobuf.ByteString
getGymNameBytes() {
java.lang.Object ref = gymName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
gymName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string gym_name = 7;
*/
public Builder setGymName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
gymName_ = value;
onChanged();
return this;
}
/**
* string gym_name = 7;
*/
public Builder clearGymName() {
gymName_ = getDefaultInstance().getGymName();
onChanged();
return this;
}
/**
* string gym_name = 7;
*/
public Builder setGymNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
gymName_ = value;
onChanged();
return this;
}
private java.util.List rewards_ =
java.util.Collections.emptyList();
private void ensureRewardsIsMutable() {
if (!((bitField0_ & 0x00000080) == 0x00000080)) {
rewards_ = new java.util.ArrayList(rewards_);
bitField0_ |= 0x00000080;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Inventory.LootItemOuterClass.LootItem, POGOProtos.Inventory.LootItemOuterClass.LootItem.Builder, POGOProtos.Inventory.LootItemOuterClass.LootItemOrBuilder> rewardsBuilder_;
/**
* repeated .POGOProtos.Inventory.LootItem rewards = 8;
*/
public java.util.List getRewardsList() {
if (rewardsBuilder_ == null) {
return java.util.Collections.unmodifiableList(rewards_);
} else {
return rewardsBuilder_.getMessageList();
}
}
/**
* repeated .POGOProtos.Inventory.LootItem rewards = 8;
*/
public int getRewardsCount() {
if (rewardsBuilder_ == null) {
return rewards_.size();
} else {
return rewardsBuilder_.getCount();
}
}
/**
* repeated .POGOProtos.Inventory.LootItem rewards = 8;
*/
public POGOProtos.Inventory.LootItemOuterClass.LootItem getRewards(int index) {
if (rewardsBuilder_ == null) {
return rewards_.get(index);
} else {
return rewardsBuilder_.getMessage(index);
}
}
/**
* repeated .POGOProtos.Inventory.LootItem rewards = 8;
*/
public Builder setRewards(
int index, POGOProtos.Inventory.LootItemOuterClass.LootItem value) {
if (rewardsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRewardsIsMutable();
rewards_.set(index, value);
onChanged();
} else {
rewardsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .POGOProtos.Inventory.LootItem rewards = 8;
*/
public Builder setRewards(
int index, POGOProtos.Inventory.LootItemOuterClass.LootItem.Builder builderForValue) {
if (rewardsBuilder_ == null) {
ensureRewardsIsMutable();
rewards_.set(index, builderForValue.build());
onChanged();
} else {
rewardsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Inventory.LootItem rewards = 8;
*/
public Builder addRewards(POGOProtos.Inventory.LootItemOuterClass.LootItem value) {
if (rewardsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRewardsIsMutable();
rewards_.add(value);
onChanged();
} else {
rewardsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .POGOProtos.Inventory.LootItem rewards = 8;
*/
public Builder addRewards(
int index, POGOProtos.Inventory.LootItemOuterClass.LootItem value) {
if (rewardsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRewardsIsMutable();
rewards_.add(index, value);
onChanged();
} else {
rewardsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .POGOProtos.Inventory.LootItem rewards = 8;
*/
public Builder addRewards(
POGOProtos.Inventory.LootItemOuterClass.LootItem.Builder builderForValue) {
if (rewardsBuilder_ == null) {
ensureRewardsIsMutable();
rewards_.add(builderForValue.build());
onChanged();
} else {
rewardsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Inventory.LootItem rewards = 8;
*/
public Builder addRewards(
int index, POGOProtos.Inventory.LootItemOuterClass.LootItem.Builder builderForValue) {
if (rewardsBuilder_ == null) {
ensureRewardsIsMutable();
rewards_.add(index, builderForValue.build());
onChanged();
} else {
rewardsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Inventory.LootItem rewards = 8;
*/
public Builder addAllRewards(
java.lang.Iterable extends POGOProtos.Inventory.LootItemOuterClass.LootItem> values) {
if (rewardsBuilder_ == null) {
ensureRewardsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, rewards_);
onChanged();
} else {
rewardsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .POGOProtos.Inventory.LootItem rewards = 8;
*/
public Builder clearRewards() {
if (rewardsBuilder_ == null) {
rewards_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
} else {
rewardsBuilder_.clear();
}
return this;
}
/**
* repeated .POGOProtos.Inventory.LootItem rewards = 8;
*/
public Builder removeRewards(int index) {
if (rewardsBuilder_ == null) {
ensureRewardsIsMutable();
rewards_.remove(index);
onChanged();
} else {
rewardsBuilder_.remove(index);
}
return this;
}
/**
* repeated .POGOProtos.Inventory.LootItem rewards = 8;
*/
public POGOProtos.Inventory.LootItemOuterClass.LootItem.Builder getRewardsBuilder(
int index) {
return getRewardsFieldBuilder().getBuilder(index);
}
/**
* repeated .POGOProtos.Inventory.LootItem rewards = 8;
*/
public POGOProtos.Inventory.LootItemOuterClass.LootItemOrBuilder getRewardsOrBuilder(
int index) {
if (rewardsBuilder_ == null) {
return rewards_.get(index); } else {
return rewardsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .POGOProtos.Inventory.LootItem rewards = 8;
*/
public java.util.List extends POGOProtos.Inventory.LootItemOuterClass.LootItemOrBuilder>
getRewardsOrBuilderList() {
if (rewardsBuilder_ != null) {
return rewardsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(rewards_);
}
}
/**
* repeated .POGOProtos.Inventory.LootItem rewards = 8;
*/
public POGOProtos.Inventory.LootItemOuterClass.LootItem.Builder addRewardsBuilder() {
return getRewardsFieldBuilder().addBuilder(
POGOProtos.Inventory.LootItemOuterClass.LootItem.getDefaultInstance());
}
/**
* repeated .POGOProtos.Inventory.LootItem rewards = 8;
*/
public POGOProtos.Inventory.LootItemOuterClass.LootItem.Builder addRewardsBuilder(
int index) {
return getRewardsFieldBuilder().addBuilder(
index, POGOProtos.Inventory.LootItemOuterClass.LootItem.getDefaultInstance());
}
/**
* repeated .POGOProtos.Inventory.LootItem rewards = 8;
*/
public java.util.List
getRewardsBuilderList() {
return getRewardsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Inventory.LootItemOuterClass.LootItem, POGOProtos.Inventory.LootItemOuterClass.LootItem.Builder, POGOProtos.Inventory.LootItemOuterClass.LootItemOrBuilder>
getRewardsFieldBuilder() {
if (rewardsBuilder_ == null) {
rewardsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Inventory.LootItemOuterClass.LootItem, POGOProtos.Inventory.LootItemOuterClass.LootItem.Builder, POGOProtos.Inventory.LootItemOuterClass.LootItemOrBuilder>(
rewards_,
((bitField0_ & 0x00000080) == 0x00000080),
getParentForChildren(),
isClean());
rewards_ = null;
}
return rewardsBuilder_;
}
@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.ExclusiveRaidCancellation)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Data.Raid.ExclusiveRaidCancellation)
private static final POGOProtos.Data.Raid.ExclusiveRaidCancellationOuterClass.ExclusiveRaidCancellation DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Data.Raid.ExclusiveRaidCancellationOuterClass.ExclusiveRaidCancellation();
}
public static POGOProtos.Data.Raid.ExclusiveRaidCancellationOuterClass.ExclusiveRaidCancellation getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ExclusiveRaidCancellation parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ExclusiveRaidCancellation(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.ExclusiveRaidCancellationOuterClass.ExclusiveRaidCancellation getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Data_Raid_ExclusiveRaidCancellation_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Data_Raid_ExclusiveRaidCancellation_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n4POGOProtos/Data/Raid/ExclusiveRaidCanc" +
"ellation.proto\022\024POGOProtos.Data.Raid\032#PO" +
"GOProtos/Inventory/LootItem.proto\"\323\001\n\031Ex" +
"clusiveRaidCancellation\022\017\n\007fort_id\030\001 \001(\t" +
"\022\025\n\rstart_time_ms\030\002 \001(\003\022\023\n\013end_time_ms\030\003" +
" \001(\003\022\021\n\timage_url\030\004 \001(\t\022\020\n\010latitude\030\005 \001(" +
"\001\022\021\n\tlongitude\030\006 \001(\001\022\020\n\010gym_name\030\007 \001(\t\022/" +
"\n\007rewards\030\010 \003(\0132\036.POGOProtos.Inventory.L" +
"ootItemb\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.Inventory.LootItemOuterClass.getDescriptor(),
}, assigner);
internal_static_POGOProtos_Data_Raid_ExclusiveRaidCancellation_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_POGOProtos_Data_Raid_ExclusiveRaidCancellation_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Data_Raid_ExclusiveRaidCancellation_descriptor,
new java.lang.String[] { "FortId", "StartTimeMs", "EndTimeMs", "ImageUrl", "Latitude", "Longitude", "GymName", "Rewards", });
POGOProtos.Inventory.LootItemOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy