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 Type
    Method
    Description
    com.google.protobuf.Duration
    Deprecated.
    google.dataflow.v1beta3.RuntimeUpdatableParams.acceptable_backlog_duration is deprecated.
    com.google.protobuf.DurationOrBuilder
    Deprecated.
    Optional.
    com.google.protobuf.ByteString
    Optional.
    int
    The maximum number of workers to cap autoscaling at.
    int
    The minimum number of workers to scale down to.
    double
    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.
    boolean
    Deprecated.
    google.dataflow.v1beta3.RuntimeUpdatableParams.acceptable_backlog_duration is deprecated.
    boolean
    Optional.
    boolean
    The maximum number of workers to cap autoscaling at.
    boolean
    The minimum number of workers to scale down to.
    boolean
    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.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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 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:
      Whether the acceptableBacklogDuration field is set.
    • getAcceptableBacklogDuration

      @Deprecated com.google.protobuf.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:
      The acceptableBacklogDuration.
    • getAcceptableBacklogDurationOrBuilder

      @Deprecated com.google.protobuf.DurationOrBuilder 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.