Interface GkeNodePoolConfigOrBuilder (3.0.3)

public interface GkeNodePoolConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAutoscaling()

public abstract GkeNodePoolConfig.GkeNodePoolAutoscalingConfig getAutoscaling()

Optional. The autoscaler configuration for this NodePool. 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 NodePool. 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 NodePool's nodes will be located. Note: Currently, only one zone may be specified. If a location is not specified during NodePool creation, Dataproc will choose a location.

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 NodePool's nodes will be located. Note: Currently, only one zone may be specified. If a location is not specified during NodePool creation, Dataproc will choose a location.

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 NodePool's nodes will be located. Note: Currently, only one zone may be specified. If a location is not specified during NodePool creation, Dataproc will choose a location.

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 NodePool's nodes will be located. Note: Currently, only one zone may be specified. If a location is not specified during NodePool creation, Dataproc will choose a location.

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 NodePool. 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.