public static final class Operation.Error.Errors extends GenericJson
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Operation.Error.Errors() |
Modifier and Type | Method and Description |
---|---|
Operation.Error.Errors |
clone() |
String |
getCode()
The error type identifier for this error.
|
String |
getLocation()
Indicates the field in the request which caused the error.
|
String |
getMessage()
An optional, human-readable error message.
|
Operation.Error.Errors |
set(String fieldName,
Object value) |
Operation.Error.Errors |
setCode(String code)
The error type identifier for this error.
|
Operation.Error.Errors |
setLocation(String location)
Indicates the field in the request which caused the error.
|
Operation.Error.Errors |
setMessage(String message)
An optional, human-readable error message.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getCode()
null
for nonepublic Operation.Error.Errors setCode(String code)
code
- code or null
for nonepublic String getLocation()
null
for nonepublic Operation.Error.Errors setLocation(String location)
location
- location or null
for nonepublic String getMessage()
null
for nonepublic Operation.Error.Errors setMessage(String message)
message
- message or null
for nonepublic Operation.Error.Errors set(String fieldName, Object value)
set
in class GenericJson
public Operation.Error.Errors clone()
clone
in class GenericJson