Interface SlurmLoginNodesOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SlurmLoginNodes,SlurmLoginNodes.Builder
@Generated
public interface SlurmLoginNodesOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Optional.Optional.Optional.longgetCount()Required.booleanOptional.booleanOptional.getInstances(int index) Output only.intOutput only.Output only.getInstancesOrBuilder(int index) Output only.List<? extends ComputeInstanceOrBuilder>Output only.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.Required.com.google.protobuf.ByteStringRequired.Optional.com.google.protobuf.ByteStringOptional.getStorageConfigs(int index) Optional.intOptional.Optional.getStorageConfigsOrBuilder(int index) Optional.List<? extends StorageConfigOrBuilder>Optional.getZone()Required.com.google.protobuf.ByteStringRequired.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
-
getCount
long getCount()Required. Number of login node instances to create.
int64 count = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The count.
-
getZone
String getZone()Required. Name of the zone in which login nodes should run, e.g., `us-central1-a`. Must be in the same region as the cluster, and must match the zone of any other resources specified in the cluster.
string zone = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The zone.
-
getZoneBytes
com.google.protobuf.ByteString getZoneBytes()Required. Name of the zone in which login nodes should run, e.g., `us-central1-a`. Must be in the same region as the cluster, and must match the zone of any other resources specified in the cluster.
string zone = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for zone.
-
getMachineType
String getMachineType()Required. Name of the Compute Engine [machine type](https://cloud.google.com/compute/docs/machine-resource) to use for login nodes, e.g. `n2-standard-2`.
string machine_type = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The machineType.
-
getMachineTypeBytes
com.google.protobuf.ByteString getMachineTypeBytes()Required. Name of the Compute Engine [machine type](https://cloud.google.com/compute/docs/machine-resource) to use for login nodes, e.g. `n2-standard-2`.
string machine_type = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for machineType.
-
getStartupScript
String getStartupScript()Optional. [Startup script](https://cloud.google.com/compute/docs/instances/startup-scripts/linux) to be run on each login node instance. Max 256KB. The script must complete within the system-defined default timeout of 5 minutes. For tasks that require more time, consider running them in the background using methods such as `&` or `nohup`.
string startup_script = 5 [(.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 login node instance. Max 256KB. The script must complete within the system-defined default timeout of 5 minutes. For tasks that require more time, consider running them in the background using methods such as `&` or `nohup`.
string startup_script = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for startupScript.
-
getEnableOsLogin
boolean getEnableOsLogin()Optional. Whether [OS Login](https://cloud.google.com/compute/docs/oslogin) should be enabled on login node instances.
bool enable_os_login = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The enableOsLogin.
-
getEnablePublicIps
boolean getEnablePublicIps()Optional. Whether login node instances should be assigned [external IP addresses](https://cloud.google.com/compute/docs/ip-addresses#externaladdresses).
bool enable_public_ips = 7 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The enablePublicIps.
-
getLabelsCount
int getLabelsCount()Optional. [Labels](https://cloud.google.com/compute/docs/labeling-resources) that should be applied to each login node instance.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; -
containsLabels
Optional. [Labels](https://cloud.google.com/compute/docs/labeling-resources) that should be applied to each login node instance.
map<string, string> labels = 8 [(.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 login node instance.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrDefault
Optional. [Labels](https://cloud.google.com/compute/docs/labeling-resources) that should be applied to each login node instance.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrThrow
Optional. [Labels](https://cloud.google.com/compute/docs/labeling-resources) that should be applied to each login node instance.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; -
getStorageConfigsList
List<StorageConfig> getStorageConfigsList()Optional. How [storage resources][google.cloud.hypercomputecluster.v1.StorageResource] should be mounted on each login node.
repeated .google.cloud.hypercomputecluster.v1.StorageConfig storage_configs = 12 [(.google.api.field_behavior) = OPTIONAL]; -
getStorageConfigs
Optional. How [storage resources][google.cloud.hypercomputecluster.v1.StorageResource] should be mounted on each login node.
repeated .google.cloud.hypercomputecluster.v1.StorageConfig storage_configs = 12 [(.google.api.field_behavior) = OPTIONAL]; -
getStorageConfigsCount
int getStorageConfigsCount()Optional. How [storage resources][google.cloud.hypercomputecluster.v1.StorageResource] should be mounted on each login node.
repeated .google.cloud.hypercomputecluster.v1.StorageConfig storage_configs = 12 [(.google.api.field_behavior) = OPTIONAL]; -
getStorageConfigsOrBuilderList
List<? extends StorageConfigOrBuilder> getStorageConfigsOrBuilderList()Optional. How [storage resources][google.cloud.hypercomputecluster.v1.StorageResource] should be mounted on each login node.
repeated .google.cloud.hypercomputecluster.v1.StorageConfig storage_configs = 12 [(.google.api.field_behavior) = OPTIONAL]; -
getStorageConfigsOrBuilder
Optional. How [storage resources][google.cloud.hypercomputecluster.v1.StorageResource] should be mounted on each login node.
repeated .google.cloud.hypercomputecluster.v1.StorageConfig storage_configs = 12 [(.google.api.field_behavior) = OPTIONAL]; -
getInstancesList
List<ComputeInstance> getInstancesList()Output only. Information about the login node instances that were created in Compute Engine.
repeated .google.cloud.hypercomputecluster.v1.ComputeInstance instances = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getInstances
Output only. Information about the login node instances that were created in Compute Engine.
repeated .google.cloud.hypercomputecluster.v1.ComputeInstance instances = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getInstancesCount
int getInstancesCount()Output only. Information about the login node instances that were created in Compute Engine.
repeated .google.cloud.hypercomputecluster.v1.ComputeInstance instances = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getInstancesOrBuilderList
List<? extends ComputeInstanceOrBuilder> getInstancesOrBuilderList()Output only. Information about the login node instances that were created in Compute Engine.
repeated .google.cloud.hypercomputecluster.v1.ComputeInstance instances = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getInstancesOrBuilder
Output only. Information about the login node instances that were created in Compute Engine.
repeated .google.cloud.hypercomputecluster.v1.ComputeInstance instances = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasBootDisk
boolean hasBootDisk()Optional. Boot disk for the login node.
.google.cloud.hypercomputecluster.v1.BootDisk boot_disk = 13 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the bootDisk field is set.
-
getBootDisk
BootDisk getBootDisk()Optional. Boot disk for the login node.
.google.cloud.hypercomputecluster.v1.BootDisk boot_disk = 13 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bootDisk.
-
getBootDiskOrBuilder
BootDiskOrBuilder getBootDiskOrBuilder()Optional. Boot disk for the login node.
.google.cloud.hypercomputecluster.v1.BootDisk boot_disk = 13 [(.google.api.field_behavior) = OPTIONAL];
-