# Interface ExecutePipelineResponseOrBuilder (3.43.1)

3.43.1 (latest) 3.41.0 3.38.0 3.37.0 3.36.0 3.35.1 3.33.4 3.32.2 3.31.9 3.30.11 3.28.0 3.27.2 3.26.5 3.25.1 3.24.3 3.22.0 3.21.4 3.20.0 3.17.0 3.16.3 3.15.7 3.14.4 3.13.2 3.12.1 3.11.0 3.10.0 3.9.6 3.8.2 3.7.10 3.6.0 3.5.0 3.4.2 3.3.0 3.2.0 3.1.0 3.0.21

    public interface ExecutePipelineResponseOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getExecutionTime()

    public abstract Timestamp getExecutionTime()

The time at which the results are valid.

This is a (not strictly) monotonically increasing value across multiple
responses in the same stream. The API guarantees that all previously
returned results are still valid at the latest `execution_time`. This
allows the API consumer to treat the query if it ran at the latest
`execution_time` returned.

If the query returns no results, a response with `execution_time` and no
`results` will be sent, and this represents the time at which the operation
was run.

`.google.protobuf.Timestamp execution_time = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Timestamp.html` | The executionTime. |

### getExecutionTimeOrBuilder()

    public abstract TimestampOrBuilder getExecutionTimeOrBuilder()

The time at which the results are valid.

This is a (not strictly) monotonically increasing value across multiple
responses in the same stream. The API guarantees that all previously
returned results are still valid at the latest `execution_time`. This
allows the API consumer to treat the query if it ran at the latest
`execution_time` returned.

If the query returns no results, a response with `execution_time` and no
`results` will be sent, and this represents the time at which the operation
was run.

`.google.protobuf.Timestamp execution_time = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.TimestampOrBuilder.html` |   |

### getExplainStats()

    public abstract ExplainStats getExplainStats()

Query explain stats.

This is present on the **last** response if the request configured explain
to run in 'analyze' or 'explain' mode in the pipeline options. If the query
does not return any results, a response with `explain_stats` and no
`results` will still be sent.

`.google.firestore.v1.ExplainStats explain_stats = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-firestore/latest/com.google.firestore.v1.ExplainStats` | The explainStats. |

### getExplainStatsOrBuilder()

    public abstract ExplainStatsOrBuilder getExplainStatsOrBuilder()

Query explain stats.

This is present on the **last** response if the request configured explain
to run in 'analyze' or 'explain' mode in the pipeline options. If the query
does not return any results, a response with `explain_stats` and no
`results` will still be sent.

`.google.firestore.v1.ExplainStats explain_stats = 4;`

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

### getResults(int index)

    public abstract Document getResults(int index)

An ordered batch of results returned executing a pipeline.

The batch size is variable, and can even be zero for when only a partial
progress message is returned.

The fields present in the returned documents are only those that were
explicitly requested in the pipeline, this includes those like
`name` and
`update_time`. This is
explicitly a divergence from `Firestore.RunQuery` / `Firestore.GetDocument`
RPCs which always return such fields even when they are not specified in
the `mask`.

`repeated .google.firestore.v1.Document results = 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-firestore/latest/com.google.firestore.v1.Document` |   |

### getResultsCount()

    public abstract int getResultsCount()

An ordered batch of results returned executing a pipeline.

The batch size is variable, and can even be zero for when only a partial
progress message is returned.

The fields present in the returned documents are only those that were
explicitly requested in the pipeline, this includes those like
`name` and
`update_time`. This is
explicitly a divergence from `Firestore.RunQuery` / `Firestore.GetDocument`
RPCs which always return such fields even when they are not specified in
the `mask`.

`repeated .google.firestore.v1.Document results = 2;`

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

### getResultsList()

    public abstract List<Document> getResultsList()

An ordered batch of results returned executing a pipeline.

The batch size is variable, and can even be zero for when only a partial
progress message is returned.

The fields present in the returned documents are only those that were
explicitly requested in the pipeline, this includes those like
`name` and
`update_time`. This is
explicitly a divergence from `Firestore.RunQuery` / `Firestore.GetDocument`
RPCs which always return such fields even when they are not specified in
the `mask`.

`repeated .google.firestore.v1.Document results = 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-firestore/latest/com.google.firestore.v1.Document>` |   |

### getResultsOrBuilder(int index)

    public abstract DocumentOrBuilder getResultsOrBuilder(int index)

An ordered batch of results returned executing a pipeline.

The batch size is variable, and can even be zero for when only a partial
progress message is returned.

The fields present in the returned documents are only those that were
explicitly requested in the pipeline, this includes those like
`name` and
`update_time`. This is
explicitly a divergence from `Firestore.RunQuery` / `Firestore.GetDocument`
RPCs which always return such fields even when they are not specified in
the `mask`.

`repeated .google.firestore.v1.Document results = 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-firestore/latest/com.google.firestore.v1.DocumentOrBuilder` |   |

### getResultsOrBuilderList()

    public abstract List<? extends DocumentOrBuilder> getResultsOrBuilderList()

An ordered batch of results returned executing a pipeline.

The batch size is variable, and can even be zero for when only a partial
progress message is returned.

The fields present in the returned documents are only those that were
explicitly requested in the pipeline, this includes those like
`name` and
`update_time`. This is
explicitly a divergence from `Firestore.RunQuery` / `Firestore.GetDocument`
RPCs which always return such fields even when they are not specified in
the `mask`.

`repeated .google.firestore.v1.Document results = 2;`

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

### getTransaction()

    public abstract ByteString getTransaction()

Newly created transaction identifier.

This field is only specified as part of the first response from the server,
alongside the `results` field when the original request specified
\[ExecuteRequest.new_transaction\]\[\].

`bytes transaction = 1;`

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

### hasExecutionTime()

    public abstract boolean hasExecutionTime()

The time at which the results are valid.

This is a (not strictly) monotonically increasing value across multiple
responses in the same stream. The API guarantees that all previously
returned results are still valid at the latest `execution_time`. This
allows the API consumer to treat the query if it ran at the latest
`execution_time` returned.

If the query returns no results, a response with `execution_time` and no
`results` will be sent, and this represents the time at which the operation
was run.

`.google.protobuf.Timestamp execution_time = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the executionTime field is set. |

### hasExplainStats()

    public abstract boolean hasExplainStats()

Query explain stats.

This is present on the **last** response if the request configured explain
to run in 'analyze' or 'explain' mode in the pipeline options. If the query
does not return any results, a response with `explain_stats` and no
`results` will still be sent.

`.google.firestore.v1.ExplainStats explain_stats = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the explainStats field is set. |