public static final class ComputeInstanceSlurmNodeSet.Builder extends GeneratedMessage.Builder<ComputeInstanceSlurmNodeSet.Builder> implements ComputeInstanceSlurmNodeSetOrBuilderWhen set in a SlurmNodeSet, indicates that the nodeset should be backed by Compute Engine VM instances.
Protobuf type google.cloud.hypercomputecluster.v1beta.ComputeInstanceSlurmNodeSet
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ComputeInstanceSlurmNodeSet.BuilderImplements
ComputeInstanceSlurmNodeSetOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ComputeInstanceSlurmNodeSet build()| Returns | |
|---|---|
| Type | Description |
ComputeInstanceSlurmNodeSet |
|
buildPartial()
public ComputeInstanceSlurmNodeSet buildPartial()| Returns | |
|---|---|
| Type | Description |
ComputeInstanceSlurmNodeSet |
|
clear()
public ComputeInstanceSlurmNodeSet.Builder clear()| Returns | |
|---|---|
| Type | Description |
ComputeInstanceSlurmNodeSet.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceSlurmNodeSet.Builder |
|
clearLabels()
public ComputeInstanceSlurmNodeSet.Builder clearLabels()| Returns | |
|---|---|
| Type | Description |
ComputeInstanceSlurmNodeSet.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceSlurmNodeSet.Builder |
This builder for chaining. |
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 |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
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];
| Returns | |
|---|---|
| Type | Description |
BootDisk.Builder |
|
getBootDiskOrBuilder()
public BootDiskOrBuilder getBootDiskOrBuilder()Optional. Boot disk for the compute instance
.google.cloud.hypercomputecluster.v1beta.BootDisk boot_disk = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
BootDiskOrBuilder |
|
getDefaultInstanceForType()
public ComputeInstanceSlurmNodeSet getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ComputeInstanceSlurmNodeSet |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLabels() (deprecated)
public Map<String,String> getLabels()Use #getLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
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];
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
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];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| 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.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceSlurmNodeSet.Builder |
|
mergeFrom(ComputeInstanceSlurmNodeSet other)
public ComputeInstanceSlurmNodeSet.Builder mergeFrom(ComputeInstanceSlurmNodeSet other)| Parameter | |
|---|---|
| Name | Description |
other |
ComputeInstanceSlurmNodeSet |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceSlurmNodeSet.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ComputeInstanceSlurmNodeSet.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceSlurmNodeSet.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ComputeInstanceSlurmNodeSet.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceSlurmNodeSet.Builder |
|
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];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceSlurmNodeSet.Builder |
|
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];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
String |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceSlurmNodeSet.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceSlurmNodeSet.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceSlurmNodeSet.Builder |
|
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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
BootDisk.Builder |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceSlurmNodeSet.Builder |
|
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 |
StringThe startupScript to set. |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceSlurmNodeSet.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for startupScript to set. |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceSlurmNodeSet.Builder |
This builder for chaining. |