Class RuntimeUpdatableParams.Builder (0.80.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 0.80.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  RuntimeUpdatableParams . Builder   extends   GeneratedMessageV3 . Builder<RuntimeUpdatableParams . Builder >  implements   RuntimeUpdatableParamsOrBuilder  
   Additional job parameters that can only be updated during runtime using the
 projects.jobs.update method. These fields have no effect when specified
 during job creation.
 Protobuf type google.dataflow.v1beta3.RuntimeUpdatableParams
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder() 
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int) 
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int) 
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString) 
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int) 
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int) 
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder) 
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Methods
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  Methods
   
  addRepeatedField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   RuntimeUpdatableParams . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  build() 
  
    
public   RuntimeUpdatableParams   build ()  
  
  buildPartial() 
  
    
public   RuntimeUpdatableParams   buildPartial ()  
  
  clear() 
  
    
public   RuntimeUpdatableParams . Builder   clear ()  
  
  Overrides 
  
  clearField(Descriptors.FieldDescriptor field) 
  
    
public   RuntimeUpdatableParams . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  clearMaxNumWorkers() 
  
    
public   RuntimeUpdatableParams . Builder   clearMaxNumWorkers ()  
   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;
clearMinNumWorkers() 
  
    
public   RuntimeUpdatableParams . Builder   clearMinNumWorkers ()  
   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;
clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   RuntimeUpdatableParams . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  clearWorkerUtilizationHint() 
  
    
public   RuntimeUpdatableParams . Builder   clearWorkerUtilizationHint ()  
   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;
clone() 
  
    
public   RuntimeUpdatableParams . Builder   clone ()  
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   RuntimeUpdatableParams   getDefaultInstanceForType ()  
  
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  getMaxNumWorkers() 
  
    
public   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   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   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   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   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   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.
 
     
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  mergeFrom(RuntimeUpdatableParams other) 
  
    
public   RuntimeUpdatableParams . Builder   mergeFrom ( RuntimeUpdatableParams   other )  
  
  
  
    
public   RuntimeUpdatableParams . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  mergeFrom(Message other) 
  
    
public   RuntimeUpdatableParams . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   RuntimeUpdatableParams . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   RuntimeUpdatableParams . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  setMaxNumWorkers(int value) 
  
    
public   RuntimeUpdatableParams . Builder   setMaxNumWorkers ( int   value )  
   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;
    
      
        Parameter  
      
        Name Description  
      
        valueint The maxNumWorkers to set.
 
     
  
  
  setMinNumWorkers(int value) 
  
    
public   RuntimeUpdatableParams . Builder   setMinNumWorkers ( int   value )  
   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;
    
      
        Parameter  
      
        Name Description  
      
        valueint The minNumWorkers to set.
 
     
  
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   RuntimeUpdatableParams . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   RuntimeUpdatableParams . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  setWorkerUtilizationHint(double value) 
  
    
public   RuntimeUpdatableParams . Builder   setWorkerUtilizationHint ( double   value )  
   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;
    
      
        Parameter  
      
        Name Description  
      
        valuedouble The workerUtilizationHint to set.
 
     
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-28 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-28 UTC."],[],[]]