public final class AutomaticScaling extends com.google.protobuf.GeneratedMessageV3 implements AutomaticScalingOrBuilder
Automatic scaling is based on request rate, response latencies, and other application metrics.Protobuf type
google.appengine.v1.AutomaticScaling| Modifier and Type | Class and Description |
|---|---|
static class |
AutomaticScaling.Builder
Automatic scaling is based on request rate, response latencies, and other
application metrics.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
COOL_DOWN_PERIOD_FIELD_NUMBER |
static int |
CPU_UTILIZATION_FIELD_NUMBER |
static int |
DISK_UTILIZATION_FIELD_NUMBER |
static int |
MAX_CONCURRENT_REQUESTS_FIELD_NUMBER |
static int |
MAX_IDLE_INSTANCES_FIELD_NUMBER |
static int |
MAX_PENDING_LATENCY_FIELD_NUMBER |
static int |
MAX_TOTAL_INSTANCES_FIELD_NUMBER |
static int |
MIN_IDLE_INSTANCES_FIELD_NUMBER |
static int |
MIN_PENDING_LATENCY_FIELD_NUMBER |
static int |
MIN_TOTAL_INSTANCES_FIELD_NUMBER |
static int |
NETWORK_UTILIZATION_FIELD_NUMBER |
static int |
REQUEST_UTILIZATION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
com.google.protobuf.Duration |
getCoolDownPeriod()
Amount of time that the
[Autoscaler](https://cloud.google.com/compute/docs/autoscaler/)
should wait between changes to the number of virtual machines.
|
com.google.protobuf.DurationOrBuilder |
getCoolDownPeriodOrBuilder()
Amount of time that the
[Autoscaler](https://cloud.google.com/compute/docs/autoscaler/)
should wait between changes to the number of virtual machines.
|
CpuUtilization |
getCpuUtilization()
Target scaling by CPU usage.
|
CpuUtilizationOrBuilder |
getCpuUtilizationOrBuilder()
Target scaling by CPU usage.
|
static AutomaticScaling |
getDefaultInstance() |
AutomaticScaling |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
DiskUtilization |
getDiskUtilization()
Target scaling by disk usage.
|
DiskUtilizationOrBuilder |
getDiskUtilizationOrBuilder()
Target scaling by disk usage.
|
int |
getMaxConcurrentRequests()
Number of concurrent requests an automatic scaling instance can accept
before the scheduler spawns a new instance.
|
int |
getMaxIdleInstances()
Maximum number of idle instances that should be maintained for this
version.
|
com.google.protobuf.Duration |
getMaxPendingLatency()
Maximum amount of time that a request should wait in the pending queue
before starting a new instance to handle it.
|
com.google.protobuf.DurationOrBuilder |
getMaxPendingLatencyOrBuilder()
Maximum amount of time that a request should wait in the pending queue
before starting a new instance to handle it.
|
int |
getMaxTotalInstances()
Maximum number of instances that should be started to handle requests.
|
int |
getMinIdleInstances()
Minimum number of idle instances that should be maintained for
this version.
|
com.google.protobuf.Duration |
getMinPendingLatency()
Minimum amount of time a request should wait in the pending queue before
starting a new instance to handle it.
|
com.google.protobuf.DurationOrBuilder |
getMinPendingLatencyOrBuilder()
Minimum amount of time a request should wait in the pending queue before
starting a new instance to handle it.
|
int |
getMinTotalInstances()
Minimum number of instances that should be maintained for this version.
|
NetworkUtilization |
getNetworkUtilization()
Target scaling by network usage.
|
NetworkUtilizationOrBuilder |
getNetworkUtilizationOrBuilder()
Target scaling by network usage.
|
com.google.protobuf.Parser<AutomaticScaling> |
getParserForType() |
RequestUtilization |
getRequestUtilization()
Target scaling by request utilization.
|
RequestUtilizationOrBuilder |
getRequestUtilizationOrBuilder()
Target scaling by request utilization.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCoolDownPeriod()
Amount of time that the
[Autoscaler](https://cloud.google.com/compute/docs/autoscaler/)
should wait between changes to the number of virtual machines.
|
boolean |
hasCpuUtilization()
Target scaling by CPU usage.
|
boolean |
hasDiskUtilization()
Target scaling by disk usage.
|
int |
hashCode() |
boolean |
hasMaxPendingLatency()
Maximum amount of time that a request should wait in the pending queue
before starting a new instance to handle it.
|
boolean |
hasMinPendingLatency()
Minimum amount of time a request should wait in the pending queue before
starting a new instance to handle it.
|
boolean |
hasNetworkUtilization()
Target scaling by network usage.
|
boolean |
hasRequestUtilization()
Target scaling by request utilization.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static AutomaticScaling.Builder |
newBuilder() |
static AutomaticScaling.Builder |
newBuilder(AutomaticScaling prototype) |
AutomaticScaling.Builder |
newBuilderForType() |
protected AutomaticScaling.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static AutomaticScaling |
parseDelimitedFrom(java.io.InputStream input) |
static AutomaticScaling |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AutomaticScaling |
parseFrom(byte[] data) |
static AutomaticScaling |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AutomaticScaling |
parseFrom(java.nio.ByteBuffer data) |
static AutomaticScaling |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AutomaticScaling |
parseFrom(com.google.protobuf.ByteString data) |
static AutomaticScaling |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AutomaticScaling |
parseFrom(com.google.protobuf.CodedInputStream input) |
static AutomaticScaling |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AutomaticScaling |
parseFrom(java.io.InputStream input) |
static AutomaticScaling |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<AutomaticScaling> |
parser() |
AutomaticScaling.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int COOL_DOWN_PERIOD_FIELD_NUMBER
public static final int CPU_UTILIZATION_FIELD_NUMBER
public static final int MAX_CONCURRENT_REQUESTS_FIELD_NUMBER
public static final int MAX_IDLE_INSTANCES_FIELD_NUMBER
public static final int MAX_TOTAL_INSTANCES_FIELD_NUMBER
public static final int MAX_PENDING_LATENCY_FIELD_NUMBER
public static final int MIN_IDLE_INSTANCES_FIELD_NUMBER
public static final int MIN_TOTAL_INSTANCES_FIELD_NUMBER
public static final int MIN_PENDING_LATENCY_FIELD_NUMBER
public static final int REQUEST_UTILIZATION_FIELD_NUMBER
public static final int DISK_UTILIZATION_FIELD_NUMBER
public static final int NETWORK_UTILIZATION_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasCoolDownPeriod()
Amount of time that the [Autoscaler](https://cloud.google.com/compute/docs/autoscaler/) should wait between changes to the number of virtual machines. Only applicable for VM runtimes.
.google.protobuf.Duration cool_down_period = 1;hasCoolDownPeriod in interface AutomaticScalingOrBuilderpublic com.google.protobuf.Duration getCoolDownPeriod()
Amount of time that the [Autoscaler](https://cloud.google.com/compute/docs/autoscaler/) should wait between changes to the number of virtual machines. Only applicable for VM runtimes.
.google.protobuf.Duration cool_down_period = 1;getCoolDownPeriod in interface AutomaticScalingOrBuilderpublic com.google.protobuf.DurationOrBuilder getCoolDownPeriodOrBuilder()
Amount of time that the [Autoscaler](https://cloud.google.com/compute/docs/autoscaler/) should wait between changes to the number of virtual machines. Only applicable for VM runtimes.
.google.protobuf.Duration cool_down_period = 1;getCoolDownPeriodOrBuilder in interface AutomaticScalingOrBuilderpublic boolean hasCpuUtilization()
Target scaling by CPU usage.
.google.appengine.v1.CpuUtilization cpu_utilization = 2;hasCpuUtilization in interface AutomaticScalingOrBuilderpublic CpuUtilization getCpuUtilization()
Target scaling by CPU usage.
.google.appengine.v1.CpuUtilization cpu_utilization = 2;getCpuUtilization in interface AutomaticScalingOrBuilderpublic CpuUtilizationOrBuilder getCpuUtilizationOrBuilder()
Target scaling by CPU usage.
.google.appengine.v1.CpuUtilization cpu_utilization = 2;getCpuUtilizationOrBuilder in interface AutomaticScalingOrBuilderpublic 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;getMaxConcurrentRequests in interface AutomaticScalingOrBuilderpublic int getMaxIdleInstances()
Maximum number of idle instances that should be maintained for this version.
int32 max_idle_instances = 4;getMaxIdleInstances in interface AutomaticScalingOrBuilderpublic int getMaxTotalInstances()
Maximum number of instances that should be started to handle requests.
int32 max_total_instances = 5;getMaxTotalInstances in interface AutomaticScalingOrBuilderpublic 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;hasMaxPendingLatency in interface AutomaticScalingOrBuilderpublic com.google.protobuf.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;getMaxPendingLatency in interface AutomaticScalingOrBuilderpublic com.google.protobuf.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;getMaxPendingLatencyOrBuilder in interface AutomaticScalingOrBuilderpublic 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;getMinIdleInstances in interface AutomaticScalingOrBuilderpublic int getMinTotalInstances()
Minimum number of instances that should be maintained for this version.
int32 min_total_instances = 8;getMinTotalInstances in interface AutomaticScalingOrBuilderpublic 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;hasMinPendingLatency in interface AutomaticScalingOrBuilderpublic com.google.protobuf.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;getMinPendingLatency in interface AutomaticScalingOrBuilderpublic com.google.protobuf.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;getMinPendingLatencyOrBuilder in interface AutomaticScalingOrBuilderpublic boolean hasRequestUtilization()
Target scaling by request utilization.
.google.appengine.v1.RequestUtilization request_utilization = 10;hasRequestUtilization in interface AutomaticScalingOrBuilderpublic RequestUtilization getRequestUtilization()
Target scaling by request utilization.
.google.appengine.v1.RequestUtilization request_utilization = 10;getRequestUtilization in interface AutomaticScalingOrBuilderpublic RequestUtilizationOrBuilder getRequestUtilizationOrBuilder()
Target scaling by request utilization.
.google.appengine.v1.RequestUtilization request_utilization = 10;getRequestUtilizationOrBuilder in interface AutomaticScalingOrBuilderpublic boolean hasDiskUtilization()
Target scaling by disk usage.
.google.appengine.v1.DiskUtilization disk_utilization = 11;hasDiskUtilization in interface AutomaticScalingOrBuilderpublic DiskUtilization getDiskUtilization()
Target scaling by disk usage.
.google.appengine.v1.DiskUtilization disk_utilization = 11;getDiskUtilization in interface AutomaticScalingOrBuilderpublic DiskUtilizationOrBuilder getDiskUtilizationOrBuilder()
Target scaling by disk usage.
.google.appengine.v1.DiskUtilization disk_utilization = 11;getDiskUtilizationOrBuilder in interface AutomaticScalingOrBuilderpublic boolean hasNetworkUtilization()
Target scaling by network usage.
.google.appengine.v1.NetworkUtilization network_utilization = 12;hasNetworkUtilization in interface AutomaticScalingOrBuilderpublic NetworkUtilization getNetworkUtilization()
Target scaling by network usage.
.google.appengine.v1.NetworkUtilization network_utilization = 12;getNetworkUtilization in interface AutomaticScalingOrBuilderpublic NetworkUtilizationOrBuilder getNetworkUtilizationOrBuilder()
Target scaling by network usage.
.google.appengine.v1.NetworkUtilization network_utilization = 12;getNetworkUtilizationOrBuilder in interface AutomaticScalingOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static AutomaticScaling parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AutomaticScaling parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AutomaticScaling parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AutomaticScaling parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AutomaticScaling parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AutomaticScaling parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AutomaticScaling parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static AutomaticScaling parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static AutomaticScaling parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static AutomaticScaling parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static AutomaticScaling parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static AutomaticScaling parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic AutomaticScaling.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static AutomaticScaling.Builder newBuilder()
public static AutomaticScaling.Builder newBuilder(AutomaticScaling prototype)
public AutomaticScaling.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected AutomaticScaling.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static AutomaticScaling getDefaultInstance()
public static com.google.protobuf.Parser<AutomaticScaling> parser()
public com.google.protobuf.Parser<AutomaticScaling> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public AutomaticScaling getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder