Interface QuestionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Question,Question.Builder
public interface QuestionOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsOverrides(java.lang.String key)path, valuejava.lang.StringgetActivatedAt()string activated_at = 12;com.google.protobuf.ByteStringgetActivatedAtBytes()string activated_at = 12;QuestionAnswergetAnswers(int index)repeated .streamlayer.interactive.QuestionAnswer answers = 8;intgetAnswersCount()repeated .streamlayer.interactive.QuestionAnswer answers = 8;java.lang.StringgetAnswerSetAt()string answer_set_at = 13;com.google.protobuf.ByteStringgetAnswerSetAtBytes()string answer_set_at = 13;java.util.List<QuestionAnswer>getAnswersList()repeated .streamlayer.interactive.QuestionAnswer answers = 8;QuestionAppearancegetAppearance().streamlayer.interactive.QuestionAppearance appearance = 5;java.lang.StringgetEventId()string event_id = 15;com.google.protobuf.ByteStringgetEventIdBytes()string event_id = 15;java.lang.StringgetId()string id = 1;com.google.protobuf.ByteStringgetIdBytes()string id = 1;booleangetMarketClosed()bool market_closed = 11;QuestionNotificationgetNotification().streamlayer.interactive.QuestionNotification notification = 7;QuestionOptionsgetOptions().streamlayer.interactive.QuestionOptions options = 4;java.util.Map<java.lang.String,java.lang.Boolean>getOverrides()Deprecated.intgetOverridesCount()path, valuejava.util.Map<java.lang.String,java.lang.Boolean>getOverridesMap()path, valuebooleangetOverridesOrDefault(java.lang.String key, boolean defaultValue)path, valuebooleangetOverridesOrThrow(java.lang.String key)path, valueintgetPosition()uint32 position = 10;SponsorshipgetSponsorship().streamlayer.interactive.Sponsorship sponsorship = 6;QuestionStatusgetStatus().streamlayer.interactive.QuestionStatus status = 9;intgetStatusValue().streamlayer.interactive.QuestionStatus status = 9;com.google.protobuf.TimestampgetStreamTimestamp().google.protobuf.Timestamp stream_timestamp = 16;java.lang.StringgetSubject()string subject = 3;com.google.protobuf.ByteStringgetSubjectBytes()string subject = 3;QuestionTypegetType().streamlayer.interactive.QuestionType type = 2;intgetTypeValue().streamlayer.interactive.QuestionType type = 2;booleanhasAppearance().streamlayer.interactive.QuestionAppearance appearance = 5;booleanhasNotification().streamlayer.interactive.QuestionNotification notification = 7;booleanhasOptions().streamlayer.interactive.QuestionOptions options = 4;booleanhasSponsorship().streamlayer.interactive.Sponsorship sponsorship = 6;booleanhasStreamTimestamp().google.protobuf.Timestamp stream_timestamp = 16;
-
-
-
Method Detail
-
getId
java.lang.String getId()
string id = 1;- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()
string id = 1;- Returns:
- The bytes for id.
-
getTypeValue
int getTypeValue()
.streamlayer.interactive.QuestionType type = 2;- Returns:
- The enum numeric value on the wire for type.
-
getType
QuestionType getType()
.streamlayer.interactive.QuestionType type = 2;- Returns:
- The type.
-
getSubject
java.lang.String getSubject()
string subject = 3;- Returns:
- The subject.
-
getSubjectBytes
com.google.protobuf.ByteString getSubjectBytes()
string subject = 3;- Returns:
- The bytes for subject.
-
hasOptions
boolean hasOptions()
.streamlayer.interactive.QuestionOptions options = 4;- Returns:
- Whether the options field is set.
-
getOptions
QuestionOptions getOptions()
.streamlayer.interactive.QuestionOptions options = 4;- Returns:
- The options.
-
hasAppearance
boolean hasAppearance()
.streamlayer.interactive.QuestionAppearance appearance = 5;- Returns:
- Whether the appearance field is set.
-
getAppearance
QuestionAppearance getAppearance()
.streamlayer.interactive.QuestionAppearance appearance = 5;- Returns:
- The appearance.
-
hasSponsorship
boolean hasSponsorship()
.streamlayer.interactive.Sponsorship sponsorship = 6;- Returns:
- Whether the sponsorship field is set.
-
getSponsorship
Sponsorship getSponsorship()
.streamlayer.interactive.Sponsorship sponsorship = 6;- Returns:
- The sponsorship.
-
hasNotification
boolean hasNotification()
.streamlayer.interactive.QuestionNotification notification = 7;- Returns:
- Whether the notification field is set.
-
getNotification
QuestionNotification getNotification()
.streamlayer.interactive.QuestionNotification notification = 7;- Returns:
- The notification.
-
getAnswersList
java.util.List<QuestionAnswer> getAnswersList()
repeated .streamlayer.interactive.QuestionAnswer answers = 8;
-
getAnswers
QuestionAnswer getAnswers(int index)
repeated .streamlayer.interactive.QuestionAnswer answers = 8;
-
getAnswersCount
int getAnswersCount()
repeated .streamlayer.interactive.QuestionAnswer answers = 8;
-
getStatusValue
int getStatusValue()
.streamlayer.interactive.QuestionStatus status = 9;- Returns:
- The enum numeric value on the wire for status.
-
getStatus
QuestionStatus getStatus()
.streamlayer.interactive.QuestionStatus status = 9;- Returns:
- The status.
-
getPosition
int getPosition()
uint32 position = 10;- Returns:
- The position.
-
getMarketClosed
boolean getMarketClosed()
bool market_closed = 11;- Returns:
- The marketClosed.
-
getActivatedAt
java.lang.String getActivatedAt()
string activated_at = 12;- Returns:
- The activatedAt.
-
getActivatedAtBytes
com.google.protobuf.ByteString getActivatedAtBytes()
string activated_at = 12;- Returns:
- The bytes for activatedAt.
-
getAnswerSetAt
java.lang.String getAnswerSetAt()
string answer_set_at = 13;- Returns:
- The answerSetAt.
-
getAnswerSetAtBytes
com.google.protobuf.ByteString getAnswerSetAtBytes()
string answer_set_at = 13;- Returns:
- The bytes for answerSetAt.
-
getOverridesCount
int getOverridesCount()
path, value
map<string, bool> overrides = 14;
-
containsOverrides
boolean containsOverrides(java.lang.String key)
path, value
map<string, bool> overrides = 14;
-
getOverrides
@Deprecated java.util.Map<java.lang.String,java.lang.Boolean> getOverrides()
Deprecated.UsegetOverridesMap()instead.
-
getOverridesMap
java.util.Map<java.lang.String,java.lang.Boolean> getOverridesMap()
path, value
map<string, bool> overrides = 14;
-
getOverridesOrDefault
boolean getOverridesOrDefault(java.lang.String key, boolean defaultValue)path, value
map<string, bool> overrides = 14;
-
getOverridesOrThrow
boolean getOverridesOrThrow(java.lang.String key)
path, value
map<string, bool> overrides = 14;
-
getEventId
java.lang.String getEventId()
string event_id = 15;- Returns:
- The eventId.
-
getEventIdBytes
com.google.protobuf.ByteString getEventIdBytes()
string event_id = 15;- Returns:
- The bytes for eventId.
-
hasStreamTimestamp
boolean hasStreamTimestamp()
.google.protobuf.Timestamp stream_timestamp = 16;- Returns:
- Whether the streamTimestamp field is set.
-
getStreamTimestamp
com.google.protobuf.Timestamp getStreamTimestamp()
.google.protobuf.Timestamp stream_timestamp = 16;- Returns:
- The streamTimestamp.
-
-