# Google Cloud Migration Center V1 Client - Class NetworkAdapterDetails (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 NetworkAdapterDetails.

Details of network adapter.

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

## Namespace

Google \\ Cloud \\ MigrationCenter \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ adapter_type` | `string` Network adapter type (e.g. VMXNET3). |
| `↳ mac_address` | `string` MAC address. |
| `↳ addresses` | `https://docs.cloud.google.com/php/docs/reference/cloud-migrationcenter/latest/V1.NetworkAddressList` NetworkAddressList |

### getAdapterType

Network adapter type (e.g. VMXNET3).

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

### setAdapterType

Network adapter type (e.g. VMXNET3).

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

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

### getMacAddress

MAC address.

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

### setMacAddress

MAC address.

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

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

### getAddresses

NetworkAddressList

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

### hasAddresses

### clearAddresses

### setAddresses

NetworkAddressList

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

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