public final class CircuitBreakers extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
CircuitBreakers() |
| Modifier and Type | Method and Description |
|---|---|
CircuitBreakers |
clone() |
Duration |
getConnectTimeout()
The timeout for new network connections to hosts.
|
Integer |
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.
|
Integer |
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.
|
Integer |
getMaxRequests()
The maximum number of parallel requests that allowed to the backend service.
|
Integer |
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.
|
Integer |
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.
|
CircuitBreakers |
set(String fieldName,
Object value) |
CircuitBreakers |
setConnectTimeout(Duration connectTimeout)
The timeout for new network connections to hosts.
|
CircuitBreakers |
setMaxConnections(Integer maxConnections)
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.
|
CircuitBreakers |
setMaxPendingRequests(Integer maxPendingRequests)
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.
|
CircuitBreakers |
setMaxRequests(Integer maxRequests)
The maximum number of parallel requests that allowed to the backend service.
|
CircuitBreakers |
setMaxRequestsPerConnection(Integer maxRequestsPerConnection)
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.
|
CircuitBreakers |
setMaxRetries(Integer maxRetries)
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.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Duration getConnectTimeout()
null for nonepublic CircuitBreakers setConnectTimeout(Duration connectTimeout)
connectTimeout - connectTimeout or null for nonepublic Integer getMaxConnections()
null for nonepublic CircuitBreakers setMaxConnections(Integer maxConnections)
maxConnections - maxConnections or null for nonepublic Integer getMaxPendingRequests()
null for nonepublic CircuitBreakers setMaxPendingRequests(Integer maxPendingRequests)
maxPendingRequests - maxPendingRequests or null for nonepublic Integer getMaxRequests()
null for nonepublic CircuitBreakers setMaxRequests(Integer maxRequests)
maxRequests - maxRequests or null for nonepublic Integer getMaxRequestsPerConnection()
null for nonepublic CircuitBreakers setMaxRequestsPerConnection(Integer maxRequestsPerConnection)
maxRequestsPerConnection - maxRequestsPerConnection or null for nonepublic Integer getMaxRetries()
null for nonepublic CircuitBreakers setMaxRetries(Integer maxRetries)
maxRetries - maxRetries or null for nonepublic CircuitBreakers set(String fieldName, Object value)
set in class GenericJsonpublic CircuitBreakers clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.