Interface BasicAutoscalingAlgorithmOrBuilder (4.50.0)

public interface BasicAutoscalingAlgorithmOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConfigCase()

public abstract BasicAutoscalingAlgorithm.ConfigCase getConfigCase()
Returns
Type Description
BasicAutoscalingAlgorithm.ConfigCase

getCooldownPeriod()

public abstract Duration getCooldownPeriod()

Optional. Duration between scaling events. A scaling period starts after the update operation from the previous event has completed.

Bounds: [2m, 1d]. Default: 2m.

.google.protobuf.Duration cooldown_period = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Duration

The cooldownPeriod.

getCooldownPeriodOrBuilder()

public abstract DurationOrBuilder getCooldownPeriodOrBuilder()

Optional. Duration between scaling events. A scaling period starts after the update operation from the previous event has completed.

Bounds: [2m, 1d]. Default: 2m.

.google.protobuf.Duration cooldown_period = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DurationOrBuilder

getYarnConfig()

public abstract BasicYarnAutoscalingConfig getYarnConfig()

Required. YARN autoscaling configuration.

.google.cloud.dataproc.v1.BasicYarnAutoscalingConfig yarn_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BasicYarnAutoscalingConfig

The yarnConfig.

getYarnConfigOrBuilder()

public abstract BasicYarnAutoscalingConfigOrBuilder getYarnConfigOrBuilder()

Required. YARN autoscaling configuration.

.google.cloud.dataproc.v1.BasicYarnAutoscalingConfig yarn_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BasicYarnAutoscalingConfigOrBuilder

hasCooldownPeriod()

public abstract boolean hasCooldownPeriod()

Optional. Duration between scaling events. A scaling period starts after the update operation from the previous event has completed.

Bounds: [2m, 1d]. Default: 2m.

.google.protobuf.Duration cooldown_period = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the cooldownPeriod field is set.

hasYarnConfig()

public abstract boolean hasYarnConfig()

Required. YARN autoscaling configuration.

.google.cloud.dataproc.v1.BasicYarnAutoscalingConfig yarn_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the yarnConfig field is set.