Send feedback
Class RuntimeUpdatableParams (0.67.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
public final class RuntimeUpdatableParams extends GeneratedMessageV3 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.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
MAX_NUM_WORKERS_FIELD_NUMBER
public static final int MAX_NUM_WORKERS_FIELD_NUMBER
Field Value
Type
Description
int
MIN_NUM_WORKERS_FIELD_NUMBER
public static final int MIN_NUM_WORKERS_FIELD_NUMBER
Field Value
Type
Description
int
WORKER_UTILIZATION_HINT_FIELD_NUMBER
public static final int WORKER_UTILIZATION_HINT_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static RuntimeUpdatableParams getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static RuntimeUpdatableParams . Builder newBuilder ()
newBuilder(RuntimeUpdatableParams prototype)
public static RuntimeUpdatableParams . Builder newBuilder ( RuntimeUpdatableParams prototype )
public static RuntimeUpdatableParams parseDelimitedFrom ( InputStream input )
public static RuntimeUpdatableParams parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static RuntimeUpdatableParams parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RuntimeUpdatableParams parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static RuntimeUpdatableParams parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RuntimeUpdatableParams parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static RuntimeUpdatableParams parseFrom ( CodedInputStream input )
public static RuntimeUpdatableParams parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static RuntimeUpdatableParams parseFrom ( InputStream input )
public static RuntimeUpdatableParams parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static RuntimeUpdatableParams parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RuntimeUpdatableParams parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<RuntimeUpdatableParams> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public RuntimeUpdatableParams getDefaultInstanceForType ()
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.
getParserForType()
public Parser<RuntimeUpdatableParams> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
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.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public RuntimeUpdatableParams . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RuntimeUpdatableParams . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public RuntimeUpdatableParams . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
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-06-04 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-04 UTC."],[],[]]