public final class RuntimeUpdatableParams extends GeneratedMessage 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.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
ACCEPTABLE_BACKLOG_DURATION_FIELD_NUMBER
public static final int ACCEPTABLE_BACKLOG_DURATION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
AUTOSCALING_TIER_FIELD_NUMBER
public static final int AUTOSCALING_TIER_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
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
getAcceptableBacklogDuration() (deprecated)
public 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 |
| Type |
Description |
Duration |
The acceptableBacklogDuration.
|
getAcceptableBacklogDurationOrBuilder() (deprecated)
public DurationOrBuilder getAcceptableBacklogDurationOrBuilder()
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];
getAutoscalingTier()
public 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 |
| Type |
Description |
String |
The autoscalingTier.
|
getAutoscalingTierBytes()
public 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 |
| Type |
Description |
ByteString |
The bytes for autoscalingTier.
|
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.
|
hasAcceptableBacklogDuration() (deprecated)
public 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 |
| Type |
Description |
boolean |
Whether the acceptableBacklogDuration field is set.
|
hasAutoscalingTier()
public 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 |
| Type |
Description |
boolean |
Whether the autoscalingTier field is set.
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public RuntimeUpdatableParams.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected RuntimeUpdatableParams.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public RuntimeUpdatableParams.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides