Interface GkeNodePoolConfig.GkeNodeConfigOrBuilder (4.8.0)

public static interface GkeNodePoolConfig.GkeNodeConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAcceleratorConfigOrBuilder>

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for minCpuPlatform.

getPreemptible()

public abstract boolean getPreemptible()

Optional. Whether the nodes are created as preemptible VM instances.

bool preemptible = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

The preemptible.