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

A resource that reports the import job errors at row level.

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

## Namespace

Google \\ Cloud \\ MigrationCenter \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ row_number` | `int` The row number where the error was detected. |
| `↳ vm_name` | `string` The name of the VM in the row. |
| `↳ vm_uuid` | `string` The VM UUID. |
| `↳ errors` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-migrationcenter/latest/V1.ImportError>` The list of errors detected in the row. |

### getRowNumber

The row number where the error was detected.

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

### setRowNumber

The row number where the error was detected.

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

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

### getVmName

The name of the VM in the row.

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

### setVmName

The name of the VM in the row.

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

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

### getVmUuid

The VM UUID.

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

### setVmUuid

The VM UUID.

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

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

### getErrors

The list of errors detected in the row.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-migrationcenter/latest/V1.ImportError>` |   |

### setErrors

The list of errors detected in the row.

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

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