Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
POGOProtos.Data.Inbox.ClientInboxOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: POGOProtos/Data/Inbox/ClientInbox.proto
package POGOProtos.Data.Inbox;
public final class ClientInboxOuterClass {
private ClientInboxOuterClass() {}
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 ClientInboxOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Data.Inbox.ClientInbox)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification notifications = 1;
*/
java.util.List
getNotificationsList();
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification notifications = 1;
*/
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification getNotifications(int index);
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification notifications = 1;
*/
int getNotificationsCount();
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification notifications = 1;
*/
java.util.List extends POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.NotificationOrBuilder>
getNotificationsOrBuilderList();
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification notifications = 1;
*/
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.NotificationOrBuilder getNotificationsOrBuilder(
int index);
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable builtin_variables = 2;
*/
java.util.List
getBuiltinVariablesList();
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable builtin_variables = 2;
*/
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable getBuiltinVariables(int index);
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable builtin_variables = 2;
*/
int getBuiltinVariablesCount();
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable builtin_variables = 2;
*/
java.util.List extends POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariableOrBuilder>
getBuiltinVariablesOrBuilderList();
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable builtin_variables = 2;
*/
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariableOrBuilder getBuiltinVariablesOrBuilder(
int index);
}
/**
* Protobuf type {@code POGOProtos.Data.Inbox.ClientInbox}
*/
public static final class ClientInbox extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Data.Inbox.ClientInbox)
ClientInboxOrBuilder {
private static final long serialVersionUID = 0L;
// Use ClientInbox.newBuilder() to construct.
private ClientInbox(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ClientInbox() {
notifications_ = java.util.Collections.emptyList();
builtinVariables_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ClientInbox(
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)) {
notifications_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
notifications_.add(
input.readMessage(POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification.parser(), extensionRegistry));
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
builtinVariables_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
builtinVariables_.add(
input.readMessage(POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
notifications_ = java.util.Collections.unmodifiableList(notifications_);
}
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
builtinVariables_ = java.util.Collections.unmodifiableList(builtinVariables_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Inbox.ClientInboxOuterClass.internal_static_POGOProtos_Data_Inbox_ClientInbox_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Inbox.ClientInboxOuterClass.internal_static_POGOProtos_Data_Inbox_ClientInbox_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.class, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Builder.class);
}
public interface NotificationOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Data.Inbox.ClientInbox.Notification)
com.google.protobuf.MessageOrBuilder {
/**
* string notification_id = 1;
*/
java.lang.String getNotificationId();
/**
* string notification_id = 1;
*/
com.google.protobuf.ByteString
getNotificationIdBytes();
/**
* string title_key = 2;
*/
java.lang.String getTitleKey();
/**
* string title_key = 2;
*/
com.google.protobuf.ByteString
getTitleKeyBytes();
/**
* string category = 3;
*/
java.lang.String getCategory();
/**
* string category = 3;
*/
com.google.protobuf.ByteString
getCategoryBytes();
/**
* int64 create_timestamp_ms = 4;
*/
long getCreateTimestampMs();
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable variables = 5;
*/
java.util.List
getVariablesList();
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable variables = 5;
*/
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable getVariables(int index);
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable variables = 5;
*/
int getVariablesCount();
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable variables = 5;
*/
java.util.List extends POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariableOrBuilder>
getVariablesOrBuilderList();
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable variables = 5;
*/
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariableOrBuilder getVariablesOrBuilder(
int index);
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification.Label labels = 6;
*/
java.util.List getLabelsList();
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification.Label labels = 6;
*/
int getLabelsCount();
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification.Label labels = 6;
*/
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification.Label getLabels(int index);
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification.Label labels = 6;
*/
java.util.List
getLabelsValueList();
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification.Label labels = 6;
*/
int getLabelsValue(int index);
/**
* int64 expire_time_ms = 7;
*/
long getExpireTimeMs();
}
/**
* Protobuf type {@code POGOProtos.Data.Inbox.ClientInbox.Notification}
*/
public static final class Notification extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Data.Inbox.ClientInbox.Notification)
NotificationOrBuilder {
private static final long serialVersionUID = 0L;
// Use Notification.newBuilder() to construct.
private Notification(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Notification() {
notificationId_ = "";
titleKey_ = "";
category_ = "";
createTimestampMs_ = 0L;
variables_ = java.util.Collections.emptyList();
labels_ = java.util.Collections.emptyList();
expireTimeMs_ = 0L;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Notification(
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();
notificationId_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
titleKey_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
category_ = s;
break;
}
case 32: {
createTimestampMs_ = input.readInt64();
break;
}
case 42: {
if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
variables_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000010;
}
variables_.add(
input.readMessage(POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable.parser(), extensionRegistry));
break;
}
case 48: {
int rawValue = input.readEnum();
if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
labels_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000020;
}
labels_.add(rawValue);
break;
}
case 50: {
int length = input.readRawVarint32();
int oldLimit = input.pushLimit(length);
while(input.getBytesUntilLimit() > 0) {
int rawValue = input.readEnum();
if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
labels_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000020;
}
labels_.add(rawValue);
}
input.popLimit(oldLimit);
break;
}
case 56: {
expireTimeMs_ = input.readInt64();
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_ & 0x00000010) == 0x00000010)) {
variables_ = java.util.Collections.unmodifiableList(variables_);
}
if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
labels_ = java.util.Collections.unmodifiableList(labels_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Inbox.ClientInboxOuterClass.internal_static_POGOProtos_Data_Inbox_ClientInbox_Notification_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Inbox.ClientInboxOuterClass.internal_static_POGOProtos_Data_Inbox_ClientInbox_Notification_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification.class, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification.Builder.class);
}
/**
* Protobuf enum {@code POGOProtos.Data.Inbox.ClientInbox.Notification.Label}
*/
public enum Label
implements com.google.protobuf.ProtocolMessageEnum {
/**
* UNSET_LABEL = 0;
*/
UNSET_LABEL(0),
/**
* UNREAD = 1;
*/
UNREAD(1),
/**
* NEW = 2;
*/
NEW(2),
/**
* IMMEDIATE = 3;
*/
IMMEDIATE(3),
UNRECOGNIZED(-1),
;
/**
* UNSET_LABEL = 0;
*/
public static final int UNSET_LABEL_VALUE = 0;
/**
* UNREAD = 1;
*/
public static final int UNREAD_VALUE = 1;
/**
* NEW = 2;
*/
public static final int NEW_VALUE = 2;
/**
* IMMEDIATE = 3;
*/
public static final int IMMEDIATE_VALUE = 3;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static Label valueOf(int value) {
return forNumber(value);
}
public static Label forNumber(int value) {
switch (value) {
case 0: return UNSET_LABEL;
case 1: return UNREAD;
case 2: return NEW;
case 3: return IMMEDIATE;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Label> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Label findValueByNumber(int number) {
return Label.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification.getDescriptor().getEnumTypes().get(0);
}
private static final Label[] VALUES = values();
public static Label valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private Label(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:POGOProtos.Data.Inbox.ClientInbox.Notification.Label)
}
private int bitField0_;
public static final int NOTIFICATION_ID_FIELD_NUMBER = 1;
private volatile java.lang.Object notificationId_;
/**
* string notification_id = 1;
*/
public java.lang.String getNotificationId() {
java.lang.Object ref = notificationId_;
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();
notificationId_ = s;
return s;
}
}
/**
* string notification_id = 1;
*/
public com.google.protobuf.ByteString
getNotificationIdBytes() {
java.lang.Object ref = notificationId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
notificationId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TITLE_KEY_FIELD_NUMBER = 2;
private volatile java.lang.Object titleKey_;
/**
* string title_key = 2;
*/
public java.lang.String getTitleKey() {
java.lang.Object ref = titleKey_;
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();
titleKey_ = s;
return s;
}
}
/**
* string title_key = 2;
*/
public com.google.protobuf.ByteString
getTitleKeyBytes() {
java.lang.Object ref = titleKey_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
titleKey_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CATEGORY_FIELD_NUMBER = 3;
private volatile java.lang.Object category_;
/**
* string category = 3;
*/
public java.lang.String getCategory() {
java.lang.Object ref = category_;
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();
category_ = s;
return s;
}
}
/**
* string category = 3;
*/
public com.google.protobuf.ByteString
getCategoryBytes() {
java.lang.Object ref = category_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
category_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CREATE_TIMESTAMP_MS_FIELD_NUMBER = 4;
private long createTimestampMs_;
/**
* int64 create_timestamp_ms = 4;
*/
public long getCreateTimestampMs() {
return createTimestampMs_;
}
public static final int VARIABLES_FIELD_NUMBER = 5;
private java.util.List variables_;
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable variables = 5;
*/
public java.util.List getVariablesList() {
return variables_;
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable variables = 5;
*/
public java.util.List extends POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariableOrBuilder>
getVariablesOrBuilderList() {
return variables_;
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable variables = 5;
*/
public int getVariablesCount() {
return variables_.size();
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable variables = 5;
*/
public POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable getVariables(int index) {
return variables_.get(index);
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable variables = 5;
*/
public POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariableOrBuilder getVariablesOrBuilder(
int index) {
return variables_.get(index);
}
public static final int LABELS_FIELD_NUMBER = 6;
private java.util.List labels_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification.Label> labels_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification.Label>() {
public POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification.Label convert(java.lang.Integer from) {
@SuppressWarnings("deprecation")
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification.Label result = POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification.Label.valueOf(from);
return result == null ? POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification.Label.UNRECOGNIZED : result;
}
};
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification.Label labels = 6;
*/
public java.util.List getLabelsList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification.Label>(labels_, labels_converter_);
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification.Label labels = 6;
*/
public int getLabelsCount() {
return labels_.size();
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification.Label labels = 6;
*/
public POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification.Label getLabels(int index) {
return labels_converter_.convert(labels_.get(index));
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification.Label labels = 6;
*/
public java.util.List
getLabelsValueList() {
return labels_;
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification.Label labels = 6;
*/
public int getLabelsValue(int index) {
return labels_.get(index);
}
private int labelsMemoizedSerializedSize;
public static final int EXPIRE_TIME_MS_FIELD_NUMBER = 7;
private long expireTimeMs_;
/**
* int64 expire_time_ms = 7;
*/
public long getExpireTimeMs() {
return expireTimeMs_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (!getNotificationIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, notificationId_);
}
if (!getTitleKeyBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, titleKey_);
}
if (!getCategoryBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, category_);
}
if (createTimestampMs_ != 0L) {
output.writeInt64(4, createTimestampMs_);
}
for (int i = 0; i < variables_.size(); i++) {
output.writeMessage(5, variables_.get(i));
}
if (getLabelsList().size() > 0) {
output.writeUInt32NoTag(50);
output.writeUInt32NoTag(labelsMemoizedSerializedSize);
}
for (int i = 0; i < labels_.size(); i++) {
output.writeEnumNoTag(labels_.get(i));
}
if (expireTimeMs_ != 0L) {
output.writeInt64(7, expireTimeMs_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getNotificationIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, notificationId_);
}
if (!getTitleKeyBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, titleKey_);
}
if (!getCategoryBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, category_);
}
if (createTimestampMs_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, createTimestampMs_);
}
for (int i = 0; i < variables_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, variables_.get(i));
}
{
int dataSize = 0;
for (int i = 0; i < labels_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeEnumSizeNoTag(labels_.get(i));
}
size += dataSize;
if (!getLabelsList().isEmpty()) { size += 1;
size += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(dataSize);
}labelsMemoizedSerializedSize = dataSize;
}
if (expireTimeMs_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(7, expireTimeMs_);
}
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.Inbox.ClientInboxOuterClass.ClientInbox.Notification)) {
return super.equals(obj);
}
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification other = (POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification) obj;
boolean result = true;
result = result && getNotificationId()
.equals(other.getNotificationId());
result = result && getTitleKey()
.equals(other.getTitleKey());
result = result && getCategory()
.equals(other.getCategory());
result = result && (getCreateTimestampMs()
== other.getCreateTimestampMs());
result = result && getVariablesList()
.equals(other.getVariablesList());
result = result && labels_.equals(other.labels_);
result = result && (getExpireTimeMs()
== other.getExpireTimeMs());
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) + NOTIFICATION_ID_FIELD_NUMBER;
hash = (53 * hash) + getNotificationId().hashCode();
hash = (37 * hash) + TITLE_KEY_FIELD_NUMBER;
hash = (53 * hash) + getTitleKey().hashCode();
hash = (37 * hash) + CATEGORY_FIELD_NUMBER;
hash = (53 * hash) + getCategory().hashCode();
hash = (37 * hash) + CREATE_TIMESTAMP_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCreateTimestampMs());
if (getVariablesCount() > 0) {
hash = (37 * hash) + VARIABLES_FIELD_NUMBER;
hash = (53 * hash) + getVariablesList().hashCode();
}
if (getLabelsCount() > 0) {
hash = (37 * hash) + LABELS_FIELD_NUMBER;
hash = (53 * hash) + labels_.hashCode();
}
hash = (37 * hash) + EXPIRE_TIME_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getExpireTimeMs());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification 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.Inbox.ClientInboxOuterClass.ClientInbox.Notification parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification 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.Inbox.ClientInboxOuterClass.ClientInbox.Notification parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification 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.Inbox.ClientInboxOuterClass.ClientInbox.Notification parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification 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.Inbox.ClientInboxOuterClass.ClientInbox.Notification 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.Inbox.ClientInbox.Notification}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Data.Inbox.ClientInbox.Notification)
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.NotificationOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Inbox.ClientInboxOuterClass.internal_static_POGOProtos_Data_Inbox_ClientInbox_Notification_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Inbox.ClientInboxOuterClass.internal_static_POGOProtos_Data_Inbox_ClientInbox_Notification_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification.class, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification.Builder.class);
}
// Construct using POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getVariablesFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
notificationId_ = "";
titleKey_ = "";
category_ = "";
createTimestampMs_ = 0L;
if (variablesBuilder_ == null) {
variables_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
} else {
variablesBuilder_.clear();
}
labels_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
expireTimeMs_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Data.Inbox.ClientInboxOuterClass.internal_static_POGOProtos_Data_Inbox_ClientInbox_Notification_descriptor;
}
@java.lang.Override
public POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification getDefaultInstanceForType() {
return POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification build() {
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification buildPartial() {
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification result = new POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.notificationId_ = notificationId_;
result.titleKey_ = titleKey_;
result.category_ = category_;
result.createTimestampMs_ = createTimestampMs_;
if (variablesBuilder_ == null) {
if (((bitField0_ & 0x00000010) == 0x00000010)) {
variables_ = java.util.Collections.unmodifiableList(variables_);
bitField0_ = (bitField0_ & ~0x00000010);
}
result.variables_ = variables_;
} else {
result.variables_ = variablesBuilder_.build();
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
labels_ = java.util.Collections.unmodifiableList(labels_);
bitField0_ = (bitField0_ & ~0x00000020);
}
result.labels_ = labels_;
result.expireTimeMs_ = expireTimeMs_;
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.Inbox.ClientInboxOuterClass.ClientInbox.Notification) {
return mergeFrom((POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification other) {
if (other == POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification.getDefaultInstance()) return this;
if (!other.getNotificationId().isEmpty()) {
notificationId_ = other.notificationId_;
onChanged();
}
if (!other.getTitleKey().isEmpty()) {
titleKey_ = other.titleKey_;
onChanged();
}
if (!other.getCategory().isEmpty()) {
category_ = other.category_;
onChanged();
}
if (other.getCreateTimestampMs() != 0L) {
setCreateTimestampMs(other.getCreateTimestampMs());
}
if (variablesBuilder_ == null) {
if (!other.variables_.isEmpty()) {
if (variables_.isEmpty()) {
variables_ = other.variables_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureVariablesIsMutable();
variables_.addAll(other.variables_);
}
onChanged();
}
} else {
if (!other.variables_.isEmpty()) {
if (variablesBuilder_.isEmpty()) {
variablesBuilder_.dispose();
variablesBuilder_ = null;
variables_ = other.variables_;
bitField0_ = (bitField0_ & ~0x00000010);
variablesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getVariablesFieldBuilder() : null;
} else {
variablesBuilder_.addAllMessages(other.variables_);
}
}
}
if (!other.labels_.isEmpty()) {
if (labels_.isEmpty()) {
labels_ = other.labels_;
bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensureLabelsIsMutable();
labels_.addAll(other.labels_);
}
onChanged();
}
if (other.getExpireTimeMs() != 0L) {
setExpireTimeMs(other.getExpireTimeMs());
}
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.Inbox.ClientInboxOuterClass.ClientInbox.Notification parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object notificationId_ = "";
/**
* string notification_id = 1;
*/
public java.lang.String getNotificationId() {
java.lang.Object ref = notificationId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
notificationId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string notification_id = 1;
*/
public com.google.protobuf.ByteString
getNotificationIdBytes() {
java.lang.Object ref = notificationId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
notificationId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string notification_id = 1;
*/
public Builder setNotificationId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
notificationId_ = value;
onChanged();
return this;
}
/**
* string notification_id = 1;
*/
public Builder clearNotificationId() {
notificationId_ = getDefaultInstance().getNotificationId();
onChanged();
return this;
}
/**
* string notification_id = 1;
*/
public Builder setNotificationIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
notificationId_ = value;
onChanged();
return this;
}
private java.lang.Object titleKey_ = "";
/**
* string title_key = 2;
*/
public java.lang.String getTitleKey() {
java.lang.Object ref = titleKey_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
titleKey_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string title_key = 2;
*/
public com.google.protobuf.ByteString
getTitleKeyBytes() {
java.lang.Object ref = titleKey_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
titleKey_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string title_key = 2;
*/
public Builder setTitleKey(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
titleKey_ = value;
onChanged();
return this;
}
/**
* string title_key = 2;
*/
public Builder clearTitleKey() {
titleKey_ = getDefaultInstance().getTitleKey();
onChanged();
return this;
}
/**
* string title_key = 2;
*/
public Builder setTitleKeyBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
titleKey_ = value;
onChanged();
return this;
}
private java.lang.Object category_ = "";
/**
* string category = 3;
*/
public java.lang.String getCategory() {
java.lang.Object ref = category_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
category_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string category = 3;
*/
public com.google.protobuf.ByteString
getCategoryBytes() {
java.lang.Object ref = category_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
category_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string category = 3;
*/
public Builder setCategory(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
category_ = value;
onChanged();
return this;
}
/**
* string category = 3;
*/
public Builder clearCategory() {
category_ = getDefaultInstance().getCategory();
onChanged();
return this;
}
/**
* string category = 3;
*/
public Builder setCategoryBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
category_ = value;
onChanged();
return this;
}
private long createTimestampMs_ ;
/**
* int64 create_timestamp_ms = 4;
*/
public long getCreateTimestampMs() {
return createTimestampMs_;
}
/**
* int64 create_timestamp_ms = 4;
*/
public Builder setCreateTimestampMs(long value) {
createTimestampMs_ = value;
onChanged();
return this;
}
/**
* int64 create_timestamp_ms = 4;
*/
public Builder clearCreateTimestampMs() {
createTimestampMs_ = 0L;
onChanged();
return this;
}
private java.util.List variables_ =
java.util.Collections.emptyList();
private void ensureVariablesIsMutable() {
if (!((bitField0_ & 0x00000010) == 0x00000010)) {
variables_ = new java.util.ArrayList(variables_);
bitField0_ |= 0x00000010;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable.Builder, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariableOrBuilder> variablesBuilder_;
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable variables = 5;
*/
public java.util.List getVariablesList() {
if (variablesBuilder_ == null) {
return java.util.Collections.unmodifiableList(variables_);
} else {
return variablesBuilder_.getMessageList();
}
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable variables = 5;
*/
public int getVariablesCount() {
if (variablesBuilder_ == null) {
return variables_.size();
} else {
return variablesBuilder_.getCount();
}
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable variables = 5;
*/
public POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable getVariables(int index) {
if (variablesBuilder_ == null) {
return variables_.get(index);
} else {
return variablesBuilder_.getMessage(index);
}
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable variables = 5;
*/
public Builder setVariables(
int index, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable value) {
if (variablesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureVariablesIsMutable();
variables_.set(index, value);
onChanged();
} else {
variablesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable variables = 5;
*/
public Builder setVariables(
int index, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable.Builder builderForValue) {
if (variablesBuilder_ == null) {
ensureVariablesIsMutable();
variables_.set(index, builderForValue.build());
onChanged();
} else {
variablesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable variables = 5;
*/
public Builder addVariables(POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable value) {
if (variablesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureVariablesIsMutable();
variables_.add(value);
onChanged();
} else {
variablesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable variables = 5;
*/
public Builder addVariables(
int index, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable value) {
if (variablesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureVariablesIsMutable();
variables_.add(index, value);
onChanged();
} else {
variablesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable variables = 5;
*/
public Builder addVariables(
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable.Builder builderForValue) {
if (variablesBuilder_ == null) {
ensureVariablesIsMutable();
variables_.add(builderForValue.build());
onChanged();
} else {
variablesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable variables = 5;
*/
public Builder addVariables(
int index, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable.Builder builderForValue) {
if (variablesBuilder_ == null) {
ensureVariablesIsMutable();
variables_.add(index, builderForValue.build());
onChanged();
} else {
variablesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable variables = 5;
*/
public Builder addAllVariables(
java.lang.Iterable extends POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable> values) {
if (variablesBuilder_ == null) {
ensureVariablesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, variables_);
onChanged();
} else {
variablesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable variables = 5;
*/
public Builder clearVariables() {
if (variablesBuilder_ == null) {
variables_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
} else {
variablesBuilder_.clear();
}
return this;
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable variables = 5;
*/
public Builder removeVariables(int index) {
if (variablesBuilder_ == null) {
ensureVariablesIsMutable();
variables_.remove(index);
onChanged();
} else {
variablesBuilder_.remove(index);
}
return this;
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable variables = 5;
*/
public POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable.Builder getVariablesBuilder(
int index) {
return getVariablesFieldBuilder().getBuilder(index);
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable variables = 5;
*/
public POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariableOrBuilder getVariablesOrBuilder(
int index) {
if (variablesBuilder_ == null) {
return variables_.get(index); } else {
return variablesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable variables = 5;
*/
public java.util.List extends POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariableOrBuilder>
getVariablesOrBuilderList() {
if (variablesBuilder_ != null) {
return variablesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(variables_);
}
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable variables = 5;
*/
public POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable.Builder addVariablesBuilder() {
return getVariablesFieldBuilder().addBuilder(
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable.getDefaultInstance());
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable variables = 5;
*/
public POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable.Builder addVariablesBuilder(
int index) {
return getVariablesFieldBuilder().addBuilder(
index, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable.getDefaultInstance());
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable variables = 5;
*/
public java.util.List
getVariablesBuilderList() {
return getVariablesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable.Builder, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariableOrBuilder>
getVariablesFieldBuilder() {
if (variablesBuilder_ == null) {
variablesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable.Builder, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariableOrBuilder>(
variables_,
((bitField0_ & 0x00000010) == 0x00000010),
getParentForChildren(),
isClean());
variables_ = null;
}
return variablesBuilder_;
}
private java.util.List labels_ =
java.util.Collections.emptyList();
private void ensureLabelsIsMutable() {
if (!((bitField0_ & 0x00000020) == 0x00000020)) {
labels_ = new java.util.ArrayList(labels_);
bitField0_ |= 0x00000020;
}
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification.Label labels = 6;
*/
public java.util.List getLabelsList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification.Label>(labels_, labels_converter_);
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification.Label labels = 6;
*/
public int getLabelsCount() {
return labels_.size();
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification.Label labels = 6;
*/
public POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification.Label getLabels(int index) {
return labels_converter_.convert(labels_.get(index));
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification.Label labels = 6;
*/
public Builder setLabels(
int index, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification.Label value) {
if (value == null) {
throw new NullPointerException();
}
ensureLabelsIsMutable();
labels_.set(index, value.getNumber());
onChanged();
return this;
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification.Label labels = 6;
*/
public Builder addLabels(POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification.Label value) {
if (value == null) {
throw new NullPointerException();
}
ensureLabelsIsMutable();
labels_.add(value.getNumber());
onChanged();
return this;
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification.Label labels = 6;
*/
public Builder addAllLabels(
java.lang.Iterable extends POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification.Label> values) {
ensureLabelsIsMutable();
for (POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification.Label value : values) {
labels_.add(value.getNumber());
}
onChanged();
return this;
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification.Label labels = 6;
*/
public Builder clearLabels() {
labels_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification.Label labels = 6;
*/
public java.util.List
getLabelsValueList() {
return java.util.Collections.unmodifiableList(labels_);
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification.Label labels = 6;
*/
public int getLabelsValue(int index) {
return labels_.get(index);
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification.Label labels = 6;
*/
public Builder setLabelsValue(
int index, int value) {
ensureLabelsIsMutable();
labels_.set(index, value);
onChanged();
return this;
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification.Label labels = 6;
*/
public Builder addLabelsValue(int value) {
ensureLabelsIsMutable();
labels_.add(value);
onChanged();
return this;
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification.Label labels = 6;
*/
public Builder addAllLabelsValue(
java.lang.Iterable values) {
ensureLabelsIsMutable();
for (int value : values) {
labels_.add(value);
}
onChanged();
return this;
}
private long expireTimeMs_ ;
/**
* int64 expire_time_ms = 7;
*/
public long getExpireTimeMs() {
return expireTimeMs_;
}
/**
* int64 expire_time_ms = 7;
*/
public Builder setExpireTimeMs(long value) {
expireTimeMs_ = value;
onChanged();
return this;
}
/**
* int64 expire_time_ms = 7;
*/
public Builder clearExpireTimeMs() {
expireTimeMs_ = 0L;
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.Inbox.ClientInbox.Notification)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Data.Inbox.ClientInbox.Notification)
private static final POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification();
}
public static POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Notification parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Notification(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.Inbox.ClientInboxOuterClass.ClientInbox.Notification getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TemplateVariableOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Data.Inbox.ClientInbox.TemplateVariable)
com.google.protobuf.MessageOrBuilder {
/**
* string name = 1;
*/
java.lang.String getName();
/**
* string name = 1;
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* string literal = 2;
*/
java.lang.String getLiteral();
/**
* string literal = 2;
*/
com.google.protobuf.ByteString
getLiteralBytes();
/**
* string key = 3;
*/
java.lang.String getKey();
/**
* string key = 3;
*/
com.google.protobuf.ByteString
getKeyBytes();
/**
* string lookup_table = 4;
*/
java.lang.String getLookupTable();
/**
* string lookup_table = 4;
*/
com.google.protobuf.ByteString
getLookupTableBytes();
/**
* bytes byte_value = 5;
*/
com.google.protobuf.ByteString getByteValue();
}
/**
* Protobuf type {@code POGOProtos.Data.Inbox.ClientInbox.TemplateVariable}
*/
public static final class TemplateVariable extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Data.Inbox.ClientInbox.TemplateVariable)
TemplateVariableOrBuilder {
private static final long serialVersionUID = 0L;
// Use TemplateVariable.newBuilder() to construct.
private TemplateVariable(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private TemplateVariable() {
name_ = "";
literal_ = "";
key_ = "";
lookupTable_ = "";
byteValue_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private TemplateVariable(
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();
name_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
literal_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
key_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
lookupTable_ = s;
break;
}
case 42: {
byteValue_ = input.readBytes();
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.Inbox.ClientInboxOuterClass.internal_static_POGOProtos_Data_Inbox_ClientInbox_TemplateVariable_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Inbox.ClientInboxOuterClass.internal_static_POGOProtos_Data_Inbox_ClientInbox_TemplateVariable_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable.class, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable.Builder.class);
}
public static final int NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object name_;
/**
* string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
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();
name_ = s;
return s;
}
}
/**
* string name = 1;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LITERAL_FIELD_NUMBER = 2;
private volatile java.lang.Object literal_;
/**
* string literal = 2;
*/
public java.lang.String getLiteral() {
java.lang.Object ref = literal_;
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();
literal_ = s;
return s;
}
}
/**
* string literal = 2;
*/
public com.google.protobuf.ByteString
getLiteralBytes() {
java.lang.Object ref = literal_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
literal_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int KEY_FIELD_NUMBER = 3;
private volatile java.lang.Object key_;
/**
* string key = 3;
*/
public java.lang.String getKey() {
java.lang.Object ref = key_;
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();
key_ = s;
return s;
}
}
/**
* string key = 3;
*/
public com.google.protobuf.ByteString
getKeyBytes() {
java.lang.Object ref = key_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
key_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LOOKUP_TABLE_FIELD_NUMBER = 4;
private volatile java.lang.Object lookupTable_;
/**
* string lookup_table = 4;
*/
public java.lang.String getLookupTable() {
java.lang.Object ref = lookupTable_;
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();
lookupTable_ = s;
return s;
}
}
/**
* string lookup_table = 4;
*/
public com.google.protobuf.ByteString
getLookupTableBytes() {
java.lang.Object ref = lookupTable_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
lookupTable_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BYTE_VALUE_FIELD_NUMBER = 5;
private com.google.protobuf.ByteString byteValue_;
/**
* bytes byte_value = 5;
*/
public com.google.protobuf.ByteString getByteValue() {
return byteValue_;
}
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 (!getNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (!getLiteralBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, literal_);
}
if (!getKeyBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, key_);
}
if (!getLookupTableBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, lookupTable_);
}
if (!byteValue_.isEmpty()) {
output.writeBytes(5, byteValue_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (!getLiteralBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, literal_);
}
if (!getKeyBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, key_);
}
if (!getLookupTableBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, lookupTable_);
}
if (!byteValue_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(5, byteValue_);
}
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.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable)) {
return super.equals(obj);
}
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable other = (POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable) obj;
boolean result = true;
result = result && getName()
.equals(other.getName());
result = result && getLiteral()
.equals(other.getLiteral());
result = result && getKey()
.equals(other.getKey());
result = result && getLookupTable()
.equals(other.getLookupTable());
result = result && getByteValue()
.equals(other.getByteValue());
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) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + LITERAL_FIELD_NUMBER;
hash = (53 * hash) + getLiteral().hashCode();
hash = (37 * hash) + KEY_FIELD_NUMBER;
hash = (53 * hash) + getKey().hashCode();
hash = (37 * hash) + LOOKUP_TABLE_FIELD_NUMBER;
hash = (53 * hash) + getLookupTable().hashCode();
hash = (37 * hash) + BYTE_VALUE_FIELD_NUMBER;
hash = (53 * hash) + getByteValue().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable 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.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable 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.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable 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.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable 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.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable 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.Inbox.ClientInbox.TemplateVariable}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Data.Inbox.ClientInbox.TemplateVariable)
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariableOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Inbox.ClientInboxOuterClass.internal_static_POGOProtos_Data_Inbox_ClientInbox_TemplateVariable_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Inbox.ClientInboxOuterClass.internal_static_POGOProtos_Data_Inbox_ClientInbox_TemplateVariable_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable.class, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable.Builder.class);
}
// Construct using POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable.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();
name_ = "";
literal_ = "";
key_ = "";
lookupTable_ = "";
byteValue_ = com.google.protobuf.ByteString.EMPTY;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Data.Inbox.ClientInboxOuterClass.internal_static_POGOProtos_Data_Inbox_ClientInbox_TemplateVariable_descriptor;
}
@java.lang.Override
public POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable getDefaultInstanceForType() {
return POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable build() {
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable buildPartial() {
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable result = new POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable(this);
result.name_ = name_;
result.literal_ = literal_;
result.key_ = key_;
result.lookupTable_ = lookupTable_;
result.byteValue_ = byteValue_;
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.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable) {
return mergeFrom((POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable other) {
if (other == POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
if (!other.getLiteral().isEmpty()) {
literal_ = other.literal_;
onChanged();
}
if (!other.getKey().isEmpty()) {
key_ = other.key_;
onChanged();
}
if (!other.getLookupTable().isEmpty()) {
lookupTable_ = other.lookupTable_;
onChanged();
}
if (other.getByteValue() != com.google.protobuf.ByteString.EMPTY) {
setByteValue(other.getByteValue());
}
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.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object name_ = "";
/**
* string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string name = 1;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string name = 1;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
* string name = 1;
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* string name = 1;
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
name_ = value;
onChanged();
return this;
}
private java.lang.Object literal_ = "";
/**
* string literal = 2;
*/
public java.lang.String getLiteral() {
java.lang.Object ref = literal_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
literal_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string literal = 2;
*/
public com.google.protobuf.ByteString
getLiteralBytes() {
java.lang.Object ref = literal_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
literal_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string literal = 2;
*/
public Builder setLiteral(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
literal_ = value;
onChanged();
return this;
}
/**
* string literal = 2;
*/
public Builder clearLiteral() {
literal_ = getDefaultInstance().getLiteral();
onChanged();
return this;
}
/**
* string literal = 2;
*/
public Builder setLiteralBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
literal_ = value;
onChanged();
return this;
}
private java.lang.Object key_ = "";
/**
* string key = 3;
*/
public java.lang.String getKey() {
java.lang.Object ref = key_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
key_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string key = 3;
*/
public com.google.protobuf.ByteString
getKeyBytes() {
java.lang.Object ref = key_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
key_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string key = 3;
*/
public Builder setKey(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
key_ = value;
onChanged();
return this;
}
/**
* string key = 3;
*/
public Builder clearKey() {
key_ = getDefaultInstance().getKey();
onChanged();
return this;
}
/**
* string key = 3;
*/
public Builder setKeyBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
key_ = value;
onChanged();
return this;
}
private java.lang.Object lookupTable_ = "";
/**
* string lookup_table = 4;
*/
public java.lang.String getLookupTable() {
java.lang.Object ref = lookupTable_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
lookupTable_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string lookup_table = 4;
*/
public com.google.protobuf.ByteString
getLookupTableBytes() {
java.lang.Object ref = lookupTable_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
lookupTable_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string lookup_table = 4;
*/
public Builder setLookupTable(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
lookupTable_ = value;
onChanged();
return this;
}
/**
* string lookup_table = 4;
*/
public Builder clearLookupTable() {
lookupTable_ = getDefaultInstance().getLookupTable();
onChanged();
return this;
}
/**
* string lookup_table = 4;
*/
public Builder setLookupTableBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
lookupTable_ = value;
onChanged();
return this;
}
private com.google.protobuf.ByteString byteValue_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes byte_value = 5;
*/
public com.google.protobuf.ByteString getByteValue() {
return byteValue_;
}
/**
* bytes byte_value = 5;
*/
public Builder setByteValue(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
byteValue_ = value;
onChanged();
return this;
}
/**
* bytes byte_value = 5;
*/
public Builder clearByteValue() {
byteValue_ = getDefaultInstance().getByteValue();
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.Inbox.ClientInbox.TemplateVariable)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Data.Inbox.ClientInbox.TemplateVariable)
private static final POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable();
}
public static POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public TemplateVariable parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new TemplateVariable(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.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public static final int NOTIFICATIONS_FIELD_NUMBER = 1;
private java.util.List notifications_;
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification notifications = 1;
*/
public java.util.List getNotificationsList() {
return notifications_;
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification notifications = 1;
*/
public java.util.List extends POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.NotificationOrBuilder>
getNotificationsOrBuilderList() {
return notifications_;
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification notifications = 1;
*/
public int getNotificationsCount() {
return notifications_.size();
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification notifications = 1;
*/
public POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification getNotifications(int index) {
return notifications_.get(index);
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification notifications = 1;
*/
public POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.NotificationOrBuilder getNotificationsOrBuilder(
int index) {
return notifications_.get(index);
}
public static final int BUILTIN_VARIABLES_FIELD_NUMBER = 2;
private java.util.List builtinVariables_;
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable builtin_variables = 2;
*/
public java.util.List getBuiltinVariablesList() {
return builtinVariables_;
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable builtin_variables = 2;
*/
public java.util.List extends POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariableOrBuilder>
getBuiltinVariablesOrBuilderList() {
return builtinVariables_;
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable builtin_variables = 2;
*/
public int getBuiltinVariablesCount() {
return builtinVariables_.size();
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable builtin_variables = 2;
*/
public POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable getBuiltinVariables(int index) {
return builtinVariables_.get(index);
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable builtin_variables = 2;
*/
public POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariableOrBuilder getBuiltinVariablesOrBuilder(
int index) {
return builtinVariables_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < notifications_.size(); i++) {
output.writeMessage(1, notifications_.get(i));
}
for (int i = 0; i < builtinVariables_.size(); i++) {
output.writeMessage(2, builtinVariables_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < notifications_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, notifications_.get(i));
}
for (int i = 0; i < builtinVariables_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, builtinVariables_.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.Inbox.ClientInboxOuterClass.ClientInbox)) {
return super.equals(obj);
}
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox other = (POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox) obj;
boolean result = true;
result = result && getNotificationsList()
.equals(other.getNotificationsList());
result = result && getBuiltinVariablesList()
.equals(other.getBuiltinVariablesList());
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 (getNotificationsCount() > 0) {
hash = (37 * hash) + NOTIFICATIONS_FIELD_NUMBER;
hash = (53 * hash) + getNotificationsList().hashCode();
}
if (getBuiltinVariablesCount() > 0) {
hash = (37 * hash) + BUILTIN_VARIABLES_FIELD_NUMBER;
hash = (53 * hash) + getBuiltinVariablesList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox 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.Inbox.ClientInboxOuterClass.ClientInbox parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox 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.Inbox.ClientInboxOuterClass.ClientInbox parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox 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.Inbox.ClientInboxOuterClass.ClientInbox parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox 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.Inbox.ClientInboxOuterClass.ClientInbox 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.Inbox.ClientInbox}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Data.Inbox.ClientInbox)
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInboxOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Inbox.ClientInboxOuterClass.internal_static_POGOProtos_Data_Inbox_ClientInbox_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Inbox.ClientInboxOuterClass.internal_static_POGOProtos_Data_Inbox_ClientInbox_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.class, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Builder.class);
}
// Construct using POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getNotificationsFieldBuilder();
getBuiltinVariablesFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (notificationsBuilder_ == null) {
notifications_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
notificationsBuilder_.clear();
}
if (builtinVariablesBuilder_ == null) {
builtinVariables_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
builtinVariablesBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Data.Inbox.ClientInboxOuterClass.internal_static_POGOProtos_Data_Inbox_ClientInbox_descriptor;
}
@java.lang.Override
public POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox getDefaultInstanceForType() {
return POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox build() {
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox buildPartial() {
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox result = new POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox(this);
int from_bitField0_ = bitField0_;
if (notificationsBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
notifications_ = java.util.Collections.unmodifiableList(notifications_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.notifications_ = notifications_;
} else {
result.notifications_ = notificationsBuilder_.build();
}
if (builtinVariablesBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002)) {
builtinVariables_ = java.util.Collections.unmodifiableList(builtinVariables_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.builtinVariables_ = builtinVariables_;
} else {
result.builtinVariables_ = builtinVariablesBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox) {
return mergeFrom((POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox other) {
if (other == POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.getDefaultInstance()) return this;
if (notificationsBuilder_ == null) {
if (!other.notifications_.isEmpty()) {
if (notifications_.isEmpty()) {
notifications_ = other.notifications_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureNotificationsIsMutable();
notifications_.addAll(other.notifications_);
}
onChanged();
}
} else {
if (!other.notifications_.isEmpty()) {
if (notificationsBuilder_.isEmpty()) {
notificationsBuilder_.dispose();
notificationsBuilder_ = null;
notifications_ = other.notifications_;
bitField0_ = (bitField0_ & ~0x00000001);
notificationsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getNotificationsFieldBuilder() : null;
} else {
notificationsBuilder_.addAllMessages(other.notifications_);
}
}
}
if (builtinVariablesBuilder_ == null) {
if (!other.builtinVariables_.isEmpty()) {
if (builtinVariables_.isEmpty()) {
builtinVariables_ = other.builtinVariables_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureBuiltinVariablesIsMutable();
builtinVariables_.addAll(other.builtinVariables_);
}
onChanged();
}
} else {
if (!other.builtinVariables_.isEmpty()) {
if (builtinVariablesBuilder_.isEmpty()) {
builtinVariablesBuilder_.dispose();
builtinVariablesBuilder_ = null;
builtinVariables_ = other.builtinVariables_;
bitField0_ = (bitField0_ & ~0x00000002);
builtinVariablesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getBuiltinVariablesFieldBuilder() : null;
} else {
builtinVariablesBuilder_.addAllMessages(other.builtinVariables_);
}
}
}
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.Inbox.ClientInboxOuterClass.ClientInbox parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List notifications_ =
java.util.Collections.emptyList();
private void ensureNotificationsIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
notifications_ = new java.util.ArrayList(notifications_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification.Builder, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.NotificationOrBuilder> notificationsBuilder_;
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification notifications = 1;
*/
public java.util.List getNotificationsList() {
if (notificationsBuilder_ == null) {
return java.util.Collections.unmodifiableList(notifications_);
} else {
return notificationsBuilder_.getMessageList();
}
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification notifications = 1;
*/
public int getNotificationsCount() {
if (notificationsBuilder_ == null) {
return notifications_.size();
} else {
return notificationsBuilder_.getCount();
}
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification notifications = 1;
*/
public POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification getNotifications(int index) {
if (notificationsBuilder_ == null) {
return notifications_.get(index);
} else {
return notificationsBuilder_.getMessage(index);
}
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification notifications = 1;
*/
public Builder setNotifications(
int index, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification value) {
if (notificationsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureNotificationsIsMutable();
notifications_.set(index, value);
onChanged();
} else {
notificationsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification notifications = 1;
*/
public Builder setNotifications(
int index, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification.Builder builderForValue) {
if (notificationsBuilder_ == null) {
ensureNotificationsIsMutable();
notifications_.set(index, builderForValue.build());
onChanged();
} else {
notificationsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification notifications = 1;
*/
public Builder addNotifications(POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification value) {
if (notificationsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureNotificationsIsMutable();
notifications_.add(value);
onChanged();
} else {
notificationsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification notifications = 1;
*/
public Builder addNotifications(
int index, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification value) {
if (notificationsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureNotificationsIsMutable();
notifications_.add(index, value);
onChanged();
} else {
notificationsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification notifications = 1;
*/
public Builder addNotifications(
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification.Builder builderForValue) {
if (notificationsBuilder_ == null) {
ensureNotificationsIsMutable();
notifications_.add(builderForValue.build());
onChanged();
} else {
notificationsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification notifications = 1;
*/
public Builder addNotifications(
int index, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification.Builder builderForValue) {
if (notificationsBuilder_ == null) {
ensureNotificationsIsMutable();
notifications_.add(index, builderForValue.build());
onChanged();
} else {
notificationsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification notifications = 1;
*/
public Builder addAllNotifications(
java.lang.Iterable extends POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification> values) {
if (notificationsBuilder_ == null) {
ensureNotificationsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, notifications_);
onChanged();
} else {
notificationsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification notifications = 1;
*/
public Builder clearNotifications() {
if (notificationsBuilder_ == null) {
notifications_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
notificationsBuilder_.clear();
}
return this;
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification notifications = 1;
*/
public Builder removeNotifications(int index) {
if (notificationsBuilder_ == null) {
ensureNotificationsIsMutable();
notifications_.remove(index);
onChanged();
} else {
notificationsBuilder_.remove(index);
}
return this;
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification notifications = 1;
*/
public POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification.Builder getNotificationsBuilder(
int index) {
return getNotificationsFieldBuilder().getBuilder(index);
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification notifications = 1;
*/
public POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.NotificationOrBuilder getNotificationsOrBuilder(
int index) {
if (notificationsBuilder_ == null) {
return notifications_.get(index); } else {
return notificationsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification notifications = 1;
*/
public java.util.List extends POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.NotificationOrBuilder>
getNotificationsOrBuilderList() {
if (notificationsBuilder_ != null) {
return notificationsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(notifications_);
}
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification notifications = 1;
*/
public POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification.Builder addNotificationsBuilder() {
return getNotificationsFieldBuilder().addBuilder(
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification.getDefaultInstance());
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification notifications = 1;
*/
public POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification.Builder addNotificationsBuilder(
int index) {
return getNotificationsFieldBuilder().addBuilder(
index, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification.getDefaultInstance());
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.Notification notifications = 1;
*/
public java.util.List
getNotificationsBuilderList() {
return getNotificationsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification.Builder, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.NotificationOrBuilder>
getNotificationsFieldBuilder() {
if (notificationsBuilder_ == null) {
notificationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Notification.Builder, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.NotificationOrBuilder>(
notifications_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
notifications_ = null;
}
return notificationsBuilder_;
}
private java.util.List builtinVariables_ =
java.util.Collections.emptyList();
private void ensureBuiltinVariablesIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
builtinVariables_ = new java.util.ArrayList(builtinVariables_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable.Builder, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariableOrBuilder> builtinVariablesBuilder_;
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable builtin_variables = 2;
*/
public java.util.List getBuiltinVariablesList() {
if (builtinVariablesBuilder_ == null) {
return java.util.Collections.unmodifiableList(builtinVariables_);
} else {
return builtinVariablesBuilder_.getMessageList();
}
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable builtin_variables = 2;
*/
public int getBuiltinVariablesCount() {
if (builtinVariablesBuilder_ == null) {
return builtinVariables_.size();
} else {
return builtinVariablesBuilder_.getCount();
}
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable builtin_variables = 2;
*/
public POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable getBuiltinVariables(int index) {
if (builtinVariablesBuilder_ == null) {
return builtinVariables_.get(index);
} else {
return builtinVariablesBuilder_.getMessage(index);
}
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable builtin_variables = 2;
*/
public Builder setBuiltinVariables(
int index, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable value) {
if (builtinVariablesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBuiltinVariablesIsMutable();
builtinVariables_.set(index, value);
onChanged();
} else {
builtinVariablesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable builtin_variables = 2;
*/
public Builder setBuiltinVariables(
int index, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable.Builder builderForValue) {
if (builtinVariablesBuilder_ == null) {
ensureBuiltinVariablesIsMutable();
builtinVariables_.set(index, builderForValue.build());
onChanged();
} else {
builtinVariablesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable builtin_variables = 2;
*/
public Builder addBuiltinVariables(POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable value) {
if (builtinVariablesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBuiltinVariablesIsMutable();
builtinVariables_.add(value);
onChanged();
} else {
builtinVariablesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable builtin_variables = 2;
*/
public Builder addBuiltinVariables(
int index, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable value) {
if (builtinVariablesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBuiltinVariablesIsMutable();
builtinVariables_.add(index, value);
onChanged();
} else {
builtinVariablesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable builtin_variables = 2;
*/
public Builder addBuiltinVariables(
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable.Builder builderForValue) {
if (builtinVariablesBuilder_ == null) {
ensureBuiltinVariablesIsMutable();
builtinVariables_.add(builderForValue.build());
onChanged();
} else {
builtinVariablesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable builtin_variables = 2;
*/
public Builder addBuiltinVariables(
int index, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable.Builder builderForValue) {
if (builtinVariablesBuilder_ == null) {
ensureBuiltinVariablesIsMutable();
builtinVariables_.add(index, builderForValue.build());
onChanged();
} else {
builtinVariablesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable builtin_variables = 2;
*/
public Builder addAllBuiltinVariables(
java.lang.Iterable extends POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable> values) {
if (builtinVariablesBuilder_ == null) {
ensureBuiltinVariablesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, builtinVariables_);
onChanged();
} else {
builtinVariablesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable builtin_variables = 2;
*/
public Builder clearBuiltinVariables() {
if (builtinVariablesBuilder_ == null) {
builtinVariables_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
builtinVariablesBuilder_.clear();
}
return this;
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable builtin_variables = 2;
*/
public Builder removeBuiltinVariables(int index) {
if (builtinVariablesBuilder_ == null) {
ensureBuiltinVariablesIsMutable();
builtinVariables_.remove(index);
onChanged();
} else {
builtinVariablesBuilder_.remove(index);
}
return this;
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable builtin_variables = 2;
*/
public POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable.Builder getBuiltinVariablesBuilder(
int index) {
return getBuiltinVariablesFieldBuilder().getBuilder(index);
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable builtin_variables = 2;
*/
public POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariableOrBuilder getBuiltinVariablesOrBuilder(
int index) {
if (builtinVariablesBuilder_ == null) {
return builtinVariables_.get(index); } else {
return builtinVariablesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable builtin_variables = 2;
*/
public java.util.List extends POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariableOrBuilder>
getBuiltinVariablesOrBuilderList() {
if (builtinVariablesBuilder_ != null) {
return builtinVariablesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(builtinVariables_);
}
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable builtin_variables = 2;
*/
public POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable.Builder addBuiltinVariablesBuilder() {
return getBuiltinVariablesFieldBuilder().addBuilder(
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable.getDefaultInstance());
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable builtin_variables = 2;
*/
public POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable.Builder addBuiltinVariablesBuilder(
int index) {
return getBuiltinVariablesFieldBuilder().addBuilder(
index, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable.getDefaultInstance());
}
/**
* repeated .POGOProtos.Data.Inbox.ClientInbox.TemplateVariable builtin_variables = 2;
*/
public java.util.List
getBuiltinVariablesBuilderList() {
return getBuiltinVariablesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable.Builder, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariableOrBuilder>
getBuiltinVariablesFieldBuilder() {
if (builtinVariablesBuilder_ == null) {
builtinVariablesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariable.Builder, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.TemplateVariableOrBuilder>(
builtinVariables_,
((bitField0_ & 0x00000002) == 0x00000002),
getParentForChildren(),
isClean());
builtinVariables_ = null;
}
return builtinVariablesBuilder_;
}
@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.Inbox.ClientInbox)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Data.Inbox.ClientInbox)
private static final POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox();
}
public static POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ClientInbox parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ClientInbox(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.Inbox.ClientInboxOuterClass.ClientInbox getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Data_Inbox_ClientInbox_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Data_Inbox_ClientInbox_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Data_Inbox_ClientInbox_Notification_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Data_Inbox_ClientInbox_Notification_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Data_Inbox_ClientInbox_TemplateVariable_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Data_Inbox_ClientInbox_TemplateVariable_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/Inbox/ClientInbox.prot" +
"o\022\025POGOProtos.Data.Inbox\"\340\004\n\013ClientInbox" +
"\022F\n\rnotifications\030\001 \003(\0132/.POGOProtos.Dat" +
"a.Inbox.ClientInbox.Notification\022N\n\021buil" +
"tin_variables\030\002 \003(\01323.POGOProtos.Data.In" +
"box.ClientInbox.TemplateVariable\032\316\002\n\014Not" +
"ification\022\027\n\017notification_id\030\001 \001(\t\022\021\n\tti" +
"tle_key\030\002 \001(\t\022\020\n\010category\030\003 \001(\t\022\033\n\023creat" +
"e_timestamp_ms\030\004 \001(\003\022F\n\tvariables\030\005 \003(\0132" +
"3.POGOProtos.Data.Inbox.ClientInbox.Temp" +
"lateVariable\022E\n\006labels\030\006 \003(\01625.POGOProto" +
"s.Data.Inbox.ClientInbox.Notification.La" +
"bel\022\026\n\016expire_time_ms\030\007 \001(\003\"<\n\005Label\022\017\n\013" +
"UNSET_LABEL\020\000\022\n\n\006UNREAD\020\001\022\007\n\003NEW\020\002\022\r\n\tIM" +
"MEDIATE\020\003\032h\n\020TemplateVariable\022\014\n\004name\030\001 " +
"\001(\t\022\017\n\007literal\030\002 \001(\t\022\013\n\003key\030\003 \001(\t\022\024\n\014loo" +
"kup_table\030\004 \001(\t\022\022\n\nbyte_value\030\005 \001(\014b\006pro" +
"to3"
};
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[] {
}, assigner);
internal_static_POGOProtos_Data_Inbox_ClientInbox_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_POGOProtos_Data_Inbox_ClientInbox_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Data_Inbox_ClientInbox_descriptor,
new java.lang.String[] { "Notifications", "BuiltinVariables", });
internal_static_POGOProtos_Data_Inbox_ClientInbox_Notification_descriptor =
internal_static_POGOProtos_Data_Inbox_ClientInbox_descriptor.getNestedTypes().get(0);
internal_static_POGOProtos_Data_Inbox_ClientInbox_Notification_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Data_Inbox_ClientInbox_Notification_descriptor,
new java.lang.String[] { "NotificationId", "TitleKey", "Category", "CreateTimestampMs", "Variables", "Labels", "ExpireTimeMs", });
internal_static_POGOProtos_Data_Inbox_ClientInbox_TemplateVariable_descriptor =
internal_static_POGOProtos_Data_Inbox_ClientInbox_descriptor.getNestedTypes().get(1);
internal_static_POGOProtos_Data_Inbox_ClientInbox_TemplateVariable_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Data_Inbox_ClientInbox_TemplateVariable_descriptor,
new java.lang.String[] { "Name", "Literal", "Key", "LookupTable", "ByteValue", });
}
// @@protoc_insertion_point(outer_class_scope)
}