Class Hardware.DiskInfo (0.10.0)

public static final class Hardware.DiskInfo extends GeneratedMessageV3 implements Hardware.DiskInfoOrBuilder

Information about individual disks on a machine.

Protobuf type google.cloud.gdchardwaremanagement.v1alpha.Hardware.DiskInfo

Static Fields

MANUFACTURER_FIELD_NUMBER

public static final int MANUFACTURER_FIELD_NUMBER
Field Value
Type Description
int

MODEL_NUMBER_FIELD_NUMBER

public static final int MODEL_NUMBER_FIELD_NUMBER
Field Value
Type Description
int

PART_NUMBER_FIELD_NUMBER

public static final int PART_NUMBER_FIELD_NUMBER
Field Value
Type Description
int

PSID_FIELD_NUMBER

public static final int PSID_FIELD_NUMBER
Field Value
Type Description
int

SERIAL_NUMBER_FIELD_NUMBER

public static final int SERIAL_NUMBER_FIELD_NUMBER
Field Value
Type Description
int

SLOT_FIELD_NUMBER

public static final int SLOT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Hardware.DiskInfo getDefaultInstance()
Returns
Type Description
Hardware.DiskInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Hardware.DiskInfo.Builder newBuilder()
Returns
Type Description
Hardware.DiskInfo.Builder

newBuilder(Hardware.DiskInfo prototype)

public static Hardware.DiskInfo.Builder newBuilder(Hardware.DiskInfo prototype)
Parameter
Name Description
prototype Hardware.DiskInfo
Returns
Type Description
Hardware.DiskInfo.Builder

parseDelimitedFrom(InputStream input)

public static Hardware.DiskInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Hardware.DiskInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Hardware.DiskInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Hardware.DiskInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Hardware.DiskInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Hardware.DiskInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Hardware.DiskInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Hardware.DiskInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Hardware.DiskInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Hardware.DiskInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Hardware.DiskInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Hardware.DiskInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Hardware.DiskInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Hardware.DiskInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Hardware.DiskInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Hardware.DiskInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Hardware.DiskInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Hardware.DiskInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Hardware.DiskInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Hardware.DiskInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Hardware.DiskInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Hardware.DiskInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Hardware.DiskInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Hardware.DiskInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Hardware.DiskInfo> parser()
Returns
Type Description
Parser<DiskInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Hardware.DiskInfo getDefaultInstanceForType()
Returns
Type Description
Hardware.DiskInfo

getManufacturer()

public String getManufacturer()

Output only. Disk manufacturer.

string manufacturer = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The manufacturer.

getManufacturerBytes()

public ByteString getManufacturerBytes()

Output only. Disk manufacturer.

string manufacturer = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for manufacturer.

getModelNumber()

public String getModelNumber()

Output only. Disk model number.

string model_number = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The modelNumber.

getModelNumberBytes()

public ByteString getModelNumberBytes()

Output only. Disk model number.

string model_number = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for modelNumber.

getParserForType()

public Parser<Hardware.DiskInfo> getParserForType()
Returns
Type Description
Parser<DiskInfo>
Overrides

getPartNumber()

public String getPartNumber()

Output only. Disk part number.

string part_number = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The partNumber.

getPartNumberBytes()

public ByteString getPartNumberBytes()

Output only. Disk part number.

string part_number = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for partNumber.

getPsid()

public String getPsid()

Output only. Disk PSID.

string psid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The psid.

getPsidBytes()

public ByteString getPsidBytes()

Output only. Disk PSID.

string psid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for psid.

getSerialNumber()

public String getSerialNumber()

Output only. Disk serial number.

string serial_number = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The serialNumber.

getSerialNumberBytes()

public ByteString getSerialNumberBytes()

Output only. Disk serial number.

string serial_number = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for serialNumber.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSlot()

public int getSlot()

Output only. Disk slot number.

int32 slot = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The slot.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Hardware.DiskInfo.Builder newBuilderForType()
Returns
Type Description
Hardware.DiskInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Hardware.DiskInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Hardware.DiskInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Hardware.DiskInfo.Builder toBuilder()
Returns
Type Description
Hardware.DiskInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException