public final class FieldViolation
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 |
---|
FieldViolation() |
Modifier and Type | Method and Description |
---|---|
FieldViolation |
clone() |
java.lang.String |
getDescription()
Description of the error.
|
java.lang.String |
getField()
Path of field with violation.
|
FieldViolation |
set(java.lang.String fieldName,
java.lang.Object value) |
FieldViolation |
setDescription(java.lang.String description)
Description of the error.
|
FieldViolation |
setField(java.lang.String field)
Path of field with violation.
|
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 getDescription()
null
for nonepublic FieldViolation setDescription(java.lang.String description)
description
- description or null
for nonepublic java.lang.String getField()
null
for nonepublic FieldViolation setField(java.lang.String field)
field
- field or null
for nonepublic FieldViolation set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public FieldViolation clone()
clone
in class com.google.api.client.json.GenericJson