main.java.com.streamlayer.sdkSettings.common.BettingOverlaySettings 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/sdkSettings.common.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.sdkSettings.common;
/**
* Protobuf type {@code streamlayer.sdkSettings.BettingOverlaySettings}
*/
public final class BettingOverlaySettings extends
com.google.protobuf.GeneratedMessageLite<
BettingOverlaySettings, BettingOverlaySettings.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.sdkSettings.BettingOverlaySettings)
BettingOverlaySettingsOrBuilder {
private BettingOverlaySettings() {
favorites_ = emptyProtobufList();
primaryColor_ = "";
buttonIcon_ = "";
appInstalledText_ = "";
appNotInstalledText_ = "";
textColorCustom_ = "";
}
private int bitField0_;
public static final int FAVORITES_FIELD_NUMBER = 1;
private com.google.protobuf.Internal.ProtobufList favorites_;
/**
* repeated .streamlayer.sdkSettings.BettingFavorite favorites = 1 [json_name = "favorites", deprecated = true];
*/
@java.lang.Override
@java.lang.Deprecated public java.util.List getFavoritesList() {
return favorites_;
}
/**
* repeated .streamlayer.sdkSettings.BettingFavorite favorites = 1 [json_name = "favorites", deprecated = true];
*/
@java.lang.Deprecated public java.util.List extends com.streamlayer.sdkSettings.common.BettingFavoriteOrBuilder>
getFavoritesOrBuilderList() {
return favorites_;
}
/**
* repeated .streamlayer.sdkSettings.BettingFavorite favorites = 1 [json_name = "favorites", deprecated = true];
*/
@java.lang.Override
@java.lang.Deprecated public int getFavoritesCount() {
return favorites_.size();
}
/**
* repeated .streamlayer.sdkSettings.BettingFavorite favorites = 1 [json_name = "favorites", deprecated = true];
*/
@java.lang.Override
@java.lang.Deprecated public com.streamlayer.sdkSettings.common.BettingFavorite getFavorites(int index) {
return favorites_.get(index);
}
/**
* repeated .streamlayer.sdkSettings.BettingFavorite favorites = 1 [json_name = "favorites", deprecated = true];
*/
@java.lang.Deprecated public com.streamlayer.sdkSettings.common.BettingFavoriteOrBuilder getFavoritesOrBuilder(
int index) {
return favorites_.get(index);
}
private void ensureFavoritesIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = favorites_;
if (!tmp.isModifiable()) {
favorites_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .streamlayer.sdkSettings.BettingFavorite favorites = 1 [json_name = "favorites", deprecated = true];
*/
private void setFavorites(
int index, com.streamlayer.sdkSettings.common.BettingFavorite value) {
value.getClass();
ensureFavoritesIsMutable();
favorites_.set(index, value);
}
/**
* repeated .streamlayer.sdkSettings.BettingFavorite favorites = 1 [json_name = "favorites", deprecated = true];
*/
private void addFavorites(com.streamlayer.sdkSettings.common.BettingFavorite value) {
value.getClass();
ensureFavoritesIsMutable();
favorites_.add(value);
}
/**
* repeated .streamlayer.sdkSettings.BettingFavorite favorites = 1 [json_name = "favorites", deprecated = true];
*/
private void addFavorites(
int index, com.streamlayer.sdkSettings.common.BettingFavorite value) {
value.getClass();
ensureFavoritesIsMutable();
favorites_.add(index, value);
}
/**
* repeated .streamlayer.sdkSettings.BettingFavorite favorites = 1 [json_name = "favorites", deprecated = true];
*/
private void addAllFavorites(
java.lang.Iterable extends com.streamlayer.sdkSettings.common.BettingFavorite> values) {
ensureFavoritesIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, favorites_);
}
/**
* repeated .streamlayer.sdkSettings.BettingFavorite favorites = 1 [json_name = "favorites", deprecated = true];
*/
private void clearFavorites() {
favorites_ = emptyProtobufList();
}
/**
* repeated .streamlayer.sdkSettings.BettingFavorite favorites = 1 [json_name = "favorites", deprecated = true];
*/
private void removeFavorites(int index) {
ensureFavoritesIsMutable();
favorites_.remove(index);
}
public static final int PRIMARY_COLOR_FIELD_NUMBER = 2;
private java.lang.String primaryColor_;
/**
* string primary_color = 2 [json_name = "primaryColor"];
* @return The primaryColor.
*/
@java.lang.Override
public java.lang.String getPrimaryColor() {
return primaryColor_;
}
/**
* string primary_color = 2 [json_name = "primaryColor"];
* @return The bytes for primaryColor.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPrimaryColorBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(primaryColor_);
}
/**
* string primary_color = 2 [json_name = "primaryColor"];
* @param value The primaryColor to set.
*/
private void setPrimaryColor(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
primaryColor_ = value;
}
/**
* string primary_color = 2 [json_name = "primaryColor"];
*/
private void clearPrimaryColor() {
primaryColor_ = getDefaultInstance().getPrimaryColor();
}
/**
* string primary_color = 2 [json_name = "primaryColor"];
* @param value The bytes for primaryColor to set.
*/
private void setPrimaryColorBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
primaryColor_ = value.toStringUtf8();
}
public static final int BUTTON_ICON_FIELD_NUMBER = 3;
private java.lang.String buttonIcon_;
/**
* string button_icon = 3 [json_name = "buttonIcon", deprecated = true];
* @deprecated streamlayer.sdkSettings.BettingOverlaySettings.button_icon is deprecated.
* See streamlayer/sdkSettings/sdkSettings.common.proto;l=78
* @return The buttonIcon.
*/
@java.lang.Override
@java.lang.Deprecated public java.lang.String getButtonIcon() {
return buttonIcon_;
}
/**
* string button_icon = 3 [json_name = "buttonIcon", deprecated = true];
* @deprecated streamlayer.sdkSettings.BettingOverlaySettings.button_icon is deprecated.
* See streamlayer/sdkSettings/sdkSettings.common.proto;l=78
* @return The bytes for buttonIcon.
*/
@java.lang.Override
@java.lang.Deprecated public com.google.protobuf.ByteString
getButtonIconBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(buttonIcon_);
}
/**
* string button_icon = 3 [json_name = "buttonIcon", deprecated = true];
* @deprecated streamlayer.sdkSettings.BettingOverlaySettings.button_icon is deprecated.
* See streamlayer/sdkSettings/sdkSettings.common.proto;l=78
* @param value The buttonIcon to set.
*/
private void setButtonIcon(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
buttonIcon_ = value;
}
/**
* string button_icon = 3 [json_name = "buttonIcon", deprecated = true];
* @deprecated streamlayer.sdkSettings.BettingOverlaySettings.button_icon is deprecated.
* See streamlayer/sdkSettings/sdkSettings.common.proto;l=78
*/
private void clearButtonIcon() {
buttonIcon_ = getDefaultInstance().getButtonIcon();
}
/**
* string button_icon = 3 [json_name = "buttonIcon", deprecated = true];
* @deprecated streamlayer.sdkSettings.BettingOverlaySettings.button_icon is deprecated.
* See streamlayer/sdkSettings/sdkSettings.common.proto;l=78
* @param value The bytes for buttonIcon to set.
*/
private void setButtonIconBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
buttonIcon_ = value.toStringUtf8();
}
public static final int TEXT_COLOR_FIELD_NUMBER = 4;
private int textColor_;
/**
* .streamlayer.sdkSettings.BettingSettingsTextColor text_color = 4 [json_name = "textColor"];
* @return The enum numeric value on the wire for textColor.
*/
@java.lang.Override
public int getTextColorValue() {
return textColor_;
}
/**
* .streamlayer.sdkSettings.BettingSettingsTextColor text_color = 4 [json_name = "textColor"];
* @return The textColor.
*/
@java.lang.Override
public com.streamlayer.sdkSettings.common.BettingSettingsTextColor getTextColor() {
com.streamlayer.sdkSettings.common.BettingSettingsTextColor result = com.streamlayer.sdkSettings.common.BettingSettingsTextColor.forNumber(textColor_);
return result == null ? com.streamlayer.sdkSettings.common.BettingSettingsTextColor.UNRECOGNIZED : result;
}
/**
* .streamlayer.sdkSettings.BettingSettingsTextColor text_color = 4 [json_name = "textColor"];
* @param value The enum numeric value on the wire for textColor to set.
*/
private void setTextColorValue(int value) {
textColor_ = value;
}
/**
* .streamlayer.sdkSettings.BettingSettingsTextColor text_color = 4 [json_name = "textColor"];
* @param value The textColor to set.
*/
private void setTextColor(com.streamlayer.sdkSettings.common.BettingSettingsTextColor value) {
textColor_ = value.getNumber();
}
/**
* .streamlayer.sdkSettings.BettingSettingsTextColor text_color = 4 [json_name = "textColor"];
*/
private void clearTextColor() {
textColor_ = 0;
}
public static final int APP_INSTALLED_TEXT_FIELD_NUMBER = 5;
private java.lang.String appInstalledText_;
/**
* string app_installed_text = 5 [json_name = "appInstalledText"];
* @return The appInstalledText.
*/
@java.lang.Override
public java.lang.String getAppInstalledText() {
return appInstalledText_;
}
/**
* string app_installed_text = 5 [json_name = "appInstalledText"];
* @return The bytes for appInstalledText.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAppInstalledTextBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(appInstalledText_);
}
/**
* string app_installed_text = 5 [json_name = "appInstalledText"];
* @param value The appInstalledText to set.
*/
private void setAppInstalledText(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
appInstalledText_ = value;
}
/**
* string app_installed_text = 5 [json_name = "appInstalledText"];
*/
private void clearAppInstalledText() {
appInstalledText_ = getDefaultInstance().getAppInstalledText();
}
/**
* string app_installed_text = 5 [json_name = "appInstalledText"];
* @param value The bytes for appInstalledText to set.
*/
private void setAppInstalledTextBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
appInstalledText_ = value.toStringUtf8();
}
public static final int APP_NOT_INSTALLED_TEXT_FIELD_NUMBER = 6;
private java.lang.String appNotInstalledText_;
/**
* string app_not_installed_text = 6 [json_name = "appNotInstalledText"];
* @return The appNotInstalledText.
*/
@java.lang.Override
public java.lang.String getAppNotInstalledText() {
return appNotInstalledText_;
}
/**
* string app_not_installed_text = 6 [json_name = "appNotInstalledText"];
* @return The bytes for appNotInstalledText.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAppNotInstalledTextBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(appNotInstalledText_);
}
/**
* string app_not_installed_text = 6 [json_name = "appNotInstalledText"];
* @param value The appNotInstalledText to set.
*/
private void setAppNotInstalledText(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
appNotInstalledText_ = value;
}
/**
* string app_not_installed_text = 6 [json_name = "appNotInstalledText"];
*/
private void clearAppNotInstalledText() {
appNotInstalledText_ = getDefaultInstance().getAppNotInstalledText();
}
/**
* string app_not_installed_text = 6 [json_name = "appNotInstalledText"];
* @param value The bytes for appNotInstalledText to set.
*/
private void setAppNotInstalledTextBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
appNotInstalledText_ = value.toStringUtf8();
}
public static final int TEXT_COLOR_CUSTOM_FIELD_NUMBER = 7;
private java.lang.String textColorCustom_;
/**
* string text_color_custom = 7 [json_name = "textColorCustom"];
* @return The textColorCustom.
*/
@java.lang.Override
public java.lang.String getTextColorCustom() {
return textColorCustom_;
}
/**
* string text_color_custom = 7 [json_name = "textColorCustom"];
* @return The bytes for textColorCustom.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTextColorCustomBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(textColorCustom_);
}
/**
* string text_color_custom = 7 [json_name = "textColorCustom"];
* @param value The textColorCustom to set.
*/
private void setTextColorCustom(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
textColorCustom_ = value;
}
/**
* string text_color_custom = 7 [json_name = "textColorCustom"];
*/
private void clearTextColorCustom() {
textColorCustom_ = getDefaultInstance().getTextColorCustom();
}
/**
* string text_color_custom = 7 [json_name = "textColorCustom"];
* @param value The bytes for textColorCustom to set.
*/
private void setTextColorCustomBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
textColorCustom_ = value.toStringUtf8();
}
public static final int CTA_IMAGE_FIELD_NUMBER = 8;
private com.streamlayer.sdkSettings.common.CtaImage ctaImage_;
/**
* .streamlayer.sdkSettings.CtaImage cta_image = 8 [json_name = "ctaImage"];
*/
@java.lang.Override
public boolean hasCtaImage() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .streamlayer.sdkSettings.CtaImage cta_image = 8 [json_name = "ctaImage"];
*/
@java.lang.Override
public com.streamlayer.sdkSettings.common.CtaImage getCtaImage() {
return ctaImage_ == null ? com.streamlayer.sdkSettings.common.CtaImage.getDefaultInstance() : ctaImage_;
}
/**
* .streamlayer.sdkSettings.CtaImage cta_image = 8 [json_name = "ctaImage"];
*/
private void setCtaImage(com.streamlayer.sdkSettings.common.CtaImage value) {
value.getClass();
ctaImage_ = value;
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sdkSettings.CtaImage cta_image = 8 [json_name = "ctaImage"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeCtaImage(com.streamlayer.sdkSettings.common.CtaImage value) {
value.getClass();
if (ctaImage_ != null &&
ctaImage_ != com.streamlayer.sdkSettings.common.CtaImage.getDefaultInstance()) {
ctaImage_ =
com.streamlayer.sdkSettings.common.CtaImage.newBuilder(ctaImage_).mergeFrom(value).buildPartial();
} else {
ctaImage_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sdkSettings.CtaImage cta_image = 8 [json_name = "ctaImage"];
*/
private void clearCtaImage() { ctaImage_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static com.streamlayer.sdkSettings.common.BettingOverlaySettings parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sdkSettings.common.BettingOverlaySettings 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.common.BettingOverlaySettings 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.common.BettingOverlaySettings 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.common.BettingOverlaySettings parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sdkSettings.common.BettingOverlaySettings 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.common.BettingOverlaySettings parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sdkSettings.common.BettingOverlaySettings 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.common.BettingOverlaySettings parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sdkSettings.common.BettingOverlaySettings 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.common.BettingOverlaySettings parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sdkSettings.common.BettingOverlaySettings 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.common.BettingOverlaySettings prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.sdkSettings.BettingOverlaySettings}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.sdkSettings.common.BettingOverlaySettings, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.sdkSettings.BettingOverlaySettings)
com.streamlayer.sdkSettings.common.BettingOverlaySettingsOrBuilder {
// Construct using com.streamlayer.sdkSettings.common.BettingOverlaySettings.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* repeated .streamlayer.sdkSettings.BettingFavorite favorites = 1 [json_name = "favorites", deprecated = true];
*/
@java.lang.Override
@java.lang.Deprecated public java.util.List getFavoritesList() {
return java.util.Collections.unmodifiableList(
instance.getFavoritesList());
}
/**
* repeated .streamlayer.sdkSettings.BettingFavorite favorites = 1 [json_name = "favorites", deprecated = true];
*/
@java.lang.Override
@java.lang.Deprecated public int getFavoritesCount() {
return instance.getFavoritesCount();
}/**
* repeated .streamlayer.sdkSettings.BettingFavorite favorites = 1 [json_name = "favorites", deprecated = true];
*/
@java.lang.Override
@java.lang.Deprecated public com.streamlayer.sdkSettings.common.BettingFavorite getFavorites(int index) {
return instance.getFavorites(index);
}
/**
* repeated .streamlayer.sdkSettings.BettingFavorite favorites = 1 [json_name = "favorites", deprecated = true];
*/
@java.lang.Deprecated public Builder setFavorites(
int index, com.streamlayer.sdkSettings.common.BettingFavorite value) {
copyOnWrite();
instance.setFavorites(index, value);
return this;
}
/**
* repeated .streamlayer.sdkSettings.BettingFavorite favorites = 1 [json_name = "favorites", deprecated = true];
*/
@java.lang.Deprecated public Builder setFavorites(
int index, com.streamlayer.sdkSettings.common.BettingFavorite.Builder builderForValue) {
copyOnWrite();
instance.setFavorites(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.sdkSettings.BettingFavorite favorites = 1 [json_name = "favorites", deprecated = true];
*/
@java.lang.Deprecated public Builder addFavorites(com.streamlayer.sdkSettings.common.BettingFavorite value) {
copyOnWrite();
instance.addFavorites(value);
return this;
}
/**
* repeated .streamlayer.sdkSettings.BettingFavorite favorites = 1 [json_name = "favorites", deprecated = true];
*/
@java.lang.Deprecated public Builder addFavorites(
int index, com.streamlayer.sdkSettings.common.BettingFavorite value) {
copyOnWrite();
instance.addFavorites(index, value);
return this;
}
/**
* repeated .streamlayer.sdkSettings.BettingFavorite favorites = 1 [json_name = "favorites", deprecated = true];
*/
@java.lang.Deprecated public Builder addFavorites(
com.streamlayer.sdkSettings.common.BettingFavorite.Builder builderForValue) {
copyOnWrite();
instance.addFavorites(builderForValue.build());
return this;
}
/**
* repeated .streamlayer.sdkSettings.BettingFavorite favorites = 1 [json_name = "favorites", deprecated = true];
*/
@java.lang.Deprecated public Builder addFavorites(
int index, com.streamlayer.sdkSettings.common.BettingFavorite.Builder builderForValue) {
copyOnWrite();
instance.addFavorites(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.sdkSettings.BettingFavorite favorites = 1 [json_name = "favorites", deprecated = true];
*/
@java.lang.Deprecated public Builder addAllFavorites(
java.lang.Iterable extends com.streamlayer.sdkSettings.common.BettingFavorite> values) {
copyOnWrite();
instance.addAllFavorites(values);
return this;
}
/**
* repeated .streamlayer.sdkSettings.BettingFavorite favorites = 1 [json_name = "favorites", deprecated = true];
*/
@java.lang.Deprecated public Builder clearFavorites() {
copyOnWrite();
instance.clearFavorites();
return this;
}
/**
* repeated .streamlayer.sdkSettings.BettingFavorite favorites = 1 [json_name = "favorites", deprecated = true];
*/
@java.lang.Deprecated public Builder removeFavorites(int index) {
copyOnWrite();
instance.removeFavorites(index);
return this;
}
/**
* string primary_color = 2 [json_name = "primaryColor"];
* @return The primaryColor.
*/
@java.lang.Override
public java.lang.String getPrimaryColor() {
return instance.getPrimaryColor();
}
/**
* string primary_color = 2 [json_name = "primaryColor"];
* @return The bytes for primaryColor.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPrimaryColorBytes() {
return instance.getPrimaryColorBytes();
}
/**
* string primary_color = 2 [json_name = "primaryColor"];
* @param value The primaryColor to set.
* @return This builder for chaining.
*/
public Builder setPrimaryColor(
java.lang.String value) {
copyOnWrite();
instance.setPrimaryColor(value);
return this;
}
/**
* string primary_color = 2 [json_name = "primaryColor"];
* @return This builder for chaining.
*/
public Builder clearPrimaryColor() {
copyOnWrite();
instance.clearPrimaryColor();
return this;
}
/**
* string primary_color = 2 [json_name = "primaryColor"];
* @param value The bytes for primaryColor to set.
* @return This builder for chaining.
*/
public Builder setPrimaryColorBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setPrimaryColorBytes(value);
return this;
}
/**
* string button_icon = 3 [json_name = "buttonIcon", deprecated = true];
* @deprecated streamlayer.sdkSettings.BettingOverlaySettings.button_icon is deprecated.
* See streamlayer/sdkSettings/sdkSettings.common.proto;l=78
* @return The buttonIcon.
*/
@java.lang.Override
@java.lang.Deprecated public java.lang.String getButtonIcon() {
return instance.getButtonIcon();
}
/**
* string button_icon = 3 [json_name = "buttonIcon", deprecated = true];
* @deprecated streamlayer.sdkSettings.BettingOverlaySettings.button_icon is deprecated.
* See streamlayer/sdkSettings/sdkSettings.common.proto;l=78
* @return The bytes for buttonIcon.
*/
@java.lang.Override
@java.lang.Deprecated public com.google.protobuf.ByteString
getButtonIconBytes() {
return instance.getButtonIconBytes();
}
/**
* string button_icon = 3 [json_name = "buttonIcon", deprecated = true];
* @deprecated streamlayer.sdkSettings.BettingOverlaySettings.button_icon is deprecated.
* See streamlayer/sdkSettings/sdkSettings.common.proto;l=78
* @param value The buttonIcon to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setButtonIcon(
java.lang.String value) {
copyOnWrite();
instance.setButtonIcon(value);
return this;
}
/**
* string button_icon = 3 [json_name = "buttonIcon", deprecated = true];
* @deprecated streamlayer.sdkSettings.BettingOverlaySettings.button_icon is deprecated.
* See streamlayer/sdkSettings/sdkSettings.common.proto;l=78
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearButtonIcon() {
copyOnWrite();
instance.clearButtonIcon();
return this;
}
/**
* string button_icon = 3 [json_name = "buttonIcon", deprecated = true];
* @deprecated streamlayer.sdkSettings.BettingOverlaySettings.button_icon is deprecated.
* See streamlayer/sdkSettings/sdkSettings.common.proto;l=78
* @param value The bytes for buttonIcon to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setButtonIconBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setButtonIconBytes(value);
return this;
}
/**
* .streamlayer.sdkSettings.BettingSettingsTextColor text_color = 4 [json_name = "textColor"];
* @return The enum numeric value on the wire for textColor.
*/
@java.lang.Override
public int getTextColorValue() {
return instance.getTextColorValue();
}
/**
* .streamlayer.sdkSettings.BettingSettingsTextColor text_color = 4 [json_name = "textColor"];
* @param value The textColor to set.
* @return This builder for chaining.
*/
public Builder setTextColorValue(int value) {
copyOnWrite();
instance.setTextColorValue(value);
return this;
}
/**
* .streamlayer.sdkSettings.BettingSettingsTextColor text_color = 4 [json_name = "textColor"];
* @return The textColor.
*/
@java.lang.Override
public com.streamlayer.sdkSettings.common.BettingSettingsTextColor getTextColor() {
return instance.getTextColor();
}
/**
* .streamlayer.sdkSettings.BettingSettingsTextColor text_color = 4 [json_name = "textColor"];
* @param value The enum numeric value on the wire for textColor to set.
* @return This builder for chaining.
*/
public Builder setTextColor(com.streamlayer.sdkSettings.common.BettingSettingsTextColor value) {
copyOnWrite();
instance.setTextColor(value);
return this;
}
/**
* .streamlayer.sdkSettings.BettingSettingsTextColor text_color = 4 [json_name = "textColor"];
* @return This builder for chaining.
*/
public Builder clearTextColor() {
copyOnWrite();
instance.clearTextColor();
return this;
}
/**
* string app_installed_text = 5 [json_name = "appInstalledText"];
* @return The appInstalledText.
*/
@java.lang.Override
public java.lang.String getAppInstalledText() {
return instance.getAppInstalledText();
}
/**
* string app_installed_text = 5 [json_name = "appInstalledText"];
* @return The bytes for appInstalledText.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAppInstalledTextBytes() {
return instance.getAppInstalledTextBytes();
}
/**
* string app_installed_text = 5 [json_name = "appInstalledText"];
* @param value The appInstalledText to set.
* @return This builder for chaining.
*/
public Builder setAppInstalledText(
java.lang.String value) {
copyOnWrite();
instance.setAppInstalledText(value);
return this;
}
/**
* string app_installed_text = 5 [json_name = "appInstalledText"];
* @return This builder for chaining.
*/
public Builder clearAppInstalledText() {
copyOnWrite();
instance.clearAppInstalledText();
return this;
}
/**
* string app_installed_text = 5 [json_name = "appInstalledText"];
* @param value The bytes for appInstalledText to set.
* @return This builder for chaining.
*/
public Builder setAppInstalledTextBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setAppInstalledTextBytes(value);
return this;
}
/**
* string app_not_installed_text = 6 [json_name = "appNotInstalledText"];
* @return The appNotInstalledText.
*/
@java.lang.Override
public java.lang.String getAppNotInstalledText() {
return instance.getAppNotInstalledText();
}
/**
* string app_not_installed_text = 6 [json_name = "appNotInstalledText"];
* @return The bytes for appNotInstalledText.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAppNotInstalledTextBytes() {
return instance.getAppNotInstalledTextBytes();
}
/**
* string app_not_installed_text = 6 [json_name = "appNotInstalledText"];
* @param value The appNotInstalledText to set.
* @return This builder for chaining.
*/
public Builder setAppNotInstalledText(
java.lang.String value) {
copyOnWrite();
instance.setAppNotInstalledText(value);
return this;
}
/**
* string app_not_installed_text = 6 [json_name = "appNotInstalledText"];
* @return This builder for chaining.
*/
public Builder clearAppNotInstalledText() {
copyOnWrite();
instance.clearAppNotInstalledText();
return this;
}
/**
* string app_not_installed_text = 6 [json_name = "appNotInstalledText"];
* @param value The bytes for appNotInstalledText to set.
* @return This builder for chaining.
*/
public Builder setAppNotInstalledTextBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setAppNotInstalledTextBytes(value);
return this;
}
/**
* string text_color_custom = 7 [json_name = "textColorCustom"];
* @return The textColorCustom.
*/
@java.lang.Override
public java.lang.String getTextColorCustom() {
return instance.getTextColorCustom();
}
/**
* string text_color_custom = 7 [json_name = "textColorCustom"];
* @return The bytes for textColorCustom.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTextColorCustomBytes() {
return instance.getTextColorCustomBytes();
}
/**
* string text_color_custom = 7 [json_name = "textColorCustom"];
* @param value The textColorCustom to set.
* @return This builder for chaining.
*/
public Builder setTextColorCustom(
java.lang.String value) {
copyOnWrite();
instance.setTextColorCustom(value);
return this;
}
/**
* string text_color_custom = 7 [json_name = "textColorCustom"];
* @return This builder for chaining.
*/
public Builder clearTextColorCustom() {
copyOnWrite();
instance.clearTextColorCustom();
return this;
}
/**
* string text_color_custom = 7 [json_name = "textColorCustom"];
* @param value The bytes for textColorCustom to set.
* @return This builder for chaining.
*/
public Builder setTextColorCustomBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setTextColorCustomBytes(value);
return this;
}
/**
* .streamlayer.sdkSettings.CtaImage cta_image = 8 [json_name = "ctaImage"];
*/
@java.lang.Override
public boolean hasCtaImage() {
return instance.hasCtaImage();
}
/**
* .streamlayer.sdkSettings.CtaImage cta_image = 8 [json_name = "ctaImage"];
*/
@java.lang.Override
public com.streamlayer.sdkSettings.common.CtaImage getCtaImage() {
return instance.getCtaImage();
}
/**
* .streamlayer.sdkSettings.CtaImage cta_image = 8 [json_name = "ctaImage"];
*/
public Builder setCtaImage(com.streamlayer.sdkSettings.common.CtaImage value) {
copyOnWrite();
instance.setCtaImage(value);
return this;
}
/**
* .streamlayer.sdkSettings.CtaImage cta_image = 8 [json_name = "ctaImage"];
*/
public Builder setCtaImage(
com.streamlayer.sdkSettings.common.CtaImage.Builder builderForValue) {
copyOnWrite();
instance.setCtaImage(builderForValue.build());
return this;
}
/**
* .streamlayer.sdkSettings.CtaImage cta_image = 8 [json_name = "ctaImage"];
*/
public Builder mergeCtaImage(com.streamlayer.sdkSettings.common.CtaImage value) {
copyOnWrite();
instance.mergeCtaImage(value);
return this;
}
/**
* .streamlayer.sdkSettings.CtaImage cta_image = 8 [json_name = "ctaImage"];
*/
public Builder clearCtaImage() { copyOnWrite();
instance.clearCtaImage();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.sdkSettings.BettingOverlaySettings)
}
@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.common.BettingOverlaySettings();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"favorites_",
com.streamlayer.sdkSettings.common.BettingFavorite.class,
"primaryColor_",
"buttonIcon_",
"textColor_",
"appInstalledText_",
"appNotInstalledText_",
"textColorCustom_",
"ctaImage_",
};
java.lang.String info =
"\u0000\b\u0000\u0001\u0001\b\b\u0000\u0001\u0000\u0001\u001b\u0002\u0208\u0003\u0208" +
"\u0004\f\u0005\u0208\u0006\u0208\u0007\u0208\b\u1009\u0000";
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.common.BettingOverlaySettings.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.BettingOverlaySettings)
private static final com.streamlayer.sdkSettings.common.BettingOverlaySettings DEFAULT_INSTANCE;
static {
BettingOverlaySettings defaultInstance = new BettingOverlaySettings();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
BettingOverlaySettings.class, defaultInstance);
}
public static com.streamlayer.sdkSettings.common.BettingOverlaySettings getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}