Class BetaMessageBatchRequestCounts
-
- All Implemented Interfaces:
public final class BetaMessageBatchRequestCounts
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaMessageBatchRequestCounts.BuilderA builder for BetaMessageBatchRequestCounts.
-
Method Summary
Modifier and Type Method Description final Longcanceled()Number of requests in the Message Batch that have been canceled. final Longerrored()Number of requests in the Message Batch that encountered an error. final Longexpired()Number of requests in the Message Batch that have expired. final Longprocessing()Number of requests in the Message Batch that are processing. final Longsucceeded()Number of requests in the Message Batch that have completed successfully. final JsonField<Long>_canceled()Returns the raw JSON value of canceled. final JsonField<Long>_errored()Returns the raw JSON value of errored. final JsonField<Long>_expired()Returns the raw JSON value of expired. final JsonField<Long>_processing()Returns the raw JSON value of processing. final JsonField<Long>_succeeded()Returns the raw JSON value of succeeded. final Map<String, JsonValue>_additionalProperties()final BetaMessageBatchRequestCounts.BuildertoBuilder()final BetaMessageBatchRequestCountsvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaMessageBatchRequestCounts.Builderbuilder()Returns a mutable builder for constructing an instance of BetaMessageBatchRequestCounts. -
-
Method Detail
-
canceled
final 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.
-
errored
final 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.
-
expired
final Long expired()
Number of requests in the Message Batch that have expired.
This is zero until processing of the entire Message Batch has ended.
-
processing
final Long processing()
Number of requests in the Message Batch that are processing.
-
succeeded
final 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.
-
_canceled
final JsonField<Long> _canceled()
Returns the raw JSON value of canceled.
Unlike canceled, this method doesn't throw if the JSON field has an unexpected type.
-
_errored
final JsonField<Long> _errored()
Returns the raw JSON value of errored.
Unlike errored, this method doesn't throw if the JSON field has an unexpected type.
-
_expired
final JsonField<Long> _expired()
Returns the raw JSON value of expired.
Unlike expired, this method doesn't throw if the JSON field has an unexpected type.
-
_processing
final JsonField<Long> _processing()
Returns the raw JSON value of processing.
Unlike processing, this method doesn't throw if the JSON field has an unexpected type.
-
_succeeded
final JsonField<Long> _succeeded()
Returns the raw JSON value of succeeded.
Unlike succeeded, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaMessageBatchRequestCounts.Builder toBuilder()
-
validate
final BetaMessageBatchRequestCounts validate()
-
builder
final static BetaMessageBatchRequestCounts.Builder builder()
Returns a mutable builder for constructing an instance of BetaMessageBatchRequestCounts.
The following fields are required:
.canceled() .errored() .expired() .processing() .succeeded()
-
-
-
-