All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.java.com.streamlayer.sdkSettings.common.SdkOverlay Maven / Gradle / Ivy

There is a newer version: 5.133.1
Show newest version
// 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.SdkOverlay}
 */
public  final class SdkOverlay extends
    com.google.protobuf.GeneratedMessageLite<
        SdkOverlay, SdkOverlay.Builder> implements
    // @@protoc_insertion_point(message_implements:streamlayer.sdkSettings.SdkOverlay)
    SdkOverlayOrBuilder {
  private SdkOverlay() {
    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"]; * @return The overwrite. */ @java.lang.Override 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"]; * @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"]; */ 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 META_FIELD_NUMBER = 6; private com.streamlayer.sdkSettings.common.SdkOverlayMeta meta_; /** *
   * custom overlay settings by levels. For streams only.
   * 
* * .streamlayer.sdkSettings.SdkOverlayMeta meta = 6 [json_name = "meta"]; */ @java.lang.Override public boolean hasMeta() { return ((bitField0_ & 0x00000002) != 0); } /** *
   * custom overlay settings by levels. For streams only.
   * 
* * .streamlayer.sdkSettings.SdkOverlayMeta meta = 6 [json_name = "meta"]; */ @java.lang.Override public com.streamlayer.sdkSettings.common.SdkOverlayMeta getMeta() { return meta_ == null ? com.streamlayer.sdkSettings.common.SdkOverlayMeta.getDefaultInstance() : meta_; } /** *
   * custom overlay settings by levels. For streams only.
   * 
* * .streamlayer.sdkSettings.SdkOverlayMeta meta = 6 [json_name = "meta"]; */ private void setMeta(com.streamlayer.sdkSettings.common.SdkOverlayMeta value) { value.getClass(); meta_ = value; bitField0_ |= 0x00000002; } /** *
   * custom overlay settings by levels. For streams only.
   * 
* * .streamlayer.sdkSettings.SdkOverlayMeta meta = 6 [json_name = "meta"]; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeMeta(com.streamlayer.sdkSettings.common.SdkOverlayMeta value) { value.getClass(); if (meta_ != null && meta_ != com.streamlayer.sdkSettings.common.SdkOverlayMeta.getDefaultInstance()) { meta_ = com.streamlayer.sdkSettings.common.SdkOverlayMeta.newBuilder(meta_).mergeFrom(value).buildPartial(); } else { meta_ = value; } bitField0_ |= 0x00000002; } /** *
   * custom overlay settings by levels. For streams only.
   * 
* * .streamlayer.sdkSettings.SdkOverlayMeta meta = 6 [json_name = "meta"]; */ private void clearMeta() { meta_ = null; bitField0_ = (bitField0_ & ~0x00000002); } public static final int ENABLE_FIELD_NUMBER = 7; private boolean enable_; /** *
   * visible flag for organization, cannot be used for update value
   * 
* * bool enable = 7 [json_name = "enable"]; * @return The enable. */ @java.lang.Override public boolean getEnable() { return enable_; } /** *
   * visible flag for organization, cannot be used for update value
   * 
* * bool enable = 7 [json_name = "enable"]; * @param value The enable to set. */ private void setEnable(boolean value) { enable_ = value; } /** *
   * visible flag for organization, cannot be used for update value
   * 
* * bool enable = 7 [json_name = "enable"]; */ private void clearEnable() { enable_ = false; } 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"]; * @return The sdkEnable. */ @java.lang.Override public boolean getSdkEnable() { return sdkEnable_; } /** *
   * visible flag for sdk clients, cannot be used for update value
   * 
* * bool sdk_enable = 8 [json_name = "sdkEnable"]; * @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"]; */ 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 final int ENABLE_SDK_BUTTON_FIELD_NUMBER = 14; private boolean enableSdkButton_; /** *
   * button visible flag in SDK menu, cannot be used for update value
   * 
* * bool enable_sdk_button = 14 [json_name = "enableSdkButton"]; * @return The enableSdkButton. */ @java.lang.Override public boolean getEnableSdkButton() { return enableSdkButton_; } /** *
   * button visible flag in SDK menu, cannot be used for update value
   * 
* * bool enable_sdk_button = 14 [json_name = "enableSdkButton"]; * @param value The enableSdkButton to set. */ private void setEnableSdkButton(boolean value) { enableSdkButton_ = value; } /** *
   * button visible flag in SDK menu, cannot be used for update value
   * 
* * bool enable_sdk_button = 14 [json_name = "enableSdkButton"]; */ private void clearEnableSdkButton() { enableSdkButton_ = false; } public static com.streamlayer.sdkSettings.common.SdkOverlay 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.SdkOverlay 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.SdkOverlay 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.SdkOverlay 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.SdkOverlay parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.sdkSettings.common.SdkOverlay 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.SdkOverlay parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.streamlayer.sdkSettings.common.SdkOverlay 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.SdkOverlay parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.streamlayer.sdkSettings.common.SdkOverlay 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.SdkOverlay 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.SdkOverlay 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.SdkOverlay prototype) { return DEFAULT_INSTANCE.createBuilder(prototype); } /** * Protobuf type {@code streamlayer.sdkSettings.SdkOverlay} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.streamlayer.sdkSettings.common.SdkOverlay, Builder> implements // @@protoc_insertion_point(builder_implements:streamlayer.sdkSettings.SdkOverlay) com.streamlayer.sdkSettings.common.SdkOverlayOrBuilder { // Construct using com.streamlayer.sdkSettings.common.SdkOverlay.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"]; * @return The overwrite. */ @java.lang.Override 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"]; * @param value The overwrite to set. * @return This builder for chaining. */ 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"]; * @return This builder for chaining. */ 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; } /** *
     * custom overlay settings by levels. For streams only.
     * 
* * .streamlayer.sdkSettings.SdkOverlayMeta meta = 6 [json_name = "meta"]; */ @java.lang.Override public boolean hasMeta() { return instance.hasMeta(); } /** *
     * custom overlay settings by levels. For streams only.
     * 
* * .streamlayer.sdkSettings.SdkOverlayMeta meta = 6 [json_name = "meta"]; */ @java.lang.Override public com.streamlayer.sdkSettings.common.SdkOverlayMeta getMeta() { return instance.getMeta(); } /** *
     * custom overlay settings by levels. For streams only.
     * 
* * .streamlayer.sdkSettings.SdkOverlayMeta meta = 6 [json_name = "meta"]; */ public Builder setMeta(com.streamlayer.sdkSettings.common.SdkOverlayMeta value) { copyOnWrite(); instance.setMeta(value); return this; } /** *
     * custom overlay settings by levels. For streams only.
     * 
* * .streamlayer.sdkSettings.SdkOverlayMeta meta = 6 [json_name = "meta"]; */ public Builder setMeta( com.streamlayer.sdkSettings.common.SdkOverlayMeta.Builder builderForValue) { copyOnWrite(); instance.setMeta(builderForValue.build()); return this; } /** *
     * custom overlay settings by levels. For streams only.
     * 
* * .streamlayer.sdkSettings.SdkOverlayMeta meta = 6 [json_name = "meta"]; */ public Builder mergeMeta(com.streamlayer.sdkSettings.common.SdkOverlayMeta value) { copyOnWrite(); instance.mergeMeta(value); return this; } /** *
     * custom overlay settings by levels. For streams only.
     * 
* * .streamlayer.sdkSettings.SdkOverlayMeta meta = 6 [json_name = "meta"]; */ public Builder clearMeta() { copyOnWrite(); instance.clearMeta(); return this; } /** *
     * visible flag for organization, cannot be used for update value
     * 
* * bool enable = 7 [json_name = "enable"]; * @return The enable. */ @java.lang.Override public boolean getEnable() { return instance.getEnable(); } /** *
     * visible flag for organization, cannot be used for update value
     * 
* * bool enable = 7 [json_name = "enable"]; * @param value The enable to set. * @return This builder for chaining. */ public Builder setEnable(boolean value) { copyOnWrite(); instance.setEnable(value); return this; } /** *
     * visible flag for organization, cannot be used for update value
     * 
* * bool enable = 7 [json_name = "enable"]; * @return This builder for chaining. */ public Builder clearEnable() { copyOnWrite(); instance.clearEnable(); return this; } /** *
     * visible flag for sdk clients, cannot be used for update value
     * 
* * bool sdk_enable = 8 [json_name = "sdkEnable"]; * @return The sdkEnable. */ @java.lang.Override public boolean getSdkEnable() { return instance.getSdkEnable(); } /** *
     * visible flag for sdk clients, cannot be used for update value
     * 
* * bool sdk_enable = 8 [json_name = "sdkEnable"]; * @param value The sdkEnable to set. * @return This builder for chaining. */ 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"]; * @return This builder for chaining. */ 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; } /** *
     * button visible flag in SDK menu, cannot be used for update value
     * 
* * bool enable_sdk_button = 14 [json_name = "enableSdkButton"]; * @return The enableSdkButton. */ @java.lang.Override public boolean getEnableSdkButton() { return instance.getEnableSdkButton(); } /** *
     * button visible flag in SDK menu, cannot be used for update value
     * 
* * bool enable_sdk_button = 14 [json_name = "enableSdkButton"]; * @param value The enableSdkButton to set. * @return This builder for chaining. */ public Builder setEnableSdkButton(boolean value) { copyOnWrite(); instance.setEnableSdkButton(value); return this; } /** *
     * button visible flag in SDK menu, cannot be used for update value
     * 
* * bool enable_sdk_button = 14 [json_name = "enableSdkButton"]; * @return This builder for chaining. */ public Builder clearEnableSdkButton() { copyOnWrite(); instance.clearEnableSdkButton(); return this; } // @@protoc_insertion_point(builder_scope:streamlayer.sdkSettings.SdkOverlay) } @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.SdkOverlay(); } 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_", "meta_", "enable_", "sdkEnable_", "name_", "icon_", "svgIcon_", "enableSdkButton_", }; java.lang.String info = "\u0000\r\u0001\u0001\u0001\u000e\r\u0000\u0000\u0000\u0001\f\u0003\u0004\u0004\u0007" + "\u0005\u1009\u0000\u0006\u1009\u0001\u0007\u0007\b\u0007\t\u0208\n\u0208\u000b\u0208" + "\f\u023b\u0000\r\u023b\u0000\u000e\u0007"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through case GET_DEFAULT_INSTANCE: { return DEFAULT_INSTANCE; } case GET_PARSER: { com.google.protobuf.Parser parser = PARSER; if (parser == null) { synchronized (com.streamlayer.sdkSettings.common.SdkOverlay.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.SdkOverlay) private static final com.streamlayer.sdkSettings.common.SdkOverlay DEFAULT_INSTANCE; static { SdkOverlay defaultInstance = new SdkOverlay(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( SdkOverlay.class, defaultInstance); } public static com.streamlayer.sdkSettings.common.SdkOverlay getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy