Class QuestionOptions.PromotionOptions
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<QuestionOptions.PromotionOptions,QuestionOptions.PromotionOptions.Builder>
-
- com.streamlayer.interactive.common.QuestionOptions.PromotionOptions
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,QuestionOptions.PromotionOptionsOrBuilder
- Enclosing class:
- QuestionOptions
public static final class QuestionOptions.PromotionOptions extends com.google.protobuf.GeneratedMessageLite<QuestionOptions.PromotionOptions,QuestionOptions.PromotionOptions.Builder> implements QuestionOptions.PromotionOptionsOrBuilder
Protobuf typestreamlayer.interactive.QuestionOptions.PromotionOptions
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classQuestionOptions.PromotionOptions.AddToWalletOptionsProtobuf typestreamlayer.interactive.QuestionOptions.PromotionOptions.AddToWalletOptionsstatic interfaceQuestionOptions.PromotionOptions.AddToWalletOptionsOrBuilderstatic classQuestionOptions.PromotionOptions.BuilderProtobuf typestreamlayer.interactive.QuestionOptions.PromotionOptionsstatic classQuestionOptions.PromotionOptions.ButtonOptionsCasestatic classQuestionOptions.PromotionOptions.SendToUserOptionsProtobuf typestreamlayer.interactive.QuestionOptions.PromotionOptions.SendToUserOptionsstatic interfaceQuestionOptions.PromotionOptions.SendToUserOptionsOrBuilder-
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
-
-
Field Summary
Fields Modifier and Type Field Description static intAD_CAMPAIGNS_FIELD_NUMBERstatic intADD_TO_WALLET_OPTIONS_FIELD_NUMBERstatic intADDITIONAL_BANNER_FIELD_NUMBERstatic intAUTO_PLAY_VIDEO_FIELD_NUMBERstatic intBACKGROUND_IMAGE_LANDSCAPE_URL_FIELD_NUMBERstatic intBACKGROUND_IMAGE_PORTRAIT_URL_FIELD_NUMBERstatic intBANNER_FIELD_NUMBERstatic intBUTTON_TYPE_FIELD_NUMBERstatic intCLOSE_TIMER_FIELD_NUMBERstatic intCOUPON_BARCODE_URL_FIELD_NUMBERstatic intCOUPON_FIELD_NUMBERstatic intCOUPON_ZIP_FIELD_NUMBERstatic intENABLE_WALLET_FIELD_NUMBERstatic intLOGO_MODE_FIELD_NUMBERstatic intNFL_SHOP_OPTIONS_FIELD_NUMBERstatic intSEND_TO_USER_OPTIONS_FIELD_NUMBERstatic intSHOP_OPTIONS_FIELD_NUMBERstatic intSPONSOR_FIELD_NUMBERstatic intTYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected java.lang.ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)QuestionOptions.AdCampaignsgetAdCampaigns()optional .streamlayer.interactive.QuestionOptions.AdCampaigns ad_campaigns = 11 [json_name = "adCampaigns"];BannergetAdditionalBanner()use as banner6:1 in L-BarQuestionOptions.PromotionOptions.AddToWalletOptionsgetAddToWalletOptions().streamlayer.interactive.QuestionOptions.PromotionOptions.AddToWalletOptions add_to_wallet_options = 16 [json_name = "addToWalletOptions"];AutoPlayVideogetAutoPlayVideo()optional .streamlayer.interactive.AutoPlayVideo auto_play_video = 13 [json_name = "autoPlayVideo"];intgetAutoPlayVideoValue()optional .streamlayer.interactive.AutoPlayVideo auto_play_video = 13 [json_name = "autoPlayVideo"];java.lang.StringgetBackgroundImageLandscapeUrl()Deprecated.streamlayer.interactive.QuestionOptions.PromotionOptions.background_image_landscape_url is deprecated.com.google.protobuf.ByteStringgetBackgroundImageLandscapeUrlBytes()Deprecated.streamlayer.interactive.QuestionOptions.PromotionOptions.background_image_landscape_url is deprecated.java.lang.StringgetBackgroundImagePortraitUrl()Deprecated.streamlayer.interactive.QuestionOptions.PromotionOptions.background_image_portrait_url is deprecated.com.google.protobuf.ByteStringgetBackgroundImagePortraitUrlBytes()Deprecated.streamlayer.interactive.QuestionOptions.PromotionOptions.background_image_portrait_url is deprecated.BannergetBanner()main bannerQuestionOptions.PromotionOptions.ButtonOptionsCasegetButtonOptionsCase()PromotionButtonTypegetButtonType()optional .streamlayer.interactive.PromotionButtonType button_type = 10 [json_name = "buttonType"];intgetButtonTypeValue()optional .streamlayer.interactive.PromotionButtonType button_type = 10 [json_name = "buttonType"];CloseTimergetCloseTimer()optional .streamlayer.interactive.CloseTimer close_timer = 12 [json_name = "closeTimer"];java.lang.StringgetCoupon()Deprecated.streamlayer.interactive.QuestionOptions.PromotionOptions.coupon is deprecated.java.lang.StringgetCouponBarcodeUrl()Deprecated.streamlayer.interactive.QuestionOptions.PromotionOptions.coupon_barcode_url is deprecated.com.google.protobuf.ByteStringgetCouponBarcodeUrlBytes()Deprecated.streamlayer.interactive.QuestionOptions.PromotionOptions.coupon_barcode_url is deprecated.com.google.protobuf.ByteStringgetCouponBytes()Deprecated.streamlayer.interactive.QuestionOptions.PromotionOptions.coupon is deprecated.java.lang.StringgetCouponZip()Deprecated.streamlayer.interactive.QuestionOptions.PromotionOptions.coupon_zip is deprecated.com.google.protobuf.ByteStringgetCouponZipBytes()Deprecated.streamlayer.interactive.QuestionOptions.PromotionOptions.coupon_zip is deprecated.static QuestionOptions.PromotionOptionsgetDefaultInstance()PromotionWalletgetEnableWallet()Deprecated.streamlayer.interactive.QuestionOptions.PromotionOptions.enable_wallet is deprecated.intgetEnableWalletValue()Deprecated.streamlayer.interactive.QuestionOptions.PromotionOptions.enable_wallet is deprecated.PromotionLogoModegetLogoMode().streamlayer.interactive.PromotionLogoMode logo_mode = 7 [json_name = "logoMode"];intgetLogoModeValue().streamlayer.interactive.PromotionLogoMode logo_mode = 7 [json_name = "logoMode"];QuestionOptions.NFLShopOptionsgetNflShopOptions()optional .streamlayer.interactive.QuestionOptions.NFLShopOptions nfl_shop_options = 19 [json_name = "nflShopOptions"];QuestionOptions.PromotionOptions.SendToUserOptionsgetSendToUserOptions().streamlayer.interactive.QuestionOptions.PromotionOptions.SendToUserOptions send_to_user_options = 17 [json_name = "sendToUserOptions"];QuestionOptions.ShopOptionsgetShopOptions()optional .streamlayer.interactive.QuestionOptions.ShopOptions shop_options = 18 [json_name = "shopOptions"];SponsorshipgetSponsor().streamlayer.interactive.Sponsorship sponsor = 2 [json_name = "sponsor"];PromotionTypegetType().streamlayer.interactive.PromotionType type = 1 [json_name = "type"];intgetTypeValue().streamlayer.interactive.PromotionType type = 1 [json_name = "type"];booleanhasAdCampaigns()optional .streamlayer.interactive.QuestionOptions.AdCampaigns ad_campaigns = 11 [json_name = "adCampaigns"];booleanhasAdditionalBanner()use as banner6:1 in L-BarbooleanhasAddToWalletOptions().streamlayer.interactive.QuestionOptions.PromotionOptions.AddToWalletOptions add_to_wallet_options = 16 [json_name = "addToWalletOptions"];booleanhasAutoPlayVideo()optional .streamlayer.interactive.AutoPlayVideo auto_play_video = 13 [json_name = "autoPlayVideo"];booleanhasBackgroundImageLandscapeUrl()Deprecated.streamlayer.interactive.QuestionOptions.PromotionOptions.background_image_landscape_url is deprecated.booleanhasBackgroundImagePortraitUrl()Deprecated.streamlayer.interactive.QuestionOptions.PromotionOptions.background_image_portrait_url is deprecated.booleanhasBanner()main bannerbooleanhasButtonType()optional .streamlayer.interactive.PromotionButtonType button_type = 10 [json_name = "buttonType"];booleanhasCloseTimer()optional .streamlayer.interactive.CloseTimer close_timer = 12 [json_name = "closeTimer"];booleanhasNflShopOptions()optional .streamlayer.interactive.QuestionOptions.NFLShopOptions nfl_shop_options = 19 [json_name = "nflShopOptions"];booleanhasSendToUserOptions().streamlayer.interactive.QuestionOptions.PromotionOptions.SendToUserOptions send_to_user_options = 17 [json_name = "sendToUserOptions"];booleanhasShopOptions()optional .streamlayer.interactive.QuestionOptions.ShopOptions shop_options = 18 [json_name = "shopOptions"];booleanhasSponsor().streamlayer.interactive.Sponsorship sponsor = 2 [json_name = "sponsor"];static QuestionOptions.PromotionOptions.BuildernewBuilder()static QuestionOptions.PromotionOptions.BuildernewBuilder(QuestionOptions.PromotionOptions prototype)static QuestionOptions.PromotionOptionsparseDelimitedFrom(java.io.InputStream input)static QuestionOptions.PromotionOptionsparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QuestionOptions.PromotionOptionsparseFrom(byte[] data)static QuestionOptions.PromotionOptionsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QuestionOptions.PromotionOptionsparseFrom(com.google.protobuf.ByteString data)static QuestionOptions.PromotionOptionsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QuestionOptions.PromotionOptionsparseFrom(com.google.protobuf.CodedInputStream input)static QuestionOptions.PromotionOptionsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QuestionOptions.PromotionOptionsparseFrom(java.io.InputStream input)static QuestionOptions.PromotionOptionsparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QuestionOptions.PromotionOptionsparseFrom(java.nio.ByteBuffer data)static QuestionOptions.PromotionOptionsparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<QuestionOptions.PromotionOptions>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
-
-
-
-
Field Detail
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SPONSOR_FIELD_NUMBER
public static final int SPONSOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BANNER_FIELD_NUMBER
public static final int BANNER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
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_FIELD_NUMBER
public static final int COUPON_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOGO_MODE_FIELD_NUMBER
public static final int LOGO_MODE_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
-
getButtonOptionsCase
public QuestionOptions.PromotionOptions.ButtonOptionsCase getButtonOptionsCase()
- Specified by:
getButtonOptionsCasein interfaceQuestionOptions.PromotionOptionsOrBuilder
-
getTypeValue
public int getTypeValue()
.streamlayer.interactive.PromotionType type = 1 [json_name = "type"];- Specified by:
getTypeValuein interfaceQuestionOptions.PromotionOptionsOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
getType
public PromotionType getType()
.streamlayer.interactive.PromotionType type = 1 [json_name = "type"];- Specified by:
getTypein interfaceQuestionOptions.PromotionOptionsOrBuilder- Returns:
- The type.
-
hasSponsor
public boolean hasSponsor()
.streamlayer.interactive.Sponsorship sponsor = 2 [json_name = "sponsor"];- Specified by:
hasSponsorin interfaceQuestionOptions.PromotionOptionsOrBuilder- Returns:
- Whether the sponsor field is set.
-
getSponsor
public Sponsorship getSponsor()
.streamlayer.interactive.Sponsorship sponsor = 2 [json_name = "sponsor"];- Specified by:
getSponsorin interfaceQuestionOptions.PromotionOptionsOrBuilder- Returns:
- The sponsor.
-
hasBanner
public boolean hasBanner()
main banner
.streamlayer.interactive.Banner banner = 3 [json_name = "banner"];- Specified by:
hasBannerin interfaceQuestionOptions.PromotionOptionsOrBuilder- Returns:
- Whether the banner field is set.
-
getBanner
public Banner getBanner()
main banner
.streamlayer.interactive.Banner banner = 3 [json_name = "banner"];- Specified by:
getBannerin interfaceQuestionOptions.PromotionOptionsOrBuilder- Returns:
- The banner.
-
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:
getEnableWalletValuein interfaceQuestionOptions.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:
getEnableWalletin interfaceQuestionOptions.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:
hasAdditionalBannerin interfaceQuestionOptions.PromotionOptionsOrBuilder- Returns:
- Whether the additionalBanner field is set.
-
getAdditionalBanner
public Banner getAdditionalBanner()
use as banner6:1 in L-Bar
.streamlayer.interactive.Banner additional_banner = 5 [json_name = "additionalBanner"];- Specified by:
getAdditionalBannerin interfaceQuestionOptions.PromotionOptionsOrBuilder- Returns:
- The additionalBanner.
-
getCoupon
@Deprecated public java.lang.String getCoupon()
Deprecated.streamlayer.interactive.QuestionOptions.PromotionOptions.coupon is deprecated. See streamlayer/interactive/interactive.common.proto;l=644use add_to_wallet_options
string coupon = 6 [json_name = "coupon", deprecated = true];- Specified by:
getCouponin interfaceQuestionOptions.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=644use add_to_wallet_options
string coupon = 6 [json_name = "coupon", deprecated = true];- Specified by:
getCouponBytesin interfaceQuestionOptions.PromotionOptionsOrBuilder- Returns:
- The bytes for coupon.
-
getLogoModeValue
public int getLogoModeValue()
.streamlayer.interactive.PromotionLogoMode logo_mode = 7 [json_name = "logoMode"];- Specified by:
getLogoModeValuein interfaceQuestionOptions.PromotionOptionsOrBuilder- Returns:
- The enum numeric value on the wire for logoMode.
-
getLogoMode
public PromotionLogoMode getLogoMode()
.streamlayer.interactive.PromotionLogoMode logo_mode = 7 [json_name = "logoMode"];- Specified by:
getLogoModein interfaceQuestionOptions.PromotionOptionsOrBuilder- Returns:
- The logoMode.
-
getCouponZip
@Deprecated public java.lang.String getCouponZip()
Deprecated.streamlayer.interactive.QuestionOptions.PromotionOptions.coupon_zip is deprecated. See streamlayer/interactive/interactive.common.proto;l=646use add_to_wallet_options
string coupon_zip = 8 [json_name = "couponZip", deprecated = true];- Specified by:
getCouponZipin interfaceQuestionOptions.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=646use add_to_wallet_options
string coupon_zip = 8 [json_name = "couponZip", deprecated = true];- Specified by:
getCouponZipBytesin interfaceQuestionOptions.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=647use add_to_wallet_options
string coupon_barcode_url = 9 [json_name = "couponBarcodeUrl", deprecated = true];- Specified by:
getCouponBarcodeUrlin interfaceQuestionOptions.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=647use add_to_wallet_options
string coupon_barcode_url = 9 [json_name = "couponBarcodeUrl", deprecated = true];- Specified by:
getCouponBarcodeUrlBytesin interfaceQuestionOptions.PromotionOptionsOrBuilder- Returns:
- The bytes for couponBarcodeUrl.
-
hasButtonType
public boolean hasButtonType()
optional .streamlayer.interactive.PromotionButtonType button_type = 10 [json_name = "buttonType"];- Specified by:
hasButtonTypein interfaceQuestionOptions.PromotionOptionsOrBuilder- Returns:
- Whether the buttonType field is set.
-
getButtonTypeValue
public int getButtonTypeValue()
optional .streamlayer.interactive.PromotionButtonType button_type = 10 [json_name = "buttonType"];- Specified by:
getButtonTypeValuein interfaceQuestionOptions.PromotionOptionsOrBuilder- Returns:
- The enum numeric value on the wire for buttonType.
-
getButtonType
public PromotionButtonType getButtonType()
optional .streamlayer.interactive.PromotionButtonType button_type = 10 [json_name = "buttonType"];- Specified by:
getButtonTypein interfaceQuestionOptions.PromotionOptionsOrBuilder- Returns:
- The buttonType.
-
hasAdCampaigns
public boolean hasAdCampaigns()
optional .streamlayer.interactive.QuestionOptions.AdCampaigns ad_campaigns = 11 [json_name = "adCampaigns"];- Specified by:
hasAdCampaignsin interfaceQuestionOptions.PromotionOptionsOrBuilder- Returns:
- Whether the adCampaigns field is set.
-
getAdCampaigns
public QuestionOptions.AdCampaigns getAdCampaigns()
optional .streamlayer.interactive.QuestionOptions.AdCampaigns ad_campaigns = 11 [json_name = "adCampaigns"];- Specified by:
getAdCampaignsin interfaceQuestionOptions.PromotionOptionsOrBuilder- Returns:
- The adCampaigns.
-
hasCloseTimer
public boolean hasCloseTimer()
optional .streamlayer.interactive.CloseTimer close_timer = 12 [json_name = "closeTimer"];- Specified by:
hasCloseTimerin interfaceQuestionOptions.PromotionOptionsOrBuilder- Returns:
- Whether the closeTimer field is set.
-
getCloseTimer
public CloseTimer getCloseTimer()
optional .streamlayer.interactive.CloseTimer close_timer = 12 [json_name = "closeTimer"];- Specified by:
getCloseTimerin interfaceQuestionOptions.PromotionOptionsOrBuilder- Returns:
- The closeTimer.
-
hasAutoPlayVideo
public boolean hasAutoPlayVideo()
optional .streamlayer.interactive.AutoPlayVideo auto_play_video = 13 [json_name = "autoPlayVideo"];- Specified by:
hasAutoPlayVideoin interfaceQuestionOptions.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:
getAutoPlayVideoValuein interfaceQuestionOptions.PromotionOptionsOrBuilder- Returns:
- The enum numeric value on the wire for autoPlayVideo.
-
getAutoPlayVideo
public AutoPlayVideo getAutoPlayVideo()
optional .streamlayer.interactive.AutoPlayVideo auto_play_video = 13 [json_name = "autoPlayVideo"];- Specified by:
getAutoPlayVideoin interfaceQuestionOptions.PromotionOptionsOrBuilder- Returns:
- The autoPlayVideo.
-
hasBackgroundImageLandscapeUrl
@Deprecated public boolean hasBackgroundImageLandscapeUrl()
Deprecated.streamlayer.interactive.QuestionOptions.PromotionOptions.background_image_landscape_url is deprecated. See streamlayer/interactive/interactive.common.proto;l=652optional string background_image_landscape_url = 14 [json_name = "backgroundImageLandscapeUrl", deprecated = true];- Specified by:
hasBackgroundImageLandscapeUrlin interfaceQuestionOptions.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=652optional string background_image_landscape_url = 14 [json_name = "backgroundImageLandscapeUrl", deprecated = true];- Specified by:
getBackgroundImageLandscapeUrlin interfaceQuestionOptions.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=652optional string background_image_landscape_url = 14 [json_name = "backgroundImageLandscapeUrl", deprecated = true];- Specified by:
getBackgroundImageLandscapeUrlBytesin interfaceQuestionOptions.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=653optional string background_image_portrait_url = 15 [json_name = "backgroundImagePortraitUrl", deprecated = true];- Specified by:
hasBackgroundImagePortraitUrlin interfaceQuestionOptions.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=653optional string background_image_portrait_url = 15 [json_name = "backgroundImagePortraitUrl", deprecated = true];- Specified by:
getBackgroundImagePortraitUrlin interfaceQuestionOptions.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=653optional string background_image_portrait_url = 15 [json_name = "backgroundImagePortraitUrl", deprecated = true];- Specified by:
getBackgroundImagePortraitUrlBytesin interfaceQuestionOptions.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:
hasAddToWalletOptionsin interfaceQuestionOptions.PromotionOptionsOrBuilder- Returns:
- Whether the addToWalletOptions field is set.
-
getAddToWalletOptions
public QuestionOptions.PromotionOptions.AddToWalletOptions getAddToWalletOptions()
.streamlayer.interactive.QuestionOptions.PromotionOptions.AddToWalletOptions add_to_wallet_options = 16 [json_name = "addToWalletOptions"];- Specified by:
getAddToWalletOptionsin interfaceQuestionOptions.PromotionOptionsOrBuilder- Returns:
- The addToWalletOptions.
-
hasSendToUserOptions
public boolean hasSendToUserOptions()
.streamlayer.interactive.QuestionOptions.PromotionOptions.SendToUserOptions send_to_user_options = 17 [json_name = "sendToUserOptions"];- Specified by:
hasSendToUserOptionsin interfaceQuestionOptions.PromotionOptionsOrBuilder- Returns:
- Whether the sendToUserOptions field is set.
-
getSendToUserOptions
public QuestionOptions.PromotionOptions.SendToUserOptions getSendToUserOptions()
.streamlayer.interactive.QuestionOptions.PromotionOptions.SendToUserOptions send_to_user_options = 17 [json_name = "sendToUserOptions"];- Specified by:
getSendToUserOptionsin interfaceQuestionOptions.PromotionOptionsOrBuilder- Returns:
- The sendToUserOptions.
-
hasShopOptions
public boolean hasShopOptions()
optional .streamlayer.interactive.QuestionOptions.ShopOptions shop_options = 18 [json_name = "shopOptions"];- Specified by:
hasShopOptionsin interfaceQuestionOptions.PromotionOptionsOrBuilder- Returns:
- Whether the shopOptions field is set.
-
getShopOptions
public QuestionOptions.ShopOptions getShopOptions()
optional .streamlayer.interactive.QuestionOptions.ShopOptions shop_options = 18 [json_name = "shopOptions"];- Specified by:
getShopOptionsin interfaceQuestionOptions.PromotionOptionsOrBuilder- Returns:
- The shopOptions.
-
hasNflShopOptions
public boolean hasNflShopOptions()
optional .streamlayer.interactive.QuestionOptions.NFLShopOptions nfl_shop_options = 19 [json_name = "nflShopOptions"];- Specified by:
hasNflShopOptionsin interfaceQuestionOptions.PromotionOptionsOrBuilder- Returns:
- Whether the nflShopOptions field is set.
-
getNflShopOptions
public QuestionOptions.NFLShopOptions getNflShopOptions()
optional .streamlayer.interactive.QuestionOptions.NFLShopOptions nfl_shop_options = 19 [json_name = "nflShopOptions"];- Specified by:
getNflShopOptionsin interfaceQuestionOptions.PromotionOptionsOrBuilder- Returns:
- The nflShopOptions.
-
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) throws java.io.IOException
- Throws:
java.io.IOException
-
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
-
newBuilder
public static QuestionOptions.PromotionOptions.Builder newBuilder()
-
newBuilder
public static QuestionOptions.PromotionOptions.Builder newBuilder(QuestionOptions.PromotionOptions prototype)
-
dynamicMethod
protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)- Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<QuestionOptions.PromotionOptions,QuestionOptions.PromotionOptions.Builder>
-
getDefaultInstance
public static QuestionOptions.PromotionOptions getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<QuestionOptions.PromotionOptions> parser()
-
-