main.java.com.streamlayer.sdkSettings.game.common.GameSettings 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.GameSettings}
*/
public final class GameSettings extends
com.google.protobuf.GeneratedMessageLite<
GameSettings, GameSettings.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.sdkSettings.game.common.GameSettings)
GameSettingsOrBuilder {
private GameSettings() {
}
private int bitField0_;
public static final int OVERVIEW_FIELD_NUMBER = 1;
private com.streamlayer.sdkSettings.game.common.GameOverview overview_;
/**
* .streamlayer.sdkSettings.game.common.GameOverview overview = 1 [json_name = "overview"];
*/
@java.lang.Override
public boolean hasOverview() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .streamlayer.sdkSettings.game.common.GameOverview overview = 1 [json_name = "overview"];
*/
@java.lang.Override
public com.streamlayer.sdkSettings.game.common.GameOverview getOverview() {
return overview_ == null ? com.streamlayer.sdkSettings.game.common.GameOverview.getDefaultInstance() : overview_;
}
/**
* .streamlayer.sdkSettings.game.common.GameOverview overview = 1 [json_name = "overview"];
*/
private void setOverview(com.streamlayer.sdkSettings.game.common.GameOverview value) {
value.getClass();
overview_ = value;
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sdkSettings.game.common.GameOverview overview = 1 [json_name = "overview"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeOverview(com.streamlayer.sdkSettings.game.common.GameOverview value) {
value.getClass();
if (overview_ != null &&
overview_ != com.streamlayer.sdkSettings.game.common.GameOverview.getDefaultInstance()) {
overview_ =
com.streamlayer.sdkSettings.game.common.GameOverview.newBuilder(overview_).mergeFrom(value).buildPartial();
} else {
overview_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sdkSettings.game.common.GameOverview overview = 1 [json_name = "overview"];
*/
private void clearOverview() { overview_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static final int TITLE_CARD_FIELD_NUMBER = 2;
private com.streamlayer.sdkSettings.game.common.GameTitleCard titleCard_;
/**
* .streamlayer.sdkSettings.game.common.GameTitleCard title_card = 2 [json_name = "titleCard"];
*/
@java.lang.Override
public boolean hasTitleCard() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* .streamlayer.sdkSettings.game.common.GameTitleCard title_card = 2 [json_name = "titleCard"];
*/
@java.lang.Override
public com.streamlayer.sdkSettings.game.common.GameTitleCard getTitleCard() {
return titleCard_ == null ? com.streamlayer.sdkSettings.game.common.GameTitleCard.getDefaultInstance() : titleCard_;
}
/**
* .streamlayer.sdkSettings.game.common.GameTitleCard title_card = 2 [json_name = "titleCard"];
*/
private void setTitleCard(com.streamlayer.sdkSettings.game.common.GameTitleCard value) {
value.getClass();
titleCard_ = value;
bitField0_ |= 0x00000002;
}
/**
* .streamlayer.sdkSettings.game.common.GameTitleCard title_card = 2 [json_name = "titleCard"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeTitleCard(com.streamlayer.sdkSettings.game.common.GameTitleCard value) {
value.getClass();
if (titleCard_ != null &&
titleCard_ != com.streamlayer.sdkSettings.game.common.GameTitleCard.getDefaultInstance()) {
titleCard_ =
com.streamlayer.sdkSettings.game.common.GameTitleCard.newBuilder(titleCard_).mergeFrom(value).buildPartial();
} else {
titleCard_ = value;
}
bitField0_ |= 0x00000002;
}
/**
* .streamlayer.sdkSettings.game.common.GameTitleCard title_card = 2 [json_name = "titleCard"];
*/
private void clearTitleCard() { titleCard_ = null;
bitField0_ = (bitField0_ & ~0x00000002);
}
public static final int ONBOARDING_FIELD_NUMBER = 3;
private com.streamlayer.sdkSettings.game.common.GameOnboarding onboarding_;
/**
* .streamlayer.sdkSettings.game.common.GameOnboarding onboarding = 3 [json_name = "onboarding"];
*/
@java.lang.Override
public boolean hasOnboarding() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* .streamlayer.sdkSettings.game.common.GameOnboarding onboarding = 3 [json_name = "onboarding"];
*/
@java.lang.Override
public com.streamlayer.sdkSettings.game.common.GameOnboarding getOnboarding() {
return onboarding_ == null ? com.streamlayer.sdkSettings.game.common.GameOnboarding.getDefaultInstance() : onboarding_;
}
/**
* .streamlayer.sdkSettings.game.common.GameOnboarding onboarding = 3 [json_name = "onboarding"];
*/
private void setOnboarding(com.streamlayer.sdkSettings.game.common.GameOnboarding value) {
value.getClass();
onboarding_ = value;
bitField0_ |= 0x00000004;
}
/**
* .streamlayer.sdkSettings.game.common.GameOnboarding onboarding = 3 [json_name = "onboarding"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeOnboarding(com.streamlayer.sdkSettings.game.common.GameOnboarding value) {
value.getClass();
if (onboarding_ != null &&
onboarding_ != com.streamlayer.sdkSettings.game.common.GameOnboarding.getDefaultInstance()) {
onboarding_ =
com.streamlayer.sdkSettings.game.common.GameOnboarding.newBuilder(onboarding_).mergeFrom(value).buildPartial();
} else {
onboarding_ = value;
}
bitField0_ |= 0x00000004;
}
/**
* .streamlayer.sdkSettings.game.common.GameOnboarding onboarding = 3 [json_name = "onboarding"];
*/
private void clearOnboarding() { onboarding_ = null;
bitField0_ = (bitField0_ & ~0x00000004);
}
public static final int RULES_FIELD_NUMBER = 4;
private com.streamlayer.sdkSettings.game.common.GameRules rules_;
/**
* .streamlayer.sdkSettings.game.common.GameRules rules = 4 [json_name = "rules"];
*/
@java.lang.Override
public boolean hasRules() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* .streamlayer.sdkSettings.game.common.GameRules rules = 4 [json_name = "rules"];
*/
@java.lang.Override
public com.streamlayer.sdkSettings.game.common.GameRules getRules() {
return rules_ == null ? com.streamlayer.sdkSettings.game.common.GameRules.getDefaultInstance() : rules_;
}
/**
* .streamlayer.sdkSettings.game.common.GameRules rules = 4 [json_name = "rules"];
*/
private void setRules(com.streamlayer.sdkSettings.game.common.GameRules value) {
value.getClass();
rules_ = value;
bitField0_ |= 0x00000008;
}
/**
* .streamlayer.sdkSettings.game.common.GameRules rules = 4 [json_name = "rules"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeRules(com.streamlayer.sdkSettings.game.common.GameRules value) {
value.getClass();
if (rules_ != null &&
rules_ != com.streamlayer.sdkSettings.game.common.GameRules.getDefaultInstance()) {
rules_ =
com.streamlayer.sdkSettings.game.common.GameRules.newBuilder(rules_).mergeFrom(value).buildPartial();
} else {
rules_ = value;
}
bitField0_ |= 0x00000008;
}
/**
* .streamlayer.sdkSettings.game.common.GameRules rules = 4 [json_name = "rules"];
*/
private void clearRules() { rules_ = null;
bitField0_ = (bitField0_ & ~0x00000008);
}
public static final int INVITE_CARD_FIELD_NUMBER = 5;
private com.streamlayer.sdkSettings.game.common.GameInviteCard inviteCard_;
/**
* .streamlayer.sdkSettings.game.common.GameInviteCard invite_card = 5 [json_name = "inviteCard"];
*/
@java.lang.Override
public boolean hasInviteCard() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* .streamlayer.sdkSettings.game.common.GameInviteCard invite_card = 5 [json_name = "inviteCard"];
*/
@java.lang.Override
public com.streamlayer.sdkSettings.game.common.GameInviteCard getInviteCard() {
return inviteCard_ == null ? com.streamlayer.sdkSettings.game.common.GameInviteCard.getDefaultInstance() : inviteCard_;
}
/**
* .streamlayer.sdkSettings.game.common.GameInviteCard invite_card = 5 [json_name = "inviteCard"];
*/
private void setInviteCard(com.streamlayer.sdkSettings.game.common.GameInviteCard value) {
value.getClass();
inviteCard_ = value;
bitField0_ |= 0x00000010;
}
/**
* .streamlayer.sdkSettings.game.common.GameInviteCard invite_card = 5 [json_name = "inviteCard"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeInviteCard(com.streamlayer.sdkSettings.game.common.GameInviteCard value) {
value.getClass();
if (inviteCard_ != null &&
inviteCard_ != com.streamlayer.sdkSettings.game.common.GameInviteCard.getDefaultInstance()) {
inviteCard_ =
com.streamlayer.sdkSettings.game.common.GameInviteCard.newBuilder(inviteCard_).mergeFrom(value).buildPartial();
} else {
inviteCard_ = value;
}
bitField0_ |= 0x00000010;
}
/**
* .streamlayer.sdkSettings.game.common.GameInviteCard invite_card = 5 [json_name = "inviteCard"];
*/
private void clearInviteCard() { inviteCard_ = null;
bitField0_ = (bitField0_ & ~0x00000010);
}
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 ENABLE_FIELD_NUMBER = 7;
private boolean enable_;
/**
* bool enable = 7 [json_name = "enable"];
* @return The enable.
*/
@java.lang.Override
public boolean getEnable() {
return enable_;
}
/**
* bool enable = 7 [json_name = "enable"];
* @param value The enable to set.
*/
private void setEnable(boolean value) {
enable_ = value;
}
/**
* bool enable = 7 [json_name = "enable"];
*/
private void clearEnable() {
enable_ = false;
}
public static com.streamlayer.sdkSettings.game.common.GameSettings 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.GameSettings 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.GameSettings 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.GameSettings 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.GameSettings parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sdkSettings.game.common.GameSettings 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.GameSettings 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.GameSettings 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.GameSettings parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sdkSettings.game.common.GameSettings 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.GameSettings 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.GameSettings 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.GameSettings prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.sdkSettings.game.common.GameSettings}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.sdkSettings.game.common.GameSettings, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.sdkSettings.game.common.GameSettings)
com.streamlayer.sdkSettings.game.common.GameSettingsOrBuilder {
// Construct using com.streamlayer.sdkSettings.game.common.GameSettings.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* .streamlayer.sdkSettings.game.common.GameOverview overview = 1 [json_name = "overview"];
*/
@java.lang.Override
public boolean hasOverview() {
return instance.hasOverview();
}
/**
* .streamlayer.sdkSettings.game.common.GameOverview overview = 1 [json_name = "overview"];
*/
@java.lang.Override
public com.streamlayer.sdkSettings.game.common.GameOverview getOverview() {
return instance.getOverview();
}
/**
* .streamlayer.sdkSettings.game.common.GameOverview overview = 1 [json_name = "overview"];
*/
public Builder setOverview(com.streamlayer.sdkSettings.game.common.GameOverview value) {
copyOnWrite();
instance.setOverview(value);
return this;
}
/**
* .streamlayer.sdkSettings.game.common.GameOverview overview = 1 [json_name = "overview"];
*/
public Builder setOverview(
com.streamlayer.sdkSettings.game.common.GameOverview.Builder builderForValue) {
copyOnWrite();
instance.setOverview(builderForValue.build());
return this;
}
/**
* .streamlayer.sdkSettings.game.common.GameOverview overview = 1 [json_name = "overview"];
*/
public Builder mergeOverview(com.streamlayer.sdkSettings.game.common.GameOverview value) {
copyOnWrite();
instance.mergeOverview(value);
return this;
}
/**
* .streamlayer.sdkSettings.game.common.GameOverview overview = 1 [json_name = "overview"];
*/
public Builder clearOverview() { copyOnWrite();
instance.clearOverview();
return this;
}
/**
* .streamlayer.sdkSettings.game.common.GameTitleCard title_card = 2 [json_name = "titleCard"];
*/
@java.lang.Override
public boolean hasTitleCard() {
return instance.hasTitleCard();
}
/**
* .streamlayer.sdkSettings.game.common.GameTitleCard title_card = 2 [json_name = "titleCard"];
*/
@java.lang.Override
public com.streamlayer.sdkSettings.game.common.GameTitleCard getTitleCard() {
return instance.getTitleCard();
}
/**
* .streamlayer.sdkSettings.game.common.GameTitleCard title_card = 2 [json_name = "titleCard"];
*/
public Builder setTitleCard(com.streamlayer.sdkSettings.game.common.GameTitleCard value) {
copyOnWrite();
instance.setTitleCard(value);
return this;
}
/**
* .streamlayer.sdkSettings.game.common.GameTitleCard title_card = 2 [json_name = "titleCard"];
*/
public Builder setTitleCard(
com.streamlayer.sdkSettings.game.common.GameTitleCard.Builder builderForValue) {
copyOnWrite();
instance.setTitleCard(builderForValue.build());
return this;
}
/**
* .streamlayer.sdkSettings.game.common.GameTitleCard title_card = 2 [json_name = "titleCard"];
*/
public Builder mergeTitleCard(com.streamlayer.sdkSettings.game.common.GameTitleCard value) {
copyOnWrite();
instance.mergeTitleCard(value);
return this;
}
/**
* .streamlayer.sdkSettings.game.common.GameTitleCard title_card = 2 [json_name = "titleCard"];
*/
public Builder clearTitleCard() { copyOnWrite();
instance.clearTitleCard();
return this;
}
/**
* .streamlayer.sdkSettings.game.common.GameOnboarding onboarding = 3 [json_name = "onboarding"];
*/
@java.lang.Override
public boolean hasOnboarding() {
return instance.hasOnboarding();
}
/**
* .streamlayer.sdkSettings.game.common.GameOnboarding onboarding = 3 [json_name = "onboarding"];
*/
@java.lang.Override
public com.streamlayer.sdkSettings.game.common.GameOnboarding getOnboarding() {
return instance.getOnboarding();
}
/**
* .streamlayer.sdkSettings.game.common.GameOnboarding onboarding = 3 [json_name = "onboarding"];
*/
public Builder setOnboarding(com.streamlayer.sdkSettings.game.common.GameOnboarding value) {
copyOnWrite();
instance.setOnboarding(value);
return this;
}
/**
* .streamlayer.sdkSettings.game.common.GameOnboarding onboarding = 3 [json_name = "onboarding"];
*/
public Builder setOnboarding(
com.streamlayer.sdkSettings.game.common.GameOnboarding.Builder builderForValue) {
copyOnWrite();
instance.setOnboarding(builderForValue.build());
return this;
}
/**
* .streamlayer.sdkSettings.game.common.GameOnboarding onboarding = 3 [json_name = "onboarding"];
*/
public Builder mergeOnboarding(com.streamlayer.sdkSettings.game.common.GameOnboarding value) {
copyOnWrite();
instance.mergeOnboarding(value);
return this;
}
/**
* .streamlayer.sdkSettings.game.common.GameOnboarding onboarding = 3 [json_name = "onboarding"];
*/
public Builder clearOnboarding() { copyOnWrite();
instance.clearOnboarding();
return this;
}
/**
* .streamlayer.sdkSettings.game.common.GameRules rules = 4 [json_name = "rules"];
*/
@java.lang.Override
public boolean hasRules() {
return instance.hasRules();
}
/**
* .streamlayer.sdkSettings.game.common.GameRules rules = 4 [json_name = "rules"];
*/
@java.lang.Override
public com.streamlayer.sdkSettings.game.common.GameRules getRules() {
return instance.getRules();
}
/**
* .streamlayer.sdkSettings.game.common.GameRules rules = 4 [json_name = "rules"];
*/
public Builder setRules(com.streamlayer.sdkSettings.game.common.GameRules value) {
copyOnWrite();
instance.setRules(value);
return this;
}
/**
* .streamlayer.sdkSettings.game.common.GameRules rules = 4 [json_name = "rules"];
*/
public Builder setRules(
com.streamlayer.sdkSettings.game.common.GameRules.Builder builderForValue) {
copyOnWrite();
instance.setRules(builderForValue.build());
return this;
}
/**
* .streamlayer.sdkSettings.game.common.GameRules rules = 4 [json_name = "rules"];
*/
public Builder mergeRules(com.streamlayer.sdkSettings.game.common.GameRules value) {
copyOnWrite();
instance.mergeRules(value);
return this;
}
/**
* .streamlayer.sdkSettings.game.common.GameRules rules = 4 [json_name = "rules"];
*/
public Builder clearRules() { copyOnWrite();
instance.clearRules();
return this;
}
/**
* .streamlayer.sdkSettings.game.common.GameInviteCard invite_card = 5 [json_name = "inviteCard"];
*/
@java.lang.Override
public boolean hasInviteCard() {
return instance.hasInviteCard();
}
/**
* .streamlayer.sdkSettings.game.common.GameInviteCard invite_card = 5 [json_name = "inviteCard"];
*/
@java.lang.Override
public com.streamlayer.sdkSettings.game.common.GameInviteCard getInviteCard() {
return instance.getInviteCard();
}
/**
* .streamlayer.sdkSettings.game.common.GameInviteCard invite_card = 5 [json_name = "inviteCard"];
*/
public Builder setInviteCard(com.streamlayer.sdkSettings.game.common.GameInviteCard value) {
copyOnWrite();
instance.setInviteCard(value);
return this;
}
/**
* .streamlayer.sdkSettings.game.common.GameInviteCard invite_card = 5 [json_name = "inviteCard"];
*/
public Builder setInviteCard(
com.streamlayer.sdkSettings.game.common.GameInviteCard.Builder builderForValue) {
copyOnWrite();
instance.setInviteCard(builderForValue.build());
return this;
}
/**
* .streamlayer.sdkSettings.game.common.GameInviteCard invite_card = 5 [json_name = "inviteCard"];
*/
public Builder mergeInviteCard(com.streamlayer.sdkSettings.game.common.GameInviteCard value) {
copyOnWrite();
instance.mergeInviteCard(value);
return this;
}
/**
* .streamlayer.sdkSettings.game.common.GameInviteCard invite_card = 5 [json_name = "inviteCard"];
*/
public Builder clearInviteCard() { copyOnWrite();
instance.clearInviteCard();
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;
}
/**
* bool enable = 7 [json_name = "enable"];
* @return The enable.
*/
@java.lang.Override
public boolean getEnable() {
return instance.getEnable();
}
/**
* bool enable = 7 [json_name = "enable"];
* @param value The enable to set.
* @return This builder for chaining.
*/
public Builder setEnable(boolean value) {
copyOnWrite();
instance.setEnable(value);
return this;
}
/**
* bool enable = 7 [json_name = "enable"];
* @return This builder for chaining.
*/
public Builder clearEnable() {
copyOnWrite();
instance.clearEnable();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.sdkSettings.game.common.GameSettings)
}
@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.GameSettings();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"overview_",
"titleCard_",
"onboarding_",
"rules_",
"inviteCard_",
"completed_",
"enable_",
};
java.lang.String info =
"\u0000\u0007\u0000\u0001\u0001\u0007\u0007\u0000\u0000\u0000\u0001\u1009\u0000\u0002" +
"\u1009\u0001\u0003\u1009\u0002\u0004\u1009\u0003\u0005\u1009\u0004\u0006\u0007\u0007" +
"\u0007";
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.GameSettings.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.GameSettings)
private static final com.streamlayer.sdkSettings.game.common.GameSettings DEFAULT_INSTANCE;
static {
GameSettings defaultInstance = new GameSettings();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
GameSettings.class, defaultInstance);
}
public static com.streamlayer.sdkSettings.game.common.GameSettings getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}