Package com.streamlayer.interactive.feed
Class InsightNotification.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<InsightNotification,InsightNotification.Builder>
-
- com.streamlayer.interactive.feed.InsightNotification.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,InsightNotificationOrBuilder,java.lang.Cloneable
- Enclosing class:
- InsightNotification
public static final class InsightNotification.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<InsightNotification,InsightNotification.Builder> implements InsightNotificationOrBuilder
Protobuf typestreamlayer.interactive.feed.InsightNotification
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InsightNotification.BuilderclearBody()optional string body = 2 [json_name = "body"];InsightNotification.BuilderclearImagePosition()optional int32 image_position = 3 [json_name = "imagePosition"];InsightNotification.BuilderclearTitle()optional string title = 1 [json_name = "title"];java.lang.StringgetBody()optional string body = 2 [json_name = "body"];com.google.protobuf.ByteStringgetBodyBytes()optional string body = 2 [json_name = "body"];intgetImagePosition()optional int32 image_position = 3 [json_name = "imagePosition"];java.lang.StringgetTitle()optional string title = 1 [json_name = "title"];com.google.protobuf.ByteStringgetTitleBytes()optional string title = 1 [json_name = "title"];booleanhasBody()optional string body = 2 [json_name = "body"];booleanhasImagePosition()optional int32 image_position = 3 [json_name = "imagePosition"];booleanhasTitle()optional string title = 1 [json_name = "title"];InsightNotification.BuildersetBody(java.lang.String value)optional string body = 2 [json_name = "body"];InsightNotification.BuildersetBodyBytes(com.google.protobuf.ByteString value)optional string body = 2 [json_name = "body"];InsightNotification.BuildersetImagePosition(int value)optional int32 image_position = 3 [json_name = "imagePosition"];InsightNotification.BuildersetTitle(java.lang.String value)optional string title = 1 [json_name = "title"];InsightNotification.BuildersetTitleBytes(com.google.protobuf.ByteString value)optional string title = 1 [json_name = "title"];-
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
-
hasTitle
public boolean hasTitle()
optional string title = 1 [json_name = "title"];- Specified by:
hasTitlein interfaceInsightNotificationOrBuilder- Returns:
- Whether the title field is set.
-
getTitle
public java.lang.String getTitle()
optional string title = 1 [json_name = "title"];- Specified by:
getTitlein interfaceInsightNotificationOrBuilder- Returns:
- The title.
-
getTitleBytes
public com.google.protobuf.ByteString getTitleBytes()
optional string title = 1 [json_name = "title"];- Specified by:
getTitleBytesin interfaceInsightNotificationOrBuilder- Returns:
- The bytes for title.
-
setTitle
public InsightNotification.Builder setTitle(java.lang.String value)
optional string title = 1 [json_name = "title"];- Parameters:
value- The title to set.- Returns:
- This builder for chaining.
-
clearTitle
public InsightNotification.Builder clearTitle()
optional string title = 1 [json_name = "title"];- Returns:
- This builder for chaining.
-
setTitleBytes
public InsightNotification.Builder setTitleBytes(com.google.protobuf.ByteString value)
optional string title = 1 [json_name = "title"];- Parameters:
value- The bytes for title to set.- Returns:
- This builder for chaining.
-
hasBody
public boolean hasBody()
optional string body = 2 [json_name = "body"];- Specified by:
hasBodyin interfaceInsightNotificationOrBuilder- Returns:
- Whether the body field is set.
-
getBody
public java.lang.String getBody()
optional string body = 2 [json_name = "body"];- Specified by:
getBodyin interfaceInsightNotificationOrBuilder- Returns:
- The body.
-
getBodyBytes
public com.google.protobuf.ByteString getBodyBytes()
optional string body = 2 [json_name = "body"];- Specified by:
getBodyBytesin interfaceInsightNotificationOrBuilder- Returns:
- The bytes for body.
-
setBody
public InsightNotification.Builder setBody(java.lang.String value)
optional string body = 2 [json_name = "body"];- Parameters:
value- The body to set.- Returns:
- This builder for chaining.
-
clearBody
public InsightNotification.Builder clearBody()
optional string body = 2 [json_name = "body"];- Returns:
- This builder for chaining.
-
setBodyBytes
public InsightNotification.Builder setBodyBytes(com.google.protobuf.ByteString value)
optional string body = 2 [json_name = "body"];- Parameters:
value- The bytes for body to set.- Returns:
- This builder for chaining.
-
hasImagePosition
public boolean hasImagePosition()
optional int32 image_position = 3 [json_name = "imagePosition"];- Specified by:
hasImagePositionin interfaceInsightNotificationOrBuilder- Returns:
- Whether the imagePosition field is set.
-
getImagePosition
public int getImagePosition()
optional int32 image_position = 3 [json_name = "imagePosition"];- Specified by:
getImagePositionin interfaceInsightNotificationOrBuilder- Returns:
- The imagePosition.
-
setImagePosition
public InsightNotification.Builder setImagePosition(int value)
optional int32 image_position = 3 [json_name = "imagePosition"];- Parameters:
value- The imagePosition to set.- Returns:
- This builder for chaining.
-
clearImagePosition
public InsightNotification.Builder clearImagePosition()
optional int32 image_position = 3 [json_name = "imagePosition"];- Returns:
- This builder for chaining.
-
-