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)
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