Interface ConnectionDrainingOrBuilder (1.53.0)

public interface ConnectionDrainingOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDrainingTimeoutSec()

public abstract int getDrainingTimeoutSec()

Configures a duration timeout for existing requests on a removed backend instance. For supported load balancers and protocols, as described in Enabling connection draining.

optional int32 draining_timeout_sec = 225127070;

Returns
Type Description
int

The drainingTimeoutSec.

hasDrainingTimeoutSec()

public abstract boolean hasDrainingTimeoutSec()

Configures a duration timeout for existing requests on a removed backend instance. For supported load balancers and protocols, as described in Enabling connection draining.

optional int32 draining_timeout_sec = 225127070;

Returns
Type Description
boolean

Whether the drainingTimeoutSec field is set.