Class SlurmOrchestrator
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.hypercomputecluster.v1.SlurmOrchestrator
- All Implemented Interfaces:
SlurmOrchestratorOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class SlurmOrchestrator
extends com.google.protobuf.GeneratedMessage
implements SlurmOrchestratorOrBuilder
When set in [Orchestrator][google.cloud.hypercomputecluster.v1.Orchestrator], indicates that the cluster should use [Slurm](https://slurm.schedmd.com/) as the orchestrator.Protobuf type
google.cloud.hypercomputecluster.v1.SlurmOrchestrator- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classWhen set in [Orchestrator][google.cloud.hypercomputecluster.v1.Orchestrator], indicates that the cluster should use [Slurm](https://slurm.schedmd.com/) as the orchestrator.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic SlurmOrchestratorOptional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.DescriptorgetEpilogBashScripts(int index) Optional.com.google.protobuf.ByteStringgetEpilogBashScriptsBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.Required.Required.getNodeSets(int index) Optional.intOptional.Optional.getNodeSetsOrBuilder(int index) Optional.List<? extends SlurmNodeSetOrBuilder>Optional.com.google.protobuf.Parser<SlurmOrchestrator>getPartitions(int index) Optional.intOptional.Optional.getPartitionsOrBuilder(int index) Optional.List<? extends SlurmPartitionOrBuilder>Optional.getPrologBashScripts(int index) Optional.com.google.protobuf.ByteStringgetPrologBashScriptsBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.intinthashCode()booleanRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic SlurmOrchestrator.Builderstatic SlurmOrchestrator.BuildernewBuilder(SlurmOrchestrator prototype) protected SlurmOrchestrator.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static SlurmOrchestratorparseDelimitedFrom(InputStream input) static SlurmOrchestratorparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SlurmOrchestratorparseFrom(byte[] data) static SlurmOrchestratorparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SlurmOrchestratorparseFrom(com.google.protobuf.ByteString data) static SlurmOrchestratorparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SlurmOrchestratorparseFrom(com.google.protobuf.CodedInputStream input) static SlurmOrchestratorparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SlurmOrchestratorparseFrom(InputStream input) static SlurmOrchestratorparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SlurmOrchestratorparseFrom(ByteBuffer data) static SlurmOrchestratorparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<SlurmOrchestrator>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
LOGIN_NODES_FIELD_NUMBER
public static final int LOGIN_NODES_FIELD_NUMBER- See Also:
-
NODE_SETS_FIELD_NUMBER
public static final int NODE_SETS_FIELD_NUMBER- See Also:
-
PARTITIONS_FIELD_NUMBER
public static final int PARTITIONS_FIELD_NUMBER- See Also:
-
DEFAULT_PARTITION_FIELD_NUMBER
public static final int DEFAULT_PARTITION_FIELD_NUMBER- See Also:
-
PROLOG_BASH_SCRIPTS_FIELD_NUMBER
public static final int PROLOG_BASH_SCRIPTS_FIELD_NUMBER- See Also:
-
EPILOG_BASH_SCRIPTS_FIELD_NUMBER
public static final int EPILOG_BASH_SCRIPTS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasLoginNodes
public boolean hasLoginNodes()Required. Configuration for login nodes, which allow users to access the cluster over SSH.
.google.cloud.hypercomputecluster.v1.SlurmLoginNodes login_nodes = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasLoginNodesin interfaceSlurmOrchestratorOrBuilder- Returns:
- Whether the loginNodes field is set.
-
getLoginNodes
Required. Configuration for login nodes, which allow users to access the cluster over SSH.
.google.cloud.hypercomputecluster.v1.SlurmLoginNodes login_nodes = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getLoginNodesin interfaceSlurmOrchestratorOrBuilder- Returns:
- The loginNodes.
-
getLoginNodesOrBuilder
Required. Configuration for login nodes, which allow users to access the cluster over SSH.
.google.cloud.hypercomputecluster.v1.SlurmLoginNodes login_nodes = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getLoginNodesOrBuilderin interfaceSlurmOrchestratorOrBuilder
-
getNodeSetsList
Optional. Compute resource configuration for the Slurm nodesets in your cluster. If not specified, the cluster won't create any nodes.
repeated .google.cloud.hypercomputecluster.v1.SlurmNodeSet node_sets = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNodeSetsListin interfaceSlurmOrchestratorOrBuilder
-
getNodeSetsOrBuilderList
Optional. Compute resource configuration for the Slurm nodesets in your cluster. If not specified, the cluster won't create any nodes.
repeated .google.cloud.hypercomputecluster.v1.SlurmNodeSet node_sets = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNodeSetsOrBuilderListin interfaceSlurmOrchestratorOrBuilder
-
getNodeSetsCount
public int getNodeSetsCount()Optional. Compute resource configuration for the Slurm nodesets in your cluster. If not specified, the cluster won't create any nodes.
repeated .google.cloud.hypercomputecluster.v1.SlurmNodeSet node_sets = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNodeSetsCountin interfaceSlurmOrchestratorOrBuilder
-
getNodeSets
Optional. Compute resource configuration for the Slurm nodesets in your cluster. If not specified, the cluster won't create any nodes.
repeated .google.cloud.hypercomputecluster.v1.SlurmNodeSet node_sets = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNodeSetsin interfaceSlurmOrchestratorOrBuilder
-
getNodeSetsOrBuilder
Optional. Compute resource configuration for the Slurm nodesets in your cluster. If not specified, the cluster won't create any nodes.
repeated .google.cloud.hypercomputecluster.v1.SlurmNodeSet node_sets = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNodeSetsOrBuilderin interfaceSlurmOrchestratorOrBuilder
-
getPartitionsList
Optional. Configuration for the Slurm partitions in your cluster. Each partition can contain one or more nodesets, and you can submit separate jobs on each partition. If you don't specify at least one partition in your cluster, you can't submit jobs to the cluster.
repeated .google.cloud.hypercomputecluster.v1.SlurmPartition partitions = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPartitionsListin interfaceSlurmOrchestratorOrBuilder
-
getPartitionsOrBuilderList
Optional. Configuration for the Slurm partitions in your cluster. Each partition can contain one or more nodesets, and you can submit separate jobs on each partition. If you don't specify at least one partition in your cluster, you can't submit jobs to the cluster.
repeated .google.cloud.hypercomputecluster.v1.SlurmPartition partitions = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPartitionsOrBuilderListin interfaceSlurmOrchestratorOrBuilder
-
getPartitionsCount
public int getPartitionsCount()Optional. Configuration for the Slurm partitions in your cluster. Each partition can contain one or more nodesets, and you can submit separate jobs on each partition. If you don't specify at least one partition in your cluster, you can't submit jobs to the cluster.
repeated .google.cloud.hypercomputecluster.v1.SlurmPartition partitions = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPartitionsCountin interfaceSlurmOrchestratorOrBuilder
-
getPartitions
Optional. Configuration for the Slurm partitions in your cluster. Each partition can contain one or more nodesets, and you can submit separate jobs on each partition. If you don't specify at least one partition in your cluster, you can't submit jobs to the cluster.
repeated .google.cloud.hypercomputecluster.v1.SlurmPartition partitions = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPartitionsin interfaceSlurmOrchestratorOrBuilder
-
getPartitionsOrBuilder
Optional. Configuration for the Slurm partitions in your cluster. Each partition can contain one or more nodesets, and you can submit separate jobs on each partition. If you don't specify at least one partition in your cluster, you can't submit jobs to the cluster.
repeated .google.cloud.hypercomputecluster.v1.SlurmPartition partitions = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPartitionsOrBuilderin interfaceSlurmOrchestratorOrBuilder
-
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];- Specified by:
getDefaultPartitionin interfaceSlurmOrchestratorOrBuilder- Returns:
- The defaultPartition.
-
getDefaultPartitionBytes
public com.google.protobuf.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];- Specified by:
getDefaultPartitionBytesin interfaceSlurmOrchestratorOrBuilder- Returns:
- The bytes for defaultPartition.
-
getPrologBashScriptsList
public com.google.protobuf.ProtocolStringList 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];- Specified by:
getPrologBashScriptsListin interfaceSlurmOrchestratorOrBuilder- Returns:
- A list containing the prologBashScripts.
-
getPrologBashScriptsCount
public 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];- Specified by:
getPrologBashScriptsCountin interfaceSlurmOrchestratorOrBuilder- Returns:
- The count of prologBashScripts.
-
getPrologBashScripts
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];- Specified by:
getPrologBashScriptsin interfaceSlurmOrchestratorOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The prologBashScripts at the given index.
-
getPrologBashScriptsBytes
public com.google.protobuf.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];- Specified by:
getPrologBashScriptsBytesin interfaceSlurmOrchestratorOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the prologBashScripts at the given index.
-
getEpilogBashScriptsList
public com.google.protobuf.ProtocolStringList 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];- Specified by:
getEpilogBashScriptsListin interfaceSlurmOrchestratorOrBuilder- Returns:
- A list containing the epilogBashScripts.
-
getEpilogBashScriptsCount
public 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];- Specified by:
getEpilogBashScriptsCountin interfaceSlurmOrchestratorOrBuilder- Returns:
- The count of epilogBashScripts.
-
getEpilogBashScripts
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];- Specified by:
getEpilogBashScriptsin interfaceSlurmOrchestratorOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The epilogBashScripts at the given index.
-
getEpilogBashScriptsBytes
public com.google.protobuf.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];- Specified by:
getEpilogBashScriptsBytesin interfaceSlurmOrchestratorOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the epilogBashScripts at the given index.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static SlurmOrchestrator parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SlurmOrchestrator parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SlurmOrchestrator parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SlurmOrchestrator parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SlurmOrchestrator parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SlurmOrchestrator parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static SlurmOrchestrator parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static SlurmOrchestrator parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static SlurmOrchestrator parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static SlurmOrchestrator parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SlurmOrchestrator.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-