Interface BasicScalingOrBuilder (2.17.0)

publicinterface BasicScalingOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getIdleTimeout()

publicabstractDurationgetIdleTimeout()

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

publicabstractDurationOrBuildergetIdleTimeoutOrBuilder()

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

publicabstractintgetMaxInstances()

Maximum number of instances to create for this version.

int32 max_instances = 2;

Returns
Type Description
int

The maxInstances.

hasIdleTimeout()

publicabstractbooleanhasIdleTimeout()

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.

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年10月30日 UTC.