public static enum NotificationChannel.VerificationStatus extends java.lang.Enum<NotificationChannel.VerificationStatus> implements ProtocolMessageEnum
Indicates whether the channel has been verified or not. It is illegal to specify this field in a [`CreateNotificationChannel`][google.monitoring.v3.NotificationChannelService.CreateNotificationChannel] or an [`UpdateNotificationChannel`][google.monitoring.v3.NotificationChannelService.UpdateNotificationChannel] operation.Protobuf enum
google.monitoring.v3.NotificationChannel.VerificationStatus
Enum Constant and Description |
---|
UNRECOGNIZED |
UNVERIFIED
The channel has yet to be verified and requires verification to function.
|
VERIFICATION_STATUS_UNSPECIFIED
Sentinel value used to indicate that the state is unknown, omitted, or
is not applicable (as in the case of channels that neither support
nor require verification in order to function).
|
VERIFIED
It has been proven that notifications can be received on this
notification channel and that someone on the project has access
to messages that are delivered to that channel.
|
Modifier and Type | Field and Description |
---|---|
static int |
UNVERIFIED_VALUE
The channel has yet to be verified and requires verification to function.
|
static int |
VERIFICATION_STATUS_UNSPECIFIED_VALUE
Sentinel value used to indicate that the state is unknown, omitted, or
is not applicable (as in the case of channels that neither support
nor require verification in order to function).
|
static int |
VERIFIED_VALUE
It has been proven that notifications can be received on this
notification channel and that someone on the project has access
to messages that are delivered to that channel.
|
Modifier and Type | Method and Description |
---|---|
static NotificationChannel.VerificationStatus |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<NotificationChannel.VerificationStatus> |
internalGetValueMap() |
static NotificationChannel.VerificationStatus |
valueOf(Descriptors.EnumValueDescriptor desc) |
static NotificationChannel.VerificationStatus |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static NotificationChannel.VerificationStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NotificationChannel.VerificationStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotificationChannel.VerificationStatus VERIFICATION_STATUS_UNSPECIFIED
Sentinel value used to indicate that the state is unknown, omitted, or is not applicable (as in the case of channels that neither support nor require verification in order to function).
VERIFICATION_STATUS_UNSPECIFIED = 0;
public static final NotificationChannel.VerificationStatus UNVERIFIED
The channel has yet to be verified and requires verification to function. Note that this state also applies to the case where the verification process has been initiated by sending a verification code but where the verification code has not been submitted to complete the process.
UNVERIFIED = 1;
public static final NotificationChannel.VerificationStatus VERIFIED
It has been proven that notifications can be received on this notification channel and that someone on the project has access to messages that are delivered to that channel.
VERIFIED = 2;
public static final NotificationChannel.VerificationStatus UNRECOGNIZED
public static final int VERIFICATION_STATUS_UNSPECIFIED_VALUE
Sentinel value used to indicate that the state is unknown, omitted, or is not applicable (as in the case of channels that neither support nor require verification in order to function).
VERIFICATION_STATUS_UNSPECIFIED = 0;
public static final int UNVERIFIED_VALUE
The channel has yet to be verified and requires verification to function. Note that this state also applies to the case where the verification process has been initiated by sending a verification code but where the verification code has not been submitted to complete the process.
UNVERIFIED = 1;
public static final int VERIFIED_VALUE
It has been proven that notifications can be received on this notification channel and that someone on the project has access to messages that are delivered to that channel.
VERIFIED = 2;
public static NotificationChannel.VerificationStatus[] values()
for (NotificationChannel.VerificationStatus c : NotificationChannel.VerificationStatus.values()) System.out.println(c);
public static NotificationChannel.VerificationStatus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static NotificationChannel.VerificationStatus valueOf(int value)
forNumber(int)
instead.public static NotificationChannel.VerificationStatus forNumber(int value)
public static Internal.EnumLiteMap<NotificationChannel.VerificationStatus> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static NotificationChannel.VerificationStatus valueOf(Descriptors.EnumValueDescriptor desc)