Interface GkeNodePoolConfigOrBuilder (4.26.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the config field is set.