Class BetaMessageBatchRequestCounts.Builder
-
- All Implemented Interfaces:
public final class BetaMessageBatchRequestCounts.BuilderA builder for BetaMessageBatchRequestCounts.
-
-
Method Summary
-
-
Method Detail
-
canceled
final BetaMessageBatchRequestCounts.Builder canceled(Long canceled)
Number of requests in the Message Batch that have been canceled.
This is zero until processing of the entire Message Batch has ended.
-
canceled
final BetaMessageBatchRequestCounts.Builder canceled(JsonField<Long> canceled)
Sets Builder.canceled to an arbitrary JSON value.
You should usually call Builder.canceled with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
errored
final BetaMessageBatchRequestCounts.Builder errored(Long errored)
Number of requests in the Message Batch that encountered an error.
This is zero until processing of the entire Message Batch has ended.
-
errored
final BetaMessageBatchRequestCounts.Builder errored(JsonField<Long> errored)
Sets Builder.errored to an arbitrary JSON value.
You should usually call Builder.errored with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
expired
final BetaMessageBatchRequestCounts.Builder expired(Long expired)
Number of requests in the Message Batch that have expired.
This is zero until processing of the entire Message Batch has ended.
-
expired
final BetaMessageBatchRequestCounts.Builder expired(JsonField<Long> expired)
Sets Builder.expired to an arbitrary JSON value.
You should usually call Builder.expired with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
processing
final BetaMessageBatchRequestCounts.Builder processing(Long processing)
Number of requests in the Message Batch that are processing.
-
processing
final BetaMessageBatchRequestCounts.Builder processing(JsonField<Long> processing)
Sets Builder.processing to an arbitrary JSON value.
You should usually call Builder.processing with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
succeeded
final BetaMessageBatchRequestCounts.Builder succeeded(Long succeeded)
Number of requests in the Message Batch that have completed successfully.
This is zero until processing of the entire Message Batch has ended.
-
succeeded
final BetaMessageBatchRequestCounts.Builder succeeded(JsonField<Long> succeeded)
Sets Builder.succeeded to an arbitrary JSON value.
You should usually call Builder.succeeded 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 BetaMessageBatchRequestCounts.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaMessageBatchRequestCounts.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaMessageBatchRequestCounts.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaMessageBatchRequestCounts.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaMessageBatchRequestCounts.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaMessageBatchRequestCounts build()
Returns an immutable instance of BetaMessageBatchRequestCounts.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.canceled() .errored() .expired() .processing() .succeeded()
-
-
-
-