Class PromotionNotification

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  PromotionNotification.Builder
      Protobuf type streamlayer.interactive.PromotionNotification
      • 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 Detail

      • getSponsorLogoBytes

        public com.google.protobuf.ByteString getSponsorLogoBytes()
        string sponsor_logo = 1 [json_name = "sponsorLogo"];
        Specified by:
        getSponsorLogoBytes in interface PromotionNotificationOrBuilder
        Returns:
        The bytes for sponsorLogo.
      • getSponsorLogoModeValue

        public int getSponsorLogoModeValue()
        .streamlayer.interactive.NotificationSponsorLogoMode sponsor_logo_mode = 2 [json_name = "sponsorLogoMode"];
        Specified by:
        getSponsorLogoModeValue in interface PromotionNotificationOrBuilder
        Returns:
        The enum numeric value on the wire for sponsorLogoMode.
      • hasCtaButton

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

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

        public int getModeValue()
        .streamlayer.interactive.NotificationPromotionMode mode = 5 [json_name = "mode"];
        Specified by:
        getModeValue in interface PromotionNotificationOrBuilder
        Returns:
        The enum numeric value on the wire for mode.
      • parseFrom

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

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

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

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

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

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

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

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

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

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

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

        public static PromotionNotification 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<PromotionNotification,​PromotionNotification.Builder>