public static final class Resource.Warnings
extends com.google.api.client.json.GenericJson
Modifier and Type | Class and Description |
---|---|
static class |
Resource.Warnings.Data
Model definition for ResourceWarningsData.
|
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
Warnings() |
Modifier and Type | Method and Description |
---|---|
Resource.Warnings |
clone() |
java.lang.String |
getCode()
[Output Only] A warning code, if applicable.
|
java.util.List<Resource.Warnings.Data> |
getData()
[Output Only] Metadata about this warning in key: value format.
|
java.lang.String |
getMessage()
[Output Only] A human-readable description of the warning code.
|
Resource.Warnings |
set(java.lang.String fieldName,
java.lang.Object value) |
Resource.Warnings |
setCode(java.lang.String code)
[Output Only] A warning code, if applicable.
|
Resource.Warnings |
setData(java.util.List<Resource.Warnings.Data> data)
[Output Only] Metadata about this warning in key: value format.
|
Resource.Warnings |
setMessage(java.lang.String message)
[Output Only] A human-readable description of the warning code.
|
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 getCode()
null
for nonepublic Resource.Warnings setCode(java.lang.String code)
code
- code or null
for nonepublic java.util.List<Resource.Warnings.Data> getData()
null
for nonepublic Resource.Warnings setData(java.util.List<Resource.Warnings.Data> data)
data
- data or null
for nonepublic java.lang.String getMessage()
null
for nonepublic Resource.Warnings setMessage(java.lang.String message)
message
- message or null
for nonepublic Resource.Warnings set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Resource.Warnings clone()
clone
in class com.google.api.client.json.GenericJson