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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Hardware.DiskInfo.Builder newBuilder()
newBuilder(Hardware.DiskInfo prototype)
public static Hardware.DiskInfo.Builder newBuilder(Hardware.DiskInfo prototype)
public static Hardware.DiskInfo parseDelimitedFrom(InputStream input)
public static Hardware.DiskInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Hardware.DiskInfo parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Hardware.DiskInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Hardware.DiskInfo parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Hardware.DiskInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Hardware.DiskInfo parseFrom(CodedInputStream input)
public static Hardware.DiskInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Hardware.DiskInfo parseFrom(InputStream input)
public static Hardware.DiskInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Hardware.DiskInfo parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Hardware.DiskInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Hardware.DiskInfo> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Hardware.DiskInfo getDefaultInstanceForType()
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()
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()
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()
Output only. Disk slot number.
int32 slot = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
The slot.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Hardware.DiskInfo.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Hardware.DiskInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Hardware.DiskInfo.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides