Enum NotificationCategory
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<NotificationCategory>
@Generated
public enum NotificationCategory
extends Enum<NotificationCategory>
implements com.google.protobuf.ProtocolMessageEnum
The notification categories that an essential contact can be subscribed to. Each notification will be categorized by the sender into one of the following categories. All contacts that are subscribed to that category will receive the notification.Protobuf enum
google.cloud.essentialcontacts.v1.NotificationCategory-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAll notifications related to the resource, including notifications pertaining to categories added in the future.Notifications related to billing and payments notifications, price updates, errors, or credits.Notifications related to enforcement actions, regulatory compliance, or government notices.Notification category is unrecognized or unspecified.Notifications related to new versions, product terms updates, or deprecations.Notifications related to security/privacy incidents, notifications, and vulnerabilities.Notifications related to imminent account suspension.Notifications related to technical events and issues such as outages, errors, or bugs.Child category of TECHNICAL. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAll notifications related to the resource, including notifications pertaining to categories added in the future.static final intNotifications related to billing and payments notifications, price updates, errors, or credits.static final intNotifications related to enforcement actions, regulatory compliance, or government notices.static final intNotification category is unrecognized or unspecified.static final intNotifications related to new versions, product terms updates, or deprecations.static final intNotifications related to security/privacy incidents, notifications, and vulnerabilities.static final intNotifications related to imminent account suspension.static final intChild category of TECHNICAL.static final intNotifications related to technical events and issues such as outages, errors, or bugs. -
Method Summary
Modifier and TypeMethodDescriptionstatic NotificationCategoryforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<NotificationCategory>static NotificationCategoryvalueOf(int value) Deprecated.static NotificationCategoryvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static NotificationCategoryReturns the enum constant of this type with the specified name.static NotificationCategory[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NOTIFICATION_CATEGORY_UNSPECIFIED
Notification category is unrecognized or unspecified.
NOTIFICATION_CATEGORY_UNSPECIFIED = 0; -
ALL
All notifications related to the resource, including notifications pertaining to categories added in the future.
ALL = 2; -
SUSPENSION
Notifications related to imminent account suspension.
SUSPENSION = 3; -
SECURITY
Notifications related to security/privacy incidents, notifications, and vulnerabilities.
SECURITY = 5; -
TECHNICAL
Notifications related to technical events and issues such as outages, errors, or bugs.
TECHNICAL = 6; -
BILLING
Notifications related to billing and payments notifications, price updates, errors, or credits.
BILLING = 7; -
LEGAL
Notifications related to enforcement actions, regulatory compliance, or government notices.
LEGAL = 8; -
PRODUCT_UPDATES
Notifications related to new versions, product terms updates, or deprecations.
PRODUCT_UPDATES = 9; -
TECHNICAL_INCIDENTS
Child category of TECHNICAL. If assigned, technical incident notifications will go to these contacts instead of TECHNICAL.
TECHNICAL_INCIDENTS = 10; -
UNRECOGNIZED
-
-
Field Details
-
NOTIFICATION_CATEGORY_UNSPECIFIED_VALUE
public static final int NOTIFICATION_CATEGORY_UNSPECIFIED_VALUENotification category is unrecognized or unspecified.
NOTIFICATION_CATEGORY_UNSPECIFIED = 0;- See Also:
-
ALL_VALUE
public static final int ALL_VALUEAll notifications related to the resource, including notifications pertaining to categories added in the future.
ALL = 2;- See Also:
-
SUSPENSION_VALUE
public static final int SUSPENSION_VALUENotifications related to imminent account suspension.
SUSPENSION = 3;- See Also:
-
SECURITY_VALUE
public static final int SECURITY_VALUENotifications related to security/privacy incidents, notifications, and vulnerabilities.
SECURITY = 5;- See Also:
-
TECHNICAL_VALUE
public static final int TECHNICAL_VALUENotifications related to technical events and issues such as outages, errors, or bugs.
TECHNICAL = 6;- See Also:
-
BILLING_VALUE
public static final int BILLING_VALUENotifications related to billing and payments notifications, price updates, errors, or credits.
BILLING = 7;- See Also:
-
LEGAL_VALUE
public static final int LEGAL_VALUENotifications related to enforcement actions, regulatory compliance, or government notices.
LEGAL = 8;- See Also:
-
PRODUCT_UPDATES_VALUE
public static final int PRODUCT_UPDATES_VALUENotifications related to new versions, product terms updates, or deprecations.
PRODUCT_UPDATES = 9;- See Also:
-
TECHNICAL_INCIDENTS_VALUE
public static final int TECHNICAL_INCIDENTS_VALUEChild category of TECHNICAL. If assigned, technical incident notifications will go to these contacts instead of TECHNICAL.
TECHNICAL_INCIDENTS = 10;- 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
public static NotificationCategory valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) 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
-