public final class Hardware extends GeneratedMessage implements HardwareOrBuilder
Hardware specification details for a resource, including both physical and
virtual hardware.
Protobuf type google.backstory.Hardware
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
CPU_CLOCK_SPEED_FIELD_NUMBER
public static final int CPU_CLOCK_SPEED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CPU_MAX_CLOCK_SPEED_FIELD_NUMBER
public static final int CPU_MAX_CLOCK_SPEED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CPU_MODEL_FIELD_NUMBER
public static final int CPU_MODEL_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CPU_NUMBER_CORES_FIELD_NUMBER
public static final int CPU_NUMBER_CORES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CPU_PLATFORM_FIELD_NUMBER
public static final int CPU_PLATFORM_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
MANUFACTURER_FIELD_NUMBER
public static final int MANUFACTURER_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
MODEL_FIELD_NUMBER
public static final int MODEL_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
RAM_FIELD_NUMBER
public static final int RAM_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SERIAL_NUMBER_FIELD_NUMBER
public static final int SERIAL_NUMBER_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Hardware getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Hardware.Builder newBuilder()
newBuilder(Hardware prototype)
public static Hardware.Builder newBuilder(Hardware prototype)
| Parameter |
| Name |
Description |
prototype |
Hardware
|
parseDelimitedFrom(InputStream input)
public static Hardware parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Hardware parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Hardware parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Hardware parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Hardware parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Hardware parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static Hardware parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Hardware parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static Hardware parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Hardware parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Hardware parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Hardware parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Hardware> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getCpuClockSpeed()
public long getCpuClockSpeed()
Clock speed of the hardware CPU in MHz.
uint64 cpu_clock_speed = 6;
| Returns |
| Type |
Description |
long |
The cpuClockSpeed.
|
getCpuMaxClockSpeed()
public long getCpuMaxClockSpeed()
Maximum possible clock speed of the hardware CPU in MHz.
uint64 cpu_max_clock_speed = 7;
| Returns |
| Type |
Description |
long |
The cpuMaxClockSpeed.
|
getCpuModel()
public String getCpuModel()
Model description of the hardware CPU
(e.g. "2.8 GHz Quad-Core Intel Core i5").
string cpu_model = 5;
| Returns |
| Type |
Description |
String |
The cpuModel.
|
getCpuModelBytes()
public ByteString getCpuModelBytes()
Model description of the hardware CPU
(e.g. "2.8 GHz Quad-Core Intel Core i5").
string cpu_model = 5;
| Returns |
| Type |
Description |
ByteString |
The bytes for cpuModel.
|
getCpuNumberCores()
public long getCpuNumberCores()
Number of CPU cores.
uint64 cpu_number_cores = 8;
| Returns |
| Type |
Description |
long |
The cpuNumberCores.
|
getCpuPlatform()
public String getCpuPlatform()
Platform of the hardware CPU (e.g. "Intel Broadwell").
string cpu_platform = 4;
| Returns |
| Type |
Description |
String |
The cpuPlatform.
|
getCpuPlatformBytes()
public ByteString getCpuPlatformBytes()
Platform of the hardware CPU (e.g. "Intel Broadwell").
string cpu_platform = 4;
| Returns |
| Type |
Description |
ByteString |
The bytes for cpuPlatform.
|
getDefaultInstanceForType()
public Hardware getDefaultInstanceForType()
getManufacturer()
public String getManufacturer()
Hardware manufacturer.
string manufacturer = 2;
| Returns |
| Type |
Description |
String |
The manufacturer.
|
getManufacturerBytes()
public ByteString getManufacturerBytes()
Hardware manufacturer.
string manufacturer = 2;
| Returns |
| Type |
Description |
ByteString |
The bytes for manufacturer.
|
getModel()
Hardware model.
string model = 3;
| Returns |
| Type |
Description |
String |
The model.
|
getModelBytes()
public ByteString getModelBytes()
Hardware model.
string model = 3;
| Returns |
| Type |
Description |
ByteString |
The bytes for model.
|
getParserForType()
public Parser<Hardware> getParserForType()
Overrides
getRam()
Amount of the hardware ramdom access memory (RAM) in Mb.
uint64 ram = 9;
| Returns |
| Type |
Description |
long |
The ram.
|
getSerialNumber()
public String getSerialNumber()
Hardware serial number.
string serial_number = 1;
| Returns |
| Type |
Description |
String |
The serialNumber.
|
getSerialNumberBytes()
public ByteString getSerialNumberBytes()
Hardware serial number.
string serial_number = 1;
| Returns |
| Type |
Description |
ByteString |
The bytes for serialNumber.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Hardware.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Hardware.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public Hardware.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides