public static final class Cluster.Builder extends GeneratedMessageV3.Builder<Cluster.Builder> implements ClusterOrBuilder
A cluster in a private cloud.
Protobuf type google.cloud.vmwareengine.v1.Cluster
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Cluster.BuilderImplements
ClusterOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Cluster.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Cluster.Builder |
build()
public Cluster build()
Type | Description |
Cluster |
buildPartial()
public Cluster buildPartial()
Type | Description |
Cluster |
clear()
public Cluster.Builder clear()
Type | Description |
Cluster.Builder |
clearCreateTime()
public Cluster.Builder clearCreateTime()
Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Cluster.Builder |
clearField(Descriptors.FieldDescriptor field)
public Cluster.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Cluster.Builder |
clearManagement()
public Cluster.Builder clearManagement()
Output only. True if the cluster is a management cluster; false otherwise. There can only be one management cluster in a private cloud and it has to be the first one.
bool management = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Cluster.Builder | This builder for chaining. |
clearName()
public Cluster.Builder clearName()
Output only. The resource name of this cluster.
Resource names are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names.
For example:
projects/my-project/locations/us-west1-a/privateClouds/my-cloud/clusters/my-cluster
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Cluster.Builder | This builder for chaining. |
clearNodeTypeConfigs()
public Cluster.Builder clearNodeTypeConfigs()
Type | Description |
Cluster.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Cluster.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Cluster.Builder |
clearState()
public Cluster.Builder clearState()
Output only. State of the resource.
.google.cloud.vmwareengine.v1.Cluster.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Cluster.Builder | This builder for chaining. |
clearUid()
public Cluster.Builder clearUid()
Output only. System-generated unique identifier for the resource.
string uid = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Cluster.Builder | This builder for chaining. |
clearUpdateTime()
public Cluster.Builder clearUpdateTime()
Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Cluster.Builder |
clone()
public Cluster.Builder clone()
Type | Description |
Cluster.Builder |
containsNodeTypeConfigs(String key)
public boolean containsNodeTypeConfigs(String key)
Required. The map of cluster node types in this cluster, where the key is canonical
identifier of the node type (corresponds to the NodeType
).
map<string, .google.cloud.vmwareengine.v1.NodeTypeConfig> node_type_configs = 16 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
key | String |
Type | Description |
boolean |
getCreateTime()
public Timestamp getCreateTime()
Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Cluster getDefaultInstanceForType()
Type | Description |
Cluster |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getManagement()
public boolean getManagement()
Output only. True if the cluster is a management cluster; false otherwise. There can only be one management cluster in a private cloud and it has to be the first one.
bool management = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | The management. |
getMutableNodeTypeConfigs()
public Map<String,NodeTypeConfig> getMutableNodeTypeConfigs()
Use alternate mutation accessors instead.
Type | Description |
Map<String,NodeTypeConfig> |
getName()
public String getName()
Output only. The resource name of this cluster.
Resource names are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names.
For example:
projects/my-project/locations/us-west1-a/privateClouds/my-cloud/clusters/my-cluster
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. The resource name of this cluster.
Resource names are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names.
For example:
projects/my-project/locations/us-west1-a/privateClouds/my-cloud/clusters/my-cluster
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for name. |
getNodeTypeConfigs()
public Map<String,NodeTypeConfig> getNodeTypeConfigs()
Use #getNodeTypeConfigsMap() instead.
Type | Description |
Map<String,NodeTypeConfig> |
getNodeTypeConfigsCount()
public int getNodeTypeConfigsCount()
Required. The map of cluster node types in this cluster, where the key is canonical
identifier of the node type (corresponds to the NodeType
).
map<string, .google.cloud.vmwareengine.v1.NodeTypeConfig> node_type_configs = 16 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
int |
getNodeTypeConfigsMap()
public Map<String,NodeTypeConfig> getNodeTypeConfigsMap()
Required. The map of cluster node types in this cluster, where the key is canonical
identifier of the node type (corresponds to the NodeType
).
map<string, .google.cloud.vmwareengine.v1.NodeTypeConfig> node_type_configs = 16 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Map<String,NodeTypeConfig> |
getNodeTypeConfigsOrDefault(String key, NodeTypeConfig defaultValue)
public NodeTypeConfig getNodeTypeConfigsOrDefault(String key, NodeTypeConfig defaultValue)
Required. The map of cluster node types in this cluster, where the key is canonical
identifier of the node type (corresponds to the NodeType
).
map<string, .google.cloud.vmwareengine.v1.NodeTypeConfig> node_type_configs = 16 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
key | String |
defaultValue | NodeTypeConfig |
Type | Description |
NodeTypeConfig |
getNodeTypeConfigsOrThrow(String key)
public NodeTypeConfig getNodeTypeConfigsOrThrow(String key)
Required. The map of cluster node types in this cluster, where the key is canonical
identifier of the node type (corresponds to the NodeType
).
map<string, .google.cloud.vmwareengine.v1.NodeTypeConfig> node_type_configs = 16 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
key | String |
Type | Description |
NodeTypeConfig |
getState()
public Cluster.State getState()
Output only. State of the resource.
.google.cloud.vmwareengine.v1.Cluster.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Cluster.State | The state. |
getStateValue()
public int getStateValue()
Output only. State of the resource.
.google.cloud.vmwareengine.v1.Cluster.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
int | The enum numeric value on the wire for state. |
getUid()
public String getUid()
Output only. System-generated unique identifier for the resource.
string uid = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The uid. |
getUidBytes()
public ByteString getUidBytes()
Output only. System-generated unique identifier for the resource.
string uid = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for uid. |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public boolean hasCreateTime()
Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the createTime field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public Cluster.Builder mergeCreateTime(Timestamp value)
Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Cluster.Builder |
mergeFrom(Cluster other)
public Cluster.Builder mergeFrom(Cluster other)
Name | Description |
other | Cluster |
Type | Description |
Cluster.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Cluster.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Cluster.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Cluster.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Cluster.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Cluster.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Cluster.Builder |
mergeUpdateTime(Timestamp value)
public Cluster.Builder mergeUpdateTime(Timestamp value)
Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Cluster.Builder |
putAllNodeTypeConfigs(Map<String,NodeTypeConfig> values)
public Cluster.Builder putAllNodeTypeConfigs(Map<String,NodeTypeConfig> values)
Required. The map of cluster node types in this cluster, where the key is canonical
identifier of the node type (corresponds to the NodeType
).
map<string, .google.cloud.vmwareengine.v1.NodeTypeConfig> node_type_configs = 16 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
values | Map<String,NodeTypeConfig> |
Type | Description |
Cluster.Builder |
putNodeTypeConfigs(String key, NodeTypeConfig value)
public Cluster.Builder putNodeTypeConfigs(String key, NodeTypeConfig value)
Required. The map of cluster node types in this cluster, where the key is canonical
identifier of the node type (corresponds to the NodeType
).
map<string, .google.cloud.vmwareengine.v1.NodeTypeConfig> node_type_configs = 16 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
key | String |
value | NodeTypeConfig |
Type | Description |
Cluster.Builder |
removeNodeTypeConfigs(String key)
public Cluster.Builder removeNodeTypeConfigs(String key)
Required. The map of cluster node types in this cluster, where the key is canonical
identifier of the node type (corresponds to the NodeType
).
map<string, .google.cloud.vmwareengine.v1.NodeTypeConfig> node_type_configs = 16 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
key | String |
Type | Description |
Cluster.Builder |
setCreateTime(Timestamp value)
public Cluster.Builder setCreateTime(Timestamp value)
Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Cluster.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Cluster.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
Cluster.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Cluster.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Cluster.Builder |
setManagement(boolean value)
public Cluster.Builder setManagement(boolean value)
Output only. True if the cluster is a management cluster; false otherwise. There can only be one management cluster in a private cloud and it has to be the first one.
bool management = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | boolean The management to set. |
Type | Description |
Cluster.Builder | This builder for chaining. |
setName(String value)
public Cluster.Builder setName(String value)
Output only. The resource name of this cluster.
Resource names are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names.
For example:
projects/my-project/locations/us-west1-a/privateClouds/my-cloud/clusters/my-cluster
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The name to set. |
Type | Description |
Cluster.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Cluster.Builder setNameBytes(ByteString value)
Output only. The resource name of this cluster.
Resource names are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names.
For example:
projects/my-project/locations/us-west1-a/privateClouds/my-cloud/clusters/my-cluster
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Cluster.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Cluster.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Cluster.Builder |
setState(Cluster.State value)
public Cluster.Builder setState(Cluster.State value)
Output only. State of the resource.
.google.cloud.vmwareengine.v1.Cluster.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Cluster.State The state to set. |
Type | Description |
Cluster.Builder | This builder for chaining. |
setStateValue(int value)
public Cluster.Builder setStateValue(int value)
Output only. State of the resource.
.google.cloud.vmwareengine.v1.Cluster.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Type | Description |
Cluster.Builder | This builder for chaining. |
setUid(String value)
public Cluster.Builder setUid(String value)
Output only. System-generated unique identifier for the resource.
string uid = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The uid to set. |
Type | Description |
Cluster.Builder | This builder for chaining. |
setUidBytes(ByteString value)
public Cluster.Builder setUidBytes(ByteString value)
Output only. System-generated unique identifier for the resource.
string uid = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for uid to set. |
Type | Description |
Cluster.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Cluster.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Cluster.Builder |
setUpdateTime(Timestamp value)
public Cluster.Builder setUpdateTime(Timestamp value)
Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Cluster.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public Cluster.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
Cluster.Builder |