POGOProtos.Networking.Responses.GetInboxResponseOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: POGOProtos/Networking/Responses/GetInboxResponse.proto
package POGOProtos.Networking.Responses;
public final class GetInboxResponseOuterClass {
private GetInboxResponseOuterClass() {}
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 GetInboxResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Networking.Responses.GetInboxResponse)
com.google.protobuf.MessageOrBuilder {
/**
* .POGOProtos.Networking.Responses.GetInboxResponse.Result result = 1;
*/
int getResultValue();
/**
* .POGOProtos.Networking.Responses.GetInboxResponse.Result result = 1;
*/
POGOProtos.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse.Result getResult();
/**
* .POGOProtos.Data.Inbox.ClientInbox inbox = 2;
*/
boolean hasInbox();
/**
* .POGOProtos.Data.Inbox.ClientInbox inbox = 2;
*/
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox getInbox();
/**
* .POGOProtos.Data.Inbox.ClientInbox inbox = 2;
*/
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInboxOrBuilder getInboxOrBuilder();
}
/**
* Protobuf type {@code POGOProtos.Networking.Responses.GetInboxResponse}
*/
public static final class GetInboxResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Networking.Responses.GetInboxResponse)
GetInboxResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetInboxResponse.newBuilder() to construct.
private GetInboxResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetInboxResponse() {
result_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetInboxResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
int rawValue = input.readEnum();
result_ = rawValue;
break;
}
case 18: {
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Builder subBuilder = null;
if (inbox_ != null) {
subBuilder = inbox_.toBuilder();
}
inbox_ = input.readMessage(POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(inbox_);
inbox_ = subBuilder.buildPartial();
}
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.Networking.Responses.GetInboxResponseOuterClass.internal_static_POGOProtos_Networking_Responses_GetInboxResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Networking.Responses.GetInboxResponseOuterClass.internal_static_POGOProtos_Networking_Responses_GetInboxResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse.class, POGOProtos.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse.Builder.class);
}
/**
* Protobuf enum {@code POGOProtos.Networking.Responses.GetInboxResponse.Result}
*/
public enum Result
implements com.google.protobuf.ProtocolMessageEnum {
/**
* UNSET = 0;
*/
UNSET(0),
/**
* SUCCESS = 1;
*/
SUCCESS(1),
/**
* FAILURE = 2;
*/
FAILURE(2),
/**
* TIMED_OUT = 3;
*/
TIMED_OUT(3),
UNRECOGNIZED(-1),
;
/**
* UNSET = 0;
*/
public static final int UNSET_VALUE = 0;
/**
* SUCCESS = 1;
*/
public static final int SUCCESS_VALUE = 1;
/**
* FAILURE = 2;
*/
public static final int FAILURE_VALUE = 2;
/**
* TIMED_OUT = 3;
*/
public static final int TIMED_OUT_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 Result valueOf(int value) {
return forNumber(value);
}
public static Result forNumber(int value) {
switch (value) {
case 0: return UNSET;
case 1: return SUCCESS;
case 2: return FAILURE;
case 3: return TIMED_OUT;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Result> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Result findValueByNumber(int number) {
return Result.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.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse.getDescriptor().getEnumTypes().get(0);
}
private static final Result[] VALUES = values();
public static Result 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 Result(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:POGOProtos.Networking.Responses.GetInboxResponse.Result)
}
public static final int RESULT_FIELD_NUMBER = 1;
private int result_;
/**
* .POGOProtos.Networking.Responses.GetInboxResponse.Result result = 1;
*/
public int getResultValue() {
return result_;
}
/**
* .POGOProtos.Networking.Responses.GetInboxResponse.Result result = 1;
*/
public POGOProtos.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse.Result getResult() {
@SuppressWarnings("deprecation")
POGOProtos.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse.Result result = POGOProtos.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse.Result.valueOf(result_);
return result == null ? POGOProtos.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse.Result.UNRECOGNIZED : result;
}
public static final int INBOX_FIELD_NUMBER = 2;
private POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox inbox_;
/**
* .POGOProtos.Data.Inbox.ClientInbox inbox = 2;
*/
public boolean hasInbox() {
return inbox_ != null;
}
/**
* .POGOProtos.Data.Inbox.ClientInbox inbox = 2;
*/
public POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox getInbox() {
return inbox_ == null ? POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.getDefaultInstance() : inbox_;
}
/**
* .POGOProtos.Data.Inbox.ClientInbox inbox = 2;
*/
public POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInboxOrBuilder getInboxOrBuilder() {
return getInbox();
}
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 (result_ != POGOProtos.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse.Result.UNSET.getNumber()) {
output.writeEnum(1, result_);
}
if (inbox_ != null) {
output.writeMessage(2, getInbox());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (result_ != POGOProtos.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse.Result.UNSET.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, result_);
}
if (inbox_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getInbox());
}
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.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse)) {
return super.equals(obj);
}
POGOProtos.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse other = (POGOProtos.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse) obj;
boolean result = true;
result = result && result_ == other.result_;
result = result && (hasInbox() == other.hasInbox());
if (hasInbox()) {
result = result && getInbox()
.equals(other.getInbox());
}
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) + RESULT_FIELD_NUMBER;
hash = (53 * hash) + result_;
if (hasInbox()) {
hash = (37 * hash) + INBOX_FIELD_NUMBER;
hash = (53 * hash) + getInbox().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse 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.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse 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.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse 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.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse 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.Networking.Responses.GetInboxResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Networking.Responses.GetInboxResponse)
POGOProtos.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Networking.Responses.GetInboxResponseOuterClass.internal_static_POGOProtos_Networking_Responses_GetInboxResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Networking.Responses.GetInboxResponseOuterClass.internal_static_POGOProtos_Networking_Responses_GetInboxResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse.class, POGOProtos.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse.Builder.class);
}
// Construct using POGOProtos.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse.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();
result_ = 0;
if (inboxBuilder_ == null) {
inbox_ = null;
} else {
inbox_ = null;
inboxBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Networking.Responses.GetInboxResponseOuterClass.internal_static_POGOProtos_Networking_Responses_GetInboxResponse_descriptor;
}
@java.lang.Override
public POGOProtos.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse getDefaultInstanceForType() {
return POGOProtos.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse build() {
POGOProtos.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse buildPartial() {
POGOProtos.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse result = new POGOProtos.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse(this);
result.result_ = result_;
if (inboxBuilder_ == null) {
result.inbox_ = inbox_;
} else {
result.inbox_ = inboxBuilder_.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.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse) {
return mergeFrom((POGOProtos.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse other) {
if (other == POGOProtos.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse.getDefaultInstance()) return this;
if (other.result_ != 0) {
setResultValue(other.getResultValue());
}
if (other.hasInbox()) {
mergeInbox(other.getInbox());
}
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.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int result_ = 0;
/**
* .POGOProtos.Networking.Responses.GetInboxResponse.Result result = 1;
*/
public int getResultValue() {
return result_;
}
/**
* .POGOProtos.Networking.Responses.GetInboxResponse.Result result = 1;
*/
public Builder setResultValue(int value) {
result_ = value;
onChanged();
return this;
}
/**
* .POGOProtos.Networking.Responses.GetInboxResponse.Result result = 1;
*/
public POGOProtos.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse.Result getResult() {
@SuppressWarnings("deprecation")
POGOProtos.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse.Result result = POGOProtos.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse.Result.valueOf(result_);
return result == null ? POGOProtos.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse.Result.UNRECOGNIZED : result;
}
/**
* .POGOProtos.Networking.Responses.GetInboxResponse.Result result = 1;
*/
public Builder setResult(POGOProtos.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse.Result value) {
if (value == null) {
throw new NullPointerException();
}
result_ = value.getNumber();
onChanged();
return this;
}
/**
* .POGOProtos.Networking.Responses.GetInboxResponse.Result result = 1;
*/
public Builder clearResult() {
result_ = 0;
onChanged();
return this;
}
private POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox inbox_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Builder, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInboxOrBuilder> inboxBuilder_;
/**
* .POGOProtos.Data.Inbox.ClientInbox inbox = 2;
*/
public boolean hasInbox() {
return inboxBuilder_ != null || inbox_ != null;
}
/**
* .POGOProtos.Data.Inbox.ClientInbox inbox = 2;
*/
public POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox getInbox() {
if (inboxBuilder_ == null) {
return inbox_ == null ? POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.getDefaultInstance() : inbox_;
} else {
return inboxBuilder_.getMessage();
}
}
/**
* .POGOProtos.Data.Inbox.ClientInbox inbox = 2;
*/
public Builder setInbox(POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox value) {
if (inboxBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
inbox_ = value;
onChanged();
} else {
inboxBuilder_.setMessage(value);
}
return this;
}
/**
* .POGOProtos.Data.Inbox.ClientInbox inbox = 2;
*/
public Builder setInbox(
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Builder builderForValue) {
if (inboxBuilder_ == null) {
inbox_ = builderForValue.build();
onChanged();
} else {
inboxBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .POGOProtos.Data.Inbox.ClientInbox inbox = 2;
*/
public Builder mergeInbox(POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox value) {
if (inboxBuilder_ == null) {
if (inbox_ != null) {
inbox_ =
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.newBuilder(inbox_).mergeFrom(value).buildPartial();
} else {
inbox_ = value;
}
onChanged();
} else {
inboxBuilder_.mergeFrom(value);
}
return this;
}
/**
* .POGOProtos.Data.Inbox.ClientInbox inbox = 2;
*/
public Builder clearInbox() {
if (inboxBuilder_ == null) {
inbox_ = null;
onChanged();
} else {
inbox_ = null;
inboxBuilder_ = null;
}
return this;
}
/**
* .POGOProtos.Data.Inbox.ClientInbox inbox = 2;
*/
public POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Builder getInboxBuilder() {
onChanged();
return getInboxFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Data.Inbox.ClientInbox inbox = 2;
*/
public POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInboxOrBuilder getInboxOrBuilder() {
if (inboxBuilder_ != null) {
return inboxBuilder_.getMessageOrBuilder();
} else {
return inbox_ == null ?
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.getDefaultInstance() : inbox_;
}
}
/**
* .POGOProtos.Data.Inbox.ClientInbox inbox = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Builder, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInboxOrBuilder>
getInboxFieldBuilder() {
if (inboxBuilder_ == null) {
inboxBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInbox.Builder, POGOProtos.Data.Inbox.ClientInboxOuterClass.ClientInboxOrBuilder>(
getInbox(),
getParentForChildren(),
isClean());
inbox_ = null;
}
return inboxBuilder_;
}
@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.Networking.Responses.GetInboxResponse)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Networking.Responses.GetInboxResponse)
private static final POGOProtos.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse();
}
public static POGOProtos.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetInboxResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetInboxResponse(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.Networking.Responses.GetInboxResponseOuterClass.GetInboxResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Networking_Responses_GetInboxResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Networking_Responses_GetInboxResponse_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n6POGOProtos/Networking/Responses/GetInb" +
"oxResponse.proto\022\037POGOProtos.Networking." +
"Responses\032\'POGOProtos/Data/Inbox/ClientI" +
"nbox.proto\"\315\001\n\020GetInboxResponse\022H\n\006resul" +
"t\030\001 \001(\01628.POGOProtos.Networking.Response" +
"s.GetInboxResponse.Result\0221\n\005inbox\030\002 \001(\013" +
"2\".POGOProtos.Data.Inbox.ClientInbox\"<\n\006" +
"Result\022\t\n\005UNSET\020\000\022\013\n\007SUCCESS\020\001\022\013\n\007FAILUR" +
"E\020\002\022\r\n\tTIMED_OUT\020\003b\006proto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
POGOProtos.Data.Inbox.ClientInboxOuterClass.getDescriptor(),
}, assigner);
internal_static_POGOProtos_Networking_Responses_GetInboxResponse_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_POGOProtos_Networking_Responses_GetInboxResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Networking_Responses_GetInboxResponse_descriptor,
new java.lang.String[] { "Result", "Inbox", });
POGOProtos.Data.Inbox.ClientInboxOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy