public final class AutomaticScaling extends 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.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, 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 |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
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.
|
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 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.
|
Duration |
getMaxPendingLatency()
Maximum amount of time that a request should wait in the pending queue
before starting a new instance to handle it.
|
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.
|
Duration |
getMinPendingLatency()
Minimum amount of time a request should wait in the pending queue before
starting a new instance to handle it.
|
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.
|
Parser<AutomaticScaling> |
getParserForType() |
RequestUtilization |
getRequestUtilization()
Target scaling by request utilization.
|
RequestUtilizationOrBuilder |
getRequestUtilizationOrBuilder()
Target scaling by request utilization.
|
int |
getSerializedSize() |
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 GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static AutomaticScaling.Builder |
newBuilder() |
static AutomaticScaling.Builder |
newBuilder(AutomaticScaling prototype) |
AutomaticScaling.Builder |
newBuilderForType() |
protected AutomaticScaling.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static AutomaticScaling |
parseDelimitedFrom(java.io.InputStream input) |
static AutomaticScaling |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static AutomaticScaling |
parseFrom(byte[] data) |
static AutomaticScaling |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static AutomaticScaling |
parseFrom(java.nio.ByteBuffer data) |
static AutomaticScaling |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static AutomaticScaling |
parseFrom(ByteString data) |
static AutomaticScaling |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static AutomaticScaling |
parseFrom(CodedInputStream input) |
static AutomaticScaling |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static AutomaticScaling |
parseFrom(java.io.InputStream input) |
static AutomaticScaling |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<AutomaticScaling> |
parser() |
AutomaticScaling.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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 UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public 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 AutomaticScalingOrBuilder
public 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 AutomaticScalingOrBuilder
public 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 AutomaticScalingOrBuilder
public boolean hasCpuUtilization()
Target scaling by CPU usage.
.google.appengine.v1.CpuUtilization cpu_utilization = 2;
hasCpuUtilization
in interface AutomaticScalingOrBuilder
public CpuUtilization getCpuUtilization()
Target scaling by CPU usage.
.google.appengine.v1.CpuUtilization cpu_utilization = 2;
getCpuUtilization
in interface AutomaticScalingOrBuilder
public CpuUtilizationOrBuilder getCpuUtilizationOrBuilder()
Target scaling by CPU usage.
.google.appengine.v1.CpuUtilization cpu_utilization = 2;
getCpuUtilizationOrBuilder
in interface AutomaticScalingOrBuilder
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;
getMaxConcurrentRequests
in interface AutomaticScalingOrBuilder
public int getMaxIdleInstances()
Maximum number of idle instances that should be maintained for this version.
int32 max_idle_instances = 4;
getMaxIdleInstances
in interface AutomaticScalingOrBuilder
public int getMaxTotalInstances()
Maximum number of instances that should be started to handle requests.
int32 max_total_instances = 5;
getMaxTotalInstances
in interface AutomaticScalingOrBuilder
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;
hasMaxPendingLatency
in interface AutomaticScalingOrBuilder
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;
getMaxPendingLatency
in interface AutomaticScalingOrBuilder
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;
getMaxPendingLatencyOrBuilder
in interface AutomaticScalingOrBuilder
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;
getMinIdleInstances
in interface AutomaticScalingOrBuilder
public int getMinTotalInstances()
Minimum number of instances that should be maintained for this version.
int32 min_total_instances = 8;
getMinTotalInstances
in interface AutomaticScalingOrBuilder
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;
hasMinPendingLatency
in interface AutomaticScalingOrBuilder
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;
getMinPendingLatency
in interface AutomaticScalingOrBuilder
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;
getMinPendingLatencyOrBuilder
in interface AutomaticScalingOrBuilder
public boolean hasRequestUtilization()
Target scaling by request utilization.
.google.appengine.v1.RequestUtilization request_utilization = 10;
hasRequestUtilization
in interface AutomaticScalingOrBuilder
public RequestUtilization getRequestUtilization()
Target scaling by request utilization.
.google.appengine.v1.RequestUtilization request_utilization = 10;
getRequestUtilization
in interface AutomaticScalingOrBuilder
public RequestUtilizationOrBuilder getRequestUtilizationOrBuilder()
Target scaling by request utilization.
.google.appengine.v1.RequestUtilization request_utilization = 10;
getRequestUtilizationOrBuilder
in interface AutomaticScalingOrBuilder
public boolean hasDiskUtilization()
Target scaling by disk usage.
.google.appengine.v1.DiskUtilization disk_utilization = 11;
hasDiskUtilization
in interface AutomaticScalingOrBuilder
public DiskUtilization getDiskUtilization()
Target scaling by disk usage.
.google.appengine.v1.DiskUtilization disk_utilization = 11;
getDiskUtilization
in interface AutomaticScalingOrBuilder
public DiskUtilizationOrBuilder getDiskUtilizationOrBuilder()
Target scaling by disk usage.
.google.appengine.v1.DiskUtilization disk_utilization = 11;
getDiskUtilizationOrBuilder
in interface AutomaticScalingOrBuilder
public boolean hasNetworkUtilization()
Target scaling by network usage.
.google.appengine.v1.NetworkUtilization network_utilization = 12;
hasNetworkUtilization
in interface AutomaticScalingOrBuilder
public NetworkUtilization getNetworkUtilization()
Target scaling by network usage.
.google.appengine.v1.NetworkUtilization network_utilization = 12;
getNetworkUtilization
in interface AutomaticScalingOrBuilder
public NetworkUtilizationOrBuilder getNetworkUtilizationOrBuilder()
Target scaling by network usage.
.google.appengine.v1.NetworkUtilization network_utilization = 12;
getNetworkUtilizationOrBuilder
in interface AutomaticScalingOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static AutomaticScaling parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AutomaticScaling parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AutomaticScaling parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AutomaticScaling parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AutomaticScaling parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AutomaticScaling parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AutomaticScaling parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static AutomaticScaling parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static AutomaticScaling parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static AutomaticScaling parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static AutomaticScaling parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static AutomaticScaling parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public AutomaticScaling.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static AutomaticScaling.Builder newBuilder()
public static AutomaticScaling.Builder newBuilder(AutomaticScaling prototype)
public AutomaticScaling.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected AutomaticScaling.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static AutomaticScaling getDefaultInstance()
public static Parser<AutomaticScaling> parser()
public Parser<AutomaticScaling> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public AutomaticScaling getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder