public enum NotificationType extends Enum<NotificationType> implements com.google.protobuf.ProtocolMessageEnum
Type of notificationProtobuf enum
google.cloud.advisorynotifications.v1.NotificationType| Enum Constant and Description |
|---|
NOTIFICATION_TYPE_SECURITY_MSA
General security MSA
|
NOTIFICATION_TYPE_SECURITY_PRIVACY_ADVISORY
Security and privacy advisory notifications
|
NOTIFICATION_TYPE_SENSITIVE_ACTIONS
Sensitive action notifications
|
NOTIFICATION_TYPE_THREAT_HORIZONS
Threat horizons MSA
|
NOTIFICATION_TYPE_UNSPECIFIED
Default type
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
NOTIFICATION_TYPE_SECURITY_MSA_VALUE
General security MSA
|
static int |
NOTIFICATION_TYPE_SECURITY_PRIVACY_ADVISORY_VALUE
Security and privacy advisory notifications
|
static int |
NOTIFICATION_TYPE_SENSITIVE_ACTIONS_VALUE
Sensitive action notifications
|
static int |
NOTIFICATION_TYPE_THREAT_HORIZONS_VALUE
Threat horizons MSA
|
static int |
NOTIFICATION_TYPE_UNSPECIFIED_VALUE
Default type
|
| Modifier and Type | Method and Description |
|---|---|
static NotificationType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<NotificationType> |
internalGetValueMap() |
static NotificationType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static NotificationType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static NotificationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NotificationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotificationType NOTIFICATION_TYPE_UNSPECIFIED
Default type
NOTIFICATION_TYPE_UNSPECIFIED = 0;public static final NotificationType NOTIFICATION_TYPE_SECURITY_PRIVACY_ADVISORY
Security and privacy advisory notifications
NOTIFICATION_TYPE_SECURITY_PRIVACY_ADVISORY = 1;public static final NotificationType NOTIFICATION_TYPE_SENSITIVE_ACTIONS
Sensitive action notifications
NOTIFICATION_TYPE_SENSITIVE_ACTIONS = 2;public static final NotificationType NOTIFICATION_TYPE_SECURITY_MSA
General security MSA
NOTIFICATION_TYPE_SECURITY_MSA = 3;public static final NotificationType NOTIFICATION_TYPE_THREAT_HORIZONS
Threat horizons MSA
NOTIFICATION_TYPE_THREAT_HORIZONS = 4;public static final NotificationType UNRECOGNIZED
public static final int NOTIFICATION_TYPE_UNSPECIFIED_VALUE
Default type
NOTIFICATION_TYPE_UNSPECIFIED = 0;public static final int NOTIFICATION_TYPE_SECURITY_PRIVACY_ADVISORY_VALUE
Security and privacy advisory notifications
NOTIFICATION_TYPE_SECURITY_PRIVACY_ADVISORY = 1;public static final int NOTIFICATION_TYPE_SENSITIVE_ACTIONS_VALUE
Sensitive action notifications
NOTIFICATION_TYPE_SENSITIVE_ACTIONS = 2;public static final int NOTIFICATION_TYPE_SECURITY_MSA_VALUE
General security MSA
NOTIFICATION_TYPE_SECURITY_MSA = 3;public static final int NOTIFICATION_TYPE_THREAT_HORIZONS_VALUE
Threat horizons MSA
NOTIFICATION_TYPE_THREAT_HORIZONS = 4;public static NotificationType[] values()
for (NotificationType c : NotificationType.values()) System.out.println(c);
public static NotificationType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static NotificationType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static NotificationType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<NotificationType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static NotificationType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.