public static final class GameServerCluster.Builder extends GeneratedMessageV3.Builder<GameServerCluster.Builder> implements GameServerClusterOrBuilder
A game server cluster resource.Protobuf type
google.cloud.gaming.v1alpha.GameServerCluster
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<GameServerCluster.Builder>
protected MapField internalGetMutableMapField(int number)
internalGetMutableMapField
in class GeneratedMessageV3.Builder<GameServerCluster.Builder>
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<GameServerCluster.Builder>
public GameServerCluster.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<GameServerCluster.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<GameServerCluster.Builder>
public GameServerCluster getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public GameServerCluster build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public GameServerCluster buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public GameServerCluster.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<GameServerCluster.Builder>
public GameServerCluster.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<GameServerCluster.Builder>
public GameServerCluster.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<GameServerCluster.Builder>
public GameServerCluster.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<GameServerCluster.Builder>
public GameServerCluster.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<GameServerCluster.Builder>
public GameServerCluster.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<GameServerCluster.Builder>
public GameServerCluster.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<GameServerCluster.Builder>
public GameServerCluster.Builder mergeFrom(GameServerCluster other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<GameServerCluster.Builder>
public GameServerCluster.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<GameServerCluster.Builder>
IOException
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 GameServerCluster.Builder setName(String value)
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];
value
- The name to set.public GameServerCluster.Builder clearName()
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];
public GameServerCluster.Builder setNameBytes(ByteString value)
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];
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 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 GameServerCluster.Builder setCreateTime(Timestamp value)
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public GameServerCluster.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public GameServerCluster.Builder mergeCreateTime(Timestamp value)
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public GameServerCluster.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 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 GameServerCluster.Builder setUpdateTime(Timestamp value)
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public GameServerCluster.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public GameServerCluster.Builder mergeUpdateTime(Timestamp value)
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public GameServerCluster.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 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 GameServerCluster.Builder clearLabels()
public GameServerCluster.Builder removeLabels(String key)
The labels associated with this game server cluster. Each label is a key-value pair.
map<string, string> labels = 4;
@Deprecated public Map<String,String> getMutableLabels()
public GameServerCluster.Builder putLabels(String key, String value)
The labels associated with this game server cluster. Each label is a key-value pair.
map<string, string> labels = 4;
public GameServerCluster.Builder putAllLabels(Map<String,String> values)
The labels associated with this game server cluster. Each label is a key-value pair.
map<string, string> labels = 4;
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 GameServerCluster.Builder setConnectionInfo(GameServerClusterConnectionInfo value)
Game server cluster connection information. This information is used to manage game server clusters.
.google.cloud.gaming.v1alpha.GameServerClusterConnectionInfo connection_info = 5;
public GameServerCluster.Builder setConnectionInfo(GameServerClusterConnectionInfo.Builder builderForValue)
Game server cluster connection information. This information is used to manage game server clusters.
.google.cloud.gaming.v1alpha.GameServerClusterConnectionInfo connection_info = 5;
public GameServerCluster.Builder mergeConnectionInfo(GameServerClusterConnectionInfo value)
Game server cluster connection information. This information is used to manage game server clusters.
.google.cloud.gaming.v1alpha.GameServerClusterConnectionInfo connection_info = 5;
public GameServerCluster.Builder clearConnectionInfo()
Game server cluster connection information. This information is used to manage game server clusters.
.google.cloud.gaming.v1alpha.GameServerClusterConnectionInfo connection_info = 5;
public GameServerClusterConnectionInfo.Builder getConnectionInfoBuilder()
Game server cluster connection information. This information is used to manage game server clusters.
.google.cloud.gaming.v1alpha.GameServerClusterConnectionInfo connection_info = 5;
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 GameServerCluster.Builder setEtag(String value)
ETag of the resource.
string etag = 6;
value
- The etag to set.public GameServerCluster.Builder clearEtag()
ETag of the resource.
string etag = 6;
public GameServerCluster.Builder setEtagBytes(ByteString value)
ETag of the resource.
string etag = 6;
value
- The bytes for etag to set.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 GameServerCluster.Builder setDescription(String value)
Human readable description of the cluster.
string description = 7;
value
- The description to set.public GameServerCluster.Builder clearDescription()
Human readable description of the cluster.
string description = 7;
public GameServerCluster.Builder setDescriptionBytes(ByteString value)
Human readable description of the cluster.
string description = 7;
value
- The bytes for description to set.public final GameServerCluster.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<GameServerCluster.Builder>
public final GameServerCluster.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<GameServerCluster.Builder>
Copyright © 2020 Google LLC. All rights reserved.