Class CTAButton

  • All Implemented Interfaces:
    com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, CTAButtonOrBuilder

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

      Nested Classes 
      Modifier and Type Class Description
      static class  CTAButton.Builder
      Protobuf type streamlayer.interactive.CTAButton
      • Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite

        com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,​?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,​BuilderType>,​BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,​BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,​BuilderType>,​BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,​BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,​BuilderType>,​BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,​BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,​Type extends java.lang.Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.Object dynamicMethod​(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)  
      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"];
      static CTAButton getDefaultInstance()  
      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"];
      static CTAButton.Builder newBuilder()  
      static CTAButton.Builder newBuilder​(CTAButton prototype)  
      static CTAButton parseDelimitedFrom​(java.io.InputStream input)  
      static CTAButton parseDelimitedFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static CTAButton parseFrom​(byte[] data)  
      static CTAButton parseFrom​(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static CTAButton parseFrom​(com.google.protobuf.ByteString data)  
      static CTAButton parseFrom​(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static CTAButton parseFrom​(com.google.protobuf.CodedInputStream input)  
      static CTAButton parseFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static CTAButton parseFrom​(java.io.InputStream input)  
      static CTAButton parseFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static CTAButton parseFrom​(java.nio.ByteBuffer data)  
      static CTAButton parseFrom​(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static com.google.protobuf.Parser<CTAButton> parser()  
      • Methods inherited from class com.google.protobuf.GeneratedMessageLite

        createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo
      • Methods inherited from class com.google.protobuf.AbstractMessageLite

        addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • getCtaIconMode

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

        public static CTAButton parseFrom​(java.nio.ByteBuffer data)
                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CTAButton parseFrom​(java.nio.ByteBuffer data,
                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CTAButton parseFrom​(com.google.protobuf.ByteString data)
                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CTAButton parseFrom​(com.google.protobuf.ByteString data,
                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CTAButton parseFrom​(byte[] data)
                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CTAButton parseFrom​(byte[] data,
                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CTAButton parseFrom​(java.io.InputStream input)
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static CTAButton parseFrom​(java.io.InputStream input,
                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static CTAButton parseDelimitedFrom​(java.io.InputStream input)
                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static CTAButton parseDelimitedFrom​(java.io.InputStream input,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static CTAButton parseFrom​(com.google.protobuf.CodedInputStream input)
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static CTAButton parseFrom​(com.google.protobuf.CodedInputStream input,
                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • dynamicMethod

        protected final java.lang.Object dynamicMethod​(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
                                                       java.lang.Object arg0,
                                                       java.lang.Object arg1)
        Specified by:
        dynamicMethod in class com.google.protobuf.GeneratedMessageLite<CTAButton,​CTAButton.Builder>
      • getDefaultInstance

        public static CTAButton getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<CTAButton> parser()