Interface SlurmOrchestratorOrBuilder (0.1.0)

public interface SlurmOrchestratorOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDefaultPartition()

public abstract 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 abstract 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.

getEpilogBashScripts(int index)

public abstract 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 abstract 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 abstract 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 abstract List<String> 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
List<String>

A list containing the epilogBashScripts.

getLoginNodes()

public abstract 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.

getLoginNodesOrBuilder()

public abstract 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 abstract 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

getNodeSetsCount()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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

getPartitionsCount()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract List<String> 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
List<String>

A list containing the prologBashScripts.

hasLoginNodes()

public abstract 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.