public final class DateElement
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 Docs 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 |
|---|
DateElement() |
| Modifier and Type | Method and Description |
|---|---|
DateElement |
clone() |
DateElementProperties |
getDateElementProperties()
The properties of this DateElement.
|
String |
getDateId()
Output only.
|
Map<String,SuggestedDateElementProperties> |
getSuggestedDateElementPropertiesChanges()
The suggested changes to the date element properties, keyed by suggestion ID.
|
List<String> |
getSuggestedDeletionIds()
IDs for suggestions that remove this date from the document.
|
List<String> |
getSuggestedInsertionIds()
IDs for suggestions that insert this date into the document.
|
Map<String,SuggestedTextStyle> |
getSuggestedTextStyleChanges()
The suggested text style changes to this DateElement, keyed by suggestion ID.
|
TextStyle |
getTextStyle()
The text style of this DateElement.
|
DateElement |
set(String fieldName,
Object value) |
DateElement |
setDateElementProperties(DateElementProperties dateElementProperties)
The properties of this DateElement.
|
DateElement |
setDateId(String dateId)
Output only.
|
DateElement |
setSuggestedDateElementPropertiesChanges(Map<String,SuggestedDateElementProperties> suggestedDateElementPropertiesChanges)
The suggested changes to the date element properties, keyed by suggestion ID.
|
DateElement |
setSuggestedDeletionIds(List<String> suggestedDeletionIds)
IDs for suggestions that remove this date from the document.
|
DateElement |
setSuggestedInsertionIds(List<String> suggestedInsertionIds)
IDs for suggestions that insert this date into the document.
|
DateElement |
setSuggestedTextStyleChanges(Map<String,SuggestedTextStyle> suggestedTextStyleChanges)
The suggested text style changes to this DateElement, keyed by suggestion ID.
|
DateElement |
setTextStyle(TextStyle textStyle)
The text style of this DateElement.
|
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 DateElementProperties getDateElementProperties()
null for nonepublic DateElement setDateElementProperties(DateElementProperties dateElementProperties)
dateElementProperties - dateElementProperties or null for nonepublic String getDateId()
null for nonepublic DateElement setDateId(String dateId)
dateId - dateId or null for nonepublic Map<String,SuggestedDateElementProperties> getSuggestedDateElementPropertiesChanges()
null for nonepublic DateElement setSuggestedDateElementPropertiesChanges(Map<String,SuggestedDateElementProperties> suggestedDateElementPropertiesChanges)
suggestedDateElementPropertiesChanges - suggestedDateElementPropertiesChanges or null for nonepublic List<String> getSuggestedDeletionIds()
null for nonepublic DateElement setSuggestedDeletionIds(List<String> suggestedDeletionIds)
suggestedDeletionIds - suggestedDeletionIds or null for nonepublic List<String> getSuggestedInsertionIds()
null for nonepublic DateElement setSuggestedInsertionIds(List<String> suggestedInsertionIds)
suggestedInsertionIds - suggestedInsertionIds or null for nonepublic Map<String,SuggestedTextStyle> getSuggestedTextStyleChanges()
null for nonepublic DateElement setSuggestedTextStyleChanges(Map<String,SuggestedTextStyle> suggestedTextStyleChanges)
suggestedTextStyleChanges - suggestedTextStyleChanges or null for nonepublic TextStyle getTextStyle()
null for nonepublic DateElement setTextStyle(TextStyle textStyle)
textStyle - textStyle or null for nonepublic DateElement set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic DateElement clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.