POGOProtos.Settings.FestivalSettingsOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: POGOProtos/Settings/FestivalSettings.proto
package POGOProtos.Settings;
public final class FestivalSettingsOuterClass {
private FestivalSettingsOuterClass() {}
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 FestivalSettingsOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Settings.FestivalSettings)
com.google.protobuf.MessageOrBuilder {
/**
* .POGOProtos.Settings.FestivalSettings.FestivalType festival_type = 1;
*/
int getFestivalTypeValue();
/**
* .POGOProtos.Settings.FestivalSettings.FestivalType festival_type = 1;
*/
POGOProtos.Settings.FestivalSettingsOuterClass.FestivalSettings.FestivalType getFestivalType();
/**
* string key = 2;
*/
java.lang.String getKey();
/**
* string key = 2;
*/
com.google.protobuf.ByteString
getKeyBytes();
/**
* string vector = 3;
*/
java.lang.String getVector();
/**
* string vector = 3;
*/
com.google.protobuf.ByteString
getVectorBytes();
}
/**
* Protobuf type {@code POGOProtos.Settings.FestivalSettings}
*/
public static final class FestivalSettings extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Settings.FestivalSettings)
FestivalSettingsOrBuilder {
private static final long serialVersionUID = 0L;
// Use FestivalSettings.newBuilder() to construct.
private FestivalSettings(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private FestivalSettings() {
festivalType_ = 0;
key_ = "";
vector_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private FestivalSettings(
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();
festivalType_ = rawValue;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
key_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
vector_ = s;
break;
}
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Settings.FestivalSettingsOuterClass.internal_static_POGOProtos_Settings_FestivalSettings_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Settings.FestivalSettingsOuterClass.internal_static_POGOProtos_Settings_FestivalSettings_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Settings.FestivalSettingsOuterClass.FestivalSettings.class, POGOProtos.Settings.FestivalSettingsOuterClass.FestivalSettings.Builder.class);
}
/**
* Protobuf enum {@code POGOProtos.Settings.FestivalSettings.FestivalType}
*/
public enum FestivalType
implements com.google.protobuf.ProtocolMessageEnum {
/**
* NONE = 0;
*/
NONE(0),
/**
* HALLOWEEN = 1;
*/
HALLOWEEN(1),
/**
* HOLIDAY = 2;
*/
HOLIDAY(2),
UNRECOGNIZED(-1),
;
/**
* NONE = 0;
*/
public static final int NONE_VALUE = 0;
/**
* HALLOWEEN = 1;
*/
public static final int HALLOWEEN_VALUE = 1;
/**
* HOLIDAY = 2;
*/
public static final int HOLIDAY_VALUE = 2;
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 FestivalType valueOf(int value) {
return forNumber(value);
}
public static FestivalType forNumber(int value) {
switch (value) {
case 0: return NONE;
case 1: return HALLOWEEN;
case 2: return HOLIDAY;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
FestivalType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public FestivalType findValueByNumber(int number) {
return FestivalType.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.FestivalSettingsOuterClass.FestivalSettings.getDescriptor().getEnumTypes().get(0);
}
private static final FestivalType[] VALUES = values();
public static FestivalType 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 FestivalType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:POGOProtos.Settings.FestivalSettings.FestivalType)
}
public static final int FESTIVAL_TYPE_FIELD_NUMBER = 1;
private int festivalType_;
/**
* .POGOProtos.Settings.FestivalSettings.FestivalType festival_type = 1;
*/
public int getFestivalTypeValue() {
return festivalType_;
}
/**
* .POGOProtos.Settings.FestivalSettings.FestivalType festival_type = 1;
*/
public POGOProtos.Settings.FestivalSettingsOuterClass.FestivalSettings.FestivalType getFestivalType() {
@SuppressWarnings("deprecation")
POGOProtos.Settings.FestivalSettingsOuterClass.FestivalSettings.FestivalType result = POGOProtos.Settings.FestivalSettingsOuterClass.FestivalSettings.FestivalType.valueOf(festivalType_);
return result == null ? POGOProtos.Settings.FestivalSettingsOuterClass.FestivalSettings.FestivalType.UNRECOGNIZED : result;
}
public static final int KEY_FIELD_NUMBER = 2;
private volatile java.lang.Object key_;
/**
* string key = 2;
*/
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 = 2;
*/
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 VECTOR_FIELD_NUMBER = 3;
private volatile java.lang.Object vector_;
/**
* string vector = 3;
*/
public java.lang.String getVector() {
java.lang.Object ref = vector_;
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();
vector_ = s;
return s;
}
}
/**
* string vector = 3;
*/
public com.google.protobuf.ByteString
getVectorBytes() {
java.lang.Object ref = vector_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
vector_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (festivalType_ != POGOProtos.Settings.FestivalSettingsOuterClass.FestivalSettings.FestivalType.NONE.getNumber()) {
output.writeEnum(1, festivalType_);
}
if (!getKeyBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, key_);
}
if (!getVectorBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, vector_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (festivalType_ != POGOProtos.Settings.FestivalSettingsOuterClass.FestivalSettings.FestivalType.NONE.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, festivalType_);
}
if (!getKeyBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, key_);
}
if (!getVectorBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, vector_);
}
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.FestivalSettingsOuterClass.FestivalSettings)) {
return super.equals(obj);
}
POGOProtos.Settings.FestivalSettingsOuterClass.FestivalSettings other = (POGOProtos.Settings.FestivalSettingsOuterClass.FestivalSettings) obj;
boolean result = true;
result = result && festivalType_ == other.festivalType_;
result = result && getKey()
.equals(other.getKey());
result = result && getVector()
.equals(other.getVector());
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) + FESTIVAL_TYPE_FIELD_NUMBER;
hash = (53 * hash) + festivalType_;
hash = (37 * hash) + KEY_FIELD_NUMBER;
hash = (53 * hash) + getKey().hashCode();
hash = (37 * hash) + VECTOR_FIELD_NUMBER;
hash = (53 * hash) + getVector().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Settings.FestivalSettingsOuterClass.FestivalSettings parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Settings.FestivalSettingsOuterClass.FestivalSettings parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Settings.FestivalSettingsOuterClass.FestivalSettings parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Settings.FestivalSettingsOuterClass.FestivalSettings 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.FestivalSettingsOuterClass.FestivalSettings parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Settings.FestivalSettingsOuterClass.FestivalSettings parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Settings.FestivalSettingsOuterClass.FestivalSettings parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Settings.FestivalSettingsOuterClass.FestivalSettings 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.FestivalSettingsOuterClass.FestivalSettings parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Settings.FestivalSettingsOuterClass.FestivalSettings 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.FestivalSettingsOuterClass.FestivalSettings parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Settings.FestivalSettingsOuterClass.FestivalSettings 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.FestivalSettingsOuterClass.FestivalSettings 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.FestivalSettings}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Settings.FestivalSettings)
POGOProtos.Settings.FestivalSettingsOuterClass.FestivalSettingsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Settings.FestivalSettingsOuterClass.internal_static_POGOProtos_Settings_FestivalSettings_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Settings.FestivalSettingsOuterClass.internal_static_POGOProtos_Settings_FestivalSettings_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Settings.FestivalSettingsOuterClass.FestivalSettings.class, POGOProtos.Settings.FestivalSettingsOuterClass.FestivalSettings.Builder.class);
}
// Construct using POGOProtos.Settings.FestivalSettingsOuterClass.FestivalSettings.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();
festivalType_ = 0;
key_ = "";
vector_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Settings.FestivalSettingsOuterClass.internal_static_POGOProtos_Settings_FestivalSettings_descriptor;
}
@java.lang.Override
public POGOProtos.Settings.FestivalSettingsOuterClass.FestivalSettings getDefaultInstanceForType() {
return POGOProtos.Settings.FestivalSettingsOuterClass.FestivalSettings.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Settings.FestivalSettingsOuterClass.FestivalSettings build() {
POGOProtos.Settings.FestivalSettingsOuterClass.FestivalSettings result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Settings.FestivalSettingsOuterClass.FestivalSettings buildPartial() {
POGOProtos.Settings.FestivalSettingsOuterClass.FestivalSettings result = new POGOProtos.Settings.FestivalSettingsOuterClass.FestivalSettings(this);
result.festivalType_ = festivalType_;
result.key_ = key_;
result.vector_ = vector_;
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.FestivalSettingsOuterClass.FestivalSettings) {
return mergeFrom((POGOProtos.Settings.FestivalSettingsOuterClass.FestivalSettings)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Settings.FestivalSettingsOuterClass.FestivalSettings other) {
if (other == POGOProtos.Settings.FestivalSettingsOuterClass.FestivalSettings.getDefaultInstance()) return this;
if (other.festivalType_ != 0) {
setFestivalTypeValue(other.getFestivalTypeValue());
}
if (!other.getKey().isEmpty()) {
key_ = other.key_;
onChanged();
}
if (!other.getVector().isEmpty()) {
vector_ = other.vector_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
POGOProtos.Settings.FestivalSettingsOuterClass.FestivalSettings parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Settings.FestivalSettingsOuterClass.FestivalSettings) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int festivalType_ = 0;
/**
* .POGOProtos.Settings.FestivalSettings.FestivalType festival_type = 1;
*/
public int getFestivalTypeValue() {
return festivalType_;
}
/**
* .POGOProtos.Settings.FestivalSettings.FestivalType festival_type = 1;
*/
public Builder setFestivalTypeValue(int value) {
festivalType_ = value;
onChanged();
return this;
}
/**
* .POGOProtos.Settings.FestivalSettings.FestivalType festival_type = 1;
*/
public POGOProtos.Settings.FestivalSettingsOuterClass.FestivalSettings.FestivalType getFestivalType() {
@SuppressWarnings("deprecation")
POGOProtos.Settings.FestivalSettingsOuterClass.FestivalSettings.FestivalType result = POGOProtos.Settings.FestivalSettingsOuterClass.FestivalSettings.FestivalType.valueOf(festivalType_);
return result == null ? POGOProtos.Settings.FestivalSettingsOuterClass.FestivalSettings.FestivalType.UNRECOGNIZED : result;
}
/**
* .POGOProtos.Settings.FestivalSettings.FestivalType festival_type = 1;
*/
public Builder setFestivalType(POGOProtos.Settings.FestivalSettingsOuterClass.FestivalSettings.FestivalType value) {
if (value == null) {
throw new NullPointerException();
}
festivalType_ = value.getNumber();
onChanged();
return this;
}
/**
* .POGOProtos.Settings.FestivalSettings.FestivalType festival_type = 1;
*/
public Builder clearFestivalType() {
festivalType_ = 0;
onChanged();
return this;
}
private java.lang.Object key_ = "";
/**
* string key = 2;
*/
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 = 2;
*/
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 = 2;
*/
public Builder setKey(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
key_ = value;
onChanged();
return this;
}
/**
* string key = 2;
*/
public Builder clearKey() {
key_ = getDefaultInstance().getKey();
onChanged();
return this;
}
/**
* string key = 2;
*/
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 vector_ = "";
/**
* string vector = 3;
*/
public java.lang.String getVector() {
java.lang.Object ref = vector_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
vector_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string vector = 3;
*/
public com.google.protobuf.ByteString
getVectorBytes() {
java.lang.Object ref = vector_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
vector_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string vector = 3;
*/
public Builder setVector(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
vector_ = value;
onChanged();
return this;
}
/**
* string vector = 3;
*/
public Builder clearVector() {
vector_ = getDefaultInstance().getVector();
onChanged();
return this;
}
/**
* string vector = 3;
*/
public Builder setVectorBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
vector_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:POGOProtos.Settings.FestivalSettings)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Settings.FestivalSettings)
private static final POGOProtos.Settings.FestivalSettingsOuterClass.FestivalSettings DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Settings.FestivalSettingsOuterClass.FestivalSettings();
}
public static POGOProtos.Settings.FestivalSettingsOuterClass.FestivalSettings getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public FestivalSettings parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new FestivalSettings(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.FestivalSettingsOuterClass.FestivalSettings getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Settings_FestivalSettings_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Settings_FestivalSettings_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/Settings/FestivalSettings.p" +
"roto\022\023POGOProtos.Settings\"\260\001\n\020FestivalSe" +
"ttings\022I\n\rfestival_type\030\001 \001(\01622.POGOProt" +
"os.Settings.FestivalSettings.FestivalTyp" +
"e\022\013\n\003key\030\002 \001(\t\022\016\n\006vector\030\003 \001(\t\"4\n\014Festiv" +
"alType\022\010\n\004NONE\020\000\022\r\n\tHALLOWEEN\020\001\022\013\n\007HOLID" +
"AY\020\002b\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_FestivalSettings_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_POGOProtos_Settings_FestivalSettings_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Settings_FestivalSettings_descriptor,
new java.lang.String[] { "FestivalType", "Key", "Vector", });
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy