public final class ProcessingError
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud Search API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
ProcessingError() |
| Modifier and Type | Method and Description |
|---|---|
ProcessingError |
clone() |
java.lang.String |
getCode()
Error code indicating the nature of the error.
|
java.lang.String |
getErrorMessage()
Description of the error.
|
java.util.List<FieldViolation> |
getFieldViolations()
In case the item fields are invalid, this field contains the details about the validation
errors.
|
ProcessingError |
set(java.lang.String fieldName,
java.lang.Object value) |
ProcessingError |
setCode(java.lang.String code)
Error code indicating the nature of the error.
|
ProcessingError |
setErrorMessage(java.lang.String errorMessage)
Description of the error.
|
ProcessingError |
setFieldViolations(java.util.List<FieldViolation> fieldViolations)
In case the item fields are invalid, this field contains the details about the validation
errors.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.String getCode()
null for nonepublic ProcessingError setCode(java.lang.String code)
code - code or null for nonepublic java.lang.String getErrorMessage()
null for nonepublic ProcessingError setErrorMessage(java.lang.String errorMessage)
errorMessage - errorMessage or null for nonepublic java.util.List<FieldViolation> getFieldViolations()
null for nonepublic ProcessingError setFieldViolations(java.util.List<FieldViolation> fieldViolations)
fieldViolations - fieldViolations or null for nonepublic ProcessingError set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic ProcessingError clone()
clone in class com.google.api.client.json.GenericJson