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

Message representing a frame which failed to be processed due to an error.

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

## Namespace

Google \\ Cloud \\ MigrationCenter \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Output only. The identifier of the ErrorFrame. |
| `↳ violations` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-migrationcenter/latest/V1.FrameViolationEntry>` Output only. All the violations that were detected for the frame. |
| `↳ original_frame` | `https://docs.cloud.google.com/php/docs/reference/cloud-migrationcenter/latest/V1.AssetFrame` Output only. The frame that was originally reported. |
| `↳ ingestion_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. Frame ingestion time. |

### getName

Output only. The identifier of the ErrorFrame.

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

### setName

Output only. The identifier of the ErrorFrame.

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

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

### getViolations

Output only. All the violations that were detected for the frame.

| **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.FrameViolationEntry>` |   |

### setViolations

Output only. All the violations that were detected for the frame.

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

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

### getOriginalFrame

Output only. The frame that was originally reported.

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

### hasOriginalFrame

### clearOriginalFrame

### setOriginalFrame

Output only. The frame that was originally reported.

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

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

### getIngestionTime

Output only. Frame ingestion time.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasIngestionTime

### clearIngestionTime

### setIngestionTime

Output only. Frame ingestion time.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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