POGOProtos.Settings.EventSettingsOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: POGOProtos/Settings/EventSettings.proto
package POGOProtos.Settings;
public final class EventSettingsOuterClass {
private EventSettingsOuterClass() {}
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 EventSettingsOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Settings.EventSettings)
com.google.protobuf.MessageOrBuilder {
/**
* repeated string condolence_ribbon_country = 1;
*/
java.util.List
getCondolenceRibbonCountryList();
/**
* repeated string condolence_ribbon_country = 1;
*/
int getCondolenceRibbonCountryCount();
/**
* repeated string condolence_ribbon_country = 1;
*/
java.lang.String getCondolenceRibbonCountry(int index);
/**
* repeated string condolence_ribbon_country = 1;
*/
com.google.protobuf.ByteString
getCondolenceRibbonCountryBytes(int index);
/**
* bool enable_event_link = 2;
*/
boolean getEnableEventLink();
/**
* bool enable_event_link_for_children = 3;
*/
boolean getEnableEventLinkForChildren();
/**
* string event_webtoken_server_url = 4;
*/
java.lang.String getEventWebtokenServerUrl();
/**
* string event_webtoken_server_url = 4;
*/
com.google.protobuf.ByteString
getEventWebtokenServerUrlBytes();
}
/**
* Protobuf type {@code POGOProtos.Settings.EventSettings}
*/
public static final class EventSettings extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Settings.EventSettings)
EventSettingsOrBuilder {
private static final long serialVersionUID = 0L;
// Use EventSettings.newBuilder() to construct.
private EventSettings(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private EventSettings() {
condolenceRibbonCountry_ = com.google.protobuf.LazyStringArrayList.EMPTY;
enableEventLink_ = false;
enableEventLinkForChildren_ = false;
eventWebtokenServerUrl_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private EventSettings(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
condolenceRibbonCountry_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000001;
}
condolenceRibbonCountry_.add(s);
break;
}
case 16: {
enableEventLink_ = input.readBool();
break;
}
case 24: {
enableEventLinkForChildren_ = input.readBool();
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
eventWebtokenServerUrl_ = 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 {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
condolenceRibbonCountry_ = condolenceRibbonCountry_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Settings.EventSettingsOuterClass.internal_static_POGOProtos_Settings_EventSettings_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Settings.EventSettingsOuterClass.internal_static_POGOProtos_Settings_EventSettings_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Settings.EventSettingsOuterClass.EventSettings.class, POGOProtos.Settings.EventSettingsOuterClass.EventSettings.Builder.class);
}
private int bitField0_;
public static final int CONDOLENCE_RIBBON_COUNTRY_FIELD_NUMBER = 1;
private com.google.protobuf.LazyStringList condolenceRibbonCountry_;
/**
* repeated string condolence_ribbon_country = 1;
*/
public com.google.protobuf.ProtocolStringList
getCondolenceRibbonCountryList() {
return condolenceRibbonCountry_;
}
/**
* repeated string condolence_ribbon_country = 1;
*/
public int getCondolenceRibbonCountryCount() {
return condolenceRibbonCountry_.size();
}
/**
* repeated string condolence_ribbon_country = 1;
*/
public java.lang.String getCondolenceRibbonCountry(int index) {
return condolenceRibbonCountry_.get(index);
}
/**
* repeated string condolence_ribbon_country = 1;
*/
public com.google.protobuf.ByteString
getCondolenceRibbonCountryBytes(int index) {
return condolenceRibbonCountry_.getByteString(index);
}
public static final int ENABLE_EVENT_LINK_FIELD_NUMBER = 2;
private boolean enableEventLink_;
/**
* bool enable_event_link = 2;
*/
public boolean getEnableEventLink() {
return enableEventLink_;
}
public static final int ENABLE_EVENT_LINK_FOR_CHILDREN_FIELD_NUMBER = 3;
private boolean enableEventLinkForChildren_;
/**
* bool enable_event_link_for_children = 3;
*/
public boolean getEnableEventLinkForChildren() {
return enableEventLinkForChildren_;
}
public static final int EVENT_WEBTOKEN_SERVER_URL_FIELD_NUMBER = 4;
private volatile java.lang.Object eventWebtokenServerUrl_;
/**
* string event_webtoken_server_url = 4;
*/
public java.lang.String getEventWebtokenServerUrl() {
java.lang.Object ref = eventWebtokenServerUrl_;
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();
eventWebtokenServerUrl_ = s;
return s;
}
}
/**
* string event_webtoken_server_url = 4;
*/
public com.google.protobuf.ByteString
getEventWebtokenServerUrlBytes() {
java.lang.Object ref = eventWebtokenServerUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
eventWebtokenServerUrl_ = 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 {
for (int i = 0; i < condolenceRibbonCountry_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, condolenceRibbonCountry_.getRaw(i));
}
if (enableEventLink_ != false) {
output.writeBool(2, enableEventLink_);
}
if (enableEventLinkForChildren_ != false) {
output.writeBool(3, enableEventLinkForChildren_);
}
if (!getEventWebtokenServerUrlBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, eventWebtokenServerUrl_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < condolenceRibbonCountry_.size(); i++) {
dataSize += computeStringSizeNoTag(condolenceRibbonCountry_.getRaw(i));
}
size += dataSize;
size += 1 * getCondolenceRibbonCountryList().size();
}
if (enableEventLink_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(2, enableEventLink_);
}
if (enableEventLinkForChildren_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(3, enableEventLinkForChildren_);
}
if (!getEventWebtokenServerUrlBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, eventWebtokenServerUrl_);
}
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.EventSettingsOuterClass.EventSettings)) {
return super.equals(obj);
}
POGOProtos.Settings.EventSettingsOuterClass.EventSettings other = (POGOProtos.Settings.EventSettingsOuterClass.EventSettings) obj;
boolean result = true;
result = result && getCondolenceRibbonCountryList()
.equals(other.getCondolenceRibbonCountryList());
result = result && (getEnableEventLink()
== other.getEnableEventLink());
result = result && (getEnableEventLinkForChildren()
== other.getEnableEventLinkForChildren());
result = result && getEventWebtokenServerUrl()
.equals(other.getEventWebtokenServerUrl());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getCondolenceRibbonCountryCount() > 0) {
hash = (37 * hash) + CONDOLENCE_RIBBON_COUNTRY_FIELD_NUMBER;
hash = (53 * hash) + getCondolenceRibbonCountryList().hashCode();
}
hash = (37 * hash) + ENABLE_EVENT_LINK_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getEnableEventLink());
hash = (37 * hash) + ENABLE_EVENT_LINK_FOR_CHILDREN_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getEnableEventLinkForChildren());
hash = (37 * hash) + EVENT_WEBTOKEN_SERVER_URL_FIELD_NUMBER;
hash = (53 * hash) + getEventWebtokenServerUrl().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Settings.EventSettingsOuterClass.EventSettings parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Settings.EventSettingsOuterClass.EventSettings parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Settings.EventSettingsOuterClass.EventSettings parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Settings.EventSettingsOuterClass.EventSettings 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.EventSettingsOuterClass.EventSettings parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Settings.EventSettingsOuterClass.EventSettings parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Settings.EventSettingsOuterClass.EventSettings parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Settings.EventSettingsOuterClass.EventSettings 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.EventSettingsOuterClass.EventSettings parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Settings.EventSettingsOuterClass.EventSettings 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.EventSettingsOuterClass.EventSettings parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Settings.EventSettingsOuterClass.EventSettings 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.EventSettingsOuterClass.EventSettings 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.EventSettings}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Settings.EventSettings)
POGOProtos.Settings.EventSettingsOuterClass.EventSettingsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Settings.EventSettingsOuterClass.internal_static_POGOProtos_Settings_EventSettings_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Settings.EventSettingsOuterClass.internal_static_POGOProtos_Settings_EventSettings_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Settings.EventSettingsOuterClass.EventSettings.class, POGOProtos.Settings.EventSettingsOuterClass.EventSettings.Builder.class);
}
// Construct using POGOProtos.Settings.EventSettingsOuterClass.EventSettings.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();
condolenceRibbonCountry_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
enableEventLink_ = false;
enableEventLinkForChildren_ = false;
eventWebtokenServerUrl_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Settings.EventSettingsOuterClass.internal_static_POGOProtos_Settings_EventSettings_descriptor;
}
@java.lang.Override
public POGOProtos.Settings.EventSettingsOuterClass.EventSettings getDefaultInstanceForType() {
return POGOProtos.Settings.EventSettingsOuterClass.EventSettings.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Settings.EventSettingsOuterClass.EventSettings build() {
POGOProtos.Settings.EventSettingsOuterClass.EventSettings result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Settings.EventSettingsOuterClass.EventSettings buildPartial() {
POGOProtos.Settings.EventSettingsOuterClass.EventSettings result = new POGOProtos.Settings.EventSettingsOuterClass.EventSettings(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
condolenceRibbonCountry_ = condolenceRibbonCountry_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.condolenceRibbonCountry_ = condolenceRibbonCountry_;
result.enableEventLink_ = enableEventLink_;
result.enableEventLinkForChildren_ = enableEventLinkForChildren_;
result.eventWebtokenServerUrl_ = eventWebtokenServerUrl_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof POGOProtos.Settings.EventSettingsOuterClass.EventSettings) {
return mergeFrom((POGOProtos.Settings.EventSettingsOuterClass.EventSettings)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Settings.EventSettingsOuterClass.EventSettings other) {
if (other == POGOProtos.Settings.EventSettingsOuterClass.EventSettings.getDefaultInstance()) return this;
if (!other.condolenceRibbonCountry_.isEmpty()) {
if (condolenceRibbonCountry_.isEmpty()) {
condolenceRibbonCountry_ = other.condolenceRibbonCountry_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureCondolenceRibbonCountryIsMutable();
condolenceRibbonCountry_.addAll(other.condolenceRibbonCountry_);
}
onChanged();
}
if (other.getEnableEventLink() != false) {
setEnableEventLink(other.getEnableEventLink());
}
if (other.getEnableEventLinkForChildren() != false) {
setEnableEventLinkForChildren(other.getEnableEventLinkForChildren());
}
if (!other.getEventWebtokenServerUrl().isEmpty()) {
eventWebtokenServerUrl_ = other.eventWebtokenServerUrl_;
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.EventSettingsOuterClass.EventSettings parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Settings.EventSettingsOuterClass.EventSettings) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.google.protobuf.LazyStringList condolenceRibbonCountry_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureCondolenceRibbonCountryIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
condolenceRibbonCountry_ = new com.google.protobuf.LazyStringArrayList(condolenceRibbonCountry_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated string condolence_ribbon_country = 1;
*/
public com.google.protobuf.ProtocolStringList
getCondolenceRibbonCountryList() {
return condolenceRibbonCountry_.getUnmodifiableView();
}
/**
* repeated string condolence_ribbon_country = 1;
*/
public int getCondolenceRibbonCountryCount() {
return condolenceRibbonCountry_.size();
}
/**
* repeated string condolence_ribbon_country = 1;
*/
public java.lang.String getCondolenceRibbonCountry(int index) {
return condolenceRibbonCountry_.get(index);
}
/**
* repeated string condolence_ribbon_country = 1;
*/
public com.google.protobuf.ByteString
getCondolenceRibbonCountryBytes(int index) {
return condolenceRibbonCountry_.getByteString(index);
}
/**
* repeated string condolence_ribbon_country = 1;
*/
public Builder setCondolenceRibbonCountry(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureCondolenceRibbonCountryIsMutable();
condolenceRibbonCountry_.set(index, value);
onChanged();
return this;
}
/**
* repeated string condolence_ribbon_country = 1;
*/
public Builder addCondolenceRibbonCountry(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureCondolenceRibbonCountryIsMutable();
condolenceRibbonCountry_.add(value);
onChanged();
return this;
}
/**
* repeated string condolence_ribbon_country = 1;
*/
public Builder addAllCondolenceRibbonCountry(
java.lang.Iterable values) {
ensureCondolenceRibbonCountryIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, condolenceRibbonCountry_);
onChanged();
return this;
}
/**
* repeated string condolence_ribbon_country = 1;
*/
public Builder clearCondolenceRibbonCountry() {
condolenceRibbonCountry_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* repeated string condolence_ribbon_country = 1;
*/
public Builder addCondolenceRibbonCountryBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureCondolenceRibbonCountryIsMutable();
condolenceRibbonCountry_.add(value);
onChanged();
return this;
}
private boolean enableEventLink_ ;
/**
* bool enable_event_link = 2;
*/
public boolean getEnableEventLink() {
return enableEventLink_;
}
/**
* bool enable_event_link = 2;
*/
public Builder setEnableEventLink(boolean value) {
enableEventLink_ = value;
onChanged();
return this;
}
/**
* bool enable_event_link = 2;
*/
public Builder clearEnableEventLink() {
enableEventLink_ = false;
onChanged();
return this;
}
private boolean enableEventLinkForChildren_ ;
/**
* bool enable_event_link_for_children = 3;
*/
public boolean getEnableEventLinkForChildren() {
return enableEventLinkForChildren_;
}
/**
* bool enable_event_link_for_children = 3;
*/
public Builder setEnableEventLinkForChildren(boolean value) {
enableEventLinkForChildren_ = value;
onChanged();
return this;
}
/**
* bool enable_event_link_for_children = 3;
*/
public Builder clearEnableEventLinkForChildren() {
enableEventLinkForChildren_ = false;
onChanged();
return this;
}
private java.lang.Object eventWebtokenServerUrl_ = "";
/**
* string event_webtoken_server_url = 4;
*/
public java.lang.String getEventWebtokenServerUrl() {
java.lang.Object ref = eventWebtokenServerUrl_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
eventWebtokenServerUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string event_webtoken_server_url = 4;
*/
public com.google.protobuf.ByteString
getEventWebtokenServerUrlBytes() {
java.lang.Object ref = eventWebtokenServerUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
eventWebtokenServerUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string event_webtoken_server_url = 4;
*/
public Builder setEventWebtokenServerUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
eventWebtokenServerUrl_ = value;
onChanged();
return this;
}
/**
* string event_webtoken_server_url = 4;
*/
public Builder clearEventWebtokenServerUrl() {
eventWebtokenServerUrl_ = getDefaultInstance().getEventWebtokenServerUrl();
onChanged();
return this;
}
/**
* string event_webtoken_server_url = 4;
*/
public Builder setEventWebtokenServerUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
eventWebtokenServerUrl_ = 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.EventSettings)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Settings.EventSettings)
private static final POGOProtos.Settings.EventSettingsOuterClass.EventSettings DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Settings.EventSettingsOuterClass.EventSettings();
}
public static POGOProtos.Settings.EventSettingsOuterClass.EventSettings getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public EventSettings parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new EventSettings(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.EventSettingsOuterClass.EventSettings getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Settings_EventSettings_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Settings_EventSettings_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/EventSettings.prot" +
"o\022\023POGOProtos.Settings\"\230\001\n\rEventSettings" +
"\022!\n\031condolence_ribbon_country\030\001 \003(\t\022\031\n\021e" +
"nable_event_link\030\002 \001(\010\022&\n\036enable_event_l" +
"ink_for_children\030\003 \001(\010\022!\n\031event_webtoken" +
"_server_url\030\004 \001(\tb\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_EventSettings_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_POGOProtos_Settings_EventSettings_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Settings_EventSettings_descriptor,
new java.lang.String[] { "CondolenceRibbonCountry", "EnableEventLink", "EnableEventLinkForChildren", "EventWebtokenServerUrl", });
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy