Class BatchError
-
- All Implemented Interfaces:
public final class BatchError
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
BatchError.Builder
A 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.Builder
toBuilder()
final BatchError
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static BatchError.Builder
builder()
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()
-
builder
final static BatchError.Builder builder()
Returns a mutable builder for constructing an instance of BatchError.
-
-
-
-