Enum NotificationType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<NotificationType>
@Generated
public enum NotificationType
extends Enum<NotificationType>
implements com.google.protobuf.ProtocolMessageEnum
Type of notificationProtobuf enum
google.cloud.advisorynotifications.v1.NotificationType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionGeneral security MSASecurity and privacy advisory notificationsSensitive action notificationsThreat horizons MSADefault type -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intGeneral security MSAstatic final intSecurity and privacy advisory notificationsstatic final intSensitive action notificationsstatic final intThreat horizons MSAstatic final intDefault type -
Method Summary
Modifier and TypeMethodDescriptionstatic NotificationTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<NotificationType>static NotificationTypevalueOf(int value) Deprecated.static NotificationTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static NotificationTypeReturns 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.
-
Enum Constant Details
-
NOTIFICATION_TYPE_UNSPECIFIED
Default type
NOTIFICATION_TYPE_UNSPECIFIED = 0; -
NOTIFICATION_TYPE_SECURITY_PRIVACY_ADVISORY
Security and privacy advisory notifications
NOTIFICATION_TYPE_SECURITY_PRIVACY_ADVISORY = 1; -
NOTIFICATION_TYPE_SENSITIVE_ACTIONS
Sensitive action notifications
NOTIFICATION_TYPE_SENSITIVE_ACTIONS = 2; -
NOTIFICATION_TYPE_SECURITY_MSA
General security MSA
NOTIFICATION_TYPE_SECURITY_MSA = 3; -
NOTIFICATION_TYPE_THREAT_HORIZONS
Threat horizons MSA
NOTIFICATION_TYPE_THREAT_HORIZONS = 4; -
UNRECOGNIZED
-
-
Field Details
-
NOTIFICATION_TYPE_UNSPECIFIED_VALUE
public static final int NOTIFICATION_TYPE_UNSPECIFIED_VALUEDefault type
NOTIFICATION_TYPE_UNSPECIFIED = 0;- See Also:
-
NOTIFICATION_TYPE_SECURITY_PRIVACY_ADVISORY_VALUE
public static final int NOTIFICATION_TYPE_SECURITY_PRIVACY_ADVISORY_VALUESecurity and privacy advisory notifications
NOTIFICATION_TYPE_SECURITY_PRIVACY_ADVISORY = 1;- See Also:
-
NOTIFICATION_TYPE_SENSITIVE_ACTIONS_VALUE
public static final int NOTIFICATION_TYPE_SENSITIVE_ACTIONS_VALUESensitive action notifications
NOTIFICATION_TYPE_SENSITIVE_ACTIONS = 2;- See Also:
-
NOTIFICATION_TYPE_SECURITY_MSA_VALUE
public static final int NOTIFICATION_TYPE_SECURITY_MSA_VALUEGeneral security MSA
NOTIFICATION_TYPE_SECURITY_MSA = 3;- See Also:
-
NOTIFICATION_TYPE_THREAT_HORIZONS_VALUE
public static final int NOTIFICATION_TYPE_THREAT_HORIZONS_VALUEThreat horizons MSA
NOTIFICATION_TYPE_THREAT_HORIZONS = 4;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-