Interface AutomaticScalingOrBuilder (2.21.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
TypeDescription
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
TypeDescription
DurationOrBuilder

getCpuUtilization()

public abstract CpuUtilization getCpuUtilization()

Target scaling by CPU usage.

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

Returns
TypeDescription
CpuUtilization

The cpuUtilization.

getCpuUtilizationOrBuilder()

public abstract CpuUtilizationOrBuilder getCpuUtilizationOrBuilder()

Target scaling by CPU usage.

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

Returns
TypeDescription
CpuUtilizationOrBuilder

getDiskUtilization()

public abstract DiskUtilization getDiskUtilization()

Target scaling by disk usage.

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

Returns
TypeDescription
DiskUtilization

The diskUtilization.

getDiskUtilizationOrBuilder()

public abstract DiskUtilizationOrBuilder getDiskUtilizationOrBuilder()

Target scaling by disk usage.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
DurationOrBuilder

getMinTotalInstances()

public abstract int getMinTotalInstances()

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

int32 min_total_instances = 8;

Returns
TypeDescription
int

The minTotalInstances.

getNetworkUtilization()

public abstract NetworkUtilization getNetworkUtilization()

Target scaling by network usage.

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

Returns
TypeDescription
NetworkUtilization

The networkUtilization.

getNetworkUtilizationOrBuilder()

public abstract NetworkUtilizationOrBuilder getNetworkUtilizationOrBuilder()

Target scaling by network usage.

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

Returns
TypeDescription
NetworkUtilizationOrBuilder

getRequestUtilization()

public abstract RequestUtilization getRequestUtilization()

Target scaling by request utilization.

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

Returns
TypeDescription
RequestUtilization

The requestUtilization.

getRequestUtilizationOrBuilder()

public abstract RequestUtilizationOrBuilder getRequestUtilizationOrBuilder()

Target scaling by request utilization.

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

Returns
TypeDescription
RequestUtilizationOrBuilder

getStandardSchedulerSettings()

public abstract StandardSchedulerSettings getStandardSchedulerSettings()

Scheduler settings for standard environment.

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

Returns
TypeDescription
StandardSchedulerSettings

The standardSchedulerSettings.

getStandardSchedulerSettingsOrBuilder()

public abstract StandardSchedulerSettingsOrBuilder getStandardSchedulerSettingsOrBuilder()

Scheduler settings for standard environment.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the standardSchedulerSettings field is set.