target.apidocs.com.google.api.services.directory.model.ChromeOsDevice.CpuInfo.html Maven / Gradle / Ivy
ChromeOsDevice.CpuInfo (Admin SDK API directory_v1-rev20220606-1.32.1)
com.google.api.services.directory.model
Class ChromeOsDevice.CpuInfo
- 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
-
- Enclosing class:
- ChromeOsDevice
public static final class ChromeOsDevice.CpuInfo
extends GenericJson
CPU specs for a CPU.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
static class
ChromeOsDevice.CpuInfo.LogicalCpus
Status of a single logical CPU.
-
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
CpuInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods
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.
-
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
-
getArchitecture
public String getArchitecture()
The CPU architecture.
- Returns:
- value or
null
for none
-
setArchitecture
public ChromeOsDevice.CpuInfo setArchitecture(String architecture)
The CPU architecture.
- Parameters:
architecture
- architecture or null
for none
-
getLogicalCpus
public List<ChromeOsDevice.CpuInfo.LogicalCpus> getLogicalCpus()
Information for the Logical CPUs
- Returns:
- value or
null
for none
-
setLogicalCpus
public ChromeOsDevice.CpuInfo setLogicalCpus(List<ChromeOsDevice.CpuInfo.LogicalCpus> logicalCpus)
Information for the Logical CPUs
- Parameters:
logicalCpus
- logicalCpus or null
for none
-
getMaxClockSpeedKhz
public Integer getMaxClockSpeedKhz()
The max CPU clock speed in kHz.
- Returns:
- value or
null
for none
-
setMaxClockSpeedKhz
public ChromeOsDevice.CpuInfo setMaxClockSpeedKhz(Integer maxClockSpeedKhz)
The max CPU clock speed in kHz.
- Parameters:
maxClockSpeedKhz
- maxClockSpeedKhz or null
for none
-
getModel
public String getModel()
The CPU model name.
- Returns:
- value or
null
for none
-
setModel
public ChromeOsDevice.CpuInfo setModel(String model)
The CPU model name.
- Parameters:
model
- model or null
for none
-
set
public ChromeOsDevice.CpuInfo set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public ChromeOsDevice.CpuInfo clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.