# Google Cloud Document Ai V1 Client - Class Counters (2.7.0)

2.7.0 (latest) 2.6.1 2.5.1 2.4.1 2.3.0 2.2.2 2.1.3 2.0.0 1.14.0 1.13.1 1.12.2 1.9.0 1.8.2 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.2 1.1.1 1.0.1 Reference documentation and code samples for the Google Cloud Document Ai V1 Client class Counters.

Evaluation counters for the documents that were used.

Generated from protobuf message `google.cloud.documentai.v1.Evaluation.Counters`

## Namespace

Google \\ Cloud \\ DocumentAI \\ V1 \\ Evaluation

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ input_documents_count` | `int` How many documents were sent for evaluation. |
| `↳ invalid_documents_count` | `int` How many documents were not included in the evaluation as they didn't pass validation. |
| `↳ failed_documents_count` | `int` How many documents were not included in the evaluation as Document AI failed to process them. |
| `↳ evaluated_documents_count` | `int` How many documents were used in the evaluation. |

### getInputDocumentsCount

How many documents were sent for evaluation.

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

### setInputDocumentsCount

How many documents were sent for evaluation.

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

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

### getInvalidDocumentsCount

How many documents were not included in the evaluation as they didn't
pass validation.

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

### setInvalidDocumentsCount

How many documents were not included in the evaluation as they didn't
pass validation.

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

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

### getFailedDocumentsCount

How many documents were not included in the evaluation as Document AI
failed to process them.

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

### setFailedDocumentsCount

How many documents were not included in the evaluation as Document AI
failed to process them.

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

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

### getEvaluatedDocumentsCount

How many documents were used in the evaluation.

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

### setEvaluatedDocumentsCount

How many documents were used in the evaluation.

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

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