Package com.streamlayer.interactive.feed
Class InstantView.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<InstantView,InstantView.Builder>
-
- com.streamlayer.interactive.feed.InstantView.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,InstantViewOrBuilder,java.lang.Cloneable
- Enclosing class:
- InstantView
public static final class InstantView.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<InstantView,InstantView.Builder> implements InstantViewOrBuilder
Protobuf typestreamlayer.interactive.feed.InstantView
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstantView.BuilderclearAutoPlayVideo()optional .streamlayer.interactive.AutoPlayVideo auto_play_video = 8 [json_name = "autoPlayVideo"];InstantView.BuilderclearBody()options.bodyInstantView.BuilderclearCloseTimer()optional .streamlayer.interactive.CloseTimer close_timer = 7 [json_name = "closeTimer"];InstantView.BuilderclearHeading()question.subjectInstantView.BuilderclearImage()optional string image = 3 [json_name = "image"];InstantView.BuilderclearImageMode().streamlayer.interactive.QuestionImages image_mode = 6 [json_name = "imageMode"];InstantView.BuilderclearPlayVideoMuted()optional .streamlayer.interactive.PlayVideoMuted play_video_muted = 9 [json_name = "playVideoMuted"];InstantView.BuilderclearVideo()optional .streamlayer.interactive.FileLink video = 4 [json_name = "video"];InstantView.BuilderclearWebLink()optional .streamlayer.interactive.WebLink web_link = 5 [json_name = "webLink"];AutoPlayVideogetAutoPlayVideo()optional .streamlayer.interactive.AutoPlayVideo auto_play_video = 8 [json_name = "autoPlayVideo"];intgetAutoPlayVideoValue()optional .streamlayer.interactive.AutoPlayVideo auto_play_video = 8 [json_name = "autoPlayVideo"];java.lang.StringgetBody()options.bodycom.google.protobuf.ByteStringgetBodyBytes()options.bodyCloseTimergetCloseTimer()optional .streamlayer.interactive.CloseTimer close_timer = 7 [json_name = "closeTimer"];java.lang.StringgetHeading()question.subjectcom.google.protobuf.ByteStringgetHeadingBytes()question.subjectjava.lang.StringgetImage()optional string image = 3 [json_name = "image"];com.google.protobuf.ByteStringgetImageBytes()optional string image = 3 [json_name = "image"];QuestionImagesgetImageMode().streamlayer.interactive.QuestionImages image_mode = 6 [json_name = "imageMode"];intgetImageModeValue().streamlayer.interactive.QuestionImages image_mode = 6 [json_name = "imageMode"];PlayVideoMutedgetPlayVideoMuted()optional .streamlayer.interactive.PlayVideoMuted play_video_muted = 9 [json_name = "playVideoMuted"];intgetPlayVideoMutedValue()optional .streamlayer.interactive.PlayVideoMuted play_video_muted = 9 [json_name = "playVideoMuted"];FileLinkgetVideo()optional .streamlayer.interactive.FileLink video = 4 [json_name = "video"];WebLinkgetWebLink()optional .streamlayer.interactive.WebLink web_link = 5 [json_name = "webLink"];booleanhasAutoPlayVideo()optional .streamlayer.interactive.AutoPlayVideo auto_play_video = 8 [json_name = "autoPlayVideo"];booleanhasBody()options.bodybooleanhasCloseTimer()optional .streamlayer.interactive.CloseTimer close_timer = 7 [json_name = "closeTimer"];booleanhasHeading()question.subjectbooleanhasImage()optional string image = 3 [json_name = "image"];booleanhasPlayVideoMuted()optional .streamlayer.interactive.PlayVideoMuted play_video_muted = 9 [json_name = "playVideoMuted"];booleanhasVideo()optional .streamlayer.interactive.FileLink video = 4 [json_name = "video"];booleanhasWebLink()optional .streamlayer.interactive.WebLink web_link = 5 [json_name = "webLink"];InstantView.BuildermergeCloseTimer(CloseTimer value)optional .streamlayer.interactive.CloseTimer close_timer = 7 [json_name = "closeTimer"];InstantView.BuildermergeVideo(FileLink value)optional .streamlayer.interactive.FileLink video = 4 [json_name = "video"];InstantView.BuildermergeWebLink(WebLink value)optional .streamlayer.interactive.WebLink web_link = 5 [json_name = "webLink"];InstantView.BuildersetAutoPlayVideo(AutoPlayVideo value)optional .streamlayer.interactive.AutoPlayVideo auto_play_video = 8 [json_name = "autoPlayVideo"];InstantView.BuildersetAutoPlayVideoValue(int value)optional .streamlayer.interactive.AutoPlayVideo auto_play_video = 8 [json_name = "autoPlayVideo"];InstantView.BuildersetBody(java.lang.String value)options.bodyInstantView.BuildersetBodyBytes(com.google.protobuf.ByteString value)options.bodyInstantView.BuildersetCloseTimer(CloseTimer value)optional .streamlayer.interactive.CloseTimer close_timer = 7 [json_name = "closeTimer"];InstantView.BuildersetCloseTimer(CloseTimer.Builder builderForValue)optional .streamlayer.interactive.CloseTimer close_timer = 7 [json_name = "closeTimer"];InstantView.BuildersetHeading(java.lang.String value)question.subjectInstantView.BuildersetHeadingBytes(com.google.protobuf.ByteString value)question.subjectInstantView.BuildersetImage(java.lang.String value)optional string image = 3 [json_name = "image"];InstantView.BuildersetImageBytes(com.google.protobuf.ByteString value)optional string image = 3 [json_name = "image"];InstantView.BuildersetImageMode(QuestionImages value).streamlayer.interactive.QuestionImages image_mode = 6 [json_name = "imageMode"];InstantView.BuildersetImageModeValue(int value).streamlayer.interactive.QuestionImages image_mode = 6 [json_name = "imageMode"];InstantView.BuildersetPlayVideoMuted(PlayVideoMuted value)optional .streamlayer.interactive.PlayVideoMuted play_video_muted = 9 [json_name = "playVideoMuted"];InstantView.BuildersetPlayVideoMutedValue(int value)optional .streamlayer.interactive.PlayVideoMuted play_video_muted = 9 [json_name = "playVideoMuted"];InstantView.BuildersetVideo(FileLink value)optional .streamlayer.interactive.FileLink video = 4 [json_name = "video"];InstantView.BuildersetVideo(FileLink.Builder builderForValue)optional .streamlayer.interactive.FileLink video = 4 [json_name = "video"];InstantView.BuildersetWebLink(WebLink value)optional .streamlayer.interactive.WebLink web_link = 5 [json_name = "webLink"];InstantView.BuildersetWebLink(WebLink.Builder builderForValue)optional .streamlayer.interactive.WebLink web_link = 5 [json_name = "webLink"];-
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
-
hasHeading
public boolean hasHeading()
question.subject
optional string heading = 1 [json_name = "heading"];- Specified by:
hasHeadingin interfaceInstantViewOrBuilder- Returns:
- Whether the heading field is set.
-
getHeading
public java.lang.String getHeading()
question.subject
optional string heading = 1 [json_name = "heading"];- Specified by:
getHeadingin interfaceInstantViewOrBuilder- Returns:
- The heading.
-
getHeadingBytes
public com.google.protobuf.ByteString getHeadingBytes()
question.subject
optional string heading = 1 [json_name = "heading"];- Specified by:
getHeadingBytesin interfaceInstantViewOrBuilder- Returns:
- The bytes for heading.
-
setHeading
public InstantView.Builder setHeading(java.lang.String value)
question.subject
optional string heading = 1 [json_name = "heading"];- Parameters:
value- The heading to set.- Returns:
- This builder for chaining.
-
clearHeading
public InstantView.Builder clearHeading()
question.subject
optional string heading = 1 [json_name = "heading"];- Returns:
- This builder for chaining.
-
setHeadingBytes
public InstantView.Builder setHeadingBytes(com.google.protobuf.ByteString value)
question.subject
optional string heading = 1 [json_name = "heading"];- Parameters:
value- The bytes for heading to set.- Returns:
- This builder for chaining.
-
hasBody
public boolean hasBody()
options.body
optional string body = 2 [json_name = "body"];- Specified by:
hasBodyin interfaceInstantViewOrBuilder- Returns:
- Whether the body field is set.
-
getBody
public java.lang.String getBody()
options.body
optional string body = 2 [json_name = "body"];- Specified by:
getBodyin interfaceInstantViewOrBuilder- Returns:
- The body.
-
getBodyBytes
public com.google.protobuf.ByteString getBodyBytes()
options.body
optional string body = 2 [json_name = "body"];- Specified by:
getBodyBytesin interfaceInstantViewOrBuilder- Returns:
- The bytes for body.
-
setBody
public InstantView.Builder setBody(java.lang.String value)
options.body
optional string body = 2 [json_name = "body"];- Parameters:
value- The body to set.- Returns:
- This builder for chaining.
-
clearBody
public InstantView.Builder clearBody()
options.body
optional string body = 2 [json_name = "body"];- Returns:
- This builder for chaining.
-
setBodyBytes
public InstantView.Builder setBodyBytes(com.google.protobuf.ByteString value)
options.body
optional string body = 2 [json_name = "body"];- Parameters:
value- The bytes for body to set.- Returns:
- This builder for chaining.
-
hasImage
public boolean hasImage()
optional string image = 3 [json_name = "image"];- Specified by:
hasImagein interfaceInstantViewOrBuilder- Returns:
- Whether the image field is set.
-
getImage
public java.lang.String getImage()
optional string image = 3 [json_name = "image"];- Specified by:
getImagein interfaceInstantViewOrBuilder- Returns:
- The image.
-
getImageBytes
public com.google.protobuf.ByteString getImageBytes()
optional string image = 3 [json_name = "image"];- Specified by:
getImageBytesin interfaceInstantViewOrBuilder- Returns:
- The bytes for image.
-
setImage
public InstantView.Builder setImage(java.lang.String value)
optional string image = 3 [json_name = "image"];- Parameters:
value- The image to set.- Returns:
- This builder for chaining.
-
clearImage
public InstantView.Builder clearImage()
optional string image = 3 [json_name = "image"];- Returns:
- This builder for chaining.
-
setImageBytes
public InstantView.Builder setImageBytes(com.google.protobuf.ByteString value)
optional string image = 3 [json_name = "image"];- Parameters:
value- The bytes for image to set.- Returns:
- This builder for chaining.
-
hasVideo
public boolean hasVideo()
optional .streamlayer.interactive.FileLink video = 4 [json_name = "video"];- Specified by:
hasVideoin interfaceInstantViewOrBuilder- Returns:
- Whether the video field is set.
-
getVideo
public FileLink getVideo()
optional .streamlayer.interactive.FileLink video = 4 [json_name = "video"];- Specified by:
getVideoin interfaceInstantViewOrBuilder- Returns:
- The video.
-
setVideo
public InstantView.Builder setVideo(FileLink value)
optional .streamlayer.interactive.FileLink video = 4 [json_name = "video"];
-
setVideo
public InstantView.Builder setVideo(FileLink.Builder builderForValue)
optional .streamlayer.interactive.FileLink video = 4 [json_name = "video"];
-
mergeVideo
public InstantView.Builder mergeVideo(FileLink value)
optional .streamlayer.interactive.FileLink video = 4 [json_name = "video"];
-
clearVideo
public InstantView.Builder clearVideo()
optional .streamlayer.interactive.FileLink video = 4 [json_name = "video"];
-
hasWebLink
public boolean hasWebLink()
optional .streamlayer.interactive.WebLink web_link = 5 [json_name = "webLink"];- Specified by:
hasWebLinkin interfaceInstantViewOrBuilder- Returns:
- Whether the webLink field is set.
-
getWebLink
public WebLink getWebLink()
optional .streamlayer.interactive.WebLink web_link = 5 [json_name = "webLink"];- Specified by:
getWebLinkin interfaceInstantViewOrBuilder- Returns:
- The webLink.
-
setWebLink
public InstantView.Builder setWebLink(WebLink value)
optional .streamlayer.interactive.WebLink web_link = 5 [json_name = "webLink"];
-
setWebLink
public InstantView.Builder setWebLink(WebLink.Builder builderForValue)
optional .streamlayer.interactive.WebLink web_link = 5 [json_name = "webLink"];
-
mergeWebLink
public InstantView.Builder mergeWebLink(WebLink value)
optional .streamlayer.interactive.WebLink web_link = 5 [json_name = "webLink"];
-
clearWebLink
public InstantView.Builder clearWebLink()
optional .streamlayer.interactive.WebLink web_link = 5 [json_name = "webLink"];
-
getImageModeValue
public int getImageModeValue()
.streamlayer.interactive.QuestionImages image_mode = 6 [json_name = "imageMode"];- Specified by:
getImageModeValuein interfaceInstantViewOrBuilder- Returns:
- The enum numeric value on the wire for imageMode.
-
setImageModeValue
public InstantView.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 interfaceInstantViewOrBuilder- Returns:
- The imageMode.
-
setImageMode
public InstantView.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 InstantView.Builder clearImageMode()
.streamlayer.interactive.QuestionImages image_mode = 6 [json_name = "imageMode"];- Returns:
- This builder for chaining.
-
hasCloseTimer
public boolean hasCloseTimer()
optional .streamlayer.interactive.CloseTimer close_timer = 7 [json_name = "closeTimer"];- Specified by:
hasCloseTimerin interfaceInstantViewOrBuilder- Returns:
- Whether the closeTimer field is set.
-
getCloseTimer
public CloseTimer getCloseTimer()
optional .streamlayer.interactive.CloseTimer close_timer = 7 [json_name = "closeTimer"];- Specified by:
getCloseTimerin interfaceInstantViewOrBuilder- Returns:
- The closeTimer.
-
setCloseTimer
public InstantView.Builder setCloseTimer(CloseTimer value)
optional .streamlayer.interactive.CloseTimer close_timer = 7 [json_name = "closeTimer"];
-
setCloseTimer
public InstantView.Builder setCloseTimer(CloseTimer.Builder builderForValue)
optional .streamlayer.interactive.CloseTimer close_timer = 7 [json_name = "closeTimer"];
-
mergeCloseTimer
public InstantView.Builder mergeCloseTimer(CloseTimer value)
optional .streamlayer.interactive.CloseTimer close_timer = 7 [json_name = "closeTimer"];
-
clearCloseTimer
public InstantView.Builder clearCloseTimer()
optional .streamlayer.interactive.CloseTimer close_timer = 7 [json_name = "closeTimer"];
-
hasAutoPlayVideo
public boolean hasAutoPlayVideo()
optional .streamlayer.interactive.AutoPlayVideo auto_play_video = 8 [json_name = "autoPlayVideo"];- Specified by:
hasAutoPlayVideoin interfaceInstantViewOrBuilder- Returns:
- Whether the autoPlayVideo field is set.
-
getAutoPlayVideoValue
public int getAutoPlayVideoValue()
optional .streamlayer.interactive.AutoPlayVideo auto_play_video = 8 [json_name = "autoPlayVideo"];- Specified by:
getAutoPlayVideoValuein interfaceInstantViewOrBuilder- Returns:
- The enum numeric value on the wire for autoPlayVideo.
-
setAutoPlayVideoValue
public InstantView.Builder setAutoPlayVideoValue(int value)
optional .streamlayer.interactive.AutoPlayVideo auto_play_video = 8 [json_name = "autoPlayVideo"];- Parameters:
value- The autoPlayVideo to set.- Returns:
- This builder for chaining.
-
getAutoPlayVideo
public AutoPlayVideo getAutoPlayVideo()
optional .streamlayer.interactive.AutoPlayVideo auto_play_video = 8 [json_name = "autoPlayVideo"];- Specified by:
getAutoPlayVideoin interfaceInstantViewOrBuilder- Returns:
- The autoPlayVideo.
-
setAutoPlayVideo
public InstantView.Builder setAutoPlayVideo(AutoPlayVideo value)
optional .streamlayer.interactive.AutoPlayVideo auto_play_video = 8 [json_name = "autoPlayVideo"];- Parameters:
value- The enum numeric value on the wire for autoPlayVideo to set.- Returns:
- This builder for chaining.
-
clearAutoPlayVideo
public InstantView.Builder clearAutoPlayVideo()
optional .streamlayer.interactive.AutoPlayVideo auto_play_video = 8 [json_name = "autoPlayVideo"];- Returns:
- This builder for chaining.
-
hasPlayVideoMuted
public boolean hasPlayVideoMuted()
optional .streamlayer.interactive.PlayVideoMuted play_video_muted = 9 [json_name = "playVideoMuted"];- Specified by:
hasPlayVideoMutedin interfaceInstantViewOrBuilder- Returns:
- Whether the playVideoMuted field is set.
-
getPlayVideoMutedValue
public int getPlayVideoMutedValue()
optional .streamlayer.interactive.PlayVideoMuted play_video_muted = 9 [json_name = "playVideoMuted"];- Specified by:
getPlayVideoMutedValuein interfaceInstantViewOrBuilder- Returns:
- The enum numeric value on the wire for playVideoMuted.
-
setPlayVideoMutedValue
public InstantView.Builder setPlayVideoMutedValue(int value)
optional .streamlayer.interactive.PlayVideoMuted play_video_muted = 9 [json_name = "playVideoMuted"];- Parameters:
value- The playVideoMuted to set.- Returns:
- This builder for chaining.
-
getPlayVideoMuted
public PlayVideoMuted getPlayVideoMuted()
optional .streamlayer.interactive.PlayVideoMuted play_video_muted = 9 [json_name = "playVideoMuted"];- Specified by:
getPlayVideoMutedin interfaceInstantViewOrBuilder- Returns:
- The playVideoMuted.
-
setPlayVideoMuted
public InstantView.Builder setPlayVideoMuted(PlayVideoMuted value)
optional .streamlayer.interactive.PlayVideoMuted play_video_muted = 9 [json_name = "playVideoMuted"];- Parameters:
value- The enum numeric value on the wire for playVideoMuted to set.- Returns:
- This builder for chaining.
-
clearPlayVideoMuted
public InstantView.Builder clearPlayVideoMuted()
optional .streamlayer.interactive.PlayVideoMuted play_video_muted = 9 [json_name = "playVideoMuted"];- Returns:
- This builder for chaining.
-
-