Class NotificationMessage.Builder

    • 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:
        hasCommon in interface NotificationMessageOrBuilder
        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:
        getCommon in interface NotificationMessageOrBuilder
        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:
        getNotificationKindValue in interface NotificationMessageOrBuilder
        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.
      • 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:
        getNotificationTypeValue in interface NotificationMessageOrBuilder
        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.
      • 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.