public static enum Backup.ClusterMetadata.PlatformVersionCase extends Enum<Backup.ClusterMetadata.PlatformVersionCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
ANTHOS_VERSION |
GKE_VERSION |
PLATFORMVERSION_NOT_SET |
| Modifier and Type | Method and Description |
|---|---|
static Backup.ClusterMetadata.PlatformVersionCase |
forNumber(int value) |
int |
getNumber() |
static Backup.ClusterMetadata.PlatformVersionCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Backup.ClusterMetadata.PlatformVersionCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Backup.ClusterMetadata.PlatformVersionCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Backup.ClusterMetadata.PlatformVersionCase GKE_VERSION
public static final Backup.ClusterMetadata.PlatformVersionCase ANTHOS_VERSION
public static final Backup.ClusterMetadata.PlatformVersionCase PLATFORMVERSION_NOT_SET
public static Backup.ClusterMetadata.PlatformVersionCase[] values()
for (Backup.ClusterMetadata.PlatformVersionCase c : Backup.ClusterMetadata.PlatformVersionCase.values()) System.out.println(c);
public static Backup.ClusterMetadata.PlatformVersionCase 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 null@Deprecated public static Backup.ClusterMetadata.PlatformVersionCase valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static Backup.ClusterMetadata.PlatformVersionCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLiteCopyright © 2023 Google LLC. All rights reserved.