Package com.google.dataflow.v1beta3
Class RuntimeUpdatableParams
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.dataflow.v1beta3.RuntimeUpdatableParams
- All Implemented Interfaces:
RuntimeUpdatableParamsOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class RuntimeUpdatableParams
extends com.google.protobuf.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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAdditional job parameters that can only be updated during runtime using the projects.jobs.update method.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancom.google.protobuf.DurationDeprecated.google.dataflow.v1beta3.RuntimeUpdatableParams.acceptable_backlog_duration is deprecated.com.google.protobuf.DurationOrBuilderDeprecated.Optional.com.google.protobuf.ByteStringOptional.static RuntimeUpdatableParamsstatic final com.google.protobuf.Descriptors.DescriptorintThe maximum number of workers to cap autoscaling at.intThe minimum number of workers to scale down to.com.google.protobuf.Parser<RuntimeUpdatableParams>intdoubleTarget 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.inthashCode()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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(RuntimeUpdatableParams prototype) protected RuntimeUpdatableParams.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static RuntimeUpdatableParamsparseDelimitedFrom(InputStream input) static RuntimeUpdatableParamsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RuntimeUpdatableParamsparseFrom(byte[] data) static RuntimeUpdatableParamsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RuntimeUpdatableParamsparseFrom(com.google.protobuf.ByteString data) static RuntimeUpdatableParamsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RuntimeUpdatableParamsparseFrom(com.google.protobuf.CodedInputStream input) static RuntimeUpdatableParamsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RuntimeUpdatableParamsparseFrom(InputStream input) static RuntimeUpdatableParamsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RuntimeUpdatableParamsparseFrom(ByteBuffer data) static RuntimeUpdatableParamsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<RuntimeUpdatableParams>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
MAX_NUM_WORKERS_FIELD_NUMBER
public static final int MAX_NUM_WORKERS_FIELD_NUMBER- See Also:
-
MIN_NUM_WORKERS_FIELD_NUMBER
public static final int MIN_NUM_WORKERS_FIELD_NUMBER- See Also:
-
WORKER_UTILIZATION_HINT_FIELD_NUMBER
public static final int WORKER_UTILIZATION_HINT_FIELD_NUMBER- See Also:
-
ACCEPTABLE_BACKLOG_DURATION_FIELD_NUMBER
public static final int ACCEPTABLE_BACKLOG_DURATION_FIELD_NUMBER- See Also:
-
AUTOSCALING_TIER_FIELD_NUMBER
public static final int AUTOSCALING_TIER_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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;- Specified by:
hasMaxNumWorkersin interfaceRuntimeUpdatableParamsOrBuilder- Returns:
- Whether the maxNumWorkers field is set.
-
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;- Specified by:
getMaxNumWorkersin interfaceRuntimeUpdatableParamsOrBuilder- Returns:
- The maxNumWorkers.
-
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;- Specified by:
hasMinNumWorkersin interfaceRuntimeUpdatableParamsOrBuilder- Returns:
- Whether the minNumWorkers field is set.
-
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;- Specified by:
getMinNumWorkersin interfaceRuntimeUpdatableParamsOrBuilder- Returns:
- The minNumWorkers.
-
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](https://cloud.google.com/dataflow/docs/guides/updating-a-pipeline).
optional double worker_utilization_hint = 3;- Specified by:
hasWorkerUtilizationHintin interfaceRuntimeUpdatableParamsOrBuilder- Returns:
- Whether the workerUtilizationHint field is set.
-
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](https://cloud.google.com/dataflow/docs/guides/updating-a-pipeline).
optional double worker_utilization_hint = 3;- Specified by:
getWorkerUtilizationHintin interfaceRuntimeUpdatableParamsOrBuilder- 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];- Specified by:
hasAcceptableBacklogDurationin interfaceRuntimeUpdatableParamsOrBuilder- 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];- Specified by:
getAcceptableBacklogDurationin interfaceRuntimeUpdatableParamsOrBuilder- 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];- Specified by:
getAcceptableBacklogDurationOrBuilderin interfaceRuntimeUpdatableParamsOrBuilder
-
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];- Specified by:
hasAutoscalingTierin interfaceRuntimeUpdatableParamsOrBuilder- Returns:
- Whether the autoscalingTier field is set.
-
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];- Specified by:
getAutoscalingTierin interfaceRuntimeUpdatableParamsOrBuilder- Returns:
- The autoscalingTier.
-
getAutoscalingTierBytes
public 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];- Specified by:
getAutoscalingTierBytesin interfaceRuntimeUpdatableParamsOrBuilder- Returns:
- The bytes for autoscalingTier.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static RuntimeUpdatableParams parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RuntimeUpdatableParams parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RuntimeUpdatableParams parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RuntimeUpdatableParams parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RuntimeUpdatableParams parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RuntimeUpdatableParams parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static RuntimeUpdatableParams parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static RuntimeUpdatableParams parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static RuntimeUpdatableParams parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static RuntimeUpdatableParams parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RuntimeUpdatableParams.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-