Interface GkeNodePoolConfigOrBuilder (4.43.0)

public interface GkeNodePoolConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAutoscaling()

public abstract GkeNodePoolConfig.GkeNodePoolAutoscalingConfig getAutoscaling()

Optional. The autoscaler configuration for this node pool. The autoscaler is enabled only when a valid configuration is present.

.google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAutoscalingConfig autoscaling = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GkeNodePoolConfig.GkeNodePoolAutoscalingConfig

The autoscaling.

getAutoscalingOrBuilder()

public abstract GkeNodePoolConfig.GkeNodePoolAutoscalingConfigOrBuilder getAutoscalingOrBuilder()

Optional. The autoscaler configuration for this node pool. The autoscaler is enabled only when a valid configuration is present.

.google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAutoscalingConfig autoscaling = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GkeNodePoolConfig.GkeNodePoolAutoscalingConfigOrBuilder

getConfig()

public abstract GkeNodePoolConfig.GkeNodeConfig getConfig()

Optional. The node pool configuration.

.google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodeConfig config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GkeNodePoolConfig.GkeNodeConfig

The config.

getConfigOrBuilder()

public abstract GkeNodePoolConfig.GkeNodeConfigOrBuilder getConfigOrBuilder()

Optional. The node pool configuration.

.google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodeConfig config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GkeNodePoolConfig.GkeNodeConfigOrBuilder

getLocations(int index)

public abstract String getLocations(int index)

Optional. The list of Compute Engine zones where node pool nodes associated with a Dataproc on GKE virtual cluster will be located.

Note: All node pools associated with a virtual cluster must be located in the same region as the virtual cluster, and they must be located in the same zone within that region.

If a location is not specified during node pool creation, Dataproc on GKE will choose the zone.

repeated string locations = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The locations at the given index.

getLocationsBytes(int index)

public abstract ByteString getLocationsBytes(int index)

Optional. The list of Compute Engine zones where node pool nodes associated with a Dataproc on GKE virtual cluster will be located.

Note: All node pools associated with a virtual cluster must be located in the same region as the virtual cluster, and they must be located in the same zone within that region.

If a location is not specified during node pool creation, Dataproc on GKE will choose the zone.

repeated string locations = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the locations at the given index.

getLocationsCount()

public abstract int getLocationsCount()

Optional. The list of Compute Engine zones where node pool nodes associated with a Dataproc on GKE virtual cluster will be located.

Note: All node pools associated with a virtual cluster must be located in the same region as the virtual cluster, and they must be located in the same zone within that region.

If a location is not specified during node pool creation, Dataproc on GKE will choose the zone.

repeated string locations = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of locations.

getLocationsList()

public abstract List<String> getLocationsList()

Optional. The list of Compute Engine zones where node pool nodes associated with a Dataproc on GKE virtual cluster will be located.

Note: All node pools associated with a virtual cluster must be located in the same region as the virtual cluster, and they must be located in the same zone within that region.

If a location is not specified during node pool creation, Dataproc on GKE will choose the zone.

repeated string locations = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the locations.

hasAutoscaling()

public abstract boolean hasAutoscaling()

Optional. The autoscaler configuration for this node pool. The autoscaler is enabled only when a valid configuration is present.

.google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAutoscalingConfig autoscaling = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the autoscaling field is set.

hasConfig()

public abstract boolean hasConfig()

Optional. The node pool configuration.

.google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodeConfig config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the config field is set.