- 4.50.0 (latest)
- 4.49.0
- 4.48.0
- 4.46.0
- 4.45.0
- 4.44.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.34.0
- 4.33.0
- 4.32.0
- 4.31.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.16.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.0
- 4.8.0
- 4.6.0
- 4.5.0
- 4.4.0
- 4.3.0
- 4.2.0
- 4.1.0
- 4.0.8
- 3.1.2
- 3.0.3
- 2.3.1
public static interface GkeNodePoolConfig.GkeNodeConfigOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getAccelerators(int index)
public abstract GkeNodePoolConfig.GkeNodePoolAcceleratorConfig getAccelerators(int index)
Optional. A list of hardware accelerators to attach to each node.
repeated .google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAcceleratorConfig accelerators = 11 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
GkeNodePoolConfig.GkeNodePoolAcceleratorConfig |
getAcceleratorsCount()
public abstract int getAcceleratorsCount()
Optional. A list of hardware accelerators to attach to each node.
repeated .google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAcceleratorConfig accelerators = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getAcceleratorsList()
public abstract List<GkeNodePoolConfig.GkeNodePoolAcceleratorConfig> getAcceleratorsList()
Optional. A list of hardware accelerators to attach to each node.
repeated .google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAcceleratorConfig accelerators = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<GkeNodePoolAcceleratorConfig> |
getAcceleratorsOrBuilder(int index)
public abstract GkeNodePoolConfig.GkeNodePoolAcceleratorConfigOrBuilder getAcceleratorsOrBuilder(int index)
Optional. A list of hardware accelerators to attach to each node.
repeated .google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAcceleratorConfig accelerators = 11 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
GkeNodePoolConfig.GkeNodePoolAcceleratorConfigOrBuilder |
getAcceleratorsOrBuilderList()
public abstract List<? extends GkeNodePoolConfig.GkeNodePoolAcceleratorConfigOrBuilder> getAcceleratorsOrBuilderList()
Optional. A list of hardware accelerators to attach to each node.
repeated .google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAcceleratorConfig accelerators = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAcceleratorConfigOrBuilder> |
getBootDiskKmsKey()
public abstract String getBootDiskKmsKey()
Optional. The Customer Managed Encryption Key (CMEK) used to encrypt the boot disk attached to each node in the node pool. Specify the key using the following format: <code>projects/<var>KEY_PROJECT_ID</var>/locations/<var>LOCATION</var>/keyRings/<var>RING_NAME</var>/cryptoKeys/<var>KEY_NAME</var></code>.
string boot_disk_kms_key = 23 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The bootDiskKmsKey. |
getBootDiskKmsKeyBytes()
public abstract ByteString getBootDiskKmsKeyBytes()
Optional. The Customer Managed Encryption Key (CMEK) used to encrypt the boot disk attached to each node in the node pool. Specify the key using the following format: <code>projects/<var>KEY_PROJECT_ID</var>/locations/<var>LOCATION</var>/keyRings/<var>RING_NAME</var>/cryptoKeys/<var>KEY_NAME</var></code>.
string boot_disk_kms_key = 23 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for bootDiskKmsKey. |
getLocalSsdCount()
public abstract int getLocalSsdCount()
Optional. The number of local SSD disks to attach to the node, which is limited by the maximum number of disks allowable per zone (see Adding Local SSDs).
int32 local_ssd_count = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The localSsdCount. |
getMachineType()
public abstract String getMachineType()
Optional. The name of a Compute Engine machine type.
string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The machineType. |
getMachineTypeBytes()
public abstract ByteString getMachineTypeBytes()
Optional. The name of a Compute Engine machine type.
string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for machineType. |
getMinCpuPlatform()
public abstract String getMinCpuPlatform()
Optional. Minimum CPU platform to be used by this instance. The instance may be scheduled on the specified or a newer CPU platform. Specify the friendly names of CPU platforms, such as "Intel Haswell"` or Intel Sandy Bridge".
string min_cpu_platform = 13 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The minCpuPlatform. |
getMinCpuPlatformBytes()
public abstract ByteString getMinCpuPlatformBytes()
Optional. Minimum CPU platform to be used by this instance. The instance may be scheduled on the specified or a newer CPU platform. Specify the friendly names of CPU platforms, such as "Intel Haswell"` or Intel Sandy Bridge".
string min_cpu_platform = 13 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for minCpuPlatform. |
getPreemptible()
public abstract boolean getPreemptible()
Optional. Whether the nodes are created as legacy preemptible VM
instances.
Also see
Spot
VMs, preemptible VM instances without a maximum lifetime. Legacy and Spot
preemptible nodes cannot be used in a node pool with the CONTROLLER
role
or in the DEFAULT node pool if the CONTROLLER role is not assigned (the
DEFAULT node pool will assume the CONTROLLER role).
bool preemptible = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
The preemptible. |
getSpot()
public abstract boolean getSpot()
Optional. Whether the nodes are created as Spot VM instances.
Spot VMs are the latest update to legacy
preemptible
VMs.
Spot VMs do not have a maximum lifetime. Legacy and Spot preemptible
nodes cannot be used in a node pool with the CONTROLLER
role
or in the DEFAULT node pool if the CONTROLLER role is not assigned (the
DEFAULT node pool will assume the CONTROLLER role).
bool spot = 32 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
The spot. |