public final class FieldValue
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 Drive Activity 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 |
---|
FieldValue() |
Modifier and Type | Method and Description |
---|---|
FieldValue |
clone() |
Date |
getDate()
Date Field value.
|
DriveActivityInteger |
getInteger()
Integer Field value.
|
Selection |
getSelection()
Selection Field value.
|
SelectionList |
getSelectionList()
Selection List Field value.
|
Text |
getText()
Text Field value.
|
TextList |
getTextList()
Text List Field value.
|
SingleUser |
getUser()
User Field value.
|
UserList |
getUserList()
User List Field value.
|
FieldValue |
set(String fieldName,
Object value) |
FieldValue |
setDate(Date date)
Date Field value.
|
FieldValue |
setInteger(DriveActivityInteger integer__)
Integer Field value.
|
FieldValue |
setSelection(Selection selection)
Selection Field value.
|
FieldValue |
setSelectionList(SelectionList selectionList)
Selection List Field value.
|
FieldValue |
setText(Text text)
Text Field value.
|
FieldValue |
setTextList(TextList textList)
Text List Field value.
|
FieldValue |
setUser(SingleUser user)
User Field value.
|
FieldValue |
setUserList(UserList userList)
User List Field value.
|
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 Date getDate()
null
for nonepublic FieldValue setDate(Date date)
date
- date or null
for nonepublic DriveActivityInteger getInteger()
null
for nonepublic FieldValue setInteger(DriveActivityInteger integer__)
integer__
- integer__ or null
for nonepublic Selection getSelection()
null
for nonepublic FieldValue setSelection(Selection selection)
selection
- selection or null
for nonepublic SelectionList getSelectionList()
null
for nonepublic FieldValue setSelectionList(SelectionList selectionList)
selectionList
- selectionList or null
for nonepublic Text getText()
null
for nonepublic FieldValue setText(Text text)
text
- text or null
for nonepublic TextList getTextList()
null
for nonepublic FieldValue setTextList(TextList textList)
textList
- textList or null
for nonepublic SingleUser getUser()
null
for nonepublic FieldValue setUser(SingleUser user)
user
- user or null
for nonepublic UserList getUserList()
null
for nonepublic FieldValue setUserList(UserList userList)
userList
- userList or null
for nonepublic FieldValue set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public FieldValue clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2023 Google. All rights reserved.