Class AutomaticScaling.Builder (2.46.0)

public static final class AutomaticScaling.Builder extends GeneratedMessageV3.Builder<AutomaticScaling.Builder> implements AutomaticScalingOrBuilder

Automatic scaling is based on request rate, response latencies, and other application metrics.

Protobuf type google.appengine.v1.AutomaticScaling

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AutomaticScaling.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AutomaticScaling.Builder
Overrides

build()

public AutomaticScaling build()
Returns
Type Description
AutomaticScaling

buildPartial()

public AutomaticScaling buildPartial()
Returns
Type Description
AutomaticScaling

clear()

public AutomaticScaling.Builder clear()
Returns
Type Description
AutomaticScaling.Builder
Overrides

clearCoolDownPeriod()

public AutomaticScaling.Builder clearCoolDownPeriod()

The time period that the Autoscaler should wait before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. Only applicable in the App Engine flexible environment.

.google.protobuf.Duration cool_down_period = 1;

Returns
Type Description
AutomaticScaling.Builder

clearCpuUtilization()

public AutomaticScaling.Builder clearCpuUtilization()

Target scaling by CPU usage.

.google.appengine.v1.CpuUtilization cpu_utilization = 2;

Returns
Type Description
AutomaticScaling.Builder

clearDiskUtilization()

public AutomaticScaling.Builder clearDiskUtilization()

Target scaling by disk usage.

.google.appengine.v1.DiskUtilization disk_utilization = 11;

Returns
Type Description
AutomaticScaling.Builder

clearField(Descriptors.FieldDescriptor field)

public AutomaticScaling.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AutomaticScaling.Builder
Overrides

clearMaxConcurrentRequests()

public AutomaticScaling.Builder clearMaxConcurrentRequests()

Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance.

Defaults to a runtime-specific value.

int32 max_concurrent_requests = 3;

Returns
Type Description
AutomaticScaling.Builder

This builder for chaining.

clearMaxIdleInstances()

public AutomaticScaling.Builder clearMaxIdleInstances()

Maximum number of idle instances that should be maintained for this version.

int32 max_idle_instances = 4;

Returns
Type Description
AutomaticScaling.Builder

This builder for chaining.

clearMaxPendingLatency()

public AutomaticScaling.Builder clearMaxPendingLatency()

Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.

.google.protobuf.Duration max_pending_latency = 6;

Returns
Type Description
AutomaticScaling.Builder

clearMaxTotalInstances()

public AutomaticScaling.Builder clearMaxTotalInstances()

Maximum number of instances that should be started to handle requests for this version.

int32 max_total_instances = 5;

Returns
Type Description
AutomaticScaling.Builder

This builder for chaining.

clearMinIdleInstances()

public AutomaticScaling.Builder clearMinIdleInstances()

Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.

int32 min_idle_instances = 7;

Returns
Type Description
AutomaticScaling.Builder

This builder for chaining.

clearMinPendingLatency()

public AutomaticScaling.Builder clearMinPendingLatency()

Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.

.google.protobuf.Duration min_pending_latency = 9;

Returns
Type Description
AutomaticScaling.Builder

clearMinTotalInstances()

public AutomaticScaling.Builder clearMinTotalInstances()

Minimum number of running instances that should be maintained for this version.

int32 min_total_instances = 8;

Returns
Type Description
AutomaticScaling.Builder

This builder for chaining.

clearNetworkUtilization()

public AutomaticScaling.Builder clearNetworkUtilization()

Target scaling by network usage.

.google.appengine.v1.NetworkUtilization network_utilization = 12;

Returns
Type Description
AutomaticScaling.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public AutomaticScaling.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AutomaticScaling.Builder
Overrides

clearRequestUtilization()

public AutomaticScaling.Builder clearRequestUtilization()

Target scaling by request utilization.

.google.appengine.v1.RequestUtilization request_utilization = 10;

Returns
Type Description
AutomaticScaling.Builder

clearStandardSchedulerSettings()

public AutomaticScaling.Builder clearStandardSchedulerSettings()

Scheduler settings for standard environment.

.google.appengine.v1.StandardSchedulerSettings standard_scheduler_settings = 20;

Returns
Type Description
AutomaticScaling.Builder

clone()

public AutomaticScaling.Builder clone()
Returns
Type Description
AutomaticScaling.Builder
Overrides

getCoolDownPeriod()

public Duration getCoolDownPeriod()

The time period that the Autoscaler should wait before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. Only applicable in the App Engine flexible environment.

.google.protobuf.Duration cool_down_period = 1;

Returns
Type Description
Duration

The coolDownPeriod.

getCoolDownPeriodBuilder()

public Duration.Builder getCoolDownPeriodBuilder()

The time period that the Autoscaler should wait before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. Only applicable in the App Engine flexible environment.

.google.protobuf.Duration cool_down_period = 1;

Returns
Type Description
Builder

getCoolDownPeriodOrBuilder()

public DurationOrBuilder getCoolDownPeriodOrBuilder()

The time period that the Autoscaler should wait before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. Only applicable in the App Engine flexible environment.

.google.protobuf.Duration cool_down_period = 1;

Returns
Type Description
DurationOrBuilder

getCpuUtilization()

public CpuUtilization getCpuUtilization()

Target scaling by CPU usage.

.google.appengine.v1.CpuUtilization cpu_utilization = 2;

Returns
Type Description
CpuUtilization

The cpuUtilization.

getCpuUtilizationBuilder()

public CpuUtilization.Builder getCpuUtilizationBuilder()

Target scaling by CPU usage.

.google.appengine.v1.CpuUtilization cpu_utilization = 2;

Returns
Type Description
CpuUtilization.Builder

getCpuUtilizationOrBuilder()

public CpuUtilizationOrBuilder getCpuUtilizationOrBuilder()

Target scaling by CPU usage.

.google.appengine.v1.CpuUtilization cpu_utilization = 2;

Returns
Type Description
CpuUtilizationOrBuilder

getDefaultInstanceForType()

public AutomaticScaling getDefaultInstanceForType()
Returns
Type Description
AutomaticScaling

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDiskUtilization()

public DiskUtilization getDiskUtilization()

Target scaling by disk usage.

.google.appengine.v1.DiskUtilization disk_utilization = 11;

Returns
Type Description
DiskUtilization

The diskUtilization.

getDiskUtilizationBuilder()

public DiskUtilization.Builder getDiskUtilizationBuilder()

Target scaling by disk usage.

.google.appengine.v1.DiskUtilization disk_utilization = 11;

Returns
Type Description
DiskUtilization.Builder

getDiskUtilizationOrBuilder()

public DiskUtilizationOrBuilder getDiskUtilizationOrBuilder()

Target scaling by disk usage.

.google.appengine.v1.DiskUtilization disk_utilization = 11;

Returns
Type Description
DiskUtilizationOrBuilder

getMaxConcurrentRequests()

public int getMaxConcurrentRequests()

Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance.

Defaults to a runtime-specific value.

int32 max_concurrent_requests = 3;

Returns
Type Description
int

The maxConcurrentRequests.

getMaxIdleInstances()

public int getMaxIdleInstances()

Maximum number of idle instances that should be maintained for this version.

int32 max_idle_instances = 4;

Returns
Type Description
int

The maxIdleInstances.

getMaxPendingLatency()

public Duration getMaxPendingLatency()

Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.

.google.protobuf.Duration max_pending_latency = 6;

Returns
Type Description
Duration

The maxPendingLatency.

getMaxPendingLatencyBuilder()

public Duration.Builder getMaxPendingLatencyBuilder()

Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.

.google.protobuf.Duration max_pending_latency = 6;

Returns
Type Description
Builder

getMaxPendingLatencyOrBuilder()

public DurationOrBuilder getMaxPendingLatencyOrBuilder()

Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.

.google.protobuf.Duration max_pending_latency = 6;

Returns
Type Description
DurationOrBuilder

getMaxTotalInstances()

public int getMaxTotalInstances()

Maximum number of instances that should be started to handle requests for this version.

int32 max_total_instances = 5;

Returns
Type Description
int

The maxTotalInstances.

getMinIdleInstances()

public int getMinIdleInstances()

Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.

int32 min_idle_instances = 7;

Returns
Type Description
int

The minIdleInstances.

getMinPendingLatency()

public Duration getMinPendingLatency()

Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.

.google.protobuf.Duration min_pending_latency = 9;

Returns
Type Description
Duration

The minPendingLatency.

getMinPendingLatencyBuilder()

public Duration.Builder getMinPendingLatencyBuilder()

Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.

.google.protobuf.Duration min_pending_latency = 9;

Returns
Type Description
Builder

getMinPendingLatencyOrBuilder()

public DurationOrBuilder getMinPendingLatencyOrBuilder()

Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.

.google.protobuf.Duration min_pending_latency = 9;

Returns
Type Description
DurationOrBuilder

getMinTotalInstances()

public int getMinTotalInstances()

Minimum number of running instances that should be maintained for this version.

int32 min_total_instances = 8;

Returns
Type Description
int

The minTotalInstances.

getNetworkUtilization()

public NetworkUtilization getNetworkUtilization()

Target scaling by network usage.

.google.appengine.v1.NetworkUtilization network_utilization = 12;

Returns
Type Description
NetworkUtilization

The networkUtilization.

getNetworkUtilizationBuilder()

public NetworkUtilization.Builder getNetworkUtilizationBuilder()

Target scaling by network usage.

.google.appengine.v1.NetworkUtilization network_utilization = 12;

Returns
Type Description
NetworkUtilization.Builder

getNetworkUtilizationOrBuilder()

public NetworkUtilizationOrBuilder getNetworkUtilizationOrBuilder()

Target scaling by network usage.

.google.appengine.v1.NetworkUtilization network_utilization = 12;

Returns
Type Description
NetworkUtilizationOrBuilder

getRequestUtilization()

public RequestUtilization getRequestUtilization()

Target scaling by request utilization.

.google.appengine.v1.RequestUtilization request_utilization = 10;

Returns
Type Description
RequestUtilization

The requestUtilization.

getRequestUtilizationBuilder()

public RequestUtilization.Builder getRequestUtilizationBuilder()

Target scaling by request utilization.

.google.appengine.v1.RequestUtilization request_utilization = 10;

Returns
Type Description
RequestUtilization.Builder

getRequestUtilizationOrBuilder()

public RequestUtilizationOrBuilder getRequestUtilizationOrBuilder()

Target scaling by request utilization.

.google.appengine.v1.RequestUtilization request_utilization = 10;

Returns
Type Description
RequestUtilizationOrBuilder

getStandardSchedulerSettings()

public StandardSchedulerSettings getStandardSchedulerSettings()

Scheduler settings for standard environment.

.google.appengine.v1.StandardSchedulerSettings standard_scheduler_settings = 20;

Returns
Type Description
StandardSchedulerSettings

The standardSchedulerSettings.

getStandardSchedulerSettingsBuilder()

public StandardSchedulerSettings.Builder getStandardSchedulerSettingsBuilder()

Scheduler settings for standard environment.

.google.appengine.v1.StandardSchedulerSettings standard_scheduler_settings = 20;

Returns
Type Description
StandardSchedulerSettings.Builder

getStandardSchedulerSettingsOrBuilder()

public StandardSchedulerSettingsOrBuilder getStandardSchedulerSettingsOrBuilder()

Scheduler settings for standard environment.

.google.appengine.v1.StandardSchedulerSettings standard_scheduler_settings = 20;

Returns
Type Description
StandardSchedulerSettingsOrBuilder

hasCoolDownPeriod()

public boolean hasCoolDownPeriod()

The time period that the Autoscaler should wait before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. Only applicable in the App Engine flexible environment.

.google.protobuf.Duration cool_down_period = 1;

Returns
Type Description
boolean

Whether the coolDownPeriod field is set.

hasCpuUtilization()

public boolean hasCpuUtilization()

Target scaling by CPU usage.

.google.appengine.v1.CpuUtilization cpu_utilization = 2;

Returns
Type Description
boolean

Whether the cpuUtilization field is set.

hasDiskUtilization()

public boolean hasDiskUtilization()

Target scaling by disk usage.

.google.appengine.v1.DiskUtilization disk_utilization = 11;

Returns
Type Description
boolean

Whether the diskUtilization field is set.

hasMaxPendingLatency()

public boolean hasMaxPendingLatency()

Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.

.google.protobuf.Duration max_pending_latency = 6;

Returns
Type Description
boolean

Whether the maxPendingLatency field is set.

hasMinPendingLatency()

public boolean hasMinPendingLatency()

Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.

.google.protobuf.Duration min_pending_latency = 9;

Returns
Type Description
boolean

Whether the minPendingLatency field is set.

hasNetworkUtilization()

public boolean hasNetworkUtilization()

Target scaling by network usage.

.google.appengine.v1.NetworkUtilization network_utilization = 12;

Returns
Type Description
boolean

Whether the networkUtilization field is set.

hasRequestUtilization()

public boolean hasRequestUtilization()

Target scaling by request utilization.

.google.appengine.v1.RequestUtilization request_utilization = 10;

Returns
Type Description
boolean

Whether the requestUtilization field is set.

hasStandardSchedulerSettings()

public boolean hasStandardSchedulerSettings()

Scheduler settings for standard environment.

.google.appengine.v1.StandardSchedulerSettings standard_scheduler_settings = 20;

Returns
Type Description
boolean

Whether the standardSchedulerSettings field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCoolDownPeriod(Duration value)

public AutomaticScaling.Builder mergeCoolDownPeriod(Duration value)

The time period that the Autoscaler should wait before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. Only applicable in the App Engine flexible environment.

.google.protobuf.Duration cool_down_period = 1;

Parameter
Name Description
value Duration
Returns
Type Description
AutomaticScaling.Builder

mergeCpuUtilization(CpuUtilization value)

public AutomaticScaling.Builder mergeCpuUtilization(CpuUtilization value)

Target scaling by CPU usage.

.google.appengine.v1.CpuUtilization cpu_utilization = 2;

Parameter
Name Description
value CpuUtilization
Returns
Type Description
AutomaticScaling.Builder

mergeDiskUtilization(DiskUtilization value)

public AutomaticScaling.Builder mergeDiskUtilization(DiskUtilization value)

Target scaling by disk usage.

.google.appengine.v1.DiskUtilization disk_utilization = 11;

Parameter
Name Description
value DiskUtilization
Returns
Type Description
AutomaticScaling.Builder

mergeFrom(AutomaticScaling other)

public AutomaticScaling.Builder mergeFrom(AutomaticScaling other)
Parameter
Name Description
other AutomaticScaling
Returns
Type Description
AutomaticScaling.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AutomaticScaling.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutomaticScaling.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AutomaticScaling.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AutomaticScaling.Builder
Overrides

mergeMaxPendingLatency(Duration value)

public AutomaticScaling.Builder mergeMaxPendingLatency(Duration value)

Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.

.google.protobuf.Duration max_pending_latency = 6;

Parameter
Name Description
value Duration
Returns
Type Description
AutomaticScaling.Builder

mergeMinPendingLatency(Duration value)

public AutomaticScaling.Builder mergeMinPendingLatency(Duration value)

Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.

.google.protobuf.Duration min_pending_latency = 9;

Parameter
Name Description
value Duration
Returns
Type Description
AutomaticScaling.Builder

mergeNetworkUtilization(NetworkUtilization value)

public AutomaticScaling.Builder mergeNetworkUtilization(NetworkUtilization value)

Target scaling by network usage.

.google.appengine.v1.NetworkUtilization network_utilization = 12;

Parameter
Name Description
value NetworkUtilization
Returns
Type Description
AutomaticScaling.Builder

mergeRequestUtilization(RequestUtilization value)

public AutomaticScaling.Builder mergeRequestUtilization(RequestUtilization value)

Target scaling by request utilization.

.google.appengine.v1.RequestUtilization request_utilization = 10;

Parameter
Name Description
value RequestUtilization
Returns
Type Description
AutomaticScaling.Builder

mergeStandardSchedulerSettings(StandardSchedulerSettings value)

public AutomaticScaling.Builder mergeStandardSchedulerSettings(StandardSchedulerSettings value)

Scheduler settings for standard environment.

.google.appengine.v1.StandardSchedulerSettings standard_scheduler_settings = 20;

Parameter
Name Description
value StandardSchedulerSettings
Returns
Type Description
AutomaticScaling.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AutomaticScaling.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AutomaticScaling.Builder
Overrides

setCoolDownPeriod(Duration value)

public AutomaticScaling.Builder setCoolDownPeriod(Duration value)

The time period that the Autoscaler should wait before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. Only applicable in the App Engine flexible environment.

.google.protobuf.Duration cool_down_period = 1;

Parameter
Name Description
value Duration
Returns
Type Description
AutomaticScaling.Builder

setCoolDownPeriod(Duration.Builder builderForValue)

public AutomaticScaling.Builder setCoolDownPeriod(Duration.Builder builderForValue)

The time period that the Autoscaler should wait before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. Only applicable in the App Engine flexible environment.

.google.protobuf.Duration cool_down_period = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
AutomaticScaling.Builder

setCpuUtilization(CpuUtilization value)

public AutomaticScaling.Builder setCpuUtilization(CpuUtilization value)

Target scaling by CPU usage.

.google.appengine.v1.CpuUtilization cpu_utilization = 2;

Parameter
Name Description
value CpuUtilization
Returns
Type Description
AutomaticScaling.Builder

setCpuUtilization(CpuUtilization.Builder builderForValue)

public AutomaticScaling.Builder setCpuUtilization(CpuUtilization.Builder builderForValue)

Target scaling by CPU usage.

.google.appengine.v1.CpuUtilization cpu_utilization = 2;

Parameter
Name Description
builderForValue CpuUtilization.Builder
Returns
Type Description
AutomaticScaling.Builder

setDiskUtilization(DiskUtilization value)

public AutomaticScaling.Builder setDiskUtilization(DiskUtilization value)

Target scaling by disk usage.

.google.appengine.v1.DiskUtilization disk_utilization = 11;

Parameter
Name Description
value DiskUtilization
Returns
Type Description
AutomaticScaling.Builder

setDiskUtilization(DiskUtilization.Builder builderForValue)

public AutomaticScaling.Builder setDiskUtilization(DiskUtilization.Builder builderForValue)

Target scaling by disk usage.

.google.appengine.v1.DiskUtilization disk_utilization = 11;

Parameter
Name Description
builderForValue DiskUtilization.Builder
Returns
Type Description
AutomaticScaling.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AutomaticScaling.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AutomaticScaling.Builder
Overrides

setMaxConcurrentRequests(int value)

public AutomaticScaling.Builder setMaxConcurrentRequests(int value)

Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance.

Defaults to a runtime-specific value.

int32 max_concurrent_requests = 3;

Parameter
Name Description
value int

The maxConcurrentRequests to set.

Returns
Type Description
AutomaticScaling.Builder

This builder for chaining.

setMaxIdleInstances(int value)

public AutomaticScaling.Builder setMaxIdleInstances(int value)

Maximum number of idle instances that should be maintained for this version.

int32 max_idle_instances = 4;

Parameter
Name Description
value int

The maxIdleInstances to set.

Returns
Type Description
AutomaticScaling.Builder

This builder for chaining.

setMaxPendingLatency(Duration value)

public AutomaticScaling.Builder setMaxPendingLatency(Duration value)

Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.

.google.protobuf.Duration max_pending_latency = 6;

Parameter
Name Description
value Duration
Returns
Type Description
AutomaticScaling.Builder

setMaxPendingLatency(Duration.Builder builderForValue)

public AutomaticScaling.Builder setMaxPendingLatency(Duration.Builder builderForValue)

Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.

.google.protobuf.Duration max_pending_latency = 6;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
AutomaticScaling.Builder

setMaxTotalInstances(int value)

public AutomaticScaling.Builder setMaxTotalInstances(int value)

Maximum number of instances that should be started to handle requests for this version.

int32 max_total_instances = 5;

Parameter
Name Description
value int

The maxTotalInstances to set.

Returns
Type Description
AutomaticScaling.Builder

This builder for chaining.

setMinIdleInstances(int value)

public AutomaticScaling.Builder setMinIdleInstances(int value)

Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.

int32 min_idle_instances = 7;

Parameter
Name Description
value int

The minIdleInstances to set.

Returns
Type Description
AutomaticScaling.Builder

This builder for chaining.

setMinPendingLatency(Duration value)

public AutomaticScaling.Builder setMinPendingLatency(Duration value)

Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.

.google.protobuf.Duration min_pending_latency = 9;

Parameter
Name Description
value Duration
Returns
Type Description
AutomaticScaling.Builder

setMinPendingLatency(Duration.Builder builderForValue)

public AutomaticScaling.Builder setMinPendingLatency(Duration.Builder builderForValue)

Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.

.google.protobuf.Duration min_pending_latency = 9;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
AutomaticScaling.Builder

setMinTotalInstances(int value)

public AutomaticScaling.Builder setMinTotalInstances(int value)

Minimum number of running instances that should be maintained for this version.

int32 min_total_instances = 8;

Parameter
Name Description
value int

The minTotalInstances to set.

Returns
Type Description
AutomaticScaling.Builder

This builder for chaining.

setNetworkUtilization(NetworkUtilization value)

public AutomaticScaling.Builder setNetworkUtilization(NetworkUtilization value)

Target scaling by network usage.

.google.appengine.v1.NetworkUtilization network_utilization = 12;

Parameter
Name Description
value NetworkUtilization
Returns
Type Description
AutomaticScaling.Builder

setNetworkUtilization(NetworkUtilization.Builder builderForValue)

public AutomaticScaling.Builder setNetworkUtilization(NetworkUtilization.Builder builderForValue)

Target scaling by network usage.

.google.appengine.v1.NetworkUtilization network_utilization = 12;

Parameter
Name Description
builderForValue NetworkUtilization.Builder
Returns
Type Description
AutomaticScaling.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AutomaticScaling.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AutomaticScaling.Builder
Overrides

setRequestUtilization(RequestUtilization value)

public AutomaticScaling.Builder setRequestUtilization(RequestUtilization value)

Target scaling by request utilization.

.google.appengine.v1.RequestUtilization request_utilization = 10;

Parameter
Name Description
value RequestUtilization
Returns
Type Description
AutomaticScaling.Builder

setRequestUtilization(RequestUtilization.Builder builderForValue)

public AutomaticScaling.Builder setRequestUtilization(RequestUtilization.Builder builderForValue)

Target scaling by request utilization.

.google.appengine.v1.RequestUtilization request_utilization = 10;

Parameter
Name Description
builderForValue RequestUtilization.Builder
Returns
Type Description
AutomaticScaling.Builder

setStandardSchedulerSettings(StandardSchedulerSettings value)

public AutomaticScaling.Builder setStandardSchedulerSettings(StandardSchedulerSettings value)

Scheduler settings for standard environment.

.google.appengine.v1.StandardSchedulerSettings standard_scheduler_settings = 20;

Parameter
Name Description
value StandardSchedulerSettings
Returns
Type Description
AutomaticScaling.Builder

setStandardSchedulerSettings(StandardSchedulerSettings.Builder builderForValue)

public AutomaticScaling.Builder setStandardSchedulerSettings(StandardSchedulerSettings.Builder builderForValue)

Scheduler settings for standard environment.

.google.appengine.v1.StandardSchedulerSettings standard_scheduler_settings = 20;

Parameter
Name Description
builderForValue StandardSchedulerSettings.Builder
Returns
Type Description
AutomaticScaling.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final AutomaticScaling.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AutomaticScaling.Builder
Overrides