Class Banner

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

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

      Nested Classes 
      Modifier and Type Class Description
      static class  Banner.Builder
      Protobuf type streamlayer.interactive.Banner
      • 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)  
      TopicSubType getAnalyticsTopicSubType()
      optional .streamlayer.analytics.v1.common.TopicSubType analytics_topic_sub_type = 6 [json_name = "analyticsTopicSubType"];
      int getAnalyticsTopicSubTypeValue()
      optional .streamlayer.analytics.v1.common.TopicSubType analytics_topic_sub_type = 6 [json_name = "analyticsTopicSubType"];
      java.lang.String getBody()
      in L-Bar only
      com.google.protobuf.ByteString getBodyBytes()
      in L-Bar only
      CTAButton getCtaButton()
      .streamlayer.interactive.CTAButton cta_button = 3 [json_name = "ctaButton"];
      static Banner getDefaultInstance()  
      NotificationPromotionImagePosition getImagePosition()
      optional .streamlayer.interactive.NotificationPromotionImagePosition image_position = 9 [json_name = "imagePosition"];
      int getImagePositionValue()
      optional .streamlayer.interactive.NotificationPromotionImagePosition image_position = 9 [json_name = "imagePosition"];
      java.lang.String getImageUrl()
      string image_url = 1 [json_name = "imageUrl"];
      com.google.protobuf.ByteString getImageUrlBytes()
      string image_url = 1 [json_name = "imageUrl"];
      BannerMediaFormat getMediaFormat()
      optional .streamlayer.interactive.BannerMediaFormat media_format = 10 [json_name = "mediaFormat"];
      int getMediaFormatValue()
      optional .streamlayer.interactive.BannerMediaFormat media_format = 10 [json_name = "mediaFormat"];
      java.lang.String getSubTitle()
      optional string sub_title = 8 [json_name = "subTitle"];
      com.google.protobuf.ByteString getSubTitleBytes()
      optional string sub_title = 8 [json_name = "subTitle"];
      java.lang.String getTitle()
      optional string title = 7 [json_name = "title"];
      com.google.protobuf.ByteString getTitleBytes()
      optional string title = 7 [json_name = "title"];
      java.lang.String getUrl()
      string url = 2 [json_name = "url"];
      com.google.protobuf.ByteString getUrlBytes()
      string url = 2 [json_name = "url"];
      FileLink getVideo()
      in L-Bar only
      boolean hasAnalyticsTopicSubType()
      optional .streamlayer.analytics.v1.common.TopicSubType analytics_topic_sub_type = 6 [json_name = "analyticsTopicSubType"];
      boolean hasBody()
      in L-Bar only
      boolean hasCtaButton()
      .streamlayer.interactive.CTAButton cta_button = 3 [json_name = "ctaButton"];
      boolean hasImagePosition()
      optional .streamlayer.interactive.NotificationPromotionImagePosition image_position = 9 [json_name = "imagePosition"];
      boolean hasMediaFormat()
      optional .streamlayer.interactive.BannerMediaFormat media_format = 10 [json_name = "mediaFormat"];
      boolean hasSubTitle()
      optional string sub_title = 8 [json_name = "subTitle"];
      boolean hasTitle()
      optional string title = 7 [json_name = "title"];
      boolean hasVideo()
      in L-Bar only
      static Banner.Builder newBuilder()  
      static Banner.Builder newBuilder​(Banner prototype)  
      static Banner parseDelimitedFrom​(java.io.InputStream input)  
      static Banner parseDelimitedFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Banner parseFrom​(byte[] data)  
      static Banner parseFrom​(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Banner parseFrom​(com.google.protobuf.ByteString data)  
      static Banner parseFrom​(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Banner parseFrom​(com.google.protobuf.CodedInputStream input)  
      static Banner parseFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Banner parseFrom​(java.io.InputStream input)  
      static Banner parseFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Banner parseFrom​(java.nio.ByteBuffer data)  
      static Banner parseFrom​(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static com.google.protobuf.Parser<Banner> 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

      • getImageUrl

        public java.lang.String getImageUrl()
        string image_url = 1 [json_name = "imageUrl"];
        Specified by:
        getImageUrl in interface BannerOrBuilder
        Returns:
        The imageUrl.
      • getImageUrlBytes

        public com.google.protobuf.ByteString getImageUrlBytes()
        string image_url = 1 [json_name = "imageUrl"];
        Specified by:
        getImageUrlBytes in interface BannerOrBuilder
        Returns:
        The bytes for imageUrl.
      • getUrl

        public java.lang.String getUrl()
        string url = 2 [json_name = "url"];
        Specified by:
        getUrl in interface BannerOrBuilder
        Returns:
        The url.
      • getUrlBytes

        public com.google.protobuf.ByteString getUrlBytes()
        string url = 2 [json_name = "url"];
        Specified by:
        getUrlBytes in interface BannerOrBuilder
        Returns:
        The bytes for url.
      • hasCtaButton

        public boolean hasCtaButton()
        .streamlayer.interactive.CTAButton cta_button = 3 [json_name = "ctaButton"];
        Specified by:
        hasCtaButton in interface BannerOrBuilder
        Returns:
        Whether the ctaButton field is set.
      • getCtaButton

        public CTAButton getCtaButton()
        .streamlayer.interactive.CTAButton cta_button = 3 [json_name = "ctaButton"];
        Specified by:
        getCtaButton in interface BannerOrBuilder
        Returns:
        The ctaButton.
      • hasVideo

        public boolean hasVideo()
         in L-Bar only
         
        .streamlayer.interactive.FileLink video = 4 [json_name = "video"];
        Specified by:
        hasVideo in interface BannerOrBuilder
        Returns:
        Whether the video field is set.
      • getVideo

        public FileLink getVideo()
         in L-Bar only
         
        .streamlayer.interactive.FileLink video = 4 [json_name = "video"];
        Specified by:
        getVideo in interface BannerOrBuilder
        Returns:
        The video.
      • hasBody

        public boolean hasBody()
         in L-Bar only
         
        optional string body = 5 [json_name = "body"];
        Specified by:
        hasBody in interface BannerOrBuilder
        Returns:
        Whether the body field is set.
      • getBody

        public java.lang.String getBody()
         in L-Bar only
         
        optional string body = 5 [json_name = "body"];
        Specified by:
        getBody in interface BannerOrBuilder
        Returns:
        The body.
      • getBodyBytes

        public com.google.protobuf.ByteString getBodyBytes()
         in L-Bar only
         
        optional string body = 5 [json_name = "body"];
        Specified by:
        getBodyBytes in interface BannerOrBuilder
        Returns:
        The bytes for body.
      • hasAnalyticsTopicSubType

        public boolean hasAnalyticsTopicSubType()
        optional .streamlayer.analytics.v1.common.TopicSubType analytics_topic_sub_type = 6 [json_name = "analyticsTopicSubType"];
        Specified by:
        hasAnalyticsTopicSubType in interface BannerOrBuilder
        Returns:
        Whether the analyticsTopicSubType field is set.
      • getAnalyticsTopicSubTypeValue

        public int getAnalyticsTopicSubTypeValue()
        optional .streamlayer.analytics.v1.common.TopicSubType analytics_topic_sub_type = 6 [json_name = "analyticsTopicSubType"];
        Specified by:
        getAnalyticsTopicSubTypeValue in interface BannerOrBuilder
        Returns:
        The enum numeric value on the wire for analyticsTopicSubType.
      • getAnalyticsTopicSubType

        public TopicSubType getAnalyticsTopicSubType()
        optional .streamlayer.analytics.v1.common.TopicSubType analytics_topic_sub_type = 6 [json_name = "analyticsTopicSubType"];
        Specified by:
        getAnalyticsTopicSubType in interface BannerOrBuilder
        Returns:
        The analyticsTopicSubType.
      • hasTitle

        public boolean hasTitle()
        optional string title = 7 [json_name = "title"];
        Specified by:
        hasTitle in interface BannerOrBuilder
        Returns:
        Whether the title field is set.
      • getTitle

        public java.lang.String getTitle()
        optional string title = 7 [json_name = "title"];
        Specified by:
        getTitle in interface BannerOrBuilder
        Returns:
        The title.
      • getTitleBytes

        public com.google.protobuf.ByteString getTitleBytes()
        optional string title = 7 [json_name = "title"];
        Specified by:
        getTitleBytes in interface BannerOrBuilder
        Returns:
        The bytes for title.
      • hasSubTitle

        public boolean hasSubTitle()
        optional string sub_title = 8 [json_name = "subTitle"];
        Specified by:
        hasSubTitle in interface BannerOrBuilder
        Returns:
        Whether the subTitle field is set.
      • getSubTitle

        public java.lang.String getSubTitle()
        optional string sub_title = 8 [json_name = "subTitle"];
        Specified by:
        getSubTitle in interface BannerOrBuilder
        Returns:
        The subTitle.
      • getSubTitleBytes

        public com.google.protobuf.ByteString getSubTitleBytes()
        optional string sub_title = 8 [json_name = "subTitle"];
        Specified by:
        getSubTitleBytes in interface BannerOrBuilder
        Returns:
        The bytes for subTitle.
      • hasImagePosition

        public boolean hasImagePosition()
        optional .streamlayer.interactive.NotificationPromotionImagePosition image_position = 9 [json_name = "imagePosition"];
        Specified by:
        hasImagePosition in interface BannerOrBuilder
        Returns:
        Whether the imagePosition field is set.
      • getImagePositionValue

        public int getImagePositionValue()
        optional .streamlayer.interactive.NotificationPromotionImagePosition image_position = 9 [json_name = "imagePosition"];
        Specified by:
        getImagePositionValue in interface BannerOrBuilder
        Returns:
        The enum numeric value on the wire for imagePosition.
      • hasMediaFormat

        public boolean hasMediaFormat()
        optional .streamlayer.interactive.BannerMediaFormat media_format = 10 [json_name = "mediaFormat"];
        Specified by:
        hasMediaFormat in interface BannerOrBuilder
        Returns:
        Whether the mediaFormat field is set.
      • getMediaFormatValue

        public int getMediaFormatValue()
        optional .streamlayer.interactive.BannerMediaFormat media_format = 10 [json_name = "mediaFormat"];
        Specified by:
        getMediaFormatValue in interface BannerOrBuilder
        Returns:
        The enum numeric value on the wire for mediaFormat.
      • getMediaFormat

        public BannerMediaFormat getMediaFormat()
        optional .streamlayer.interactive.BannerMediaFormat media_format = 10 [json_name = "mediaFormat"];
        Specified by:
        getMediaFormat in interface BannerOrBuilder
        Returns:
        The mediaFormat.
      • parseFrom

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

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

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

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

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

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

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

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

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

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

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

        public static Banner 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<Banner,​Banner.Builder>
      • getDefaultInstance

        public static Banner getDefaultInstance()
      • parser

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