public final class LabelFieldModification
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.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
LabelFieldModification() |
Modifier and Type | Method and Description |
---|---|
LabelFieldModification |
clone() |
String |
getFieldId()
The ID of the field to be modified.
|
String |
getKind()
This is always drive#labelFieldModification.
|
List<com.google.api.client.util.DateTime> |
getSetDateValues()
Replaces the value of a dateString Field with these new values.
|
List<Long> |
getSetIntegerValues()
Replaces the value of an `integer` field with these new values.
|
List<String> |
getSetSelectionValues()
Replaces a `selection` field with these new values.
|
List<String> |
getSetTextValues()
Sets the value of a `text` field.
|
List<String> |
getSetUserValues()
Replaces a `user` field with these new values.
|
Boolean |
getUnsetValues()
Unsets the values for this field.
|
LabelFieldModification |
set(String fieldName,
Object value) |
LabelFieldModification |
setFieldId(String fieldId)
The ID of the field to be modified.
|
LabelFieldModification |
setKind(String kind)
This is always drive#labelFieldModification.
|
LabelFieldModification |
setSetDateValues(List<com.google.api.client.util.DateTime> setDateValues)
Replaces the value of a dateString Field with these new values.
|
LabelFieldModification |
setSetIntegerValues(List<Long> setIntegerValues)
Replaces the value of an `integer` field with these new values.
|
LabelFieldModification |
setSetSelectionValues(List<String> setSelectionValues)
Replaces a `selection` field with these new values.
|
LabelFieldModification |
setSetTextValues(List<String> setTextValues)
Sets the value of a `text` field.
|
LabelFieldModification |
setSetUserValues(List<String> setUserValues)
Replaces a `user` field with these new values.
|
LabelFieldModification |
setUnsetValues(Boolean unsetValues)
Unsets the values for this field.
|
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 String getFieldId()
null
for nonepublic LabelFieldModification setFieldId(String fieldId)
fieldId
- fieldId or null
for nonepublic String getKind()
null
for nonepublic LabelFieldModification setKind(String kind)
kind
- kind or null
for nonepublic List<com.google.api.client.util.DateTime> getSetDateValues()
null
for nonepublic LabelFieldModification setSetDateValues(List<com.google.api.client.util.DateTime> setDateValues)
setDateValues
- setDateValues or null
for nonepublic List<Long> getSetIntegerValues()
null
for nonepublic LabelFieldModification setSetIntegerValues(List<Long> setIntegerValues)
setIntegerValues
- setIntegerValues or null
for nonepublic List<String> getSetSelectionValues()
null
for nonepublic LabelFieldModification setSetSelectionValues(List<String> setSelectionValues)
setSelectionValues
- setSelectionValues or null
for nonepublic List<String> getSetTextValues()
null
for nonepublic LabelFieldModification setSetTextValues(List<String> setTextValues)
setTextValues
- setTextValues or null
for nonepublic List<String> getSetUserValues()
null
for nonepublic LabelFieldModification setSetUserValues(List<String> setUserValues)
setUserValues
- setUserValues or null
for nonepublic Boolean getUnsetValues()
null
for nonepublic LabelFieldModification setUnsetValues(Boolean unsetValues)
unsetValues
- unsetValues or null
for nonepublic LabelFieldModification set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public LabelFieldModification clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.