# Interface SlurmOrchestratorOrBuilder (0.13.0)

0.13.0 (latest) 0.11.0 0.8.0 0.7.0 0.5.0 0.3.0 0.2.0 0.1.0

    public interface SlurmOrchestratorOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## 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** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | 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** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for defaultPartition. |

### getEpilogBashScripts(int index)

    public abstract String getEpilogBashScripts(int index)

Optional. Slurm [epilog
scripts](https://slurm.schedmd.com/prolog_epilog.html), 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` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the element to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The epilogBashScripts at the given index. |

### getEpilogBashScriptsBytes(int index)

    public abstract ByteString getEpilogBashScriptsBytes(int index)

Optional. Slurm [epilog
scripts](https://slurm.schedmd.com/prolog_epilog.html), 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` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the value to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes of the epilogBashScripts at the given index. |

### getEpilogBashScriptsCount()

    public abstract int getEpilogBashScriptsCount()

Optional. Slurm [epilog
scripts](https://slurm.schedmd.com/prolog_epilog.html), 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The count of epilogBashScripts. |

### getEpilogBashScriptsList()

    public abstract List<String> getEpilogBashScriptsList()

Optional. Slurm [epilog
scripts](https://slurm.schedmd.com/prolog_epilog.html), 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** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` | 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** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-hypercomputecluster/latest/com.google.cloud.hypercomputecluster.v1beta.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** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-hypercomputecluster/latest/com.google.cloud.hypercomputecluster.v1beta.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` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-hypercomputecluster/latest/com.google.cloud.hypercomputecluster.v1beta.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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### 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** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-hypercomputecluster/latest/com.google.cloud.hypercomputecluster.v1beta.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` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-hypercomputecluster/latest/com.google.cloud.hypercomputecluster.v1beta.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** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? 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` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-hypercomputecluster/latest/com.google.cloud.hypercomputecluster.v1beta.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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### 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** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-hypercomputecluster/latest/com.google.cloud.hypercomputecluster.v1beta.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` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-hypercomputecluster/latest/com.google.cloud.hypercomputecluster.v1beta.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** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.cloud.hypercomputecluster.v1beta.SlurmPartitionOrBuilder>` |   |

### getPrologBashScripts(int index)

    public abstract String getPrologBashScripts(int index)

Optional. Slurm [prolog
scripts](https://slurm.schedmd.com/prolog_epilog.html), 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` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the element to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The prologBashScripts at the given index. |

### getPrologBashScriptsBytes(int index)

    public abstract ByteString getPrologBashScriptsBytes(int index)

Optional. Slurm [prolog
scripts](https://slurm.schedmd.com/prolog_epilog.html), 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` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the value to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes of the prologBashScripts at the given index. |

### getPrologBashScriptsCount()

    public abstract int getPrologBashScriptsCount()

Optional. Slurm [prolog
scripts](https://slurm.schedmd.com/prolog_epilog.html), 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The count of prologBashScripts. |

### getPrologBashScriptsList()

    public abstract List<String> getPrologBashScriptsList()

Optional. Slurm [prolog
scripts](https://slurm.schedmd.com/prolog_epilog.html), 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** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` | 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the loginNodes field is set. |