POGOProtos.Data.Quests.QuestStampCardOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: POGOProtos/Data/Quests/QuestStampCard.proto
package POGOProtos.Data.Quests;
public final class QuestStampCardOuterClass {
private QuestStampCardOuterClass() {}
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 QuestStampCardOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Data.Quests.QuestStampCard)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .POGOProtos.Data.Quests.QuestStamp stamp = 1;
*/
java.util.List
getStampList();
/**
* repeated .POGOProtos.Data.Quests.QuestStamp stamp = 1;
*/
POGOProtos.Data.Quests.QuestStampOuterClass.QuestStamp getStamp(int index);
/**
* repeated .POGOProtos.Data.Quests.QuestStamp stamp = 1;
*/
int getStampCount();
/**
* repeated .POGOProtos.Data.Quests.QuestStamp stamp = 1;
*/
java.util.List extends POGOProtos.Data.Quests.QuestStampOuterClass.QuestStampOrBuilder>
getStampOrBuilderList();
/**
* repeated .POGOProtos.Data.Quests.QuestStamp stamp = 1;
*/
POGOProtos.Data.Quests.QuestStampOuterClass.QuestStampOrBuilder getStampOrBuilder(
int index);
/**
* int32 target = 2;
*/
int getTarget();
/**
* int32 remaining_daily_stamps = 3;
*/
int getRemainingDailyStamps();
/**
* string id = 4;
*/
java.lang.String getId();
/**
* string id = 4;
*/
com.google.protobuf.ByteString
getIdBytes();
/**
* string icon_url = 5;
*/
java.lang.String getIconUrl();
/**
* string icon_url = 5;
*/
com.google.protobuf.ByteString
getIconUrlBytes();
}
/**
* Protobuf type {@code POGOProtos.Data.Quests.QuestStampCard}
*/
public static final class QuestStampCard extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Data.Quests.QuestStampCard)
QuestStampCardOrBuilder {
private static final long serialVersionUID = 0L;
// Use QuestStampCard.newBuilder() to construct.
private QuestStampCard(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QuestStampCard() {
stamp_ = java.util.Collections.emptyList();
target_ = 0;
remainingDailyStamps_ = 0;
id_ = "";
iconUrl_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private QuestStampCard(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
stamp_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
stamp_.add(
input.readMessage(POGOProtos.Data.Quests.QuestStampOuterClass.QuestStamp.parser(), extensionRegistry));
break;
}
case 16: {
target_ = input.readInt32();
break;
}
case 24: {
remainingDailyStamps_ = input.readInt32();
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
id_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
iconUrl_ = s;
break;
}
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
stamp_ = java.util.Collections.unmodifiableList(stamp_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Quests.QuestStampCardOuterClass.internal_static_POGOProtos_Data_Quests_QuestStampCard_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.QuestStampCardOuterClass.internal_static_POGOProtos_Data_Quests_QuestStampCard_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard.class, POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard.Builder.class);
}
private int bitField0_;
public static final int STAMP_FIELD_NUMBER = 1;
private java.util.List stamp_;
/**
* repeated .POGOProtos.Data.Quests.QuestStamp stamp = 1;
*/
public java.util.List getStampList() {
return stamp_;
}
/**
* repeated .POGOProtos.Data.Quests.QuestStamp stamp = 1;
*/
public java.util.List extends POGOProtos.Data.Quests.QuestStampOuterClass.QuestStampOrBuilder>
getStampOrBuilderList() {
return stamp_;
}
/**
* repeated .POGOProtos.Data.Quests.QuestStamp stamp = 1;
*/
public int getStampCount() {
return stamp_.size();
}
/**
* repeated .POGOProtos.Data.Quests.QuestStamp stamp = 1;
*/
public POGOProtos.Data.Quests.QuestStampOuterClass.QuestStamp getStamp(int index) {
return stamp_.get(index);
}
/**
* repeated .POGOProtos.Data.Quests.QuestStamp stamp = 1;
*/
public POGOProtos.Data.Quests.QuestStampOuterClass.QuestStampOrBuilder getStampOrBuilder(
int index) {
return stamp_.get(index);
}
public static final int TARGET_FIELD_NUMBER = 2;
private int target_;
/**
* int32 target = 2;
*/
public int getTarget() {
return target_;
}
public static final int REMAINING_DAILY_STAMPS_FIELD_NUMBER = 3;
private int remainingDailyStamps_;
/**
* int32 remaining_daily_stamps = 3;
*/
public int getRemainingDailyStamps() {
return remainingDailyStamps_;
}
public static final int ID_FIELD_NUMBER = 4;
private volatile java.lang.Object id_;
/**
* string id = 4;
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
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();
id_ = s;
return s;
}
}
/**
* string id = 4;
*/
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ICON_URL_FIELD_NUMBER = 5;
private volatile java.lang.Object iconUrl_;
/**
* string icon_url = 5;
*/
public java.lang.String getIconUrl() {
java.lang.Object ref = iconUrl_;
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();
iconUrl_ = s;
return s;
}
}
/**
* string icon_url = 5;
*/
public com.google.protobuf.ByteString
getIconUrlBytes() {
java.lang.Object ref = iconUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
iconUrl_ = 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 {
for (int i = 0; i < stamp_.size(); i++) {
output.writeMessage(1, stamp_.get(i));
}
if (target_ != 0) {
output.writeInt32(2, target_);
}
if (remainingDailyStamps_ != 0) {
output.writeInt32(3, remainingDailyStamps_);
}
if (!getIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, id_);
}
if (!getIconUrlBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, iconUrl_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < stamp_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, stamp_.get(i));
}
if (target_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, target_);
}
if (remainingDailyStamps_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, remainingDailyStamps_);
}
if (!getIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, id_);
}
if (!getIconUrlBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, iconUrl_);
}
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.QuestStampCardOuterClass.QuestStampCard)) {
return super.equals(obj);
}
POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard other = (POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard) obj;
boolean result = true;
result = result && getStampList()
.equals(other.getStampList());
result = result && (getTarget()
== other.getTarget());
result = result && (getRemainingDailyStamps()
== other.getRemainingDailyStamps());
result = result && getId()
.equals(other.getId());
result = result && getIconUrl()
.equals(other.getIconUrl());
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 (getStampCount() > 0) {
hash = (37 * hash) + STAMP_FIELD_NUMBER;
hash = (53 * hash) + getStampList().hashCode();
}
hash = (37 * hash) + TARGET_FIELD_NUMBER;
hash = (53 * hash) + getTarget();
hash = (37 * hash) + REMAINING_DAILY_STAMPS_FIELD_NUMBER;
hash = (53 * hash) + getRemainingDailyStamps();
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + getId().hashCode();
hash = (37 * hash) + ICON_URL_FIELD_NUMBER;
hash = (53 * hash) + getIconUrl().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard 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.QuestStampCardOuterClass.QuestStampCard parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard 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.QuestStampCardOuterClass.QuestStampCard parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard 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.QuestStampCardOuterClass.QuestStampCard parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard 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.QuestStampCardOuterClass.QuestStampCard parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard 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.QuestStampCardOuterClass.QuestStampCard 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.QuestStampCard}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Data.Quests.QuestStampCard)
POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCardOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Quests.QuestStampCardOuterClass.internal_static_POGOProtos_Data_Quests_QuestStampCard_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.QuestStampCardOuterClass.internal_static_POGOProtos_Data_Quests_QuestStampCard_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard.class, POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard.Builder.class);
}
// Construct using POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStampFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (stampBuilder_ == null) {
stamp_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
stampBuilder_.clear();
}
target_ = 0;
remainingDailyStamps_ = 0;
id_ = "";
iconUrl_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Data.Quests.QuestStampCardOuterClass.internal_static_POGOProtos_Data_Quests_QuestStampCard_descriptor;
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard getDefaultInstanceForType() {
return POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard build() {
POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard buildPartial() {
POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard result = new POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (stampBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
stamp_ = java.util.Collections.unmodifiableList(stamp_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.stamp_ = stamp_;
} else {
result.stamp_ = stampBuilder_.build();
}
result.target_ = target_;
result.remainingDailyStamps_ = remainingDailyStamps_;
result.id_ = id_;
result.iconUrl_ = iconUrl_;
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.QuestStampCardOuterClass.QuestStampCard) {
return mergeFrom((POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard other) {
if (other == POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard.getDefaultInstance()) return this;
if (stampBuilder_ == null) {
if (!other.stamp_.isEmpty()) {
if (stamp_.isEmpty()) {
stamp_ = other.stamp_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureStampIsMutable();
stamp_.addAll(other.stamp_);
}
onChanged();
}
} else {
if (!other.stamp_.isEmpty()) {
if (stampBuilder_.isEmpty()) {
stampBuilder_.dispose();
stampBuilder_ = null;
stamp_ = other.stamp_;
bitField0_ = (bitField0_ & ~0x00000001);
stampBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getStampFieldBuilder() : null;
} else {
stampBuilder_.addAllMessages(other.stamp_);
}
}
}
if (other.getTarget() != 0) {
setTarget(other.getTarget());
}
if (other.getRemainingDailyStamps() != 0) {
setRemainingDailyStamps(other.getRemainingDailyStamps());
}
if (!other.getId().isEmpty()) {
id_ = other.id_;
onChanged();
}
if (!other.getIconUrl().isEmpty()) {
iconUrl_ = other.iconUrl_;
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.QuestStampCardOuterClass.QuestStampCard parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List stamp_ =
java.util.Collections.emptyList();
private void ensureStampIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
stamp_ = new java.util.ArrayList(stamp_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Data.Quests.QuestStampOuterClass.QuestStamp, POGOProtos.Data.Quests.QuestStampOuterClass.QuestStamp.Builder, POGOProtos.Data.Quests.QuestStampOuterClass.QuestStampOrBuilder> stampBuilder_;
/**
* repeated .POGOProtos.Data.Quests.QuestStamp stamp = 1;
*/
public java.util.List getStampList() {
if (stampBuilder_ == null) {
return java.util.Collections.unmodifiableList(stamp_);
} else {
return stampBuilder_.getMessageList();
}
}
/**
* repeated .POGOProtos.Data.Quests.QuestStamp stamp = 1;
*/
public int getStampCount() {
if (stampBuilder_ == null) {
return stamp_.size();
} else {
return stampBuilder_.getCount();
}
}
/**
* repeated .POGOProtos.Data.Quests.QuestStamp stamp = 1;
*/
public POGOProtos.Data.Quests.QuestStampOuterClass.QuestStamp getStamp(int index) {
if (stampBuilder_ == null) {
return stamp_.get(index);
} else {
return stampBuilder_.getMessage(index);
}
}
/**
* repeated .POGOProtos.Data.Quests.QuestStamp stamp = 1;
*/
public Builder setStamp(
int index, POGOProtos.Data.Quests.QuestStampOuterClass.QuestStamp value) {
if (stampBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStampIsMutable();
stamp_.set(index, value);
onChanged();
} else {
stampBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .POGOProtos.Data.Quests.QuestStamp stamp = 1;
*/
public Builder setStamp(
int index, POGOProtos.Data.Quests.QuestStampOuterClass.QuestStamp.Builder builderForValue) {
if (stampBuilder_ == null) {
ensureStampIsMutable();
stamp_.set(index, builderForValue.build());
onChanged();
} else {
stampBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Data.Quests.QuestStamp stamp = 1;
*/
public Builder addStamp(POGOProtos.Data.Quests.QuestStampOuterClass.QuestStamp value) {
if (stampBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStampIsMutable();
stamp_.add(value);
onChanged();
} else {
stampBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .POGOProtos.Data.Quests.QuestStamp stamp = 1;
*/
public Builder addStamp(
int index, POGOProtos.Data.Quests.QuestStampOuterClass.QuestStamp value) {
if (stampBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStampIsMutable();
stamp_.add(index, value);
onChanged();
} else {
stampBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .POGOProtos.Data.Quests.QuestStamp stamp = 1;
*/
public Builder addStamp(
POGOProtos.Data.Quests.QuestStampOuterClass.QuestStamp.Builder builderForValue) {
if (stampBuilder_ == null) {
ensureStampIsMutable();
stamp_.add(builderForValue.build());
onChanged();
} else {
stampBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Data.Quests.QuestStamp stamp = 1;
*/
public Builder addStamp(
int index, POGOProtos.Data.Quests.QuestStampOuterClass.QuestStamp.Builder builderForValue) {
if (stampBuilder_ == null) {
ensureStampIsMutable();
stamp_.add(index, builderForValue.build());
onChanged();
} else {
stampBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Data.Quests.QuestStamp stamp = 1;
*/
public Builder addAllStamp(
java.lang.Iterable extends POGOProtos.Data.Quests.QuestStampOuterClass.QuestStamp> values) {
if (stampBuilder_ == null) {
ensureStampIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, stamp_);
onChanged();
} else {
stampBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .POGOProtos.Data.Quests.QuestStamp stamp = 1;
*/
public Builder clearStamp() {
if (stampBuilder_ == null) {
stamp_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
stampBuilder_.clear();
}
return this;
}
/**
* repeated .POGOProtos.Data.Quests.QuestStamp stamp = 1;
*/
public Builder removeStamp(int index) {
if (stampBuilder_ == null) {
ensureStampIsMutable();
stamp_.remove(index);
onChanged();
} else {
stampBuilder_.remove(index);
}
return this;
}
/**
* repeated .POGOProtos.Data.Quests.QuestStamp stamp = 1;
*/
public POGOProtos.Data.Quests.QuestStampOuterClass.QuestStamp.Builder getStampBuilder(
int index) {
return getStampFieldBuilder().getBuilder(index);
}
/**
* repeated .POGOProtos.Data.Quests.QuestStamp stamp = 1;
*/
public POGOProtos.Data.Quests.QuestStampOuterClass.QuestStampOrBuilder getStampOrBuilder(
int index) {
if (stampBuilder_ == null) {
return stamp_.get(index); } else {
return stampBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .POGOProtos.Data.Quests.QuestStamp stamp = 1;
*/
public java.util.List extends POGOProtos.Data.Quests.QuestStampOuterClass.QuestStampOrBuilder>
getStampOrBuilderList() {
if (stampBuilder_ != null) {
return stampBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(stamp_);
}
}
/**
* repeated .POGOProtos.Data.Quests.QuestStamp stamp = 1;
*/
public POGOProtos.Data.Quests.QuestStampOuterClass.QuestStamp.Builder addStampBuilder() {
return getStampFieldBuilder().addBuilder(
POGOProtos.Data.Quests.QuestStampOuterClass.QuestStamp.getDefaultInstance());
}
/**
* repeated .POGOProtos.Data.Quests.QuestStamp stamp = 1;
*/
public POGOProtos.Data.Quests.QuestStampOuterClass.QuestStamp.Builder addStampBuilder(
int index) {
return getStampFieldBuilder().addBuilder(
index, POGOProtos.Data.Quests.QuestStampOuterClass.QuestStamp.getDefaultInstance());
}
/**
* repeated .POGOProtos.Data.Quests.QuestStamp stamp = 1;
*/
public java.util.List
getStampBuilderList() {
return getStampFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Data.Quests.QuestStampOuterClass.QuestStamp, POGOProtos.Data.Quests.QuestStampOuterClass.QuestStamp.Builder, POGOProtos.Data.Quests.QuestStampOuterClass.QuestStampOrBuilder>
getStampFieldBuilder() {
if (stampBuilder_ == null) {
stampBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Data.Quests.QuestStampOuterClass.QuestStamp, POGOProtos.Data.Quests.QuestStampOuterClass.QuestStamp.Builder, POGOProtos.Data.Quests.QuestStampOuterClass.QuestStampOrBuilder>(
stamp_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
stamp_ = null;
}
return stampBuilder_;
}
private int target_ ;
/**
* int32 target = 2;
*/
public int getTarget() {
return target_;
}
/**
* int32 target = 2;
*/
public Builder setTarget(int value) {
target_ = value;
onChanged();
return this;
}
/**
* int32 target = 2;
*/
public Builder clearTarget() {
target_ = 0;
onChanged();
return this;
}
private int remainingDailyStamps_ ;
/**
* int32 remaining_daily_stamps = 3;
*/
public int getRemainingDailyStamps() {
return remainingDailyStamps_;
}
/**
* int32 remaining_daily_stamps = 3;
*/
public Builder setRemainingDailyStamps(int value) {
remainingDailyStamps_ = value;
onChanged();
return this;
}
/**
* int32 remaining_daily_stamps = 3;
*/
public Builder clearRemainingDailyStamps() {
remainingDailyStamps_ = 0;
onChanged();
return this;
}
private java.lang.Object id_ = "";
/**
* string id = 4;
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
id_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string id = 4;
*/
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string id = 4;
*/
public Builder setId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
id_ = value;
onChanged();
return this;
}
/**
* string id = 4;
*/
public Builder clearId() {
id_ = getDefaultInstance().getId();
onChanged();
return this;
}
/**
* string id = 4;
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
id_ = value;
onChanged();
return this;
}
private java.lang.Object iconUrl_ = "";
/**
* string icon_url = 5;
*/
public java.lang.String getIconUrl() {
java.lang.Object ref = iconUrl_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
iconUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string icon_url = 5;
*/
public com.google.protobuf.ByteString
getIconUrlBytes() {
java.lang.Object ref = iconUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
iconUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string icon_url = 5;
*/
public Builder setIconUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
iconUrl_ = value;
onChanged();
return this;
}
/**
* string icon_url = 5;
*/
public Builder clearIconUrl() {
iconUrl_ = getDefaultInstance().getIconUrl();
onChanged();
return this;
}
/**
* string icon_url = 5;
*/
public Builder setIconUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
iconUrl_ = 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.QuestStampCard)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Data.Quests.QuestStampCard)
private static final POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard();
}
public static POGOProtos.Data.Quests.QuestStampCardOuterClass.QuestStampCard getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public QuestStampCard parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new QuestStampCard(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.QuestStampCardOuterClass.QuestStampCard getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Data_Quests_QuestStampCard_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Data_Quests_QuestStampCard_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/QuestStampCard." +
"proto\022\026POGOProtos.Data.Quests\032\'POGOProto" +
"s/Data/Quests/QuestStamp.proto\"\221\001\n\016Quest" +
"StampCard\0221\n\005stamp\030\001 \003(\0132\".POGOProtos.Da" +
"ta.Quests.QuestStamp\022\016\n\006target\030\002 \001(\005\022\036\n\026" +
"remaining_daily_stamps\030\003 \001(\005\022\n\n\002id\030\004 \001(\t" +
"\022\020\n\010icon_url\030\005 \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.Quests.QuestStampOuterClass.getDescriptor(),
}, assigner);
internal_static_POGOProtos_Data_Quests_QuestStampCard_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_POGOProtos_Data_Quests_QuestStampCard_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Data_Quests_QuestStampCard_descriptor,
new java.lang.String[] { "Stamp", "Target", "RemainingDailyStamps", "Id", "IconUrl", });
POGOProtos.Data.Quests.QuestStampOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy