public static final class ComputeInstanceSlurmNodeSet.Builder extends GeneratedMessageV3.Builder<ComputeInstanceSlurmNodeSet.Builder> implements ComputeInstanceSlurmNodeSetOrBuilder
When set in a
SlurmNodeSet,
indicates that the nodeset should be backed by Compute Engine VM instances.
Protobuf type google.cloud.hypercomputecluster.v1beta.ComputeInstanceSlurmNodeSet
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ComputeInstanceSlurmNodeSet.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ComputeInstanceSlurmNodeSet build()
buildPartial()
public ComputeInstanceSlurmNodeSet buildPartial()
clear()
public ComputeInstanceSlurmNodeSet.Builder clear()
Overrides
clearBootDisk()
public ComputeInstanceSlurmNodeSet.Builder clearBootDisk()
Optional. Boot disk for the compute instance
.google.cloud.hypercomputecluster.v1beta.BootDisk boot_disk = 3 [(.google.api.field_behavior) = OPTIONAL];
clearField(Descriptors.FieldDescriptor field)
public ComputeInstanceSlurmNodeSet.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearLabels()
public ComputeInstanceSlurmNodeSet.Builder clearLabels()
clearOneof(Descriptors.OneofDescriptor oneof)
public ComputeInstanceSlurmNodeSet.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearStartupScript()
public ComputeInstanceSlurmNodeSet.Builder clearStartupScript()
Optional. Startup
script
to be run on each VM instance in the nodeset. Max 256KB.
string startup_script = 1 [(.google.api.field_behavior) = OPTIONAL];
clone()
public ComputeInstanceSlurmNodeSet.Builder clone()
Overrides
containsLabels(String key)
public boolean containsLabels(String key)
Optional.
Labels that
should be applied to each VM instance in the nodeset.
map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
key |
String
|
getBootDisk()
public BootDisk getBootDisk()
Optional. Boot disk for the compute instance
.google.cloud.hypercomputecluster.v1beta.BootDisk boot_disk = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
BootDisk |
The bootDisk.
|
getBootDiskBuilder()
public BootDisk.Builder getBootDiskBuilder()
Optional. Boot disk for the compute instance
.google.cloud.hypercomputecluster.v1beta.BootDisk boot_disk = 3 [(.google.api.field_behavior) = OPTIONAL];
getBootDiskOrBuilder()
public BootDiskOrBuilder getBootDiskOrBuilder()
Optional. Boot disk for the compute instance
.google.cloud.hypercomputecluster.v1beta.BootDisk boot_disk = 3 [(.google.api.field_behavior) = OPTIONAL];
getDefaultInstanceForType()
public ComputeInstanceSlurmNodeSet getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getLabels() (deprecated)
public Map<String,String> getLabels()
getLabelsCount()
public int getLabelsCount()
Optional.
Labels that
should be applied to each VM instance in the nodeset.
map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
|
getLabelsMap()
public Map<String,String> getLabelsMap()
Optional.
Labels that
should be applied to each VM instance in the nodeset.
map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Optional.
Labels that
should be applied to each VM instance in the nodeset.
map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
|
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Optional.
Labels that
should be applied to each VM instance in the nodeset.
map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
key |
String
|
| Returns |
| Type |
Description |
String |
|
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
getStartupScript()
public String getStartupScript()
Optional. Startup
script
to be run on each VM instance in the nodeset. Max 256KB.
string startup_script = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The startupScript.
|
getStartupScriptBytes()
public ByteString getStartupScriptBytes()
Optional. Startup
script
to be run on each VM instance in the nodeset. Max 256KB.
string startup_script = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for startupScript.
|
hasBootDisk()
public boolean hasBootDisk()
Optional. Boot disk for the compute instance
.google.cloud.hypercomputecluster.v1beta.BootDisk boot_disk = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the bootDisk field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
mergeBootDisk(BootDisk value)
public ComputeInstanceSlurmNodeSet.Builder mergeBootDisk(BootDisk value)
Optional. Boot disk for the compute instance
.google.cloud.hypercomputecluster.v1beta.BootDisk boot_disk = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
value |
BootDisk
|
mergeFrom(ComputeInstanceSlurmNodeSet other)
public ComputeInstanceSlurmNodeSet.Builder mergeFrom(ComputeInstanceSlurmNodeSet other)
public ComputeInstanceSlurmNodeSet.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ComputeInstanceSlurmNodeSet.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ComputeInstanceSlurmNodeSet.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
putAllLabels(Map<String,String> values)
public ComputeInstanceSlurmNodeSet.Builder putAllLabels(Map<String,String> values)
Optional.
Labels that
should be applied to each VM instance in the nodeset.
map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];
putLabels(String key, String value)
public ComputeInstanceSlurmNodeSet.Builder putLabels(String key, String value)
Optional.
Labels that
should be applied to each VM instance in the nodeset.
map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];
removeLabels(String key)
public ComputeInstanceSlurmNodeSet.Builder removeLabels(String key)
Optional.
Labels that
should be applied to each VM instance in the nodeset.
map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
key |
String
|
setBootDisk(BootDisk value)
public ComputeInstanceSlurmNodeSet.Builder setBootDisk(BootDisk value)
Optional. Boot disk for the compute instance
.google.cloud.hypercomputecluster.v1beta.BootDisk boot_disk = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
value |
BootDisk
|
setBootDisk(BootDisk.Builder builderForValue)
public ComputeInstanceSlurmNodeSet.Builder setBootDisk(BootDisk.Builder builderForValue)
Optional. Boot disk for the compute instance
.google.cloud.hypercomputecluster.v1beta.BootDisk boot_disk = 3 [(.google.api.field_behavior) = OPTIONAL];
setField(Descriptors.FieldDescriptor field, Object value)
public ComputeInstanceSlurmNodeSet.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ComputeInstanceSlurmNodeSet.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setStartupScript(String value)
public ComputeInstanceSlurmNodeSet.Builder setStartupScript(String value)
Optional. Startup
script
to be run on each VM instance in the nodeset. Max 256KB.
string startup_script = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
value |
String
The startupScript to set.
|
setStartupScriptBytes(ByteString value)
public ComputeInstanceSlurmNodeSet.Builder setStartupScriptBytes(ByteString value)
Optional. Startup
script
to be run on each VM instance in the nodeset. Max 256KB.
string startup_script = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for startupScript to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final ComputeInstanceSlurmNodeSet.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides