Package com.google.dataflow.v1beta3
Interface RuntimeUpdatableParamsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RuntimeUpdatableParams,RuntimeUpdatableParams.Builder
@Generated
public interface RuntimeUpdatableParamsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.DurationDeprecated.google.dataflow.v1beta3.RuntimeUpdatableParams.acceptable_backlog_duration is deprecated.com.google.protobuf.DurationOrBuilderDeprecated.Optional.com.google.protobuf.ByteStringOptional.intThe maximum number of workers to cap autoscaling at.intThe minimum number of workers to scale down to.doubleTarget 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.booleanDeprecated.google.dataflow.v1beta3.RuntimeUpdatableParams.acceptable_backlog_duration is deprecated.booleanOptional.booleanThe maximum number of workers to cap autoscaling at.booleanThe minimum number of workers to scale down to.booleanTarget 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.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasMaxNumWorkers
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:
- Whether the maxNumWorkers field is set.
-
getMaxNumWorkers
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:
- The maxNumWorkers.
-
hasMinNumWorkers
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:
- Whether the minNumWorkers field is set.
-
getMinNumWorkers
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:
- The minNumWorkers.
-
hasWorkerUtilizationHint
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](https://cloud.google.com/dataflow/docs/guides/updating-a-pipeline).
optional double worker_utilization_hint = 3;- Returns:
- Whether the workerUtilizationHint field is set.
-
getWorkerUtilizationHint
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](https://cloud.google.com/dataflow/docs/guides/updating-a-pipeline).
optional double worker_utilization_hint = 3;- Returns:
- The workerUtilizationHint.
-
hasAcceptableBacklogDuration
Deprecated.google.dataflow.v1beta3.RuntimeUpdatableParams.acceptable_backlog_duration is deprecated. See google/dataflow/v1beta3/jobs.proto;l=352Optional. 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:
- Whether the acceptableBacklogDuration field is set.
-
getAcceptableBacklogDuration
Deprecated.google.dataflow.v1beta3.RuntimeUpdatableParams.acceptable_backlog_duration is deprecated. See google/dataflow/v1beta3/jobs.proto;l=352Optional. 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:
- The acceptableBacklogDuration.
-
getAcceptableBacklogDurationOrBuilder
Deprecated.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]; -
hasAutoscalingTier
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:
- Whether the autoscalingTier field is set.
-
getAutoscalingTier
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:
- The autoscalingTier.
-
getAutoscalingTierBytes
com.google.protobuf.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:
- The bytes for autoscalingTier.
-