Class MessageBatchIndividualResponse
-
- All Implemented Interfaces:
public final class MessageBatchIndividualResponseThis is a single line in the response
.jsonlfile and does not represent the response as a whole.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classMessageBatchIndividualResponse.BuilderA builder for MessageBatchIndividualResponse.
-
Method Summary
Modifier and Type Method Description final StringcustomId()Developer-provided ID created for each request in a Message Batch. final MessageBatchResultresult()Processing result for this request. final JsonField<String>_customId()Returns the raw JSON value of customId. final JsonField<MessageBatchResult>_result()Returns the raw JSON value of result. final Map<String, JsonValue>_additionalProperties()final MessageBatchIndividualResponse.BuildertoBuilder()final MessageBatchIndividualResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static MessageBatchIndividualResponse.Builderbuilder()Returns a mutable builder for constructing an instance of MessageBatchIndividualResponse. -
-
Method Detail
-
customId
final String customId()
Developer-provided ID created for each request in a Message Batch. Useful for matching results to requests, as results may be given out of request order.
Must be unique for each request within the Message Batch.
-
result
final MessageBatchResult result()
Processing result for this request.
Contains a Message output if processing was successful, an error response if processing failed, or the reason why processing was not attempted, such as cancellation or expiration.
-
_customId
final JsonField<String> _customId()
Returns the raw JSON value of customId.
Unlike customId, this method doesn't throw if the JSON field has an unexpected type.
-
_result
final JsonField<MessageBatchResult> _result()
Returns the raw JSON value of result.
Unlike result, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final MessageBatchIndividualResponse.Builder toBuilder()
-
validate
final MessageBatchIndividualResponse validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static MessageBatchIndividualResponse.Builder builder()
Returns a mutable builder for constructing an instance of MessageBatchIndividualResponse.
The following fields are required:
.customId() .result()
-
-
-
-