Class GoogleJsonErrorContainer (2.0.1)

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 > GoogleJsonErrorContainer

Constructors

GoogleJsonErrorContainer()

public GoogleJsonErrorContainer()

Methods

clone()

public GoogleJsonErrorContainer clone()
Returns
TypeDescription
GoogleJsonErrorContainer
Overrides
com.google.api.client.json.GenericJson.clone()

getError()

public final GoogleJsonError getError()

Returns the GoogleJsonError.

Returns
TypeDescription
GoogleJsonError

set(String fieldName, Object value)

public GoogleJsonErrorContainer set(String fieldName, Object value)
Parameters
NameDescription
fieldNameString
valueObject
Returns
TypeDescription
GoogleJsonErrorContainer
Overrides
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
NameDescription
errorGoogleJsonError