publicfinalclass AutomaticScalingextendsGeneratedMessageV3implementsAutomaticScalingOrBuilder
Automatic scaling is based on request rate, response latencies, and other
application metrics.
Protobuf type google.appengine.v1.AutomaticScaling
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
COOL_DOWN_PERIOD_FIELD_NUMBER
publicstaticfinalintCOOL_DOWN_PERIOD_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
CPU_UTILIZATION_FIELD_NUMBER
publicstaticfinalintCPU_UTILIZATION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
DISK_UTILIZATION_FIELD_NUMBER
publicstaticfinalintDISK_UTILIZATION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
MAX_CONCURRENT_REQUESTS_FIELD_NUMBER
publicstaticfinalintMAX_CONCURRENT_REQUESTS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
MAX_IDLE_INSTANCES_FIELD_NUMBER
publicstaticfinalintMAX_IDLE_INSTANCES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
MAX_PENDING_LATENCY_FIELD_NUMBER
publicstaticfinalintMAX_PENDING_LATENCY_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
MAX_TOTAL_INSTANCES_FIELD_NUMBER
publicstaticfinalintMAX_TOTAL_INSTANCES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
MIN_IDLE_INSTANCES_FIELD_NUMBER
publicstaticfinalintMIN_IDLE_INSTANCES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
MIN_PENDING_LATENCY_FIELD_NUMBER
publicstaticfinalintMIN_PENDING_LATENCY_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
MIN_TOTAL_INSTANCES_FIELD_NUMBER
publicstaticfinalintMIN_TOTAL_INSTANCES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
NETWORK_UTILIZATION_FIELD_NUMBER
publicstaticfinalintNETWORK_UTILIZATION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
REQUEST_UTILIZATION_FIELD_NUMBER
publicstaticfinalintREQUEST_UTILIZATION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
STANDARD_SCHEDULER_SETTINGS_FIELD_NUMBER
publicstaticfinalintSTANDARD_SCHEDULER_SETTINGS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticAutomaticScalinggetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticAutomaticScaling.BuildernewBuilder()
newBuilder(AutomaticScaling prototype)
publicstaticAutomaticScaling.BuildernewBuilder(AutomaticScalingprototype)
publicstaticAutomaticScalingparseDelimitedFrom(InputStreaminput)
publicstaticAutomaticScalingparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticAutomaticScalingparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticAutomaticScalingparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticAutomaticScalingparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticAutomaticScalingparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticAutomaticScalingparseFrom(CodedInputStreaminput)
publicstaticAutomaticScalingparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticAutomaticScalingparseFrom(InputStreaminput)
publicstaticAutomaticScalingparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticAutomaticScalingparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticAutomaticScalingparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<AutomaticScaling>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getCoolDownPeriod()
publicDurationgetCoolDownPeriod()
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()
publicDurationOrBuildergetCoolDownPeriodOrBuilder()
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;
getCpuUtilization()
publicCpuUtilizationgetCpuUtilization()
Target scaling by CPU usage.
.google.appengine.v1.CpuUtilization cpu_utilization = 2;
getCpuUtilizationOrBuilder()
publicCpuUtilizationOrBuildergetCpuUtilizationOrBuilder()
Target scaling by CPU usage.
.google.appengine.v1.CpuUtilization cpu_utilization = 2;
getDefaultInstanceForType()
publicAutomaticScalinggetDefaultInstanceForType()
getDiskUtilization()
publicDiskUtilizationgetDiskUtilization()
Target scaling by disk usage.
.google.appengine.v1.DiskUtilization disk_utilization = 11;
getDiskUtilizationOrBuilder()
publicDiskUtilizationOrBuildergetDiskUtilizationOrBuilder()
Target scaling by disk usage.
.google.appengine.v1.DiskUtilization disk_utilization = 11;
getMaxConcurrentRequests()
publicintgetMaxConcurrentRequests()
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()
publicintgetMaxIdleInstances()
Maximum number of idle instances that should be maintained for this
version.
int32 max_idle_instances = 4;
| Returns |
| Type |
Description |
int |
The maxIdleInstances.
|
getMaxPendingLatency()
publicDurationgetMaxPendingLatency()
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()
publicDurationOrBuildergetMaxPendingLatencyOrBuilder()
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;
getMaxTotalInstances()
publicintgetMaxTotalInstances()
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()
publicintgetMinIdleInstances()
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()
publicDurationgetMinPendingLatency()
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()
publicDurationOrBuildergetMinPendingLatencyOrBuilder()
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;
getMinTotalInstances()
publicintgetMinTotalInstances()
Minimum number of running instances that should be maintained for this
version.
int32 min_total_instances = 8;
| Returns |
| Type |
Description |
int |
The minTotalInstances.
|
getNetworkUtilization()
publicNetworkUtilizationgetNetworkUtilization()
Target scaling by network usage.
.google.appengine.v1.NetworkUtilization network_utilization = 12;
getNetworkUtilizationOrBuilder()
publicNetworkUtilizationOrBuildergetNetworkUtilizationOrBuilder()
Target scaling by network usage.
.google.appengine.v1.NetworkUtilization network_utilization = 12;
getParserForType()
publicParser<AutomaticScaling>getParserForType()
Overrides
getRequestUtilization()
publicRequestUtilizationgetRequestUtilization()
Target scaling by request utilization.
.google.appengine.v1.RequestUtilization request_utilization = 10;
getRequestUtilizationOrBuilder()
publicRequestUtilizationOrBuildergetRequestUtilizationOrBuilder()
Target scaling by request utilization.
.google.appengine.v1.RequestUtilization request_utilization = 10;
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
getStandardSchedulerSettings()
publicStandardSchedulerSettingsgetStandardSchedulerSettings()
Scheduler settings for standard environment.
.google.appengine.v1.StandardSchedulerSettings standard_scheduler_settings = 20;
getStandardSchedulerSettingsOrBuilder()
publicStandardSchedulerSettingsOrBuildergetStandardSchedulerSettingsOrBuilder()
Scheduler settings for standard environment.
.google.appengine.v1.StandardSchedulerSettings standard_scheduler_settings = 20;
hasCoolDownPeriod()
publicbooleanhasCoolDownPeriod()
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()
publicbooleanhasCpuUtilization()
Target scaling by CPU usage.
.google.appengine.v1.CpuUtilization cpu_utilization = 2;
| Returns |
| Type |
Description |
boolean |
Whether the cpuUtilization field is set.
|
hasDiskUtilization()
publicbooleanhasDiskUtilization()
Target scaling by disk usage.
.google.appengine.v1.DiskUtilization disk_utilization = 11;
| Returns |
| Type |
Description |
boolean |
Whether the diskUtilization field is set.
|
hasMaxPendingLatency()
publicbooleanhasMaxPendingLatency()
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()
publicbooleanhasMinPendingLatency()
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()
publicbooleanhasNetworkUtilization()
Target scaling by network usage.
.google.appengine.v1.NetworkUtilization network_utilization = 12;
| Returns |
| Type |
Description |
boolean |
Whether the networkUtilization field is set.
|
hasRequestUtilization()
publicbooleanhasRequestUtilization()
Target scaling by request utilization.
.google.appengine.v1.RequestUtilization request_utilization = 10;
| Returns |
| Type |
Description |
boolean |
Whether the requestUtilization field is set.
|
hasStandardSchedulerSettings()
publicbooleanhasStandardSchedulerSettings()
Scheduler settings for standard environment.
.google.appengine.v1.StandardSchedulerSettings standard_scheduler_settings = 20;
| Returns |
| Type |
Description |
boolean |
Whether the standardSchedulerSettings field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicAutomaticScaling.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedAutomaticScaling.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicAutomaticScaling.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides