public class TokenErrorResponse
extends com.google.api.client.json.GenericJson
Implementation is not thread-safe.
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
TokenErrorResponse() |
| Modifier and Type | Method and Description |
|---|---|
TokenErrorResponse |
clone() |
String |
getError()
Returns the error code (
"invalid_request", "invalid_client",
"invalid_grant", "unauthorized_client", "unsupported_grant_type",
"invalid_scope", or an extension error code as specified in Defining Additional Error Codes). |
String |
getErrorDescription()
Returns the human-readable text providing additional information, used to assist the client
developer in understanding the error that occurred or
null for none. |
String |
getErrorUri()
Returns the URI identifying a human-readable web page with information about the error, used to
provide the client developer with additional information about the error or
null for
none. |
TokenErrorResponse |
set(String fieldName,
Object value) |
TokenErrorResponse |
setError(String error)
Sets the error code (
"invalid_request", "invalid_client",
"invalid_grant", "unauthorized_client", "unsupported_grant_type",
"invalid_scope", or an extension error code as specified in Defining Additional Error Codes). |
TokenErrorResponse |
setErrorDescription(String errorDescription)
Sets the human-readable text providing additional information, used to assist the client
developer in understanding the error that occurred or
null for none. |
TokenErrorResponse |
setErrorUri(String errorUri)
Sets the URI identifying a human-readable web page with information about the error, used to
provide the client developer with additional information about the error or
null for
none. |
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic final String getError()
"invalid_request", "invalid_client",
"invalid_grant", "unauthorized_client", "unsupported_grant_type",
"invalid_scope", or an extension error code as specified in Defining Additional Error Codes).public TokenErrorResponse setError(String error)
"invalid_request", "invalid_client",
"invalid_grant", "unauthorized_client", "unsupported_grant_type",
"invalid_scope", or an extension error code as specified in Defining Additional Error Codes).
Overriding is only supported for the purpose of calling the super implementation and changing the return type, but nothing else.
public final String getErrorDescription()
null for none.public TokenErrorResponse setErrorDescription(String errorDescription)
null for none.
Overriding is only supported for the purpose of calling the super implementation and changing the return type, but nothing else.
public final String getErrorUri()
null for
none.public TokenErrorResponse setErrorUri(String errorUri)
null for
none.
Overriding is only supported for the purpose of calling the super implementation and changing the return type, but nothing else.
public TokenErrorResponse set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic TokenErrorResponse clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011-2017 Google. All Rights Reserved.