public static final class SlurmNodeSet.Builder extends GeneratedMessage.Builder<SlurmNodeSet.Builder> implements SlurmNodeSetOrBuilderConfiguration for Slurm nodesets in the cluster. Nodesets are groups of compute nodes used by Slurm that are responsible for running workloads submitted to the cluster.
Protobuf type google.cloud.hypercomputecluster.v1beta.SlurmNodeSet
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SlurmNodeSet.BuilderImplements
SlurmNodeSetOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllStorageConfigs(Iterable<? extends StorageConfig> values)
public SlurmNodeSet.Builder addAllStorageConfigs(Iterable<? extends StorageConfig> values)Optional. How storage resources should be mounted on each compute node.
repeated .google.cloud.hypercomputecluster.v1beta.StorageConfig storage_configs = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.hypercomputecluster.v1beta.StorageConfig> |
| Returns | |
|---|---|
| Type | Description |
SlurmNodeSet.Builder |
|
addStorageConfigs(StorageConfig value)
public SlurmNodeSet.Builder addStorageConfigs(StorageConfig value)Optional. How storage resources should be mounted on each compute node.
repeated .google.cloud.hypercomputecluster.v1beta.StorageConfig storage_configs = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StorageConfig |
| Returns | |
|---|---|
| Type | Description |
SlurmNodeSet.Builder |
|
addStorageConfigs(StorageConfig.Builder builderForValue)
public SlurmNodeSet.Builder addStorageConfigs(StorageConfig.Builder builderForValue)Optional. How storage resources should be mounted on each compute node.
repeated .google.cloud.hypercomputecluster.v1beta.StorageConfig storage_configs = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
StorageConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
SlurmNodeSet.Builder |
|
addStorageConfigs(int index, StorageConfig value)
public SlurmNodeSet.Builder addStorageConfigs(int index, StorageConfig value)Optional. How storage resources should be mounted on each compute node.
repeated .google.cloud.hypercomputecluster.v1beta.StorageConfig storage_configs = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
StorageConfig |
| Returns | |
|---|---|
| Type | Description |
SlurmNodeSet.Builder |
|
addStorageConfigs(int index, StorageConfig.Builder builderForValue)
public SlurmNodeSet.Builder addStorageConfigs(int index, StorageConfig.Builder builderForValue)Optional. How storage resources should be mounted on each compute node.
repeated .google.cloud.hypercomputecluster.v1beta.StorageConfig storage_configs = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
StorageConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
SlurmNodeSet.Builder |
|
addStorageConfigsBuilder()
public StorageConfig.Builder addStorageConfigsBuilder()Optional. How storage resources should be mounted on each compute node.
repeated .google.cloud.hypercomputecluster.v1beta.StorageConfig storage_configs = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
StorageConfig.Builder |
|
addStorageConfigsBuilder(int index)
public StorageConfig.Builder addStorageConfigsBuilder(int index)Optional. How storage resources should be mounted on each compute node.
repeated .google.cloud.hypercomputecluster.v1beta.StorageConfig storage_configs = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
StorageConfig.Builder |
|
build()
public SlurmNodeSet build()| Returns | |
|---|---|
| Type | Description |
SlurmNodeSet |
|
buildPartial()
public SlurmNodeSet buildPartial()| Returns | |
|---|---|
| Type | Description |
SlurmNodeSet |
|
clear()
public SlurmNodeSet.Builder clear()| Returns | |
|---|---|
| Type | Description |
SlurmNodeSet.Builder |
|
clearComputeId()
public SlurmNodeSet.Builder clearComputeId()Required. The ID of the compute resource on which this nodeset runs. Must match a key in the cluster's compute_resources.
string compute_id = 16 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SlurmNodeSet.Builder |
This builder for chaining. |
clearComputeInstance()
public SlurmNodeSet.Builder clearComputeInstance()Optional. If set, indicates that the nodeset should be backed by Compute Engine instances.
.google.cloud.hypercomputecluster.v1beta.ComputeInstanceSlurmNodeSet compute_instance = 17 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SlurmNodeSet.Builder |
|
clearId()
public SlurmNodeSet.Builder clearId() Required. The ID for the nodeset, which allows it to be referenced by
cluster partitions. The nodeset ID must start with a lowercase letter
(a-z), use only lowercase letters or numbers, and contain up to 15
characters. For example, specify nodeset001.
string id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SlurmNodeSet.Builder |
This builder for chaining. |
clearMaxDynamicNodeCount()
public SlurmNodeSet.Builder clearMaxDynamicNodeCount()Optional. Controls how many additional nodes a cluster can bring online to handle workloads. Set this value to enable dynamic node creation and limit the number of additional nodes the cluster can bring online. Leave empty if you do not want the cluster to create nodes dynamically, and instead rely only on static nodes.
int64 max_dynamic_node_count = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SlurmNodeSet.Builder |
This builder for chaining. |
clearResourcePolicyConfig()
public SlurmNodeSet.Builder clearResourcePolicyConfig()Optional. Resource policy configuration for the nodeset.
.google.cloud.hypercomputecluster.v1beta.ResourcePolicyConfig resource_policy_config = 19 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SlurmNodeSet.Builder |
|
clearStaticNodeCount()
public SlurmNodeSet.Builder clearStaticNodeCount()Optional. Number of nodes to be statically created for this nodeset. The cluster will attempt to ensure that at least this many nodes exist at all times.
int64 static_node_count = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SlurmNodeSet.Builder |
This builder for chaining. |
clearStorageConfigs()
public SlurmNodeSet.Builder clearStorageConfigs()Optional. How storage resources should be mounted on each compute node.
repeated .google.cloud.hypercomputecluster.v1beta.StorageConfig storage_configs = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SlurmNodeSet.Builder |
|
clearType()
public SlurmNodeSet.Builder clearType()| Returns | |
|---|---|
| Type | Description |
SlurmNodeSet.Builder |
|
getComputeId()
public String getComputeId()Required. The ID of the compute resource on which this nodeset runs. Must match a key in the cluster's compute_resources.
string compute_id = 16 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The computeId. |
getComputeIdBytes()
public ByteString getComputeIdBytes()Required. The ID of the compute resource on which this nodeset runs. Must match a key in the cluster's compute_resources.
string compute_id = 16 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for computeId. |
getComputeInstance()
public ComputeInstanceSlurmNodeSet getComputeInstance()Optional. If set, indicates that the nodeset should be backed by Compute Engine instances.
.google.cloud.hypercomputecluster.v1beta.ComputeInstanceSlurmNodeSet compute_instance = 17 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceSlurmNodeSet |
The computeInstance. |
getComputeInstanceBuilder()
public ComputeInstanceSlurmNodeSet.Builder getComputeInstanceBuilder()Optional. If set, indicates that the nodeset should be backed by Compute Engine instances.
.google.cloud.hypercomputecluster.v1beta.ComputeInstanceSlurmNodeSet compute_instance = 17 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceSlurmNodeSet.Builder |
|
getComputeInstanceOrBuilder()
public ComputeInstanceSlurmNodeSetOrBuilder getComputeInstanceOrBuilder()Optional. If set, indicates that the nodeset should be backed by Compute Engine instances.
.google.cloud.hypercomputecluster.v1beta.ComputeInstanceSlurmNodeSet compute_instance = 17 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceSlurmNodeSetOrBuilder |
|
getDefaultInstanceForType()
public SlurmNodeSet getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SlurmNodeSet |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getId()
public String getId() Required. The ID for the nodeset, which allows it to be referenced by
cluster partitions. The nodeset ID must start with a lowercase letter
(a-z), use only lowercase letters or numbers, and contain up to 15
characters. For example, specify nodeset001.
string id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The id. |
getIdBytes()
public ByteString getIdBytes() Required. The ID for the nodeset, which allows it to be referenced by
cluster partitions. The nodeset ID must start with a lowercase letter
(a-z), use only lowercase letters or numbers, and contain up to 15
characters. For example, specify nodeset001.
string id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for id. |
getMaxDynamicNodeCount()
public long getMaxDynamicNodeCount()Optional. Controls how many additional nodes a cluster can bring online to handle workloads. Set this value to enable dynamic node creation and limit the number of additional nodes the cluster can bring online. Leave empty if you do not want the cluster to create nodes dynamically, and instead rely only on static nodes.
int64 max_dynamic_node_count = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
long |
The maxDynamicNodeCount. |
getResourcePolicyConfig()
public ResourcePolicyConfig getResourcePolicyConfig()Optional. Resource policy configuration for the nodeset.
.google.cloud.hypercomputecluster.v1beta.ResourcePolicyConfig resource_policy_config = 19 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ResourcePolicyConfig |
The resourcePolicyConfig. |
getResourcePolicyConfigBuilder()
public ResourcePolicyConfig.Builder getResourcePolicyConfigBuilder()Optional. Resource policy configuration for the nodeset.
.google.cloud.hypercomputecluster.v1beta.ResourcePolicyConfig resource_policy_config = 19 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ResourcePolicyConfig.Builder |
|
getResourcePolicyConfigOrBuilder()
public ResourcePolicyConfigOrBuilder getResourcePolicyConfigOrBuilder()Optional. Resource policy configuration for the nodeset.
.google.cloud.hypercomputecluster.v1beta.ResourcePolicyConfig resource_policy_config = 19 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ResourcePolicyConfigOrBuilder |
|
getStaticNodeCount()
public long getStaticNodeCount()Optional. Number of nodes to be statically created for this nodeset. The cluster will attempt to ensure that at least this many nodes exist at all times.
int64 static_node_count = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
long |
The staticNodeCount. |
getStorageConfigs(int index)
public StorageConfig getStorageConfigs(int index)Optional. How storage resources should be mounted on each compute node.
repeated .google.cloud.hypercomputecluster.v1beta.StorageConfig storage_configs = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
StorageConfig |
|
getStorageConfigsBuilder(int index)
public StorageConfig.Builder getStorageConfigsBuilder(int index)Optional. How storage resources should be mounted on each compute node.
repeated .google.cloud.hypercomputecluster.v1beta.StorageConfig storage_configs = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
StorageConfig.Builder |
|
getStorageConfigsBuilderList()
public List<StorageConfig.Builder> getStorageConfigsBuilderList()Optional. How storage resources should be mounted on each compute node.
repeated .google.cloud.hypercomputecluster.v1beta.StorageConfig storage_configs = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getStorageConfigsCount()
public int getStorageConfigsCount()Optional. How storage resources should be mounted on each compute node.
repeated .google.cloud.hypercomputecluster.v1beta.StorageConfig storage_configs = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getStorageConfigsList()
public List<StorageConfig> getStorageConfigsList()Optional. How storage resources should be mounted on each compute node.
repeated .google.cloud.hypercomputecluster.v1beta.StorageConfig storage_configs = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<StorageConfig> |
|
getStorageConfigsOrBuilder(int index)
public StorageConfigOrBuilder getStorageConfigsOrBuilder(int index)Optional. How storage resources should be mounted on each compute node.
repeated .google.cloud.hypercomputecluster.v1beta.StorageConfig storage_configs = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
StorageConfigOrBuilder |
|
getStorageConfigsOrBuilderList()
public List<? extends StorageConfigOrBuilder> getStorageConfigsOrBuilderList()Optional. How storage resources should be mounted on each compute node.
repeated .google.cloud.hypercomputecluster.v1beta.StorageConfig storage_configs = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.hypercomputecluster.v1beta.StorageConfigOrBuilder> |
|
getTypeCase()
public SlurmNodeSet.TypeCase getTypeCase()| Returns | |
|---|---|
| Type | Description |
SlurmNodeSet.TypeCase |
|
hasComputeInstance()
public boolean hasComputeInstance()Optional. If set, indicates that the nodeset should be backed by Compute Engine instances.
.google.cloud.hypercomputecluster.v1beta.ComputeInstanceSlurmNodeSet compute_instance = 17 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the computeInstance field is set. |
hasResourcePolicyConfig()
public boolean hasResourcePolicyConfig()Optional. Resource policy configuration for the nodeset.
.google.cloud.hypercomputecluster.v1beta.ResourcePolicyConfig resource_policy_config = 19 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the resourcePolicyConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeComputeInstance(ComputeInstanceSlurmNodeSet value)
public SlurmNodeSet.Builder mergeComputeInstance(ComputeInstanceSlurmNodeSet value)Optional. If set, indicates that the nodeset should be backed by Compute Engine instances.
.google.cloud.hypercomputecluster.v1beta.ComputeInstanceSlurmNodeSet compute_instance = 17 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ComputeInstanceSlurmNodeSet |
| Returns | |
|---|---|
| Type | Description |
SlurmNodeSet.Builder |
|
mergeFrom(SlurmNodeSet other)
public SlurmNodeSet.Builder mergeFrom(SlurmNodeSet other)| Parameter | |
|---|---|
| Name | Description |
other |
SlurmNodeSet |
| Returns | |
|---|---|
| Type | Description |
SlurmNodeSet.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SlurmNodeSet.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SlurmNodeSet.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SlurmNodeSet.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SlurmNodeSet.Builder |
|
mergeResourcePolicyConfig(ResourcePolicyConfig value)
public SlurmNodeSet.Builder mergeResourcePolicyConfig(ResourcePolicyConfig value)Optional. Resource policy configuration for the nodeset.
.google.cloud.hypercomputecluster.v1beta.ResourcePolicyConfig resource_policy_config = 19 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ResourcePolicyConfig |
| Returns | |
|---|---|
| Type | Description |
SlurmNodeSet.Builder |
|
removeStorageConfigs(int index)
public SlurmNodeSet.Builder removeStorageConfigs(int index)Optional. How storage resources should be mounted on each compute node.
repeated .google.cloud.hypercomputecluster.v1beta.StorageConfig storage_configs = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SlurmNodeSet.Builder |
|
setComputeId(String value)
public SlurmNodeSet.Builder setComputeId(String value)Required. The ID of the compute resource on which this nodeset runs. Must match a key in the cluster's compute_resources.
string compute_id = 16 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe computeId to set. |
| Returns | |
|---|---|
| Type | Description |
SlurmNodeSet.Builder |
This builder for chaining. |
setComputeIdBytes(ByteString value)
public SlurmNodeSet.Builder setComputeIdBytes(ByteString value)Required. The ID of the compute resource on which this nodeset runs. Must match a key in the cluster's compute_resources.
string compute_id = 16 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for computeId to set. |
| Returns | |
|---|---|
| Type | Description |
SlurmNodeSet.Builder |
This builder for chaining. |
setComputeInstance(ComputeInstanceSlurmNodeSet value)
public SlurmNodeSet.Builder setComputeInstance(ComputeInstanceSlurmNodeSet value)Optional. If set, indicates that the nodeset should be backed by Compute Engine instances.
.google.cloud.hypercomputecluster.v1beta.ComputeInstanceSlurmNodeSet compute_instance = 17 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ComputeInstanceSlurmNodeSet |
| Returns | |
|---|---|
| Type | Description |
SlurmNodeSet.Builder |
|
setComputeInstance(ComputeInstanceSlurmNodeSet.Builder builderForValue)
public SlurmNodeSet.Builder setComputeInstance(ComputeInstanceSlurmNodeSet.Builder builderForValue)Optional. If set, indicates that the nodeset should be backed by Compute Engine instances.
.google.cloud.hypercomputecluster.v1beta.ComputeInstanceSlurmNodeSet compute_instance = 17 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ComputeInstanceSlurmNodeSet.Builder |
| Returns | |
|---|---|
| Type | Description |
SlurmNodeSet.Builder |
|
setId(String value)
public SlurmNodeSet.Builder setId(String value) Required. The ID for the nodeset, which allows it to be referenced by
cluster partitions. The nodeset ID must start with a lowercase letter
(a-z), use only lowercase letters or numbers, and contain up to 15
characters. For example, specify nodeset001.
string id = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe id to set. |
| Returns | |
|---|---|
| Type | Description |
SlurmNodeSet.Builder |
This builder for chaining. |
setIdBytes(ByteString value)
public SlurmNodeSet.Builder setIdBytes(ByteString value) Required. The ID for the nodeset, which allows it to be referenced by
cluster partitions. The nodeset ID must start with a lowercase letter
(a-z), use only lowercase letters or numbers, and contain up to 15
characters. For example, specify nodeset001.
string id = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for id to set. |
| Returns | |
|---|---|
| Type | Description |
SlurmNodeSet.Builder |
This builder for chaining. |
setMaxDynamicNodeCount(long value)
public SlurmNodeSet.Builder setMaxDynamicNodeCount(long value)Optional. Controls how many additional nodes a cluster can bring online to handle workloads. Set this value to enable dynamic node creation and limit the number of additional nodes the cluster can bring online. Leave empty if you do not want the cluster to create nodes dynamically, and instead rely only on static nodes.
int64 max_dynamic_node_count = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe maxDynamicNodeCount to set. |
| Returns | |
|---|---|
| Type | Description |
SlurmNodeSet.Builder |
This builder for chaining. |
setResourcePolicyConfig(ResourcePolicyConfig value)
public SlurmNodeSet.Builder setResourcePolicyConfig(ResourcePolicyConfig value)Optional. Resource policy configuration for the nodeset.
.google.cloud.hypercomputecluster.v1beta.ResourcePolicyConfig resource_policy_config = 19 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ResourcePolicyConfig |
| Returns | |
|---|---|
| Type | Description |
SlurmNodeSet.Builder |
|
setResourcePolicyConfig(ResourcePolicyConfig.Builder builderForValue)
public SlurmNodeSet.Builder setResourcePolicyConfig(ResourcePolicyConfig.Builder builderForValue)Optional. Resource policy configuration for the nodeset.
.google.cloud.hypercomputecluster.v1beta.ResourcePolicyConfig resource_policy_config = 19 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ResourcePolicyConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
SlurmNodeSet.Builder |
|
setStaticNodeCount(long value)
public SlurmNodeSet.Builder setStaticNodeCount(long value)Optional. Number of nodes to be statically created for this nodeset. The cluster will attempt to ensure that at least this many nodes exist at all times.
int64 static_node_count = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe staticNodeCount to set. |
| Returns | |
|---|---|
| Type | Description |
SlurmNodeSet.Builder |
This builder for chaining. |
setStorageConfigs(int index, StorageConfig value)
public SlurmNodeSet.Builder setStorageConfigs(int index, StorageConfig value)Optional. How storage resources should be mounted on each compute node.
repeated .google.cloud.hypercomputecluster.v1beta.StorageConfig storage_configs = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
StorageConfig |
| Returns | |
|---|---|
| Type | Description |
SlurmNodeSet.Builder |
|
setStorageConfigs(int index, StorageConfig.Builder builderForValue)
public SlurmNodeSet.Builder setStorageConfigs(int index, StorageConfig.Builder builderForValue)Optional. How storage resources should be mounted on each compute node.
repeated .google.cloud.hypercomputecluster.v1beta.StorageConfig storage_configs = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
StorageConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
SlurmNodeSet.Builder |
|