Class SlurmNodeSet
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.hypercomputecluster.v1.SlurmNodeSet
- All Implemented Interfaces:
SlurmNodeSetOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class SlurmNodeSet
extends com.google.protobuf.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.v1.SlurmNodeSet- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classConfiguration for Slurm nodesets in the cluster.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.com.google.protobuf.ByteStringOptional.Optional.Optional.static SlurmNodeSetstatic final com.google.protobuf.Descriptors.DescriptorgetId()Required.com.google.protobuf.ByteStringRequired.longOptional.com.google.protobuf.Parser<SlurmNodeSet>intlongOptional.getStorageConfigs(int index) Optional.intOptional.Optional.getStorageConfigsOrBuilder(int index) Optional.List<? extends StorageConfigOrBuilder>Optional.booleanOptional.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic SlurmNodeSet.Builderstatic SlurmNodeSet.BuildernewBuilder(SlurmNodeSet prototype) protected SlurmNodeSet.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static SlurmNodeSetparseDelimitedFrom(InputStream input) static SlurmNodeSetparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SlurmNodeSetparseFrom(byte[] data) static SlurmNodeSetparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SlurmNodeSetparseFrom(com.google.protobuf.ByteString data) static SlurmNodeSetparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SlurmNodeSetparseFrom(com.google.protobuf.CodedInputStream input) static SlurmNodeSetparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SlurmNodeSetparseFrom(InputStream input) static SlurmNodeSetparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SlurmNodeSetparseFrom(ByteBuffer data) static SlurmNodeSetparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<SlurmNodeSet>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
COMPUTE_INSTANCE_FIELD_NUMBER
public static final int COMPUTE_INSTANCE_FIELD_NUMBER- See Also:
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
COMPUTE_ID_FIELD_NUMBER
public static final int COMPUTE_ID_FIELD_NUMBER- See Also:
-
STORAGE_CONFIGS_FIELD_NUMBER
public static final int STORAGE_CONFIGS_FIELD_NUMBER- See Also:
-
STATIC_NODE_COUNT_FIELD_NUMBER
public static final int STATIC_NODE_COUNT_FIELD_NUMBER- See Also:
-
MAX_DYNAMIC_NODE_COUNT_FIELD_NUMBER
public static final int MAX_DYNAMIC_NODE_COUNT_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getTypeCase
- Specified by:
getTypeCasein interfaceSlurmNodeSetOrBuilder
-
hasComputeInstance
public boolean hasComputeInstance()Optional. If set, indicates that the nodeset should be backed by Compute Engine instances.
.google.cloud.hypercomputecluster.v1.ComputeInstanceSlurmNodeSet compute_instance = 17 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasComputeInstancein interfaceSlurmNodeSetOrBuilder- Returns:
- Whether the computeInstance field is set.
-
getComputeInstance
Optional. If set, indicates that the nodeset should be backed by Compute Engine instances.
.google.cloud.hypercomputecluster.v1.ComputeInstanceSlurmNodeSet compute_instance = 17 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getComputeInstancein interfaceSlurmNodeSetOrBuilder- Returns:
- The computeInstance.
-
getComputeInstanceOrBuilder
Optional. If set, indicates that the nodeset should be backed by Compute Engine instances.
.google.cloud.hypercomputecluster.v1.ComputeInstanceSlurmNodeSet compute_instance = 17 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getComputeInstanceOrBuilderin interfaceSlurmNodeSetOrBuilder
-
getId
Required. Identifier for the nodeset, which allows it to be referenced by partitions. Must conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034) (lower-case, alphanumeric, and at most 63 characters).
string id = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getIdin interfaceSlurmNodeSetOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()Required. Identifier for the nodeset, which allows it to be referenced by partitions. Must conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034) (lower-case, alphanumeric, and at most 63 characters).
string id = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getIdBytesin interfaceSlurmNodeSetOrBuilder- Returns:
- The bytes for id.
-
getComputeId
Optional. ID of the compute resource on which this nodeset will run. Must match a key in the cluster's [compute_resources][google.cloud.hypercomputecluster.v1.Cluster.compute_resources].
string compute_id = 16 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getComputeIdin interfaceSlurmNodeSetOrBuilder- Returns:
- The computeId.
-
getComputeIdBytes
public com.google.protobuf.ByteString getComputeIdBytes()Optional. ID of the compute resource on which this nodeset will run. Must match a key in the cluster's [compute_resources][google.cloud.hypercomputecluster.v1.Cluster.compute_resources].
string compute_id = 16 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getComputeIdBytesin interfaceSlurmNodeSetOrBuilder- Returns:
- The bytes for computeId.
-
getStorageConfigsList
Optional. How [storage resources][google.cloud.hypercomputecluster.v1.StorageResource] should be mounted on each compute node.
repeated .google.cloud.hypercomputecluster.v1.StorageConfig storage_configs = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getStorageConfigsListin interfaceSlurmNodeSetOrBuilder
-
getStorageConfigsOrBuilderList
Optional. How [storage resources][google.cloud.hypercomputecluster.v1.StorageResource] should be mounted on each compute node.
repeated .google.cloud.hypercomputecluster.v1.StorageConfig storage_configs = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getStorageConfigsOrBuilderListin interfaceSlurmNodeSetOrBuilder
-
getStorageConfigsCount
public int getStorageConfigsCount()Optional. How [storage resources][google.cloud.hypercomputecluster.v1.StorageResource] should be mounted on each compute node.
repeated .google.cloud.hypercomputecluster.v1.StorageConfig storage_configs = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getStorageConfigsCountin interfaceSlurmNodeSetOrBuilder
-
getStorageConfigs
Optional. How [storage resources][google.cloud.hypercomputecluster.v1.StorageResource] should be mounted on each compute node.
repeated .google.cloud.hypercomputecluster.v1.StorageConfig storage_configs = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getStorageConfigsin interfaceSlurmNodeSetOrBuilder
-
getStorageConfigsOrBuilder
Optional. How [storage resources][google.cloud.hypercomputecluster.v1.StorageResource] should be mounted on each compute node.
repeated .google.cloud.hypercomputecluster.v1.StorageConfig storage_configs = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getStorageConfigsOrBuilderin interfaceSlurmNodeSetOrBuilder
-
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];- Specified by:
getStaticNodeCountin interfaceSlurmNodeSetOrBuilder- Returns:
- The staticNodeCount.
-
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];- Specified by:
getMaxDynamicNodeCountin interfaceSlurmNodeSetOrBuilder- Returns:
- The maxDynamicNodeCount.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static SlurmNodeSet parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SlurmNodeSet parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SlurmNodeSet parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SlurmNodeSet parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SlurmNodeSet parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SlurmNodeSet parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static SlurmNodeSet parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static SlurmNodeSet parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static SlurmNodeSet parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SlurmNodeSet.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-