public final class LabelDescriptor
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 Service Consumer Management 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 |
---|
LabelDescriptor() |
Modifier and Type | Method and Description |
---|---|
LabelDescriptor |
clone() |
java.lang.String |
getDescription()
A human-readable description for the label.
|
java.lang.String |
getKey()
The label key.
|
java.lang.String |
getValueType()
The type of data that can be assigned to the label.
|
LabelDescriptor |
set(java.lang.String fieldName,
java.lang.Object value) |
LabelDescriptor |
setDescription(java.lang.String description)
A human-readable description for the label.
|
LabelDescriptor |
setKey(java.lang.String key)
The label key.
|
LabelDescriptor |
setValueType(java.lang.String valueType)
The type of data that can be assigned to the label.
|
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 LabelDescriptor setDescription(java.lang.String description)
description
- description or null
for nonepublic java.lang.String getKey()
null
for nonepublic LabelDescriptor setKey(java.lang.String key)
key
- key or null
for nonepublic java.lang.String getValueType()
null
for nonepublic LabelDescriptor setValueType(java.lang.String valueType)
valueType
- valueType or null
for nonepublic LabelDescriptor set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public LabelDescriptor clone()
clone
in class com.google.api.client.json.GenericJson