Class QuestionOptions.PromotionOptions

    • Field Detail

      • ENABLE_WALLET_FIELD_NUMBER

        public static final int ENABLE_WALLET_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ADDITIONAL_BANNER_FIELD_NUMBER

        public static final int ADDITIONAL_BANNER_FIELD_NUMBER
        See Also:
        Constant Field Values
      • COUPON_ZIP_FIELD_NUMBER

        public static final int COUPON_ZIP_FIELD_NUMBER
        See Also:
        Constant Field Values
      • COUPON_BARCODE_URL_FIELD_NUMBER

        public static final int COUPON_BARCODE_URL_FIELD_NUMBER
        See Also:
        Constant Field Values
      • BUTTON_TYPE_FIELD_NUMBER

        public static final int BUTTON_TYPE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • AD_CAMPAIGNS_FIELD_NUMBER

        public static final int AD_CAMPAIGNS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CLOSE_TIMER_FIELD_NUMBER

        public static final int CLOSE_TIMER_FIELD_NUMBER
        See Also:
        Constant Field Values
      • AUTO_PLAY_VIDEO_FIELD_NUMBER

        public static final int AUTO_PLAY_VIDEO_FIELD_NUMBER
        See Also:
        Constant Field Values
      • BACKGROUND_IMAGE_LANDSCAPE_URL_FIELD_NUMBER

        public static final int BACKGROUND_IMAGE_LANDSCAPE_URL_FIELD_NUMBER
        See Also:
        Constant Field Values
      • BACKGROUND_IMAGE_PORTRAIT_URL_FIELD_NUMBER

        public static final int BACKGROUND_IMAGE_PORTRAIT_URL_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ADD_TO_WALLET_OPTIONS_FIELD_NUMBER

        public static final int ADD_TO_WALLET_OPTIONS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SEND_TO_USER_OPTIONS_FIELD_NUMBER

        public static final int SEND_TO_USER_OPTIONS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SHOP_OPTIONS_FIELD_NUMBER

        public static final int SHOP_OPTIONS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • NFL_SHOP_OPTIONS_FIELD_NUMBER

        public static final int NFL_SHOP_OPTIONS_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • getEnableWalletValue

        @Deprecated
        public int getEnableWalletValue()
        Deprecated.
        streamlayer.interactive.QuestionOptions.PromotionOptions.enable_wallet is deprecated. See streamlayer/interactive/interactive.common.proto;l=642
        .streamlayer.interactive.PromotionWallet enable_wallet = 4 [json_name = "enableWallet", deprecated = true];
        Specified by:
        getEnableWalletValue in interface QuestionOptions.PromotionOptionsOrBuilder
        Returns:
        The enum numeric value on the wire for enableWallet.
      • getEnableWallet

        @Deprecated
        public PromotionWallet getEnableWallet()
        Deprecated.
        streamlayer.interactive.QuestionOptions.PromotionOptions.enable_wallet is deprecated. See streamlayer/interactive/interactive.common.proto;l=642
        .streamlayer.interactive.PromotionWallet enable_wallet = 4 [json_name = "enableWallet", deprecated = true];
        Specified by:
        getEnableWallet in interface QuestionOptions.PromotionOptionsOrBuilder
        Returns:
        The enableWallet.
      • hasAdditionalBanner

        public boolean hasAdditionalBanner()
         use as banner6:1 in L-Bar
         
        .streamlayer.interactive.Banner additional_banner = 5 [json_name = "additionalBanner"];
        Specified by:
        hasAdditionalBanner in interface QuestionOptions.PromotionOptionsOrBuilder
        Returns:
        Whether the additionalBanner field is set.
      • getCoupon

        @Deprecated
        public java.lang.String getCoupon()
        Deprecated.
        streamlayer.interactive.QuestionOptions.PromotionOptions.coupon is deprecated. See streamlayer/interactive/interactive.common.proto;l=644
         use add_to_wallet_options
         
        string coupon = 6 [json_name = "coupon", deprecated = true];
        Specified by:
        getCoupon in interface QuestionOptions.PromotionOptionsOrBuilder
        Returns:
        The coupon.
      • getCouponBytes

        @Deprecated
        public com.google.protobuf.ByteString getCouponBytes()
        Deprecated.
        streamlayer.interactive.QuestionOptions.PromotionOptions.coupon is deprecated. See streamlayer/interactive/interactive.common.proto;l=644
         use add_to_wallet_options
         
        string coupon = 6 [json_name = "coupon", deprecated = true];
        Specified by:
        getCouponBytes in interface QuestionOptions.PromotionOptionsOrBuilder
        Returns:
        The bytes for coupon.
      • getCouponZip

        @Deprecated
        public java.lang.String getCouponZip()
        Deprecated.
        streamlayer.interactive.QuestionOptions.PromotionOptions.coupon_zip is deprecated. See streamlayer/interactive/interactive.common.proto;l=646
         use add_to_wallet_options
         
        string coupon_zip = 8 [json_name = "couponZip", deprecated = true];
        Specified by:
        getCouponZip in interface QuestionOptions.PromotionOptionsOrBuilder
        Returns:
        The couponZip.
      • getCouponZipBytes

        @Deprecated
        public com.google.protobuf.ByteString getCouponZipBytes()
        Deprecated.
        streamlayer.interactive.QuestionOptions.PromotionOptions.coupon_zip is deprecated. See streamlayer/interactive/interactive.common.proto;l=646
         use add_to_wallet_options
         
        string coupon_zip = 8 [json_name = "couponZip", deprecated = true];
        Specified by:
        getCouponZipBytes in interface QuestionOptions.PromotionOptionsOrBuilder
        Returns:
        The bytes for couponZip.
      • getCouponBarcodeUrl

        @Deprecated
        public java.lang.String getCouponBarcodeUrl()
        Deprecated.
        streamlayer.interactive.QuestionOptions.PromotionOptions.coupon_barcode_url is deprecated. See streamlayer/interactive/interactive.common.proto;l=647
         use add_to_wallet_options
         
        string coupon_barcode_url = 9 [json_name = "couponBarcodeUrl", deprecated = true];
        Specified by:
        getCouponBarcodeUrl in interface QuestionOptions.PromotionOptionsOrBuilder
        Returns:
        The couponBarcodeUrl.
      • getCouponBarcodeUrlBytes

        @Deprecated
        public com.google.protobuf.ByteString getCouponBarcodeUrlBytes()
        Deprecated.
        streamlayer.interactive.QuestionOptions.PromotionOptions.coupon_barcode_url is deprecated. See streamlayer/interactive/interactive.common.proto;l=647
         use add_to_wallet_options
         
        string coupon_barcode_url = 9 [json_name = "couponBarcodeUrl", deprecated = true];
        Specified by:
        getCouponBarcodeUrlBytes in interface QuestionOptions.PromotionOptionsOrBuilder
        Returns:
        The bytes for couponBarcodeUrl.
      • hasButtonType

        public boolean hasButtonType()
        optional .streamlayer.interactive.PromotionButtonType button_type = 10 [json_name = "buttonType"];
        Specified by:
        hasButtonType in interface QuestionOptions.PromotionOptionsOrBuilder
        Returns:
        Whether the buttonType field is set.
      • getButtonTypeValue

        public int getButtonTypeValue()
        optional .streamlayer.interactive.PromotionButtonType button_type = 10 [json_name = "buttonType"];
        Specified by:
        getButtonTypeValue in interface QuestionOptions.PromotionOptionsOrBuilder
        Returns:
        The enum numeric value on the wire for buttonType.
      • hasAdCampaigns

        public boolean hasAdCampaigns()
        optional .streamlayer.interactive.QuestionOptions.AdCampaigns ad_campaigns = 11 [json_name = "adCampaigns"];
        Specified by:
        hasAdCampaigns in interface QuestionOptions.PromotionOptionsOrBuilder
        Returns:
        Whether the adCampaigns field is set.
      • hasAutoPlayVideo

        public boolean hasAutoPlayVideo()
        optional .streamlayer.interactive.AutoPlayVideo auto_play_video = 13 [json_name = "autoPlayVideo"];
        Specified by:
        hasAutoPlayVideo in interface QuestionOptions.PromotionOptionsOrBuilder
        Returns:
        Whether the autoPlayVideo field is set.
      • getAutoPlayVideoValue

        public int getAutoPlayVideoValue()
        optional .streamlayer.interactive.AutoPlayVideo auto_play_video = 13 [json_name = "autoPlayVideo"];
        Specified by:
        getAutoPlayVideoValue in interface QuestionOptions.PromotionOptionsOrBuilder
        Returns:
        The enum numeric value on the wire for autoPlayVideo.
      • hasBackgroundImageLandscapeUrl

        @Deprecated
        public boolean hasBackgroundImageLandscapeUrl()
        Deprecated.
        streamlayer.interactive.QuestionOptions.PromotionOptions.background_image_landscape_url is deprecated. See streamlayer/interactive/interactive.common.proto;l=652
        optional string background_image_landscape_url = 14 [json_name = "backgroundImageLandscapeUrl", deprecated = true];
        Specified by:
        hasBackgroundImageLandscapeUrl in interface QuestionOptions.PromotionOptionsOrBuilder
        Returns:
        Whether the backgroundImageLandscapeUrl field is set.
      • getBackgroundImageLandscapeUrl

        @Deprecated
        public java.lang.String getBackgroundImageLandscapeUrl()
        Deprecated.
        streamlayer.interactive.QuestionOptions.PromotionOptions.background_image_landscape_url is deprecated. See streamlayer/interactive/interactive.common.proto;l=652
        optional string background_image_landscape_url = 14 [json_name = "backgroundImageLandscapeUrl", deprecated = true];
        Specified by:
        getBackgroundImageLandscapeUrl in interface QuestionOptions.PromotionOptionsOrBuilder
        Returns:
        The backgroundImageLandscapeUrl.
      • getBackgroundImageLandscapeUrlBytes

        @Deprecated
        public com.google.protobuf.ByteString getBackgroundImageLandscapeUrlBytes()
        Deprecated.
        streamlayer.interactive.QuestionOptions.PromotionOptions.background_image_landscape_url is deprecated. See streamlayer/interactive/interactive.common.proto;l=652
        optional string background_image_landscape_url = 14 [json_name = "backgroundImageLandscapeUrl", deprecated = true];
        Specified by:
        getBackgroundImageLandscapeUrlBytes in interface QuestionOptions.PromotionOptionsOrBuilder
        Returns:
        The bytes for backgroundImageLandscapeUrl.
      • hasBackgroundImagePortraitUrl

        @Deprecated
        public boolean hasBackgroundImagePortraitUrl()
        Deprecated.
        streamlayer.interactive.QuestionOptions.PromotionOptions.background_image_portrait_url is deprecated. See streamlayer/interactive/interactive.common.proto;l=653
        optional string background_image_portrait_url = 15 [json_name = "backgroundImagePortraitUrl", deprecated = true];
        Specified by:
        hasBackgroundImagePortraitUrl in interface QuestionOptions.PromotionOptionsOrBuilder
        Returns:
        Whether the backgroundImagePortraitUrl field is set.
      • getBackgroundImagePortraitUrl

        @Deprecated
        public java.lang.String getBackgroundImagePortraitUrl()
        Deprecated.
        streamlayer.interactive.QuestionOptions.PromotionOptions.background_image_portrait_url is deprecated. See streamlayer/interactive/interactive.common.proto;l=653
        optional string background_image_portrait_url = 15 [json_name = "backgroundImagePortraitUrl", deprecated = true];
        Specified by:
        getBackgroundImagePortraitUrl in interface QuestionOptions.PromotionOptionsOrBuilder
        Returns:
        The backgroundImagePortraitUrl.
      • getBackgroundImagePortraitUrlBytes

        @Deprecated
        public com.google.protobuf.ByteString getBackgroundImagePortraitUrlBytes()
        Deprecated.
        streamlayer.interactive.QuestionOptions.PromotionOptions.background_image_portrait_url is deprecated. See streamlayer/interactive/interactive.common.proto;l=653
        optional string background_image_portrait_url = 15 [json_name = "backgroundImagePortraitUrl", deprecated = true];
        Specified by:
        getBackgroundImagePortraitUrlBytes in interface QuestionOptions.PromotionOptionsOrBuilder
        Returns:
        The bytes for backgroundImagePortraitUrl.
      • hasAddToWalletOptions

        public boolean hasAddToWalletOptions()
        .streamlayer.interactive.QuestionOptions.PromotionOptions.AddToWalletOptions add_to_wallet_options = 16 [json_name = "addToWalletOptions"];
        Specified by:
        hasAddToWalletOptions in interface QuestionOptions.PromotionOptionsOrBuilder
        Returns:
        Whether the addToWalletOptions field is set.
      • hasSendToUserOptions

        public boolean hasSendToUserOptions()
        .streamlayer.interactive.QuestionOptions.PromotionOptions.SendToUserOptions send_to_user_options = 17 [json_name = "sendToUserOptions"];
        Specified by:
        hasSendToUserOptions in interface QuestionOptions.PromotionOptionsOrBuilder
        Returns:
        Whether the sendToUserOptions field is set.
      • hasShopOptions

        public boolean hasShopOptions()
        optional .streamlayer.interactive.QuestionOptions.ShopOptions shop_options = 18 [json_name = "shopOptions"];
        Specified by:
        hasShopOptions in interface QuestionOptions.PromotionOptionsOrBuilder
        Returns:
        Whether the shopOptions field is set.
      • hasNflShopOptions

        public boolean hasNflShopOptions()
        optional .streamlayer.interactive.QuestionOptions.NFLShopOptions nfl_shop_options = 19 [json_name = "nflShopOptions"];
        Specified by:
        hasNflShopOptions in interface QuestionOptions.PromotionOptionsOrBuilder
        Returns:
        Whether the nflShopOptions field is set.
      • parseFrom

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

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

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

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

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

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

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

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

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

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

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