public final class SlurmOrchestrator extends GeneratedMessageV3 implements SlurmOrchestratorOrBuilder
When set in
Orchestrator,
indicates that the cluster should use Slurm as
the orchestrator.
Protobuf type google.cloud.hypercomputecluster.v1beta.SlurmOrchestrator
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
DEFAULT_PARTITION_FIELD_NUMBER
public static final int DEFAULT_PARTITION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
EPILOG_BASH_SCRIPTS_FIELD_NUMBER
public static final int EPILOG_BASH_SCRIPTS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
LOGIN_NODES_FIELD_NUMBER
public static final int LOGIN_NODES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
NODE_SETS_FIELD_NUMBER
public static final int NODE_SETS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
PARTITIONS_FIELD_NUMBER
public static final int PARTITIONS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
PROLOG_BASH_SCRIPTS_FIELD_NUMBER
public static final int PROLOG_BASH_SCRIPTS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static SlurmOrchestrator getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SlurmOrchestrator.Builder newBuilder()
newBuilder(SlurmOrchestrator prototype)
public static SlurmOrchestrator.Builder newBuilder(SlurmOrchestrator prototype)
public static SlurmOrchestrator parseDelimitedFrom(InputStream input)
public static SlurmOrchestrator parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SlurmOrchestrator parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SlurmOrchestrator parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SlurmOrchestrator parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SlurmOrchestrator parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SlurmOrchestrator parseFrom(CodedInputStream input)
public static SlurmOrchestrator parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SlurmOrchestrator parseFrom(InputStream input)
public static SlurmOrchestrator parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SlurmOrchestrator parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SlurmOrchestrator parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SlurmOrchestrator> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public SlurmOrchestrator getDefaultInstanceForType()
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.
|
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];
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];
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];
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
|
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];
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
|
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> |
|
getParserForType()
public Parser<SlurmOrchestrator> getParserForType()
Overrides
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
|
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];
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
|
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];
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
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.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SlurmOrchestrator.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SlurmOrchestrator.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
| Returns |
| Type |
Description |
Object |
|
Overrides
toBuilder()
public SlurmOrchestrator.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides