- 2.47.0 (latest)
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.4
- 2.2.0
- 2.1.10
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AutomaticScaling.BuilderImplements
AutomaticScalingOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AutomaticScaling.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AutomaticScaling.Builder |
build()
public AutomaticScaling build()
Type | Description |
AutomaticScaling |
buildPartial()
public AutomaticScaling buildPartial()
Type | Description |
AutomaticScaling |
clear()
public AutomaticScaling.Builder clear()
Type | Description |
AutomaticScaling.Builder |
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;
Type | Description |
AutomaticScaling.Builder |
clearCpuUtilization()
public AutomaticScaling.Builder clearCpuUtilization()
Target scaling by CPU usage.
.google.appengine.v1.CpuUtilization cpu_utilization = 2;
Type | Description |
AutomaticScaling.Builder |
clearDiskUtilization()
public AutomaticScaling.Builder clearDiskUtilization()
Target scaling by disk usage.
.google.appengine.v1.DiskUtilization disk_utilization = 11;
Type | Description |
AutomaticScaling.Builder |
clearField(Descriptors.FieldDescriptor field)
public AutomaticScaling.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
AutomaticScaling.Builder |
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;
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;
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;
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;
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;
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;
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;
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;
Type | Description |
AutomaticScaling.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public AutomaticScaling.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
AutomaticScaling.Builder |
clearRequestUtilization()
public AutomaticScaling.Builder clearRequestUtilization()
Target scaling by request utilization.
.google.appengine.v1.RequestUtilization request_utilization = 10;
Type | Description |
AutomaticScaling.Builder |
clearStandardSchedulerSettings()
public AutomaticScaling.Builder clearStandardSchedulerSettings()
Scheduler settings for standard environment.
.google.appengine.v1.StandardSchedulerSettings standard_scheduler_settings = 20;
Type | Description |
AutomaticScaling.Builder |
clone()
public AutomaticScaling.Builder clone()
Type | Description |
AutomaticScaling.Builder |
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;
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;
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;
Type | Description |
DurationOrBuilder |
getCpuUtilization()
public CpuUtilization getCpuUtilization()
Target scaling by CPU usage.
.google.appengine.v1.CpuUtilization cpu_utilization = 2;
Type | Description |
CpuUtilization | The cpuUtilization. |
getCpuUtilizationBuilder()
public CpuUtilization.Builder getCpuUtilizationBuilder()
Target scaling by CPU usage.
.google.appengine.v1.CpuUtilization cpu_utilization = 2;
Type | Description |
CpuUtilization.Builder |
getCpuUtilizationOrBuilder()
public CpuUtilizationOrBuilder getCpuUtilizationOrBuilder()
Target scaling by CPU usage.
.google.appengine.v1.CpuUtilization cpu_utilization = 2;
Type | Description |
CpuUtilizationOrBuilder |
getDefaultInstanceForType()
public AutomaticScaling getDefaultInstanceForType()
Type | Description |
AutomaticScaling |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDiskUtilization()
public DiskUtilization getDiskUtilization()
Target scaling by disk usage.
.google.appengine.v1.DiskUtilization disk_utilization = 11;
Type | Description |
DiskUtilization | The diskUtilization. |
getDiskUtilizationBuilder()
public DiskUtilization.Builder getDiskUtilizationBuilder()
Target scaling by disk usage.
.google.appengine.v1.DiskUtilization disk_utilization = 11;
Type | Description |
DiskUtilization.Builder |
getDiskUtilizationOrBuilder()
public DiskUtilizationOrBuilder getDiskUtilizationOrBuilder()
Target scaling by disk usage.
.google.appengine.v1.DiskUtilization disk_utilization = 11;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
Type | Description |
DurationOrBuilder |
getMinTotalInstances()
public int getMinTotalInstances()
Minimum number of running instances that should be maintained for this version.
int32 min_total_instances = 8;
Type | Description |
int | The minTotalInstances. |
getNetworkUtilization()
public NetworkUtilization getNetworkUtilization()
Target scaling by network usage.
.google.appengine.v1.NetworkUtilization network_utilization = 12;
Type | Description |
NetworkUtilization | The networkUtilization. |
getNetworkUtilizationBuilder()
public NetworkUtilization.Builder getNetworkUtilizationBuilder()
Target scaling by network usage.
.google.appengine.v1.NetworkUtilization network_utilization = 12;
Type | Description |
NetworkUtilization.Builder |
getNetworkUtilizationOrBuilder()
public NetworkUtilizationOrBuilder getNetworkUtilizationOrBuilder()
Target scaling by network usage.
.google.appengine.v1.NetworkUtilization network_utilization = 12;
Type | Description |
NetworkUtilizationOrBuilder |
getRequestUtilization()
public RequestUtilization getRequestUtilization()
Target scaling by request utilization.
.google.appengine.v1.RequestUtilization request_utilization = 10;
Type | Description |
RequestUtilization | The requestUtilization. |
getRequestUtilizationBuilder()
public RequestUtilization.Builder getRequestUtilizationBuilder()
Target scaling by request utilization.
.google.appengine.v1.RequestUtilization request_utilization = 10;
Type | Description |
RequestUtilization.Builder |
getRequestUtilizationOrBuilder()
public RequestUtilizationOrBuilder getRequestUtilizationOrBuilder()
Target scaling by request utilization.
.google.appengine.v1.RequestUtilization request_utilization = 10;
Type | Description |
RequestUtilizationOrBuilder |
getStandardSchedulerSettings()
public StandardSchedulerSettings getStandardSchedulerSettings()
Scheduler settings for standard environment.
.google.appengine.v1.StandardSchedulerSettings standard_scheduler_settings = 20;
Type | Description |
StandardSchedulerSettings | The standardSchedulerSettings. |
getStandardSchedulerSettingsBuilder()
public StandardSchedulerSettings.Builder getStandardSchedulerSettingsBuilder()
Scheduler settings for standard environment.
.google.appengine.v1.StandardSchedulerSettings standard_scheduler_settings = 20;
Type | Description |
StandardSchedulerSettings.Builder |
getStandardSchedulerSettingsOrBuilder()
public StandardSchedulerSettingsOrBuilder getStandardSchedulerSettingsOrBuilder()
Scheduler settings for standard environment.
.google.appengine.v1.StandardSchedulerSettings standard_scheduler_settings = 20;
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;
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;
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;
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;
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;
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;
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;
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;
Type | Description |
boolean | Whether the standardSchedulerSettings field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
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;
Name | Description |
value | Duration |
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;
Name | Description |
value | CpuUtilization |
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;
Name | Description |
value | DiskUtilization |
Type | Description |
AutomaticScaling.Builder |
mergeFrom(AutomaticScaling other)
public AutomaticScaling.Builder mergeFrom(AutomaticScaling other)
Name | Description |
other | AutomaticScaling |
Type | Description |
AutomaticScaling.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AutomaticScaling.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AutomaticScaling.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public AutomaticScaling.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
AutomaticScaling.Builder |
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;
Name | Description |
value | Duration |
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;
Name | Description |
value | Duration |
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;
Name | Description |
value | NetworkUtilization |
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;
Name | Description |
value | RequestUtilization |
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;
Name | Description |
value | StandardSchedulerSettings |
Type | Description |
AutomaticScaling.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AutomaticScaling.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AutomaticScaling.Builder |
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;
Name | Description |
value | Duration |
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;
Name | Description |
builderForValue | Builder |
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;
Name | Description |
value | CpuUtilization |
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;
Name | Description |
builderForValue | CpuUtilization.Builder |
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;
Name | Description |
value | DiskUtilization |
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;
Name | Description |
builderForValue | DiskUtilization.Builder |
Type | Description |
AutomaticScaling.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public AutomaticScaling.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AutomaticScaling.Builder |
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;
Name | Description |
value | int The maxConcurrentRequests to set. |
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;
Name | Description |
value | int The maxIdleInstances to set. |
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;
Name | Description |
value | Duration |
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;
Name | Description |
builderForValue | Builder |
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;
Name | Description |
value | int The maxTotalInstances to set. |
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;
Name | Description |
value | int The minIdleInstances to set. |
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;
Name | Description |
value | Duration |
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;
Name | Description |
builderForValue | Builder |
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;
Name | Description |
value | int The minTotalInstances to set. |
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;
Name | Description |
value | NetworkUtilization |
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;
Name | Description |
builderForValue | NetworkUtilization.Builder |
Type | Description |
AutomaticScaling.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AutomaticScaling.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
AutomaticScaling.Builder |
setRequestUtilization(RequestUtilization value)
public AutomaticScaling.Builder setRequestUtilization(RequestUtilization value)
Target scaling by request utilization.
.google.appengine.v1.RequestUtilization request_utilization = 10;
Name | Description |
value | RequestUtilization |
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;
Name | Description |
builderForValue | RequestUtilization.Builder |
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;
Name | Description |
value | StandardSchedulerSettings |
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;
Name | Description |
builderForValue | StandardSchedulerSettings.Builder |
Type | Description |
AutomaticScaling.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AutomaticScaling.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AutomaticScaling.Builder |