Class SlurmPartition.Builder (0.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicstaticfinalclass SlurmPartition.BuilderextendsGeneratedMessageV3.Builder<SlurmPartition.Builder>implementsSlurmPartitionOrBuilderConfiguration for Slurm partitions in the cluster. Partitions are groups of nodesets, and are how clients specify where their workloads should be run.
Protobuf type google.cloud.hypercomputecluster.v1beta.SlurmPartition
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SlurmPartition.BuilderImplements
SlurmPartitionOrBuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllNodeSetIds(Iterable<String> values)
publicSlurmPartition.BuilderaddAllNodeSetIds(Iterable<String>values)Required. IDs of the nodesets that make up this partition. Values must match SlurmNodeSet.id.
repeated string node_set_ids = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The nodeSetIds to add. |
| Returns | |
|---|---|
| Type | Description |
SlurmPartition.Builder |
This builder for chaining. |
addNodeSetIds(String value)
publicSlurmPartition.BuilderaddNodeSetIds(Stringvalue)Required. IDs of the nodesets that make up this partition. Values must match SlurmNodeSet.id.
repeated string node_set_ids = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
String The nodeSetIds to add. |
| Returns | |
|---|---|
| Type | Description |
SlurmPartition.Builder |
This builder for chaining. |
addNodeSetIdsBytes(ByteString value)
publicSlurmPartition.BuilderaddNodeSetIdsBytes(ByteStringvalue)Required. IDs of the nodesets that make up this partition. Values must match SlurmNodeSet.id.
repeated string node_set_ids = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes of the nodeSetIds to add. |
| Returns | |
|---|---|
| Type | Description |
SlurmPartition.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicSlurmPartition.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
SlurmPartition.Builder |
|
build()
publicSlurmPartitionbuild()| Returns | |
|---|---|
| Type | Description |
SlurmPartition |
|
buildPartial()
publicSlurmPartitionbuildPartial()| Returns | |
|---|---|
| Type | Description |
SlurmPartition |
|
clear()
publicSlurmPartition.Builderclear()| Returns | |
|---|---|
| Type | Description |
SlurmPartition.Builder |
|
clearField(Descriptors.FieldDescriptor field)
publicSlurmPartition.BuilderclearField(Descriptors.FieldDescriptorfield)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
SlurmPartition.Builder |
|
clearId()
publicSlurmPartition.BuilderclearId()Required. ID of the partition, which is how users will identify it. Must conform to RFC-1034 (lower-case, alphanumeric, and at most 63 characters).
string id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SlurmPartition.Builder |
This builder for chaining. |
clearNodeSetIds()
publicSlurmPartition.BuilderclearNodeSetIds()Required. IDs of the nodesets that make up this partition. Values must match SlurmNodeSet.id.
repeated string node_set_ids = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SlurmPartition.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
publicSlurmPartition.BuilderclearOneof(Descriptors.OneofDescriptoroneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
SlurmPartition.Builder |
|
clone()
publicSlurmPartition.Builderclone()| Returns | |
|---|---|
| Type | Description |
SlurmPartition.Builder |
|
getDefaultInstanceForType()
publicSlurmPartitiongetDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SlurmPartition |
|
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getId()
publicStringgetId()Required. ID of the partition, which is how users will identify it. 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()
publicByteStringgetIdBytes()Required. ID of the partition, which is how users will identify it. 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. |
getNodeSetIds(int index)
publicStringgetNodeSetIds(intindex)Required. IDs of the nodesets that make up this partition. Values must match SlurmNodeSet.id.
repeated string node_set_ids = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int The index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The nodeSetIds at the given index. |
getNodeSetIdsBytes(int index)
publicByteStringgetNodeSetIdsBytes(intindex)Required. IDs of the nodesets that make up this partition. Values must match SlurmNodeSet.id.
repeated string node_set_ids = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int The index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the nodeSetIds at the given index. |
getNodeSetIdsCount()
publicintgetNodeSetIdsCount()Required. IDs of the nodesets that make up this partition. Values must match SlurmNodeSet.id.
repeated string node_set_ids = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The count of nodeSetIds. |
getNodeSetIdsList()
publicProtocolStringListgetNodeSetIdsList()Required. IDs of the nodesets that make up this partition. Values must match SlurmNodeSet.id.
repeated string node_set_ids = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the nodeSetIds. |
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
publicfinalbooleanisInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(SlurmPartition other)
publicSlurmPartition.BuildermergeFrom(SlurmPartitionother)| Parameter | |
|---|---|
| Name | Description |
other |
SlurmPartition |
| Returns | |
|---|---|
| Type | Description |
SlurmPartition.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicSlurmPartition.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SlurmPartition.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
publicSlurmPartition.BuildermergeFrom(Messageother)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SlurmPartition.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalSlurmPartition.BuildermergeUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
SlurmPartition.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
publicSlurmPartition.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
SlurmPartition.Builder |
|
setId(String value)
publicSlurmPartition.BuildersetId(Stringvalue)Required. ID of the partition, which is how users will identify it. Must conform to RFC-1034 (lower-case, alphanumeric, and at most 63 characters).
string id = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
String The id to set. |
| Returns | |
|---|---|
| Type | Description |
SlurmPartition.Builder |
This builder for chaining. |
setIdBytes(ByteString value)
publicSlurmPartition.BuildersetIdBytes(ByteStringvalue)Required. ID of the partition, which is how users will identify it. Must conform to RFC-1034 (lower-case, alphanumeric, and at most 63 characters).
string id = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for id to set. |
| Returns | |
|---|---|
| Type | Description |
SlurmPartition.Builder |
This builder for chaining. |
setNodeSetIds(int index, String value)
publicSlurmPartition.BuildersetNodeSetIds(intindex,Stringvalue)Required. IDs of the nodesets that make up this partition. Values must match SlurmNodeSet.id.
repeated string node_set_ids = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int The index to set the value at. |
value |
String The nodeSetIds to set. |
| Returns | |
|---|---|
| Type | Description |
SlurmPartition.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicSlurmPartition.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
SlurmPartition.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalSlurmPartition.BuildersetUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
SlurmPartition.Builder |
|