# Interface ErrorSummaryOrBuilder (0.33.0)

0.33.0 (latest) 0.31.0 0.28.0 0.27.0 0.25.0 0.23.0 0.22.0 0.21.0 0.20.0 0.18.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.10.0 0.8.0 0.7.0 0.4.0 0.3.0 0.2.0

    public interface ErrorSummaryOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getErrorCode()

    public abstract Code getErrorCode()

Required.

`.google.rpc.Code error_code = 1 [(.google.api.field_behavior) = REQUIRED];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `com.google.rpc.Code` | The errorCode. |

### getErrorCodeValue()

    public abstract int getErrorCodeValue()

Required.

`.google.rpc.Code error_code = 1 [(.google.api.field_behavior) = REQUIRED];`

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

### getErrorCount()

    public abstract long getErrorCount()

Required. Count of this type of error.

`int64 error_count = 2 [(.google.api.field_behavior) = REQUIRED];`

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

### getErrorLogEntries(int index)

    public abstract ErrorLogEntry getErrorLogEntries(int index)

Error samples.

At most 5 error log entries are recorded for a given
error code for a single transfer operation.

`repeated .google.cloud.lustre.v1.ErrorLogEntry error_log_entries = 3;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-lustre/latest/com.google.cloud.lustre.v1.ErrorLogEntry` |   |

### getErrorLogEntriesCount()

    public abstract int getErrorLogEntriesCount()

Error samples.

At most 5 error log entries are recorded for a given
error code for a single transfer operation.

`repeated .google.cloud.lustre.v1.ErrorLogEntry error_log_entries = 3;`

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

### getErrorLogEntriesList()

    public abstract List<ErrorLogEntry> getErrorLogEntriesList()

Error samples.

At most 5 error log entries are recorded for a given
error code for a single transfer operation.

`repeated .google.cloud.lustre.v1.ErrorLogEntry error_log_entries = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-lustre/latest/com.google.cloud.lustre.v1.ErrorLogEntry>` |   |

### getErrorLogEntriesOrBuilder(int index)

    public abstract ErrorLogEntryOrBuilder getErrorLogEntriesOrBuilder(int index)

Error samples.

At most 5 error log entries are recorded for a given
error code for a single transfer operation.

`repeated .google.cloud.lustre.v1.ErrorLogEntry error_log_entries = 3;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-lustre/latest/com.google.cloud.lustre.v1.ErrorLogEntryOrBuilder` |   |

### getErrorLogEntriesOrBuilderList()

    public abstract List<? extends ErrorLogEntryOrBuilder> getErrorLogEntriesOrBuilderList()

Error samples.

At most 5 error log entries are recorded for a given
error code for a single transfer operation.

`repeated .google.cloud.lustre.v1.ErrorLogEntry error_log_entries = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.cloud.lustre.v1.ErrorLogEntryOrBuilder>` |   |