# Interface QueryRuntimeErrorOrBuilder (0.31.0)

0.31.0 (latest) 0.29.0 0.26.0 0.25.0 0.23.0 0.21.0 0.20.0 0.19.0 0.18.0 0.16.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.8.0 0.6.0 0.5.0 0.2.0 0.1.0

    public interface QueryRuntimeErrorOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getErrorDescription()

    public abstract String getErrorDescription()

Error message

`string error_description = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The errorDescription. |

### getErrorDescriptionBytes()

    public abstract ByteString getErrorDescriptionBytes()

Error message

`string error_description = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for errorDescription. |

### getErrorSeverity()

    public abstract QueryRuntimeError.ErrorSeverity getErrorSeverity()

Severity of the error.

`.google.cloud.chronicle.v1.QueryRuntimeError.ErrorSeverity error_severity = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-chronicle/latest/com.google.cloud.chronicle.v1.QueryRuntimeError.ErrorSeverity` | The errorSeverity. |

### getErrorSeverityValue()

    public abstract int getErrorSeverityValue()

Severity of the error.

`.google.cloud.chronicle.v1.QueryRuntimeError.ErrorSeverity error_severity = 3;`

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

### getErrorTitle()

    public abstract String getErrorTitle()

Short Description of the error.

`string error_title = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The errorTitle. |

### getErrorTitleBytes()

    public abstract ByteString getErrorTitleBytes()

Short Description of the error.

`string error_title = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for errorTitle. |

### getMetadata(int index)

    public abstract QueryRuntimeError.QueryRuntimeErrorMetadata getMetadata(int index)

Metadata for the error.

`
repeated .google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata metadata = 4;
`

| **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-chronicle/latest/com.google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata` |   |

### getMetadataCount()

    public abstract int getMetadataCount()

Metadata for the error.

`
repeated .google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata metadata = 4;
`

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

### getMetadataList()

    public abstract List<QueryRuntimeError.QueryRuntimeErrorMetadata> getMetadataList()

Metadata for the error.

`
repeated .google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata metadata = 4;
`

| **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-chronicle/latest/com.google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata>` |   |

### getMetadataOrBuilder(int index)

    public abstract QueryRuntimeError.QueryRuntimeErrorMetadataOrBuilder getMetadataOrBuilder(int index)

Metadata for the error.

`
repeated .google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata metadata = 4;
`

| **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-chronicle/latest/com.google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadataOrBuilder` |   |

### getMetadataOrBuilderList()

    public abstract List<? extends QueryRuntimeError.QueryRuntimeErrorMetadataOrBuilder> getMetadataOrBuilderList()

Metadata for the error.

`
repeated .google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata metadata = 4;
`

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

### getWarningReason()

    public abstract QueryRuntimeError.WarningReason getWarningReason()

Reason for the error.

`.google.cloud.chronicle.v1.QueryRuntimeError.WarningReason warning_reason = 5;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-chronicle/latest/com.google.cloud.chronicle.v1.QueryRuntimeError.WarningReason` | The warningReason. |

### getWarningReasonValue()

    public abstract int getWarningReasonValue()

Reason for the error.

`.google.cloud.chronicle.v1.QueryRuntimeError.WarningReason warning_reason = 5;`

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