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:
  • 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:
      internalGetFieldAccessorTable in class com.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:
      hasLoginNodes in interface SlurmOrchestratorOrBuilder
      Returns:
      Whether the loginNodes field is set.
    • getLoginNodes

      public SlurmLoginNodes 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:
      getLoginNodes in interface SlurmOrchestratorOrBuilder
      Returns:
      The loginNodes.
    • getLoginNodesOrBuilder

      public SlurmLoginNodesOrBuilder 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:
      getLoginNodesOrBuilder in interface SlurmOrchestratorOrBuilder
    • getNodeSetsList

      public List<SlurmNodeSet> 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:
      getNodeSetsList in interface SlurmOrchestratorOrBuilder
    • getNodeSetsOrBuilderList

      public List<? extends SlurmNodeSetOrBuilder> 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:
      getNodeSetsOrBuilderList in interface SlurmOrchestratorOrBuilder
    • 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:
      getNodeSetsCount in interface SlurmOrchestratorOrBuilder
    • getNodeSets

      public SlurmNodeSet getNodeSets(int index)
       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:
      getNodeSets in interface SlurmOrchestratorOrBuilder
    • getNodeSetsOrBuilder

      public SlurmNodeSetOrBuilder getNodeSetsOrBuilder(int index)
       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:
      getNodeSetsOrBuilder in interface SlurmOrchestratorOrBuilder
    • getPartitionsList

      public List<SlurmPartition> 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:
      getPartitionsList in interface SlurmOrchestratorOrBuilder
    • getPartitionsOrBuilderList

      public List<? extends SlurmPartitionOrBuilder> 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:
      getPartitionsOrBuilderList in interface SlurmOrchestratorOrBuilder
    • 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:
      getPartitionsCount in interface SlurmOrchestratorOrBuilder
    • getPartitions

      public SlurmPartition getPartitions(int index)
       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:
      getPartitions in interface SlurmOrchestratorOrBuilder
    • getPartitionsOrBuilder

      public SlurmPartitionOrBuilder getPartitionsOrBuilder(int index)
       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:
      getPartitionsOrBuilder in interface SlurmOrchestratorOrBuilder
    • 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];
      Specified by:
      getDefaultPartition in interface SlurmOrchestratorOrBuilder
      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:
      getDefaultPartitionBytes in interface SlurmOrchestratorOrBuilder
      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:
      getPrologBashScriptsList in interface SlurmOrchestratorOrBuilder
      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:
      getPrologBashScriptsCount in interface SlurmOrchestratorOrBuilder
      Returns:
      The count of prologBashScripts.
    • getPrologBashScripts

      public 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];
      Specified by:
      getPrologBashScripts in interface SlurmOrchestratorOrBuilder
      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:
      getPrologBashScriptsBytes in interface SlurmOrchestratorOrBuilder
      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:
      getEpilogBashScriptsList in interface SlurmOrchestratorOrBuilder
      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:
      getEpilogBashScriptsCount in interface SlurmOrchestratorOrBuilder
      Returns:
      The count of epilogBashScripts.
    • getEpilogBashScripts

      public 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];
      Specified by:
      getEpilogBashScripts in interface SlurmOrchestratorOrBuilder
      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:
      getEpilogBashScriptsBytes in interface SlurmOrchestratorOrBuilder
      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:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static SlurmOrchestrator parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SlurmOrchestrator parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SlurmOrchestrator parseDelimitedFrom(InputStream input) throws IOException
      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

      public SlurmOrchestrator.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static SlurmOrchestrator.Builder newBuilder()
    • newBuilder

      public static SlurmOrchestrator.Builder newBuilder(SlurmOrchestrator prototype)
    • toBuilder

      public SlurmOrchestrator.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected SlurmOrchestrator.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static SlurmOrchestrator getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<SlurmOrchestrator> parser()
    • getParserForType

      public com.google.protobuf.Parser<SlurmOrchestrator> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public SlurmOrchestrator getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder