# Google Cloud Data Catalog V1 Client - Class ImportEntriesMetadata (2.4.2)

2.4.2 (latest) 2.4.1 2.3.2 2.2.4 2.1.0 2.0.2 1.10.3 1.9.1 1.8.2 1.7.1 1.6.0 1.5.1 1.4.2 1.3.9 Reference documentation and code samples for the Google Cloud Data Catalog V1 Client class ImportEntriesMetadata.

Metadata message for long-running operation
returned by the
ImportEntries.

Generated from protobuf message `google.cloud.datacatalog.v1.ImportEntriesMetadata`

## Namespace

Google \\ Cloud \\ DataCatalog \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ state` | `int` State of the import operation. |
| `↳ errors` | `array<https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Rpc.Status.html>` Partial errors that are encountered during the ImportEntries operation. There is no guarantee that all the encountered errors are reported. However, if no errors are reported, it means that no errors were encountered. |

### getState

State of the import operation.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [ImportState](https://docs.cloud.google.com/php/docs/reference/cloud-data-catalog/latest/V1.ImportEntriesMetadata.ImportState). |

### setState

State of the import operation.

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

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

### getErrors

Partial errors that are encountered during the ImportEntries operation.

There is no guarantee that all the encountered errors are reported.
However, if no errors are reported, it means that no errors were
encountered.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Rpc.Status.html>` |   |

### setErrors

Partial errors that are encountered during the ImportEntries operation.

There is no guarantee that all the encountered errors are reported.
However, if no errors are reported, it means that no errors were
encountered.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Rpc.Status.html>` |

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