public final class GooglePrivacyDlpV2DateTime 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 Cloud Data Loss Prevention (DLP) API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
GooglePrivacyDlpV2DateTime() |
| Modifier and Type | Method and Description |
|---|---|
GooglePrivacyDlpV2DateTime |
clone() |
GoogleTypeDate |
getDate()
One or more of the following must be set.
|
String |
getDayOfWeek()
Day of week
|
GoogleTypeTimeOfDay |
getTime()
Time of day
|
GooglePrivacyDlpV2TimeZone |
getTimeZone()
Time zone
|
GooglePrivacyDlpV2DateTime |
set(String fieldName,
Object value) |
GooglePrivacyDlpV2DateTime |
setDate(GoogleTypeDate date)
One or more of the following must be set.
|
GooglePrivacyDlpV2DateTime |
setDayOfWeek(String dayOfWeek)
Day of week
|
GooglePrivacyDlpV2DateTime |
setTime(GoogleTypeTimeOfDay time)
Time of day
|
GooglePrivacyDlpV2DateTime |
setTimeZone(GooglePrivacyDlpV2TimeZone timeZone)
Time zone
|
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 GoogleTypeDate getDate()
null for nonepublic GooglePrivacyDlpV2DateTime setDate(GoogleTypeDate date)
date - date or null for nonepublic String getDayOfWeek()
null for nonepublic GooglePrivacyDlpV2DateTime setDayOfWeek(String dayOfWeek)
dayOfWeek - dayOfWeek or null for nonepublic GoogleTypeTimeOfDay getTime()
null for nonepublic GooglePrivacyDlpV2DateTime setTime(GoogleTypeTimeOfDay time)
time - time or null for nonepublic GooglePrivacyDlpV2TimeZone getTimeZone()
null for nonepublic GooglePrivacyDlpV2DateTime setTimeZone(GooglePrivacyDlpV2TimeZone timeZone)
timeZone - timeZone or null for nonepublic GooglePrivacyDlpV2DateTime set(String fieldName, Object value)
set in class GenericJsonpublic GooglePrivacyDlpV2DateTime clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.