public final class LabelField extends 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 Drive API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
LabelField() |
Modifier and Type | Method and Description |
---|---|
LabelField |
clone() |
List<DateTime> |
getDateString()
Only present if valueType is dateString.
|
String |
getId()
The identifier of this field.
|
List<Long> |
getInteger()
Only present if valueType is integer.
|
String |
getKind()
This is always drive#labelField.
|
List<String> |
getSelection()
Only present if valueType is selection.
|
List<String> |
getText()
Only present if valueType is text.
|
List<User> |
getUser()
Only present if valueType is user.
|
String |
getValueType()
The field type.
|
LabelField |
set(String fieldName,
Object value) |
LabelField |
setDateString(List<DateTime> dateString)
Only present if valueType is dateString.
|
LabelField |
setId(String id)
The identifier of this field.
|
LabelField |
setInteger(List<Long> integer__)
Only present if valueType is integer.
|
LabelField |
setKind(String kind)
This is always drive#labelField.
|
LabelField |
setSelection(List<String> selection)
Only present if valueType is selection.
|
LabelField |
setText(List<String> text)
Only present if valueType is text.
|
LabelField |
setUser(List<User> user)
Only present if valueType is user.
|
LabelField |
setValueType(String valueType)
The field type.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public List<DateTime> getDateString()
null
for nonepublic LabelField setDateString(List<DateTime> dateString)
dateString
- dateString or null
for nonepublic String getId()
null
for nonepublic LabelField setId(String id)
id
- id or null
for nonepublic List<Long> getInteger()
null
for nonepublic LabelField setInteger(List<Long> integer__)
integer__
- integer__ or null
for nonepublic String getKind()
null
for nonepublic LabelField setKind(String kind)
kind
- kind or null
for nonepublic List<String> getSelection()
null
for nonepublic LabelField setSelection(List<String> selection)
selection
- selection or null
for nonepublic List<String> getText()
null
for nonepublic LabelField setText(List<String> text)
text
- text or null
for nonepublic List<User> getUser()
null
for nonepublic LabelField setUser(List<User> user)
user
- user or null
for nonepublic String getValueType()
null
for nonepublic LabelField setValueType(String valueType)
valueType
- valueType or null
for nonepublic LabelField set(String fieldName, Object value)
set
in class GenericJson
public LabelField clone()
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.