Interface CircuitBreakersOrBuilder (1.37.0)

public interface CircuitBreakersOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMaxConnections()

public abstract int getMaxConnections()

The maximum number of connections to the backend service. If not specified, there is no limit. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.

optional int32 max_connections = 110652154;

Returns
TypeDescription
int

The maxConnections.

getMaxPendingRequests()

public abstract int getMaxPendingRequests()

The maximum number of pending requests allowed to the backend service. If not specified, there is no limit. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.

optional int32 max_pending_requests = 375558887;

Returns
TypeDescription
int

The maxPendingRequests.

getMaxRequests()

public abstract int getMaxRequests()

The maximum number of parallel requests that allowed to the backend service. If not specified, there is no limit.

optional int32 max_requests = 28097599;

Returns
TypeDescription
int

The maxRequests.

getMaxRequestsPerConnection()

public abstract int getMaxRequestsPerConnection()

Maximum requests for a single connection to the backend service. This parameter is respected by both the HTTP/1.1 and HTTP/2 implementations. If not specified, there is no limit. Setting this parameter to 1 will effectively disable keep alive. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.

optional int32 max_requests_per_connection = 361630528;

Returns
TypeDescription
int

The maxRequestsPerConnection.

getMaxRetries()

public abstract int getMaxRetries()

The maximum number of parallel retries allowed to the backend cluster. If not specified, the default is 1. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.

optional int32 max_retries = 55546219;

Returns
TypeDescription
int

The maxRetries.

hasMaxConnections()

public abstract boolean hasMaxConnections()

The maximum number of connections to the backend service. If not specified, there is no limit. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.

optional int32 max_connections = 110652154;

Returns
TypeDescription
boolean

Whether the maxConnections field is set.

hasMaxPendingRequests()

public abstract boolean hasMaxPendingRequests()

The maximum number of pending requests allowed to the backend service. If not specified, there is no limit. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.

optional int32 max_pending_requests = 375558887;

Returns
TypeDescription
boolean

Whether the maxPendingRequests field is set.

hasMaxRequests()

public abstract boolean hasMaxRequests()

The maximum number of parallel requests that allowed to the backend service. If not specified, there is no limit.

optional int32 max_requests = 28097599;

Returns
TypeDescription
boolean

Whether the maxRequests field is set.

hasMaxRequestsPerConnection()

public abstract boolean hasMaxRequestsPerConnection()

Maximum requests for a single connection to the backend service. This parameter is respected by both the HTTP/1.1 and HTTP/2 implementations. If not specified, there is no limit. Setting this parameter to 1 will effectively disable keep alive. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.

optional int32 max_requests_per_connection = 361630528;

Returns
TypeDescription
boolean

Whether the maxRequestsPerConnection field is set.

hasMaxRetries()

public abstract boolean hasMaxRetries()

The maximum number of parallel retries allowed to the backend cluster. If not specified, the default is 1. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.

optional int32 max_retries = 55546219;

Returns
TypeDescription
boolean

Whether the maxRetries field is set.