Class QuestionNotification.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<QuestionNotification,QuestionNotification.Builder>
-
- com.streamlayer.interactive.common.QuestionNotification.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,QuestionNotificationOrBuilder,java.lang.Cloneable
- Enclosing class:
- QuestionNotification
public static final class QuestionNotification.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<QuestionNotification,QuestionNotification.Builder> implements QuestionNotificationOrBuilder
Protobuf typestreamlayer.interactive.QuestionNotification
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QuestionNotification.BuilderclearBody()string body = 5 [json_name = "body"];QuestionNotification.BuilderclearEnabled().streamlayer.interactive.NotificationEnabled enabled = 8 [json_name = "enabled"];QuestionNotification.BuilderclearImage()string image = 2 [json_name = "image"];QuestionNotification.BuilderclearImageMode().streamlayer.interactive.QuestionImages image_mode = 6 [json_name = "imageMode"];QuestionNotification.BuilderclearImagePosition().streamlayer.interactive.ImagePosition image_position = 4 [json_name = "imagePosition"];QuestionNotification.BuilderclearIndicatorColor()string indicator_color = 3 [json_name = "indicatorColor"];QuestionNotification.BuilderclearPromotion().streamlayer.interactive.PromotionNotification promotion = 7 [json_name = "promotion"];QuestionNotification.BuilderclearTitle()string title = 1 [json_name = "title"];QuestionNotification.BuilderclearUseContentMedia().streamlayer.interactive.NotificationUseContentMedia use_content_media = 9 [json_name = "useContentMedia"];QuestionNotification.BuilderclearUseContentTexts().streamlayer.interactive.NotificationUseContentTexts use_content_texts = 10 [json_name = "useContentTexts"];java.lang.StringgetBody()string body = 5 [json_name = "body"];com.google.protobuf.ByteStringgetBodyBytes()string body = 5 [json_name = "body"];NotificationEnabledgetEnabled().streamlayer.interactive.NotificationEnabled enabled = 8 [json_name = "enabled"];intgetEnabledValue().streamlayer.interactive.NotificationEnabled enabled = 8 [json_name = "enabled"];java.lang.StringgetImage()string image = 2 [json_name = "image"];com.google.protobuf.ByteStringgetImageBytes()string image = 2 [json_name = "image"];QuestionImagesgetImageMode().streamlayer.interactive.QuestionImages image_mode = 6 [json_name = "imageMode"];intgetImageModeValue().streamlayer.interactive.QuestionImages image_mode = 6 [json_name = "imageMode"];ImagePositiongetImagePosition().streamlayer.interactive.ImagePosition image_position = 4 [json_name = "imagePosition"];intgetImagePositionValue().streamlayer.interactive.ImagePosition image_position = 4 [json_name = "imagePosition"];java.lang.StringgetIndicatorColor()string indicator_color = 3 [json_name = "indicatorColor"];com.google.protobuf.ByteStringgetIndicatorColorBytes()string indicator_color = 3 [json_name = "indicatorColor"];PromotionNotificationgetPromotion().streamlayer.interactive.PromotionNotification promotion = 7 [json_name = "promotion"];java.lang.StringgetTitle()string title = 1 [json_name = "title"];com.google.protobuf.ByteStringgetTitleBytes()string title = 1 [json_name = "title"];NotificationUseContentMediagetUseContentMedia().streamlayer.interactive.NotificationUseContentMedia use_content_media = 9 [json_name = "useContentMedia"];intgetUseContentMediaValue().streamlayer.interactive.NotificationUseContentMedia use_content_media = 9 [json_name = "useContentMedia"];NotificationUseContentTextsgetUseContentTexts().streamlayer.interactive.NotificationUseContentTexts use_content_texts = 10 [json_name = "useContentTexts"];intgetUseContentTextsValue().streamlayer.interactive.NotificationUseContentTexts use_content_texts = 10 [json_name = "useContentTexts"];booleanhasPromotion().streamlayer.interactive.PromotionNotification promotion = 7 [json_name = "promotion"];QuestionNotification.BuildermergePromotion(PromotionNotification value).streamlayer.interactive.PromotionNotification promotion = 7 [json_name = "promotion"];QuestionNotification.BuildersetBody(java.lang.String value)string body = 5 [json_name = "body"];QuestionNotification.BuildersetBodyBytes(com.google.protobuf.ByteString value)string body = 5 [json_name = "body"];QuestionNotification.BuildersetEnabled(NotificationEnabled value).streamlayer.interactive.NotificationEnabled enabled = 8 [json_name = "enabled"];QuestionNotification.BuildersetEnabledValue(int value).streamlayer.interactive.NotificationEnabled enabled = 8 [json_name = "enabled"];QuestionNotification.BuildersetImage(java.lang.String value)string image = 2 [json_name = "image"];QuestionNotification.BuildersetImageBytes(com.google.protobuf.ByteString value)string image = 2 [json_name = "image"];QuestionNotification.BuildersetImageMode(QuestionImages value).streamlayer.interactive.QuestionImages image_mode = 6 [json_name = "imageMode"];QuestionNotification.BuildersetImageModeValue(int value).streamlayer.interactive.QuestionImages image_mode = 6 [json_name = "imageMode"];QuestionNotification.BuildersetImagePosition(ImagePosition value).streamlayer.interactive.ImagePosition image_position = 4 [json_name = "imagePosition"];QuestionNotification.BuildersetImagePositionValue(int value).streamlayer.interactive.ImagePosition image_position = 4 [json_name = "imagePosition"];QuestionNotification.BuildersetIndicatorColor(java.lang.String value)string indicator_color = 3 [json_name = "indicatorColor"];QuestionNotification.BuildersetIndicatorColorBytes(com.google.protobuf.ByteString value)string indicator_color = 3 [json_name = "indicatorColor"];QuestionNotification.BuildersetPromotion(PromotionNotification value).streamlayer.interactive.PromotionNotification promotion = 7 [json_name = "promotion"];QuestionNotification.BuildersetPromotion(PromotionNotification.Builder builderForValue).streamlayer.interactive.PromotionNotification promotion = 7 [json_name = "promotion"];QuestionNotification.BuildersetTitle(java.lang.String value)string title = 1 [json_name = "title"];QuestionNotification.BuildersetTitleBytes(com.google.protobuf.ByteString value)string title = 1 [json_name = "title"];QuestionNotification.BuildersetUseContentMedia(NotificationUseContentMedia value).streamlayer.interactive.NotificationUseContentMedia use_content_media = 9 [json_name = "useContentMedia"];QuestionNotification.BuildersetUseContentMediaValue(int value).streamlayer.interactive.NotificationUseContentMedia use_content_media = 9 [json_name = "useContentMedia"];QuestionNotification.BuildersetUseContentTexts(NotificationUseContentTexts value).streamlayer.interactive.NotificationUseContentTexts use_content_texts = 10 [json_name = "useContentTexts"];QuestionNotification.BuildersetUseContentTextsValue(int value).streamlayer.interactive.NotificationUseContentTexts use_content_texts = 10 [json_name = "useContentTexts"];-
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
-
getTitle
public java.lang.String getTitle()
string title = 1 [json_name = "title"];- Specified by:
getTitlein interfaceQuestionNotificationOrBuilder- Returns:
- The title.
-
getTitleBytes
public com.google.protobuf.ByteString getTitleBytes()
string title = 1 [json_name = "title"];- Specified by:
getTitleBytesin interfaceQuestionNotificationOrBuilder- Returns:
- The bytes for title.
-
setTitle
public QuestionNotification.Builder setTitle(java.lang.String value)
string title = 1 [json_name = "title"];- Parameters:
value- The title to set.- Returns:
- This builder for chaining.
-
clearTitle
public QuestionNotification.Builder clearTitle()
string title = 1 [json_name = "title"];- Returns:
- This builder for chaining.
-
setTitleBytes
public QuestionNotification.Builder setTitleBytes(com.google.protobuf.ByteString value)
string title = 1 [json_name = "title"];- Parameters:
value- The bytes for title to set.- Returns:
- This builder for chaining.
-
getImage
public java.lang.String getImage()
string image = 2 [json_name = "image"];- Specified by:
getImagein interfaceQuestionNotificationOrBuilder- Returns:
- The image.
-
getImageBytes
public com.google.protobuf.ByteString getImageBytes()
string image = 2 [json_name = "image"];- Specified by:
getImageBytesin interfaceQuestionNotificationOrBuilder- Returns:
- The bytes for image.
-
setImage
public QuestionNotification.Builder setImage(java.lang.String value)
string image = 2 [json_name = "image"];- Parameters:
value- The image to set.- Returns:
- This builder for chaining.
-
clearImage
public QuestionNotification.Builder clearImage()
string image = 2 [json_name = "image"];- Returns:
- This builder for chaining.
-
setImageBytes
public QuestionNotification.Builder setImageBytes(com.google.protobuf.ByteString value)
string image = 2 [json_name = "image"];- Parameters:
value- The bytes for image to set.- Returns:
- This builder for chaining.
-
getIndicatorColor
public java.lang.String getIndicatorColor()
string indicator_color = 3 [json_name = "indicatorColor"];- Specified by:
getIndicatorColorin interfaceQuestionNotificationOrBuilder- Returns:
- The indicatorColor.
-
getIndicatorColorBytes
public com.google.protobuf.ByteString getIndicatorColorBytes()
string indicator_color = 3 [json_name = "indicatorColor"];- Specified by:
getIndicatorColorBytesin interfaceQuestionNotificationOrBuilder- Returns:
- The bytes for indicatorColor.
-
setIndicatorColor
public QuestionNotification.Builder setIndicatorColor(java.lang.String value)
string indicator_color = 3 [json_name = "indicatorColor"];- Parameters:
value- The indicatorColor to set.- Returns:
- This builder for chaining.
-
clearIndicatorColor
public QuestionNotification.Builder clearIndicatorColor()
string indicator_color = 3 [json_name = "indicatorColor"];- Returns:
- This builder for chaining.
-
setIndicatorColorBytes
public QuestionNotification.Builder setIndicatorColorBytes(com.google.protobuf.ByteString value)
string indicator_color = 3 [json_name = "indicatorColor"];- Parameters:
value- The bytes for indicatorColor to set.- Returns:
- This builder for chaining.
-
getImagePositionValue
public int getImagePositionValue()
.streamlayer.interactive.ImagePosition image_position = 4 [json_name = "imagePosition"];- Specified by:
getImagePositionValuein interfaceQuestionNotificationOrBuilder- Returns:
- The enum numeric value on the wire for imagePosition.
-
setImagePositionValue
public QuestionNotification.Builder setImagePositionValue(int value)
.streamlayer.interactive.ImagePosition image_position = 4 [json_name = "imagePosition"];- Parameters:
value- The imagePosition to set.- Returns:
- This builder for chaining.
-
getImagePosition
public ImagePosition getImagePosition()
.streamlayer.interactive.ImagePosition image_position = 4 [json_name = "imagePosition"];- Specified by:
getImagePositionin interfaceQuestionNotificationOrBuilder- Returns:
- The imagePosition.
-
setImagePosition
public QuestionNotification.Builder setImagePosition(ImagePosition value)
.streamlayer.interactive.ImagePosition 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 QuestionNotification.Builder clearImagePosition()
.streamlayer.interactive.ImagePosition image_position = 4 [json_name = "imagePosition"];- Returns:
- This builder for chaining.
-
getBody
public java.lang.String getBody()
string body = 5 [json_name = "body"];- Specified by:
getBodyin interfaceQuestionNotificationOrBuilder- Returns:
- The body.
-
getBodyBytes
public com.google.protobuf.ByteString getBodyBytes()
string body = 5 [json_name = "body"];- Specified by:
getBodyBytesin interfaceQuestionNotificationOrBuilder- Returns:
- The bytes for body.
-
setBody
public QuestionNotification.Builder setBody(java.lang.String value)
string body = 5 [json_name = "body"];- Parameters:
value- The body to set.- Returns:
- This builder for chaining.
-
clearBody
public QuestionNotification.Builder clearBody()
string body = 5 [json_name = "body"];- Returns:
- This builder for chaining.
-
setBodyBytes
public QuestionNotification.Builder setBodyBytes(com.google.protobuf.ByteString value)
string body = 5 [json_name = "body"];- Parameters:
value- The bytes for body to set.- Returns:
- This builder for chaining.
-
getImageModeValue
public int getImageModeValue()
.streamlayer.interactive.QuestionImages image_mode = 6 [json_name = "imageMode"];- Specified by:
getImageModeValuein interfaceQuestionNotificationOrBuilder- Returns:
- The enum numeric value on the wire for imageMode.
-
setImageModeValue
public QuestionNotification.Builder setImageModeValue(int value)
.streamlayer.interactive.QuestionImages image_mode = 6 [json_name = "imageMode"];- Parameters:
value- The imageMode to set.- Returns:
- This builder for chaining.
-
getImageMode
public QuestionImages getImageMode()
.streamlayer.interactive.QuestionImages image_mode = 6 [json_name = "imageMode"];- Specified by:
getImageModein interfaceQuestionNotificationOrBuilder- Returns:
- The imageMode.
-
setImageMode
public QuestionNotification.Builder setImageMode(QuestionImages value)
.streamlayer.interactive.QuestionImages image_mode = 6 [json_name = "imageMode"];- Parameters:
value- The enum numeric value on the wire for imageMode to set.- Returns:
- This builder for chaining.
-
clearImageMode
public QuestionNotification.Builder clearImageMode()
.streamlayer.interactive.QuestionImages image_mode = 6 [json_name = "imageMode"];- Returns:
- This builder for chaining.
-
hasPromotion
public boolean hasPromotion()
.streamlayer.interactive.PromotionNotification promotion = 7 [json_name = "promotion"];- Specified by:
hasPromotionin interfaceQuestionNotificationOrBuilder- Returns:
- Whether the promotion field is set.
-
getPromotion
public PromotionNotification getPromotion()
.streamlayer.interactive.PromotionNotification promotion = 7 [json_name = "promotion"];- Specified by:
getPromotionin interfaceQuestionNotificationOrBuilder- Returns:
- The promotion.
-
setPromotion
public QuestionNotification.Builder setPromotion(PromotionNotification value)
.streamlayer.interactive.PromotionNotification promotion = 7 [json_name = "promotion"];
-
setPromotion
public QuestionNotification.Builder setPromotion(PromotionNotification.Builder builderForValue)
.streamlayer.interactive.PromotionNotification promotion = 7 [json_name = "promotion"];
-
mergePromotion
public QuestionNotification.Builder mergePromotion(PromotionNotification value)
.streamlayer.interactive.PromotionNotification promotion = 7 [json_name = "promotion"];
-
clearPromotion
public QuestionNotification.Builder clearPromotion()
.streamlayer.interactive.PromotionNotification promotion = 7 [json_name = "promotion"];
-
getEnabledValue
public int getEnabledValue()
.streamlayer.interactive.NotificationEnabled enabled = 8 [json_name = "enabled"];- Specified by:
getEnabledValuein interfaceQuestionNotificationOrBuilder- Returns:
- The enum numeric value on the wire for enabled.
-
setEnabledValue
public QuestionNotification.Builder setEnabledValue(int value)
.streamlayer.interactive.NotificationEnabled enabled = 8 [json_name = "enabled"];- Parameters:
value- The enabled to set.- Returns:
- This builder for chaining.
-
getEnabled
public NotificationEnabled getEnabled()
.streamlayer.interactive.NotificationEnabled enabled = 8 [json_name = "enabled"];- Specified by:
getEnabledin interfaceQuestionNotificationOrBuilder- Returns:
- The enabled.
-
setEnabled
public QuestionNotification.Builder setEnabled(NotificationEnabled value)
.streamlayer.interactive.NotificationEnabled enabled = 8 [json_name = "enabled"];- Parameters:
value- The enum numeric value on the wire for enabled to set.- Returns:
- This builder for chaining.
-
clearEnabled
public QuestionNotification.Builder clearEnabled()
.streamlayer.interactive.NotificationEnabled enabled = 8 [json_name = "enabled"];- Returns:
- This builder for chaining.
-
getUseContentMediaValue
public int getUseContentMediaValue()
.streamlayer.interactive.NotificationUseContentMedia use_content_media = 9 [json_name = "useContentMedia"];- Specified by:
getUseContentMediaValuein interfaceQuestionNotificationOrBuilder- Returns:
- The enum numeric value on the wire for useContentMedia.
-
setUseContentMediaValue
public QuestionNotification.Builder setUseContentMediaValue(int value)
.streamlayer.interactive.NotificationUseContentMedia use_content_media = 9 [json_name = "useContentMedia"];- Parameters:
value- The useContentMedia to set.- Returns:
- This builder for chaining.
-
getUseContentMedia
public NotificationUseContentMedia getUseContentMedia()
.streamlayer.interactive.NotificationUseContentMedia use_content_media = 9 [json_name = "useContentMedia"];- Specified by:
getUseContentMediain interfaceQuestionNotificationOrBuilder- Returns:
- The useContentMedia.
-
setUseContentMedia
public QuestionNotification.Builder setUseContentMedia(NotificationUseContentMedia value)
.streamlayer.interactive.NotificationUseContentMedia use_content_media = 9 [json_name = "useContentMedia"];- Parameters:
value- The enum numeric value on the wire for useContentMedia to set.- Returns:
- This builder for chaining.
-
clearUseContentMedia
public QuestionNotification.Builder clearUseContentMedia()
.streamlayer.interactive.NotificationUseContentMedia use_content_media = 9 [json_name = "useContentMedia"];- Returns:
- This builder for chaining.
-
getUseContentTextsValue
public int getUseContentTextsValue()
.streamlayer.interactive.NotificationUseContentTexts use_content_texts = 10 [json_name = "useContentTexts"];- Specified by:
getUseContentTextsValuein interfaceQuestionNotificationOrBuilder- Returns:
- The enum numeric value on the wire for useContentTexts.
-
setUseContentTextsValue
public QuestionNotification.Builder setUseContentTextsValue(int value)
.streamlayer.interactive.NotificationUseContentTexts use_content_texts = 10 [json_name = "useContentTexts"];- Parameters:
value- The useContentTexts to set.- Returns:
- This builder for chaining.
-
getUseContentTexts
public NotificationUseContentTexts getUseContentTexts()
.streamlayer.interactive.NotificationUseContentTexts use_content_texts = 10 [json_name = "useContentTexts"];- Specified by:
getUseContentTextsin interfaceQuestionNotificationOrBuilder- Returns:
- The useContentTexts.
-
setUseContentTexts
public QuestionNotification.Builder setUseContentTexts(NotificationUseContentTexts value)
.streamlayer.interactive.NotificationUseContentTexts use_content_texts = 10 [json_name = "useContentTexts"];- Parameters:
value- The enum numeric value on the wire for useContentTexts to set.- Returns:
- This builder for chaining.
-
clearUseContentTexts
public QuestionNotification.Builder clearUseContentTexts()
.streamlayer.interactive.NotificationUseContentTexts use_content_texts = 10 [json_name = "useContentTexts"];- Returns:
- This builder for chaining.
-
-