Package com.google.api
Class BatchingConfigProto.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<BatchingConfigProto,BatchingConfigProto.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<BatchingConfigProto,BatchingConfigProto.Builder>
com.google.api.BatchingConfigProto.Builder
- All Implemented Interfaces:
BatchingConfigProtoOrBuilder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Cloneable
- Enclosing class:
BatchingConfigProto
public static final class BatchingConfigProto.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<BatchingConfigProto,BatchingConfigProto.Builder>
implements BatchingConfigProtoOrBuilder
`BatchingConfigProto` defines the batching configuration for an API method.Protobuf type
google.api.BatchingConfigProto-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionThe request and response fields used in batching.The thresholds which trigger a batched request to be sent.The request and response fields used in batching.The thresholds which trigger a batched request to be sent.booleanThe request and response fields used in batching.booleanThe thresholds which trigger a batched request to be sent.The request and response fields used in batching.The thresholds which trigger a batched request to be sent.The request and response fields used in batching.setBatchDescriptor(BatchingDescriptorProto.Builder builderForValue) The request and response fields used in batching.The thresholds which trigger a batched request to be sent.setThresholds(BatchingSettingsProto.Builder builderForValue) The thresholds which trigger a batched request to be sent.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasThresholds
public boolean hasThresholds()The thresholds which trigger a batched request to be sent.
.google.api.BatchingSettingsProto thresholds = 1 [json_name = "thresholds"];- Specified by:
hasThresholdsin interfaceBatchingConfigProtoOrBuilder- Returns:
- Whether the thresholds field is set.
-
getThresholds
The thresholds which trigger a batched request to be sent.
.google.api.BatchingSettingsProto thresholds = 1 [json_name = "thresholds"];- Specified by:
getThresholdsin interfaceBatchingConfigProtoOrBuilder- Returns:
- The thresholds.
-
setThresholds
The thresholds which trigger a batched request to be sent.
.google.api.BatchingSettingsProto thresholds = 1 [json_name = "thresholds"]; -
setThresholds
The thresholds which trigger a batched request to be sent.
.google.api.BatchingSettingsProto thresholds = 1 [json_name = "thresholds"]; -
mergeThresholds
The thresholds which trigger a batched request to be sent.
.google.api.BatchingSettingsProto thresholds = 1 [json_name = "thresholds"]; -
clearThresholds
The thresholds which trigger a batched request to be sent.
.google.api.BatchingSettingsProto thresholds = 1 [json_name = "thresholds"]; -
hasBatchDescriptor
public boolean hasBatchDescriptor()The request and response fields used in batching.
.google.api.BatchingDescriptorProto batch_descriptor = 2 [json_name = "batchDescriptor"];- Specified by:
hasBatchDescriptorin interfaceBatchingConfigProtoOrBuilder- Returns:
- Whether the batchDescriptor field is set.
-
getBatchDescriptor
The request and response fields used in batching.
.google.api.BatchingDescriptorProto batch_descriptor = 2 [json_name = "batchDescriptor"];- Specified by:
getBatchDescriptorin interfaceBatchingConfigProtoOrBuilder- Returns:
- The batchDescriptor.
-
setBatchDescriptor
The request and response fields used in batching.
.google.api.BatchingDescriptorProto batch_descriptor = 2 [json_name = "batchDescriptor"]; -
setBatchDescriptor
public BatchingConfigProto.Builder setBatchDescriptor(BatchingDescriptorProto.Builder builderForValue) The request and response fields used in batching.
.google.api.BatchingDescriptorProto batch_descriptor = 2 [json_name = "batchDescriptor"]; -
mergeBatchDescriptor
The request and response fields used in batching.
.google.api.BatchingDescriptorProto batch_descriptor = 2 [json_name = "batchDescriptor"]; -
clearBatchDescriptor
The request and response fields used in batching.
.google.api.BatchingDescriptorProto batch_descriptor = 2 [json_name = "batchDescriptor"];
-