main.java.com.streamlayer.analytics.notifications.v1.NotificationKind Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sl-protofiles Show documentation
Show all versions of sl-protofiles Show documentation
StreamLayer Java Protofiles
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: streamlayer/analytics/v1/notifications/notifications.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.analytics.notifications.v1;
/**
*
* notification kind
*
*
* Protobuf enum {@code streamlayer.analytics.v1.notifications.NotificationKind}
*/
public enum NotificationKind
implements com.google.protobuf.Internal.EnumLite {
/**
* NOTIFICATION_KIND_UNSET = 0;
*/
NOTIFICATION_KIND_UNSET(0),
/**
* NOTIFICATION_KIND_MESSAGE = 1;
*/
NOTIFICATION_KIND_MESSAGE(1),
/**
* NOTIFICATION_KIND_CALL = 2;
*/
NOTIFICATION_KIND_CALL(2),
/**
* NOTIFICATION_KIND_TWITTER = 3;
*/
NOTIFICATION_KIND_TWITTER(3),
/**
* NOTIFICATION_KIND_WAVE = 4;
*/
NOTIFICATION_KIND_WAVE(4),
/**
* NOTIFICATION_KIND_INPLAY = 5;
*/
NOTIFICATION_KIND_INPLAY(5),
/**
* NOTIFICATION_KIND_GROUP_CALL = 6;
*/
NOTIFICATION_KIND_GROUP_CALL(6),
/**
* NOTIFICATION_KIND_MISSED_CALL = 7;
*/
NOTIFICATION_KIND_MISSED_CALL(7),
/**
* NOTIFICATION_KIND_MISSED_GROUP_CALL = 8;
*/
NOTIFICATION_KIND_MISSED_GROUP_CALL(8),
/**
* NOTIFICATION_KIND_WATCH_PARTY = 9;
*/
NOTIFICATION_KIND_WATCH_PARTY(9),
/**
* NOTIFICATION_KIND_POLLS = 10;
*/
NOTIFICATION_KIND_POLLS(10),
UNRECOGNIZED(-1),
;
/**
* NOTIFICATION_KIND_UNSET = 0;
*/
public static final int NOTIFICATION_KIND_UNSET_VALUE = 0;
/**
* NOTIFICATION_KIND_MESSAGE = 1;
*/
public static final int NOTIFICATION_KIND_MESSAGE_VALUE = 1;
/**
* NOTIFICATION_KIND_CALL = 2;
*/
public static final int NOTIFICATION_KIND_CALL_VALUE = 2;
/**
* NOTIFICATION_KIND_TWITTER = 3;
*/
public static final int NOTIFICATION_KIND_TWITTER_VALUE = 3;
/**
* NOTIFICATION_KIND_WAVE = 4;
*/
public static final int NOTIFICATION_KIND_WAVE_VALUE = 4;
/**
* NOTIFICATION_KIND_INPLAY = 5;
*/
public static final int NOTIFICATION_KIND_INPLAY_VALUE = 5;
/**
* NOTIFICATION_KIND_GROUP_CALL = 6;
*/
public static final int NOTIFICATION_KIND_GROUP_CALL_VALUE = 6;
/**
* NOTIFICATION_KIND_MISSED_CALL = 7;
*/
public static final int NOTIFICATION_KIND_MISSED_CALL_VALUE = 7;
/**
* NOTIFICATION_KIND_MISSED_GROUP_CALL = 8;
*/
public static final int NOTIFICATION_KIND_MISSED_GROUP_CALL_VALUE = 8;
/**
* NOTIFICATION_KIND_WATCH_PARTY = 9;
*/
public static final int NOTIFICATION_KIND_WATCH_PARTY_VALUE = 9;
/**
* NOTIFICATION_KIND_POLLS = 10;
*/
public static final int NOTIFICATION_KIND_POLLS_VALUE = 10;
@java.lang.Override
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static NotificationKind valueOf(int value) {
return forNumber(value);
}
public static NotificationKind forNumber(int value) {
switch (value) {
case 0: return NOTIFICATION_KIND_UNSET;
case 1: return NOTIFICATION_KIND_MESSAGE;
case 2: return NOTIFICATION_KIND_CALL;
case 3: return NOTIFICATION_KIND_TWITTER;
case 4: return NOTIFICATION_KIND_WAVE;
case 5: return NOTIFICATION_KIND_INPLAY;
case 6: return NOTIFICATION_KIND_GROUP_CALL;
case 7: return NOTIFICATION_KIND_MISSED_CALL;
case 8: return NOTIFICATION_KIND_MISSED_GROUP_CALL;
case 9: return NOTIFICATION_KIND_WATCH_PARTY;
case 10: return NOTIFICATION_KIND_POLLS;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
NotificationKind> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
@java.lang.Override
public NotificationKind findValueByNumber(int number) {
return NotificationKind.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return NotificationKindVerifier.INSTANCE;
}
private static final class NotificationKindVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new NotificationKindVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return NotificationKind.forNumber(number) != null;
}
};
private final int value;
private NotificationKind(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:streamlayer.analytics.v1.notifications.NotificationKind)
}