Class CTAButton.Builder

  • All Implemented Interfaces:
    com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, CTAButtonOrBuilder, java.lang.Cloneable
    Enclosing class:
    CTAButton

    public static final class CTAButton.Builder
    extends com.google.protobuf.GeneratedMessageLite.Builder<CTAButton,​CTAButton.Builder>
    implements CTAButtonOrBuilder
    Protobuf type streamlayer.interactive.CTAButton
    • Field Summary

      • Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder

        instance
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      CTAButton.Builder clearColor()
      string color = 2 [json_name = "color"];
      CTAButton.Builder clearCtaIcon()
      string cta_icon = 4 [json_name = "ctaIcon"];
      CTAButton.Builder clearCtaIconMode()
      .streamlayer.interactive.CtaIconMode cta_icon_mode = 5 [json_name = "ctaIconMode"];
      CTAButton.Builder clearLabel()
      string label = 1 [json_name = "label"];
      CTAButton.Builder clearTextColor()
      optional string text_color = 3 [json_name = "textColor"];
      java.lang.String getColor()
      string color = 2 [json_name = "color"];
      com.google.protobuf.ByteString getColorBytes()
      string color = 2 [json_name = "color"];
      java.lang.String getCtaIcon()
      string cta_icon = 4 [json_name = "ctaIcon"];
      com.google.protobuf.ByteString getCtaIconBytes()
      string cta_icon = 4 [json_name = "ctaIcon"];
      CtaIconMode getCtaIconMode()
      .streamlayer.interactive.CtaIconMode cta_icon_mode = 5 [json_name = "ctaIconMode"];
      int getCtaIconModeValue()
      .streamlayer.interactive.CtaIconMode cta_icon_mode = 5 [json_name = "ctaIconMode"];
      java.lang.String getLabel()
      string label = 1 [json_name = "label"];
      com.google.protobuf.ByteString getLabelBytes()
      string label = 1 [json_name = "label"];
      java.lang.String getTextColor()
      optional string text_color = 3 [json_name = "textColor"];
      com.google.protobuf.ByteString getTextColorBytes()
      optional string text_color = 3 [json_name = "textColor"];
      boolean hasTextColor()
      optional string text_color = 3 [json_name = "textColor"];
      CTAButton.Builder setColor​(java.lang.String value)
      string color = 2 [json_name = "color"];
      CTAButton.Builder setColorBytes​(com.google.protobuf.ByteString value)
      string color = 2 [json_name = "color"];
      CTAButton.Builder setCtaIcon​(java.lang.String value)
      string cta_icon = 4 [json_name = "ctaIcon"];
      CTAButton.Builder setCtaIconBytes​(com.google.protobuf.ByteString value)
      string cta_icon = 4 [json_name = "ctaIcon"];
      CTAButton.Builder setCtaIconMode​(CtaIconMode value)
      .streamlayer.interactive.CtaIconMode cta_icon_mode = 5 [json_name = "ctaIconMode"];
      CTAButton.Builder setCtaIconModeValue​(int value)
      .streamlayer.interactive.CtaIconMode cta_icon_mode = 5 [json_name = "ctaIconMode"];
      CTAButton.Builder setLabel​(java.lang.String value)
      string label = 1 [json_name = "label"];
      CTAButton.Builder setLabelBytes​(com.google.protobuf.ByteString value)
      string label = 1 [json_name = "label"];
      CTAButton.Builder setTextColor​(java.lang.String value)
      optional string text_color = 3 [json_name = "textColor"];
      CTAButton.Builder setTextColorBytes​(com.google.protobuf.ByteString value)
      optional string text_color = 3 [json_name = "textColor"];
      • Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder

        build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
      • Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

        addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
    • Method Detail

      • getLabel

        public java.lang.String getLabel()
        string label = 1 [json_name = "label"];
        Specified by:
        getLabel in interface CTAButtonOrBuilder
        Returns:
        The label.
      • getLabelBytes

        public com.google.protobuf.ByteString getLabelBytes()
        string label = 1 [json_name = "label"];
        Specified by:
        getLabelBytes in interface CTAButtonOrBuilder
        Returns:
        The bytes for label.
      • setLabel

        public CTAButton.Builder setLabel​(java.lang.String value)
        string label = 1 [json_name = "label"];
        Parameters:
        value - The label to set.
        Returns:
        This builder for chaining.
      • clearLabel

        public CTAButton.Builder clearLabel()
        string label = 1 [json_name = "label"];
        Returns:
        This builder for chaining.
      • setLabelBytes

        public CTAButton.Builder setLabelBytes​(com.google.protobuf.ByteString value)
        string label = 1 [json_name = "label"];
        Parameters:
        value - The bytes for label to set.
        Returns:
        This builder for chaining.
      • getColor

        public java.lang.String getColor()
        string color = 2 [json_name = "color"];
        Specified by:
        getColor in interface CTAButtonOrBuilder
        Returns:
        The color.
      • getColorBytes

        public com.google.protobuf.ByteString getColorBytes()
        string color = 2 [json_name = "color"];
        Specified by:
        getColorBytes in interface CTAButtonOrBuilder
        Returns:
        The bytes for color.
      • setColor

        public CTAButton.Builder setColor​(java.lang.String value)
        string color = 2 [json_name = "color"];
        Parameters:
        value - The color to set.
        Returns:
        This builder for chaining.
      • clearColor

        public CTAButton.Builder clearColor()
        string color = 2 [json_name = "color"];
        Returns:
        This builder for chaining.
      • setColorBytes

        public CTAButton.Builder setColorBytes​(com.google.protobuf.ByteString value)
        string color = 2 [json_name = "color"];
        Parameters:
        value - The bytes for color to set.
        Returns:
        This builder for chaining.
      • hasTextColor

        public boolean hasTextColor()
        optional string text_color = 3 [json_name = "textColor"];
        Specified by:
        hasTextColor in interface CTAButtonOrBuilder
        Returns:
        Whether the textColor field is set.
      • getTextColor

        public java.lang.String getTextColor()
        optional string text_color = 3 [json_name = "textColor"];
        Specified by:
        getTextColor in interface CTAButtonOrBuilder
        Returns:
        The textColor.
      • getTextColorBytes

        public com.google.protobuf.ByteString getTextColorBytes()
        optional string text_color = 3 [json_name = "textColor"];
        Specified by:
        getTextColorBytes in interface CTAButtonOrBuilder
        Returns:
        The bytes for textColor.
      • setTextColor

        public CTAButton.Builder setTextColor​(java.lang.String value)
        optional string text_color = 3 [json_name = "textColor"];
        Parameters:
        value - The textColor to set.
        Returns:
        This builder for chaining.
      • clearTextColor

        public CTAButton.Builder clearTextColor()
        optional string text_color = 3 [json_name = "textColor"];
        Returns:
        This builder for chaining.
      • setTextColorBytes

        public CTAButton.Builder setTextColorBytes​(com.google.protobuf.ByteString value)
        optional string text_color = 3 [json_name = "textColor"];
        Parameters:
        value - The bytes for textColor to set.
        Returns:
        This builder for chaining.
      • getCtaIcon

        public java.lang.String getCtaIcon()
        string cta_icon = 4 [json_name = "ctaIcon"];
        Specified by:
        getCtaIcon in interface CTAButtonOrBuilder
        Returns:
        The ctaIcon.
      • getCtaIconBytes

        public com.google.protobuf.ByteString getCtaIconBytes()
        string cta_icon = 4 [json_name = "ctaIcon"];
        Specified by:
        getCtaIconBytes in interface CTAButtonOrBuilder
        Returns:
        The bytes for ctaIcon.
      • setCtaIcon

        public CTAButton.Builder setCtaIcon​(java.lang.String value)
        string cta_icon = 4 [json_name = "ctaIcon"];
        Parameters:
        value - The ctaIcon to set.
        Returns:
        This builder for chaining.
      • clearCtaIcon

        public CTAButton.Builder clearCtaIcon()
        string cta_icon = 4 [json_name = "ctaIcon"];
        Returns:
        This builder for chaining.
      • setCtaIconBytes

        public CTAButton.Builder setCtaIconBytes​(com.google.protobuf.ByteString value)
        string cta_icon = 4 [json_name = "ctaIcon"];
        Parameters:
        value - The bytes for ctaIcon to set.
        Returns:
        This builder for chaining.
      • getCtaIconModeValue

        public int getCtaIconModeValue()
        .streamlayer.interactive.CtaIconMode cta_icon_mode = 5 [json_name = "ctaIconMode"];
        Specified by:
        getCtaIconModeValue in interface CTAButtonOrBuilder
        Returns:
        The enum numeric value on the wire for ctaIconMode.
      • setCtaIconModeValue

        public CTAButton.Builder setCtaIconModeValue​(int value)
        .streamlayer.interactive.CtaIconMode cta_icon_mode = 5 [json_name = "ctaIconMode"];
        Parameters:
        value - The ctaIconMode to set.
        Returns:
        This builder for chaining.
      • getCtaIconMode

        public CtaIconMode getCtaIconMode()
        .streamlayer.interactive.CtaIconMode cta_icon_mode = 5 [json_name = "ctaIconMode"];
        Specified by:
        getCtaIconMode in interface CTAButtonOrBuilder
        Returns:
        The ctaIconMode.
      • setCtaIconMode

        public CTAButton.Builder setCtaIconMode​(CtaIconMode value)
        .streamlayer.interactive.CtaIconMode cta_icon_mode = 5 [json_name = "ctaIconMode"];
        Parameters:
        value - The enum numeric value on the wire for ctaIconMode to set.
        Returns:
        This builder for chaining.
      • clearCtaIconMode

        public CTAButton.Builder clearCtaIconMode()
        .streamlayer.interactive.CtaIconMode cta_icon_mode = 5 [json_name = "ctaIconMode"];
        Returns:
        This builder for chaining.