POGOProtos.Settings.Master.PokemonScaleSettingOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: POGOProtos/Settings/Master/PokemonScaleSetting.proto
package POGOProtos.Settings.Master;
public final class PokemonScaleSettingOuterClass {
private PokemonScaleSettingOuterClass() {}
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 PokemonScaleSettingOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Settings.Master.PokemonScaleSetting)
com.google.protobuf.MessageOrBuilder {
/**
* .POGOProtos.Settings.Master.PokemonScaleSetting.PokemonScaleMode pokemon_scale_mode = 1;
*/
int getPokemonScaleModeValue();
/**
* .POGOProtos.Settings.Master.PokemonScaleSetting.PokemonScaleMode pokemon_scale_mode = 1;
*/
POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting.PokemonScaleMode getPokemonScaleMode();
/**
* float min_height = 2;
*/
float getMinHeight();
/**
* float max_height = 3;
*/
float getMaxHeight();
}
/**
* Protobuf type {@code POGOProtos.Settings.Master.PokemonScaleSetting}
*/
public static final class PokemonScaleSetting extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Settings.Master.PokemonScaleSetting)
PokemonScaleSettingOrBuilder {
private static final long serialVersionUID = 0L;
// Use PokemonScaleSetting.newBuilder() to construct.
private PokemonScaleSetting(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PokemonScaleSetting() {
pokemonScaleMode_ = 0;
minHeight_ = 0F;
maxHeight_ = 0F;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PokemonScaleSetting(
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();
pokemonScaleMode_ = rawValue;
break;
}
case 21: {
minHeight_ = input.readFloat();
break;
}
case 29: {
maxHeight_ = input.readFloat();
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.Settings.Master.PokemonScaleSettingOuterClass.internal_static_POGOProtos_Settings_Master_PokemonScaleSetting_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.internal_static_POGOProtos_Settings_Master_PokemonScaleSetting_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting.class, POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting.Builder.class);
}
/**
* Protobuf enum {@code POGOProtos.Settings.Master.PokemonScaleSetting.PokemonScaleMode}
*/
public enum PokemonScaleMode
implements com.google.protobuf.ProtocolMessageEnum {
/**
* NaturalScale = 0;
*/
NaturalScale(0),
/**
* GuiScale = 1;
*/
GuiScale(1),
/**
* BattlePokemonScale = 2;
*/
BattlePokemonScale(2),
/**
* RaidBossScale = 3;
*/
RaidBossScale(3),
/**
* GymTopperScale = 4;
*/
GymTopperScale(4),
/**
* MapPokemonScale = 5;
*/
MapPokemonScale(5),
UNRECOGNIZED(-1),
;
/**
* NaturalScale = 0;
*/
public static final int NaturalScale_VALUE = 0;
/**
* GuiScale = 1;
*/
public static final int GuiScale_VALUE = 1;
/**
* BattlePokemonScale = 2;
*/
public static final int BattlePokemonScale_VALUE = 2;
/**
* RaidBossScale = 3;
*/
public static final int RaidBossScale_VALUE = 3;
/**
* GymTopperScale = 4;
*/
public static final int GymTopperScale_VALUE = 4;
/**
* MapPokemonScale = 5;
*/
public static final int MapPokemonScale_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 PokemonScaleMode valueOf(int value) {
return forNumber(value);
}
public static PokemonScaleMode forNumber(int value) {
switch (value) {
case 0: return NaturalScale;
case 1: return GuiScale;
case 2: return BattlePokemonScale;
case 3: return RaidBossScale;
case 4: return GymTopperScale;
case 5: return MapPokemonScale;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
PokemonScaleMode> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public PokemonScaleMode findValueByNumber(int number) {
return PokemonScaleMode.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.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting.getDescriptor().getEnumTypes().get(0);
}
private static final PokemonScaleMode[] VALUES = values();
public static PokemonScaleMode 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 PokemonScaleMode(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:POGOProtos.Settings.Master.PokemonScaleSetting.PokemonScaleMode)
}
public static final int POKEMON_SCALE_MODE_FIELD_NUMBER = 1;
private int pokemonScaleMode_;
/**
* .POGOProtos.Settings.Master.PokemonScaleSetting.PokemonScaleMode pokemon_scale_mode = 1;
*/
public int getPokemonScaleModeValue() {
return pokemonScaleMode_;
}
/**
* .POGOProtos.Settings.Master.PokemonScaleSetting.PokemonScaleMode pokemon_scale_mode = 1;
*/
public POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting.PokemonScaleMode getPokemonScaleMode() {
@SuppressWarnings("deprecation")
POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting.PokemonScaleMode result = POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting.PokemonScaleMode.valueOf(pokemonScaleMode_);
return result == null ? POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting.PokemonScaleMode.UNRECOGNIZED : result;
}
public static final int MIN_HEIGHT_FIELD_NUMBER = 2;
private float minHeight_;
/**
* float min_height = 2;
*/
public float getMinHeight() {
return minHeight_;
}
public static final int MAX_HEIGHT_FIELD_NUMBER = 3;
private float maxHeight_;
/**
* float max_height = 3;
*/
public float getMaxHeight() {
return maxHeight_;
}
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 (pokemonScaleMode_ != POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting.PokemonScaleMode.NaturalScale.getNumber()) {
output.writeEnum(1, pokemonScaleMode_);
}
if (minHeight_ != 0F) {
output.writeFloat(2, minHeight_);
}
if (maxHeight_ != 0F) {
output.writeFloat(3, maxHeight_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (pokemonScaleMode_ != POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting.PokemonScaleMode.NaturalScale.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, pokemonScaleMode_);
}
if (minHeight_ != 0F) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(2, minHeight_);
}
if (maxHeight_ != 0F) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(3, maxHeight_);
}
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.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting)) {
return super.equals(obj);
}
POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting other = (POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting) obj;
boolean result = true;
result = result && pokemonScaleMode_ == other.pokemonScaleMode_;
result = result && (
java.lang.Float.floatToIntBits(getMinHeight())
== java.lang.Float.floatToIntBits(
other.getMinHeight()));
result = result && (
java.lang.Float.floatToIntBits(getMaxHeight())
== java.lang.Float.floatToIntBits(
other.getMaxHeight()));
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) + POKEMON_SCALE_MODE_FIELD_NUMBER;
hash = (53 * hash) + pokemonScaleMode_;
hash = (37 * hash) + MIN_HEIGHT_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getMinHeight());
hash = (37 * hash) + MAX_HEIGHT_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getMaxHeight());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting 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.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting 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.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting 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.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting 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.Settings.Master.PokemonScaleSetting}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Settings.Master.PokemonScaleSetting)
POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSettingOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.internal_static_POGOProtos_Settings_Master_PokemonScaleSetting_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.internal_static_POGOProtos_Settings_Master_PokemonScaleSetting_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting.class, POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting.Builder.class);
}
// Construct using POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting.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();
pokemonScaleMode_ = 0;
minHeight_ = 0F;
maxHeight_ = 0F;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.internal_static_POGOProtos_Settings_Master_PokemonScaleSetting_descriptor;
}
@java.lang.Override
public POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting getDefaultInstanceForType() {
return POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting build() {
POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting buildPartial() {
POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting result = new POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting(this);
result.pokemonScaleMode_ = pokemonScaleMode_;
result.minHeight_ = minHeight_;
result.maxHeight_ = maxHeight_;
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.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting) {
return mergeFrom((POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting other) {
if (other == POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting.getDefaultInstance()) return this;
if (other.pokemonScaleMode_ != 0) {
setPokemonScaleModeValue(other.getPokemonScaleModeValue());
}
if (other.getMinHeight() != 0F) {
setMinHeight(other.getMinHeight());
}
if (other.getMaxHeight() != 0F) {
setMaxHeight(other.getMaxHeight());
}
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.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int pokemonScaleMode_ = 0;
/**
* .POGOProtos.Settings.Master.PokemonScaleSetting.PokemonScaleMode pokemon_scale_mode = 1;
*/
public int getPokemonScaleModeValue() {
return pokemonScaleMode_;
}
/**
* .POGOProtos.Settings.Master.PokemonScaleSetting.PokemonScaleMode pokemon_scale_mode = 1;
*/
public Builder setPokemonScaleModeValue(int value) {
pokemonScaleMode_ = value;
onChanged();
return this;
}
/**
* .POGOProtos.Settings.Master.PokemonScaleSetting.PokemonScaleMode pokemon_scale_mode = 1;
*/
public POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting.PokemonScaleMode getPokemonScaleMode() {
@SuppressWarnings("deprecation")
POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting.PokemonScaleMode result = POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting.PokemonScaleMode.valueOf(pokemonScaleMode_);
return result == null ? POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting.PokemonScaleMode.UNRECOGNIZED : result;
}
/**
* .POGOProtos.Settings.Master.PokemonScaleSetting.PokemonScaleMode pokemon_scale_mode = 1;
*/
public Builder setPokemonScaleMode(POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting.PokemonScaleMode value) {
if (value == null) {
throw new NullPointerException();
}
pokemonScaleMode_ = value.getNumber();
onChanged();
return this;
}
/**
* .POGOProtos.Settings.Master.PokemonScaleSetting.PokemonScaleMode pokemon_scale_mode = 1;
*/
public Builder clearPokemonScaleMode() {
pokemonScaleMode_ = 0;
onChanged();
return this;
}
private float minHeight_ ;
/**
* float min_height = 2;
*/
public float getMinHeight() {
return minHeight_;
}
/**
* float min_height = 2;
*/
public Builder setMinHeight(float value) {
minHeight_ = value;
onChanged();
return this;
}
/**
* float min_height = 2;
*/
public Builder clearMinHeight() {
minHeight_ = 0F;
onChanged();
return this;
}
private float maxHeight_ ;
/**
* float max_height = 3;
*/
public float getMaxHeight() {
return maxHeight_;
}
/**
* float max_height = 3;
*/
public Builder setMaxHeight(float value) {
maxHeight_ = value;
onChanged();
return this;
}
/**
* float max_height = 3;
*/
public Builder clearMaxHeight() {
maxHeight_ = 0F;
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.Settings.Master.PokemonScaleSetting)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Settings.Master.PokemonScaleSetting)
private static final POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting();
}
public static POGOProtos.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public PokemonScaleSetting parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PokemonScaleSetting(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.Settings.Master.PokemonScaleSettingOuterClass.PokemonScaleSetting getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Settings_Master_PokemonScaleSetting_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Settings_Master_PokemonScaleSetting_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n4POGOProtos/Settings/Master/PokemonScal" +
"eSetting.proto\022\032POGOProtos.Settings.Mast" +
"er\"\244\002\n\023PokemonScaleSetting\022\\\n\022pokemon_sc" +
"ale_mode\030\001 \001(\[email protected]" +
"ter.PokemonScaleSetting.PokemonScaleMode" +
"\022\022\n\nmin_height\030\002 \001(\002\022\022\n\nmax_height\030\003 \001(\002" +
"\"\206\001\n\020PokemonScaleMode\022\020\n\014NaturalScale\020\000\022" +
"\014\n\010GuiScale\020\001\022\026\n\022BattlePokemonScale\020\002\022\021\n" +
"\rRaidBossScale\020\003\022\022\n\016GymTopperScale\020\004\022\023\n\017" +
"MapPokemonScale\020\005b\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[] {
}, assigner);
internal_static_POGOProtos_Settings_Master_PokemonScaleSetting_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_POGOProtos_Settings_Master_PokemonScaleSetting_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Settings_Master_PokemonScaleSetting_descriptor,
new java.lang.String[] { "PokemonScaleMode", "MinHeight", "MaxHeight", });
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy