Interface ConnectionDrainingOrBuilder (1.41.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
TypeDescription
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
TypeDescription
boolean

Whether the drainingTimeoutSec field is set.