Send feedback
Class BasicScaling (2.27.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.27.0 keyboard_arrow_down
public final class BasicScaling extends GeneratedMessageV3 implements BasicScalingOrBuilder
A service with basic scaling will create an instance when the application
receives a request. The instance will be turned down when the app becomes
idle. Basic scaling is ideal for work that is intermittent or driven by
user activity.
Protobuf type google.appengine.v1.BasicScaling
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>)
Static Fields
IDLE_TIMEOUT_FIELD_NUMBER
public static final int IDLE_TIMEOUT_FIELD_NUMBER
Field Value Type Description int
MAX_INSTANCES_FIELD_NUMBER
public static final int MAX_INSTANCES_FIELD_NUMBER
Field Value Type Description int
Static Methods
getDefaultInstance()
public static BasicScaling getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static BasicScaling . Builder newBuilder ()
newBuilder(BasicScaling prototype)
public static BasicScaling . Builder newBuilder ( BasicScaling prototype )
public static BasicScaling parseDelimitedFrom ( InputStream input )
public static BasicScaling parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static BasicScaling parseFrom ( byte [] data )
Parameter Name Description data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BasicScaling parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static BasicScaling parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BasicScaling parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static BasicScaling parseFrom ( CodedInputStream input )
public static BasicScaling parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static BasicScaling parseFrom ( InputStream input )
public static BasicScaling parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static BasicScaling parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BasicScaling parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<BasicScaling> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
getDefaultInstanceForType()
public BasicScaling getDefaultInstanceForType ()
getIdleTimeout()
public Duration getIdleTimeout ()
Duration of time after the last request that an instance must wait before
the instance is shut down.
.google.protobuf.Duration idle_timeout = 1;
Returns Type Description Duration
The idleTimeout.
getIdleTimeoutOrBuilder()
public DurationOrBuilder getIdleTimeoutOrBuilder ()
Duration of time after the last request that an instance must wait before
the instance is shut down.
.google.protobuf.Duration idle_timeout = 1;
getMaxInstances()
public int getMaxInstances ()
Maximum number of instances to create for this version.
int32 max_instances = 2;
Returns Type Description int
The maxInstances.
getParserForType()
public Parser<BasicScaling> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns Type Description int
Overrides
hasIdleTimeout()
public boolean hasIdleTimeout ()
Duration of time after the last request that an instance must wait before
the instance is shut down.
.google.protobuf.Duration idle_timeout = 1;
Returns Type Description boolean
Whether the idleTimeout field is set.
hashCode()
Returns Type Description int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public BasicScaling . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BasicScaling . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
toBuilder()
public BasicScaling . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]