Package com.streamlayer.interactive.feed
Class InsightHistory.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<InsightHistory,InsightHistory.Builder>
-
- com.streamlayer.interactive.feed.InsightHistory.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,InsightHistoryOrBuilder,java.lang.Cloneable
- Enclosing class:
- InsightHistory
public static final class InsightHistory.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<InsightHistory,InsightHistory.Builder> implements InsightHistoryOrBuilder
Protobuf typestreamlayer.interactive.feed.InsightHistory
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InsightHistory.BuilderclearImage()notification.imageInsightHistory.BuilderclearImageMode()combined with moderation defaultsInsightHistory.BuilderclearInstantView()optional .streamlayer.interactive.feed.InstantView instant_view = 5 [json_name = "instantView"];InsightHistory.BuilderclearNotification()optional .streamlayer.interactive.feed.InsightNotification notification = 6 [json_name = "notification"];InsightHistory.BuilderclearQuestionId()string question_id = 1 [json_name = "questionId"];InsightHistory.BuilderclearTitle()notification.titleInsightHistory.BuilderclearUseAsNotification().streamlayer.interactive.UseAsNotification use_as_notification = 7 [json_name = "useAsNotification"];java.lang.StringgetImage()notification.imagecom.google.protobuf.ByteStringgetImageBytes()notification.imageQuestionImagesgetImageMode()combined with moderation defaultsintgetImageModeValue()combined with moderation defaultsInstantViewgetInstantView()optional .streamlayer.interactive.feed.InstantView instant_view = 5 [json_name = "instantView"];InsightNotificationgetNotification()optional .streamlayer.interactive.feed.InsightNotification notification = 6 [json_name = "notification"];java.lang.StringgetQuestionId()string question_id = 1 [json_name = "questionId"];com.google.protobuf.ByteStringgetQuestionIdBytes()string question_id = 1 [json_name = "questionId"];java.lang.StringgetTitle()notification.titlecom.google.protobuf.ByteStringgetTitleBytes()notification.titleUseAsNotificationgetUseAsNotification().streamlayer.interactive.UseAsNotification use_as_notification = 7 [json_name = "useAsNotification"];intgetUseAsNotificationValue().streamlayer.interactive.UseAsNotification use_as_notification = 7 [json_name = "useAsNotification"];booleanhasInstantView()optional .streamlayer.interactive.feed.InstantView instant_view = 5 [json_name = "instantView"];booleanhasNotification()optional .streamlayer.interactive.feed.InsightNotification notification = 6 [json_name = "notification"];InsightHistory.BuildermergeInstantView(InstantView value)optional .streamlayer.interactive.feed.InstantView instant_view = 5 [json_name = "instantView"];InsightHistory.BuildermergeNotification(InsightNotification value)optional .streamlayer.interactive.feed.InsightNotification notification = 6 [json_name = "notification"];InsightHistory.BuildersetImage(java.lang.String value)notification.imageInsightHistory.BuildersetImageBytes(com.google.protobuf.ByteString value)notification.imageInsightHistory.BuildersetImageMode(QuestionImages value)combined with moderation defaultsInsightHistory.BuildersetImageModeValue(int value)combined with moderation defaultsInsightHistory.BuildersetInstantView(InstantView value)optional .streamlayer.interactive.feed.InstantView instant_view = 5 [json_name = "instantView"];InsightHistory.BuildersetInstantView(InstantView.Builder builderForValue)optional .streamlayer.interactive.feed.InstantView instant_view = 5 [json_name = "instantView"];InsightHistory.BuildersetNotification(InsightNotification value)optional .streamlayer.interactive.feed.InsightNotification notification = 6 [json_name = "notification"];InsightHistory.BuildersetNotification(InsightNotification.Builder builderForValue)optional .streamlayer.interactive.feed.InsightNotification notification = 6 [json_name = "notification"];InsightHistory.BuildersetQuestionId(java.lang.String value)string question_id = 1 [json_name = "questionId"];InsightHistory.BuildersetQuestionIdBytes(com.google.protobuf.ByteString value)string question_id = 1 [json_name = "questionId"];InsightHistory.BuildersetTitle(java.lang.String value)notification.titleInsightHistory.BuildersetTitleBytes(com.google.protobuf.ByteString value)notification.titleInsightHistory.BuildersetUseAsNotification(UseAsNotification value).streamlayer.interactive.UseAsNotification use_as_notification = 7 [json_name = "useAsNotification"];InsightHistory.BuildersetUseAsNotificationValue(int value).streamlayer.interactive.UseAsNotification use_as_notification = 7 [json_name = "useAsNotification"];-
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
-
getQuestionId
public java.lang.String getQuestionId()
string question_id = 1 [json_name = "questionId"];- Specified by:
getQuestionIdin interfaceInsightHistoryOrBuilder- Returns:
- The questionId.
-
getQuestionIdBytes
public com.google.protobuf.ByteString getQuestionIdBytes()
string question_id = 1 [json_name = "questionId"];- Specified by:
getQuestionIdBytesin interfaceInsightHistoryOrBuilder- Returns:
- The bytes for questionId.
-
setQuestionId
public InsightHistory.Builder setQuestionId(java.lang.String value)
string question_id = 1 [json_name = "questionId"];- Parameters:
value- The questionId to set.- Returns:
- This builder for chaining.
-
clearQuestionId
public InsightHistory.Builder clearQuestionId()
string question_id = 1 [json_name = "questionId"];- Returns:
- This builder for chaining.
-
setQuestionIdBytes
public InsightHistory.Builder setQuestionIdBytes(com.google.protobuf.ByteString value)
string question_id = 1 [json_name = "questionId"];- Parameters:
value- The bytes for questionId to set.- Returns:
- This builder for chaining.
-
getTitle
public java.lang.String getTitle()
notification.title
string title = 2 [json_name = "title"];- Specified by:
getTitlein interfaceInsightHistoryOrBuilder- Returns:
- The title.
-
getTitleBytes
public com.google.protobuf.ByteString getTitleBytes()
notification.title
string title = 2 [json_name = "title"];- Specified by:
getTitleBytesin interfaceInsightHistoryOrBuilder- Returns:
- The bytes for title.
-
setTitle
public InsightHistory.Builder setTitle(java.lang.String value)
notification.title
string title = 2 [json_name = "title"];- Parameters:
value- The title to set.- Returns:
- This builder for chaining.
-
clearTitle
public InsightHistory.Builder clearTitle()
notification.title
string title = 2 [json_name = "title"];- Returns:
- This builder for chaining.
-
setTitleBytes
public InsightHistory.Builder setTitleBytes(com.google.protobuf.ByteString value)
notification.title
string title = 2 [json_name = "title"];- Parameters:
value- The bytes for title to set.- Returns:
- This builder for chaining.
-
getImage
public java.lang.String getImage()
notification.image
string image = 3 [json_name = "image"];- Specified by:
getImagein interfaceInsightHistoryOrBuilder- Returns:
- The image.
-
getImageBytes
public com.google.protobuf.ByteString getImageBytes()
notification.image
string image = 3 [json_name = "image"];- Specified by:
getImageBytesin interfaceInsightHistoryOrBuilder- Returns:
- The bytes for image.
-
setImage
public InsightHistory.Builder setImage(java.lang.String value)
notification.image
string image = 3 [json_name = "image"];- Parameters:
value- The image to set.- Returns:
- This builder for chaining.
-
clearImage
public InsightHistory.Builder clearImage()
notification.image
string image = 3 [json_name = "image"];- Returns:
- This builder for chaining.
-
setImageBytes
public InsightHistory.Builder setImageBytes(com.google.protobuf.ByteString value)
notification.image
string image = 3 [json_name = "image"];- Parameters:
value- The bytes for image to set.- Returns:
- This builder for chaining.
-
getImageModeValue
public int getImageModeValue()
combined with moderation defaults
.streamlayer.interactive.QuestionImages image_mode = 4 [json_name = "imageMode"];- Specified by:
getImageModeValuein interfaceInsightHistoryOrBuilder- Returns:
- The enum numeric value on the wire for imageMode.
-
setImageModeValue
public InsightHistory.Builder setImageModeValue(int value)
combined with moderation defaults
.streamlayer.interactive.QuestionImages image_mode = 4 [json_name = "imageMode"];- Parameters:
value- The imageMode to set.- Returns:
- This builder for chaining.
-
getImageMode
public QuestionImages getImageMode()
combined with moderation defaults
.streamlayer.interactive.QuestionImages image_mode = 4 [json_name = "imageMode"];- Specified by:
getImageModein interfaceInsightHistoryOrBuilder- Returns:
- The imageMode.
-
setImageMode
public InsightHistory.Builder setImageMode(QuestionImages value)
combined with moderation defaults
.streamlayer.interactive.QuestionImages image_mode = 4 [json_name = "imageMode"];- Parameters:
value- The enum numeric value on the wire for imageMode to set.- Returns:
- This builder for chaining.
-
clearImageMode
public InsightHistory.Builder clearImageMode()
combined with moderation defaults
.streamlayer.interactive.QuestionImages image_mode = 4 [json_name = "imageMode"];- Returns:
- This builder for chaining.
-
hasInstantView
public boolean hasInstantView()
optional .streamlayer.interactive.feed.InstantView instant_view = 5 [json_name = "instantView"];- Specified by:
hasInstantViewin interfaceInsightHistoryOrBuilder- Returns:
- Whether the instantView field is set.
-
getInstantView
public InstantView getInstantView()
optional .streamlayer.interactive.feed.InstantView instant_view = 5 [json_name = "instantView"];- Specified by:
getInstantViewin interfaceInsightHistoryOrBuilder- Returns:
- The instantView.
-
setInstantView
public InsightHistory.Builder setInstantView(InstantView value)
optional .streamlayer.interactive.feed.InstantView instant_view = 5 [json_name = "instantView"];
-
setInstantView
public InsightHistory.Builder setInstantView(InstantView.Builder builderForValue)
optional .streamlayer.interactive.feed.InstantView instant_view = 5 [json_name = "instantView"];
-
mergeInstantView
public InsightHistory.Builder mergeInstantView(InstantView value)
optional .streamlayer.interactive.feed.InstantView instant_view = 5 [json_name = "instantView"];
-
clearInstantView
public InsightHistory.Builder clearInstantView()
optional .streamlayer.interactive.feed.InstantView instant_view = 5 [json_name = "instantView"];
-
hasNotification
public boolean hasNotification()
optional .streamlayer.interactive.feed.InsightNotification notification = 6 [json_name = "notification"];- Specified by:
hasNotificationin interfaceInsightHistoryOrBuilder- Returns:
- Whether the notification field is set.
-
getNotification
public InsightNotification getNotification()
optional .streamlayer.interactive.feed.InsightNotification notification = 6 [json_name = "notification"];- Specified by:
getNotificationin interfaceInsightHistoryOrBuilder- Returns:
- The notification.
-
setNotification
public InsightHistory.Builder setNotification(InsightNotification value)
optional .streamlayer.interactive.feed.InsightNotification notification = 6 [json_name = "notification"];
-
setNotification
public InsightHistory.Builder setNotification(InsightNotification.Builder builderForValue)
optional .streamlayer.interactive.feed.InsightNotification notification = 6 [json_name = "notification"];
-
mergeNotification
public InsightHistory.Builder mergeNotification(InsightNotification value)
optional .streamlayer.interactive.feed.InsightNotification notification = 6 [json_name = "notification"];
-
clearNotification
public InsightHistory.Builder clearNotification()
optional .streamlayer.interactive.feed.InsightNotification notification = 6 [json_name = "notification"];
-
getUseAsNotificationValue
public int getUseAsNotificationValue()
.streamlayer.interactive.UseAsNotification use_as_notification = 7 [json_name = "useAsNotification"];- Specified by:
getUseAsNotificationValuein interfaceInsightHistoryOrBuilder- Returns:
- The enum numeric value on the wire for useAsNotification.
-
setUseAsNotificationValue
public InsightHistory.Builder setUseAsNotificationValue(int value)
.streamlayer.interactive.UseAsNotification use_as_notification = 7 [json_name = "useAsNotification"];- Parameters:
value- The useAsNotification to set.- Returns:
- This builder for chaining.
-
getUseAsNotification
public UseAsNotification getUseAsNotification()
.streamlayer.interactive.UseAsNotification use_as_notification = 7 [json_name = "useAsNotification"];- Specified by:
getUseAsNotificationin interfaceInsightHistoryOrBuilder- Returns:
- The useAsNotification.
-
setUseAsNotification
public InsightHistory.Builder setUseAsNotification(UseAsNotification value)
.streamlayer.interactive.UseAsNotification use_as_notification = 7 [json_name = "useAsNotification"];- Parameters:
value- The enum numeric value on the wire for useAsNotification to set.- Returns:
- This builder for chaining.
-
clearUseAsNotification
public InsightHistory.Builder clearUseAsNotification()
.streamlayer.interactive.UseAsNotification use_as_notification = 7 [json_name = "useAsNotification"];- Returns:
- This builder for chaining.
-
-