Interface GkeNodePoolConfigOrBuilder (3.1.1)

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