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
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
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()
newBuilder()
public static Node.Builder newBuilder()
newBuilder(Node prototype)
public static Node.Builder newBuilder(Node prototype)
| Parameter |
| Name |
Description |
prototype |
Node
|
public static Node parseDelimitedFrom(InputStream input)
| Returns |
| Type |
Description |
Node |
|
public static Node parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Node |
|
parseFrom(byte[] data)
public static Node parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
| Returns |
| Type |
Description |
Node |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Node parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Node |
|
parseFrom(ByteString data)
public static Node parseFrom(ByteString data)
| Returns |
| Type |
Description |
Node |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Node parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Node |
|
public static Node parseFrom(CodedInputStream input)
| Returns |
| Type |
Description |
Node |
|
public static Node parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Node |
|
public static Node parseFrom(InputStream input)
| Returns |
| Type |
Description |
Node |
|
public static Node parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Node |
|
parseFrom(ByteBuffer data)
public static Node parseFrom(ByteBuffer data)
| Returns |
| Type |
Description |
Node |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Node parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Node |
|
parser()
public static Parser<Node> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
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];
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];
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];
getDefaultInstanceForType()
public Node getDefaultInstanceForType()
| Returns |
| Type |
Description |
Node |
|
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()
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];
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];
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];
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];
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];
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()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Node.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Node.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public Node.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides