Interface BasicAutoscalingAlgorithmOrBuilder (4.31.0)

public interface BasicAutoscalingAlgorithmOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConfigCase()

public abstract BasicAutoscalingAlgorithm.ConfigCase getConfigCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
DurationOrBuilder

getYarnConfig()

public abstract BasicYarnAutoscalingConfig getYarnConfig()

Required. YARN autoscaling configuration.

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

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

Whether the yarnConfig field is set.