# Interface ExecutedQueryResultOrBuilder (0.21.0)

0.21.0 (latest) 0.19.0 0.16.0 0.15.0 0.13.0 0.11.0 0.10.0 0.9.0 0.8.0 0.6.0 0.4.0 0.3.0 0.2.0 0.1.0

    public interface ExecutedQueryResultOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getColumns(int index)

    public abstract ExecutedQueryResult.Column getColumns(int index)

The columns in the result set, in order.

`repeated .google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.Column columns = 1;
`

| **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-geminidataanalytics/latest/com.google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.Column` |   |

### getColumnsCount()

    public abstract int getColumnsCount()

The columns in the result set, in order.

`repeated .google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.Column columns = 1;
`

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

### getColumnsList()

    public abstract List<ExecutedQueryResult.Column> getColumnsList()

The columns in the result set, in order.

`repeated .google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.Column columns = 1;
`

| **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-geminidataanalytics/latest/com.google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.Column>` |   |

### getColumnsOrBuilder(int index)

    public abstract ExecutedQueryResult.ColumnOrBuilder getColumnsOrBuilder(int index)

The columns in the result set, in order.

`repeated .google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.Column columns = 1;
`

| **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-geminidataanalytics/latest/com.google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.ColumnOrBuilder` |   |

### getColumnsOrBuilderList()

    public abstract List<? extends ExecutedQueryResult.ColumnOrBuilder> getColumnsOrBuilderList()

The columns in the result set, in order.

`repeated .google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.Column columns = 1;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.ColumnOrBuilder>` |   |

### getPartialResult()

    public abstract boolean getPartialResult()

Set to true if the returned rows in `query_result` are a subset of the
full result. This can happen, for example, if the query execution hits a
row limit. When true, the `query_result` does not contain all
rows. To retrieve the complete result, consider using the
`generated_query` in `QueryDataResponse` and executing it in your own
environment.

`bool partial_result = 4;`

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

### getQueryExecutionError()

    public abstract String getQueryExecutionError()

The error message if the query execution failed.

`string query_execution_error = 5;`

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

### getQueryExecutionErrorBytes()

    public abstract ByteString getQueryExecutionErrorBytes()

The error message if the query execution failed.

`string query_execution_error = 5;`

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

### getRows(int index)

    public abstract ExecutedQueryResult.Row getRows(int index)

The rows returned by the query.

`repeated .google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.Row rows = 2;
`

| **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-geminidataanalytics/latest/com.google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.Row` |   |

### getRowsCount()

    public abstract int getRowsCount()

The rows returned by the query.

`repeated .google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.Row rows = 2;
`

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

### getRowsList()

    public abstract List<ExecutedQueryResult.Row> getRowsList()

The rows returned by the query.

`repeated .google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.Row rows = 2;
`

| **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-geminidataanalytics/latest/com.google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.Row>` |   |

### getRowsOrBuilder(int index)

    public abstract ExecutedQueryResult.RowOrBuilder getRowsOrBuilder(int index)

The rows returned by the query.

`repeated .google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.Row rows = 2;
`

| **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-geminidataanalytics/latest/com.google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.RowOrBuilder` |   |

### getRowsOrBuilderList()

    public abstract List<? extends ExecutedQueryResult.RowOrBuilder> getRowsOrBuilderList()

The rows returned by the query.

`repeated .google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.Row rows = 2;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.RowOrBuilder>` |   |

### getTotalRowCount()

    public abstract long getTotalRowCount()

The total number of rows in the full result set, if known.
This may be an estimate or an exact count.

`int64 total_row_count = 3;`

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