Interface ComputeInstanceSlurmNodeSetOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ComputeInstanceSlurmNodeSet,ComputeInstanceSlurmNodeSet.Builder
@Generated
public interface ComputeInstanceSlurmNodeSetOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Optional.Optional.Optional.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.Optional.com.google.protobuf.ByteStringOptional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getStartupScript
String getStartupScript()Optional. [Startup script](https://cloud.google.com/compute/docs/instances/startup-scripts/linux) to be run on each VM instance in the nodeset. Max 256KB.
string startup_script = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The startupScript.
-
getStartupScriptBytes
com.google.protobuf.ByteString getStartupScriptBytes()Optional. [Startup script](https://cloud.google.com/compute/docs/instances/startup-scripts/linux) to be run on each VM instance in the nodeset. Max 256KB.
string startup_script = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for startupScript.
-
getLabelsCount
int getLabelsCount()Optional. [Labels](https://cloud.google.com/compute/docs/labeling-resources) that should be applied to each VM instance in the nodeset.
map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL]; -
containsLabels
Optional. [Labels](https://cloud.google.com/compute/docs/labeling-resources) that should be applied to each VM instance in the nodeset.
map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
Optional. [Labels](https://cloud.google.com/compute/docs/labeling-resources) that should be applied to each VM instance in the nodeset.
map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrDefault
Optional. [Labels](https://cloud.google.com/compute/docs/labeling-resources) that should be applied to each VM instance in the nodeset.
map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrThrow
Optional. [Labels](https://cloud.google.com/compute/docs/labeling-resources) that should be applied to each VM instance in the nodeset.
map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL]; -
hasBootDisk
boolean hasBootDisk()Optional. Boot disk for the compute instance
.google.cloud.hypercomputecluster.v1.BootDisk boot_disk = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the bootDisk field is set.
-
getBootDisk
BootDisk getBootDisk()Optional. Boot disk for the compute instance
.google.cloud.hypercomputecluster.v1.BootDisk boot_disk = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bootDisk.
-
getBootDiskOrBuilder
BootDiskOrBuilder getBootDiskOrBuilder()Optional. Boot disk for the compute instance
.google.cloud.hypercomputecluster.v1.BootDisk boot_disk = 3 [(.google.api.field_behavior) = OPTIONAL];
-