Interface CircuitBreakersOrBuilder (1.7.2)

public interface CircuitBreakersOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMaxConnections()

public abstract int getMaxConnections()

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

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

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

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

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

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

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

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.