public static enum GameServerClusterConnectionInfo.ClusterReferenceCase extends Enum<GameServerClusterConnectionInfo.ClusterReferenceCase> implements Internal.EnumLite, AbstractMessageLite.InternalOneOfEnum
Enum Constant and Description |
---|
CLUSTERREFERENCE_NOT_SET |
GKE_CLUSTER_REFERENCE |
GKE_HUB_CLUSTER_REFERENCE |
Modifier and Type | Method and Description |
---|---|
static GameServerClusterConnectionInfo.ClusterReferenceCase |
forNumber(int value) |
int |
getNumber() |
static GameServerClusterConnectionInfo.ClusterReferenceCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static GameServerClusterConnectionInfo.ClusterReferenceCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GameServerClusterConnectionInfo.ClusterReferenceCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GameServerClusterConnectionInfo.ClusterReferenceCase GKE_CLUSTER_REFERENCE
public static final GameServerClusterConnectionInfo.ClusterReferenceCase GKE_HUB_CLUSTER_REFERENCE
public static final GameServerClusterConnectionInfo.ClusterReferenceCase CLUSTERREFERENCE_NOT_SET
public static GameServerClusterConnectionInfo.ClusterReferenceCase[] values()
for (GameServerClusterConnectionInfo.ClusterReferenceCase c : GameServerClusterConnectionInfo.ClusterReferenceCase.values()) System.out.println(c);
public static GameServerClusterConnectionInfo.ClusterReferenceCase 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 GameServerClusterConnectionInfo.ClusterReferenceCase valueOf(int value)
forNumber(int)
instead.value
- The number of the enum to look for.public static GameServerClusterConnectionInfo.ClusterReferenceCase forNumber(int value)
public int getNumber()
getNumber
in interface AbstractMessageLite.InternalOneOfEnum
getNumber
in interface Internal.EnumLite
Copyright © 2020 Google LLC. All rights reserved.