target.apidocs.com.google.api.services.directory.model.ChromeOsDevice.CpuInfo.LogicalCpus.CStates.html Maven / Gradle / Ivy
ChromeOsDevice.CpuInfo.LogicalCpus.CStates (Admin SDK API directory_v1-rev20220606-1.32.1)
com.google.api.services.directory.model
Class ChromeOsDevice.CpuInfo.LogicalCpus.CStates
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.directory.model.ChromeOsDevice.CpuInfo.LogicalCpus.CStates
-
- Enclosing class:
- ChromeOsDevice.CpuInfo.LogicalCpus
public static final class ChromeOsDevice.CpuInfo.LogicalCpus.CStates
extends GenericJson
Status of a single C-state. C-states are various modes the CPU can transition to in order to use
more or less power.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
CStates()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
ChromeOsDevice.CpuInfo.LogicalCpus.CStates
clone()
String
getDisplayName()
Name of the state.
String
getSessionDuration()
Time spent in the state since the last reboot.
ChromeOsDevice.CpuInfo.LogicalCpus.CStates
set(String fieldName,
Object value)
ChromeOsDevice.CpuInfo.LogicalCpus.CStates
setDisplayName(String displayName)
Name of the state.
ChromeOsDevice.CpuInfo.LogicalCpus.CStates
setSessionDuration(String sessionDuration)
Time spent in the state since the last reboot.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
Name of the state.
- Returns:
- value or
null
for none
-
setDisplayName
public ChromeOsDevice.CpuInfo.LogicalCpus.CStates setDisplayName(String displayName)
Name of the state.
- Parameters:
displayName
- displayName or null
for none
-
getSessionDuration
public String getSessionDuration()
Time spent in the state since the last reboot.
- Returns:
- value or
null
for none
-
setSessionDuration
public ChromeOsDevice.CpuInfo.LogicalCpus.CStates setSessionDuration(String sessionDuration)
Time spent in the state since the last reboot.
- Parameters:
sessionDuration
- sessionDuration or null
for none
-
set
public ChromeOsDevice.CpuInfo.LogicalCpus.CStates set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public ChromeOsDevice.CpuInfo.LogicalCpus.CStates clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.