Class NotificationMessage.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<NotificationMessage,NotificationMessage.Builder>
-
- com.streamlayer.analytics.streaming.v1.NotificationMessage.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,NotificationMessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- NotificationMessage
public static final class NotificationMessage.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<NotificationMessage,NotificationMessage.Builder> implements NotificationMessageOrBuilder
Protobuf typestreamlayer.analytics.v2.streaming.NotificationMessage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NotificationMessage.BuilderclearCommon()common analytics data amongst calls kind: KIND_NOTIFICATION_RECEIVED, KIND_NOTIFICATION_OPENEDNotificationMessage.BuilderclearNotificationKind()notification kindNotificationMessage.BuilderclearNotificationType()notification typeCommonDatagetCommon()common analytics data amongst calls kind: KIND_NOTIFICATION_RECEIVED, KIND_NOTIFICATION_OPENEDNotificationKindgetNotificationKind()notification kindintgetNotificationKindValue()notification kindNotificationTypegetNotificationType()notification typeintgetNotificationTypeValue()notification typebooleanhasCommon()common analytics data amongst calls kind: KIND_NOTIFICATION_RECEIVED, KIND_NOTIFICATION_OPENEDNotificationMessage.BuildermergeCommon(CommonData value)common analytics data amongst calls kind: KIND_NOTIFICATION_RECEIVED, KIND_NOTIFICATION_OPENEDNotificationMessage.BuildersetCommon(CommonData value)common analytics data amongst calls kind: KIND_NOTIFICATION_RECEIVED, KIND_NOTIFICATION_OPENEDNotificationMessage.BuildersetCommon(CommonData.Builder builderForValue)common analytics data amongst calls kind: KIND_NOTIFICATION_RECEIVED, KIND_NOTIFICATION_OPENEDNotificationMessage.BuildersetNotificationKind(NotificationKind value)notification kindNotificationMessage.BuildersetNotificationKindValue(int value)notification kindNotificationMessage.BuildersetNotificationType(NotificationType value)notification typeNotificationMessage.BuildersetNotificationTypeValue(int value)notification type-
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
-
hasCommon
public boolean hasCommon()
common analytics data amongst calls kind: KIND_NOTIFICATION_RECEIVED, KIND_NOTIFICATION_OPENED
.streamlayer.analytics.v2.streaming.CommonData common = 1 [json_name = "common"];- Specified by:
hasCommonin interfaceNotificationMessageOrBuilder- Returns:
- Whether the common field is set.
-
getCommon
public CommonData getCommon()
common analytics data amongst calls kind: KIND_NOTIFICATION_RECEIVED, KIND_NOTIFICATION_OPENED
.streamlayer.analytics.v2.streaming.CommonData common = 1 [json_name = "common"];- Specified by:
getCommonin interfaceNotificationMessageOrBuilder- Returns:
- The common.
-
setCommon
public NotificationMessage.Builder setCommon(CommonData value)
common analytics data amongst calls kind: KIND_NOTIFICATION_RECEIVED, KIND_NOTIFICATION_OPENED
.streamlayer.analytics.v2.streaming.CommonData common = 1 [json_name = "common"];
-
setCommon
public NotificationMessage.Builder setCommon(CommonData.Builder builderForValue)
common analytics data amongst calls kind: KIND_NOTIFICATION_RECEIVED, KIND_NOTIFICATION_OPENED
.streamlayer.analytics.v2.streaming.CommonData common = 1 [json_name = "common"];
-
mergeCommon
public NotificationMessage.Builder mergeCommon(CommonData value)
common analytics data amongst calls kind: KIND_NOTIFICATION_RECEIVED, KIND_NOTIFICATION_OPENED
.streamlayer.analytics.v2.streaming.CommonData common = 1 [json_name = "common"];
-
clearCommon
public NotificationMessage.Builder clearCommon()
common analytics data amongst calls kind: KIND_NOTIFICATION_RECEIVED, KIND_NOTIFICATION_OPENED
.streamlayer.analytics.v2.streaming.CommonData common = 1 [json_name = "common"];
-
getNotificationKindValue
public int getNotificationKindValue()
notification kind
.streamlayer.analytics.v1.notifications.NotificationKind notification_kind = 2 [json_name = "notificationKind"];- Specified by:
getNotificationKindValuein interfaceNotificationMessageOrBuilder- Returns:
- The enum numeric value on the wire for notificationKind.
-
setNotificationKindValue
public NotificationMessage.Builder setNotificationKindValue(int value)
notification kind
.streamlayer.analytics.v1.notifications.NotificationKind notification_kind = 2 [json_name = "notificationKind"];- Parameters:
value- The notificationKind to set.- Returns:
- This builder for chaining.
-
getNotificationKind
public NotificationKind getNotificationKind()
notification kind
.streamlayer.analytics.v1.notifications.NotificationKind notification_kind = 2 [json_name = "notificationKind"];- Specified by:
getNotificationKindin interfaceNotificationMessageOrBuilder- Returns:
- The notificationKind.
-
setNotificationKind
public NotificationMessage.Builder setNotificationKind(NotificationKind value)
notification kind
.streamlayer.analytics.v1.notifications.NotificationKind notification_kind = 2 [json_name = "notificationKind"];- Parameters:
value- The enum numeric value on the wire for notificationKind to set.- Returns:
- This builder for chaining.
-
clearNotificationKind
public NotificationMessage.Builder clearNotificationKind()
notification kind
.streamlayer.analytics.v1.notifications.NotificationKind notification_kind = 2 [json_name = "notificationKind"];- Returns:
- This builder for chaining.
-
getNotificationTypeValue
public int getNotificationTypeValue()
notification type
.streamlayer.analytics.v1.notifications.NotificationType notification_type = 3 [json_name = "notificationType"];- Specified by:
getNotificationTypeValuein interfaceNotificationMessageOrBuilder- Returns:
- The enum numeric value on the wire for notificationType.
-
setNotificationTypeValue
public NotificationMessage.Builder setNotificationTypeValue(int value)
notification type
.streamlayer.analytics.v1.notifications.NotificationType notification_type = 3 [json_name = "notificationType"];- Parameters:
value- The notificationType to set.- Returns:
- This builder for chaining.
-
getNotificationType
public NotificationType getNotificationType()
notification type
.streamlayer.analytics.v1.notifications.NotificationType notification_type = 3 [json_name = "notificationType"];- Specified by:
getNotificationTypein interfaceNotificationMessageOrBuilder- Returns:
- The notificationType.
-
setNotificationType
public NotificationMessage.Builder setNotificationType(NotificationType value)
notification type
.streamlayer.analytics.v1.notifications.NotificationType notification_type = 3 [json_name = "notificationType"];- Parameters:
value- The enum numeric value on the wire for notificationType to set.- Returns:
- This builder for chaining.
-
clearNotificationType
public NotificationMessage.Builder clearNotificationType()
notification type
.streamlayer.analytics.v1.notifications.NotificationType notification_type = 3 [json_name = "notificationType"];- Returns:
- This builder for chaining.
-
-