Interface RuntimeUpdatableParamsOrBuilder (0.95.0)

public interface RuntimeUpdatableParamsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAcceptableBacklogDuration() (deprecated)

public abstract Duration getAcceptableBacklogDuration()

Deprecated. google.dataflow.v1beta3.RuntimeUpdatableParams.acceptable_backlog_duration is deprecated. See google/dataflow/v1beta3/jobs.proto;l=352

Optional. Deprecated: Use autoscaling_tier instead. The backlog threshold duration in seconds for autoscaling. Value must be non-negative.

optional .google.protobuf.Duration acceptable_backlog_duration = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Duration

The acceptableBacklogDuration.

getAcceptableBacklogDurationOrBuilder() (deprecated)

public abstract DurationOrBuilder getAcceptableBacklogDurationOrBuilder()

Optional. Deprecated: Use autoscaling_tier instead. The backlog threshold duration in seconds for autoscaling. Value must be non-negative.

optional .google.protobuf.Duration acceptable_backlog_duration = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DurationOrBuilder

getAutoscalingTier()

public abstract String getAutoscalingTier()

Optional. The backlog threshold tier for autoscaling. Value must be one of "low-latency", "medium-latency", or "high-latency".

optional string autoscaling_tier = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The autoscalingTier.

getAutoscalingTierBytes()

public abstract ByteString getAutoscalingTierBytes()

Optional. The backlog threshold tier for autoscaling. Value must be one of "low-latency", "medium-latency", or "high-latency".

optional string autoscaling_tier = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for autoscalingTier.

getMaxNumWorkers()

public abstract int getMaxNumWorkers()

The maximum number of workers to cap autoscaling at. This field is currently only supported for Streaming Engine jobs.

optional int32 max_num_workers = 1;

Returns
Type Description
int

The maxNumWorkers.

getMinNumWorkers()

public abstract int getMinNumWorkers()

The minimum number of workers to scale down to. This field is currently only supported for Streaming Engine jobs.

optional int32 min_num_workers = 2;

Returns
Type Description
int

The minNumWorkers.

getWorkerUtilizationHint()

public abstract double getWorkerUtilizationHint()

Target worker utilization, compared against the aggregate utilization of the worker pool by autoscaler, to determine upscaling and downscaling when absent other constraints such as backlog. For more information, see Update an existing pipeline.

optional double worker_utilization_hint = 3;

Returns
Type Description
double

The workerUtilizationHint.

hasAcceptableBacklogDuration() (deprecated)

public abstract boolean hasAcceptableBacklogDuration()

Deprecated. google.dataflow.v1beta3.RuntimeUpdatableParams.acceptable_backlog_duration is deprecated. See google/dataflow/v1beta3/jobs.proto;l=352

Optional. Deprecated: Use autoscaling_tier instead. The backlog threshold duration in seconds for autoscaling. Value must be non-negative.

optional .google.protobuf.Duration acceptable_backlog_duration = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the acceptableBacklogDuration field is set.

hasAutoscalingTier()

public abstract boolean hasAutoscalingTier()

Optional. The backlog threshold tier for autoscaling. Value must be one of "low-latency", "medium-latency", or "high-latency".

optional string autoscaling_tier = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the autoscalingTier field is set.

hasMaxNumWorkers()

public abstract boolean hasMaxNumWorkers()

The maximum number of workers to cap autoscaling at. This field is currently only supported for Streaming Engine jobs.

optional int32 max_num_workers = 1;

Returns
Type Description
boolean

Whether the maxNumWorkers field is set.

hasMinNumWorkers()

public abstract boolean hasMinNumWorkers()

The minimum number of workers to scale down to. This field is currently only supported for Streaming Engine jobs.

optional int32 min_num_workers = 2;

Returns
Type Description
boolean

Whether the minNumWorkers field is set.

hasWorkerUtilizationHint()

public abstract boolean hasWorkerUtilizationHint()

Target worker utilization, compared against the aggregate utilization of the worker pool by autoscaler, to determine upscaling and downscaling when absent other constraints such as backlog. For more information, see Update an existing pipeline.

optional double worker_utilization_hint = 3;

Returns
Type Description
boolean

Whether the workerUtilizationHint field is set.