Class GapicBatchingSettings.Builder
- java.lang.Object
-
- com.google.api.generator.gapic.model.GapicBatchingSettings.Builder
-
- Enclosing class:
- GapicBatchingSettings
public abstract static class GapicBatchingSettings.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
setProtoPakkage
public abstract GapicBatchingSettings.Builder setProtoPakkage(String protoPakkage)
-
setServiceName
public abstract GapicBatchingSettings.Builder setServiceName(String serviceName)
-
setMethodName
public abstract GapicBatchingSettings.Builder setMethodName(String methodName)
-
setElementCountThreshold
public abstract GapicBatchingSettings.Builder setElementCountThreshold(int elementCountThreshold)
-
setRequestByteThreshold
public abstract GapicBatchingSettings.Builder setRequestByteThreshold(long requestByteThreshold)
-
setDelayThresholdMillis
public abstract GapicBatchingSettings.Builder setDelayThresholdMillis(long delalyThresholdMillis)
-
setFlowControlElementLimit
public abstract GapicBatchingSettings.Builder setFlowControlElementLimit(Integer flowControlElementLimit)
-
setFlowControlByteLimit
public abstract GapicBatchingSettings.Builder setFlowControlByteLimit(Integer flowControlByteLimit)
-
setFlowControlLimitExceededBehavior
public abstract GapicBatchingSettings.Builder setFlowControlLimitExceededBehavior(GapicBatchingSettings.FlowControlLimitExceededBehavior behavior)
-
setBatchedFieldName
public abstract GapicBatchingSettings.Builder setBatchedFieldName(String batchedFieldName)
-
setDiscriminatorFieldNames
public abstract GapicBatchingSettings.Builder setDiscriminatorFieldNames(List<String> discriminatorFieldNames)
-
setSubresponseFieldName
public abstract GapicBatchingSettings.Builder setSubresponseFieldName(String subresponseFieldName)
-
build
public abstract GapicBatchingSettings build()
-
-