Class SlurmOrchestrator.Builder (0.1.0)

public static final class SlurmOrchestrator.Builder extends GeneratedMessageV3.Builder<SlurmOrchestrator.Builder> implements SlurmOrchestratorOrBuilder

When set in Orchestrator, indicates that the cluster should use Slurm as the orchestrator.

Protobuf type google.cloud.hypercomputecluster.v1beta.SlurmOrchestrator

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllEpilogBashScripts(Iterable<String> values)

public SlurmOrchestrator.Builder addAllEpilogBashScripts(Iterable<String> values)

Optional. Slurm epilog scripts, which will be executed by compute nodes whenever a node finishes running a job. Values must not be empty.

repeated string epilog_bash_scripts = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The epilogBashScripts to add.

Returns
Type Description
SlurmOrchestrator.Builder

This builder for chaining.

addAllNodeSets(Iterable<? extends SlurmNodeSet> values)

public SlurmOrchestrator.Builder addAllNodeSets(Iterable<? extends SlurmNodeSet> values)

Required. Configuration of Slurm nodesets, which define groups of compute resources that can be used by Slurm. At least one compute node is required.

repeated .google.cloud.hypercomputecluster.v1beta.SlurmNodeSet node_sets = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<? extends com.google.cloud.hypercomputecluster.v1beta.SlurmNodeSet>
Returns
Type Description
SlurmOrchestrator.Builder

addAllPartitions(Iterable<? extends SlurmPartition> values)

public SlurmOrchestrator.Builder addAllPartitions(Iterable<? extends SlurmPartition> values)

Required. Configuration of Slurm partitions, which group one or more nodesets. Acts as a queue against which jobs can be submitted. At least one partition is required.

repeated .google.cloud.hypercomputecluster.v1beta.SlurmPartition partitions = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<? extends com.google.cloud.hypercomputecluster.v1beta.SlurmPartition>
Returns
Type Description
SlurmOrchestrator.Builder

addAllPrologBashScripts(Iterable<String> values)

public SlurmOrchestrator.Builder addAllPrologBashScripts(Iterable<String> values)

Optional. Slurm prolog scripts, which will be executed by compute nodes before a node begins running a new job. Values must not be empty.

repeated string prolog_bash_scripts = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The prologBashScripts to add.

Returns
Type Description
SlurmOrchestrator.Builder

This builder for chaining.

addEpilogBashScripts(String value)

public SlurmOrchestrator.Builder addEpilogBashScripts(String value)

Optional. Slurm epilog scripts, which will be executed by compute nodes whenever a node finishes running a job. Values must not be empty.

repeated string epilog_bash_scripts = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The epilogBashScripts to add.

Returns
Type Description
SlurmOrchestrator.Builder

This builder for chaining.

addEpilogBashScriptsBytes(ByteString value)

public SlurmOrchestrator.Builder addEpilogBashScriptsBytes(ByteString value)

Optional. Slurm epilog scripts, which will be executed by compute nodes whenever a node finishes running a job. Values must not be empty.

repeated string epilog_bash_scripts = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the epilogBashScripts to add.

Returns
Type Description
SlurmOrchestrator.Builder

This builder for chaining.

addNodeSets(SlurmNodeSet value)

public SlurmOrchestrator.Builder addNodeSets(SlurmNodeSet value)

Required. Configuration of Slurm nodesets, which define groups of compute resources that can be used by Slurm. At least one compute node is required.

repeated .google.cloud.hypercomputecluster.v1beta.SlurmNodeSet node_sets = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value SlurmNodeSet
Returns
Type Description
SlurmOrchestrator.Builder

addNodeSets(SlurmNodeSet.Builder builderForValue)

public SlurmOrchestrator.Builder addNodeSets(SlurmNodeSet.Builder builderForValue)

Required. Configuration of Slurm nodesets, which define groups of compute resources that can be used by Slurm. At least one compute node is required.

repeated .google.cloud.hypercomputecluster.v1beta.SlurmNodeSet node_sets = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue SlurmNodeSet.Builder
Returns
Type Description
SlurmOrchestrator.Builder

addNodeSets(int index, SlurmNodeSet value)

public SlurmOrchestrator.Builder addNodeSets(int index, SlurmNodeSet value)

Required. Configuration of Slurm nodesets, which define groups of compute resources that can be used by Slurm. At least one compute node is required.

repeated .google.cloud.hypercomputecluster.v1beta.SlurmNodeSet node_sets = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value SlurmNodeSet
Returns
Type Description
SlurmOrchestrator.Builder

addNodeSets(int index, SlurmNodeSet.Builder builderForValue)

public SlurmOrchestrator.Builder addNodeSets(int index, SlurmNodeSet.Builder builderForValue)

Required. Configuration of Slurm nodesets, which define groups of compute resources that can be used by Slurm. At least one compute node is required.

repeated .google.cloud.hypercomputecluster.v1beta.SlurmNodeSet node_sets = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue SlurmNodeSet.Builder
Returns
Type Description
SlurmOrchestrator.Builder

addNodeSetsBuilder()

public SlurmNodeSet.Builder addNodeSetsBuilder()

Required. Configuration of Slurm nodesets, which define groups of compute resources that can be used by Slurm. At least one compute node is required.

repeated .google.cloud.hypercomputecluster.v1beta.SlurmNodeSet node_sets = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SlurmNodeSet.Builder

addNodeSetsBuilder(int index)

public SlurmNodeSet.Builder addNodeSetsBuilder(int index)

Required. Configuration of Slurm nodesets, which define groups of compute resources that can be used by Slurm. At least one compute node is required.

repeated .google.cloud.hypercomputecluster.v1beta.SlurmNodeSet node_sets = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
SlurmNodeSet.Builder

addPartitions(SlurmPartition value)

public SlurmOrchestrator.Builder addPartitions(SlurmPartition value)

Required. Configuration of Slurm partitions, which group one or more nodesets. Acts as a queue against which jobs can be submitted. At least one partition is required.

repeated .google.cloud.hypercomputecluster.v1beta.SlurmPartition partitions = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value SlurmPartition
Returns
Type Description
SlurmOrchestrator.Builder

addPartitions(SlurmPartition.Builder builderForValue)

public SlurmOrchestrator.Builder addPartitions(SlurmPartition.Builder builderForValue)

Required. Configuration of Slurm partitions, which group one or more nodesets. Acts as a queue against which jobs can be submitted. At least one partition is required.

repeated .google.cloud.hypercomputecluster.v1beta.SlurmPartition partitions = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue SlurmPartition.Builder
Returns
Type Description
SlurmOrchestrator.Builder

addPartitions(int index, SlurmPartition value)

public SlurmOrchestrator.Builder addPartitions(int index, SlurmPartition value)

Required. Configuration of Slurm partitions, which group one or more nodesets. Acts as a queue against which jobs can be submitted. At least one partition is required.

repeated .google.cloud.hypercomputecluster.v1beta.SlurmPartition partitions = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value SlurmPartition
Returns
Type Description
SlurmOrchestrator.Builder

addPartitions(int index, SlurmPartition.Builder builderForValue)

public SlurmOrchestrator.Builder addPartitions(int index, SlurmPartition.Builder builderForValue)

Required. Configuration of Slurm partitions, which group one or more nodesets. Acts as a queue against which jobs can be submitted. At least one partition is required.

repeated .google.cloud.hypercomputecluster.v1beta.SlurmPartition partitions = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue SlurmPartition.Builder
Returns
Type Description
SlurmOrchestrator.Builder

addPartitionsBuilder()

public SlurmPartition.Builder addPartitionsBuilder()

Required. Configuration of Slurm partitions, which group one or more nodesets. Acts as a queue against which jobs can be submitted. At least one partition is required.

repeated .google.cloud.hypercomputecluster.v1beta.SlurmPartition partitions = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SlurmPartition.Builder

addPartitionsBuilder(int index)

public SlurmPartition.Builder addPartitionsBuilder(int index)

Required. Configuration of Slurm partitions, which group one or more nodesets. Acts as a queue against which jobs can be submitted. At least one partition is required.

repeated .google.cloud.hypercomputecluster.v1beta.SlurmPartition partitions = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
SlurmPartition.Builder

addPrologBashScripts(String value)

public SlurmOrchestrator.Builder addPrologBashScripts(String value)

Optional. Slurm prolog scripts, which will be executed by compute nodes before a node begins running a new job. Values must not be empty.

repeated string prolog_bash_scripts = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The prologBashScripts to add.

Returns
Type Description
SlurmOrchestrator.Builder

This builder for chaining.

addPrologBashScriptsBytes(ByteString value)

public SlurmOrchestrator.Builder addPrologBashScriptsBytes(ByteString value)

Optional. Slurm prolog scripts, which will be executed by compute nodes before a node begins running a new job. Values must not be empty.

repeated string prolog_bash_scripts = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the prologBashScripts to add.

Returns
Type Description
SlurmOrchestrator.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SlurmOrchestrator.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SlurmOrchestrator.Builder
Overrides

build()

public SlurmOrchestrator build()
Returns
Type Description
SlurmOrchestrator

buildPartial()

public SlurmOrchestrator buildPartial()
Returns
Type Description
SlurmOrchestrator

clear()

public SlurmOrchestrator.Builder clear()
Returns
Type Description
SlurmOrchestrator.Builder
Overrides

clearDefaultPartition()

public SlurmOrchestrator.Builder clearDefaultPartition()

Optional. Default partition to use for submitted jobs that do not explicitly specify a partition. Required if and only if there is more than one partition, in which case it must match the id of one of the partitions.

string default_partition = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SlurmOrchestrator.Builder

This builder for chaining.

clearEpilogBashScripts()

public SlurmOrchestrator.Builder clearEpilogBashScripts()

Optional. Slurm epilog scripts, which will be executed by compute nodes whenever a node finishes running a job. Values must not be empty.

repeated string epilog_bash_scripts = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SlurmOrchestrator.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public SlurmOrchestrator.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SlurmOrchestrator.Builder
Overrides

clearLoginNodes()

public SlurmOrchestrator.Builder clearLoginNodes()

Required. Configuration for login nodes, which allow users to access the cluster over SSH.

.google.cloud.hypercomputecluster.v1beta.SlurmLoginNodes login_nodes = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SlurmOrchestrator.Builder

clearNodeSets()

public SlurmOrchestrator.Builder clearNodeSets()

Required. Configuration of Slurm nodesets, which define groups of compute resources that can be used by Slurm. At least one compute node is required.

repeated .google.cloud.hypercomputecluster.v1beta.SlurmNodeSet node_sets = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SlurmOrchestrator.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public SlurmOrchestrator.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SlurmOrchestrator.Builder
Overrides

clearPartitions()

public SlurmOrchestrator.Builder clearPartitions()

Required. Configuration of Slurm partitions, which group one or more nodesets. Acts as a queue against which jobs can be submitted. At least one partition is required.

repeated .google.cloud.hypercomputecluster.v1beta.SlurmPartition partitions = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SlurmOrchestrator.Builder

clearPrologBashScripts()

public SlurmOrchestrator.Builder clearPrologBashScripts()

Optional. Slurm prolog scripts, which will be executed by compute nodes before a node begins running a new job. Values must not be empty.

repeated string prolog_bash_scripts = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SlurmOrchestrator.Builder

This builder for chaining.

clone()

public SlurmOrchestrator.Builder clone()
Returns
Type Description
SlurmOrchestrator.Builder
Overrides

getDefaultInstanceForType()

public SlurmOrchestrator getDefaultInstanceForType()
Returns
Type Description
SlurmOrchestrator

getDefaultPartition()

public String getDefaultPartition()

Optional. Default partition to use for submitted jobs that do not explicitly specify a partition. Required if and only if there is more than one partition, in which case it must match the id of one of the partitions.

string default_partition = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The defaultPartition.

getDefaultPartitionBytes()

public ByteString getDefaultPartitionBytes()

Optional. Default partition to use for submitted jobs that do not explicitly specify a partition. Required if and only if there is more than one partition, in which case it must match the id of one of the partitions.

string default_partition = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for defaultPartition.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEpilogBashScripts(int index)

public String getEpilogBashScripts(int index)

Optional. Slurm epilog scripts, which will be executed by compute nodes whenever a node finishes running a job. Values must not be empty.

repeated string epilog_bash_scripts = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The epilogBashScripts at the given index.

getEpilogBashScriptsBytes(int index)

public ByteString getEpilogBashScriptsBytes(int index)

Optional. Slurm epilog scripts, which will be executed by compute nodes whenever a node finishes running a job. Values must not be empty.

repeated string epilog_bash_scripts = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the epilogBashScripts at the given index.

getEpilogBashScriptsCount()

public int getEpilogBashScriptsCount()

Optional. Slurm epilog scripts, which will be executed by compute nodes whenever a node finishes running a job. Values must not be empty.

repeated string epilog_bash_scripts = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of epilogBashScripts.

getEpilogBashScriptsList()

public ProtocolStringList getEpilogBashScriptsList()

Optional. Slurm epilog scripts, which will be executed by compute nodes whenever a node finishes running a job. Values must not be empty.

repeated string epilog_bash_scripts = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the epilogBashScripts.

getLoginNodes()

public SlurmLoginNodes getLoginNodes()

Required. Configuration for login nodes, which allow users to access the cluster over SSH.

.google.cloud.hypercomputecluster.v1beta.SlurmLoginNodes login_nodes = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SlurmLoginNodes

The loginNodes.

getLoginNodesBuilder()

public SlurmLoginNodes.Builder getLoginNodesBuilder()

Required. Configuration for login nodes, which allow users to access the cluster over SSH.

.google.cloud.hypercomputecluster.v1beta.SlurmLoginNodes login_nodes = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SlurmLoginNodes.Builder

getLoginNodesOrBuilder()

public SlurmLoginNodesOrBuilder getLoginNodesOrBuilder()

Required. Configuration for login nodes, which allow users to access the cluster over SSH.

.google.cloud.hypercomputecluster.v1beta.SlurmLoginNodes login_nodes = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SlurmLoginNodesOrBuilder

getNodeSets(int index)

public SlurmNodeSet getNodeSets(int index)

Required. Configuration of Slurm nodesets, which define groups of compute resources that can be used by Slurm. At least one compute node is required.

repeated .google.cloud.hypercomputecluster.v1beta.SlurmNodeSet node_sets = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
SlurmNodeSet

getNodeSetsBuilder(int index)

public SlurmNodeSet.Builder getNodeSetsBuilder(int index)

Required. Configuration of Slurm nodesets, which define groups of compute resources that can be used by Slurm. At least one compute node is required.

repeated .google.cloud.hypercomputecluster.v1beta.SlurmNodeSet node_sets = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
SlurmNodeSet.Builder

getNodeSetsBuilderList()

public List<SlurmNodeSet.Builder> getNodeSetsBuilderList()

Required. Configuration of Slurm nodesets, which define groups of compute resources that can be used by Slurm. At least one compute node is required.

repeated .google.cloud.hypercomputecluster.v1beta.SlurmNodeSet node_sets = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getNodeSetsCount()

public int getNodeSetsCount()

Required. Configuration of Slurm nodesets, which define groups of compute resources that can be used by Slurm. At least one compute node is required.

repeated .google.cloud.hypercomputecluster.v1beta.SlurmNodeSet node_sets = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getNodeSetsList()

public List<SlurmNodeSet> getNodeSetsList()

Required. Configuration of Slurm nodesets, which define groups of compute resources that can be used by Slurm. At least one compute node is required.

repeated .google.cloud.hypercomputecluster.v1beta.SlurmNodeSet node_sets = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<SlurmNodeSet>

getNodeSetsOrBuilder(int index)

public SlurmNodeSetOrBuilder getNodeSetsOrBuilder(int index)

Required. Configuration of Slurm nodesets, which define groups of compute resources that can be used by Slurm. At least one compute node is required.

repeated .google.cloud.hypercomputecluster.v1beta.SlurmNodeSet node_sets = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
SlurmNodeSetOrBuilder

getNodeSetsOrBuilderList()

public List<? extends SlurmNodeSetOrBuilder> getNodeSetsOrBuilderList()

Required. Configuration of Slurm nodesets, which define groups of compute resources that can be used by Slurm. At least one compute node is required.

repeated .google.cloud.hypercomputecluster.v1beta.SlurmNodeSet node_sets = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.hypercomputecluster.v1beta.SlurmNodeSetOrBuilder>

getPartitions(int index)

public SlurmPartition getPartitions(int index)

Required. Configuration of Slurm partitions, which group one or more nodesets. Acts as a queue against which jobs can be submitted. At least one partition is required.

repeated .google.cloud.hypercomputecluster.v1beta.SlurmPartition partitions = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
SlurmPartition

getPartitionsBuilder(int index)

public SlurmPartition.Builder getPartitionsBuilder(int index)

Required. Configuration of Slurm partitions, which group one or more nodesets. Acts as a queue against which jobs can be submitted. At least one partition is required.

repeated .google.cloud.hypercomputecluster.v1beta.SlurmPartition partitions = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
SlurmPartition.Builder

getPartitionsBuilderList()

public List<SlurmPartition.Builder> getPartitionsBuilderList()

Required. Configuration of Slurm partitions, which group one or more nodesets. Acts as a queue against which jobs can be submitted. At least one partition is required.

repeated .google.cloud.hypercomputecluster.v1beta.SlurmPartition partitions = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getPartitionsCount()

public int getPartitionsCount()

Required. Configuration of Slurm partitions, which group one or more nodesets. Acts as a queue against which jobs can be submitted. At least one partition is required.

repeated .google.cloud.hypercomputecluster.v1beta.SlurmPartition partitions = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getPartitionsList()

public List<SlurmPartition> getPartitionsList()

Required. Configuration of Slurm partitions, which group one or more nodesets. Acts as a queue against which jobs can be submitted. At least one partition is required.

repeated .google.cloud.hypercomputecluster.v1beta.SlurmPartition partitions = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<SlurmPartition>

getPartitionsOrBuilder(int index)

public SlurmPartitionOrBuilder getPartitionsOrBuilder(int index)

Required. Configuration of Slurm partitions, which group one or more nodesets. Acts as a queue against which jobs can be submitted. At least one partition is required.

repeated .google.cloud.hypercomputecluster.v1beta.SlurmPartition partitions = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
SlurmPartitionOrBuilder

getPartitionsOrBuilderList()

public List<? extends SlurmPartitionOrBuilder> getPartitionsOrBuilderList()

Required. Configuration of Slurm partitions, which group one or more nodesets. Acts as a queue against which jobs can be submitted. At least one partition is required.

repeated .google.cloud.hypercomputecluster.v1beta.SlurmPartition partitions = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.hypercomputecluster.v1beta.SlurmPartitionOrBuilder>

getPrologBashScripts(int index)

public String getPrologBashScripts(int index)

Optional. Slurm prolog scripts, which will be executed by compute nodes before a node begins running a new job. Values must not be empty.

repeated string prolog_bash_scripts = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The prologBashScripts at the given index.

getPrologBashScriptsBytes(int index)

public ByteString getPrologBashScriptsBytes(int index)

Optional. Slurm prolog scripts, which will be executed by compute nodes before a node begins running a new job. Values must not be empty.

repeated string prolog_bash_scripts = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the prologBashScripts at the given index.

getPrologBashScriptsCount()

public int getPrologBashScriptsCount()

Optional. Slurm prolog scripts, which will be executed by compute nodes before a node begins running a new job. Values must not be empty.

repeated string prolog_bash_scripts = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of prologBashScripts.

getPrologBashScriptsList()

public ProtocolStringList getPrologBashScriptsList()

Optional. Slurm prolog scripts, which will be executed by compute nodes before a node begins running a new job. Values must not be empty.

repeated string prolog_bash_scripts = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the prologBashScripts.

hasLoginNodes()

public boolean hasLoginNodes()

Required. Configuration for login nodes, which allow users to access the cluster over SSH.

.google.cloud.hypercomputecluster.v1beta.SlurmLoginNodes login_nodes = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the loginNodes field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SlurmOrchestrator other)

public SlurmOrchestrator.Builder mergeFrom(SlurmOrchestrator other)
Parameter
Name Description
other SlurmOrchestrator
Returns
Type Description
SlurmOrchestrator.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SlurmOrchestrator.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SlurmOrchestrator.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SlurmOrchestrator.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SlurmOrchestrator.Builder
Overrides

mergeLoginNodes(SlurmLoginNodes value)

public SlurmOrchestrator.Builder mergeLoginNodes(SlurmLoginNodes value)

Required. Configuration for login nodes, which allow users to access the cluster over SSH.

.google.cloud.hypercomputecluster.v1beta.SlurmLoginNodes login_nodes = 6 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value SlurmLoginNodes
Returns
Type Description
SlurmOrchestrator.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SlurmOrchestrator.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SlurmOrchestrator.Builder
Overrides

removeNodeSets(int index)

public SlurmOrchestrator.Builder removeNodeSets(int index)

Required. Configuration of Slurm nodesets, which define groups of compute resources that can be used by Slurm. At least one compute node is required.

repeated .google.cloud.hypercomputecluster.v1beta.SlurmNodeSet node_sets = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
SlurmOrchestrator.Builder

removePartitions(int index)

public SlurmOrchestrator.Builder removePartitions(int index)

Required. Configuration of Slurm partitions, which group one or more nodesets. Acts as a queue against which jobs can be submitted. At least one partition is required.

repeated .google.cloud.hypercomputecluster.v1beta.SlurmPartition partitions = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
SlurmOrchestrator.Builder

setDefaultPartition(String value)

public SlurmOrchestrator.Builder setDefaultPartition(String value)

Optional. Default partition to use for submitted jobs that do not explicitly specify a partition. Required if and only if there is more than one partition, in which case it must match the id of one of the partitions.

string default_partition = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The defaultPartition to set.

Returns
Type Description
SlurmOrchestrator.Builder

This builder for chaining.

setDefaultPartitionBytes(ByteString value)

public SlurmOrchestrator.Builder setDefaultPartitionBytes(ByteString value)

Optional. Default partition to use for submitted jobs that do not explicitly specify a partition. Required if and only if there is more than one partition, in which case it must match the id of one of the partitions.

string default_partition = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for defaultPartition to set.

Returns
Type Description
SlurmOrchestrator.Builder

This builder for chaining.

setEpilogBashScripts(int index, String value)

public SlurmOrchestrator.Builder setEpilogBashScripts(int index, String value)

Optional. Slurm epilog scripts, which will be executed by compute nodes whenever a node finishes running a job. Values must not be empty.

repeated string epilog_bash_scripts = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The epilogBashScripts to set.

Returns
Type Description
SlurmOrchestrator.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public SlurmOrchestrator.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SlurmOrchestrator.Builder
Overrides

setLoginNodes(SlurmLoginNodes value)

public SlurmOrchestrator.Builder setLoginNodes(SlurmLoginNodes value)

Required. Configuration for login nodes, which allow users to access the cluster over SSH.

.google.cloud.hypercomputecluster.v1beta.SlurmLoginNodes login_nodes = 6 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value SlurmLoginNodes
Returns
Type Description
SlurmOrchestrator.Builder

setLoginNodes(SlurmLoginNodes.Builder builderForValue)

public SlurmOrchestrator.Builder setLoginNodes(SlurmLoginNodes.Builder builderForValue)

Required. Configuration for login nodes, which allow users to access the cluster over SSH.

.google.cloud.hypercomputecluster.v1beta.SlurmLoginNodes login_nodes = 6 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue SlurmLoginNodes.Builder
Returns
Type Description
SlurmOrchestrator.Builder

setNodeSets(int index, SlurmNodeSet value)

public SlurmOrchestrator.Builder setNodeSets(int index, SlurmNodeSet value)

Required. Configuration of Slurm nodesets, which define groups of compute resources that can be used by Slurm. At least one compute node is required.

repeated .google.cloud.hypercomputecluster.v1beta.SlurmNodeSet node_sets = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value SlurmNodeSet
Returns
Type Description
SlurmOrchestrator.Builder

setNodeSets(int index, SlurmNodeSet.Builder builderForValue)

public SlurmOrchestrator.Builder setNodeSets(int index, SlurmNodeSet.Builder builderForValue)

Required. Configuration of Slurm nodesets, which define groups of compute resources that can be used by Slurm. At least one compute node is required.

repeated .google.cloud.hypercomputecluster.v1beta.SlurmNodeSet node_sets = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue SlurmNodeSet.Builder
Returns
Type Description
SlurmOrchestrator.Builder

setPartitions(int index, SlurmPartition value)

public SlurmOrchestrator.Builder setPartitions(int index, SlurmPartition value)

Required. Configuration of Slurm partitions, which group one or more nodesets. Acts as a queue against which jobs can be submitted. At least one partition is required.

repeated .google.cloud.hypercomputecluster.v1beta.SlurmPartition partitions = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value SlurmPartition
Returns
Type Description
SlurmOrchestrator.Builder

setPartitions(int index, SlurmPartition.Builder builderForValue)

public SlurmOrchestrator.Builder setPartitions(int index, SlurmPartition.Builder builderForValue)

Required. Configuration of Slurm partitions, which group one or more nodesets. Acts as a queue against which jobs can be submitted. At least one partition is required.

repeated .google.cloud.hypercomputecluster.v1beta.SlurmPartition partitions = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue SlurmPartition.Builder
Returns
Type Description
SlurmOrchestrator.Builder

setPrologBashScripts(int index, String value)

public SlurmOrchestrator.Builder setPrologBashScripts(int index, String value)

Optional. Slurm prolog scripts, which will be executed by compute nodes before a node begins running a new job. Values must not be empty.

repeated string prolog_bash_scripts = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The prologBashScripts to set.

Returns
Type Description
SlurmOrchestrator.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SlurmOrchestrator.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SlurmOrchestrator.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SlurmOrchestrator.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SlurmOrchestrator.Builder
Overrides