Class SlurmNodeDetails (0.23.0)

public final class SlurmNodeDetails extends GeneratedMessage implements SlurmNodeDetailsOrBuilder

Slurm-specific details for a Node.

Protobuf type google.cloud.hypercomputecluster.v1beta.SlurmNodeDetails

Static Fields

COMMENT_FIELD_NUMBER

public static final int COMMENT_FIELD_NUMBER
Field Value
Type Description
int

NODESET_FIELD_NUMBER

public static final int NODESET_FIELD_NUMBER
Field Value
Type Description
int

PARTITIONS_FIELD_NUMBER

public static final int PARTITIONS_FIELD_NUMBER
Field Value
Type Description
int

REASON_FIELD_NUMBER

public static final int REASON_FIELD_NUMBER
Field Value
Type Description
int

STATES_FIELD_NUMBER

public static final int STATES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SlurmNodeDetails getDefaultInstance()
Returns
Type Description
SlurmNodeDetails

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static SlurmNodeDetails.Builder newBuilder()
Returns
Type Description
SlurmNodeDetails.Builder

newBuilder(SlurmNodeDetails prototype)

public static SlurmNodeDetails.Builder newBuilder(SlurmNodeDetails prototype)
Parameter
Name Description
prototype SlurmNodeDetails
Returns
Type Description
SlurmNodeDetails.Builder

parseDelimitedFrom(InputStream input)

public static SlurmNodeDetails parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SlurmNodeDetails
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SlurmNodeDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SlurmNodeDetails
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SlurmNodeDetails parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SlurmNodeDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SlurmNodeDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SlurmNodeDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SlurmNodeDetails parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SlurmNodeDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SlurmNodeDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SlurmNodeDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SlurmNodeDetails parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SlurmNodeDetails
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SlurmNodeDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SlurmNodeDetails
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SlurmNodeDetails parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SlurmNodeDetails
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SlurmNodeDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SlurmNodeDetails
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SlurmNodeDetails parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SlurmNodeDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SlurmNodeDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SlurmNodeDetails
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SlurmNodeDetails> parser()
Returns
Type Description
Parser<SlurmNodeDetails>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getComment()

public String getComment()

Output only. System comments from Slurm.

string comment = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The comment.

getCommentBytes()

public ByteString getCommentBytes()

Output only. System comments from Slurm.

string comment = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for comment.

getDefaultInstanceForType()

public SlurmNodeDetails getDefaultInstanceForType()
Returns
Type Description
SlurmNodeDetails

getNodeset()

public String getNodeset()

Output only. The ID of the nodeset this node belongs to.

string nodeset = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The nodeset.

getNodesetBytes()

public ByteString getNodesetBytes()

Output only. The ID of the nodeset this node belongs to.

string nodeset = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for nodeset.

getParserForType()

public Parser<SlurmNodeDetails> getParserForType()
Returns
Type Description
Parser<SlurmNodeDetails>
Overrides

getPartitions(int index)

public String getPartitions(int index)

Output only. Slurm partitions this node belongs to.

repeated string partitions = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The partitions at the given index.

getPartitionsBytes(int index)

public ByteString getPartitionsBytes(int index)

Output only. Slurm partitions this node belongs to.

repeated string partitions = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the partitions at the given index.

getPartitionsCount()

public int getPartitionsCount()

Output only. Slurm partitions this node belongs to.

repeated string partitions = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of partitions.

getPartitionsList()

public ProtocolStringList getPartitionsList()

Output only. Slurm partitions this node belongs to.

repeated string partitions = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProtocolStringList

A list containing the partitions.

getReason()

public String getReason()

Output only. User-readable reason for the current state.

string reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The reason.

getReasonBytes()

public ByteString getReasonBytes()

Output only. User-readable reason for the current state.

string reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for reason.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStates(int index)

public String getStates(int index)

Output only. Raw state flags directly from Slurm.

repeated string states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The states at the given index.

getStatesBytes(int index)

public ByteString getStatesBytes(int index)

Output only. Raw state flags directly from Slurm.

repeated string states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the states at the given index.

getStatesCount()

public int getStatesCount()

Output only. Raw state flags directly from Slurm.

repeated string states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of states.

getStatesList()

public ProtocolStringList getStatesList()

Output only. Raw state flags directly from Slurm.

repeated string states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProtocolStringList

A list containing the states.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SlurmNodeDetails.Builder newBuilderForType()
Returns
Type Description
SlurmNodeDetails.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected SlurmNodeDetails.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SlurmNodeDetails.Builder
Overrides

toBuilder()

public SlurmNodeDetails.Builder toBuilder()
Returns
Type Description
SlurmNodeDetails.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException