Class BatchRequestCounts.Builder
-
- All Implemented Interfaces:
public final class BatchRequestCounts.Builder
A builder for BatchRequestCounts.
-
-
Method Summary
-
-
Method Detail
-
completed
final BatchRequestCounts.Builder completed(Long completed)
Number of requests that have been completed successfully.
-
completed
final BatchRequestCounts.Builder completed(JsonField<Long> completed)
Sets Builder.completed to an arbitrary JSON value.
You should usually call Builder.completed with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
failed
final BatchRequestCounts.Builder failed(Long failed)
Number of requests that have failed.
-
failed
final BatchRequestCounts.Builder failed(JsonField<Long> failed)
Sets Builder.failed to an arbitrary JSON value.
You should usually call Builder.failed with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
total
final BatchRequestCounts.Builder total(Long total)
Total number of requests in the batch.
-
total
final BatchRequestCounts.Builder total(JsonField<Long> total)
Sets Builder.total to an arbitrary JSON value.
You should usually call Builder.total with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BatchRequestCounts.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BatchRequestCounts.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BatchRequestCounts.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BatchRequestCounts.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BatchRequestCounts.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BatchRequestCounts build()
Returns an immutable instance of BatchRequestCounts.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.completed() .failed() .total()
-
-
-
-