public interface ComputeInstanceSlurmNodeSetOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
containsLabels(String key)
public abstract 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 abstract 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. |
getBootDiskOrBuilder()
public abstract 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 |
|
getLabels() (deprecated)
public abstract Map<String,String> getLabels()Use #getLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsCount()
public abstract 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 abstract 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 abstract 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 abstract 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 |
|
getStartupScript()
public abstract 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 abstract 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 abstract 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. |