Class NotificationMessage
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<NotificationMessage,NotificationMessage.Builder>
-
- com.streamlayer.analytics.streaming.v1.NotificationMessage
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,NotificationMessageOrBuilder
public final class NotificationMessage extends com.google.protobuf.GeneratedMessageLite<NotificationMessage,NotificationMessage.Builder> implements NotificationMessageOrBuilder
Protobuf typestreamlayer.analytics.v2.streaming.NotificationMessage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNotificationMessage.BuilderProtobuf typestreamlayer.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
-
-
Field Summary
Fields Modifier and Type Field Description static intCOMMON_FIELD_NUMBERstatic intNOTIFICATION_KIND_FIELD_NUMBERstatic intNOTIFICATION_TYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)CommonDatagetCommon()common analytics data amongst calls kind: KIND_NOTIFICATION_RECEIVED, KIND_NOTIFICATION_OPENEDstatic NotificationMessagegetDefaultInstance()NotificationKindgetNotificationKind()notification kindintgetNotificationKindValue()notification kindNotificationTypegetNotificationType()notification typeintgetNotificationTypeValue()notification typebooleanhasCommon()common analytics data amongst calls kind: KIND_NOTIFICATION_RECEIVED, KIND_NOTIFICATION_OPENEDstatic NotificationMessage.BuildernewBuilder()static NotificationMessage.BuildernewBuilder(NotificationMessage prototype)static NotificationMessageparseDelimitedFrom(java.io.InputStream input)static NotificationMessageparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NotificationMessageparseFrom(byte[] data)static NotificationMessageparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NotificationMessageparseFrom(com.google.protobuf.ByteString data)static NotificationMessageparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NotificationMessageparseFrom(com.google.protobuf.CodedInputStream input)static NotificationMessageparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NotificationMessageparseFrom(java.io.InputStream input)static NotificationMessageparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NotificationMessageparseFrom(java.nio.ByteBuffer data)static NotificationMessageparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<NotificationMessage>parser()-
Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
-
-
-
Field Detail
-
COMMON_FIELD_NUMBER
public static final int COMMON_FIELD_NUMBER
- See Also:
- Constant Field Values
-
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:
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.
-
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.
-
getNotificationKind
public NotificationKind getNotificationKind()
notification kind
.streamlayer.analytics.v1.notifications.NotificationKind notification_kind = 2 [json_name = "notificationKind"];- Specified by:
getNotificationKindin interfaceNotificationMessageOrBuilder- Returns:
- The notificationKind.
-
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.
-
getNotificationType
public NotificationType getNotificationType()
notification type
.streamlayer.analytics.v1.notifications.NotificationType notification_type = 3 [json_name = "notificationType"];- Specified by:
getNotificationTypein interfaceNotificationMessageOrBuilder- Returns:
- The 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
-
newBuilder
public static NotificationMessage.Builder newBuilder()
-
newBuilder
public static NotificationMessage.Builder newBuilder(NotificationMessage prototype)
-
dynamicMethod
protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)- Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<NotificationMessage,NotificationMessage.Builder>
-
getDefaultInstance
public static NotificationMessage getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<NotificationMessage> parser()
-
-