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 Drive 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description | 
|---|
Label()  | 
| Modifier and Type | Method and Description | 
|---|---|
Label | 
clone()  | 
Map<String,LabelField> | 
getFields()
A map of the fields on the label, keyed by the field's ID. 
 | 
String | 
getId()
The ID of the label. 
 | 
String | 
getKind()
This is always drive#label 
 | 
String | 
getRevisionId()
The revision ID of the label. 
 | 
Label | 
set(String fieldName,
   Object value)  | 
Label | 
setFields(Map<String,LabelField> fields)
A map of the fields on the label, keyed by the field's ID. 
 | 
Label | 
setId(String id)
The ID of the label. 
 | 
Label | 
setKind(String kind)
This is always drive#label 
 | 
Label | 
setRevisionId(String revisionId)
The revision ID of the label. 
 | 
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Map<String,LabelField> getFields()
null for nonepublic Label setFields(Map<String,LabelField> fields)
fields - fields or null for nonepublic String getId()
null for nonepublic String getKind()
null for nonepublic Label setKind(String kind)
kind - kind or null for nonepublic String getRevisionId()
null for nonepublic Label setRevisionId(String revisionId)
revisionId - revisionId or null for nonepublic Label set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Label clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.