public final class GameServerCluster extends com.google.protobuf.GeneratedMessageV3 implements GameServerClusterOrBuilder
A game server cluster resource.Protobuf type
google.cloud.gaming.v1.GameServerCluster| Modifier and Type | Class and Description |
|---|---|
static class |
GameServerCluster.Builder
A game server cluster resource.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CLUSTER_STATE_FIELD_NUMBER |
static int |
CONNECTION_INFO_FIELD_NUMBER |
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
ETAG_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
The labels associated with this game server cluster.
|
boolean |
equals(Object obj) |
KubernetesClusterState |
getClusterState()
Output only.
|
KubernetesClusterStateOrBuilder |
getClusterStateOrBuilder()
Output only.
|
GameServerClusterConnectionInfo |
getConnectionInfo()
The game server cluster connection information.
|
GameServerClusterConnectionInfoOrBuilder |
getConnectionInfoOrBuilder()
The game server cluster connection information.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
static GameServerCluster |
getDefaultInstance() |
GameServerCluster |
getDefaultInstanceForType() |
String |
getDescription()
Human readable description of the cluster.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Human readable description of the cluster.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getEtag()
ETag of the resource.
|
com.google.protobuf.ByteString |
getEtagBytes()
ETag of the resource.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
The labels associated with this game server cluster.
|
Map<String,String> |
getLabelsMap()
The labels associated with this game server cluster.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
The labels associated with this game server cluster.
|
String |
getLabelsOrThrow(String key)
The labels associated with this game server cluster.
|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
com.google.protobuf.Parser<GameServerCluster> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasClusterState()
Output only.
|
boolean |
hasConnectionInfo()
The game server cluster connection information.
|
boolean |
hasCreateTime()
Output only.
|
int |
hashCode() |
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static GameServerCluster.Builder |
newBuilder() |
static GameServerCluster.Builder |
newBuilder(GameServerCluster prototype) |
GameServerCluster.Builder |
newBuilderForType() |
protected GameServerCluster.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static GameServerCluster |
parseDelimitedFrom(InputStream input) |
static GameServerCluster |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GameServerCluster |
parseFrom(byte[] data) |
static GameServerCluster |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GameServerCluster |
parseFrom(ByteBuffer data) |
static GameServerCluster |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GameServerCluster |
parseFrom(com.google.protobuf.ByteString data) |
static GameServerCluster |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GameServerCluster |
parseFrom(com.google.protobuf.CodedInputStream input) |
static GameServerCluster |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GameServerCluster |
parseFrom(InputStream input) |
static GameServerCluster |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<GameServerCluster> |
parser() |
GameServerCluster.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
public static final int CONNECTION_INFO_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int CLUSTER_STATE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
Required. The resource name of the game server cluster, in the following form:
`projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}`.
For example,
`projects/my-project/locations/{location}/realms/zanzibar/gameServerClusters/my-onprem-cluster`.
string name = 1 [(.google.api.field_behavior) = REQUIRED];getName in interface GameServerClusterOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Required. The resource name of the game server cluster, in the following form:
`projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}`.
For example,
`projects/my-project/locations/{location}/realms/zanzibar/gameServerClusters/my-onprem-cluster`.
string name = 1 [(.google.api.field_behavior) = REQUIRED];getNameBytes in interface GameServerClusterOrBuilderpublic boolean hasCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface GameServerClusterOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface GameServerClusterOrBuilderpublic com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface GameServerClusterOrBuilderpublic boolean hasUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface GameServerClusterOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface GameServerClusterOrBuilderpublic com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface GameServerClusterOrBuilderpublic int getLabelsCount()
GameServerClusterOrBuilderThe labels associated with this game server cluster. Each label is a key-value pair.
map<string, string> labels = 4;getLabelsCount in interface GameServerClusterOrBuilderpublic boolean containsLabels(String key)
The labels associated with this game server cluster. Each label is a key-value pair.
map<string, string> labels = 4;containsLabels in interface GameServerClusterOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface GameServerClusterOrBuilderpublic Map<String,String> getLabelsMap()
The labels associated with this game server cluster. Each label is a key-value pair.
map<string, string> labels = 4;getLabelsMap in interface GameServerClusterOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
The labels associated with this game server cluster. Each label is a key-value pair.
map<string, string> labels = 4;getLabelsOrDefault in interface GameServerClusterOrBuilderpublic String getLabelsOrThrow(String key)
The labels associated with this game server cluster. Each label is a key-value pair.
map<string, string> labels = 4;getLabelsOrThrow in interface GameServerClusterOrBuilderpublic boolean hasConnectionInfo()
The game server cluster connection information. This information is used to manage game server clusters.
.google.cloud.gaming.v1.GameServerClusterConnectionInfo connection_info = 5;hasConnectionInfo in interface GameServerClusterOrBuilderpublic GameServerClusterConnectionInfo getConnectionInfo()
The game server cluster connection information. This information is used to manage game server clusters.
.google.cloud.gaming.v1.GameServerClusterConnectionInfo connection_info = 5;getConnectionInfo in interface GameServerClusterOrBuilderpublic GameServerClusterConnectionInfoOrBuilder getConnectionInfoOrBuilder()
The game server cluster connection information. This information is used to manage game server clusters.
.google.cloud.gaming.v1.GameServerClusterConnectionInfo connection_info = 5;getConnectionInfoOrBuilder in interface GameServerClusterOrBuilderpublic String getEtag()
ETag of the resource.
string etag = 6;getEtag in interface GameServerClusterOrBuilderpublic com.google.protobuf.ByteString getEtagBytes()
ETag of the resource.
string etag = 6;getEtagBytes in interface GameServerClusterOrBuilderpublic String getDescription()
Human readable description of the cluster.
string description = 7;getDescription in interface GameServerClusterOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Human readable description of the cluster.
string description = 7;getDescriptionBytes in interface GameServerClusterOrBuilderpublic boolean hasClusterState()
Output only. The state of the Kubernetes cluster, this will be available if 'view' is set to `FULL` in the relevant List/Get/Preview request.
.google.cloud.gaming.v1.KubernetesClusterState cluster_state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasClusterState in interface GameServerClusterOrBuilderpublic KubernetesClusterState getClusterState()
Output only. The state of the Kubernetes cluster, this will be available if 'view' is set to `FULL` in the relevant List/Get/Preview request.
.google.cloud.gaming.v1.KubernetesClusterState cluster_state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getClusterState in interface GameServerClusterOrBuilderpublic KubernetesClusterStateOrBuilder getClusterStateOrBuilder()
Output only. The state of the Kubernetes cluster, this will be available if 'view' is set to `FULL` in the relevant List/Get/Preview request.
.google.cloud.gaming.v1.KubernetesClusterState cluster_state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getClusterStateOrBuilder in interface GameServerClusterOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static GameServerCluster parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GameServerCluster parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GameServerCluster parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GameServerCluster parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GameServerCluster parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GameServerCluster parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GameServerCluster parseFrom(InputStream input) throws IOException
IOExceptionpublic static GameServerCluster parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GameServerCluster parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static GameServerCluster parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GameServerCluster parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static GameServerCluster parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic GameServerCluster.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static GameServerCluster.Builder newBuilder()
public static GameServerCluster.Builder newBuilder(GameServerCluster prototype)
public GameServerCluster.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected GameServerCluster.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static GameServerCluster getDefaultInstance()
public static com.google.protobuf.Parser<GameServerCluster> parser()
public com.google.protobuf.Parser<GameServerCluster> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public GameServerCluster getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.