Class Node (0.23.0)

public final class Node extends GeneratedMessage implements NodeOrBuilder

A resource representing a compute node managed by Cluster Director.

Protobuf type google.cloud.hypercomputecluster.v1beta.Node

Implements

NodeOrBuilder

Static Fields

ACCEPTING_JOBS_FIELD_NUMBER

public static final int ACCEPTING_JOBS_FIELD_NUMBER
Field Value
Type Description
int

COMPUTE_ENGINE_DETAILS_FIELD_NUMBER

public static final int COMPUTE_ENGINE_DETAILS_FIELD_NUMBER
Field Value
Type Description
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

PROVISIONING_MODEL_FIELD_NUMBER

public static final int PROVISIONING_MODEL_FIELD_NUMBER
Field Value
Type Description
int

RUNNING_JOBS_FIELD_NUMBER

public static final int RUNNING_JOBS_FIELD_NUMBER
Field Value
Type Description
int

SLURM_DETAILS_FIELD_NUMBER

public static final int SLURM_DETAILS_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

STATE_MESSAGE_FIELD_NUMBER

public static final int STATE_MESSAGE_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

ZONE_FIELD_NUMBER

public static final int ZONE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Node getDefaultInstance()
Returns
Type Description
Node

getDescriptor()

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

newBuilder()

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

newBuilder(Node prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAcceptingJobs()

public boolean getAcceptingJobs()

Output only. Indicates whether the node is available for new job allocations.

bool accepting_jobs = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The acceptingJobs.

getComputeEngineDetails()

public ComputeEngineNodeDetails getComputeEngineDetails()

Output only. Compute Engine-specific details for the node.

.google.cloud.hypercomputecluster.v1beta.ComputeEngineNodeDetails compute_engine_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ComputeEngineNodeDetails

The computeEngineDetails.

getComputeEngineDetailsOrBuilder()

public ComputeEngineNodeDetailsOrBuilder getComputeEngineDetailsOrBuilder()

Output only. Compute Engine-specific details for the node.

.google.cloud.hypercomputecluster.v1beta.ComputeEngineNodeDetails compute_engine_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ComputeEngineNodeDetailsOrBuilder

getCreateTime()

public Timestamp getCreateTime()

Output only. Time that the node was originally created.

.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Time that the node was originally created.

.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public Node getDefaultInstanceForType()
Returns
Type Description
Node

getName()

public String getName()

Identifier. Relative resource name of the node, in the format projects/{project}/locations/{location}/clusters/{cluster}/nodes/{node}.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. Relative resource name of the node, in the format projects/{project}/locations/{location}/clusters/{cluster}/nodes/{node}.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

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

getProvisioningModel()

public Node.ProvisioningModel getProvisioningModel()

Output only. Provisioning model of the node.

.google.cloud.hypercomputecluster.v1beta.Node.ProvisioningModel provisioning_model = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Node.ProvisioningModel

The provisioningModel.

getProvisioningModelValue()

public int getProvisioningModelValue()

Output only. Provisioning model of the node.

.google.cloud.hypercomputecluster.v1beta.Node.ProvisioningModel provisioning_model = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for provisioningModel.

getRunningJobs()

public boolean getRunningJobs()

Output only. Indicates whether the node is currently executing workloads.

bool running_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The runningJobs.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSlurmDetails()

public SlurmNodeDetails getSlurmDetails()

Output only. Slurm-specific details for the node.

.google.cloud.hypercomputecluster.v1beta.SlurmNodeDetails slurm_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SlurmNodeDetails

The slurmDetails.

getSlurmDetailsOrBuilder()

public SlurmNodeDetailsOrBuilder getSlurmDetailsOrBuilder()

Output only. Slurm-specific details for the node.

.google.cloud.hypercomputecluster.v1beta.SlurmNodeDetails slurm_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SlurmNodeDetailsOrBuilder

getState()

public Node.State getState()

Output only. High-level lifecycle state of the node.

.google.cloud.hypercomputecluster.v1beta.Node.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Node.State

The state.

getStateMessage()

public String getStateMessage()

Output only. Human-readable message providing extra information about the current state.

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

Returns
Type Description
String

The stateMessage.

getStateMessageBytes()

public ByteString getStateMessageBytes()

Output only. Human-readable message providing extra information about the current state.

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

Returns
Type Description
ByteString

The bytes for stateMessage.

getStateValue()

public int getStateValue()

Output only. High-level lifecycle state of the node.

.google.cloud.hypercomputecluster.v1beta.Node.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. Time that the node was most recently updated.

.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Time that the node was most recently updated.

.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getZone()

public String getZone()

Output only. Name of the zone in which the node is running, e.g. us-central1-a.

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

Returns
Type Description
String

The zone.

getZoneBytes()

public ByteString getZoneBytes()

Output only. Name of the zone in which the node is running, e.g. us-central1-a.

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

Returns
Type Description
ByteString

The bytes for zone.

hasComputeEngineDetails()

public boolean hasComputeEngineDetails()

Output only. Compute Engine-specific details for the node.

.google.cloud.hypercomputecluster.v1beta.ComputeEngineNodeDetails compute_engine_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the computeEngineDetails field is set.

hasCreateTime()

public boolean hasCreateTime()

Output only. Time that the node was originally created.

.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasSlurmDetails()

public boolean hasSlurmDetails()

Output only. Slurm-specific details for the node.

.google.cloud.hypercomputecluster.v1beta.SlurmNodeDetails slurm_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the slurmDetails field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. Time that the node was most recently updated.

.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

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 Node.Builder newBuilderForType()
Returns
Type Description
Node.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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