public enum GameServerClusterView extends Enum<GameServerClusterView> implements com.google.protobuf.ProtocolMessageEnum
A view for GameServerCluster objects.Protobuf enum
google.cloud.gaming.v1.GameServerClusterView| Enum Constant and Description |
|---|
BASIC
Include basic information of a GameServerCluster resource and omit
`cluster_state`.
|
FULL
Include everything.
|
GAME_SERVER_CLUSTER_VIEW_UNSPECIFIED
The default / unset value.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
BASIC_VALUE
Include basic information of a GameServerCluster resource and omit
`cluster_state`.
|
static int |
FULL_VALUE
Include everything.
|
static int |
GAME_SERVER_CLUSTER_VIEW_UNSPECIFIED_VALUE
The default / unset value.
|
| Modifier and Type | Method and Description |
|---|---|
static GameServerClusterView |
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<GameServerClusterView> |
internalGetValueMap() |
static GameServerClusterView |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static GameServerClusterView |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static GameServerClusterView |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GameServerClusterView[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GameServerClusterView GAME_SERVER_CLUSTER_VIEW_UNSPECIFIED
The default / unset value. The API will default to the BASIC view.
GAME_SERVER_CLUSTER_VIEW_UNSPECIFIED = 0;public static final GameServerClusterView BASIC
Include basic information of a GameServerCluster resource and omit `cluster_state`. This is the default value (for ListGameServerClusters, GetGameServerCluster and PreviewCreateGameServerCluster).
BASIC = 1;public static final GameServerClusterView FULL
Include everything.
FULL = 2;public static final GameServerClusterView UNRECOGNIZED
public static final int GAME_SERVER_CLUSTER_VIEW_UNSPECIFIED_VALUE
The default / unset value. The API will default to the BASIC view.
GAME_SERVER_CLUSTER_VIEW_UNSPECIFIED = 0;public static final int BASIC_VALUE
Include basic information of a GameServerCluster resource and omit `cluster_state`. This is the default value (for ListGameServerClusters, GetGameServerCluster and PreviewCreateGameServerCluster).
BASIC = 1;public static final int FULL_VALUE
Include everything.
FULL = 2;public static GameServerClusterView[] values()
for (GameServerClusterView c : GameServerClusterView.values()) System.out.println(c);
public static GameServerClusterView 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 GameServerClusterView valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static GameServerClusterView forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<GameServerClusterView> 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 GameServerClusterView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.