Interface AutomaticScalingOrBuilder (2.46.0)

public interface AutomaticScalingOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCoolDownPeriod()

public abstract 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.

getCoolDownPeriodOrBuilder()

public abstract 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 abstract CpuUtilization getCpuUtilization()

Target scaling by CPU usage.

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

Returns
Type Description
CpuUtilization

The cpuUtilization.

getCpuUtilizationOrBuilder()

public abstract CpuUtilizationOrBuilder getCpuUtilizationOrBuilder()

Target scaling by CPU usage.

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

Returns
Type Description
CpuUtilizationOrBuilder

getDiskUtilization()

public abstract DiskUtilization getDiskUtilization()

Target scaling by disk usage.

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

Returns
Type Description
DiskUtilization

The diskUtilization.

getDiskUtilizationOrBuilder()

public abstract DiskUtilizationOrBuilder getDiskUtilizationOrBuilder()

Target scaling by disk usage.

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

Returns
Type Description
DiskUtilizationOrBuilder

getMaxConcurrentRequests()

public abstract 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 abstract 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 abstract 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.

getMaxPendingLatencyOrBuilder()

public abstract 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 abstract 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 abstract 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 abstract 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.

getMinPendingLatencyOrBuilder()

public abstract 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 abstract 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 abstract NetworkUtilization getNetworkUtilization()

Target scaling by network usage.

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

Returns
Type Description
NetworkUtilization

The networkUtilization.

getNetworkUtilizationOrBuilder()

public abstract NetworkUtilizationOrBuilder getNetworkUtilizationOrBuilder()

Target scaling by network usage.

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

Returns
Type Description
NetworkUtilizationOrBuilder

getRequestUtilization()

public abstract RequestUtilization getRequestUtilization()

Target scaling by request utilization.

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

Returns
Type Description
RequestUtilization

The requestUtilization.

getRequestUtilizationOrBuilder()

public abstract RequestUtilizationOrBuilder getRequestUtilizationOrBuilder()

Target scaling by request utilization.

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

Returns
Type Description
RequestUtilizationOrBuilder

getStandardSchedulerSettings()

public abstract StandardSchedulerSettings getStandardSchedulerSettings()

Scheduler settings for standard environment.

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

Returns
Type Description
StandardSchedulerSettings

The standardSchedulerSettings.

getStandardSchedulerSettingsOrBuilder()

public abstract StandardSchedulerSettingsOrBuilder getStandardSchedulerSettingsOrBuilder()

Scheduler settings for standard environment.

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

Returns
Type Description
StandardSchedulerSettingsOrBuilder

hasCoolDownPeriod()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.