# Interface ErrorCountOrBuilder (0.14.0)

0.14.0 (latest) 0.12.0 0.9.0 0.8.0 0.6.0 0.4.0 0.3.0 0.2.0 0.1.0

    public interface ErrorCountOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getReason()

    public abstract ProcessingErrorReason getReason()

The error reason of the failed records.

`.google.ads.datamanager.v1.ProcessingErrorReason reason = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.ProcessingErrorReason` | The reason. |

### getReasonValue()

    public abstract int getReasonValue()

The error reason of the failed records.

`.google.ads.datamanager.v1.ProcessingErrorReason reason = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for reason. |

### getRecordCount()

    public abstract long getRecordCount()

The count of records that failed to upload for a given reason.

`int64 record_count = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The recordCount. |