public static final class GameServerDeployment.Builder extends GeneratedMessageV3.Builder<GameServerDeployment.Builder> implements GameServerDeploymentOrBuilder
A game server deployment resource.Protobuf type
google.cloud.gaming.v1alpha.GameServerDeployment
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField
in class GeneratedMessageV3.Builder<GameServerDeployment.Builder>
protected MapField internalGetMutableMapField(int number)
internalGetMutableMapField
in class GeneratedMessageV3.Builder<GameServerDeployment.Builder>
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<GameServerDeployment.Builder>
public GameServerDeployment.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<GameServerDeployment.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<GameServerDeployment.Builder>
public GameServerDeployment getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public GameServerDeployment build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public GameServerDeployment buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public GameServerDeployment.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<GameServerDeployment.Builder>
public GameServerDeployment.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<GameServerDeployment.Builder>
public GameServerDeployment.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<GameServerDeployment.Builder>
public GameServerDeployment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<GameServerDeployment.Builder>
public GameServerDeployment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<GameServerDeployment.Builder>
public GameServerDeployment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<GameServerDeployment.Builder>
public GameServerDeployment.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<GameServerDeployment.Builder>
public GameServerDeployment.Builder mergeFrom(GameServerDeployment other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<GameServerDeployment.Builder>
public GameServerDeployment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<GameServerDeployment.Builder>
IOException
public 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 GameServerDeploymentOrBuilder
public 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 GameServerDeploymentOrBuilder
public GameServerDeployment.Builder setName(String value)
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;
value
- The name to set.public GameServerDeployment.Builder clearName()
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;
public GameServerDeployment.Builder setNameBytes(ByteString value)
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;
value
- The bytes for name to set.public boolean hasCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime
in interface GameServerDeploymentOrBuilder
public Timestamp getCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime
in interface GameServerDeploymentOrBuilder
public GameServerDeployment.Builder setCreateTime(Timestamp value)
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public GameServerDeployment.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public GameServerDeployment.Builder mergeCreateTime(Timestamp value)
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public GameServerDeployment.Builder clearCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Timestamp.Builder getCreateTimeBuilder()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder
in interface GameServerDeploymentOrBuilder
public boolean hasUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime
in interface GameServerDeploymentOrBuilder
public Timestamp getUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime
in interface GameServerDeploymentOrBuilder
public GameServerDeployment.Builder setUpdateTime(Timestamp value)
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public GameServerDeployment.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public GameServerDeployment.Builder mergeUpdateTime(Timestamp value)
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public GameServerDeployment.Builder clearUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Timestamp.Builder getUpdateTimeBuilder()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder
in interface GameServerDeploymentOrBuilder
public int getLabelsCount()
GameServerDeploymentOrBuilder
The labels associated with this game server deployment. Each label is a key-value pair.
map<string, string> labels = 4;
getLabelsCount
in interface GameServerDeploymentOrBuilder
public 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 GameServerDeploymentOrBuilder
public 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 GameServerDeploymentOrBuilder
public 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 GameServerDeploymentOrBuilder
public 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 GameServerDeploymentOrBuilder
public GameServerDeployment.Builder clearLabels()
public GameServerDeployment.Builder removeLabels(String key)
The labels associated with this game server deployment. Each label is a key-value pair.
map<string, string> labels = 4;
@Deprecated public Map<String,String> getMutableLabels()
public GameServerDeployment.Builder putLabels(String key, String value)
The labels associated with this game server deployment. Each label is a key-value pair.
map<string, string> labels = 4;
public GameServerDeployment.Builder putAllLabels(Map<String,String> values)
The labels associated with this game server deployment. Each label is a key-value pair.
map<string, string> labels = 4;
public String getEtag()
ETag of the resource.
string etag = 7;
getEtag
in interface GameServerDeploymentOrBuilder
public ByteString getEtagBytes()
ETag of the resource.
string etag = 7;
getEtagBytes
in interface GameServerDeploymentOrBuilder
public GameServerDeployment.Builder setEtag(String value)
ETag of the resource.
string etag = 7;
value
- The etag to set.public GameServerDeployment.Builder clearEtag()
ETag of the resource.
string etag = 7;
public GameServerDeployment.Builder setEtagBytes(ByteString value)
ETag of the resource.
string etag = 7;
value
- The bytes for etag to set.public String getDescription()
Human readable description of the game server deployment.
string description = 8;
getDescription
in interface GameServerDeploymentOrBuilder
public ByteString getDescriptionBytes()
Human readable description of the game server deployment.
string description = 8;
getDescriptionBytes
in interface GameServerDeploymentOrBuilder
public GameServerDeployment.Builder setDescription(String value)
Human readable description of the game server deployment.
string description = 8;
value
- The description to set.public GameServerDeployment.Builder clearDescription()
Human readable description of the game server deployment.
string description = 8;
public GameServerDeployment.Builder setDescriptionBytes(ByteString value)
Human readable description of the game server deployment.
string description = 8;
value
- The bytes for description to set.public final GameServerDeployment.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<GameServerDeployment.Builder>
public final GameServerDeployment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<GameServerDeployment.Builder>
Copyright © 2020 Google LLC. All rights reserved.