Interface SlurmNodeSetOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SlurmNodeSet,SlurmNodeSet.Builder
@Generated
public interface SlurmNodeSetOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.com.google.protobuf.ByteStringOptional.Optional.Optional.getId()Required.com.google.protobuf.ByteStringRequired.longOptional.longOptional.getStorageConfigs(int index) Optional.intOptional.Optional.getStorageConfigsOrBuilder(int index) Optional.List<? extends StorageConfigOrBuilder>Optional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasComputeInstance
boolean hasComputeInstance()Optional. If set, indicates that the nodeset should be backed by Compute Engine instances.
.google.cloud.hypercomputecluster.v1.ComputeInstanceSlurmNodeSet compute_instance = 17 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the computeInstance field is set.
-
getComputeInstance
ComputeInstanceSlurmNodeSet getComputeInstance()Optional. If set, indicates that the nodeset should be backed by Compute Engine instances.
.google.cloud.hypercomputecluster.v1.ComputeInstanceSlurmNodeSet compute_instance = 17 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The computeInstance.
-
getComputeInstanceOrBuilder
ComputeInstanceSlurmNodeSetOrBuilder getComputeInstanceOrBuilder()Optional. If set, indicates that the nodeset should be backed by Compute Engine instances.
.google.cloud.hypercomputecluster.v1.ComputeInstanceSlurmNodeSet compute_instance = 17 [(.google.api.field_behavior) = OPTIONAL]; -
getId
String getId()Required. Identifier for the nodeset, which allows it to be referenced by partitions. Must conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034) (lower-case, alphanumeric, and at most 63 characters).
string id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()Required. Identifier for the nodeset, which allows it to be referenced by partitions. Must conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034) (lower-case, alphanumeric, and at most 63 characters).
string id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for id.
-
getComputeId
String getComputeId()Optional. ID of the compute resource on which this nodeset will run. Must match a key in the cluster's [compute_resources][google.cloud.hypercomputecluster.v1.Cluster.compute_resources].
string compute_id = 16 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The computeId.
-
getComputeIdBytes
com.google.protobuf.ByteString getComputeIdBytes()Optional. ID of the compute resource on which this nodeset will run. Must match a key in the cluster's [compute_resources][google.cloud.hypercomputecluster.v1.Cluster.compute_resources].
string compute_id = 16 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for computeId.
-
getStorageConfigsList
List<StorageConfig> getStorageConfigsList()Optional. How [storage resources][google.cloud.hypercomputecluster.v1.StorageResource] should be mounted on each compute node.
repeated .google.cloud.hypercomputecluster.v1.StorageConfig storage_configs = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getStorageConfigs
Optional. How [storage resources][google.cloud.hypercomputecluster.v1.StorageResource] should be mounted on each compute node.
repeated .google.cloud.hypercomputecluster.v1.StorageConfig storage_configs = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getStorageConfigsCount
int getStorageConfigsCount()Optional. How [storage resources][google.cloud.hypercomputecluster.v1.StorageResource] should be mounted on each compute node.
repeated .google.cloud.hypercomputecluster.v1.StorageConfig storage_configs = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getStorageConfigsOrBuilderList
List<? extends StorageConfigOrBuilder> getStorageConfigsOrBuilderList()Optional. How [storage resources][google.cloud.hypercomputecluster.v1.StorageResource] should be mounted on each compute node.
repeated .google.cloud.hypercomputecluster.v1.StorageConfig storage_configs = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getStorageConfigsOrBuilder
Optional. How [storage resources][google.cloud.hypercomputecluster.v1.StorageResource] should be mounted on each compute node.
repeated .google.cloud.hypercomputecluster.v1.StorageConfig storage_configs = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getStaticNodeCount
long getStaticNodeCount()Optional. Number of nodes to be statically created for this nodeset. The cluster will attempt to ensure that at least this many nodes exist at all times.
int64 static_node_count = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The staticNodeCount.
-
getMaxDynamicNodeCount
long getMaxDynamicNodeCount()Optional. Controls how many additional nodes a cluster can bring online to handle workloads. Set this value to enable dynamic node creation and limit the number of additional nodes the cluster can bring online. Leave empty if you do not want the cluster to create nodes dynamically, and instead rely only on static nodes.
int64 max_dynamic_node_count = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The maxDynamicNodeCount.
-
getTypeCase
SlurmNodeSet.TypeCase getTypeCase()
-