main.java.com.streamlayer.sdkSettings.game.common.GameRules Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sl-protofiles Show documentation
Show all versions of sl-protofiles Show documentation
StreamLayer Java Protofiles
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: streamlayer/sdkSettings/game/common/game_common.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.sdkSettings.game.common;
/**
* Protobuf type {@code streamlayer.sdkSettings.game.common.GameRules}
*/
public final class GameRules extends
com.google.protobuf.GeneratedMessageLite<
GameRules, GameRules.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.sdkSettings.game.common.GameRules)
GameRulesOrBuilder {
private GameRules() {
heading_ = "";
typeface_ = "";
buttonLabel_ = "";
numbersColor_ = "";
rules_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
terms_ = "";
termsUrl_ = "";
}
public static final int HEADING_FIELD_NUMBER = 1;
private java.lang.String heading_;
/**
* string heading = 1 [json_name = "heading"];
* @return The heading.
*/
@java.lang.Override
public java.lang.String getHeading() {
return heading_;
}
/**
* string heading = 1 [json_name = "heading"];
* @return The bytes for heading.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getHeadingBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(heading_);
}
/**
* string heading = 1 [json_name = "heading"];
* @param value The heading to set.
*/
private void setHeading(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
heading_ = value;
}
/**
* string heading = 1 [json_name = "heading"];
*/
private void clearHeading() {
heading_ = getDefaultInstance().getHeading();
}
/**
* string heading = 1 [json_name = "heading"];
* @param value The bytes for heading to set.
*/
private void setHeadingBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
heading_ = value.toStringUtf8();
}
public static final int TYPEFACE_FIELD_NUMBER = 2;
private java.lang.String typeface_;
/**
* string typeface = 2 [json_name = "typeface"];
* @return The typeface.
*/
@java.lang.Override
public java.lang.String getTypeface() {
return typeface_;
}
/**
* string typeface = 2 [json_name = "typeface"];
* @return The bytes for typeface.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTypefaceBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(typeface_);
}
/**
* string typeface = 2 [json_name = "typeface"];
* @param value The typeface to set.
*/
private void setTypeface(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
typeface_ = value;
}
/**
* string typeface = 2 [json_name = "typeface"];
*/
private void clearTypeface() {
typeface_ = getDefaultInstance().getTypeface();
}
/**
* string typeface = 2 [json_name = "typeface"];
* @param value The bytes for typeface to set.
*/
private void setTypefaceBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
typeface_ = value.toStringUtf8();
}
public static final int BUTTON_LABEL_FIELD_NUMBER = 3;
private java.lang.String buttonLabel_;
/**
* string button_label = 3 [json_name = "buttonLabel"];
* @return The buttonLabel.
*/
@java.lang.Override
public java.lang.String getButtonLabel() {
return buttonLabel_;
}
/**
* string button_label = 3 [json_name = "buttonLabel"];
* @return The bytes for buttonLabel.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getButtonLabelBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(buttonLabel_);
}
/**
* string button_label = 3 [json_name = "buttonLabel"];
* @param value The buttonLabel to set.
*/
private void setButtonLabel(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
buttonLabel_ = value;
}
/**
* string button_label = 3 [json_name = "buttonLabel"];
*/
private void clearButtonLabel() {
buttonLabel_ = getDefaultInstance().getButtonLabel();
}
/**
* string button_label = 3 [json_name = "buttonLabel"];
* @param value The bytes for buttonLabel to set.
*/
private void setButtonLabelBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
buttonLabel_ = value.toStringUtf8();
}
public static final int NUMBERS_COLOR_FIELD_NUMBER = 4;
private java.lang.String numbersColor_;
/**
* string numbers_color = 4 [json_name = "numbersColor"];
* @return The numbersColor.
*/
@java.lang.Override
public java.lang.String getNumbersColor() {
return numbersColor_;
}
/**
* string numbers_color = 4 [json_name = "numbersColor"];
* @return The bytes for numbersColor.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNumbersColorBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(numbersColor_);
}
/**
* string numbers_color = 4 [json_name = "numbersColor"];
* @param value The numbersColor to set.
*/
private void setNumbersColor(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
numbersColor_ = value;
}
/**
* string numbers_color = 4 [json_name = "numbersColor"];
*/
private void clearNumbersColor() {
numbersColor_ = getDefaultInstance().getNumbersColor();
}
/**
* string numbers_color = 4 [json_name = "numbersColor"];
* @param value The bytes for numbersColor to set.
*/
private void setNumbersColorBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
numbersColor_ = value.toStringUtf8();
}
public static final int RULES_FIELD_NUMBER = 5;
private com.google.protobuf.Internal.ProtobufList rules_;
/**
* repeated string rules = 5 [json_name = "rules"];
* @return A list containing the rules.
*/
@java.lang.Override
public java.util.List getRulesList() {
return rules_;
}
/**
* repeated string rules = 5 [json_name = "rules"];
* @return The count of rules.
*/
@java.lang.Override
public int getRulesCount() {
return rules_.size();
}
/**
* repeated string rules = 5 [json_name = "rules"];
* @param index The index of the element to return.
* @return The rules at the given index.
*/
@java.lang.Override
public java.lang.String getRules(int index) {
return rules_.get(index);
}
/**
* repeated string rules = 5 [json_name = "rules"];
* @param index The index of the value to return.
* @return The bytes of the rules at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRulesBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
rules_.get(index));
}
private void ensureRulesIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp =
rules_; if (!tmp.isModifiable()) {
rules_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated string rules = 5 [json_name = "rules"];
* @param index The index to set the value at.
* @param value The rules to set.
*/
private void setRules(
int index, java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
ensureRulesIsMutable();
rules_.set(index, value);
}
/**
* repeated string rules = 5 [json_name = "rules"];
* @param value The rules to add.
*/
private void addRules(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
ensureRulesIsMutable();
rules_.add(value);
}
/**
* repeated string rules = 5 [json_name = "rules"];
* @param values The rules to add.
*/
private void addAllRules(
java.lang.Iterable values) {
ensureRulesIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, rules_);
}
/**
* repeated string rules = 5 [json_name = "rules"];
*/
private void clearRules() {
rules_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* repeated string rules = 5 [json_name = "rules"];
* @param value The bytes of the rules to add.
*/
private void addRulesBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
ensureRulesIsMutable();
rules_.add(value.toStringUtf8());
}
public static final int COMPLETED_FIELD_NUMBER = 6;
private boolean completed_;
/**
* bool completed = 6 [json_name = "completed"];
* @return The completed.
*/
@java.lang.Override
public boolean getCompleted() {
return completed_;
}
/**
* bool completed = 6 [json_name = "completed"];
* @param value The completed to set.
*/
private void setCompleted(boolean value) {
completed_ = value;
}
/**
* bool completed = 6 [json_name = "completed"];
*/
private void clearCompleted() {
completed_ = false;
}
public static final int TERMS_FIELD_NUMBER = 7;
private java.lang.String terms_;
/**
* string terms = 7 [json_name = "terms"];
* @return The terms.
*/
@java.lang.Override
public java.lang.String getTerms() {
return terms_;
}
/**
* string terms = 7 [json_name = "terms"];
* @return The bytes for terms.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTermsBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(terms_);
}
/**
* string terms = 7 [json_name = "terms"];
* @param value The terms to set.
*/
private void setTerms(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
terms_ = value;
}
/**
* string terms = 7 [json_name = "terms"];
*/
private void clearTerms() {
terms_ = getDefaultInstance().getTerms();
}
/**
* string terms = 7 [json_name = "terms"];
* @param value The bytes for terms to set.
*/
private void setTermsBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
terms_ = value.toStringUtf8();
}
public static final int TERMS_URL_FIELD_NUMBER = 8;
private java.lang.String termsUrl_;
/**
* string terms_url = 8 [json_name = "termsUrl"];
* @return The termsUrl.
*/
@java.lang.Override
public java.lang.String getTermsUrl() {
return termsUrl_;
}
/**
* string terms_url = 8 [json_name = "termsUrl"];
* @return The bytes for termsUrl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTermsUrlBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(termsUrl_);
}
/**
* string terms_url = 8 [json_name = "termsUrl"];
* @param value The termsUrl to set.
*/
private void setTermsUrl(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
termsUrl_ = value;
}
/**
* string terms_url = 8 [json_name = "termsUrl"];
*/
private void clearTermsUrl() {
termsUrl_ = getDefaultInstance().getTermsUrl();
}
/**
* string terms_url = 8 [json_name = "termsUrl"];
* @param value The bytes for termsUrl to set.
*/
private void setTermsUrlBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
termsUrl_ = value.toStringUtf8();
}
public static com.streamlayer.sdkSettings.game.common.GameRules parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sdkSettings.game.common.GameRules parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.streamlayer.sdkSettings.game.common.GameRules parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sdkSettings.game.common.GameRules parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.streamlayer.sdkSettings.game.common.GameRules parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sdkSettings.game.common.GameRules parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.streamlayer.sdkSettings.game.common.GameRules parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sdkSettings.game.common.GameRules parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.sdkSettings.game.common.GameRules parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sdkSettings.game.common.GameRules parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.sdkSettings.game.common.GameRules parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sdkSettings.game.common.GameRules parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.streamlayer.sdkSettings.game.common.GameRules prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.sdkSettings.game.common.GameRules}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.sdkSettings.game.common.GameRules, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.sdkSettings.game.common.GameRules)
com.streamlayer.sdkSettings.game.common.GameRulesOrBuilder {
// Construct using com.streamlayer.sdkSettings.game.common.GameRules.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* string heading = 1 [json_name = "heading"];
* @return The heading.
*/
@java.lang.Override
public java.lang.String getHeading() {
return instance.getHeading();
}
/**
* string heading = 1 [json_name = "heading"];
* @return The bytes for heading.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getHeadingBytes() {
return instance.getHeadingBytes();
}
/**
* string heading = 1 [json_name = "heading"];
* @param value The heading to set.
* @return This builder for chaining.
*/
public Builder setHeading(
java.lang.String value) {
copyOnWrite();
instance.setHeading(value);
return this;
}
/**
* string heading = 1 [json_name = "heading"];
* @return This builder for chaining.
*/
public Builder clearHeading() {
copyOnWrite();
instance.clearHeading();
return this;
}
/**
* string heading = 1 [json_name = "heading"];
* @param value The bytes for heading to set.
* @return This builder for chaining.
*/
public Builder setHeadingBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setHeadingBytes(value);
return this;
}
/**
* string typeface = 2 [json_name = "typeface"];
* @return The typeface.
*/
@java.lang.Override
public java.lang.String getTypeface() {
return instance.getTypeface();
}
/**
* string typeface = 2 [json_name = "typeface"];
* @return The bytes for typeface.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTypefaceBytes() {
return instance.getTypefaceBytes();
}
/**
* string typeface = 2 [json_name = "typeface"];
* @param value The typeface to set.
* @return This builder for chaining.
*/
public Builder setTypeface(
java.lang.String value) {
copyOnWrite();
instance.setTypeface(value);
return this;
}
/**
* string typeface = 2 [json_name = "typeface"];
* @return This builder for chaining.
*/
public Builder clearTypeface() {
copyOnWrite();
instance.clearTypeface();
return this;
}
/**
* string typeface = 2 [json_name = "typeface"];
* @param value The bytes for typeface to set.
* @return This builder for chaining.
*/
public Builder setTypefaceBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setTypefaceBytes(value);
return this;
}
/**
* string button_label = 3 [json_name = "buttonLabel"];
* @return The buttonLabel.
*/
@java.lang.Override
public java.lang.String getButtonLabel() {
return instance.getButtonLabel();
}
/**
* string button_label = 3 [json_name = "buttonLabel"];
* @return The bytes for buttonLabel.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getButtonLabelBytes() {
return instance.getButtonLabelBytes();
}
/**
* string button_label = 3 [json_name = "buttonLabel"];
* @param value The buttonLabel to set.
* @return This builder for chaining.
*/
public Builder setButtonLabel(
java.lang.String value) {
copyOnWrite();
instance.setButtonLabel(value);
return this;
}
/**
* string button_label = 3 [json_name = "buttonLabel"];
* @return This builder for chaining.
*/
public Builder clearButtonLabel() {
copyOnWrite();
instance.clearButtonLabel();
return this;
}
/**
* string button_label = 3 [json_name = "buttonLabel"];
* @param value The bytes for buttonLabel to set.
* @return This builder for chaining.
*/
public Builder setButtonLabelBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setButtonLabelBytes(value);
return this;
}
/**
* string numbers_color = 4 [json_name = "numbersColor"];
* @return The numbersColor.
*/
@java.lang.Override
public java.lang.String getNumbersColor() {
return instance.getNumbersColor();
}
/**
* string numbers_color = 4 [json_name = "numbersColor"];
* @return The bytes for numbersColor.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNumbersColorBytes() {
return instance.getNumbersColorBytes();
}
/**
* string numbers_color = 4 [json_name = "numbersColor"];
* @param value The numbersColor to set.
* @return This builder for chaining.
*/
public Builder setNumbersColor(
java.lang.String value) {
copyOnWrite();
instance.setNumbersColor(value);
return this;
}
/**
* string numbers_color = 4 [json_name = "numbersColor"];
* @return This builder for chaining.
*/
public Builder clearNumbersColor() {
copyOnWrite();
instance.clearNumbersColor();
return this;
}
/**
* string numbers_color = 4 [json_name = "numbersColor"];
* @param value The bytes for numbersColor to set.
* @return This builder for chaining.
*/
public Builder setNumbersColorBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setNumbersColorBytes(value);
return this;
}
/**
* repeated string rules = 5 [json_name = "rules"];
* @return A list containing the rules.
*/
@java.lang.Override
public java.util.List
getRulesList() {
return java.util.Collections.unmodifiableList(
instance.getRulesList());
}
/**
* repeated string rules = 5 [json_name = "rules"];
* @return The count of rules.
*/
@java.lang.Override
public int getRulesCount() {
return instance.getRulesCount();
}
/**
* repeated string rules = 5 [json_name = "rules"];
* @param index The index of the element to return.
* @return The rules at the given index.
*/
@java.lang.Override
public java.lang.String getRules(int index) {
return instance.getRules(index);
}
/**
* repeated string rules = 5 [json_name = "rules"];
* @param index The index of the value to return.
* @return The bytes of the rules at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRulesBytes(int index) {
return instance.getRulesBytes(index);
}
/**
* repeated string rules = 5 [json_name = "rules"];
* @param index The index to set the value at.
* @param value The rules to set.
* @return This builder for chaining.
*/
public Builder setRules(
int index, java.lang.String value) {
copyOnWrite();
instance.setRules(index, value);
return this;
}
/**
* repeated string rules = 5 [json_name = "rules"];
* @param value The rules to add.
* @return This builder for chaining.
*/
public Builder addRules(
java.lang.String value) {
copyOnWrite();
instance.addRules(value);
return this;
}
/**
* repeated string rules = 5 [json_name = "rules"];
* @param values The rules to add.
* @return This builder for chaining.
*/
public Builder addAllRules(
java.lang.Iterable values) {
copyOnWrite();
instance.addAllRules(values);
return this;
}
/**
* repeated string rules = 5 [json_name = "rules"];
* @return This builder for chaining.
*/
public Builder clearRules() {
copyOnWrite();
instance.clearRules();
return this;
}
/**
* repeated string rules = 5 [json_name = "rules"];
* @param value The bytes of the rules to add.
* @return This builder for chaining.
*/
public Builder addRulesBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addRulesBytes(value);
return this;
}
/**
* bool completed = 6 [json_name = "completed"];
* @return The completed.
*/
@java.lang.Override
public boolean getCompleted() {
return instance.getCompleted();
}
/**
* bool completed = 6 [json_name = "completed"];
* @param value The completed to set.
* @return This builder for chaining.
*/
public Builder setCompleted(boolean value) {
copyOnWrite();
instance.setCompleted(value);
return this;
}
/**
* bool completed = 6 [json_name = "completed"];
* @return This builder for chaining.
*/
public Builder clearCompleted() {
copyOnWrite();
instance.clearCompleted();
return this;
}
/**
* string terms = 7 [json_name = "terms"];
* @return The terms.
*/
@java.lang.Override
public java.lang.String getTerms() {
return instance.getTerms();
}
/**
* string terms = 7 [json_name = "terms"];
* @return The bytes for terms.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTermsBytes() {
return instance.getTermsBytes();
}
/**
* string terms = 7 [json_name = "terms"];
* @param value The terms to set.
* @return This builder for chaining.
*/
public Builder setTerms(
java.lang.String value) {
copyOnWrite();
instance.setTerms(value);
return this;
}
/**
* string terms = 7 [json_name = "terms"];
* @return This builder for chaining.
*/
public Builder clearTerms() {
copyOnWrite();
instance.clearTerms();
return this;
}
/**
* string terms = 7 [json_name = "terms"];
* @param value The bytes for terms to set.
* @return This builder for chaining.
*/
public Builder setTermsBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setTermsBytes(value);
return this;
}
/**
* string terms_url = 8 [json_name = "termsUrl"];
* @return The termsUrl.
*/
@java.lang.Override
public java.lang.String getTermsUrl() {
return instance.getTermsUrl();
}
/**
* string terms_url = 8 [json_name = "termsUrl"];
* @return The bytes for termsUrl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTermsUrlBytes() {
return instance.getTermsUrlBytes();
}
/**
* string terms_url = 8 [json_name = "termsUrl"];
* @param value The termsUrl to set.
* @return This builder for chaining.
*/
public Builder setTermsUrl(
java.lang.String value) {
copyOnWrite();
instance.setTermsUrl(value);
return this;
}
/**
* string terms_url = 8 [json_name = "termsUrl"];
* @return This builder for chaining.
*/
public Builder clearTermsUrl() {
copyOnWrite();
instance.clearTermsUrl();
return this;
}
/**
* string terms_url = 8 [json_name = "termsUrl"];
* @param value The bytes for termsUrl to set.
* @return This builder for chaining.
*/
public Builder setTermsUrlBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setTermsUrlBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.sdkSettings.game.common.GameRules)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.streamlayer.sdkSettings.game.common.GameRules();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"heading_",
"typeface_",
"buttonLabel_",
"numbersColor_",
"rules_",
"completed_",
"terms_",
"termsUrl_",
};
java.lang.String info =
"\u0000\b\u0000\u0000\u0001\b\b\u0000\u0001\u0000\u0001\u0208\u0002\u0208\u0003\u0208" +
"\u0004\u0208\u0005\u021a\u0006\u0007\u0007\u0208\b\u0208";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.streamlayer.sdkSettings.game.common.GameRules.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:streamlayer.sdkSettings.game.common.GameRules)
private static final com.streamlayer.sdkSettings.game.common.GameRules DEFAULT_INSTANCE;
static {
GameRules defaultInstance = new GameRules();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
GameRules.class, defaultInstance);
}
public static com.streamlayer.sdkSettings.game.common.GameRules getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}