Class BatchError
-
- All Implemented Interfaces:
public final class BatchError
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBatchError.BuilderA builder for BatchError.
-
Method Summary
Modifier and Type Method Description final Optional<String>code()An error code identifying the error type. final Optional<Long>line()The line number of the input file where the error occurred, if applicable. final Optional<String>message()A human-readable message providing more details about the error. final Optional<String>param()The name of the parameter that caused the error, if applicable. final JsonField<String>_code()Returns the raw JSON value of code. final JsonField<Long>_line()Returns the raw JSON value of line. final JsonField<String>_message()Returns the raw JSON value of message. final JsonField<String>_param()Returns the raw JSON value of param. final Map<String, JsonValue>_additionalProperties()final BatchError.BuildertoBuilder()final BatchErrorvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BatchError.Builderbuilder()Returns a mutable builder for constructing an instance of BatchError. -
-
Method Detail
-
line
final Optional<Long> line()
The line number of the input file where the error occurred, if applicable.
-
message
final Optional<String> message()
A human-readable message providing more details about the error.
-
param
final Optional<String> param()
The name of the parameter that caused the error, if applicable.
-
_code
final JsonField<String> _code()
Returns the raw JSON value of code.
Unlike code, this method doesn't throw if the JSON field has an unexpected type.
-
_line
final JsonField<Long> _line()
Returns the raw JSON value of line.
Unlike line, this method doesn't throw if the JSON field has an unexpected type.
-
_message
final JsonField<String> _message()
Returns the raw JSON value of message.
Unlike message, this method doesn't throw if the JSON field has an unexpected type.
-
_param
final JsonField<String> _param()
Returns the raw JSON value of param.
Unlike param, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BatchError.Builder toBuilder()
-
validate
final BatchError 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 BatchError.Builder builder()
Returns a mutable builder for constructing an instance of BatchError.
-
-
-
-