# Interface Hardware.DiskInfoOrBuilder (0.48.0)

0.48.0 (latest) 0.46.0 0.43.0 0.42.0 0.40.0 0.38.0 0.37.0 0.36.0 0.35.0 0.33.0 0.31.0 0.30.0 0.29.0 0.28.0 0.27.0 0.25.0 0.23.0 0.22.0 0.19.0 0.18.0 0.17.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.4.0 0.3.0 0.2.0 0.1.0

    public static interface Hardware.DiskInfoOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getManufacturer()

    public abstract String getManufacturer()

Output only. Disk manufacturer.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The manufacturer. |

### getManufacturerBytes()

    public abstract ByteString getManufacturerBytes()

Output only. Disk manufacturer.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for manufacturer. |

### getModelNumber()

    public abstract String getModelNumber()

Output only. Disk model number.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The modelNumber. |

### getModelNumberBytes()

    public abstract ByteString getModelNumberBytes()

Output only. Disk model number.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for modelNumber. |

### getPartNumber()

    public abstract String getPartNumber()

Output only. Disk part number.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The partNumber. |

### getPartNumberBytes()

    public abstract ByteString getPartNumberBytes()

Output only. Disk part number.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for partNumber. |

### getPsid()

    public abstract String getPsid()

Output only. Disk PSID.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The psid. |

### getPsidBytes()

    public abstract ByteString getPsidBytes()

Output only. Disk PSID.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for psid. |

### getSerialNumber()

    public abstract String getSerialNumber()

Output only. Disk serial number.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The serialNumber. |

### getSerialNumberBytes()

    public abstract ByteString getSerialNumberBytes()

Output only. Disk serial number.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for serialNumber. |

### getSlot()

    public abstract int getSlot()

Output only. Disk slot number.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The slot. |