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

main.java.com.streamlayer.sdkSettings.common.StreamSettings 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.StreamSettings}
 */
public  final class StreamSettings extends
    com.google.protobuf.GeneratedMessageLite<
        StreamSettings, StreamSettings.Builder> implements
    // @@protoc_insertion_point(message_implements:streamlayer.sdkSettings.StreamSettings)
    StreamSettingsOrBuilder {
  private StreamSettings() {
    overlays_ = emptyProtobufList();
    buttonIcon_ = "";
    primaryColor_ = "";
    secondaryColor_ = "";
    moderationPrimaryColor_ = "";
    linkShareIcon_ = "";
    linkShareText_ = "";
  }
  private int bitField0_;
  public static final int OVERLAYS_FIELD_NUMBER = 1;
  private com.google.protobuf.Internal.ProtobufList overlays_;
  /**
   * repeated .streamlayer.sdkSettings.SdkOverlay overlays = 1 [json_name = "overlays"];
   */
  @java.lang.Override
  public java.util.List getOverlaysList() {
    return overlays_;
  }
  /**
   * repeated .streamlayer.sdkSettings.SdkOverlay overlays = 1 [json_name = "overlays"];
   */
  public java.util.List 
      getOverlaysOrBuilderList() {
    return overlays_;
  }
  /**
   * repeated .streamlayer.sdkSettings.SdkOverlay overlays = 1 [json_name = "overlays"];
   */
  @java.lang.Override
  public int getOverlaysCount() {
    return overlays_.size();
  }
  /**
   * repeated .streamlayer.sdkSettings.SdkOverlay overlays = 1 [json_name = "overlays"];
   */
  @java.lang.Override
  public com.streamlayer.sdkSettings.common.SdkOverlay getOverlays(int index) {
    return overlays_.get(index);
  }
  /**
   * repeated .streamlayer.sdkSettings.SdkOverlay overlays = 1 [json_name = "overlays"];
   */
  public com.streamlayer.sdkSettings.common.SdkOverlayOrBuilder getOverlaysOrBuilder(
      int index) {
    return overlays_.get(index);
  }
  private void ensureOverlaysIsMutable() {
    com.google.protobuf.Internal.ProtobufList tmp = overlays_;
    if (!tmp.isModifiable()) {
      overlays_ =
          com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
     }
  }

  /**
   * repeated .streamlayer.sdkSettings.SdkOverlay overlays = 1 [json_name = "overlays"];
   */
  private void setOverlays(
      int index, com.streamlayer.sdkSettings.common.SdkOverlay value) {
    value.getClass();
  ensureOverlaysIsMutable();
    overlays_.set(index, value);
  }
  /**
   * repeated .streamlayer.sdkSettings.SdkOverlay overlays = 1 [json_name = "overlays"];
   */
  private void addOverlays(com.streamlayer.sdkSettings.common.SdkOverlay value) {
    value.getClass();
  ensureOverlaysIsMutable();
    overlays_.add(value);
  }
  /**
   * repeated .streamlayer.sdkSettings.SdkOverlay overlays = 1 [json_name = "overlays"];
   */
  private void addOverlays(
      int index, com.streamlayer.sdkSettings.common.SdkOverlay value) {
    value.getClass();
  ensureOverlaysIsMutable();
    overlays_.add(index, value);
  }
  /**
   * repeated .streamlayer.sdkSettings.SdkOverlay overlays = 1 [json_name = "overlays"];
   */
  private void addAllOverlays(
      java.lang.Iterable values) {
    ensureOverlaysIsMutable();
    com.google.protobuf.AbstractMessageLite.addAll(
        values, overlays_);
  }
  /**
   * repeated .streamlayer.sdkSettings.SdkOverlay overlays = 1 [json_name = "overlays"];
   */
  private void clearOverlays() {
    overlays_ = emptyProtobufList();
  }
  /**
   * repeated .streamlayer.sdkSettings.SdkOverlay overlays = 1 [json_name = "overlays"];
   */
  private void removeOverlays(int index) {
    ensureOverlaysIsMutable();
    overlays_.remove(index);
  }

  public static final int CUSTOM_FIELD_NUMBER = 2;
  private boolean custom_;
  /**
   * bool custom = 2 [json_name = "custom"];
   * @return The custom.
   */
  @java.lang.Override
  public boolean getCustom() {
    return custom_;
  }
  /**
   * bool custom = 2 [json_name = "custom"];
   * @param value The custom to set.
   */
  private void setCustom(boolean value) {
    
    custom_ = value;
  }
  /**
   * bool custom = 2 [json_name = "custom"];
   */
  private void clearCustom() {

    custom_ = false;
  }

  public static final int BUTTON_ICON_FIELD_NUMBER = 3;
  private java.lang.String buttonIcon_;
  /**
   * string button_icon = 3 [json_name = "buttonIcon"];
   * @return The buttonIcon.
   */
  @java.lang.Override
  public java.lang.String getButtonIcon() {
    return buttonIcon_;
  }
  /**
   * string button_icon = 3 [json_name = "buttonIcon"];
   * @return The bytes for buttonIcon.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getButtonIconBytes() {
    return com.google.protobuf.ByteString.copyFromUtf8(buttonIcon_);
  }
  /**
   * string button_icon = 3 [json_name = "buttonIcon"];
   * @param value The buttonIcon to set.
   */
  private void setButtonIcon(
      java.lang.String value) {
    java.lang.Class valueClass = value.getClass();
  
    buttonIcon_ = value;
  }
  /**
   * string button_icon = 3 [json_name = "buttonIcon"];
   */
  private void clearButtonIcon() {

    buttonIcon_ = getDefaultInstance().getButtonIcon();
  }
  /**
   * string button_icon = 3 [json_name = "buttonIcon"];
   * @param value The bytes for buttonIcon to set.
   */
  private void setButtonIconBytes(
      com.google.protobuf.ByteString value) {
    checkByteStringIsUtf8(value);
    buttonIcon_ = value.toStringUtf8();

  }

  public static final int PRIMARY_COLOR_FIELD_NUMBER = 4;
  private java.lang.String primaryColor_;
  /**
   * string primary_color = 4 [json_name = "primaryColor", deprecated = true];
   * @deprecated streamlayer.sdkSettings.StreamSettings.primary_color is deprecated.
   *     See streamlayer/sdkSettings/sdkSettings.common.proto;l=148
   * @return The primaryColor.
   */
  @java.lang.Override
  @java.lang.Deprecated public java.lang.String getPrimaryColor() {
    return primaryColor_;
  }
  /**
   * string primary_color = 4 [json_name = "primaryColor", deprecated = true];
   * @deprecated streamlayer.sdkSettings.StreamSettings.primary_color is deprecated.
   *     See streamlayer/sdkSettings/sdkSettings.common.proto;l=148
   * @return The bytes for primaryColor.
   */
  @java.lang.Override
  @java.lang.Deprecated public com.google.protobuf.ByteString
      getPrimaryColorBytes() {
    return com.google.protobuf.ByteString.copyFromUtf8(primaryColor_);
  }
  /**
   * string primary_color = 4 [json_name = "primaryColor", deprecated = true];
   * @deprecated streamlayer.sdkSettings.StreamSettings.primary_color is deprecated.
   *     See streamlayer/sdkSettings/sdkSettings.common.proto;l=148
   * @param value The primaryColor to set.
   */
  private void setPrimaryColor(
      java.lang.String value) {
    java.lang.Class valueClass = value.getClass();
  
    primaryColor_ = value;
  }
  /**
   * string primary_color = 4 [json_name = "primaryColor", deprecated = true];
   * @deprecated streamlayer.sdkSettings.StreamSettings.primary_color is deprecated.
   *     See streamlayer/sdkSettings/sdkSettings.common.proto;l=148
   */
  private void clearPrimaryColor() {

    primaryColor_ = getDefaultInstance().getPrimaryColor();
  }
  /**
   * string primary_color = 4 [json_name = "primaryColor", deprecated = true];
   * @deprecated streamlayer.sdkSettings.StreamSettings.primary_color is deprecated.
   *     See streamlayer/sdkSettings/sdkSettings.common.proto;l=148
   * @param value The bytes for primaryColor to set.
   */
  private void setPrimaryColorBytes(
      com.google.protobuf.ByteString value) {
    checkByteStringIsUtf8(value);
    primaryColor_ = value.toStringUtf8();

  }

  public static final int SECONDARY_COLOR_FIELD_NUMBER = 5;
  private java.lang.String secondaryColor_;
  /**
   * string secondary_color = 5 [json_name = "secondaryColor", deprecated = true];
   * @deprecated streamlayer.sdkSettings.StreamSettings.secondary_color is deprecated.
   *     See streamlayer/sdkSettings/sdkSettings.common.proto;l=149
   * @return The secondaryColor.
   */
  @java.lang.Override
  @java.lang.Deprecated public java.lang.String getSecondaryColor() {
    return secondaryColor_;
  }
  /**
   * string secondary_color = 5 [json_name = "secondaryColor", deprecated = true];
   * @deprecated streamlayer.sdkSettings.StreamSettings.secondary_color is deprecated.
   *     See streamlayer/sdkSettings/sdkSettings.common.proto;l=149
   * @return The bytes for secondaryColor.
   */
  @java.lang.Override
  @java.lang.Deprecated public com.google.protobuf.ByteString
      getSecondaryColorBytes() {
    return com.google.protobuf.ByteString.copyFromUtf8(secondaryColor_);
  }
  /**
   * string secondary_color = 5 [json_name = "secondaryColor", deprecated = true];
   * @deprecated streamlayer.sdkSettings.StreamSettings.secondary_color is deprecated.
   *     See streamlayer/sdkSettings/sdkSettings.common.proto;l=149
   * @param value The secondaryColor to set.
   */
  private void setSecondaryColor(
      java.lang.String value) {
    java.lang.Class valueClass = value.getClass();
  
    secondaryColor_ = value;
  }
  /**
   * string secondary_color = 5 [json_name = "secondaryColor", deprecated = true];
   * @deprecated streamlayer.sdkSettings.StreamSettings.secondary_color is deprecated.
   *     See streamlayer/sdkSettings/sdkSettings.common.proto;l=149
   */
  private void clearSecondaryColor() {

    secondaryColor_ = getDefaultInstance().getSecondaryColor();
  }
  /**
   * string secondary_color = 5 [json_name = "secondaryColor", deprecated = true];
   * @deprecated streamlayer.sdkSettings.StreamSettings.secondary_color is deprecated.
   *     See streamlayer/sdkSettings/sdkSettings.common.proto;l=149
   * @param value The bytes for secondaryColor to set.
   */
  private void setSecondaryColorBytes(
      com.google.protobuf.ByteString value) {
    checkByteStringIsUtf8(value);
    secondaryColor_ = value.toStringUtf8();

  }

  public static final int MODERATION_PRIMARY_COLOR_FIELD_NUMBER = 6;
  private java.lang.String moderationPrimaryColor_;
  /**
   * string moderation_primary_color = 6 [json_name = "moderationPrimaryColor", deprecated = true];
   * @deprecated streamlayer.sdkSettings.StreamSettings.moderation_primary_color is deprecated.
   *     See streamlayer/sdkSettings/sdkSettings.common.proto;l=150
   * @return The moderationPrimaryColor.
   */
  @java.lang.Override
  @java.lang.Deprecated public java.lang.String getModerationPrimaryColor() {
    return moderationPrimaryColor_;
  }
  /**
   * string moderation_primary_color = 6 [json_name = "moderationPrimaryColor", deprecated = true];
   * @deprecated streamlayer.sdkSettings.StreamSettings.moderation_primary_color is deprecated.
   *     See streamlayer/sdkSettings/sdkSettings.common.proto;l=150
   * @return The bytes for moderationPrimaryColor.
   */
  @java.lang.Override
  @java.lang.Deprecated public com.google.protobuf.ByteString
      getModerationPrimaryColorBytes() {
    return com.google.protobuf.ByteString.copyFromUtf8(moderationPrimaryColor_);
  }
  /**
   * string moderation_primary_color = 6 [json_name = "moderationPrimaryColor", deprecated = true];
   * @deprecated streamlayer.sdkSettings.StreamSettings.moderation_primary_color is deprecated.
   *     See streamlayer/sdkSettings/sdkSettings.common.proto;l=150
   * @param value The moderationPrimaryColor to set.
   */
  private void setModerationPrimaryColor(
      java.lang.String value) {
    java.lang.Class valueClass = value.getClass();
  
    moderationPrimaryColor_ = value;
  }
  /**
   * string moderation_primary_color = 6 [json_name = "moderationPrimaryColor", deprecated = true];
   * @deprecated streamlayer.sdkSettings.StreamSettings.moderation_primary_color is deprecated.
   *     See streamlayer/sdkSettings/sdkSettings.common.proto;l=150
   */
  private void clearModerationPrimaryColor() {

    moderationPrimaryColor_ = getDefaultInstance().getModerationPrimaryColor();
  }
  /**
   * string moderation_primary_color = 6 [json_name = "moderationPrimaryColor", deprecated = true];
   * @deprecated streamlayer.sdkSettings.StreamSettings.moderation_primary_color is deprecated.
   *     See streamlayer/sdkSettings/sdkSettings.common.proto;l=150
   * @param value The bytes for moderationPrimaryColor to set.
   */
  private void setModerationPrimaryColorBytes(
      com.google.protobuf.ByteString value) {
    checkByteStringIsUtf8(value);
    moderationPrimaryColor_ = value.toStringUtf8();

  }

  public static final int LINK_SHARE_ICON_FIELD_NUMBER = 7;
  private java.lang.String linkShareIcon_;
  /**
   * string link_share_icon = 7 [json_name = "linkShareIcon"];
   * @return The linkShareIcon.
   */
  @java.lang.Override
  public java.lang.String getLinkShareIcon() {
    return linkShareIcon_;
  }
  /**
   * string link_share_icon = 7 [json_name = "linkShareIcon"];
   * @return The bytes for linkShareIcon.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getLinkShareIconBytes() {
    return com.google.protobuf.ByteString.copyFromUtf8(linkShareIcon_);
  }
  /**
   * string link_share_icon = 7 [json_name = "linkShareIcon"];
   * @param value The linkShareIcon to set.
   */
  private void setLinkShareIcon(
      java.lang.String value) {
    java.lang.Class valueClass = value.getClass();
  
    linkShareIcon_ = value;
  }
  /**
   * string link_share_icon = 7 [json_name = "linkShareIcon"];
   */
  private void clearLinkShareIcon() {

    linkShareIcon_ = getDefaultInstance().getLinkShareIcon();
  }
  /**
   * string link_share_icon = 7 [json_name = "linkShareIcon"];
   * @param value The bytes for linkShareIcon to set.
   */
  private void setLinkShareIconBytes(
      com.google.protobuf.ByteString value) {
    checkByteStringIsUtf8(value);
    linkShareIcon_ = value.toStringUtf8();

  }

  public static final int LINK_SHARE_TEXT_FIELD_NUMBER = 8;
  private java.lang.String linkShareText_;
  /**
   * string link_share_text = 8 [json_name = "linkShareText"];
   * @return The linkShareText.
   */
  @java.lang.Override
  public java.lang.String getLinkShareText() {
    return linkShareText_;
  }
  /**
   * string link_share_text = 8 [json_name = "linkShareText"];
   * @return The bytes for linkShareText.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getLinkShareTextBytes() {
    return com.google.protobuf.ByteString.copyFromUtf8(linkShareText_);
  }
  /**
   * string link_share_text = 8 [json_name = "linkShareText"];
   * @param value The linkShareText to set.
   */
  private void setLinkShareText(
      java.lang.String value) {
    java.lang.Class valueClass = value.getClass();
  
    linkShareText_ = value;
  }
  /**
   * string link_share_text = 8 [json_name = "linkShareText"];
   */
  private void clearLinkShareText() {

    linkShareText_ = getDefaultInstance().getLinkShareText();
  }
  /**
   * string link_share_text = 8 [json_name = "linkShareText"];
   * @param value The bytes for linkShareText to set.
   */
  private void setLinkShareTextBytes(
      com.google.protobuf.ByteString value) {
    checkByteStringIsUtf8(value);
    linkShareText_ = value.toStringUtf8();

  }

  public static final int BRAND_DEFAULTS_FIELD_NUMBER = 9;
  private com.streamlayer.sdkSettings.common.BrandDefaults brandDefaults_;
  /**
   * .streamlayer.sdkSettings.BrandDefaults brand_defaults = 9 [json_name = "brandDefaults"];
   */
  @java.lang.Override
  public boolean hasBrandDefaults() {
    return ((bitField0_ & 0x00000001) != 0);
  }
  /**
   * .streamlayer.sdkSettings.BrandDefaults brand_defaults = 9 [json_name = "brandDefaults"];
   */
  @java.lang.Override
  public com.streamlayer.sdkSettings.common.BrandDefaults getBrandDefaults() {
    return brandDefaults_ == null ? com.streamlayer.sdkSettings.common.BrandDefaults.getDefaultInstance() : brandDefaults_;
  }
  /**
   * .streamlayer.sdkSettings.BrandDefaults brand_defaults = 9 [json_name = "brandDefaults"];
   */
  private void setBrandDefaults(com.streamlayer.sdkSettings.common.BrandDefaults value) {
    value.getClass();
  brandDefaults_ = value;
    bitField0_ |= 0x00000001;
    }
  /**
   * .streamlayer.sdkSettings.BrandDefaults brand_defaults = 9 [json_name = "brandDefaults"];
   */
  @java.lang.SuppressWarnings({"ReferenceEquality"})
  private void mergeBrandDefaults(com.streamlayer.sdkSettings.common.BrandDefaults value) {
    value.getClass();
  if (brandDefaults_ != null &&
        brandDefaults_ != com.streamlayer.sdkSettings.common.BrandDefaults.getDefaultInstance()) {
      brandDefaults_ =
        com.streamlayer.sdkSettings.common.BrandDefaults.newBuilder(brandDefaults_).mergeFrom(value).buildPartial();
    } else {
      brandDefaults_ = value;
    }
    bitField0_ |= 0x00000001;
  }
  /**
   * .streamlayer.sdkSettings.BrandDefaults brand_defaults = 9 [json_name = "brandDefaults"];
   */
  private void clearBrandDefaults() {  brandDefaults_ = null;
    bitField0_ = (bitField0_ & ~0x00000001);
  }

  public static final int GETSTREAM_FIELD_NUMBER = 10;
  private com.streamlayer.sdkSettings.common.GetStreamChannels getstream_;
  /**
   * .streamlayer.sdkSettings.GetStreamChannels getstream = 10 [json_name = "getstream", deprecated = true];
   */
  @java.lang.Override
  @java.lang.Deprecated public boolean hasGetstream() {
    return ((bitField0_ & 0x00000002) != 0);
  }
  /**
   * .streamlayer.sdkSettings.GetStreamChannels getstream = 10 [json_name = "getstream", deprecated = true];
   */
  @java.lang.Override
  @java.lang.Deprecated public com.streamlayer.sdkSettings.common.GetStreamChannels getGetstream() {
    return getstream_ == null ? com.streamlayer.sdkSettings.common.GetStreamChannels.getDefaultInstance() : getstream_;
  }
  /**
   * .streamlayer.sdkSettings.GetStreamChannels getstream = 10 [json_name = "getstream", deprecated = true];
   */
  private void setGetstream(com.streamlayer.sdkSettings.common.GetStreamChannels value) {
    value.getClass();
  getstream_ = value;
    bitField0_ |= 0x00000002;
    }
  /**
   * .streamlayer.sdkSettings.GetStreamChannels getstream = 10 [json_name = "getstream", deprecated = true];
   */
  @java.lang.SuppressWarnings({"ReferenceEquality"})
  private void mergeGetstream(com.streamlayer.sdkSettings.common.GetStreamChannels value) {
    value.getClass();
  if (getstream_ != null &&
        getstream_ != com.streamlayer.sdkSettings.common.GetStreamChannels.getDefaultInstance()) {
      getstream_ =
        com.streamlayer.sdkSettings.common.GetStreamChannels.newBuilder(getstream_).mergeFrom(value).buildPartial();
    } else {
      getstream_ = value;
    }
    bitField0_ |= 0x00000002;
  }
  /**
   * .streamlayer.sdkSettings.GetStreamChannels getstream = 10 [json_name = "getstream", deprecated = true];
   */
  private void clearGetstream() {  getstream_ = null;
    bitField0_ = (bitField0_ & ~0x00000002);
  }

  public static com.streamlayer.sdkSettings.common.StreamSettings 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.StreamSettings 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.StreamSettings 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.StreamSettings 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.StreamSettings parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data);
  }
  public static com.streamlayer.sdkSettings.common.StreamSettings 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.StreamSettings parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, input);
  }
  public static com.streamlayer.sdkSettings.common.StreamSettings 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.StreamSettings parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return parseDelimitedFrom(DEFAULT_INSTANCE, input);
  }

  public static com.streamlayer.sdkSettings.common.StreamSettings 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.StreamSettings 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.StreamSettings 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.StreamSettings prototype) {
    return DEFAULT_INSTANCE.createBuilder(prototype);
  }

  /**
   * Protobuf type {@code streamlayer.sdkSettings.StreamSettings}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageLite.Builder<
        com.streamlayer.sdkSettings.common.StreamSettings, Builder> implements
      // @@protoc_insertion_point(builder_implements:streamlayer.sdkSettings.StreamSettings)
      com.streamlayer.sdkSettings.common.StreamSettingsOrBuilder {
    // Construct using com.streamlayer.sdkSettings.common.StreamSettings.newBuilder()
    private Builder() {
      super(DEFAULT_INSTANCE);
    }


    /**
     * repeated .streamlayer.sdkSettings.SdkOverlay overlays = 1 [json_name = "overlays"];
     */
    @java.lang.Override
    public java.util.List getOverlaysList() {
      return java.util.Collections.unmodifiableList(
          instance.getOverlaysList());
    }
    /**
     * repeated .streamlayer.sdkSettings.SdkOverlay overlays = 1 [json_name = "overlays"];
     */
    @java.lang.Override
    public int getOverlaysCount() {
      return instance.getOverlaysCount();
    }/**
     * repeated .streamlayer.sdkSettings.SdkOverlay overlays = 1 [json_name = "overlays"];
     */
    @java.lang.Override
    public com.streamlayer.sdkSettings.common.SdkOverlay getOverlays(int index) {
      return instance.getOverlays(index);
    }
    /**
     * repeated .streamlayer.sdkSettings.SdkOverlay overlays = 1 [json_name = "overlays"];
     */
    public Builder setOverlays(
        int index, com.streamlayer.sdkSettings.common.SdkOverlay value) {
      copyOnWrite();
      instance.setOverlays(index, value);
      return this;
    }
    /**
     * repeated .streamlayer.sdkSettings.SdkOverlay overlays = 1 [json_name = "overlays"];
     */
    public Builder setOverlays(
        int index, com.streamlayer.sdkSettings.common.SdkOverlay.Builder builderForValue) {
      copyOnWrite();
      instance.setOverlays(index,
          builderForValue.build());
      return this;
    }
    /**
     * repeated .streamlayer.sdkSettings.SdkOverlay overlays = 1 [json_name = "overlays"];
     */
    public Builder addOverlays(com.streamlayer.sdkSettings.common.SdkOverlay value) {
      copyOnWrite();
      instance.addOverlays(value);
      return this;
    }
    /**
     * repeated .streamlayer.sdkSettings.SdkOverlay overlays = 1 [json_name = "overlays"];
     */
    public Builder addOverlays(
        int index, com.streamlayer.sdkSettings.common.SdkOverlay value) {
      copyOnWrite();
      instance.addOverlays(index, value);
      return this;
    }
    /**
     * repeated .streamlayer.sdkSettings.SdkOverlay overlays = 1 [json_name = "overlays"];
     */
    public Builder addOverlays(
        com.streamlayer.sdkSettings.common.SdkOverlay.Builder builderForValue) {
      copyOnWrite();
      instance.addOverlays(builderForValue.build());
      return this;
    }
    /**
     * repeated .streamlayer.sdkSettings.SdkOverlay overlays = 1 [json_name = "overlays"];
     */
    public Builder addOverlays(
        int index, com.streamlayer.sdkSettings.common.SdkOverlay.Builder builderForValue) {
      copyOnWrite();
      instance.addOverlays(index,
          builderForValue.build());
      return this;
    }
    /**
     * repeated .streamlayer.sdkSettings.SdkOverlay overlays = 1 [json_name = "overlays"];
     */
    public Builder addAllOverlays(
        java.lang.Iterable values) {
      copyOnWrite();
      instance.addAllOverlays(values);
      return this;
    }
    /**
     * repeated .streamlayer.sdkSettings.SdkOverlay overlays = 1 [json_name = "overlays"];
     */
    public Builder clearOverlays() {
      copyOnWrite();
      instance.clearOverlays();
      return this;
    }
    /**
     * repeated .streamlayer.sdkSettings.SdkOverlay overlays = 1 [json_name = "overlays"];
     */
    public Builder removeOverlays(int index) {
      copyOnWrite();
      instance.removeOverlays(index);
      return this;
    }

    /**
     * bool custom = 2 [json_name = "custom"];
     * @return The custom.
     */
    @java.lang.Override
    public boolean getCustom() {
      return instance.getCustom();
    }
    /**
     * bool custom = 2 [json_name = "custom"];
     * @param value The custom to set.
     * @return This builder for chaining.
     */
    public Builder setCustom(boolean value) {
      copyOnWrite();
      instance.setCustom(value);
      return this;
    }
    /**
     * bool custom = 2 [json_name = "custom"];
     * @return This builder for chaining.
     */
    public Builder clearCustom() {
      copyOnWrite();
      instance.clearCustom();
      return this;
    }

    /**
     * string button_icon = 3 [json_name = "buttonIcon"];
     * @return The buttonIcon.
     */
    @java.lang.Override
    public java.lang.String getButtonIcon() {
      return instance.getButtonIcon();
    }
    /**
     * string button_icon = 3 [json_name = "buttonIcon"];
     * @return The bytes for buttonIcon.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getButtonIconBytes() {
      return instance.getButtonIconBytes();
    }
    /**
     * string button_icon = 3 [json_name = "buttonIcon"];
     * @param value The buttonIcon to set.
     * @return This builder for chaining.
     */
    public Builder setButtonIcon(
        java.lang.String value) {
      copyOnWrite();
      instance.setButtonIcon(value);
      return this;
    }
    /**
     * string button_icon = 3 [json_name = "buttonIcon"];
     * @return This builder for chaining.
     */
    public Builder clearButtonIcon() {
      copyOnWrite();
      instance.clearButtonIcon();
      return this;
    }
    /**
     * string button_icon = 3 [json_name = "buttonIcon"];
     * @param value The bytes for buttonIcon to set.
     * @return This builder for chaining.
     */
    public Builder setButtonIconBytes(
        com.google.protobuf.ByteString value) {
      copyOnWrite();
      instance.setButtonIconBytes(value);
      return this;
    }

    /**
     * string primary_color = 4 [json_name = "primaryColor", deprecated = true];
     * @deprecated streamlayer.sdkSettings.StreamSettings.primary_color is deprecated.
     *     See streamlayer/sdkSettings/sdkSettings.common.proto;l=148
     * @return The primaryColor.
     */
    @java.lang.Override
    @java.lang.Deprecated public java.lang.String getPrimaryColor() {
      return instance.getPrimaryColor();
    }
    /**
     * string primary_color = 4 [json_name = "primaryColor", deprecated = true];
     * @deprecated streamlayer.sdkSettings.StreamSettings.primary_color is deprecated.
     *     See streamlayer/sdkSettings/sdkSettings.common.proto;l=148
     * @return The bytes for primaryColor.
     */
    @java.lang.Override
    @java.lang.Deprecated public com.google.protobuf.ByteString
        getPrimaryColorBytes() {
      return instance.getPrimaryColorBytes();
    }
    /**
     * string primary_color = 4 [json_name = "primaryColor", deprecated = true];
     * @deprecated streamlayer.sdkSettings.StreamSettings.primary_color is deprecated.
     *     See streamlayer/sdkSettings/sdkSettings.common.proto;l=148
     * @param value The primaryColor to set.
     * @return This builder for chaining.
     */
    @java.lang.Deprecated public Builder setPrimaryColor(
        java.lang.String value) {
      copyOnWrite();
      instance.setPrimaryColor(value);
      return this;
    }
    /**
     * string primary_color = 4 [json_name = "primaryColor", deprecated = true];
     * @deprecated streamlayer.sdkSettings.StreamSettings.primary_color is deprecated.
     *     See streamlayer/sdkSettings/sdkSettings.common.proto;l=148
     * @return This builder for chaining.
     */
    @java.lang.Deprecated public Builder clearPrimaryColor() {
      copyOnWrite();
      instance.clearPrimaryColor();
      return this;
    }
    /**
     * string primary_color = 4 [json_name = "primaryColor", deprecated = true];
     * @deprecated streamlayer.sdkSettings.StreamSettings.primary_color is deprecated.
     *     See streamlayer/sdkSettings/sdkSettings.common.proto;l=148
     * @param value The bytes for primaryColor to set.
     * @return This builder for chaining.
     */
    @java.lang.Deprecated public Builder setPrimaryColorBytes(
        com.google.protobuf.ByteString value) {
      copyOnWrite();
      instance.setPrimaryColorBytes(value);
      return this;
    }

    /**
     * string secondary_color = 5 [json_name = "secondaryColor", deprecated = true];
     * @deprecated streamlayer.sdkSettings.StreamSettings.secondary_color is deprecated.
     *     See streamlayer/sdkSettings/sdkSettings.common.proto;l=149
     * @return The secondaryColor.
     */
    @java.lang.Override
    @java.lang.Deprecated public java.lang.String getSecondaryColor() {
      return instance.getSecondaryColor();
    }
    /**
     * string secondary_color = 5 [json_name = "secondaryColor", deprecated = true];
     * @deprecated streamlayer.sdkSettings.StreamSettings.secondary_color is deprecated.
     *     See streamlayer/sdkSettings/sdkSettings.common.proto;l=149
     * @return The bytes for secondaryColor.
     */
    @java.lang.Override
    @java.lang.Deprecated public com.google.protobuf.ByteString
        getSecondaryColorBytes() {
      return instance.getSecondaryColorBytes();
    }
    /**
     * string secondary_color = 5 [json_name = "secondaryColor", deprecated = true];
     * @deprecated streamlayer.sdkSettings.StreamSettings.secondary_color is deprecated.
     *     See streamlayer/sdkSettings/sdkSettings.common.proto;l=149
     * @param value The secondaryColor to set.
     * @return This builder for chaining.
     */
    @java.lang.Deprecated public Builder setSecondaryColor(
        java.lang.String value) {
      copyOnWrite();
      instance.setSecondaryColor(value);
      return this;
    }
    /**
     * string secondary_color = 5 [json_name = "secondaryColor", deprecated = true];
     * @deprecated streamlayer.sdkSettings.StreamSettings.secondary_color is deprecated.
     *     See streamlayer/sdkSettings/sdkSettings.common.proto;l=149
     * @return This builder for chaining.
     */
    @java.lang.Deprecated public Builder clearSecondaryColor() {
      copyOnWrite();
      instance.clearSecondaryColor();
      return this;
    }
    /**
     * string secondary_color = 5 [json_name = "secondaryColor", deprecated = true];
     * @deprecated streamlayer.sdkSettings.StreamSettings.secondary_color is deprecated.
     *     See streamlayer/sdkSettings/sdkSettings.common.proto;l=149
     * @param value The bytes for secondaryColor to set.
     * @return This builder for chaining.
     */
    @java.lang.Deprecated public Builder setSecondaryColorBytes(
        com.google.protobuf.ByteString value) {
      copyOnWrite();
      instance.setSecondaryColorBytes(value);
      return this;
    }

    /**
     * string moderation_primary_color = 6 [json_name = "moderationPrimaryColor", deprecated = true];
     * @deprecated streamlayer.sdkSettings.StreamSettings.moderation_primary_color is deprecated.
     *     See streamlayer/sdkSettings/sdkSettings.common.proto;l=150
     * @return The moderationPrimaryColor.
     */
    @java.lang.Override
    @java.lang.Deprecated public java.lang.String getModerationPrimaryColor() {
      return instance.getModerationPrimaryColor();
    }
    /**
     * string moderation_primary_color = 6 [json_name = "moderationPrimaryColor", deprecated = true];
     * @deprecated streamlayer.sdkSettings.StreamSettings.moderation_primary_color is deprecated.
     *     See streamlayer/sdkSettings/sdkSettings.common.proto;l=150
     * @return The bytes for moderationPrimaryColor.
     */
    @java.lang.Override
    @java.lang.Deprecated public com.google.protobuf.ByteString
        getModerationPrimaryColorBytes() {
      return instance.getModerationPrimaryColorBytes();
    }
    /**
     * string moderation_primary_color = 6 [json_name = "moderationPrimaryColor", deprecated = true];
     * @deprecated streamlayer.sdkSettings.StreamSettings.moderation_primary_color is deprecated.
     *     See streamlayer/sdkSettings/sdkSettings.common.proto;l=150
     * @param value The moderationPrimaryColor to set.
     * @return This builder for chaining.
     */
    @java.lang.Deprecated public Builder setModerationPrimaryColor(
        java.lang.String value) {
      copyOnWrite();
      instance.setModerationPrimaryColor(value);
      return this;
    }
    /**
     * string moderation_primary_color = 6 [json_name = "moderationPrimaryColor", deprecated = true];
     * @deprecated streamlayer.sdkSettings.StreamSettings.moderation_primary_color is deprecated.
     *     See streamlayer/sdkSettings/sdkSettings.common.proto;l=150
     * @return This builder for chaining.
     */
    @java.lang.Deprecated public Builder clearModerationPrimaryColor() {
      copyOnWrite();
      instance.clearModerationPrimaryColor();
      return this;
    }
    /**
     * string moderation_primary_color = 6 [json_name = "moderationPrimaryColor", deprecated = true];
     * @deprecated streamlayer.sdkSettings.StreamSettings.moderation_primary_color is deprecated.
     *     See streamlayer/sdkSettings/sdkSettings.common.proto;l=150
     * @param value The bytes for moderationPrimaryColor to set.
     * @return This builder for chaining.
     */
    @java.lang.Deprecated public Builder setModerationPrimaryColorBytes(
        com.google.protobuf.ByteString value) {
      copyOnWrite();
      instance.setModerationPrimaryColorBytes(value);
      return this;
    }

    /**
     * string link_share_icon = 7 [json_name = "linkShareIcon"];
     * @return The linkShareIcon.
     */
    @java.lang.Override
    public java.lang.String getLinkShareIcon() {
      return instance.getLinkShareIcon();
    }
    /**
     * string link_share_icon = 7 [json_name = "linkShareIcon"];
     * @return The bytes for linkShareIcon.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getLinkShareIconBytes() {
      return instance.getLinkShareIconBytes();
    }
    /**
     * string link_share_icon = 7 [json_name = "linkShareIcon"];
     * @param value The linkShareIcon to set.
     * @return This builder for chaining.
     */
    public Builder setLinkShareIcon(
        java.lang.String value) {
      copyOnWrite();
      instance.setLinkShareIcon(value);
      return this;
    }
    /**
     * string link_share_icon = 7 [json_name = "linkShareIcon"];
     * @return This builder for chaining.
     */
    public Builder clearLinkShareIcon() {
      copyOnWrite();
      instance.clearLinkShareIcon();
      return this;
    }
    /**
     * string link_share_icon = 7 [json_name = "linkShareIcon"];
     * @param value The bytes for linkShareIcon to set.
     * @return This builder for chaining.
     */
    public Builder setLinkShareIconBytes(
        com.google.protobuf.ByteString value) {
      copyOnWrite();
      instance.setLinkShareIconBytes(value);
      return this;
    }

    /**
     * string link_share_text = 8 [json_name = "linkShareText"];
     * @return The linkShareText.
     */
    @java.lang.Override
    public java.lang.String getLinkShareText() {
      return instance.getLinkShareText();
    }
    /**
     * string link_share_text = 8 [json_name = "linkShareText"];
     * @return The bytes for linkShareText.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getLinkShareTextBytes() {
      return instance.getLinkShareTextBytes();
    }
    /**
     * string link_share_text = 8 [json_name = "linkShareText"];
     * @param value The linkShareText to set.
     * @return This builder for chaining.
     */
    public Builder setLinkShareText(
        java.lang.String value) {
      copyOnWrite();
      instance.setLinkShareText(value);
      return this;
    }
    /**
     * string link_share_text = 8 [json_name = "linkShareText"];
     * @return This builder for chaining.
     */
    public Builder clearLinkShareText() {
      copyOnWrite();
      instance.clearLinkShareText();
      return this;
    }
    /**
     * string link_share_text = 8 [json_name = "linkShareText"];
     * @param value The bytes for linkShareText to set.
     * @return This builder for chaining.
     */
    public Builder setLinkShareTextBytes(
        com.google.protobuf.ByteString value) {
      copyOnWrite();
      instance.setLinkShareTextBytes(value);
      return this;
    }

    /**
     * .streamlayer.sdkSettings.BrandDefaults brand_defaults = 9 [json_name = "brandDefaults"];
     */
    @java.lang.Override
    public boolean hasBrandDefaults() {
      return instance.hasBrandDefaults();
    }
    /**
     * .streamlayer.sdkSettings.BrandDefaults brand_defaults = 9 [json_name = "brandDefaults"];
     */
    @java.lang.Override
    public com.streamlayer.sdkSettings.common.BrandDefaults getBrandDefaults() {
      return instance.getBrandDefaults();
    }
    /**
     * .streamlayer.sdkSettings.BrandDefaults brand_defaults = 9 [json_name = "brandDefaults"];
     */
    public Builder setBrandDefaults(com.streamlayer.sdkSettings.common.BrandDefaults value) {
      copyOnWrite();
      instance.setBrandDefaults(value);
      return this;
      }
    /**
     * .streamlayer.sdkSettings.BrandDefaults brand_defaults = 9 [json_name = "brandDefaults"];
     */
    public Builder setBrandDefaults(
        com.streamlayer.sdkSettings.common.BrandDefaults.Builder builderForValue) {
      copyOnWrite();
      instance.setBrandDefaults(builderForValue.build());
      return this;
    }
    /**
     * .streamlayer.sdkSettings.BrandDefaults brand_defaults = 9 [json_name = "brandDefaults"];
     */
    public Builder mergeBrandDefaults(com.streamlayer.sdkSettings.common.BrandDefaults value) {
      copyOnWrite();
      instance.mergeBrandDefaults(value);
      return this;
    }
    /**
     * .streamlayer.sdkSettings.BrandDefaults brand_defaults = 9 [json_name = "brandDefaults"];
     */
    public Builder clearBrandDefaults() {  copyOnWrite();
      instance.clearBrandDefaults();
      return this;
    }

    /**
     * .streamlayer.sdkSettings.GetStreamChannels getstream = 10 [json_name = "getstream", deprecated = true];
     */
    @java.lang.Override
    @java.lang.Deprecated public boolean hasGetstream() {
      return instance.hasGetstream();
    }
    /**
     * .streamlayer.sdkSettings.GetStreamChannels getstream = 10 [json_name = "getstream", deprecated = true];
     */
    @java.lang.Override
    @java.lang.Deprecated public com.streamlayer.sdkSettings.common.GetStreamChannels getGetstream() {
      return instance.getGetstream();
    }
    /**
     * .streamlayer.sdkSettings.GetStreamChannels getstream = 10 [json_name = "getstream", deprecated = true];
     */
    @java.lang.Deprecated public Builder setGetstream(com.streamlayer.sdkSettings.common.GetStreamChannels value) {
      copyOnWrite();
      instance.setGetstream(value);
      return this;
      }
    /**
     * .streamlayer.sdkSettings.GetStreamChannels getstream = 10 [json_name = "getstream", deprecated = true];
     */
    @java.lang.Deprecated public Builder setGetstream(
        com.streamlayer.sdkSettings.common.GetStreamChannels.Builder builderForValue) {
      copyOnWrite();
      instance.setGetstream(builderForValue.build());
      return this;
    }
    /**
     * .streamlayer.sdkSettings.GetStreamChannels getstream = 10 [json_name = "getstream", deprecated = true];
     */
    @java.lang.Deprecated public Builder mergeGetstream(com.streamlayer.sdkSettings.common.GetStreamChannels value) {
      copyOnWrite();
      instance.mergeGetstream(value);
      return this;
    }
    /**
     * .streamlayer.sdkSettings.GetStreamChannels getstream = 10 [json_name = "getstream", deprecated = true];
     */
    @java.lang.Deprecated public Builder clearGetstream() {  copyOnWrite();
      instance.clearGetstream();
      return this;
    }

    // @@protoc_insertion_point(builder_scope:streamlayer.sdkSettings.StreamSettings)
  }
  @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.StreamSettings();
      }
      case NEW_BUILDER: {
        return new Builder();
      }
      case BUILD_MESSAGE_INFO: {
          java.lang.Object[] objects = new java.lang.Object[] {
            "bitField0_",
            "overlays_",
            com.streamlayer.sdkSettings.common.SdkOverlay.class,
            "custom_",
            "buttonIcon_",
            "primaryColor_",
            "secondaryColor_",
            "moderationPrimaryColor_",
            "linkShareIcon_",
            "linkShareText_",
            "brandDefaults_",
            "getstream_",
          };
          java.lang.String info =
              "\u0000\n\u0000\u0001\u0001\n\n\u0000\u0001\u0000\u0001\u001b\u0002\u0007\u0003\u0208" +
              "\u0004\u0208\u0005\u0208\u0006\u0208\u0007\u0208\b\u0208\t\u1009\u0000\n\u1009\u0001" +
              "";
          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.StreamSettings.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.StreamSettings)
  private static final com.streamlayer.sdkSettings.common.StreamSettings DEFAULT_INSTANCE;
  static {
    StreamSettings defaultInstance = new StreamSettings();
    // New instances are implicitly immutable so no need to make
    // immutable.
    DEFAULT_INSTANCE = defaultInstance;
    com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
      StreamSettings.class, defaultInstance);
  }

  public static com.streamlayer.sdkSettings.common.StreamSettings 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