# Google Cloud Parallelstore V1 Client - Class TransferErrorSummary (0.13.2)

0.13.2 (latest) 0.13.1 0.12.1 0.11.3 0.10.0 0.9.0 0.8.3 0.7.1 0.6.1 0.5.0 0.4.0 0.3.1 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud Parallelstore V1 Client class TransferErrorSummary.

A summary of errors by error code, plus a count and sample error log
entries.

Generated from protobuf message `google.cloud.parallelstore.v1.TransferErrorSummary`

## Namespace

Google \\ Cloud \\ Parallelstore \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ error_code` | `int` One of the error codes that caused the transfer failure. |
| `↳ error_count` | `int|string` Count of this type of error. |
| `↳ error_log_entries` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-parallelstore/latest/V1.TransferErrorLogEntry>` A list of messages that carry the error details. |

### getErrorCode

One of the error codes that caused the transfer failure.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [Code](https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Rpc.Code.html). |

### setErrorCode

One of the error codes that caused the transfer failure.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [Code](https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Rpc.Code.html). |

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

### getErrorCount

Count of this type of error.

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

### setErrorCount

Count of this type of error.

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

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

### getErrorLogEntries

A list of messages that carry the error details.

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

### setErrorLogEntries

A list of messages that carry the error details.

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

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