Interface BasicScalingOrBuilder (2.42.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
Type Description
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
Type Description
DurationOrBuilder

getMaxInstances()

public abstract int getMaxInstances()

Maximum number of instances to create for this version.

int32 max_instances = 2;

Returns
Type Description
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
Type Description
boolean

Whether the idleTimeout field is set.