
target.apidocs.com.google.api.services.toolresults.model.CPUInfo.html Maven / Gradle / Ivy
CPUInfo (Cloud Tool Results API v1beta3-rev20210809-2.0.0)
com.google.api.services.toolresults.model
Class 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.toolresults.model.CPUInfo
-
public final class CPUInfo
extends GenericJson
Model definition for CPUInfo.
This is the Java data model class that specifies how to parse/serialize into the JSON that is
transmitted over HTTP when working with the Cloud Tool Results API. For a detailed explanation
see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
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
CPUInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
CPUInfo
clone()
String
getCpuProcessor()
description of the device processor ie '1.8 GHz hexa core 64-bit ARMv8-A'
Float
getCpuSpeedInGhz()
the CPU clock speed in GHz
Integer
getNumberOfCores()
the number of CPU cores
CPUInfo
set(String fieldName,
Object value)
CPUInfo
setCpuProcessor(String cpuProcessor)
description of the device processor ie '1.8 GHz hexa core 64-bit ARMv8-A'
CPUInfo
setCpuSpeedInGhz(Float cpuSpeedInGhz)
the CPU clock speed in GHz
CPUInfo
setNumberOfCores(Integer numberOfCores)
the number of CPU cores
-
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
-
getCpuProcessor
public String getCpuProcessor()
description of the device processor ie '1.8 GHz hexa core 64-bit ARMv8-A'
- Returns:
- value or
null
for none
-
setCpuProcessor
public CPUInfo setCpuProcessor(String cpuProcessor)
description of the device processor ie '1.8 GHz hexa core 64-bit ARMv8-A'
- Parameters:
cpuProcessor
- cpuProcessor or null
for none
-
getCpuSpeedInGhz
public Float getCpuSpeedInGhz()
the CPU clock speed in GHz
- Returns:
- value or
null
for none
-
setCpuSpeedInGhz
public CPUInfo setCpuSpeedInGhz(Float cpuSpeedInGhz)
the CPU clock speed in GHz
- Parameters:
cpuSpeedInGhz
- cpuSpeedInGhz or null
for none
-
getNumberOfCores
public Integer getNumberOfCores()
the number of CPU cores
- Returns:
- value or
null
for none
-
setNumberOfCores
public CPUInfo setNumberOfCores(Integer numberOfCores)
the number of CPU cores
- Parameters:
numberOfCores
- numberOfCores or null
for none
-
set
public CPUInfo set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public CPUInfo clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy