public static enum InternalChecker.State extends Enum<InternalChecker.State> implements com.google.protobuf.ProtocolMessageEnum
Operational states for an internal checker.Protobuf enum
google.monitoring.v3.InternalChecker.State| Enum Constant and Description |
|---|
CREATING
The checker is being created, provisioned, and configured.
|
RUNNING
The checker is running and available for use.
|
UNRECOGNIZED |
UNSPECIFIED
An internal checker should never be in the unspecified state.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
CREATING_VALUE
The checker is being created, provisioned, and configured.
|
static int |
RUNNING_VALUE
The checker is running and available for use.
|
static int |
UNSPECIFIED_VALUE
An internal checker should never be in the unspecified state.
|
| Modifier and Type | Method and Description |
|---|---|
static InternalChecker.State |
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<InternalChecker.State> |
internalGetValueMap() |
static InternalChecker.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static InternalChecker.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static InternalChecker.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InternalChecker.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InternalChecker.State UNSPECIFIED
An internal checker should never be in the unspecified state.
UNSPECIFIED = 0;public static final InternalChecker.State CREATING
The checker is being created, provisioned, and configured. A checker in this state can be returned by `ListInternalCheckers` or `GetInternalChecker`, as well as by examining the [long running Operation](https://cloud.google.com/apis/design/design_patterns#long_running_operations) that created it.
CREATING = 1;public static final InternalChecker.State RUNNING
The checker is running and available for use. A checker in this state can be returned by `ListInternalCheckers` or `GetInternalChecker` as well as by examining the [long running Operation](https://cloud.google.com/apis/design/design_patterns#long_running_operations) that created it. If a checker is being torn down, it is neither visible nor usable, so there is no "deleting" or "down" state.
RUNNING = 2;public static final InternalChecker.State UNRECOGNIZED
public static final int UNSPECIFIED_VALUE
An internal checker should never be in the unspecified state.
UNSPECIFIED = 0;public static final int CREATING_VALUE
The checker is being created, provisioned, and configured. A checker in this state can be returned by `ListInternalCheckers` or `GetInternalChecker`, as well as by examining the [long running Operation](https://cloud.google.com/apis/design/design_patterns#long_running_operations) that created it.
CREATING = 1;public static final int RUNNING_VALUE
The checker is running and available for use. A checker in this state can be returned by `ListInternalCheckers` or `GetInternalChecker` as well as by examining the [long running Operation](https://cloud.google.com/apis/design/design_patterns#long_running_operations) that created it. If a checker is being torn down, it is neither visible nor usable, so there is no "deleting" or "down" state.
RUNNING = 2;public static InternalChecker.State[] values()
for (InternalChecker.State c : InternalChecker.State.values()) System.out.println(c);
public static InternalChecker.State 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 InternalChecker.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static InternalChecker.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<InternalChecker.State> 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 InternalChecker.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.