public static final class SlurmLoginNodes.Builder extends GeneratedMessageV3.Builder<SlurmLoginNodes.Builder> implements SlurmLoginNodesOrBuilderConfiguration for Slurm login nodes in the cluster. Login nodes are Compute Engine VM instances that allow users to access the cluster over SSH.
Protobuf type google.cloud.hypercomputecluster.v1beta.SlurmLoginNodes
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SlurmLoginNodes.BuilderImplements
SlurmLoginNodesOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllInstances(Iterable<? extends ComputeInstance> values)
public SlurmLoginNodes.Builder addAllInstances(Iterable<? extends ComputeInstance> values)Output only. Information about the login node instances that were created in Compute Engine.
repeated .google.cloud.hypercomputecluster.v1beta.ComputeInstance instances = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.hypercomputecluster.v1beta.ComputeInstance> |
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
|
addAllStorageConfigs(Iterable<? extends StorageConfig> values)
public SlurmLoginNodes.Builder addAllStorageConfigs(Iterable<? extends StorageConfig> values)Optional. How storage resources should be mounted on each login node.
repeated .google.cloud.hypercomputecluster.v1beta.StorageConfig storage_configs = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.hypercomputecluster.v1beta.StorageConfig> |
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
|
addInstances(ComputeInstance value)
public SlurmLoginNodes.Builder addInstances(ComputeInstance value)Output only. Information about the login node instances that were created in Compute Engine.
repeated .google.cloud.hypercomputecluster.v1beta.ComputeInstance instances = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ComputeInstance |
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
|
addInstances(ComputeInstance.Builder builderForValue)
public SlurmLoginNodes.Builder addInstances(ComputeInstance.Builder builderForValue)Output only. Information about the login node instances that were created in Compute Engine.
repeated .google.cloud.hypercomputecluster.v1beta.ComputeInstance instances = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ComputeInstance.Builder |
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
|
addInstances(int index, ComputeInstance value)
public SlurmLoginNodes.Builder addInstances(int index, ComputeInstance value)Output only. Information about the login node instances that were created in Compute Engine.
repeated .google.cloud.hypercomputecluster.v1beta.ComputeInstance instances = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
ComputeInstance |
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
|
addInstances(int index, ComputeInstance.Builder builderForValue)
public SlurmLoginNodes.Builder addInstances(int index, ComputeInstance.Builder builderForValue)Output only. Information about the login node instances that were created in Compute Engine.
repeated .google.cloud.hypercomputecluster.v1beta.ComputeInstance instances = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
ComputeInstance.Builder |
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
|
addInstancesBuilder()
public ComputeInstance.Builder addInstancesBuilder()Output only. Information about the login node instances that were created in Compute Engine.
repeated .google.cloud.hypercomputecluster.v1beta.ComputeInstance instances = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ComputeInstance.Builder |
|
addInstancesBuilder(int index)
public ComputeInstance.Builder addInstancesBuilder(int index)Output only. Information about the login node instances that were created in Compute Engine.
repeated .google.cloud.hypercomputecluster.v1beta.ComputeInstance instances = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ComputeInstance.Builder |
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SlurmLoginNodes.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
|
addStorageConfigs(StorageConfig value)
public SlurmLoginNodes.Builder addStorageConfigs(StorageConfig value)Optional. How storage resources should be mounted on each login node.
repeated .google.cloud.hypercomputecluster.v1beta.StorageConfig storage_configs = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StorageConfig |
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
|
addStorageConfigs(StorageConfig.Builder builderForValue)
public SlurmLoginNodes.Builder addStorageConfigs(StorageConfig.Builder builderForValue)Optional. How storage resources should be mounted on each login node.
repeated .google.cloud.hypercomputecluster.v1beta.StorageConfig storage_configs = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
StorageConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
|
addStorageConfigs(int index, StorageConfig value)
public SlurmLoginNodes.Builder addStorageConfigs(int index, StorageConfig value)Optional. How storage resources should be mounted on each login node.
repeated .google.cloud.hypercomputecluster.v1beta.StorageConfig storage_configs = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
StorageConfig |
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
|
addStorageConfigs(int index, StorageConfig.Builder builderForValue)
public SlurmLoginNodes.Builder addStorageConfigs(int index, StorageConfig.Builder builderForValue)Optional. How storage resources should be mounted on each login node.
repeated .google.cloud.hypercomputecluster.v1beta.StorageConfig storage_configs = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
StorageConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
|
addStorageConfigsBuilder()
public StorageConfig.Builder addStorageConfigsBuilder()Optional. How storage resources should be mounted on each login node.
repeated .google.cloud.hypercomputecluster.v1beta.StorageConfig storage_configs = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
StorageConfig.Builder |
|
addStorageConfigsBuilder(int index)
public StorageConfig.Builder addStorageConfigsBuilder(int index)Optional. How storage resources should be mounted on each login node.
repeated .google.cloud.hypercomputecluster.v1beta.StorageConfig storage_configs = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
StorageConfig.Builder |
|
build()
public SlurmLoginNodes build()| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes |
|
buildPartial()
public SlurmLoginNodes buildPartial()| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes |
|
clear()
public SlurmLoginNodes.Builder clear()| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
|
clearBootDisk()
public SlurmLoginNodes.Builder clearBootDisk()Optional. Boot disk for the login node.
.google.cloud.hypercomputecluster.v1beta.BootDisk boot_disk = 13 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
|
clearCount()
public SlurmLoginNodes.Builder clearCount()Required. Number of login node instances to create.
int64 count = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
This builder for chaining. |
clearEnableOsLogin()
public SlurmLoginNodes.Builder clearEnableOsLogin()Optional. Whether OS Login should be enabled on login node instances.
bool enable_os_login = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
This builder for chaining. |
clearEnablePublicIps()
public SlurmLoginNodes.Builder clearEnablePublicIps()Optional. Whether login node instances should be assigned external IP addresses.
bool enable_public_ips = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public SlurmLoginNodes.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
|
clearInstances()
public SlurmLoginNodes.Builder clearInstances()Output only. Information about the login node instances that were created in Compute Engine.
repeated .google.cloud.hypercomputecluster.v1beta.ComputeInstance instances = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
|
clearLabels()
public SlurmLoginNodes.Builder clearLabels()| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
|
clearMachineType()
public SlurmLoginNodes.Builder clearMachineType() Required. Name of the Compute Engine machine
type to use for
login nodes, e.g. n2-standard-2.
string machine_type = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public SlurmLoginNodes.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
|
clearStartupScript()
public SlurmLoginNodes.Builder clearStartupScript()Optional. Startup script to be run on each login node instance. Max 256KB.
string startup_script = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
This builder for chaining. |
clearStorageConfigs()
public SlurmLoginNodes.Builder clearStorageConfigs()Optional. How storage resources should be mounted on each login node.
repeated .google.cloud.hypercomputecluster.v1beta.StorageConfig storage_configs = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
|
clearZone()
public SlurmLoginNodes.Builder clearZone() 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 | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
This builder for chaining. |
clone()
public SlurmLoginNodes.Builder clone()| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
|
containsLabels(String key)
public boolean containsLabels(String key)Optional. Labels that should be applied to each login node instance.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getBootDisk()
public BootDisk getBootDisk()Optional. Boot disk for the login node.
.google.cloud.hypercomputecluster.v1beta.BootDisk boot_disk = 13 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
BootDisk |
The bootDisk. |
getBootDiskBuilder()
public BootDisk.Builder getBootDiskBuilder()Optional. Boot disk for the login node.
.google.cloud.hypercomputecluster.v1beta.BootDisk boot_disk = 13 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
BootDisk.Builder |
|
getBootDiskOrBuilder()
public BootDiskOrBuilder getBootDiskOrBuilder()Optional. Boot disk for the login node.
.google.cloud.hypercomputecluster.v1beta.BootDisk boot_disk = 13 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
BootDiskOrBuilder |
|
getCount()
public long getCount()Required. Number of login node instances to create.
int64 count = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
long |
The count. |
getDefaultInstanceForType()
public SlurmLoginNodes getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEnableOsLogin()
public boolean getEnableOsLogin()Optional. Whether OS Login should be enabled on login node instances.
bool enable_os_login = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The enableOsLogin. |
getEnablePublicIps()
public boolean getEnablePublicIps()Optional. Whether login node instances should be assigned external IP addresses.
bool enable_public_ips = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The enablePublicIps. |
getInstances(int index)
public ComputeInstance getInstances(int index)Output only. Information about the login node instances that were created in Compute Engine.
repeated .google.cloud.hypercomputecluster.v1beta.ComputeInstance instances = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ComputeInstance |
|
getInstancesBuilder(int index)
public ComputeInstance.Builder getInstancesBuilder(int index)Output only. Information about the login node instances that were created in Compute Engine.
repeated .google.cloud.hypercomputecluster.v1beta.ComputeInstance instances = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ComputeInstance.Builder |
|
getInstancesBuilderList()
public List<ComputeInstance.Builder> getInstancesBuilderList()Output only. Information about the login node instances that were created in Compute Engine.
repeated .google.cloud.hypercomputecluster.v1beta.ComputeInstance instances = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getInstancesCount()
public int getInstancesCount()Output only. Information about the login node instances that were created in Compute Engine.
repeated .google.cloud.hypercomputecluster.v1beta.ComputeInstance instances = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getInstancesList()
public List<ComputeInstance> getInstancesList()Output only. Information about the login node instances that were created in Compute Engine.
repeated .google.cloud.hypercomputecluster.v1beta.ComputeInstance instances = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<ComputeInstance> |
|
getInstancesOrBuilder(int index)
public ComputeInstanceOrBuilder getInstancesOrBuilder(int index)Output only. Information about the login node instances that were created in Compute Engine.
repeated .google.cloud.hypercomputecluster.v1beta.ComputeInstance instances = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceOrBuilder |
|
getInstancesOrBuilderList()
public List<? extends ComputeInstanceOrBuilder> getInstancesOrBuilderList()Output only. Information about the login node instances that were created in Compute Engine.
repeated .google.cloud.hypercomputecluster.v1beta.ComputeInstance instances = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.hypercomputecluster.v1beta.ComputeInstanceOrBuilder> |
|
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 login node instance.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getLabelsMap()
public Map<String,String> getLabelsMap()Optional. Labels that should be applied to each login node instance.
map<string, string> labels = 8 [(.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 login node instance.
map<string, string> labels = 8 [(.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 login node instance.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getMachineType()
public String getMachineType() Required. Name of the Compute Engine machine
type to use for
login nodes, e.g. n2-standard-2.
string machine_type = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The machineType. |
getMachineTypeBytes()
public ByteString getMachineTypeBytes() Required. Name of the Compute Engine machine
type to use for
login nodes, e.g. n2-standard-2.
string machine_type = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for machineType. |
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 login node instance. Max 256KB.
string startup_script = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The startupScript. |
getStartupScriptBytes()
public ByteString getStartupScriptBytes()Optional. Startup script to be run on each login node instance. Max 256KB.
string startup_script = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for startupScript. |
getStorageConfigs(int index)
public StorageConfig getStorageConfigs(int index)Optional. How storage resources should be mounted on each login node.
repeated .google.cloud.hypercomputecluster.v1beta.StorageConfig storage_configs = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
StorageConfig |
|
getStorageConfigsBuilder(int index)
public StorageConfig.Builder getStorageConfigsBuilder(int index)Optional. How storage resources should be mounted on each login node.
repeated .google.cloud.hypercomputecluster.v1beta.StorageConfig storage_configs = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
StorageConfig.Builder |
|
getStorageConfigsBuilderList()
public List<StorageConfig.Builder> getStorageConfigsBuilderList()Optional. How storage resources should be mounted on each login node.
repeated .google.cloud.hypercomputecluster.v1beta.StorageConfig storage_configs = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getStorageConfigsCount()
public int getStorageConfigsCount()Optional. How storage resources should be mounted on each login node.
repeated .google.cloud.hypercomputecluster.v1beta.StorageConfig storage_configs = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getStorageConfigsList()
public List<StorageConfig> getStorageConfigsList()Optional. How storage resources should be mounted on each login node.
repeated .google.cloud.hypercomputecluster.v1beta.StorageConfig storage_configs = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<StorageConfig> |
|
getStorageConfigsOrBuilder(int index)
public StorageConfigOrBuilder getStorageConfigsOrBuilder(int index)Optional. How storage resources should be mounted on each login node.
repeated .google.cloud.hypercomputecluster.v1beta.StorageConfig storage_configs = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
StorageConfigOrBuilder |
|
getStorageConfigsOrBuilderList()
public List<? extends StorageConfigOrBuilder> getStorageConfigsOrBuilderList()Optional. How storage resources should be mounted on each login node.
repeated .google.cloud.hypercomputecluster.v1beta.StorageConfig storage_configs = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.hypercomputecluster.v1beta.StorageConfigOrBuilder> |
|
getZone()
public 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 | |
|---|---|
| Type | Description |
String |
The zone. |
getZoneBytes()
public 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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for zone. |
hasBootDisk()
public boolean hasBootDisk()Optional. Boot disk for the login node.
.google.cloud.hypercomputecluster.v1beta.BootDisk boot_disk = 13 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the bootDisk field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.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 SlurmLoginNodes.Builder mergeBootDisk(BootDisk value)Optional. Boot disk for the login node.
.google.cloud.hypercomputecluster.v1beta.BootDisk boot_disk = 13 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
BootDisk |
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
|
mergeFrom(SlurmLoginNodes other)
public SlurmLoginNodes.Builder mergeFrom(SlurmLoginNodes other)| Parameter | |
|---|---|
| Name | Description |
other |
SlurmLoginNodes |
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SlurmLoginNodes.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SlurmLoginNodes.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SlurmLoginNodes.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
|
putAllLabels(Map<String,String> values)
public SlurmLoginNodes.Builder putAllLabels(Map<String,String> values)Optional. Labels that should be applied to each login node instance.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
|
putLabels(String key, String value)
public SlurmLoginNodes.Builder putLabels(String key, String value)Optional. Labels that should be applied to each login node instance.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
String |
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
|
removeInstances(int index)
public SlurmLoginNodes.Builder removeInstances(int index)Output only. Information about the login node instances that were created in Compute Engine.
repeated .google.cloud.hypercomputecluster.v1beta.ComputeInstance instances = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
|
removeLabels(String key)
public SlurmLoginNodes.Builder removeLabels(String key)Optional. Labels that should be applied to each login node instance.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
|
removeStorageConfigs(int index)
public SlurmLoginNodes.Builder removeStorageConfigs(int index)Optional. How storage resources should be mounted on each login node.
repeated .google.cloud.hypercomputecluster.v1beta.StorageConfig storage_configs = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
|
setBootDisk(BootDisk value)
public SlurmLoginNodes.Builder setBootDisk(BootDisk value)Optional. Boot disk for the login node.
.google.cloud.hypercomputecluster.v1beta.BootDisk boot_disk = 13 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
BootDisk |
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
|
setBootDisk(BootDisk.Builder builderForValue)
public SlurmLoginNodes.Builder setBootDisk(BootDisk.Builder builderForValue)Optional. Boot disk for the login node.
.google.cloud.hypercomputecluster.v1beta.BootDisk boot_disk = 13 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
BootDisk.Builder |
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
|
setCount(long value)
public SlurmLoginNodes.Builder setCount(long value)Required. Number of login node instances to create.
int64 count = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe count to set. |
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
This builder for chaining. |
setEnableOsLogin(boolean value)
public SlurmLoginNodes.Builder setEnableOsLogin(boolean value)Optional. Whether OS Login should be enabled on login node instances.
bool enable_os_login = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe enableOsLogin to set. |
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
This builder for chaining. |
setEnablePublicIps(boolean value)
public SlurmLoginNodes.Builder setEnablePublicIps(boolean value)Optional. Whether login node instances should be assigned external IP addresses.
bool enable_public_ips = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe enablePublicIps to set. |
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public SlurmLoginNodes.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
|
setInstances(int index, ComputeInstance value)
public SlurmLoginNodes.Builder setInstances(int index, ComputeInstance value)Output only. Information about the login node instances that were created in Compute Engine.
repeated .google.cloud.hypercomputecluster.v1beta.ComputeInstance instances = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
ComputeInstance |
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
|
setInstances(int index, ComputeInstance.Builder builderForValue)
public SlurmLoginNodes.Builder setInstances(int index, ComputeInstance.Builder builderForValue)Output only. Information about the login node instances that were created in Compute Engine.
repeated .google.cloud.hypercomputecluster.v1beta.ComputeInstance instances = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
ComputeInstance.Builder |
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
|
setMachineType(String value)
public SlurmLoginNodes.Builder setMachineType(String value) Required. Name of the Compute Engine machine
type to use for
login nodes, e.g. n2-standard-2.
string machine_type = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe machineType to set. |
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
This builder for chaining. |
setMachineTypeBytes(ByteString value)
public SlurmLoginNodes.Builder setMachineTypeBytes(ByteString value) Required. Name of the Compute Engine machine
type to use for
login nodes, e.g. n2-standard-2.
string machine_type = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for machineType to set. |
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SlurmLoginNodes.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
|
setStartupScript(String value)
public SlurmLoginNodes.Builder setStartupScript(String value)Optional. Startup script to be run on each login node instance. Max 256KB.
string startup_script = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe startupScript to set. |
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
This builder for chaining. |
setStartupScriptBytes(ByteString value)
public SlurmLoginNodes.Builder setStartupScriptBytes(ByteString value)Optional. Startup script to be run on each login node instance. Max 256KB.
string startup_script = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for startupScript to set. |
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
This builder for chaining. |
setStorageConfigs(int index, StorageConfig value)
public SlurmLoginNodes.Builder setStorageConfigs(int index, StorageConfig value)Optional. How storage resources should be mounted on each login node.
repeated .google.cloud.hypercomputecluster.v1beta.StorageConfig storage_configs = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
StorageConfig |
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
|
setStorageConfigs(int index, StorageConfig.Builder builderForValue)
public SlurmLoginNodes.Builder setStorageConfigs(int index, StorageConfig.Builder builderForValue)Optional. How storage resources should be mounted on each login node.
repeated .google.cloud.hypercomputecluster.v1beta.StorageConfig storage_configs = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
StorageConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final SlurmLoginNodes.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
|
setZone(String value)
public SlurmLoginNodes.Builder setZone(String value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe zone to set. |
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
This builder for chaining. |
setZoneBytes(ByteString value)
public SlurmLoginNodes.Builder setZoneBytes(ByteString value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for zone to set. |
| Returns | |
|---|---|
| Type | Description |
SlurmLoginNodes.Builder |
This builder for chaining. |