POGOProtos.Networking.Responses.AddFortModifierResponseOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: POGOProtos/Networking/Responses/AddFortModifierResponse.proto
package POGOProtos.Networking.Responses;
public final class AddFortModifierResponseOuterClass {
private AddFortModifierResponseOuterClass() {}
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 AddFortModifierResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Networking.Responses.AddFortModifierResponse)
com.google.protobuf.MessageOrBuilder {
/**
* .POGOProtos.Networking.Responses.AddFortModifierResponse.Result result = 1;
*/
int getResultValue();
/**
* .POGOProtos.Networking.Responses.AddFortModifierResponse.Result result = 1;
*/
POGOProtos.Networking.Responses.AddFortModifierResponseOuterClass.AddFortModifierResponse.Result getResult();
/**
* .POGOProtos.Networking.Responses.FortDetailsResponse fort_details = 2;
*/
boolean hasFortDetails();
/**
* .POGOProtos.Networking.Responses.FortDetailsResponse fort_details = 2;
*/
POGOProtos.Networking.Responses.FortDetailsResponseOuterClass.FortDetailsResponse getFortDetails();
/**
* .POGOProtos.Networking.Responses.FortDetailsResponse fort_details = 2;
*/
POGOProtos.Networking.Responses.FortDetailsResponseOuterClass.FortDetailsResponseOrBuilder getFortDetailsOrBuilder();
}
/**
* Protobuf type {@code POGOProtos.Networking.Responses.AddFortModifierResponse}
*/
public static final class AddFortModifierResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Networking.Responses.AddFortModifierResponse)
AddFortModifierResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use AddFortModifierResponse.newBuilder() to construct.
private AddFortModifierResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AddFortModifierResponse() {
result_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AddFortModifierResponse(
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.Networking.Responses.FortDetailsResponseOuterClass.FortDetailsResponse.Builder subBuilder = null;
if (fortDetails_ != null) {
subBuilder = fortDetails_.toBuilder();
}
fortDetails_ = input.readMessage(POGOProtos.Networking.Responses.FortDetailsResponseOuterClass.FortDetailsResponse.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(fortDetails_);
fortDetails_ = 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.AddFortModifierResponseOuterClass.internal_static_POGOProtos_Networking_Responses_AddFortModifierResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Networking.Responses.AddFortModifierResponseOuterClass.internal_static_POGOProtos_Networking_Responses_AddFortModifierResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Networking.Responses.AddFortModifierResponseOuterClass.AddFortModifierResponse.class, POGOProtos.Networking.Responses.AddFortModifierResponseOuterClass.AddFortModifierResponse.Builder.class);
}
/**
* Protobuf enum {@code POGOProtos.Networking.Responses.AddFortModifierResponse.Result}
*/
public enum Result
implements com.google.protobuf.ProtocolMessageEnum {
/**
* NO_RESULT_SET = 0;
*/
NO_RESULT_SET(0),
/**
* SUCCESS = 1;
*/
SUCCESS(1),
/**
* FORT_ALREADY_HAS_MODIFIER = 2;
*/
FORT_ALREADY_HAS_MODIFIER(2),
/**
* TOO_FAR_AWAY = 3;
*/
TOO_FAR_AWAY(3),
/**
* NO_ITEM_IN_INVENTORY = 4;
*/
NO_ITEM_IN_INVENTORY(4),
/**
* POI_INACCESSIBLE = 5;
*/
POI_INACCESSIBLE(5),
UNRECOGNIZED(-1),
;
/**
* NO_RESULT_SET = 0;
*/
public static final int NO_RESULT_SET_VALUE = 0;
/**
* SUCCESS = 1;
*/
public static final int SUCCESS_VALUE = 1;
/**
* FORT_ALREADY_HAS_MODIFIER = 2;
*/
public static final int FORT_ALREADY_HAS_MODIFIER_VALUE = 2;
/**
* TOO_FAR_AWAY = 3;
*/
public static final int TOO_FAR_AWAY_VALUE = 3;
/**
* NO_ITEM_IN_INVENTORY = 4;
*/
public static final int NO_ITEM_IN_INVENTORY_VALUE = 4;
/**
* POI_INACCESSIBLE = 5;
*/
public static final int POI_INACCESSIBLE_VALUE = 5;
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 NO_RESULT_SET;
case 1: return SUCCESS;
case 2: return FORT_ALREADY_HAS_MODIFIER;
case 3: return TOO_FAR_AWAY;
case 4: return NO_ITEM_IN_INVENTORY;
case 5: return POI_INACCESSIBLE;
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.AddFortModifierResponseOuterClass.AddFortModifierResponse.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.AddFortModifierResponse.Result)
}
public static final int RESULT_FIELD_NUMBER = 1;
private int result_;
/**
* .POGOProtos.Networking.Responses.AddFortModifierResponse.Result result = 1;
*/
public int getResultValue() {
return result_;
}
/**
* .POGOProtos.Networking.Responses.AddFortModifierResponse.Result result = 1;
*/
public POGOProtos.Networking.Responses.AddFortModifierResponseOuterClass.AddFortModifierResponse.Result getResult() {
@SuppressWarnings("deprecation")
POGOProtos.Networking.Responses.AddFortModifierResponseOuterClass.AddFortModifierResponse.Result result = POGOProtos.Networking.Responses.AddFortModifierResponseOuterClass.AddFortModifierResponse.Result.valueOf(result_);
return result == null ? POGOProtos.Networking.Responses.AddFortModifierResponseOuterClass.AddFortModifierResponse.Result.UNRECOGNIZED : result;
}
public static final int FORT_DETAILS_FIELD_NUMBER = 2;
private POGOProtos.Networking.Responses.FortDetailsResponseOuterClass.FortDetailsResponse fortDetails_;
/**
* .POGOProtos.Networking.Responses.FortDetailsResponse fort_details = 2;
*/
public boolean hasFortDetails() {
return fortDetails_ != null;
}
/**
* .POGOProtos.Networking.Responses.FortDetailsResponse fort_details = 2;
*/
public POGOProtos.Networking.Responses.FortDetailsResponseOuterClass.FortDetailsResponse getFortDetails() {
return fortDetails_ == null ? POGOProtos.Networking.Responses.FortDetailsResponseOuterClass.FortDetailsResponse.getDefaultInstance() : fortDetails_;
}
/**
* .POGOProtos.Networking.Responses.FortDetailsResponse fort_details = 2;
*/
public POGOProtos.Networking.Responses.FortDetailsResponseOuterClass.FortDetailsResponseOrBuilder getFortDetailsOrBuilder() {
return getFortDetails();
}
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.AddFortModifierResponseOuterClass.AddFortModifierResponse.Result.NO_RESULT_SET.getNumber()) {
output.writeEnum(1, result_);
}
if (fortDetails_ != null) {
output.writeMessage(2, getFortDetails());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (result_ != POGOProtos.Networking.Responses.AddFortModifierResponseOuterClass.AddFortModifierResponse.Result.NO_RESULT_SET.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, result_);
}
if (fortDetails_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getFortDetails());
}
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.AddFortModifierResponseOuterClass.AddFortModifierResponse)) {
return super.equals(obj);
}
POGOProtos.Networking.Responses.AddFortModifierResponseOuterClass.AddFortModifierResponse other = (POGOProtos.Networking.Responses.AddFortModifierResponseOuterClass.AddFortModifierResponse) obj;
boolean result = true;
result = result && result_ == other.result_;
result = result && (hasFortDetails() == other.hasFortDetails());
if (hasFortDetails()) {
result = result && getFortDetails()
.equals(other.getFortDetails());
}
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 (hasFortDetails()) {
hash = (37 * hash) + FORT_DETAILS_FIELD_NUMBER;
hash = (53 * hash) + getFortDetails().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Networking.Responses.AddFortModifierResponseOuterClass.AddFortModifierResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Networking.Responses.AddFortModifierResponseOuterClass.AddFortModifierResponse 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.AddFortModifierResponseOuterClass.AddFortModifierResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Networking.Responses.AddFortModifierResponseOuterClass.AddFortModifierResponse 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.AddFortModifierResponseOuterClass.AddFortModifierResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Networking.Responses.AddFortModifierResponseOuterClass.AddFortModifierResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Networking.Responses.AddFortModifierResponseOuterClass.AddFortModifierResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Networking.Responses.AddFortModifierResponseOuterClass.AddFortModifierResponse 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.AddFortModifierResponseOuterClass.AddFortModifierResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Networking.Responses.AddFortModifierResponseOuterClass.AddFortModifierResponse 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.AddFortModifierResponseOuterClass.AddFortModifierResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Networking.Responses.AddFortModifierResponseOuterClass.AddFortModifierResponse 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.AddFortModifierResponseOuterClass.AddFortModifierResponse 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.AddFortModifierResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Networking.Responses.AddFortModifierResponse)
POGOProtos.Networking.Responses.AddFortModifierResponseOuterClass.AddFortModifierResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Networking.Responses.AddFortModifierResponseOuterClass.internal_static_POGOProtos_Networking_Responses_AddFortModifierResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Networking.Responses.AddFortModifierResponseOuterClass.internal_static_POGOProtos_Networking_Responses_AddFortModifierResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Networking.Responses.AddFortModifierResponseOuterClass.AddFortModifierResponse.class, POGOProtos.Networking.Responses.AddFortModifierResponseOuterClass.AddFortModifierResponse.Builder.class);
}
// Construct using POGOProtos.Networking.Responses.AddFortModifierResponseOuterClass.AddFortModifierResponse.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 (fortDetailsBuilder_ == null) {
fortDetails_ = null;
} else {
fortDetails_ = null;
fortDetailsBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Networking.Responses.AddFortModifierResponseOuterClass.internal_static_POGOProtos_Networking_Responses_AddFortModifierResponse_descriptor;
}
@java.lang.Override
public POGOProtos.Networking.Responses.AddFortModifierResponseOuterClass.AddFortModifierResponse getDefaultInstanceForType() {
return POGOProtos.Networking.Responses.AddFortModifierResponseOuterClass.AddFortModifierResponse.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Networking.Responses.AddFortModifierResponseOuterClass.AddFortModifierResponse build() {
POGOProtos.Networking.Responses.AddFortModifierResponseOuterClass.AddFortModifierResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Networking.Responses.AddFortModifierResponseOuterClass.AddFortModifierResponse buildPartial() {
POGOProtos.Networking.Responses.AddFortModifierResponseOuterClass.AddFortModifierResponse result = new POGOProtos.Networking.Responses.AddFortModifierResponseOuterClass.AddFortModifierResponse(this);
result.result_ = result_;
if (fortDetailsBuilder_ == null) {
result.fortDetails_ = fortDetails_;
} else {
result.fortDetails_ = fortDetailsBuilder_.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.AddFortModifierResponseOuterClass.AddFortModifierResponse) {
return mergeFrom((POGOProtos.Networking.Responses.AddFortModifierResponseOuterClass.AddFortModifierResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Networking.Responses.AddFortModifierResponseOuterClass.AddFortModifierResponse other) {
if (other == POGOProtos.Networking.Responses.AddFortModifierResponseOuterClass.AddFortModifierResponse.getDefaultInstance()) return this;
if (other.result_ != 0) {
setResultValue(other.getResultValue());
}
if (other.hasFortDetails()) {
mergeFortDetails(other.getFortDetails());
}
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.AddFortModifierResponseOuterClass.AddFortModifierResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Networking.Responses.AddFortModifierResponseOuterClass.AddFortModifierResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int result_ = 0;
/**
* .POGOProtos.Networking.Responses.AddFortModifierResponse.Result result = 1;
*/
public int getResultValue() {
return result_;
}
/**
* .POGOProtos.Networking.Responses.AddFortModifierResponse.Result result = 1;
*/
public Builder setResultValue(int value) {
result_ = value;
onChanged();
return this;
}
/**
* .POGOProtos.Networking.Responses.AddFortModifierResponse.Result result = 1;
*/
public POGOProtos.Networking.Responses.AddFortModifierResponseOuterClass.AddFortModifierResponse.Result getResult() {
@SuppressWarnings("deprecation")
POGOProtos.Networking.Responses.AddFortModifierResponseOuterClass.AddFortModifierResponse.Result result = POGOProtos.Networking.Responses.AddFortModifierResponseOuterClass.AddFortModifierResponse.Result.valueOf(result_);
return result == null ? POGOProtos.Networking.Responses.AddFortModifierResponseOuterClass.AddFortModifierResponse.Result.UNRECOGNIZED : result;
}
/**
* .POGOProtos.Networking.Responses.AddFortModifierResponse.Result result = 1;
*/
public Builder setResult(POGOProtos.Networking.Responses.AddFortModifierResponseOuterClass.AddFortModifierResponse.Result value) {
if (value == null) {
throw new NullPointerException();
}
result_ = value.getNumber();
onChanged();
return this;
}
/**
* .POGOProtos.Networking.Responses.AddFortModifierResponse.Result result = 1;
*/
public Builder clearResult() {
result_ = 0;
onChanged();
return this;
}
private POGOProtos.Networking.Responses.FortDetailsResponseOuterClass.FortDetailsResponse fortDetails_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Networking.Responses.FortDetailsResponseOuterClass.FortDetailsResponse, POGOProtos.Networking.Responses.FortDetailsResponseOuterClass.FortDetailsResponse.Builder, POGOProtos.Networking.Responses.FortDetailsResponseOuterClass.FortDetailsResponseOrBuilder> fortDetailsBuilder_;
/**
* .POGOProtos.Networking.Responses.FortDetailsResponse fort_details = 2;
*/
public boolean hasFortDetails() {
return fortDetailsBuilder_ != null || fortDetails_ != null;
}
/**
* .POGOProtos.Networking.Responses.FortDetailsResponse fort_details = 2;
*/
public POGOProtos.Networking.Responses.FortDetailsResponseOuterClass.FortDetailsResponse getFortDetails() {
if (fortDetailsBuilder_ == null) {
return fortDetails_ == null ? POGOProtos.Networking.Responses.FortDetailsResponseOuterClass.FortDetailsResponse.getDefaultInstance() : fortDetails_;
} else {
return fortDetailsBuilder_.getMessage();
}
}
/**
* .POGOProtos.Networking.Responses.FortDetailsResponse fort_details = 2;
*/
public Builder setFortDetails(POGOProtos.Networking.Responses.FortDetailsResponseOuterClass.FortDetailsResponse value) {
if (fortDetailsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
fortDetails_ = value;
onChanged();
} else {
fortDetailsBuilder_.setMessage(value);
}
return this;
}
/**
* .POGOProtos.Networking.Responses.FortDetailsResponse fort_details = 2;
*/
public Builder setFortDetails(
POGOProtos.Networking.Responses.FortDetailsResponseOuterClass.FortDetailsResponse.Builder builderForValue) {
if (fortDetailsBuilder_ == null) {
fortDetails_ = builderForValue.build();
onChanged();
} else {
fortDetailsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .POGOProtos.Networking.Responses.FortDetailsResponse fort_details = 2;
*/
public Builder mergeFortDetails(POGOProtos.Networking.Responses.FortDetailsResponseOuterClass.FortDetailsResponse value) {
if (fortDetailsBuilder_ == null) {
if (fortDetails_ != null) {
fortDetails_ =
POGOProtos.Networking.Responses.FortDetailsResponseOuterClass.FortDetailsResponse.newBuilder(fortDetails_).mergeFrom(value).buildPartial();
} else {
fortDetails_ = value;
}
onChanged();
} else {
fortDetailsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .POGOProtos.Networking.Responses.FortDetailsResponse fort_details = 2;
*/
public Builder clearFortDetails() {
if (fortDetailsBuilder_ == null) {
fortDetails_ = null;
onChanged();
} else {
fortDetails_ = null;
fortDetailsBuilder_ = null;
}
return this;
}
/**
* .POGOProtos.Networking.Responses.FortDetailsResponse fort_details = 2;
*/
public POGOProtos.Networking.Responses.FortDetailsResponseOuterClass.FortDetailsResponse.Builder getFortDetailsBuilder() {
onChanged();
return getFortDetailsFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Networking.Responses.FortDetailsResponse fort_details = 2;
*/
public POGOProtos.Networking.Responses.FortDetailsResponseOuterClass.FortDetailsResponseOrBuilder getFortDetailsOrBuilder() {
if (fortDetailsBuilder_ != null) {
return fortDetailsBuilder_.getMessageOrBuilder();
} else {
return fortDetails_ == null ?
POGOProtos.Networking.Responses.FortDetailsResponseOuterClass.FortDetailsResponse.getDefaultInstance() : fortDetails_;
}
}
/**
* .POGOProtos.Networking.Responses.FortDetailsResponse fort_details = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Networking.Responses.FortDetailsResponseOuterClass.FortDetailsResponse, POGOProtos.Networking.Responses.FortDetailsResponseOuterClass.FortDetailsResponse.Builder, POGOProtos.Networking.Responses.FortDetailsResponseOuterClass.FortDetailsResponseOrBuilder>
getFortDetailsFieldBuilder() {
if (fortDetailsBuilder_ == null) {
fortDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Networking.Responses.FortDetailsResponseOuterClass.FortDetailsResponse, POGOProtos.Networking.Responses.FortDetailsResponseOuterClass.FortDetailsResponse.Builder, POGOProtos.Networking.Responses.FortDetailsResponseOuterClass.FortDetailsResponseOrBuilder>(
getFortDetails(),
getParentForChildren(),
isClean());
fortDetails_ = null;
}
return fortDetailsBuilder_;
}
@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.AddFortModifierResponse)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Networking.Responses.AddFortModifierResponse)
private static final POGOProtos.Networking.Responses.AddFortModifierResponseOuterClass.AddFortModifierResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Networking.Responses.AddFortModifierResponseOuterClass.AddFortModifierResponse();
}
public static POGOProtos.Networking.Responses.AddFortModifierResponseOuterClass.AddFortModifierResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public AddFortModifierResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AddFortModifierResponse(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.AddFortModifierResponseOuterClass.AddFortModifierResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Networking_Responses_AddFortModifierResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Networking_Responses_AddFortModifierResponse_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/Networking/Responses/AddFor" +
"tModifierResponse.proto\022\037POGOProtos.Netw" +
"orking.Responses\0329POGOProtos/Networking/" +
"Responses/FortDetailsResponse.proto\"\302\002\n\027" +
"AddFortModifierResponse\022O\n\006result\030\001 \001(\0162" +
"?.POGOProtos.Networking.Responses.AddFor" +
"tModifierResponse.Result\022J\n\014fort_details" +
"\030\002 \001(\01324.POGOProtos.Networking.Responses" +
".FortDetailsResponse\"\211\001\n\006Result\022\021\n\rNO_RE" +
"SULT_SET\020\000\022\013\n\007SUCCESS\020\001\022\035\n\031FORT_ALREADY_" +
"HAS_MODIFIER\020\002\022\020\n\014TOO_FAR_AWAY\020\003\022\030\n\024NO_I" +
"TEM_IN_INVENTORY\020\004\022\024\n\020POI_INACCESSIBLE\020\005" +
"b\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.Networking.Responses.FortDetailsResponseOuterClass.getDescriptor(),
}, assigner);
internal_static_POGOProtos_Networking_Responses_AddFortModifierResponse_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_POGOProtos_Networking_Responses_AddFortModifierResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Networking_Responses_AddFortModifierResponse_descriptor,
new java.lang.String[] { "Result", "FortDetails", });
POGOProtos.Networking.Responses.FortDetailsResponseOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy