Class SlurmOrchestrator (0.1.0)

publicfinalclass SlurmOrchestratorextendsGeneratedMessageV3implementsSlurmOrchestratorOrBuilder

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

publicstaticfinalintDEFAULT_PARTITION_FIELD_NUMBER
Field Value
Type Description
int

EPILOG_BASH_SCRIPTS_FIELD_NUMBER

publicstaticfinalintEPILOG_BASH_SCRIPTS_FIELD_NUMBER
Field Value
Type Description
int

LOGIN_NODES_FIELD_NUMBER

publicstaticfinalintLOGIN_NODES_FIELD_NUMBER
Field Value
Type Description
int

NODE_SETS_FIELD_NUMBER

publicstaticfinalintNODE_SETS_FIELD_NUMBER
Field Value
Type Description
int

PARTITIONS_FIELD_NUMBER

publicstaticfinalintPARTITIONS_FIELD_NUMBER
Field Value
Type Description
int

PROLOG_BASH_SCRIPTS_FIELD_NUMBER

publicstaticfinalintPROLOG_BASH_SCRIPTS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticSlurmOrchestratorgetDefaultInstance()
Returns
Type Description
SlurmOrchestrator

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticSlurmOrchestrator.BuildernewBuilder()
Returns
Type Description
SlurmOrchestrator.Builder

newBuilder(SlurmOrchestrator prototype)

publicstaticSlurmOrchestrator.BuildernewBuilder(SlurmOrchestratorprototype)
Parameter
Name Description
prototype SlurmOrchestrator
Returns
Type Description
SlurmOrchestrator.Builder

parseDelimitedFrom(InputStream input)

publicstaticSlurmOrchestratorparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
SlurmOrchestrator
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticSlurmOrchestratorparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SlurmOrchestrator
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticSlurmOrchestratorparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
SlurmOrchestrator
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticSlurmOrchestratorparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SlurmOrchestrator
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticSlurmOrchestratorparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
SlurmOrchestrator
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticSlurmOrchestratorparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SlurmOrchestrator
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticSlurmOrchestratorparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SlurmOrchestrator
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticSlurmOrchestratorparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SlurmOrchestrator
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticSlurmOrchestratorparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
SlurmOrchestrator
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticSlurmOrchestratorparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SlurmOrchestrator
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticSlurmOrchestratorparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SlurmOrchestrator
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticSlurmOrchestratorparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SlurmOrchestrator
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<SlurmOrchestrator>parser()
Returns
Type Description
Parser<SlurmOrchestrator>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

publicSlurmOrchestratorgetDefaultInstanceForType()
Returns
Type Description
SlurmOrchestrator

getDefaultPartition()

publicStringgetDefaultPartition()

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()

publicByteStringgetDefaultPartitionBytes()

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)

publicStringgetEpilogBashScripts(intindex)

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)

publicByteStringgetEpilogBashScriptsBytes(intindex)

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()

publicintgetEpilogBashScriptsCount()

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()

publicProtocolStringListgetEpilogBashScriptsList()

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()

publicSlurmLoginNodesgetLoginNodes()

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()

publicSlurmLoginNodesOrBuildergetLoginNodesOrBuilder()

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)

publicSlurmNodeSetgetNodeSets(intindex)

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()

publicintgetNodeSetsCount()

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()

publicList<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)

publicSlurmNodeSetOrBuildergetNodeSetsOrBuilder(intindex)

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()

publicList<?extendsSlurmNodeSetOrBuilder>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()

publicParser<SlurmOrchestrator>getParserForType()
Returns
Type Description
Parser<SlurmOrchestrator>
Overrides

getPartitions(int index)

publicSlurmPartitiongetPartitions(intindex)

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()

publicintgetPartitionsCount()

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()

publicList<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)

publicSlurmPartitionOrBuildergetPartitionsOrBuilder(intindex)

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()

publicList<?extendsSlurmPartitionOrBuilder>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)

publicStringgetPrologBashScripts(intindex)

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)

publicByteStringgetPrologBashScriptsBytes(intindex)

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()

publicintgetPrologBashScriptsCount()

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()

publicProtocolStringListgetPrologBashScriptsList()

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.

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

hasLoginNodes()

publicbooleanhasLoginNodes()

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()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicSlurmOrchestrator.BuildernewBuilderForType()
Returns
Type Description
SlurmOrchestrator.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedSlurmOrchestrator.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SlurmOrchestrator.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicSlurmOrchestrator.BuildertoBuilder()
Returns
Type Description
SlurmOrchestrator.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年12月17日 UTC.