main.java.com.streamlayer.sdkSettings.stream.OverlayStateUpdate 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/stream/stream.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.sdkSettings.stream;
/**
* Protobuf type {@code streamlayer.sdkSettings.stream.OverlayStateUpdate}
*/
public final class OverlayStateUpdate extends
com.google.protobuf.GeneratedMessageLite<
OverlayStateUpdate, OverlayStateUpdate.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.sdkSettings.stream.OverlayStateUpdate)
OverlayStateUpdateOrBuilder {
private OverlayStateUpdate() {
}
private int overlayUpdateCase_ = 0;
private java.lang.Object overlayUpdate_;
public enum OverlayUpdateCase {
ENABLE(1),
DISABLE(2),
ENABLE_SDK(3),
DISABLE_SDK(4),
ENABLE_SDK_BUTTON(5),
DISABLE_SDK_BUTTON(6),
OVERLAYUPDATE_NOT_SET(0);
private final int value;
private OverlayUpdateCase(int value) {
this.value = value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static OverlayUpdateCase valueOf(int value) {
return forNumber(value);
}
public static OverlayUpdateCase forNumber(int value) {
switch (value) {
case 1: return ENABLE;
case 2: return DISABLE;
case 3: return ENABLE_SDK;
case 4: return DISABLE_SDK;
case 5: return ENABLE_SDK_BUTTON;
case 6: return DISABLE_SDK_BUTTON;
case 0: return OVERLAYUPDATE_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
@java.lang.Override
public OverlayUpdateCase
getOverlayUpdateCase() {
return OverlayUpdateCase.forNumber(
overlayUpdateCase_);
}
private void clearOverlayUpdate() {
overlayUpdateCase_ = 0;
overlayUpdate_ = null;
}
public static final int ENABLE_FIELD_NUMBER = 1;
/**
* string enable = 1 [json_name = "enable"];
* @return Whether the enable field is set.
*/
@java.lang.Override
public boolean hasEnable() {
return overlayUpdateCase_ == 1;
}
/**
* string enable = 1 [json_name = "enable"];
* @return The enable.
*/
@java.lang.Override
public java.lang.String getEnable() {
java.lang.String ref = "";
if (overlayUpdateCase_ == 1) {
ref = (java.lang.String) overlayUpdate_;
}
return ref;
}
/**
* string enable = 1 [json_name = "enable"];
* @return The bytes for enable.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getEnableBytes() {
java.lang.String ref = "";
if (overlayUpdateCase_ == 1) {
ref = (java.lang.String) overlayUpdate_;
}
return com.google.protobuf.ByteString.copyFromUtf8(ref);
}
/**
* string enable = 1 [json_name = "enable"];
* @param value The enable to set.
*/
private void setEnable(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
overlayUpdateCase_ = 1;
overlayUpdate_ = value;
}
/**
* string enable = 1 [json_name = "enable"];
*/
private void clearEnable() {
if (overlayUpdateCase_ == 1) {
overlayUpdateCase_ = 0;
overlayUpdate_ = null;
}
}
/**
* string enable = 1 [json_name = "enable"];
* @param value The bytes for enable to set.
*/
private void setEnableBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
overlayUpdate_ = value.toStringUtf8();
overlayUpdateCase_ = 1;
}
public static final int DISABLE_FIELD_NUMBER = 2;
/**
* string disable = 2 [json_name = "disable"];
* @return Whether the disable field is set.
*/
@java.lang.Override
public boolean hasDisable() {
return overlayUpdateCase_ == 2;
}
/**
* string disable = 2 [json_name = "disable"];
* @return The disable.
*/
@java.lang.Override
public java.lang.String getDisable() {
java.lang.String ref = "";
if (overlayUpdateCase_ == 2) {
ref = (java.lang.String) overlayUpdate_;
}
return ref;
}
/**
* string disable = 2 [json_name = "disable"];
* @return The bytes for disable.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDisableBytes() {
java.lang.String ref = "";
if (overlayUpdateCase_ == 2) {
ref = (java.lang.String) overlayUpdate_;
}
return com.google.protobuf.ByteString.copyFromUtf8(ref);
}
/**
* string disable = 2 [json_name = "disable"];
* @param value The disable to set.
*/
private void setDisable(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
overlayUpdateCase_ = 2;
overlayUpdate_ = value;
}
/**
* string disable = 2 [json_name = "disable"];
*/
private void clearDisable() {
if (overlayUpdateCase_ == 2) {
overlayUpdateCase_ = 0;
overlayUpdate_ = null;
}
}
/**
* string disable = 2 [json_name = "disable"];
* @param value The bytes for disable to set.
*/
private void setDisableBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
overlayUpdate_ = value.toStringUtf8();
overlayUpdateCase_ = 2;
}
public static final int ENABLE_SDK_FIELD_NUMBER = 3;
/**
* string enable_sdk = 3 [json_name = "enableSdk"];
* @return Whether the enableSdk field is set.
*/
@java.lang.Override
public boolean hasEnableSdk() {
return overlayUpdateCase_ == 3;
}
/**
* string enable_sdk = 3 [json_name = "enableSdk"];
* @return The enableSdk.
*/
@java.lang.Override
public java.lang.String getEnableSdk() {
java.lang.String ref = "";
if (overlayUpdateCase_ == 3) {
ref = (java.lang.String) overlayUpdate_;
}
return ref;
}
/**
* string enable_sdk = 3 [json_name = "enableSdk"];
* @return The bytes for enableSdk.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getEnableSdkBytes() {
java.lang.String ref = "";
if (overlayUpdateCase_ == 3) {
ref = (java.lang.String) overlayUpdate_;
}
return com.google.protobuf.ByteString.copyFromUtf8(ref);
}
/**
* string enable_sdk = 3 [json_name = "enableSdk"];
* @param value The enableSdk to set.
*/
private void setEnableSdk(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
overlayUpdateCase_ = 3;
overlayUpdate_ = value;
}
/**
* string enable_sdk = 3 [json_name = "enableSdk"];
*/
private void clearEnableSdk() {
if (overlayUpdateCase_ == 3) {
overlayUpdateCase_ = 0;
overlayUpdate_ = null;
}
}
/**
* string enable_sdk = 3 [json_name = "enableSdk"];
* @param value The bytes for enableSdk to set.
*/
private void setEnableSdkBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
overlayUpdate_ = value.toStringUtf8();
overlayUpdateCase_ = 3;
}
public static final int DISABLE_SDK_FIELD_NUMBER = 4;
/**
* string disable_sdk = 4 [json_name = "disableSdk"];
* @return Whether the disableSdk field is set.
*/
@java.lang.Override
public boolean hasDisableSdk() {
return overlayUpdateCase_ == 4;
}
/**
* string disable_sdk = 4 [json_name = "disableSdk"];
* @return The disableSdk.
*/
@java.lang.Override
public java.lang.String getDisableSdk() {
java.lang.String ref = "";
if (overlayUpdateCase_ == 4) {
ref = (java.lang.String) overlayUpdate_;
}
return ref;
}
/**
* string disable_sdk = 4 [json_name = "disableSdk"];
* @return The bytes for disableSdk.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDisableSdkBytes() {
java.lang.String ref = "";
if (overlayUpdateCase_ == 4) {
ref = (java.lang.String) overlayUpdate_;
}
return com.google.protobuf.ByteString.copyFromUtf8(ref);
}
/**
* string disable_sdk = 4 [json_name = "disableSdk"];
* @param value The disableSdk to set.
*/
private void setDisableSdk(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
overlayUpdateCase_ = 4;
overlayUpdate_ = value;
}
/**
* string disable_sdk = 4 [json_name = "disableSdk"];
*/
private void clearDisableSdk() {
if (overlayUpdateCase_ == 4) {
overlayUpdateCase_ = 0;
overlayUpdate_ = null;
}
}
/**
* string disable_sdk = 4 [json_name = "disableSdk"];
* @param value The bytes for disableSdk to set.
*/
private void setDisableSdkBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
overlayUpdate_ = value.toStringUtf8();
overlayUpdateCase_ = 4;
}
public static final int ENABLE_SDK_BUTTON_FIELD_NUMBER = 5;
/**
* string enable_sdk_button = 5 [json_name = "enableSdkButton"];
* @return Whether the enableSdkButton field is set.
*/
@java.lang.Override
public boolean hasEnableSdkButton() {
return overlayUpdateCase_ == 5;
}
/**
* string enable_sdk_button = 5 [json_name = "enableSdkButton"];
* @return The enableSdkButton.
*/
@java.lang.Override
public java.lang.String getEnableSdkButton() {
java.lang.String ref = "";
if (overlayUpdateCase_ == 5) {
ref = (java.lang.String) overlayUpdate_;
}
return ref;
}
/**
* string enable_sdk_button = 5 [json_name = "enableSdkButton"];
* @return The bytes for enableSdkButton.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getEnableSdkButtonBytes() {
java.lang.String ref = "";
if (overlayUpdateCase_ == 5) {
ref = (java.lang.String) overlayUpdate_;
}
return com.google.protobuf.ByteString.copyFromUtf8(ref);
}
/**
* string enable_sdk_button = 5 [json_name = "enableSdkButton"];
* @param value The enableSdkButton to set.
*/
private void setEnableSdkButton(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
overlayUpdateCase_ = 5;
overlayUpdate_ = value;
}
/**
* string enable_sdk_button = 5 [json_name = "enableSdkButton"];
*/
private void clearEnableSdkButton() {
if (overlayUpdateCase_ == 5) {
overlayUpdateCase_ = 0;
overlayUpdate_ = null;
}
}
/**
* string enable_sdk_button = 5 [json_name = "enableSdkButton"];
* @param value The bytes for enableSdkButton to set.
*/
private void setEnableSdkButtonBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
overlayUpdate_ = value.toStringUtf8();
overlayUpdateCase_ = 5;
}
public static final int DISABLE_SDK_BUTTON_FIELD_NUMBER = 6;
/**
* string disable_sdk_button = 6 [json_name = "disableSdkButton"];
* @return Whether the disableSdkButton field is set.
*/
@java.lang.Override
public boolean hasDisableSdkButton() {
return overlayUpdateCase_ == 6;
}
/**
* string disable_sdk_button = 6 [json_name = "disableSdkButton"];
* @return The disableSdkButton.
*/
@java.lang.Override
public java.lang.String getDisableSdkButton() {
java.lang.String ref = "";
if (overlayUpdateCase_ == 6) {
ref = (java.lang.String) overlayUpdate_;
}
return ref;
}
/**
* string disable_sdk_button = 6 [json_name = "disableSdkButton"];
* @return The bytes for disableSdkButton.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDisableSdkButtonBytes() {
java.lang.String ref = "";
if (overlayUpdateCase_ == 6) {
ref = (java.lang.String) overlayUpdate_;
}
return com.google.protobuf.ByteString.copyFromUtf8(ref);
}
/**
* string disable_sdk_button = 6 [json_name = "disableSdkButton"];
* @param value The disableSdkButton to set.
*/
private void setDisableSdkButton(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
overlayUpdateCase_ = 6;
overlayUpdate_ = value;
}
/**
* string disable_sdk_button = 6 [json_name = "disableSdkButton"];
*/
private void clearDisableSdkButton() {
if (overlayUpdateCase_ == 6) {
overlayUpdateCase_ = 0;
overlayUpdate_ = null;
}
}
/**
* string disable_sdk_button = 6 [json_name = "disableSdkButton"];
* @param value The bytes for disableSdkButton to set.
*/
private void setDisableSdkButtonBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
overlayUpdate_ = value.toStringUtf8();
overlayUpdateCase_ = 6;
}
public static com.streamlayer.sdkSettings.stream.OverlayStateUpdate parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sdkSettings.stream.OverlayStateUpdate 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.stream.OverlayStateUpdate 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.stream.OverlayStateUpdate 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.stream.OverlayStateUpdate parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sdkSettings.stream.OverlayStateUpdate 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.stream.OverlayStateUpdate parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sdkSettings.stream.OverlayStateUpdate 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.stream.OverlayStateUpdate parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sdkSettings.stream.OverlayStateUpdate 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.stream.OverlayStateUpdate parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sdkSettings.stream.OverlayStateUpdate 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.stream.OverlayStateUpdate prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.sdkSettings.stream.OverlayStateUpdate}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.sdkSettings.stream.OverlayStateUpdate, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.sdkSettings.stream.OverlayStateUpdate)
com.streamlayer.sdkSettings.stream.OverlayStateUpdateOrBuilder {
// Construct using com.streamlayer.sdkSettings.stream.OverlayStateUpdate.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
@java.lang.Override
public OverlayUpdateCase
getOverlayUpdateCase() {
return instance.getOverlayUpdateCase();
}
public Builder clearOverlayUpdate() {
copyOnWrite();
instance.clearOverlayUpdate();
return this;
}
/**
* string enable = 1 [json_name = "enable"];
* @return Whether the enable field is set.
*/
@java.lang.Override
public boolean hasEnable() {
return instance.hasEnable();
}
/**
* string enable = 1 [json_name = "enable"];
* @return The enable.
*/
@java.lang.Override
public java.lang.String getEnable() {
return instance.getEnable();
}
/**
* string enable = 1 [json_name = "enable"];
* @return The bytes for enable.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getEnableBytes() {
return instance.getEnableBytes();
}
/**
* string enable = 1 [json_name = "enable"];
* @param value The enable to set.
* @return This builder for chaining.
*/
public Builder setEnable(
java.lang.String value) {
copyOnWrite();
instance.setEnable(value);
return this;
}
/**
* string enable = 1 [json_name = "enable"];
* @return This builder for chaining.
*/
public Builder clearEnable() {
copyOnWrite();
instance.clearEnable();
return this;
}
/**
* string enable = 1 [json_name = "enable"];
* @param value The bytes for enable to set.
* @return This builder for chaining.
*/
public Builder setEnableBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setEnableBytes(value);
return this;
}
/**
* string disable = 2 [json_name = "disable"];
* @return Whether the disable field is set.
*/
@java.lang.Override
public boolean hasDisable() {
return instance.hasDisable();
}
/**
* string disable = 2 [json_name = "disable"];
* @return The disable.
*/
@java.lang.Override
public java.lang.String getDisable() {
return instance.getDisable();
}
/**
* string disable = 2 [json_name = "disable"];
* @return The bytes for disable.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDisableBytes() {
return instance.getDisableBytes();
}
/**
* string disable = 2 [json_name = "disable"];
* @param value The disable to set.
* @return This builder for chaining.
*/
public Builder setDisable(
java.lang.String value) {
copyOnWrite();
instance.setDisable(value);
return this;
}
/**
* string disable = 2 [json_name = "disable"];
* @return This builder for chaining.
*/
public Builder clearDisable() {
copyOnWrite();
instance.clearDisable();
return this;
}
/**
* string disable = 2 [json_name = "disable"];
* @param value The bytes for disable to set.
* @return This builder for chaining.
*/
public Builder setDisableBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setDisableBytes(value);
return this;
}
/**
* string enable_sdk = 3 [json_name = "enableSdk"];
* @return Whether the enableSdk field is set.
*/
@java.lang.Override
public boolean hasEnableSdk() {
return instance.hasEnableSdk();
}
/**
* string enable_sdk = 3 [json_name = "enableSdk"];
* @return The enableSdk.
*/
@java.lang.Override
public java.lang.String getEnableSdk() {
return instance.getEnableSdk();
}
/**
* string enable_sdk = 3 [json_name = "enableSdk"];
* @return The bytes for enableSdk.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getEnableSdkBytes() {
return instance.getEnableSdkBytes();
}
/**
* string enable_sdk = 3 [json_name = "enableSdk"];
* @param value The enableSdk to set.
* @return This builder for chaining.
*/
public Builder setEnableSdk(
java.lang.String value) {
copyOnWrite();
instance.setEnableSdk(value);
return this;
}
/**
* string enable_sdk = 3 [json_name = "enableSdk"];
* @return This builder for chaining.
*/
public Builder clearEnableSdk() {
copyOnWrite();
instance.clearEnableSdk();
return this;
}
/**
* string enable_sdk = 3 [json_name = "enableSdk"];
* @param value The bytes for enableSdk to set.
* @return This builder for chaining.
*/
public Builder setEnableSdkBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setEnableSdkBytes(value);
return this;
}
/**
* string disable_sdk = 4 [json_name = "disableSdk"];
* @return Whether the disableSdk field is set.
*/
@java.lang.Override
public boolean hasDisableSdk() {
return instance.hasDisableSdk();
}
/**
* string disable_sdk = 4 [json_name = "disableSdk"];
* @return The disableSdk.
*/
@java.lang.Override
public java.lang.String getDisableSdk() {
return instance.getDisableSdk();
}
/**
* string disable_sdk = 4 [json_name = "disableSdk"];
* @return The bytes for disableSdk.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDisableSdkBytes() {
return instance.getDisableSdkBytes();
}
/**
* string disable_sdk = 4 [json_name = "disableSdk"];
* @param value The disableSdk to set.
* @return This builder for chaining.
*/
public Builder setDisableSdk(
java.lang.String value) {
copyOnWrite();
instance.setDisableSdk(value);
return this;
}
/**
* string disable_sdk = 4 [json_name = "disableSdk"];
* @return This builder for chaining.
*/
public Builder clearDisableSdk() {
copyOnWrite();
instance.clearDisableSdk();
return this;
}
/**
* string disable_sdk = 4 [json_name = "disableSdk"];
* @param value The bytes for disableSdk to set.
* @return This builder for chaining.
*/
public Builder setDisableSdkBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setDisableSdkBytes(value);
return this;
}
/**
* string enable_sdk_button = 5 [json_name = "enableSdkButton"];
* @return Whether the enableSdkButton field is set.
*/
@java.lang.Override
public boolean hasEnableSdkButton() {
return instance.hasEnableSdkButton();
}
/**
* string enable_sdk_button = 5 [json_name = "enableSdkButton"];
* @return The enableSdkButton.
*/
@java.lang.Override
public java.lang.String getEnableSdkButton() {
return instance.getEnableSdkButton();
}
/**
* string enable_sdk_button = 5 [json_name = "enableSdkButton"];
* @return The bytes for enableSdkButton.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getEnableSdkButtonBytes() {
return instance.getEnableSdkButtonBytes();
}
/**
* string enable_sdk_button = 5 [json_name = "enableSdkButton"];
* @param value The enableSdkButton to set.
* @return This builder for chaining.
*/
public Builder setEnableSdkButton(
java.lang.String value) {
copyOnWrite();
instance.setEnableSdkButton(value);
return this;
}
/**
* string enable_sdk_button = 5 [json_name = "enableSdkButton"];
* @return This builder for chaining.
*/
public Builder clearEnableSdkButton() {
copyOnWrite();
instance.clearEnableSdkButton();
return this;
}
/**
* string enable_sdk_button = 5 [json_name = "enableSdkButton"];
* @param value The bytes for enableSdkButton to set.
* @return This builder for chaining.
*/
public Builder setEnableSdkButtonBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setEnableSdkButtonBytes(value);
return this;
}
/**
* string disable_sdk_button = 6 [json_name = "disableSdkButton"];
* @return Whether the disableSdkButton field is set.
*/
@java.lang.Override
public boolean hasDisableSdkButton() {
return instance.hasDisableSdkButton();
}
/**
* string disable_sdk_button = 6 [json_name = "disableSdkButton"];
* @return The disableSdkButton.
*/
@java.lang.Override
public java.lang.String getDisableSdkButton() {
return instance.getDisableSdkButton();
}
/**
* string disable_sdk_button = 6 [json_name = "disableSdkButton"];
* @return The bytes for disableSdkButton.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDisableSdkButtonBytes() {
return instance.getDisableSdkButtonBytes();
}
/**
* string disable_sdk_button = 6 [json_name = "disableSdkButton"];
* @param value The disableSdkButton to set.
* @return This builder for chaining.
*/
public Builder setDisableSdkButton(
java.lang.String value) {
copyOnWrite();
instance.setDisableSdkButton(value);
return this;
}
/**
* string disable_sdk_button = 6 [json_name = "disableSdkButton"];
* @return This builder for chaining.
*/
public Builder clearDisableSdkButton() {
copyOnWrite();
instance.clearDisableSdkButton();
return this;
}
/**
* string disable_sdk_button = 6 [json_name = "disableSdkButton"];
* @param value The bytes for disableSdkButton to set.
* @return This builder for chaining.
*/
public Builder setDisableSdkButtonBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setDisableSdkButtonBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.sdkSettings.stream.OverlayStateUpdate)
}
@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.stream.OverlayStateUpdate();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"overlayUpdate_",
"overlayUpdateCase_",
};
java.lang.String info =
"\u0000\u0006\u0001\u0000\u0001\u0006\u0006\u0000\u0000\u0000\u0001\u023b\u0000\u0002" +
"\u023b\u0000\u0003\u023b\u0000\u0004\u023b\u0000\u0005\u023b\u0000\u0006\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.stream.OverlayStateUpdate.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.stream.OverlayStateUpdate)
private static final com.streamlayer.sdkSettings.stream.OverlayStateUpdate DEFAULT_INSTANCE;
static {
OverlayStateUpdate defaultInstance = new OverlayStateUpdate();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
OverlayStateUpdate.class, defaultInstance);
}
public static com.streamlayer.sdkSettings.stream.OverlayStateUpdate getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}