public final class BatchingSettingsProto
extends com.google.api.client.json.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 Service Networking API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
BatchingSettingsProto() |
| Modifier and Type | Method and Description |
|---|---|
BatchingSettingsProto |
clone() |
String |
getDelayThreshold()
The duration after which a batch should be sent, starting from the addition of the first
message to that batch.
|
Integer |
getElementCountLimit()
The maximum number of elements collected in a batch that could be accepted by server.
|
Integer |
getElementCountThreshold()
The number of elements of a field collected into a batch which, if exceeded, causes the batch
to be sent.
|
Integer |
getFlowControlByteLimit()
The maximum size of data allowed by flow control.
|
Integer |
getFlowControlElementLimit()
The maximum number of elements allowed by flow control.
|
String |
getFlowControlLimitExceededBehavior()
The behavior to take when the flow control limit is exceeded.
|
Integer |
getRequestByteLimit()
The maximum size of the request that could be accepted by server.
|
Long |
getRequestByteThreshold()
The aggregated size of the batched field which, if exceeded, causes the batch to be sent.
|
BatchingSettingsProto |
set(String fieldName,
Object value) |
BatchingSettingsProto |
setDelayThreshold(String delayThreshold)
The duration after which a batch should be sent, starting from the addition of the first
message to that batch.
|
BatchingSettingsProto |
setElementCountLimit(Integer elementCountLimit)
The maximum number of elements collected in a batch that could be accepted by server.
|
BatchingSettingsProto |
setElementCountThreshold(Integer elementCountThreshold)
The number of elements of a field collected into a batch which, if exceeded, causes the batch
to be sent.
|
BatchingSettingsProto |
setFlowControlByteLimit(Integer flowControlByteLimit)
The maximum size of data allowed by flow control.
|
BatchingSettingsProto |
setFlowControlElementLimit(Integer flowControlElementLimit)
The maximum number of elements allowed by flow control.
|
BatchingSettingsProto |
setFlowControlLimitExceededBehavior(String flowControlLimitExceededBehavior)
The behavior to take when the flow control limit is exceeded.
|
BatchingSettingsProto |
setRequestByteLimit(Integer requestByteLimit)
The maximum size of the request that could be accepted by server.
|
BatchingSettingsProto |
setRequestByteThreshold(Long requestByteThreshold)
The aggregated size of the batched field which, if exceeded, causes the batch to be sent.
|
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 String getDelayThreshold()
null for nonepublic BatchingSettingsProto setDelayThreshold(String delayThreshold)
delayThreshold - delayThreshold or null for nonepublic Integer getElementCountLimit()
null for nonepublic BatchingSettingsProto setElementCountLimit(Integer elementCountLimit)
elementCountLimit - elementCountLimit or null for nonepublic Integer getElementCountThreshold()
null for nonepublic BatchingSettingsProto setElementCountThreshold(Integer elementCountThreshold)
elementCountThreshold - elementCountThreshold or null for nonepublic Integer getFlowControlByteLimit()
null for nonepublic BatchingSettingsProto setFlowControlByteLimit(Integer flowControlByteLimit)
flowControlByteLimit - flowControlByteLimit or null for nonepublic Integer getFlowControlElementLimit()
null for nonepublic BatchingSettingsProto setFlowControlElementLimit(Integer flowControlElementLimit)
flowControlElementLimit - flowControlElementLimit or null for nonepublic String getFlowControlLimitExceededBehavior()
null for nonepublic BatchingSettingsProto setFlowControlLimitExceededBehavior(String flowControlLimitExceededBehavior)
flowControlLimitExceededBehavior - flowControlLimitExceededBehavior or null for nonepublic Integer getRequestByteLimit()
null for nonepublic BatchingSettingsProto setRequestByteLimit(Integer requestByteLimit)
requestByteLimit - requestByteLimit or null for nonepublic Long getRequestByteThreshold()
null for nonepublic BatchingSettingsProto setRequestByteThreshold(Long requestByteThreshold)
requestByteThreshold - requestByteThreshold or null for nonepublic BatchingSettingsProto set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic BatchingSettingsProto clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.