public final class AutoscalingSettings extends GeneratedMessageV3 implements AutoscalingSettingsOrBuilder
Settings for WorkerPool autoscaling.
Protobuf type google.dataflow.v1beta3.AutoscalingSettings
Static Fields
ALGORITHM_FIELD_NUMBER
public static final int ALGORITHM_FIELD_NUMBER
Field Value
MAX_NUM_WORKERS_FIELD_NUMBER
public static final int MAX_NUM_WORKERS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AutoscalingSettings getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static AutoscalingSettings.Builder newBuilder()
Returns
newBuilder(AutoscalingSettings prototype)
public static AutoscalingSettings.Builder newBuilder(AutoscalingSettings prototype)
Parameter
Returns
public static AutoscalingSettings parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AutoscalingSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AutoscalingSettings parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AutoscalingSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AutoscalingSettings parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AutoscalingSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AutoscalingSettings parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AutoscalingSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AutoscalingSettings parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AutoscalingSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AutoscalingSettings parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AutoscalingSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<AutoscalingSettings> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAlgorithm()
public AutoscalingAlgorithm getAlgorithm()
The algorithm to use for autoscaling.
.google.dataflow.v1beta3.AutoscalingAlgorithm algorithm = 1;
Returns
getAlgorithmValue()
public int getAlgorithmValue()
The algorithm to use for autoscaling.
.google.dataflow.v1beta3.AutoscalingAlgorithm algorithm = 1;
Returns
Type | Description |
int | The enum numeric value on the wire for algorithm.
|
getDefaultInstanceForType()
public AutoscalingSettings getDefaultInstanceForType()
Returns
getMaxNumWorkers()
public int getMaxNumWorkers()
The maximum number of workers to cap scaling at.
int32 max_num_workers = 2;
Returns
Type | Description |
int | The maxNumWorkers.
|
getParserForType()
public Parser<AutoscalingSettings> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public AutoscalingSettings.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AutoscalingSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public AutoscalingSettings.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions