public final class GameServerDeployment extends GeneratedMessageV3 implements GameServerDeploymentOrBuilder
A game server deployment resource.Protobuf type
google.cloud.gaming.v1alpha.GameServerDeployment| Modifier and Type | Class and Description |
|---|---|
static class |
GameServerDeployment.Builder
A game server deployment 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 |
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 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()
The resource name of the game server deployment, using the form:
`projects/{project}/locations/{location}/gameServerDeployments/{deployment}`.
For example,
`projects/my-project/locations/{location}/gameServerDeployments/my-deployment`.
string name = 1;getName in interface GameServerDeploymentOrBuilderpublic ByteString getNameBytes()
The resource name of the game server deployment, using the form:
`projects/{project}/locations/{location}/gameServerDeployments/{deployment}`.
For example,
`projects/my-project/locations/{location}/gameServerDeployments/my-deployment`.
string name = 1;getNameBytes in interface GameServerDeploymentOrBuilderpublic boolean hasCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface GameServerDeploymentOrBuilderpublic Timestamp getCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface GameServerDeploymentOrBuilderpublic TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface GameServerDeploymentOrBuilderpublic boolean hasUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface GameServerDeploymentOrBuilderpublic Timestamp getUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface GameServerDeploymentOrBuilderpublic TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface GameServerDeploymentOrBuilderpublic int getLabelsCount()
GameServerDeploymentOrBuilderThe labels associated with this game server deployment. Each label is a key-value pair.
map<string, string> labels = 4;getLabelsCount in interface GameServerDeploymentOrBuilderpublic boolean containsLabels(String key)
The labels associated with this game server deployment. Each label is a key-value pair.
map<string, string> labels = 4;containsLabels in interface GameServerDeploymentOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface GameServerDeploymentOrBuilderpublic Map<String,String> getLabelsMap()
The labels associated with this game server deployment. Each label is a key-value pair.
map<string, string> labels = 4;getLabelsMap in interface GameServerDeploymentOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
The labels associated with this game server deployment. Each label is a key-value pair.
map<string, string> labels = 4;getLabelsOrDefault in interface GameServerDeploymentOrBuilderpublic String getLabelsOrThrow(String key)
The labels associated with this game server deployment. Each label is a key-value pair.
map<string, string> labels = 4;getLabelsOrThrow in interface GameServerDeploymentOrBuilderpublic String getEtag()
ETag of the resource.
string etag = 7;getEtag in interface GameServerDeploymentOrBuilderpublic ByteString getEtagBytes()
ETag of the resource.
string etag = 7;getEtagBytes in interface GameServerDeploymentOrBuilderpublic String getDescription()
Human readable description of the game server deployment.
string description = 8;getDescription in interface GameServerDeploymentOrBuilderpublic ByteString getDescriptionBytes()
Human readable description of the game server deployment.
string description = 8;getDescriptionBytes in interface GameServerDeploymentOrBuilderpublic 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 GameServerDeployment parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static GameServerDeployment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static GameServerDeployment parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static GameServerDeployment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static GameServerDeployment parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static GameServerDeployment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static GameServerDeployment parseFrom(InputStream input) throws IOException
IOExceptionpublic static GameServerDeployment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GameServerDeployment parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static GameServerDeployment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GameServerDeployment parseFrom(CodedInputStream input) throws IOException
IOExceptionpublic static GameServerDeployment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic GameServerDeployment.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static GameServerDeployment.Builder newBuilder()
public static GameServerDeployment.Builder newBuilder(GameServerDeployment prototype)
public GameServerDeployment.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected GameServerDeployment.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static GameServerDeployment getDefaultInstance()
public static Parser<GameServerDeployment> parser()
public Parser<GameServerDeployment> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public GameServerDeployment getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderCopyright © 2020 Google LLC. All rights reserved.