public final class GameServerCluster extends GeneratedMessageV3 implements GameServerClusterOrBuilder
A game server cluster resource.Protobuf type
google.cloud.gaming.v1alpha.GameServerCluster| Modifier and Type | Class and Description |
|---|---|
static class |
GameServerCluster.Builder
A game server cluster resource.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameterAbstractMessageLite.InternalOneOfEnum| Modifier and Type | Field and Description |
|---|---|
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 |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCodecanUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, 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, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic 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
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class GeneratedMessageV3public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField in class GeneratedMessageV3protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public String getName()
Required. The resource name of the game server cluster, using the 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 ByteString getNameBytes()
Required. The resource name of the game server cluster, using the 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 Timestamp getCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface GameServerClusterOrBuilderpublic 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 Timestamp getUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface GameServerClusterOrBuilderpublic 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()
Game server cluster connection information. This information is used to manage game server clusters.
.google.cloud.gaming.v1alpha.GameServerClusterConnectionInfo connection_info = 5;hasConnectionInfo in interface GameServerClusterOrBuilderpublic GameServerClusterConnectionInfo getConnectionInfo()
Game server cluster connection information. This information is used to manage game server clusters.
.google.cloud.gaming.v1alpha.GameServerClusterConnectionInfo connection_info = 5;getConnectionInfo in interface GameServerClusterOrBuilderpublic GameServerClusterConnectionInfoOrBuilder getConnectionInfoOrBuilder()
Game server cluster connection information. This information is used to manage game server clusters.
.google.cloud.gaming.v1alpha.GameServerClusterConnectionInfo connection_info = 5;getConnectionInfoOrBuilder in interface GameServerClusterOrBuilderpublic String getEtag()
ETag of the resource.
string etag = 6;getEtag in interface GameServerClusterOrBuilderpublic 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 ByteString getDescriptionBytes()
Human readable description of the cluster.
string description = 7;getDescriptionBytes in interface GameServerClusterOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static GameServerCluster parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static GameServerCluster parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static GameServerCluster parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static GameServerCluster parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static GameServerCluster parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static GameServerCluster parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static GameServerCluster parseFrom(InputStream input) throws IOException
IOExceptionpublic static GameServerCluster parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GameServerCluster parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static GameServerCluster parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GameServerCluster parseFrom(CodedInputStream input) throws IOException
IOExceptionpublic static GameServerCluster parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic GameServerCluster.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static GameServerCluster.Builder newBuilder()
public static GameServerCluster.Builder newBuilder(GameServerCluster prototype)
public GameServerCluster.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected GameServerCluster.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static GameServerCluster getDefaultInstance()
public static Parser<GameServerCluster> parser()
public Parser<GameServerCluster> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public GameServerCluster getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderCopyright © 2020 Google LLC. All rights reserved.