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.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.BuilderclearTitle()string title = 1 [json_name = "title"];java.lang.StringgetBody()string body = 5 [json_name = "body"];com.google.protobuf.ByteStringgetBodyBytes()string body = 5 [json_name = "body"];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"];java.lang.StringgetTitle()string title = 1 [json_name = "title"];com.google.protobuf.ByteStringgetTitleBytes()string title = 1 [json_name = "title"];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.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.BuildersetTitle(java.lang.String value)string title = 1 [json_name = "title"];QuestionNotification.BuildersetTitleBytes(com.google.protobuf.ByteString value)string title = 1 [json_name = "title"];-
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.
-
-