Class QuestionOptions.FactoidOptions
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<QuestionOptions.FactoidOptions,QuestionOptions.FactoidOptions.Builder>
-
- com.streamlayer.interactive.common.QuestionOptions.FactoidOptions
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,QuestionOptions.FactoidOptionsOrBuilder
- Enclosing class:
- QuestionOptions
public static final class QuestionOptions.FactoidOptions extends com.google.protobuf.GeneratedMessageLite<QuestionOptions.FactoidOptions,QuestionOptions.FactoidOptions.Builder> implements QuestionOptions.FactoidOptionsOrBuilder
Protobuf typestreamlayer.interactive.QuestionOptions.FactoidOptions
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classQuestionOptions.FactoidOptions.BuilderProtobuf typestreamlayer.interactive.QuestionOptions.FactoidOptions-
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 intAUTO_PLAY_VIDEO_FIELD_NUMBERstatic intBODY_FIELD_NUMBERstatic intCLOSE_TIMER_FIELD_NUMBERstatic intIMAGE_FIELD_NUMBERstatic intIMAGE_MODE_FIELD_NUMBERstatic intMODE_FIELD_NUMBERstatic intPLAY_VIDEO_MUTED_FIELD_NUMBERstatic intUSE_AS_NOTIFICATION_FIELD_NUMBERstatic intVIDEO_FIELD_NUMBERstatic intWEB_LINK_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)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()string body = 2 [json_name = "body"];com.google.protobuf.ByteStringgetBodyBytes()string body = 2 [json_name = "body"];CloseTimergetCloseTimer()optional .streamlayer.interactive.CloseTimer close_timer = 7 [json_name = "closeTimer"];static QuestionOptions.FactoidOptionsgetDefaultInstance()java.lang.StringgetImage()string image = 1 [json_name = "image"];com.google.protobuf.ByteStringgetImageBytes()string image = 1 [json_name = "image"];QuestionImagesgetImageMode().streamlayer.interactive.QuestionImages image_mode = 5 [json_name = "imageMode"];intgetImageModeValue().streamlayer.interactive.QuestionImages image_mode = 5 [json_name = "imageMode"];FactoidMediaModegetMode().streamlayer.interactive.FactoidMediaMode mode = 9 [json_name = "mode"];intgetModeValue().streamlayer.interactive.FactoidMediaMode mode = 9 [json_name = "mode"];PlayVideoMutedgetPlayVideoMuted()optional .streamlayer.interactive.PlayVideoMuted play_video_muted = 10 [json_name = "playVideoMuted"];intgetPlayVideoMutedValue()optional .streamlayer.interactive.PlayVideoMuted play_video_muted = 10 [json_name = "playVideoMuted"];UseAsNotificationgetUseAsNotification().streamlayer.interactive.UseAsNotification use_as_notification = 6 [json_name = "useAsNotification"];intgetUseAsNotificationValue().streamlayer.interactive.UseAsNotification use_as_notification = 6 [json_name = "useAsNotification"];FileLinkgetVideo().streamlayer.interactive.FileLink video = 3 [json_name = "video"];WebLinkgetWebLink().streamlayer.interactive.WebLink web_link = 4 [json_name = "webLink"];booleanhasAutoPlayVideo()optional .streamlayer.interactive.AutoPlayVideo auto_play_video = 8 [json_name = "autoPlayVideo"];booleanhasCloseTimer()optional .streamlayer.interactive.CloseTimer close_timer = 7 [json_name = "closeTimer"];booleanhasPlayVideoMuted()optional .streamlayer.interactive.PlayVideoMuted play_video_muted = 10 [json_name = "playVideoMuted"];booleanhasVideo().streamlayer.interactive.FileLink video = 3 [json_name = "video"];booleanhasWebLink().streamlayer.interactive.WebLink web_link = 4 [json_name = "webLink"];static QuestionOptions.FactoidOptions.BuildernewBuilder()static QuestionOptions.FactoidOptions.BuildernewBuilder(QuestionOptions.FactoidOptions prototype)static QuestionOptions.FactoidOptionsparseDelimitedFrom(java.io.InputStream input)static QuestionOptions.FactoidOptionsparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QuestionOptions.FactoidOptionsparseFrom(byte[] data)static QuestionOptions.FactoidOptionsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QuestionOptions.FactoidOptionsparseFrom(com.google.protobuf.ByteString data)static QuestionOptions.FactoidOptionsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QuestionOptions.FactoidOptionsparseFrom(com.google.protobuf.CodedInputStream input)static QuestionOptions.FactoidOptionsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QuestionOptions.FactoidOptionsparseFrom(java.io.InputStream input)static QuestionOptions.FactoidOptionsparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QuestionOptions.FactoidOptionsparseFrom(java.nio.ByteBuffer data)static QuestionOptions.FactoidOptionsparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<QuestionOptions.FactoidOptions>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
-
IMAGE_FIELD_NUMBER
public static final int IMAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BODY_FIELD_NUMBER
public static final int BODY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VIDEO_FIELD_NUMBER
public static final int VIDEO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WEB_LINK_FIELD_NUMBER
public static final int WEB_LINK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IMAGE_MODE_FIELD_NUMBER
public static final int IMAGE_MODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USE_AS_NOTIFICATION_FIELD_NUMBER
public static final int USE_AS_NOTIFICATION_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
-
MODE_FIELD_NUMBER
public static final int MODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PLAY_VIDEO_MUTED_FIELD_NUMBER
public static final int PLAY_VIDEO_MUTED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getImage
public java.lang.String getImage()
string image = 1 [json_name = "image"];- Specified by:
getImagein interfaceQuestionOptions.FactoidOptionsOrBuilder- Returns:
- The image.
-
getImageBytes
public com.google.protobuf.ByteString getImageBytes()
string image = 1 [json_name = "image"];- Specified by:
getImageBytesin interfaceQuestionOptions.FactoidOptionsOrBuilder- Returns:
- The bytes for image.
-
getBody
public java.lang.String getBody()
string body = 2 [json_name = "body"];- Specified by:
getBodyin interfaceQuestionOptions.FactoidOptionsOrBuilder- Returns:
- The body.
-
getBodyBytes
public com.google.protobuf.ByteString getBodyBytes()
string body = 2 [json_name = "body"];- Specified by:
getBodyBytesin interfaceQuestionOptions.FactoidOptionsOrBuilder- Returns:
- The bytes for body.
-
hasVideo
public boolean hasVideo()
.streamlayer.interactive.FileLink video = 3 [json_name = "video"];- Specified by:
hasVideoin interfaceQuestionOptions.FactoidOptionsOrBuilder- Returns:
- Whether the video field is set.
-
getVideo
public FileLink getVideo()
.streamlayer.interactive.FileLink video = 3 [json_name = "video"];- Specified by:
getVideoin interfaceQuestionOptions.FactoidOptionsOrBuilder- Returns:
- The video.
-
hasWebLink
public boolean hasWebLink()
.streamlayer.interactive.WebLink web_link = 4 [json_name = "webLink"];- Specified by:
hasWebLinkin interfaceQuestionOptions.FactoidOptionsOrBuilder- Returns:
- Whether the webLink field is set.
-
getWebLink
public WebLink getWebLink()
.streamlayer.interactive.WebLink web_link = 4 [json_name = "webLink"];- Specified by:
getWebLinkin interfaceQuestionOptions.FactoidOptionsOrBuilder- Returns:
- The webLink.
-
getImageModeValue
public int getImageModeValue()
.streamlayer.interactive.QuestionImages image_mode = 5 [json_name = "imageMode"];- Specified by:
getImageModeValuein interfaceQuestionOptions.FactoidOptionsOrBuilder- Returns:
- The enum numeric value on the wire for imageMode.
-
getImageMode
public QuestionImages getImageMode()
.streamlayer.interactive.QuestionImages image_mode = 5 [json_name = "imageMode"];- Specified by:
getImageModein interfaceQuestionOptions.FactoidOptionsOrBuilder- Returns:
- The imageMode.
-
getUseAsNotificationValue
public int getUseAsNotificationValue()
.streamlayer.interactive.UseAsNotification use_as_notification = 6 [json_name = "useAsNotification"];- Specified by:
getUseAsNotificationValuein interfaceQuestionOptions.FactoidOptionsOrBuilder- Returns:
- The enum numeric value on the wire for useAsNotification.
-
getUseAsNotification
public UseAsNotification getUseAsNotification()
.streamlayer.interactive.UseAsNotification use_as_notification = 6 [json_name = "useAsNotification"];- Specified by:
getUseAsNotificationin interfaceQuestionOptions.FactoidOptionsOrBuilder- Returns:
- The useAsNotification.
-
hasCloseTimer
public boolean hasCloseTimer()
optional .streamlayer.interactive.CloseTimer close_timer = 7 [json_name = "closeTimer"];- Specified by:
hasCloseTimerin interfaceQuestionOptions.FactoidOptionsOrBuilder- Returns:
- Whether the closeTimer field is set.
-
getCloseTimer
public CloseTimer getCloseTimer()
optional .streamlayer.interactive.CloseTimer close_timer = 7 [json_name = "closeTimer"];- Specified by:
getCloseTimerin interfaceQuestionOptions.FactoidOptionsOrBuilder- Returns:
- The closeTimer.
-
hasAutoPlayVideo
public boolean hasAutoPlayVideo()
optional .streamlayer.interactive.AutoPlayVideo auto_play_video = 8 [json_name = "autoPlayVideo"];- Specified by:
hasAutoPlayVideoin interfaceQuestionOptions.FactoidOptionsOrBuilder- 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 interfaceQuestionOptions.FactoidOptionsOrBuilder- Returns:
- The enum numeric value on the wire for autoPlayVideo.
-
getAutoPlayVideo
public AutoPlayVideo getAutoPlayVideo()
optional .streamlayer.interactive.AutoPlayVideo auto_play_video = 8 [json_name = "autoPlayVideo"];- Specified by:
getAutoPlayVideoin interfaceQuestionOptions.FactoidOptionsOrBuilder- Returns:
- The autoPlayVideo.
-
getModeValue
public int getModeValue()
.streamlayer.interactive.FactoidMediaMode mode = 9 [json_name = "mode"];- Specified by:
getModeValuein interfaceQuestionOptions.FactoidOptionsOrBuilder- Returns:
- The enum numeric value on the wire for mode.
-
getMode
public FactoidMediaMode getMode()
.streamlayer.interactive.FactoidMediaMode mode = 9 [json_name = "mode"];- Specified by:
getModein interfaceQuestionOptions.FactoidOptionsOrBuilder- Returns:
- The mode.
-
hasPlayVideoMuted
public boolean hasPlayVideoMuted()
optional .streamlayer.interactive.PlayVideoMuted play_video_muted = 10 [json_name = "playVideoMuted"];- Specified by:
hasPlayVideoMutedin interfaceQuestionOptions.FactoidOptionsOrBuilder- Returns:
- Whether the playVideoMuted field is set.
-
getPlayVideoMutedValue
public int getPlayVideoMutedValue()
optional .streamlayer.interactive.PlayVideoMuted play_video_muted = 10 [json_name = "playVideoMuted"];- Specified by:
getPlayVideoMutedValuein interfaceQuestionOptions.FactoidOptionsOrBuilder- Returns:
- The enum numeric value on the wire for playVideoMuted.
-
getPlayVideoMuted
public PlayVideoMuted getPlayVideoMuted()
optional .streamlayer.interactive.PlayVideoMuted play_video_muted = 10 [json_name = "playVideoMuted"];- Specified by:
getPlayVideoMutedin interfaceQuestionOptions.FactoidOptionsOrBuilder- Returns:
- The playVideoMuted.
-
parseFrom
public static QuestionOptions.FactoidOptions parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuestionOptions.FactoidOptions parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuestionOptions.FactoidOptions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuestionOptions.FactoidOptions 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.FactoidOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuestionOptions.FactoidOptions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuestionOptions.FactoidOptions parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static QuestionOptions.FactoidOptions parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static QuestionOptions.FactoidOptions parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static QuestionOptions.FactoidOptions parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static QuestionOptions.FactoidOptions parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static QuestionOptions.FactoidOptions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static QuestionOptions.FactoidOptions.Builder newBuilder()
-
newBuilder
public static QuestionOptions.FactoidOptions.Builder newBuilder(QuestionOptions.FactoidOptions 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.FactoidOptions,QuestionOptions.FactoidOptions.Builder>
-
getDefaultInstance
public static QuestionOptions.FactoidOptions getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<QuestionOptions.FactoidOptions> parser()
-
-