Class ExecutePipelineResponse (3.35.1)

public final class ExecutePipelineResponse extends GeneratedMessageV3 implements ExecutePipelineResponseOrBuilder

The response for [Firestore.Execute][].

Protobuf type google.firestore.v1.ExecutePipelineResponse

Static Fields

EXECUTION_TIME_FIELD_NUMBER

public static final int EXECUTION_TIME_FIELD_NUMBER
Field Value
Type Description
int

EXPLAIN_STATS_FIELD_NUMBER

public static final int EXPLAIN_STATS_FIELD_NUMBER
Field Value
Type Description
int

RESULTS_FIELD_NUMBER

public static final int RESULTS_FIELD_NUMBER
Field Value
Type Description
int

TRANSACTION_FIELD_NUMBER

public static final int TRANSACTION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ExecutePipelineResponse getDefaultInstance()
Returns
Type Description
ExecutePipelineResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ExecutePipelineResponse.Builder newBuilder()
Returns
Type Description
ExecutePipelineResponse.Builder

newBuilder(ExecutePipelineResponse prototype)

public static ExecutePipelineResponse.Builder newBuilder(ExecutePipelineResponse prototype)
Parameter
Name Description
prototype ExecutePipelineResponse
Returns
Type Description
ExecutePipelineResponse.Builder

parseDelimitedFrom(InputStream input)

public static ExecutePipelineResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExecutePipelineResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExecutePipelineResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExecutePipelineResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ExecutePipelineResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ExecutePipelineResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ExecutePipelineResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExecutePipelineResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ExecutePipelineResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ExecutePipelineResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ExecutePipelineResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExecutePipelineResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ExecutePipelineResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ExecutePipelineResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ExecutePipelineResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExecutePipelineResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ExecutePipelineResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExecutePipelineResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExecutePipelineResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExecutePipelineResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ExecutePipelineResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ExecutePipelineResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ExecutePipelineResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExecutePipelineResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ExecutePipelineResponse> parser()
Returns
Type Description
Parser<ExecutePipelineResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ExecutePipelineResponse getDefaultInstanceForType()
Returns
Type Description
ExecutePipelineResponse

getExecutionTime()

public 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
Timestamp

The executionTime.

getExecutionTimeOrBuilder()

public 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
TimestampOrBuilder

getExplainStats()

public 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
ExplainStats

The explainStats.

getExplainStatsOrBuilder()

public 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
ExplainStatsOrBuilder

getParserForType()

public Parser<ExecutePipelineResponse> getParserForType()
Returns
Type Description
Parser<ExecutePipelineResponse>
Overrides

getResults(int index)

public 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 int
Returns
Type Description
Document

getResultsCount()

public 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
int

getResultsList()

public 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
List<Document>

getResultsOrBuilder(int index)

public 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 int
Returns
Type Description
DocumentOrBuilder

getResultsOrBuilderList()

public 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
List<? extends com.google.firestore.v1.DocumentOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTransaction()

public 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
ByteString

The transaction.

hasExecutionTime()

public 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
boolean

Whether the executionTime field is set.

hasExplainStats()

public 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
boolean

Whether the explainStats field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ExecutePipelineResponse.Builder newBuilderForType()
Returns
Type Description
ExecutePipelineResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ExecutePipelineResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ExecutePipelineResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ExecutePipelineResponse.Builder toBuilder()
Returns
Type Description
ExecutePipelineResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException