Class QuestionTimeline
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<QuestionTimeline,QuestionTimeline.Builder>
-
- com.streamlayer.interactive.common.QuestionTimeline
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,QuestionTimelineOrBuilder
public final class QuestionTimeline extends com.google.protobuf.GeneratedMessageLite<QuestionTimeline,QuestionTimeline.Builder> implements QuestionTimelineOrBuilder
Protobuf typestreamlayer.interactive.QuestionTimeline
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classQuestionTimeline.BuilderProtobuf typestreamlayer.interactive.QuestionTimeline-
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 intACTIVATED_AT_FIELD_NUMBERstatic intAD_UNIT_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intNOTIFICATION_FIELD_NUMBERstatic intOPTIONS_FIELD_NUMBERstatic intPROMOTION_FIELD_NUMBERstatic intSTATUS_FIELD_NUMBERstatic intSUBJECT_FIELD_NUMBERstatic intTYPE_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.StringgetActivatedAt()string activated_at = 4 [json_name = "activatedAt"];com.google.protobuf.ByteStringgetActivatedAtBytes()string activated_at = 4 [json_name = "activatedAt"];AdUnitgetAdUnit().streamlayer.interactive.AdUnit ad_unit = 9 [json_name = "adUnit"];intgetAdUnitValue().streamlayer.interactive.AdUnit ad_unit = 9 [json_name = "adUnit"];static QuestionTimelinegetDefaultInstance()java.lang.StringgetId()string id = 1 [json_name = "id"];com.google.protobuf.ByteStringgetIdBytes()string id = 1 [json_name = "id"];QuestionNotificationgetNotification().streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];QuestionOptionsgetOptions().streamlayer.interactive.QuestionOptions options = 6 [json_name = "options"];PromotiongetPromotion()optional .streamlayer.interactive.Promotion promotion = 8 [json_name = "promotion"];QuestionStatusgetStatus().streamlayer.interactive.QuestionStatus status = 5 [json_name = "status"];intgetStatusValue().streamlayer.interactive.QuestionStatus status = 5 [json_name = "status"];java.lang.StringgetSubject()string subject = 3 [json_name = "subject"];com.google.protobuf.ByteStringgetSubjectBytes()string subject = 3 [json_name = "subject"];QuestionTypegetType().streamlayer.interactive.QuestionType type = 2 [json_name = "type"];intgetTypeValue().streamlayer.interactive.QuestionType type = 2 [json_name = "type"];booleanhasNotification().streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];booleanhasOptions().streamlayer.interactive.QuestionOptions options = 6 [json_name = "options"];booleanhasPromotion()optional .streamlayer.interactive.Promotion promotion = 8 [json_name = "promotion"];static QuestionTimeline.BuildernewBuilder()static QuestionTimeline.BuildernewBuilder(QuestionTimeline prototype)static QuestionTimelineparseDelimitedFrom(java.io.InputStream input)static QuestionTimelineparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QuestionTimelineparseFrom(byte[] data)static QuestionTimelineparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QuestionTimelineparseFrom(com.google.protobuf.ByteString data)static QuestionTimelineparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QuestionTimelineparseFrom(com.google.protobuf.CodedInputStream input)static QuestionTimelineparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QuestionTimelineparseFrom(java.io.InputStream input)static QuestionTimelineparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QuestionTimelineparseFrom(java.nio.ByteBuffer data)static QuestionTimelineparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<QuestionTimeline>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
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUBJECT_FIELD_NUMBER
public static final int SUBJECT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACTIVATED_AT_FIELD_NUMBER
public static final int ACTIVATED_AT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OPTIONS_FIELD_NUMBER
public static final int OPTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NOTIFICATION_FIELD_NUMBER
public static final int NOTIFICATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROMOTION_FIELD_NUMBER
public static final int PROMOTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AD_UNIT_FIELD_NUMBER
public static final int AD_UNIT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public java.lang.String getId()
string id = 1 [json_name = "id"];- Specified by:
getIdin interfaceQuestionTimelineOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
string id = 1 [json_name = "id"];- Specified by:
getIdBytesin interfaceQuestionTimelineOrBuilder- Returns:
- The bytes for id.
-
getTypeValue
public int getTypeValue()
.streamlayer.interactive.QuestionType type = 2 [json_name = "type"];- Specified by:
getTypeValuein interfaceQuestionTimelineOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
getType
public QuestionType getType()
.streamlayer.interactive.QuestionType type = 2 [json_name = "type"];- Specified by:
getTypein interfaceQuestionTimelineOrBuilder- Returns:
- The type.
-
getSubject
public java.lang.String getSubject()
string subject = 3 [json_name = "subject"];- Specified by:
getSubjectin interfaceQuestionTimelineOrBuilder- Returns:
- The subject.
-
getSubjectBytes
public com.google.protobuf.ByteString getSubjectBytes()
string subject = 3 [json_name = "subject"];- Specified by:
getSubjectBytesin interfaceQuestionTimelineOrBuilder- Returns:
- The bytes for subject.
-
getActivatedAt
public java.lang.String getActivatedAt()
string activated_at = 4 [json_name = "activatedAt"];- Specified by:
getActivatedAtin interfaceQuestionTimelineOrBuilder- Returns:
- The activatedAt.
-
getActivatedAtBytes
public com.google.protobuf.ByteString getActivatedAtBytes()
string activated_at = 4 [json_name = "activatedAt"];- Specified by:
getActivatedAtBytesin interfaceQuestionTimelineOrBuilder- Returns:
- The bytes for activatedAt.
-
getStatusValue
public int getStatusValue()
.streamlayer.interactive.QuestionStatus status = 5 [json_name = "status"];- Specified by:
getStatusValuein interfaceQuestionTimelineOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
getStatus
public QuestionStatus getStatus()
.streamlayer.interactive.QuestionStatus status = 5 [json_name = "status"];- Specified by:
getStatusin interfaceQuestionTimelineOrBuilder- Returns:
- The status.
-
hasOptions
public boolean hasOptions()
.streamlayer.interactive.QuestionOptions options = 6 [json_name = "options"];- Specified by:
hasOptionsin interfaceQuestionTimelineOrBuilder- Returns:
- Whether the options field is set.
-
getOptions
public QuestionOptions getOptions()
.streamlayer.interactive.QuestionOptions options = 6 [json_name = "options"];- Specified by:
getOptionsin interfaceQuestionTimelineOrBuilder- Returns:
- The options.
-
hasNotification
public boolean hasNotification()
.streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];- Specified by:
hasNotificationin interfaceQuestionTimelineOrBuilder- Returns:
- Whether the notification field is set.
-
getNotification
public QuestionNotification getNotification()
.streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];- Specified by:
getNotificationin interfaceQuestionTimelineOrBuilder- Returns:
- The notification.
-
hasPromotion
public boolean hasPromotion()
optional .streamlayer.interactive.Promotion promotion = 8 [json_name = "promotion"];- Specified by:
hasPromotionin interfaceQuestionTimelineOrBuilder- Returns:
- Whether the promotion field is set.
-
getPromotion
public Promotion getPromotion()
optional .streamlayer.interactive.Promotion promotion = 8 [json_name = "promotion"];- Specified by:
getPromotionin interfaceQuestionTimelineOrBuilder- Returns:
- The promotion.
-
getAdUnitValue
public int getAdUnitValue()
.streamlayer.interactive.AdUnit ad_unit = 9 [json_name = "adUnit"];- Specified by:
getAdUnitValuein interfaceQuestionTimelineOrBuilder- Returns:
- The enum numeric value on the wire for adUnit.
-
getAdUnit
public AdUnit getAdUnit()
.streamlayer.interactive.AdUnit ad_unit = 9 [json_name = "adUnit"];- Specified by:
getAdUnitin interfaceQuestionTimelineOrBuilder- Returns:
- The adUnit.
-
parseFrom
public static QuestionTimeline parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuestionTimeline parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuestionTimeline parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuestionTimeline parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuestionTimeline parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuestionTimeline parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuestionTimeline parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static QuestionTimeline parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static QuestionTimeline parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static QuestionTimeline parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static QuestionTimeline parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static QuestionTimeline parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static QuestionTimeline.Builder newBuilder()
-
newBuilder
public static QuestionTimeline.Builder newBuilder(QuestionTimeline 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<QuestionTimeline,QuestionTimeline.Builder>
-
getDefaultInstance
public static QuestionTimeline getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<QuestionTimeline> parser()
-
-