Interface SlurmPartitionOrBuilder (0.1.0)

publicinterface SlurmPartitionOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getId()

publicabstractStringgetId()

Required. ID of the partition, which is how users will identify it. Must conform to RFC-1034 (lower-case, alphanumeric, and at most 63 characters).

string id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The id.

getIdBytes()

publicabstractByteStringgetIdBytes()

Required. ID of the partition, which is how users will identify it. Must conform to RFC-1034 (lower-case, alphanumeric, and at most 63 characters).

string id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for id.

getNodeSetIds(int index)

publicabstractStringgetNodeSetIds(intindex)

Required. IDs of the nodesets that make up this partition. Values must match SlurmNodeSet.id.

repeated string node_set_ids = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The nodeSetIds at the given index.

getNodeSetIdsBytes(int index)

publicabstractByteStringgetNodeSetIdsBytes(intindex)

Required. IDs of the nodesets that make up this partition. Values must match SlurmNodeSet.id.

repeated string node_set_ids = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the nodeSetIds at the given index.

getNodeSetIdsCount()

publicabstractintgetNodeSetIdsCount()

Required. IDs of the nodesets that make up this partition. Values must match SlurmNodeSet.id.

repeated string node_set_ids = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of nodeSetIds.

getNodeSetIdsList()

publicabstractList<String>getNodeSetIdsList()

Required. IDs of the nodesets that make up this partition. Values must match SlurmNodeSet.id.

repeated string node_set_ids = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<String>

A list containing the nodeSetIds.

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.