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.UnusedPrivateParameter
AbstractMessageLite.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, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, 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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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 GeneratedMessageV3
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField
in class GeneratedMessageV3
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public 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 GameServerClusterOrBuilder
public 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 GameServerClusterOrBuilder
public boolean hasCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime
in interface GameServerClusterOrBuilder
public Timestamp getCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime
in interface GameServerClusterOrBuilder
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder
in interface GameServerClusterOrBuilder
public boolean hasUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime
in interface GameServerClusterOrBuilder
public Timestamp getUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime
in interface GameServerClusterOrBuilder
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder
in interface GameServerClusterOrBuilder
public int getLabelsCount()
GameServerClusterOrBuilder
The labels associated with this game server cluster. Each label is a key-value pair.
map<string, string> labels = 4;
getLabelsCount
in interface GameServerClusterOrBuilder
public 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 GameServerClusterOrBuilder
public 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 GameServerClusterOrBuilder
public 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 GameServerClusterOrBuilder
public 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 GameServerClusterOrBuilder
public 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 GameServerClusterOrBuilder
public 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 GameServerClusterOrBuilder
public 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 GameServerClusterOrBuilder
public String getEtag()
ETag of the resource.
string etag = 6;
getEtag
in interface GameServerClusterOrBuilder
public ByteString getEtagBytes()
ETag of the resource.
string etag = 6;
getEtagBytes
in interface GameServerClusterOrBuilder
public String getDescription()
Human readable description of the cluster.
string description = 7;
getDescription
in interface GameServerClusterOrBuilder
public ByteString getDescriptionBytes()
Human readable description of the cluster.
string description = 7;
getDescriptionBytes
in interface GameServerClusterOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static GameServerCluster parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static GameServerCluster parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static GameServerCluster parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static GameServerCluster parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static GameServerCluster parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static GameServerCluster parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static GameServerCluster parseFrom(InputStream input) throws IOException
IOException
public static GameServerCluster parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static GameServerCluster parseDelimitedFrom(InputStream input) throws IOException
IOException
public static GameServerCluster parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static GameServerCluster parseFrom(CodedInputStream input) throws IOException
IOException
public static GameServerCluster parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public GameServerCluster.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static GameServerCluster.Builder newBuilder()
public static GameServerCluster.Builder newBuilder(GameServerCluster prototype)
public GameServerCluster.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected GameServerCluster.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static GameServerCluster getDefaultInstance()
public static Parser<GameServerCluster> parser()
public Parser<GameServerCluster> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public GameServerCluster getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2020 Google LLC. All rights reserved.