Class NotificationMessage

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  NotificationMessage.Builder
      Protobuf type streamlayer.analytics.v2.streaming.NotificationMessage
      • Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite

        com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,​?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,​BuilderType>,​BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,​BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,​BuilderType>,​BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,​BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,​BuilderType>,​BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,​BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,​Type extends java.lang.Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Field Detail

      • NOTIFICATION_KIND_FIELD_NUMBER

        public static final int NOTIFICATION_KIND_FIELD_NUMBER
        See Also:
        Constant Field Values
      • NOTIFICATION_TYPE_FIELD_NUMBER

        public static final int NOTIFICATION_TYPE_FIELD_NUMBER
        See Also:
        Constant Field Values
    • 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.
      • 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.
      • 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.
      • parseFrom

        public static NotificationMessage parseFrom​(java.nio.ByteBuffer data)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static NotificationMessage parseFrom​(java.nio.ByteBuffer data,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static NotificationMessage parseFrom​(com.google.protobuf.ByteString data)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static NotificationMessage parseFrom​(com.google.protobuf.ByteString data,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static NotificationMessage parseFrom​(byte[] data)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static NotificationMessage parseFrom​(byte[] data,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static NotificationMessage parseFrom​(java.io.InputStream input)
                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static NotificationMessage parseFrom​(java.io.InputStream input,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static NotificationMessage parseDelimitedFrom​(java.io.InputStream input)
                                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static NotificationMessage parseDelimitedFrom​(java.io.InputStream input,
                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static NotificationMessage parseFrom​(com.google.protobuf.CodedInputStream input)
                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static NotificationMessage parseFrom​(com.google.protobuf.CodedInputStream input,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • dynamicMethod

        protected final java.lang.Object dynamicMethod​(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
                                                       java.lang.Object arg0,
                                                       java.lang.Object arg1)
        Specified by:
        dynamicMethod in class com.google.protobuf.GeneratedMessageLite<NotificationMessage,​NotificationMessage.Builder>