public static final class ChromeOsDevice.ActiveTimeRanges extends GenericJson
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
ActiveTimeRanges() |
Modifier and Type | Method and Description |
---|---|
ChromeOsDevice.ActiveTimeRanges |
clone() |
Integer |
getActiveTime()
Duration of usage in milliseconds.
|
DateTime |
getDate()
Date of usage
|
ChromeOsDevice.ActiveTimeRanges |
set(String fieldName,
Object value) |
ChromeOsDevice.ActiveTimeRanges |
setActiveTime(Integer activeTime)
Duration of usage in milliseconds.
|
ChromeOsDevice.ActiveTimeRanges |
setDate(DateTime date)
Date of usage
|
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 Integer getActiveTime()
null
for nonepublic ChromeOsDevice.ActiveTimeRanges setActiveTime(Integer activeTime)
activeTime
- activeTime or null
for nonepublic DateTime getDate()
null
for nonepublic ChromeOsDevice.ActiveTimeRanges setDate(DateTime date)
date
- date or null
for nonepublic ChromeOsDevice.ActiveTimeRanges set(String fieldName, Object value)
set
in class GenericJson
public ChromeOsDevice.ActiveTimeRanges clone()
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.