Class PromotionNotification.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<PromotionNotification,PromotionNotification.Builder>
-
- com.streamlayer.interactive.common.PromotionNotification.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,PromotionNotificationOrBuilder,java.lang.Cloneable
- Enclosing class:
- PromotionNotification
public static final class PromotionNotification.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<PromotionNotification,PromotionNotification.Builder> implements PromotionNotificationOrBuilder
Protobuf typestreamlayer.interactive.PromotionNotification
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PromotionNotification.BuilderclearCtaButton().streamlayer.interactive.CTAButton cta_button = 3 [json_name = "ctaButton"];PromotionNotification.BuilderclearImagePosition().streamlayer.interactive.NotificationPromotionImagePosition image_position = 4 [json_name = "imagePosition"];PromotionNotification.BuilderclearMode().streamlayer.interactive.NotificationPromotionMode mode = 5 [json_name = "mode"];PromotionNotification.BuilderclearSponsorLogo()string sponsor_logo = 1 [json_name = "sponsorLogo"];PromotionNotification.BuilderclearSponsorLogoMode().streamlayer.interactive.NotificationSponsorLogoMode sponsor_logo_mode = 2 [json_name = "sponsorLogoMode"];CTAButtongetCtaButton().streamlayer.interactive.CTAButton cta_button = 3 [json_name = "ctaButton"];NotificationPromotionImagePositiongetImagePosition().streamlayer.interactive.NotificationPromotionImagePosition image_position = 4 [json_name = "imagePosition"];intgetImagePositionValue().streamlayer.interactive.NotificationPromotionImagePosition image_position = 4 [json_name = "imagePosition"];NotificationPromotionModegetMode().streamlayer.interactive.NotificationPromotionMode mode = 5 [json_name = "mode"];intgetModeValue().streamlayer.interactive.NotificationPromotionMode mode = 5 [json_name = "mode"];java.lang.StringgetSponsorLogo()string sponsor_logo = 1 [json_name = "sponsorLogo"];com.google.protobuf.ByteStringgetSponsorLogoBytes()string sponsor_logo = 1 [json_name = "sponsorLogo"];NotificationSponsorLogoModegetSponsorLogoMode().streamlayer.interactive.NotificationSponsorLogoMode sponsor_logo_mode = 2 [json_name = "sponsorLogoMode"];intgetSponsorLogoModeValue().streamlayer.interactive.NotificationSponsorLogoMode sponsor_logo_mode = 2 [json_name = "sponsorLogoMode"];booleanhasCtaButton().streamlayer.interactive.CTAButton cta_button = 3 [json_name = "ctaButton"];PromotionNotification.BuildermergeCtaButton(CTAButton value).streamlayer.interactive.CTAButton cta_button = 3 [json_name = "ctaButton"];PromotionNotification.BuildersetCtaButton(CTAButton value).streamlayer.interactive.CTAButton cta_button = 3 [json_name = "ctaButton"];PromotionNotification.BuildersetCtaButton(CTAButton.Builder builderForValue).streamlayer.interactive.CTAButton cta_button = 3 [json_name = "ctaButton"];PromotionNotification.BuildersetImagePosition(NotificationPromotionImagePosition value).streamlayer.interactive.NotificationPromotionImagePosition image_position = 4 [json_name = "imagePosition"];PromotionNotification.BuildersetImagePositionValue(int value).streamlayer.interactive.NotificationPromotionImagePosition image_position = 4 [json_name = "imagePosition"];PromotionNotification.BuildersetMode(NotificationPromotionMode value).streamlayer.interactive.NotificationPromotionMode mode = 5 [json_name = "mode"];PromotionNotification.BuildersetModeValue(int value).streamlayer.interactive.NotificationPromotionMode mode = 5 [json_name = "mode"];PromotionNotification.BuildersetSponsorLogo(java.lang.String value)string sponsor_logo = 1 [json_name = "sponsorLogo"];PromotionNotification.BuildersetSponsorLogoBytes(com.google.protobuf.ByteString value)string sponsor_logo = 1 [json_name = "sponsorLogo"];PromotionNotification.BuildersetSponsorLogoMode(NotificationSponsorLogoMode value).streamlayer.interactive.NotificationSponsorLogoMode sponsor_logo_mode = 2 [json_name = "sponsorLogoMode"];PromotionNotification.BuildersetSponsorLogoModeValue(int value).streamlayer.interactive.NotificationSponsorLogoMode sponsor_logo_mode = 2 [json_name = "sponsorLogoMode"];-
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getSponsorLogo
public java.lang.String getSponsorLogo()
string sponsor_logo = 1 [json_name = "sponsorLogo"];- Specified by:
getSponsorLogoin interfacePromotionNotificationOrBuilder- Returns:
- The sponsorLogo.
-
getSponsorLogoBytes
public com.google.protobuf.ByteString getSponsorLogoBytes()
string sponsor_logo = 1 [json_name = "sponsorLogo"];- Specified by:
getSponsorLogoBytesin interfacePromotionNotificationOrBuilder- Returns:
- The bytes for sponsorLogo.
-
setSponsorLogo
public PromotionNotification.Builder setSponsorLogo(java.lang.String value)
string sponsor_logo = 1 [json_name = "sponsorLogo"];- Parameters:
value- The sponsorLogo to set.- Returns:
- This builder for chaining.
-
clearSponsorLogo
public PromotionNotification.Builder clearSponsorLogo()
string sponsor_logo = 1 [json_name = "sponsorLogo"];- Returns:
- This builder for chaining.
-
setSponsorLogoBytes
public PromotionNotification.Builder setSponsorLogoBytes(com.google.protobuf.ByteString value)
string sponsor_logo = 1 [json_name = "sponsorLogo"];- Parameters:
value- The bytes for sponsorLogo to set.- Returns:
- This builder for chaining.
-
getSponsorLogoModeValue
public int getSponsorLogoModeValue()
.streamlayer.interactive.NotificationSponsorLogoMode sponsor_logo_mode = 2 [json_name = "sponsorLogoMode"];- Specified by:
getSponsorLogoModeValuein interfacePromotionNotificationOrBuilder- Returns:
- The enum numeric value on the wire for sponsorLogoMode.
-
setSponsorLogoModeValue
public PromotionNotification.Builder setSponsorLogoModeValue(int value)
.streamlayer.interactive.NotificationSponsorLogoMode sponsor_logo_mode = 2 [json_name = "sponsorLogoMode"];- Parameters:
value- The sponsorLogoMode to set.- Returns:
- This builder for chaining.
-
getSponsorLogoMode
public NotificationSponsorLogoMode getSponsorLogoMode()
.streamlayer.interactive.NotificationSponsorLogoMode sponsor_logo_mode = 2 [json_name = "sponsorLogoMode"];- Specified by:
getSponsorLogoModein interfacePromotionNotificationOrBuilder- Returns:
- The sponsorLogoMode.
-
setSponsorLogoMode
public PromotionNotification.Builder setSponsorLogoMode(NotificationSponsorLogoMode value)
.streamlayer.interactive.NotificationSponsorLogoMode sponsor_logo_mode = 2 [json_name = "sponsorLogoMode"];- Parameters:
value- The enum numeric value on the wire for sponsorLogoMode to set.- Returns:
- This builder for chaining.
-
clearSponsorLogoMode
public PromotionNotification.Builder clearSponsorLogoMode()
.streamlayer.interactive.NotificationSponsorLogoMode sponsor_logo_mode = 2 [json_name = "sponsorLogoMode"];- Returns:
- This builder for chaining.
-
hasCtaButton
public boolean hasCtaButton()
.streamlayer.interactive.CTAButton cta_button = 3 [json_name = "ctaButton"];- Specified by:
hasCtaButtonin interfacePromotionNotificationOrBuilder- Returns:
- Whether the ctaButton field is set.
-
getCtaButton
public CTAButton getCtaButton()
.streamlayer.interactive.CTAButton cta_button = 3 [json_name = "ctaButton"];- Specified by:
getCtaButtonin interfacePromotionNotificationOrBuilder- Returns:
- The ctaButton.
-
setCtaButton
public PromotionNotification.Builder setCtaButton(CTAButton value)
.streamlayer.interactive.CTAButton cta_button = 3 [json_name = "ctaButton"];
-
setCtaButton
public PromotionNotification.Builder setCtaButton(CTAButton.Builder builderForValue)
.streamlayer.interactive.CTAButton cta_button = 3 [json_name = "ctaButton"];
-
mergeCtaButton
public PromotionNotification.Builder mergeCtaButton(CTAButton value)
.streamlayer.interactive.CTAButton cta_button = 3 [json_name = "ctaButton"];
-
clearCtaButton
public PromotionNotification.Builder clearCtaButton()
.streamlayer.interactive.CTAButton cta_button = 3 [json_name = "ctaButton"];
-
getImagePositionValue
public int getImagePositionValue()
.streamlayer.interactive.NotificationPromotionImagePosition image_position = 4 [json_name = "imagePosition"];- Specified by:
getImagePositionValuein interfacePromotionNotificationOrBuilder- Returns:
- The enum numeric value on the wire for imagePosition.
-
setImagePositionValue
public PromotionNotification.Builder setImagePositionValue(int value)
.streamlayer.interactive.NotificationPromotionImagePosition image_position = 4 [json_name = "imagePosition"];- Parameters:
value- The imagePosition to set.- Returns:
- This builder for chaining.
-
getImagePosition
public NotificationPromotionImagePosition getImagePosition()
.streamlayer.interactive.NotificationPromotionImagePosition image_position = 4 [json_name = "imagePosition"];- Specified by:
getImagePositionin interfacePromotionNotificationOrBuilder- Returns:
- The imagePosition.
-
setImagePosition
public PromotionNotification.Builder setImagePosition(NotificationPromotionImagePosition value)
.streamlayer.interactive.NotificationPromotionImagePosition image_position = 4 [json_name = "imagePosition"];- Parameters:
value- The enum numeric value on the wire for imagePosition to set.- Returns:
- This builder for chaining.
-
clearImagePosition
public PromotionNotification.Builder clearImagePosition()
.streamlayer.interactive.NotificationPromotionImagePosition image_position = 4 [json_name = "imagePosition"];- Returns:
- This builder for chaining.
-
getModeValue
public int getModeValue()
.streamlayer.interactive.NotificationPromotionMode mode = 5 [json_name = "mode"];- Specified by:
getModeValuein interfacePromotionNotificationOrBuilder- Returns:
- The enum numeric value on the wire for mode.
-
setModeValue
public PromotionNotification.Builder setModeValue(int value)
.streamlayer.interactive.NotificationPromotionMode mode = 5 [json_name = "mode"];- Parameters:
value- The mode to set.- Returns:
- This builder for chaining.
-
getMode
public NotificationPromotionMode getMode()
.streamlayer.interactive.NotificationPromotionMode mode = 5 [json_name = "mode"];- Specified by:
getModein interfacePromotionNotificationOrBuilder- Returns:
- The mode.
-
setMode
public PromotionNotification.Builder setMode(NotificationPromotionMode value)
.streamlayer.interactive.NotificationPromotionMode mode = 5 [json_name = "mode"];- Parameters:
value- The enum numeric value on the wire for mode to set.- Returns:
- This builder for chaining.
-
clearMode
public PromotionNotification.Builder clearMode()
.streamlayer.interactive.NotificationPromotionMode mode = 5 [json_name = "mode"];- Returns:
- This builder for chaining.
-
-