public final class Label
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 Google My Business 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 |
---|
Label() |
Modifier and Type | Method and Description |
---|---|
Label |
clone() |
java.lang.String |
getDescription()
Optional.
|
java.lang.String |
getDisplayName()
Required.
|
java.lang.String |
getLanguageCode()
Optional.
|
Label |
set(java.lang.String fieldName,
java.lang.Object value) |
Label |
setDescription(java.lang.String description)
Optional.
|
Label |
setDisplayName(java.lang.String displayName)
Required.
|
Label |
setLanguageCode(java.lang.String languageCode)
Optional.
|
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 Label setDescription(java.lang.String description)
description
- description or null
for nonepublic java.lang.String getDisplayName()
null
for nonepublic Label setDisplayName(java.lang.String displayName)
displayName
- displayName or null
for nonepublic java.lang.String getLanguageCode()
null
for nonepublic Label setLanguageCode(java.lang.String languageCode)
languageCode
- languageCode or null
for nonepublic Label set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Label clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011-2018 Google. All Rights Reserved.