public enum DeploymentState extends Enum<DeploymentState> implements com.google.protobuf.ProtocolMessageEnum
Enum representing the state of an ACM's deployment on a clusterProtobuf enum
google.cloud.gkehub.configmanagement.v1alpha.DeploymentState| Enum Constant and Description |
|---|
DEPLOYMENT_STATE_UNSPECIFIED
Deployment's state cannot be determined
|
ERROR
Deployment was attempted to be installed, but has errors
|
INSTALLED
Deployment is installed
|
NOT_INSTALLED
Deployment is not installed
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
DEPLOYMENT_STATE_UNSPECIFIED_VALUE
Deployment's state cannot be determined
|
static int |
ERROR_VALUE
Deployment was attempted to be installed, but has errors
|
static int |
INSTALLED_VALUE
Deployment is installed
|
static int |
NOT_INSTALLED_VALUE
Deployment is not installed
|
| Modifier and Type | Method and Description |
|---|---|
static DeploymentState |
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<DeploymentState> |
internalGetValueMap() |
static DeploymentState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static DeploymentState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static DeploymentState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeploymentState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeploymentState DEPLOYMENT_STATE_UNSPECIFIED
Deployment's state cannot be determined
DEPLOYMENT_STATE_UNSPECIFIED = 0;public static final DeploymentState NOT_INSTALLED
Deployment is not installed
NOT_INSTALLED = 1;public static final DeploymentState INSTALLED
Deployment is installed
INSTALLED = 2;public static final DeploymentState ERROR
Deployment was attempted to be installed, but has errors
ERROR = 3;public static final DeploymentState UNRECOGNIZED
public static final int DEPLOYMENT_STATE_UNSPECIFIED_VALUE
Deployment's state cannot be determined
DEPLOYMENT_STATE_UNSPECIFIED = 0;public static final int NOT_INSTALLED_VALUE
Deployment is not installed
NOT_INSTALLED = 1;public static final int INSTALLED_VALUE
Deployment is installed
INSTALLED = 2;public static final int ERROR_VALUE
Deployment was attempted to be installed, but has errors
ERROR = 3;public static DeploymentState[] values()
for (DeploymentState c : DeploymentState.values()) System.out.println(c);
public static DeploymentState 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 DeploymentState valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static DeploymentState forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<DeploymentState> 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 DeploymentState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.