public class GoogleJsonErrorContainer extends GenericJson
Data class representing a container of GoogleJsonError.
Inheritance
Object > java.util.AbstractMap > com.google.api.client.util.GenericData > com.google.api.client.json.GenericJson > GoogleJsonErrorContainerConstructors
GoogleJsonErrorContainer()
public GoogleJsonErrorContainer()
Methods
clone()
public GoogleJsonErrorContainer clone()
Returns | |
---|---|
Type | Description |
GoogleJsonErrorContainer |
com.google.api.client.json.GenericJson.clone()
getError()
public final GoogleJsonError getError()
Returns the GoogleJsonError.
Returns | |
---|---|
Type | Description |
GoogleJsonError |
set(String fieldName, Object value)
public GoogleJsonErrorContainer set(String fieldName, Object value)
Parameters | |
---|---|
Name | Description |
fieldName |
String |
value |
Object |
Returns | |
---|---|
Type | Description |
GoogleJsonErrorContainer |
com.google.api.client.json.GenericJson.set(java.lang.String,java.lang.Object)
setError(GoogleJsonError error)
public final void setError(GoogleJsonError error)
Sets the GoogleJsonError.
Parameter | |
---|---|
Name | Description |
error |
GoogleJsonError |