Package Torello.Browser.BrowserAPI
Class SystemInfo.GPUDevice
- java.lang.Object
-
- Torello.Browser.BaseType<SystemInfo.GPUDevice>
-
- Torello.Browser.BrowserAPI.SystemInfo.GPUDevice
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<BaseType<?>>
- Enclosing class:
- SystemInfo
public static class SystemInfo.GPUDevice extends BaseType<SystemInfo.GPUDevice> implements java.io.Serializable
This Nested Java Class is declared as a "Type", which is similar to a Java Class. The CDP API Specifications list this type among the types, events & commands located in theSystemInfodomain, which may be found within theBrowserAPI.
📌 All browser domain type classes will have a class name that begins with an upper case letter.Describes a single graphics processor (GPU).- See Also:
- Serialized Form
Hi-Lited Source-Code:This File's Source Code:
- View Here: Torello/Browser/BrowserAPI/SystemInfo.java
- Open New Browser-Tab: Torello/Browser/BrowserAPI/SystemInfo.java
File Size: 3,026 Bytes Line Count: 78 '\n' Characters Found
Helper: Equals, HashCode, toJSON, etc
- View Here: SystemInfo$$GPUDevice$$.java
- Open New Browser-Tab: SystemInfo$$GPUDevice$$.java
File Size: 11,290 Bytes Line Count: 265 '\n' Characters Found
-
-
Field Summary
Serializable ID Modifier and Type Field Description protected static longserialVersionUIDType Fields / Properties (from Google & Browser Specs) Modifier and Type Field Description NumberdeviceIdPCI ID of the GPU device, if available; 0 otherwise.StringdeviceStringString description of the GPU device, if the PCI ID is not available.StringdriverVendorString description of the GPU driver vendor.StringdriverVersionString description of the GPU driver version.NumberrevisionRevision of the GPU, only available on Windows.NumbersubSysIdSub sys ID of the GPU, only available on Windows.NumbervendorIdPCI ID of the GPU vendor, if available; 0 otherwise.StringvendorStringString description of the GPU vendor, if the PCI ID is not available.
-
Constructor Summary
Constructors Constructor Description GPUDevice(ReadOnlyList<Boolean> isPresent, Number vendorId, Number deviceId, Number subSysId, Number revision, String vendorString, String deviceString, String driverVendor, String driverVersion)Constructor.
-
Method Summary
Static Builder Convert a JsonObject to a POJO Modifier and Type Method Description static SystemInfo.GPUDevicefromJSON(JsonObject jo)Creates an instance of this class from aJsonObject.Retrieve the Type-Descriptor Singleton-Instance for this Nested Class. Modifier and Type Method Description static NestedDescriptor<SystemInfo.GPUDevice>descriptor()Returns this class'sNestedDescriptorsingleton-instance.-
Methods inherited from class Torello.Browser.BaseType
allEnumStrROLs, compareTo, enumStrList, enumStrValidate, enumStrValidateThrow, equals, hashCode, isPresent, optionalsValidate, optionalsValidateThrow, toJSON, toString
-
-
-
-
Field Detail
-
serialVersionUID
protected static final long serialVersionUID
This fulfils the SerialVersion UID requirement for all classes that implement Java'sinterface java.io.Serializable. Using theSerializableImplementation offered by java is very easy, and can make saving program state when debugging a lot easier. It can also be used in place of more complicated systems like "hibernate" to store data as well.- See Also:
- Constant Field Values
-
vendorId
public final java.lang.Number vendorId
PCI ID of the GPU vendor, if available; 0 otherwise.
-
deviceId
public final java.lang.Number deviceId
PCI ID of the GPU device, if available; 0 otherwise.
-
subSysId
public final java.lang.Number subSysId
Sub sys ID of the GPU, only available on Windows.
OPTIONAL
-
revision
public final java.lang.Number revision
Revision of the GPU, only available on Windows.
OPTIONAL
-
vendorString
public final java.lang.String vendorString
String description of the GPU vendor, if the PCI ID is not available.
-
deviceString
public final java.lang.String deviceString
String description of the GPU device, if the PCI ID is not available.
-
driverVendor
public final java.lang.String driverVendor
String description of the GPU driver vendor.
-
driverVersion
public final java.lang.String driverVersion
String description of the GPU driver version.
-
-
Constructor Detail
-
GPUDevice
public GPUDevice(ReadOnlyList<java.lang.Boolean> isPresent, java.lang.Number vendorId, java.lang.Number deviceId, java.lang.Number subSysId, java.lang.Number revision, java.lang.String vendorString, java.lang.String deviceString, java.lang.String driverVendor, java.lang.String driverVersion)
Constructor. Please review this class' fields for documentation.
-
-
Method Detail
-
fromJSON
public static SystemInfo.GPUDevice fromJSON(JsonObject jo)
Creates an instance of this class from aJsonObject.- Code:
- Exact Method Body:
return singleton.fromJSON(jo);
-
descriptor
public static NestedDescriptor<SystemInfo.GPUDevice> descriptor()
Returns this class'sNestedDescriptorsingleton-instance. class / type.- Code:
- Exact Method Body:
return singleton.descriptor();
-
-