Interface SlurmPartitionOrBuilder (0.1.0)

public interface SlurmPartitionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getId()

public abstract String getId()

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()

public abstract ByteString getIdBytes()

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)

public abstract String getNodeSetIds(int index)

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)

public abstract ByteString getNodeSetIdsBytes(int index)

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()

public abstract int getNodeSetIdsCount()

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()

public abstract List<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.