public final class Status
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 Google Dataflow API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
Status() |
Modifier and Type | Method and Description |
---|---|
Status |
clone() |
java.lang.Integer |
getCode()
The status code, which should be an enum value of google.rpc.Code.
|
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
getDetails()
A list of messages that carry the error details.
|
java.lang.String |
getMessage()
A developer-facing error message, which should be in English.
|
Status |
set(java.lang.String fieldName,
java.lang.Object value) |
Status |
setCode(java.lang.Integer code)
The status code, which should be an enum value of google.rpc.Code.
|
Status |
setDetails(java.util.List<java.util.Map<java.lang.String,java.lang.Object>> details)
A list of messages that carry the error details.
|
Status |
setMessage(java.lang.String message)
A developer-facing error message, which should be in English.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.Integer getCode()
null
for nonepublic Status setCode(java.lang.Integer code)
code
- code or null
for nonepublic java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getDetails()
null
for nonepublic Status setDetails(java.util.List<java.util.Map<java.lang.String,java.lang.Object>> details)
details
- details or null
for nonepublic java.lang.String getMessage()
null
for nonepublic Status setMessage(java.lang.String message)
message
- message or null
for nonepublic Status set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Status clone()
clone
in class com.google.api.client.json.GenericJson