target.apidocs.com.google.api.services.directory.model.ChromeOsDevice.CpuInfo.LogicalCpus.html Maven / Gradle / Ivy
ChromeOsDevice.CpuInfo.LogicalCpus (Admin SDK API directory_v1-rev20220606-1.32.1)
com.google.api.services.directory.model
Class ChromeOsDevice.CpuInfo.LogicalCpus
- 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
-
- Enclosing class:
- ChromeOsDevice.CpuInfo
public static final class ChromeOsDevice.CpuInfo.LogicalCpus
extends GenericJson
Status of a single logical CPU.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
static class
ChromeOsDevice.CpuInfo.LogicalCpus.CStates
Status of a single C-state.
-
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
LogicalCpus()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
ChromeOsDevice.CpuInfo.LogicalCpus
clone()
List<ChromeOsDevice.CpuInfo.LogicalCpus.CStates>
getCStates()
C-States indicate the power consumption state of the CPU.
Integer
getCurrentScalingFrequencyKhz()
Current frequency the CPU is running at.
String
getIdleDuration()
Idle time since last boot.
Integer
getMaxScalingFrequencyKhz()
Maximum frequency the CPU is allowed to run at, by policy.
ChromeOsDevice.CpuInfo.LogicalCpus
set(String fieldName,
Object value)
ChromeOsDevice.CpuInfo.LogicalCpus
setCStates(List<ChromeOsDevice.CpuInfo.LogicalCpus.CStates> cStates)
C-States indicate the power consumption state of the CPU.
ChromeOsDevice.CpuInfo.LogicalCpus
setCurrentScalingFrequencyKhz(Integer currentScalingFrequencyKhz)
Current frequency the CPU is running at.
ChromeOsDevice.CpuInfo.LogicalCpus
setIdleDuration(String idleDuration)
Idle time since last boot.
ChromeOsDevice.CpuInfo.LogicalCpus
setMaxScalingFrequencyKhz(Integer maxScalingFrequencyKhz)
Maximum frequency the CPU is allowed to run at, by policy.
-
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
-
getCStates
public List<ChromeOsDevice.CpuInfo.LogicalCpus.CStates> getCStates()
C-States indicate the power consumption state of the CPU. For more information look at
documentation published by the CPU maker.
- Returns:
- value or
null
for none
-
setCStates
public ChromeOsDevice.CpuInfo.LogicalCpus setCStates(List<ChromeOsDevice.CpuInfo.LogicalCpus.CStates> cStates)
C-States indicate the power consumption state of the CPU. For more information look at
documentation published by the CPU maker.
- Parameters:
cStates
- cStates or null
for none
-
getCurrentScalingFrequencyKhz
public Integer getCurrentScalingFrequencyKhz()
Current frequency the CPU is running at.
- Returns:
- value or
null
for none
-
setCurrentScalingFrequencyKhz
public ChromeOsDevice.CpuInfo.LogicalCpus setCurrentScalingFrequencyKhz(Integer currentScalingFrequencyKhz)
Current frequency the CPU is running at.
- Parameters:
currentScalingFrequencyKhz
- currentScalingFrequencyKhz or null
for none
-
getIdleDuration
public String getIdleDuration()
Idle time since last boot.
- Returns:
- value or
null
for none
-
setIdleDuration
public ChromeOsDevice.CpuInfo.LogicalCpus setIdleDuration(String idleDuration)
Idle time since last boot.
- Parameters:
idleDuration
- idleDuration or null
for none
-
getMaxScalingFrequencyKhz
public Integer getMaxScalingFrequencyKhz()
Maximum frequency the CPU is allowed to run at, by policy.
- Returns:
- value or
null
for none
-
setMaxScalingFrequencyKhz
public ChromeOsDevice.CpuInfo.LogicalCpus setMaxScalingFrequencyKhz(Integer maxScalingFrequencyKhz)
Maximum frequency the CPU is allowed to run at, by policy.
- Parameters:
maxScalingFrequencyKhz
- maxScalingFrequencyKhz or null
for none
-
set
public ChromeOsDevice.CpuInfo.LogicalCpus set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public ChromeOsDevice.CpuInfo.LogicalCpus clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.