Interface RuntimeUpdatableParamsOrBuilder (0.67.0)

public interface RuntimeUpdatableParamsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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.

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.