public final class RepositoryError
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 Cloud Search API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
RepositoryError() |
Modifier and Type | Method and Description |
---|---|
RepositoryError |
clone() |
java.lang.String |
getErrorMessage()
Message that describes the error.
|
java.lang.Integer |
getHttpStatusCode()
Error codes.
|
java.lang.String |
getType()
Type of error.
|
RepositoryError |
set(java.lang.String fieldName,
java.lang.Object value) |
RepositoryError |
setErrorMessage(java.lang.String errorMessage)
Message that describes the error.
|
RepositoryError |
setHttpStatusCode(java.lang.Integer httpStatusCode)
Error codes.
|
RepositoryError |
setType(java.lang.String type)
Type of error.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getErrorMessage()
null
for nonepublic RepositoryError setErrorMessage(java.lang.String errorMessage)
errorMessage
- errorMessage or null
for nonepublic java.lang.Integer getHttpStatusCode()
null
for nonepublic RepositoryError setHttpStatusCode(java.lang.Integer httpStatusCode)
httpStatusCode
- httpStatusCode or null
for nonepublic java.lang.String getType()
null
for nonepublic RepositoryError setType(java.lang.String type)
type
- type or null
for nonepublic RepositoryError set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public RepositoryError clone()
clone
in class com.google.api.client.json.GenericJson