Interface SlurmPartitionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SlurmPartition,SlurmPartition.Builder
@Generated
public interface SlurmPartitionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetId()Required.com.google.protobuf.ByteStringRequired.getNodeSetIds(int index) Required.com.google.protobuf.ByteStringgetNodeSetIdsBytes(int index) Required.intRequired.Required.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
-
getId
String getId()Required. ID of the partition, which is how users will identify it. 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. ID of the partition, which is how users will identify it. 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.
-
getNodeSetIdsList
Required. IDs of the nodesets that make up this partition. Values must match [SlurmNodeSet.id][google.cloud.hypercomputecluster.v1.SlurmNodeSet.id].
repeated string node_set_ids = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- A list containing the nodeSetIds.
-
getNodeSetIdsCount
int getNodeSetIdsCount()Required. IDs of the nodesets that make up this partition. Values must match [SlurmNodeSet.id][google.cloud.hypercomputecluster.v1.SlurmNodeSet.id].
repeated string node_set_ids = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The count of nodeSetIds.
-
getNodeSetIds
Required. IDs of the nodesets that make up this partition. Values must match [SlurmNodeSet.id][google.cloud.hypercomputecluster.v1.SlurmNodeSet.id].
repeated string node_set_ids = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
index- The index of the element to return.- Returns:
- The nodeSetIds at the given index.
-
getNodeSetIdsBytes
com.google.protobuf.ByteString getNodeSetIdsBytes(int index) Required. IDs of the nodesets that make up this partition. Values must match [SlurmNodeSet.id][google.cloud.hypercomputecluster.v1.SlurmNodeSet.id].
repeated string node_set_ids = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the nodeSetIds at the given index.
-