main.java.com.streamlayer.sdkSettings.common.SdkOverlayUpdateData 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.SdkOverlayUpdateData}
*/
public final class SdkOverlayUpdateData extends
com.google.protobuf.GeneratedMessageLite<
SdkOverlayUpdateData, SdkOverlayUpdateData.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.sdkSettings.SdkOverlayUpdateData)
SdkOverlayUpdateDataOrBuilder {
private SdkOverlayUpdateData() {
name_ = "";
icon_ = "";
svgIcon_ = "";
}
private int bitField0_;
private int overwriteFlagCase_ = 0;
private java.lang.Object overwriteFlag_;
public enum OverwriteFlagCase {
ENABLE_OVERWRITE(12),
DISABLE_OVERWRITE(13),
OVERWRITEFLAG_NOT_SET(0);
private final int value;
private OverwriteFlagCase(int value) {
this.value = value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static OverwriteFlagCase valueOf(int value) {
return forNumber(value);
}
public static OverwriteFlagCase forNumber(int value) {
switch (value) {
case 12: return ENABLE_OVERWRITE;
case 13: return DISABLE_OVERWRITE;
case 0: return OVERWRITEFLAG_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
@java.lang.Override
public OverwriteFlagCase
getOverwriteFlagCase() {
return OverwriteFlagCase.forNumber(
overwriteFlagCase_);
}
private void clearOverwriteFlag() {
overwriteFlagCase_ = 0;
overwriteFlag_ = null;
}
public static final int TYPE_FIELD_NUMBER = 1;
private int type_;
/**
*
* type for identify overlay
*
*
* .streamlayer.sdkSettings.SdkOverlayType type = 1 [json_name = "type"];
* @return The enum numeric value on the wire for type.
*/
@java.lang.Override
public int getTypeValue() {
return type_;
}
/**
*
* type for identify overlay
*
*
* .streamlayer.sdkSettings.SdkOverlayType type = 1 [json_name = "type"];
* @return The type.
*/
@java.lang.Override
public com.streamlayer.sdkSettings.common.SdkOverlayType getType() {
com.streamlayer.sdkSettings.common.SdkOverlayType result = com.streamlayer.sdkSettings.common.SdkOverlayType.forNumber(type_);
return result == null ? com.streamlayer.sdkSettings.common.SdkOverlayType.UNRECOGNIZED : result;
}
/**
*
* type for identify overlay
*
*
* .streamlayer.sdkSettings.SdkOverlayType type = 1 [json_name = "type"];
* @param value The enum numeric value on the wire for type to set.
*/
private void setTypeValue(int value) {
type_ = value;
}
/**
*
* type for identify overlay
*
*
* .streamlayer.sdkSettings.SdkOverlayType type = 1 [json_name = "type"];
* @param value The type to set.
*/
private void setType(com.streamlayer.sdkSettings.common.SdkOverlayType value) {
type_ = value.getNumber();
}
/**
*
* type for identify overlay
*
*
* .streamlayer.sdkSettings.SdkOverlayType type = 1 [json_name = "type"];
*/
private void clearType() {
type_ = 0;
}
public static final int POSITION_FIELD_NUMBER = 3;
private int position_;
/**
*
* button position in menu
*
*
* int32 position = 3 [json_name = "position"];
* @return The position.
*/
@java.lang.Override
public int getPosition() {
return position_;
}
/**
*
* button position in menu
*
*
* int32 position = 3 [json_name = "position"];
* @param value The position to set.
*/
private void setPosition(int value) {
position_ = value;
}
/**
*
* button position in menu
*
*
* int32 position = 3 [json_name = "position"];
*/
private void clearPosition() {
position_ = 0;
}
public static final int OVERWRITE_FIELD_NUMBER = 4;
private boolean overwrite_;
/**
*
* flag to merge/overwrite stream and organization settings, cannot be used for update value
*
*
* bool overwrite = 4 [json_name = "overwrite", deprecated = true];
* @deprecated streamlayer.sdkSettings.SdkOverlayUpdateData.overwrite is deprecated.
* See streamlayer/sdkSettings/sdkSettings.common.proto;l=290
* @return The overwrite.
*/
@java.lang.Override
@java.lang.Deprecated public boolean getOverwrite() {
return overwrite_;
}
/**
*
* flag to merge/overwrite stream and organization settings, cannot be used for update value
*
*
* bool overwrite = 4 [json_name = "overwrite", deprecated = true];
* @deprecated streamlayer.sdkSettings.SdkOverlayUpdateData.overwrite is deprecated.
* See streamlayer/sdkSettings/sdkSettings.common.proto;l=290
* @param value The overwrite to set.
*/
private void setOverwrite(boolean value) {
overwrite_ = value;
}
/**
*
* flag to merge/overwrite stream and organization settings, cannot be used for update value
*
*
* bool overwrite = 4 [json_name = "overwrite", deprecated = true];
* @deprecated streamlayer.sdkSettings.SdkOverlayUpdateData.overwrite is deprecated.
* See streamlayer/sdkSettings/sdkSettings.common.proto;l=290
*/
private void clearOverwrite() {
overwrite_ = false;
}
public static final int SETTINGS_FIELD_NUMBER = 5;
private com.streamlayer.sdkSettings.common.SdkOverlaySettings settings_;
/**
*
* custom overlay settings
*
*
* .streamlayer.sdkSettings.SdkOverlaySettings settings = 5 [json_name = "settings"];
*/
@java.lang.Override
public boolean hasSettings() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* custom overlay settings
*
*
* .streamlayer.sdkSettings.SdkOverlaySettings settings = 5 [json_name = "settings"];
*/
@java.lang.Override
public com.streamlayer.sdkSettings.common.SdkOverlaySettings getSettings() {
return settings_ == null ? com.streamlayer.sdkSettings.common.SdkOverlaySettings.getDefaultInstance() : settings_;
}
/**
*
* custom overlay settings
*
*
* .streamlayer.sdkSettings.SdkOverlaySettings settings = 5 [json_name = "settings"];
*/
private void setSettings(com.streamlayer.sdkSettings.common.SdkOverlaySettings value) {
value.getClass();
settings_ = value;
bitField0_ |= 0x00000001;
}
/**
*
* custom overlay settings
*
*
* .streamlayer.sdkSettings.SdkOverlaySettings settings = 5 [json_name = "settings"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeSettings(com.streamlayer.sdkSettings.common.SdkOverlaySettings value) {
value.getClass();
if (settings_ != null &&
settings_ != com.streamlayer.sdkSettings.common.SdkOverlaySettings.getDefaultInstance()) {
settings_ =
com.streamlayer.sdkSettings.common.SdkOverlaySettings.newBuilder(settings_).mergeFrom(value).buildPartial();
} else {
settings_ = value;
}
bitField0_ |= 0x00000001;
}
/**
*
* custom overlay settings
*
*
* .streamlayer.sdkSettings.SdkOverlaySettings settings = 5 [json_name = "settings"];
*/
private void clearSettings() { settings_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static final int SDK_ENABLE_FIELD_NUMBER = 8;
private boolean sdkEnable_;
/**
*
* visible flag for sdk clients, cannot be used for update value
*
*
* bool sdk_enable = 8 [json_name = "sdkEnable", deprecated = true];
* @deprecated streamlayer.sdkSettings.SdkOverlayUpdateData.sdk_enable is deprecated.
* See streamlayer/sdkSettings/sdkSettings.common.proto;l=294
* @return The sdkEnable.
*/
@java.lang.Override
@java.lang.Deprecated public boolean getSdkEnable() {
return sdkEnable_;
}
/**
*
* visible flag for sdk clients, cannot be used for update value
*
*
* bool sdk_enable = 8 [json_name = "sdkEnable", deprecated = true];
* @deprecated streamlayer.sdkSettings.SdkOverlayUpdateData.sdk_enable is deprecated.
* See streamlayer/sdkSettings/sdkSettings.common.proto;l=294
* @param value The sdkEnable to set.
*/
private void setSdkEnable(boolean value) {
sdkEnable_ = value;
}
/**
*
* visible flag for sdk clients, cannot be used for update value
*
*
* bool sdk_enable = 8 [json_name = "sdkEnable", deprecated = true];
* @deprecated streamlayer.sdkSettings.SdkOverlayUpdateData.sdk_enable is deprecated.
* See streamlayer/sdkSettings/sdkSettings.common.proto;l=294
*/
private void clearSdkEnable() {
sdkEnable_ = false;
}
public static final int NAME_FIELD_NUMBER = 9;
private java.lang.String name_;
/**
*
* overlay name
*
*
* string name = 9 [json_name = "name"];
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return name_;
}
/**
*
* overlay name
*
*
* string name = 9 [json_name = "name"];
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(name_);
}
/**
*
* overlay name
*
*
* string name = 9 [json_name = "name"];
* @param value The name to set.
*/
private void setName(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
name_ = value;
}
/**
*
* overlay name
*
*
* string name = 9 [json_name = "name"];
*/
private void clearName() {
name_ = getDefaultInstance().getName();
}
/**
*
* overlay name
*
*
* string name = 9 [json_name = "name"];
* @param value The bytes for name to set.
*/
private void setNameBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
name_ = value.toStringUtf8();
}
public static final int ICON_FIELD_NUMBER = 10;
private java.lang.String icon_;
/**
*
* overlay icon, if not present use default by overlay type
*
*
* string icon = 10 [json_name = "icon"];
* @return The icon.
*/
@java.lang.Override
public java.lang.String getIcon() {
return icon_;
}
/**
*
* overlay icon, if not present use default by overlay type
*
*
* string icon = 10 [json_name = "icon"];
* @return The bytes for icon.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIconBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(icon_);
}
/**
*
* overlay icon, if not present use default by overlay type
*
*
* string icon = 10 [json_name = "icon"];
* @param value The icon to set.
*/
private void setIcon(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
icon_ = value;
}
/**
*
* overlay icon, if not present use default by overlay type
*
*
* string icon = 10 [json_name = "icon"];
*/
private void clearIcon() {
icon_ = getDefaultInstance().getIcon();
}
/**
*
* overlay icon, if not present use default by overlay type
*
*
* string icon = 10 [json_name = "icon"];
* @param value The bytes for icon to set.
*/
private void setIconBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
icon_ = value.toStringUtf8();
}
public static final int SVG_ICON_FIELD_NUMBER = 11;
private java.lang.String svgIcon_;
/**
*
* svg overlay icon, if not present use default by overlay type
*
*
* string svg_icon = 11 [json_name = "svgIcon"];
* @return The svgIcon.
*/
@java.lang.Override
public java.lang.String getSvgIcon() {
return svgIcon_;
}
/**
*
* svg overlay icon, if not present use default by overlay type
*
*
* string svg_icon = 11 [json_name = "svgIcon"];
* @return The bytes for svgIcon.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSvgIconBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(svgIcon_);
}
/**
*
* svg overlay icon, if not present use default by overlay type
*
*
* string svg_icon = 11 [json_name = "svgIcon"];
* @param value The svgIcon to set.
*/
private void setSvgIcon(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
svgIcon_ = value;
}
/**
*
* svg overlay icon, if not present use default by overlay type
*
*
* string svg_icon = 11 [json_name = "svgIcon"];
*/
private void clearSvgIcon() {
svgIcon_ = getDefaultInstance().getSvgIcon();
}
/**
*
* svg overlay icon, if not present use default by overlay type
*
*
* string svg_icon = 11 [json_name = "svgIcon"];
* @param value The bytes for svgIcon to set.
*/
private void setSvgIconBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
svgIcon_ = value.toStringUtf8();
}
public static final int ENABLE_OVERWRITE_FIELD_NUMBER = 12;
/**
* string enable_overwrite = 12 [json_name = "enableOverwrite"];
* @return Whether the enableOverwrite field is set.
*/
@java.lang.Override
public boolean hasEnableOverwrite() {
return overwriteFlagCase_ == 12;
}
/**
* string enable_overwrite = 12 [json_name = "enableOverwrite"];
* @return The enableOverwrite.
*/
@java.lang.Override
public java.lang.String getEnableOverwrite() {
java.lang.String ref = "";
if (overwriteFlagCase_ == 12) {
ref = (java.lang.String) overwriteFlag_;
}
return ref;
}
/**
* string enable_overwrite = 12 [json_name = "enableOverwrite"];
* @return The bytes for enableOverwrite.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getEnableOverwriteBytes() {
java.lang.String ref = "";
if (overwriteFlagCase_ == 12) {
ref = (java.lang.String) overwriteFlag_;
}
return com.google.protobuf.ByteString.copyFromUtf8(ref);
}
/**
* string enable_overwrite = 12 [json_name = "enableOverwrite"];
* @param value The enableOverwrite to set.
*/
private void setEnableOverwrite(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
overwriteFlagCase_ = 12;
overwriteFlag_ = value;
}
/**
* string enable_overwrite = 12 [json_name = "enableOverwrite"];
*/
private void clearEnableOverwrite() {
if (overwriteFlagCase_ == 12) {
overwriteFlagCase_ = 0;
overwriteFlag_ = null;
}
}
/**
* string enable_overwrite = 12 [json_name = "enableOverwrite"];
* @param value The bytes for enableOverwrite to set.
*/
private void setEnableOverwriteBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
overwriteFlag_ = value.toStringUtf8();
overwriteFlagCase_ = 12;
}
public static final int DISABLE_OVERWRITE_FIELD_NUMBER = 13;
/**
* string disable_overwrite = 13 [json_name = "disableOverwrite"];
* @return Whether the disableOverwrite field is set.
*/
@java.lang.Override
public boolean hasDisableOverwrite() {
return overwriteFlagCase_ == 13;
}
/**
* string disable_overwrite = 13 [json_name = "disableOverwrite"];
* @return The disableOverwrite.
*/
@java.lang.Override
public java.lang.String getDisableOverwrite() {
java.lang.String ref = "";
if (overwriteFlagCase_ == 13) {
ref = (java.lang.String) overwriteFlag_;
}
return ref;
}
/**
* string disable_overwrite = 13 [json_name = "disableOverwrite"];
* @return The bytes for disableOverwrite.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDisableOverwriteBytes() {
java.lang.String ref = "";
if (overwriteFlagCase_ == 13) {
ref = (java.lang.String) overwriteFlag_;
}
return com.google.protobuf.ByteString.copyFromUtf8(ref);
}
/**
* string disable_overwrite = 13 [json_name = "disableOverwrite"];
* @param value The disableOverwrite to set.
*/
private void setDisableOverwrite(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
overwriteFlagCase_ = 13;
overwriteFlag_ = value;
}
/**
* string disable_overwrite = 13 [json_name = "disableOverwrite"];
*/
private void clearDisableOverwrite() {
if (overwriteFlagCase_ == 13) {
overwriteFlagCase_ = 0;
overwriteFlag_ = null;
}
}
/**
* string disable_overwrite = 13 [json_name = "disableOverwrite"];
* @param value The bytes for disableOverwrite to set.
*/
private void setDisableOverwriteBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
overwriteFlag_ = value.toStringUtf8();
overwriteFlagCase_ = 13;
}
public static com.streamlayer.sdkSettings.common.SdkOverlayUpdateData 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.SdkOverlayUpdateData 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.SdkOverlayUpdateData 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.SdkOverlayUpdateData 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.SdkOverlayUpdateData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sdkSettings.common.SdkOverlayUpdateData 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.SdkOverlayUpdateData parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sdkSettings.common.SdkOverlayUpdateData 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.SdkOverlayUpdateData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sdkSettings.common.SdkOverlayUpdateData 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.SdkOverlayUpdateData 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.SdkOverlayUpdateData 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.SdkOverlayUpdateData prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.sdkSettings.SdkOverlayUpdateData}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.sdkSettings.common.SdkOverlayUpdateData, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.sdkSettings.SdkOverlayUpdateData)
com.streamlayer.sdkSettings.common.SdkOverlayUpdateDataOrBuilder {
// Construct using com.streamlayer.sdkSettings.common.SdkOverlayUpdateData.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
@java.lang.Override
public OverwriteFlagCase
getOverwriteFlagCase() {
return instance.getOverwriteFlagCase();
}
public Builder clearOverwriteFlag() {
copyOnWrite();
instance.clearOverwriteFlag();
return this;
}
/**
*
* type for identify overlay
*
*
* .streamlayer.sdkSettings.SdkOverlayType type = 1 [json_name = "type"];
* @return The enum numeric value on the wire for type.
*/
@java.lang.Override
public int getTypeValue() {
return instance.getTypeValue();
}
/**
*
* type for identify overlay
*
*
* .streamlayer.sdkSettings.SdkOverlayType type = 1 [json_name = "type"];
* @param value The type to set.
* @return This builder for chaining.
*/
public Builder setTypeValue(int value) {
copyOnWrite();
instance.setTypeValue(value);
return this;
}
/**
*
* type for identify overlay
*
*
* .streamlayer.sdkSettings.SdkOverlayType type = 1 [json_name = "type"];
* @return The type.
*/
@java.lang.Override
public com.streamlayer.sdkSettings.common.SdkOverlayType getType() {
return instance.getType();
}
/**
*
* type for identify overlay
*
*
* .streamlayer.sdkSettings.SdkOverlayType type = 1 [json_name = "type"];
* @param value The enum numeric value on the wire for type to set.
* @return This builder for chaining.
*/
public Builder setType(com.streamlayer.sdkSettings.common.SdkOverlayType value) {
copyOnWrite();
instance.setType(value);
return this;
}
/**
*
* type for identify overlay
*
*
* .streamlayer.sdkSettings.SdkOverlayType type = 1 [json_name = "type"];
* @return This builder for chaining.
*/
public Builder clearType() {
copyOnWrite();
instance.clearType();
return this;
}
/**
*
* button position in menu
*
*
* int32 position = 3 [json_name = "position"];
* @return The position.
*/
@java.lang.Override
public int getPosition() {
return instance.getPosition();
}
/**
*
* button position in menu
*
*
* int32 position = 3 [json_name = "position"];
* @param value The position to set.
* @return This builder for chaining.
*/
public Builder setPosition(int value) {
copyOnWrite();
instance.setPosition(value);
return this;
}
/**
*
* button position in menu
*
*
* int32 position = 3 [json_name = "position"];
* @return This builder for chaining.
*/
public Builder clearPosition() {
copyOnWrite();
instance.clearPosition();
return this;
}
/**
*
* flag to merge/overwrite stream and organization settings, cannot be used for update value
*
*
* bool overwrite = 4 [json_name = "overwrite", deprecated = true];
* @deprecated streamlayer.sdkSettings.SdkOverlayUpdateData.overwrite is deprecated.
* See streamlayer/sdkSettings/sdkSettings.common.proto;l=290
* @return The overwrite.
*/
@java.lang.Override
@java.lang.Deprecated public boolean getOverwrite() {
return instance.getOverwrite();
}
/**
*
* flag to merge/overwrite stream and organization settings, cannot be used for update value
*
*
* bool overwrite = 4 [json_name = "overwrite", deprecated = true];
* @deprecated streamlayer.sdkSettings.SdkOverlayUpdateData.overwrite is deprecated.
* See streamlayer/sdkSettings/sdkSettings.common.proto;l=290
* @param value The overwrite to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setOverwrite(boolean value) {
copyOnWrite();
instance.setOverwrite(value);
return this;
}
/**
*
* flag to merge/overwrite stream and organization settings, cannot be used for update value
*
*
* bool overwrite = 4 [json_name = "overwrite", deprecated = true];
* @deprecated streamlayer.sdkSettings.SdkOverlayUpdateData.overwrite is deprecated.
* See streamlayer/sdkSettings/sdkSettings.common.proto;l=290
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearOverwrite() {
copyOnWrite();
instance.clearOverwrite();
return this;
}
/**
*
* custom overlay settings
*
*
* .streamlayer.sdkSettings.SdkOverlaySettings settings = 5 [json_name = "settings"];
*/
@java.lang.Override
public boolean hasSettings() {
return instance.hasSettings();
}
/**
*
* custom overlay settings
*
*
* .streamlayer.sdkSettings.SdkOverlaySettings settings = 5 [json_name = "settings"];
*/
@java.lang.Override
public com.streamlayer.sdkSettings.common.SdkOverlaySettings getSettings() {
return instance.getSettings();
}
/**
*
* custom overlay settings
*
*
* .streamlayer.sdkSettings.SdkOverlaySettings settings = 5 [json_name = "settings"];
*/
public Builder setSettings(com.streamlayer.sdkSettings.common.SdkOverlaySettings value) {
copyOnWrite();
instance.setSettings(value);
return this;
}
/**
*
* custom overlay settings
*
*
* .streamlayer.sdkSettings.SdkOverlaySettings settings = 5 [json_name = "settings"];
*/
public Builder setSettings(
com.streamlayer.sdkSettings.common.SdkOverlaySettings.Builder builderForValue) {
copyOnWrite();
instance.setSettings(builderForValue.build());
return this;
}
/**
*
* custom overlay settings
*
*
* .streamlayer.sdkSettings.SdkOverlaySettings settings = 5 [json_name = "settings"];
*/
public Builder mergeSettings(com.streamlayer.sdkSettings.common.SdkOverlaySettings value) {
copyOnWrite();
instance.mergeSettings(value);
return this;
}
/**
*
* custom overlay settings
*
*
* .streamlayer.sdkSettings.SdkOverlaySettings settings = 5 [json_name = "settings"];
*/
public Builder clearSettings() { copyOnWrite();
instance.clearSettings();
return this;
}
/**
*
* visible flag for sdk clients, cannot be used for update value
*
*
* bool sdk_enable = 8 [json_name = "sdkEnable", deprecated = true];
* @deprecated streamlayer.sdkSettings.SdkOverlayUpdateData.sdk_enable is deprecated.
* See streamlayer/sdkSettings/sdkSettings.common.proto;l=294
* @return The sdkEnable.
*/
@java.lang.Override
@java.lang.Deprecated public boolean getSdkEnable() {
return instance.getSdkEnable();
}
/**
*
* visible flag for sdk clients, cannot be used for update value
*
*
* bool sdk_enable = 8 [json_name = "sdkEnable", deprecated = true];
* @deprecated streamlayer.sdkSettings.SdkOverlayUpdateData.sdk_enable is deprecated.
* See streamlayer/sdkSettings/sdkSettings.common.proto;l=294
* @param value The sdkEnable to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setSdkEnable(boolean value) {
copyOnWrite();
instance.setSdkEnable(value);
return this;
}
/**
*
* visible flag for sdk clients, cannot be used for update value
*
*
* bool sdk_enable = 8 [json_name = "sdkEnable", deprecated = true];
* @deprecated streamlayer.sdkSettings.SdkOverlayUpdateData.sdk_enable is deprecated.
* See streamlayer/sdkSettings/sdkSettings.common.proto;l=294
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearSdkEnable() {
copyOnWrite();
instance.clearSdkEnable();
return this;
}
/**
*
* overlay name
*
*
* string name = 9 [json_name = "name"];
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return instance.getName();
}
/**
*
* overlay name
*
*
* string name = 9 [json_name = "name"];
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return instance.getNameBytes();
}
/**
*
* overlay name
*
*
* string name = 9 [json_name = "name"];
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
copyOnWrite();
instance.setName(value);
return this;
}
/**
*
* overlay name
*
*
* string name = 9 [json_name = "name"];
* @return This builder for chaining.
*/
public Builder clearName() {
copyOnWrite();
instance.clearName();
return this;
}
/**
*
* overlay name
*
*
* string name = 9 [json_name = "name"];
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setNameBytes(value);
return this;
}
/**
*
* overlay icon, if not present use default by overlay type
*
*
* string icon = 10 [json_name = "icon"];
* @return The icon.
*/
@java.lang.Override
public java.lang.String getIcon() {
return instance.getIcon();
}
/**
*
* overlay icon, if not present use default by overlay type
*
*
* string icon = 10 [json_name = "icon"];
* @return The bytes for icon.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIconBytes() {
return instance.getIconBytes();
}
/**
*
* overlay icon, if not present use default by overlay type
*
*
* string icon = 10 [json_name = "icon"];
* @param value The icon to set.
* @return This builder for chaining.
*/
public Builder setIcon(
java.lang.String value) {
copyOnWrite();
instance.setIcon(value);
return this;
}
/**
*
* overlay icon, if not present use default by overlay type
*
*
* string icon = 10 [json_name = "icon"];
* @return This builder for chaining.
*/
public Builder clearIcon() {
copyOnWrite();
instance.clearIcon();
return this;
}
/**
*
* overlay icon, if not present use default by overlay type
*
*
* string icon = 10 [json_name = "icon"];
* @param value The bytes for icon to set.
* @return This builder for chaining.
*/
public Builder setIconBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setIconBytes(value);
return this;
}
/**
*
* svg overlay icon, if not present use default by overlay type
*
*
* string svg_icon = 11 [json_name = "svgIcon"];
* @return The svgIcon.
*/
@java.lang.Override
public java.lang.String getSvgIcon() {
return instance.getSvgIcon();
}
/**
*
* svg overlay icon, if not present use default by overlay type
*
*
* string svg_icon = 11 [json_name = "svgIcon"];
* @return The bytes for svgIcon.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSvgIconBytes() {
return instance.getSvgIconBytes();
}
/**
*
* svg overlay icon, if not present use default by overlay type
*
*
* string svg_icon = 11 [json_name = "svgIcon"];
* @param value The svgIcon to set.
* @return This builder for chaining.
*/
public Builder setSvgIcon(
java.lang.String value) {
copyOnWrite();
instance.setSvgIcon(value);
return this;
}
/**
*
* svg overlay icon, if not present use default by overlay type
*
*
* string svg_icon = 11 [json_name = "svgIcon"];
* @return This builder for chaining.
*/
public Builder clearSvgIcon() {
copyOnWrite();
instance.clearSvgIcon();
return this;
}
/**
*
* svg overlay icon, if not present use default by overlay type
*
*
* string svg_icon = 11 [json_name = "svgIcon"];
* @param value The bytes for svgIcon to set.
* @return This builder for chaining.
*/
public Builder setSvgIconBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setSvgIconBytes(value);
return this;
}
/**
* string enable_overwrite = 12 [json_name = "enableOverwrite"];
* @return Whether the enableOverwrite field is set.
*/
@java.lang.Override
public boolean hasEnableOverwrite() {
return instance.hasEnableOverwrite();
}
/**
* string enable_overwrite = 12 [json_name = "enableOverwrite"];
* @return The enableOverwrite.
*/
@java.lang.Override
public java.lang.String getEnableOverwrite() {
return instance.getEnableOverwrite();
}
/**
* string enable_overwrite = 12 [json_name = "enableOverwrite"];
* @return The bytes for enableOverwrite.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getEnableOverwriteBytes() {
return instance.getEnableOverwriteBytes();
}
/**
* string enable_overwrite = 12 [json_name = "enableOverwrite"];
* @param value The enableOverwrite to set.
* @return This builder for chaining.
*/
public Builder setEnableOverwrite(
java.lang.String value) {
copyOnWrite();
instance.setEnableOverwrite(value);
return this;
}
/**
* string enable_overwrite = 12 [json_name = "enableOverwrite"];
* @return This builder for chaining.
*/
public Builder clearEnableOverwrite() {
copyOnWrite();
instance.clearEnableOverwrite();
return this;
}
/**
* string enable_overwrite = 12 [json_name = "enableOverwrite"];
* @param value The bytes for enableOverwrite to set.
* @return This builder for chaining.
*/
public Builder setEnableOverwriteBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setEnableOverwriteBytes(value);
return this;
}
/**
* string disable_overwrite = 13 [json_name = "disableOverwrite"];
* @return Whether the disableOverwrite field is set.
*/
@java.lang.Override
public boolean hasDisableOverwrite() {
return instance.hasDisableOverwrite();
}
/**
* string disable_overwrite = 13 [json_name = "disableOverwrite"];
* @return The disableOverwrite.
*/
@java.lang.Override
public java.lang.String getDisableOverwrite() {
return instance.getDisableOverwrite();
}
/**
* string disable_overwrite = 13 [json_name = "disableOverwrite"];
* @return The bytes for disableOverwrite.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDisableOverwriteBytes() {
return instance.getDisableOverwriteBytes();
}
/**
* string disable_overwrite = 13 [json_name = "disableOverwrite"];
* @param value The disableOverwrite to set.
* @return This builder for chaining.
*/
public Builder setDisableOverwrite(
java.lang.String value) {
copyOnWrite();
instance.setDisableOverwrite(value);
return this;
}
/**
* string disable_overwrite = 13 [json_name = "disableOverwrite"];
* @return This builder for chaining.
*/
public Builder clearDisableOverwrite() {
copyOnWrite();
instance.clearDisableOverwrite();
return this;
}
/**
* string disable_overwrite = 13 [json_name = "disableOverwrite"];
* @param value The bytes for disableOverwrite to set.
* @return This builder for chaining.
*/
public Builder setDisableOverwriteBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setDisableOverwriteBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.sdkSettings.SdkOverlayUpdateData)
}
@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.SdkOverlayUpdateData();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"overwriteFlag_",
"overwriteFlagCase_",
"bitField0_",
"type_",
"position_",
"overwrite_",
"settings_",
"sdkEnable_",
"name_",
"icon_",
"svgIcon_",
};
java.lang.String info =
"\u0000\n\u0001\u0001\u0001\r\n\u0000\u0000\u0000\u0001\f\u0003\u0004\u0004\u0007" +
"\u0005\u1009\u0000\b\u0007\t\u0208\n\u0208\u000b\u0208\f\u023b\u0000\r\u023b\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.SdkOverlayUpdateData.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.SdkOverlayUpdateData)
private static final com.streamlayer.sdkSettings.common.SdkOverlayUpdateData DEFAULT_INSTANCE;
static {
SdkOverlayUpdateData defaultInstance = new SdkOverlayUpdateData();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
SdkOverlayUpdateData.class, defaultInstance);
}
public static com.streamlayer.sdkSettings.common.SdkOverlayUpdateData getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}