Interface BasicScalingOrBuilder (2.4.0)

public interface BasicScalingOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getIdleTimeout()

public abstract 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
TypeDescription
Duration

The idleTimeout.

getIdleTimeoutOrBuilder()

public abstract 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;

Returns
TypeDescription
DurationOrBuilder

getMaxInstances()

public abstract int getMaxInstances()

Maximum number of instances to create for this version.

int32 max_instances = 2;

Returns
TypeDescription
int

The maxInstances.

hasIdleTimeout()

public abstract 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
TypeDescription
boolean

Whether the idleTimeout field is set.