public final class SlurmNodeSet extends GeneratedMessage implements SlurmNodeSetOrBuilder
Configuration for Slurm nodesets in the cluster. Nodesets are groups of
compute nodes used by Slurm that are responsible for running workloads
submitted to the cluster.
Protobuf type google.cloud.hypercomputecluster.v1beta.SlurmNodeSet
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
COMPUTE_ID_FIELD_NUMBER
public static final int COMPUTE_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
COMPUTE_INSTANCE_FIELD_NUMBER
public static final int COMPUTE_INSTANCE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
MAX_DYNAMIC_NODE_COUNT_FIELD_NUMBER
public static final int MAX_DYNAMIC_NODE_COUNT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
STATIC_NODE_COUNT_FIELD_NUMBER
public static final int STATIC_NODE_COUNT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
STORAGE_CONFIGS_FIELD_NUMBER
public static final int STORAGE_CONFIGS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static SlurmNodeSet getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SlurmNodeSet.Builder newBuilder()
newBuilder(SlurmNodeSet prototype)
public static SlurmNodeSet.Builder newBuilder(SlurmNodeSet prototype)
public static SlurmNodeSet parseDelimitedFrom(InputStream input)
public static SlurmNodeSet parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SlurmNodeSet parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SlurmNodeSet parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SlurmNodeSet parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SlurmNodeSet parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SlurmNodeSet parseFrom(CodedInputStream input)
public static SlurmNodeSet parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SlurmNodeSet parseFrom(InputStream input)
public static SlurmNodeSet parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SlurmNodeSet parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SlurmNodeSet parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SlurmNodeSet> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getComputeId()
public String getComputeId()
Optional. ID of the compute resource on which this nodeset will run. Must
match a key in the cluster's
compute_resources.
string compute_id = 16 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The computeId.
|
getComputeIdBytes()
public ByteString getComputeIdBytes()
Optional. ID of the compute resource on which this nodeset will run. Must
match a key in the cluster's
compute_resources.
string compute_id = 16 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for computeId.
|
getComputeInstance()
public ComputeInstanceSlurmNodeSet getComputeInstance()
Optional. If set, indicates that the nodeset should be backed by Compute
Engine instances.
.google.cloud.hypercomputecluster.v1beta.ComputeInstanceSlurmNodeSet compute_instance = 17 [(.google.api.field_behavior) = OPTIONAL];
getComputeInstanceOrBuilder()
public ComputeInstanceSlurmNodeSetOrBuilder getComputeInstanceOrBuilder()
Optional. If set, indicates that the nodeset should be backed by Compute
Engine instances.
.google.cloud.hypercomputecluster.v1beta.ComputeInstanceSlurmNodeSet compute_instance = 17 [(.google.api.field_behavior) = OPTIONAL];
getDefaultInstanceForType()
public SlurmNodeSet getDefaultInstanceForType()
getId()
Required. Identifier for the nodeset, which allows it to be referenced by
partitions. 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 ByteString getIdBytes()
Required. Identifier for the nodeset, which allows it to be referenced by
partitions. 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.
|
getMaxDynamicNodeCount()
public long getMaxDynamicNodeCount()
Optional. Controls how many additional nodes a cluster can bring online to
handle workloads. Set this value to enable dynamic node creation and limit
the number of additional nodes the cluster can bring online. Leave empty if
you do not want the cluster to create nodes dynamically, and instead rely
only on static nodes.
int64 max_dynamic_node_count = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
long |
The maxDynamicNodeCount.
|
getParserForType()
public Parser<SlurmNodeSet> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getStaticNodeCount()
public long getStaticNodeCount()
Optional. Number of nodes to be statically created for this nodeset. The
cluster will attempt to ensure that at least this many nodes exist at all
times.
int64 static_node_count = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
long |
The staticNodeCount.
|
getStorageConfigs(int index)
public StorageConfig getStorageConfigs(int index)
Optional. How storage
resources should
be mounted on each compute node.
repeated .google.cloud.hypercomputecluster.v1beta.StorageConfig storage_configs = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
getStorageConfigsCount()
public int getStorageConfigsCount()
Optional. How storage
resources should
be mounted on each compute node.
repeated .google.cloud.hypercomputecluster.v1beta.StorageConfig storage_configs = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
|
getStorageConfigsList()
public List<StorageConfig> getStorageConfigsList()
Optional. How storage
resources should
be mounted on each compute node.
repeated .google.cloud.hypercomputecluster.v1beta.StorageConfig storage_configs = 3 [(.google.api.field_behavior) = OPTIONAL];
getStorageConfigsOrBuilder(int index)
public StorageConfigOrBuilder getStorageConfigsOrBuilder(int index)
Optional. How storage
resources should
be mounted on each compute node.
repeated .google.cloud.hypercomputecluster.v1beta.StorageConfig storage_configs = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
getStorageConfigsOrBuilderList()
public List<? extends StorageConfigOrBuilder> getStorageConfigsOrBuilderList()
Optional. How storage
resources should
be mounted on each compute node.
repeated .google.cloud.hypercomputecluster.v1beta.StorageConfig storage_configs = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.hypercomputecluster.v1beta.StorageConfigOrBuilder> |
|
getTypeCase()
public SlurmNodeSet.TypeCase getTypeCase()
hasComputeInstance()
public boolean hasComputeInstance()
Optional. If set, indicates that the nodeset should be backed by Compute
Engine instances.
.google.cloud.hypercomputecluster.v1beta.ComputeInstanceSlurmNodeSet compute_instance = 17 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the computeInstance field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SlurmNodeSet.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected SlurmNodeSet.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public SlurmNodeSet.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides