public static final class ChromeOsDevice.CpuInfo extends GenericJson
Modifier and Type | Class and Description |
---|---|
static class |
ChromeOsDevice.CpuInfo.LogicalCpus
Status of a single logical CPU.
|
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
CpuInfo() |
Modifier and Type | Method and Description |
---|---|
ChromeOsDevice.CpuInfo |
clone() |
String |
getArchitecture()
The CPU architecture.
|
List<ChromeOsDevice.CpuInfo.LogicalCpus> |
getLogicalCpus()
Information for the Logical CPUs
|
Integer |
getMaxClockSpeedKhz()
The max CPU clock speed in kHz.
|
String |
getModel()
The CPU model name.
|
ChromeOsDevice.CpuInfo |
set(String fieldName,
Object value) |
ChromeOsDevice.CpuInfo |
setArchitecture(String architecture)
The CPU architecture.
|
ChromeOsDevice.CpuInfo |
setLogicalCpus(List<ChromeOsDevice.CpuInfo.LogicalCpus> logicalCpus)
Information for the Logical CPUs
|
ChromeOsDevice.CpuInfo |
setMaxClockSpeedKhz(Integer maxClockSpeedKhz)
The max CPU clock speed in kHz.
|
ChromeOsDevice.CpuInfo |
setModel(String model)
The CPU model name.
|
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 String getArchitecture()
null
for nonepublic ChromeOsDevice.CpuInfo setArchitecture(String architecture)
architecture
- architecture or null
for nonepublic List<ChromeOsDevice.CpuInfo.LogicalCpus> getLogicalCpus()
null
for nonepublic ChromeOsDevice.CpuInfo setLogicalCpus(List<ChromeOsDevice.CpuInfo.LogicalCpus> logicalCpus)
logicalCpus
- logicalCpus or null
for nonepublic Integer getMaxClockSpeedKhz()
null
for nonepublic ChromeOsDevice.CpuInfo setMaxClockSpeedKhz(Integer maxClockSpeedKhz)
maxClockSpeedKhz
- maxClockSpeedKhz or null
for nonepublic String getModel()
null
for nonepublic ChromeOsDevice.CpuInfo setModel(String model)
model
- model or null
for nonepublic ChromeOsDevice.CpuInfo set(String fieldName, Object value)
set
in class GenericJson
public ChromeOsDevice.CpuInfo clone()
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.