public final class GoogleMapsPlacesV1PlaceOpeningHours
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 Places API (New). 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 |
|---|
GoogleMapsPlacesV1PlaceOpeningHours() |
| Modifier and Type | Method and Description |
|---|---|
GoogleMapsPlacesV1PlaceOpeningHours |
clone() |
String |
getNextCloseTime()
The next time the current opening hours period ends up to 7 days in the future.
|
String |
getNextOpenTime()
The next time the current opening hours period starts up to 7 days in the future.
|
Boolean |
getOpenNow()
Whether the opening hours period is currently active.
|
List<GoogleMapsPlacesV1PlaceOpeningHoursPeriod> |
getPeriods()
The periods that this place is open during the week.
|
String |
getSecondaryHoursType()
A type string used to identify the type of secondary hours.
|
List<GoogleMapsPlacesV1PlaceOpeningHoursSpecialDay> |
getSpecialDays()
Structured information for special days that fall within the period that the returned opening
hours cover.
|
List<String> |
getWeekdayDescriptions()
Localized strings describing the opening hours of this place, one string for each day of the
week.
|
GoogleMapsPlacesV1PlaceOpeningHours |
set(String fieldName,
Object value) |
GoogleMapsPlacesV1PlaceOpeningHours |
setNextCloseTime(String nextCloseTime)
The next time the current opening hours period ends up to 7 days in the future.
|
GoogleMapsPlacesV1PlaceOpeningHours |
setNextOpenTime(String nextOpenTime)
The next time the current opening hours period starts up to 7 days in the future.
|
GoogleMapsPlacesV1PlaceOpeningHours |
setOpenNow(Boolean openNow)
Whether the opening hours period is currently active.
|
GoogleMapsPlacesV1PlaceOpeningHours |
setPeriods(List<GoogleMapsPlacesV1PlaceOpeningHoursPeriod> periods)
The periods that this place is open during the week.
|
GoogleMapsPlacesV1PlaceOpeningHours |
setSecondaryHoursType(String secondaryHoursType)
A type string used to identify the type of secondary hours.
|
GoogleMapsPlacesV1PlaceOpeningHours |
setSpecialDays(List<GoogleMapsPlacesV1PlaceOpeningHoursSpecialDay> specialDays)
Structured information for special days that fall within the period that the returned opening
hours cover.
|
GoogleMapsPlacesV1PlaceOpeningHours |
setWeekdayDescriptions(List<String> weekdayDescriptions)
Localized strings describing the opening hours of this place, one string for each day of the
week.
|
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 String getNextCloseTime()
null for nonepublic GoogleMapsPlacesV1PlaceOpeningHours setNextCloseTime(String nextCloseTime)
nextCloseTime - nextCloseTime or null for nonepublic String getNextOpenTime()
null for nonepublic GoogleMapsPlacesV1PlaceOpeningHours setNextOpenTime(String nextOpenTime)
nextOpenTime - nextOpenTime or null for nonepublic Boolean getOpenNow()
null for nonepublic GoogleMapsPlacesV1PlaceOpeningHours setOpenNow(Boolean openNow)
openNow - openNow or null for nonepublic List<GoogleMapsPlacesV1PlaceOpeningHoursPeriod> getPeriods()
null for nonepublic GoogleMapsPlacesV1PlaceOpeningHours setPeriods(List<GoogleMapsPlacesV1PlaceOpeningHoursPeriod> periods)
periods - periods or null for nonepublic String getSecondaryHoursType()
null for nonepublic GoogleMapsPlacesV1PlaceOpeningHours setSecondaryHoursType(String secondaryHoursType)
secondaryHoursType - secondaryHoursType or null for nonepublic List<GoogleMapsPlacesV1PlaceOpeningHoursSpecialDay> getSpecialDays()
null for nonepublic GoogleMapsPlacesV1PlaceOpeningHours setSpecialDays(List<GoogleMapsPlacesV1PlaceOpeningHoursSpecialDay> specialDays)
specialDays - specialDays or null for nonepublic List<String> getWeekdayDescriptions()
null for nonepublic GoogleMapsPlacesV1PlaceOpeningHours setWeekdayDescriptions(List<String> weekdayDescriptions)
weekdayDescriptions - weekdayDescriptions or null for nonepublic GoogleMapsPlacesV1PlaceOpeningHours set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleMapsPlacesV1PlaceOpeningHours clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.