Class QuestionNotification
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<QuestionNotification,QuestionNotification.Builder>
-
- com.streamlayer.interactive.common.QuestionNotification
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,QuestionNotificationOrBuilder
public final class QuestionNotification extends com.google.protobuf.GeneratedMessageLite<QuestionNotification,QuestionNotification.Builder> implements QuestionNotificationOrBuilder
Protobuf typestreamlayer.interactive.QuestionNotification
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classQuestionNotification.BuilderProtobuf typestreamlayer.interactive.QuestionNotification-
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 intBODY_FIELD_NUMBERstatic intENABLED_FIELD_NUMBERstatic intIMAGE_FIELD_NUMBERstatic intIMAGE_MODE_FIELD_NUMBERstatic intIMAGE_POSITION_FIELD_NUMBERstatic intINDICATOR_COLOR_FIELD_NUMBERstatic intPROMOTION_FIELD_NUMBERstatic intTITLE_FIELD_NUMBERstatic intUSE_CONTENT_MEDIA_FIELD_NUMBERstatic intUSE_CONTENT_TEXTS_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)java.lang.StringgetBody()string body = 5 [json_name = "body"];com.google.protobuf.ByteStringgetBodyBytes()string body = 5 [json_name = "body"];static QuestionNotificationgetDefaultInstance()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"];static QuestionNotification.BuildernewBuilder()static QuestionNotification.BuildernewBuilder(QuestionNotification prototype)static QuestionNotificationparseDelimitedFrom(java.io.InputStream input)static QuestionNotificationparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QuestionNotificationparseFrom(byte[] data)static QuestionNotificationparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QuestionNotificationparseFrom(com.google.protobuf.ByteString data)static QuestionNotificationparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QuestionNotificationparseFrom(com.google.protobuf.CodedInputStream input)static QuestionNotificationparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QuestionNotificationparseFrom(java.io.InputStream input)static QuestionNotificationparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QuestionNotificationparseFrom(java.nio.ByteBuffer data)static QuestionNotificationparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<QuestionNotification>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
-
TITLE_FIELD_NUMBER
public static final int TITLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IMAGE_FIELD_NUMBER
public static final int IMAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INDICATOR_COLOR_FIELD_NUMBER
public static final int INDICATOR_COLOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IMAGE_POSITION_FIELD_NUMBER
public static final int IMAGE_POSITION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BODY_FIELD_NUMBER
public static final int BODY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IMAGE_MODE_FIELD_NUMBER
public static final int IMAGE_MODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROMOTION_FIELD_NUMBER
public static final int PROMOTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENABLED_FIELD_NUMBER
public static final int ENABLED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USE_CONTENT_MEDIA_FIELD_NUMBER
public static final int USE_CONTENT_MEDIA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USE_CONTENT_TEXTS_FIELD_NUMBER
public static final int USE_CONTENT_TEXTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
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.
-
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.
-
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.
-
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.
-
getImagePosition
public ImagePosition getImagePosition()
.streamlayer.interactive.ImagePosition image_position = 4 [json_name = "imagePosition"];- Specified by:
getImagePositionin interfaceQuestionNotificationOrBuilder- Returns:
- The imagePosition.
-
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.
-
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.
-
getImageMode
public QuestionImages getImageMode()
.streamlayer.interactive.QuestionImages image_mode = 6 [json_name = "imageMode"];- Specified by:
getImageModein interfaceQuestionNotificationOrBuilder- Returns:
- The imageMode.
-
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.
-
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.
-
getEnabled
public NotificationEnabled getEnabled()
.streamlayer.interactive.NotificationEnabled enabled = 8 [json_name = "enabled"];- Specified by:
getEnabledin interfaceQuestionNotificationOrBuilder- Returns:
- The enabled.
-
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.
-
getUseContentMedia
public NotificationUseContentMedia getUseContentMedia()
.streamlayer.interactive.NotificationUseContentMedia use_content_media = 9 [json_name = "useContentMedia"];- Specified by:
getUseContentMediain interfaceQuestionNotificationOrBuilder- Returns:
- The useContentMedia.
-
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.
-
getUseContentTexts
public NotificationUseContentTexts getUseContentTexts()
.streamlayer.interactive.NotificationUseContentTexts use_content_texts = 10 [json_name = "useContentTexts"];- Specified by:
getUseContentTextsin interfaceQuestionNotificationOrBuilder- Returns:
- The useContentTexts.
-
parseFrom
public static QuestionNotification parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuestionNotification parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuestionNotification parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuestionNotification parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuestionNotification parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuestionNotification parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuestionNotification parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static QuestionNotification parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static QuestionNotification parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static QuestionNotification parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static QuestionNotification parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static QuestionNotification parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static QuestionNotification.Builder newBuilder()
-
newBuilder
public static QuestionNotification.Builder newBuilder(QuestionNotification 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<QuestionNotification,QuestionNotification.Builder>
-
getDefaultInstance
public static QuestionNotification getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<QuestionNotification> parser()
-
-