# Google Cloud Migration Center V1 Client - Class MachineArchitectureDetails (1.2.3)

1.2.3 (latest) 1.2.2 1.1.2 1.0.3 0.4.5 0.3.1 0.2.0 0.1.0 Reference documentation and code samples for the Google Cloud Migration Center V1 Client class MachineArchitectureDetails.

Details of the machine architecture.

Generated from protobuf message `google.cloud.migrationcenter.v1.MachineArchitectureDetails`

## Namespace

Google \\ Cloud \\ MigrationCenter \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ cpu_architecture` | `string` CPU architecture, e.g., "x64-based PC", "x86_64", "i686" etc. |
| `↳ cpu_name` | `string` CPU name, e.g., "Intel Xeon E5-2690", "AMD EPYC 7571" etc. |
| `↳ vendor` | `string` Hardware vendor. |
| `↳ cpu_thread_count` | `int` Number of CPU threads allocated to the machine. |
| `↳ cpu_socket_count` | `int` Number of processor sockets allocated to the machine. |
| `↳ bios` | `https://docs.cloud.google.com/php/docs/reference/cloud-migrationcenter/latest/V1.BiosDetails` BIOS Details. |
| `↳ firmware_type` | `int` Firmware type. |
| `↳ hyperthreading` | `int` CPU hyper-threading support. |

### getCpuArchitecture

CPU architecture, e.g., "x64-based PC", "x86_64", "i686" etc.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setCpuArchitecture

CPU architecture, e.g., "x64-based PC", "x86_64", "i686" etc.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getCpuName

CPU name, e.g., "Intel Xeon E5-2690", "AMD EPYC 7571" etc.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setCpuName

CPU name, e.g., "Intel Xeon E5-2690", "AMD EPYC 7571" etc.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getVendor

Hardware vendor.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setVendor

Hardware vendor.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getCpuThreadCount

Number of CPU threads allocated to the machine.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setCpuThreadCount

Number of CPU threads allocated to the machine.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getCpuSocketCount

Number of processor sockets allocated to the machine.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setCpuSocketCount

Number of processor sockets allocated to the machine.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getBios

BIOS Details.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-migrationcenter/latest/V1.BiosDetails|null` |   |

### hasBios

### clearBios

### setBios

BIOS Details.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-migrationcenter/latest/V1.BiosDetails` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getFirmwareType

Firmware type.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [FirmwareType](https://docs.cloud.google.com/php/docs/reference/cloud-migrationcenter/latest/V1.MachineArchitectureDetails.FirmwareType). |

### setFirmwareType

Firmware type.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [FirmwareType](https://docs.cloud.google.com/php/docs/reference/cloud-migrationcenter/latest/V1.MachineArchitectureDetails.FirmwareType). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getHyperthreading

CPU hyper-threading support.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [CpuHyperThreading](https://docs.cloud.google.com/php/docs/reference/cloud-migrationcenter/latest/V1.MachineArchitectureDetails.CpuHyperThreading). |

### setHyperthreading

CPU hyper-threading support.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [CpuHyperThreading](https://docs.cloud.google.com/php/docs/reference/cloud-migrationcenter/latest/V1.MachineArchitectureDetails.CpuHyperThreading). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |