public static final class ExecutionStats.Builder extends GeneratedMessage.Builder<ExecutionStats.Builder> implements ExecutionStatsOrBuilderExecution statistics for the query.
Protobuf type google.datastore.v1.ExecutionStats
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ExecutionStats.BuilderImplements
ExecutionStatsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ExecutionStats build()| Returns | |
|---|---|
| Type | Description |
ExecutionStats |
|
buildPartial()
public ExecutionStats buildPartial()| Returns | |
|---|---|
| Type | Description |
ExecutionStats |
|
clear()
public ExecutionStats.Builder clear()| Returns | |
|---|---|
| Type | Description |
ExecutionStats.Builder |
|
clearDebugStats()
public ExecutionStats.Builder clearDebugStats()Debugging statistics from the execution of the query. Note that the debugging stats are subject to change as Firestore evolves. It could include: { "indexes_entries_scanned": "1000", "documents_scanned": "20", "billing_details" : { "documents_billable": "20", "index_entries_billable": "1000", "min_query_cost": "0" } }
.google.protobuf.Struct debug_stats = 5;
| Returns | |
|---|---|
| Type | Description |
ExecutionStats.Builder |
|
clearExecutionDuration()
public ExecutionStats.Builder clearExecutionDuration()Total time to execute the query in the backend.
.google.protobuf.Duration execution_duration = 3;
| Returns | |
|---|---|
| Type | Description |
ExecutionStats.Builder |
|
clearReadOperations()
public ExecutionStats.Builder clearReadOperations()Total billable read operations.
int64 read_operations = 4;
| Returns | |
|---|---|
| Type | Description |
ExecutionStats.Builder |
This builder for chaining. |
clearResultsReturned()
public ExecutionStats.Builder clearResultsReturned()Total number of results returned, including documents, projections, aggregation results, keys.
int64 results_returned = 1;
| Returns | |
|---|---|
| Type | Description |
ExecutionStats.Builder |
This builder for chaining. |
getDebugStats()
public Struct getDebugStats()Debugging statistics from the execution of the query. Note that the debugging stats are subject to change as Firestore evolves. It could include: { "indexes_entries_scanned": "1000", "documents_scanned": "20", "billing_details" : { "documents_billable": "20", "index_entries_billable": "1000", "min_query_cost": "0" } }
.google.protobuf.Struct debug_stats = 5;
| Returns | |
|---|---|
| Type | Description |
Struct |
The debugStats. |
getDebugStatsBuilder()
public Struct.Builder getDebugStatsBuilder()Debugging statistics from the execution of the query. Note that the debugging stats are subject to change as Firestore evolves. It could include: { "indexes_entries_scanned": "1000", "documents_scanned": "20", "billing_details" : { "documents_billable": "20", "index_entries_billable": "1000", "min_query_cost": "0" } }
.google.protobuf.Struct debug_stats = 5;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getDebugStatsOrBuilder()
public StructOrBuilder getDebugStatsOrBuilder()Debugging statistics from the execution of the query. Note that the debugging stats are subject to change as Firestore evolves. It could include: { "indexes_entries_scanned": "1000", "documents_scanned": "20", "billing_details" : { "documents_billable": "20", "index_entries_billable": "1000", "min_query_cost": "0" } }
.google.protobuf.Struct debug_stats = 5;
| Returns | |
|---|---|
| Type | Description |
StructOrBuilder |
|
getDefaultInstanceForType()
public ExecutionStats getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ExecutionStats |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getExecutionDuration()
public Duration getExecutionDuration()Total time to execute the query in the backend.
.google.protobuf.Duration execution_duration = 3;
| Returns | |
|---|---|
| Type | Description |
Duration |
The executionDuration. |
getExecutionDurationBuilder()
public Duration.Builder getExecutionDurationBuilder()Total time to execute the query in the backend.
.google.protobuf.Duration execution_duration = 3;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getExecutionDurationOrBuilder()
public DurationOrBuilder getExecutionDurationOrBuilder()Total time to execute the query in the backend.
.google.protobuf.Duration execution_duration = 3;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getReadOperations()
public long getReadOperations()Total billable read operations.
int64 read_operations = 4;
| Returns | |
|---|---|
| Type | Description |
long |
The readOperations. |
getResultsReturned()
public long getResultsReturned()Total number of results returned, including documents, projections, aggregation results, keys.
int64 results_returned = 1;
| Returns | |
|---|---|
| Type | Description |
long |
The resultsReturned. |
hasDebugStats()
public boolean hasDebugStats()Debugging statistics from the execution of the query. Note that the debugging stats are subject to change as Firestore evolves. It could include: { "indexes_entries_scanned": "1000", "documents_scanned": "20", "billing_details" : { "documents_billable": "20", "index_entries_billable": "1000", "min_query_cost": "0" } }
.google.protobuf.Struct debug_stats = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the debugStats field is set. |
hasExecutionDuration()
public boolean hasExecutionDuration()Total time to execute the query in the backend.
.google.protobuf.Duration execution_duration = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the executionDuration field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeDebugStats(Struct value)
public ExecutionStats.Builder mergeDebugStats(Struct value)Debugging statistics from the execution of the query. Note that the debugging stats are subject to change as Firestore evolves. It could include: { "indexes_entries_scanned": "1000", "documents_scanned": "20", "billing_details" : { "documents_billable": "20", "index_entries_billable": "1000", "min_query_cost": "0" } }
.google.protobuf.Struct debug_stats = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
Struct |
| Returns | |
|---|---|
| Type | Description |
ExecutionStats.Builder |
|
mergeExecutionDuration(Duration value)
public ExecutionStats.Builder mergeExecutionDuration(Duration value)Total time to execute the query in the backend.
.google.protobuf.Duration execution_duration = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
ExecutionStats.Builder |
|
mergeFrom(ExecutionStats other)
public ExecutionStats.Builder mergeFrom(ExecutionStats other)| Parameter | |
|---|---|
| Name | Description |
other |
ExecutionStats |
| Returns | |
|---|---|
| Type | Description |
ExecutionStats.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ExecutionStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ExecutionStats.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ExecutionStats.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ExecutionStats.Builder |
|
setDebugStats(Struct value)
public ExecutionStats.Builder setDebugStats(Struct value)Debugging statistics from the execution of the query. Note that the debugging stats are subject to change as Firestore evolves. It could include: { "indexes_entries_scanned": "1000", "documents_scanned": "20", "billing_details" : { "documents_billable": "20", "index_entries_billable": "1000", "min_query_cost": "0" } }
.google.protobuf.Struct debug_stats = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
Struct |
| Returns | |
|---|---|
| Type | Description |
ExecutionStats.Builder |
|
setDebugStats(Struct.Builder builderForValue)
public ExecutionStats.Builder setDebugStats(Struct.Builder builderForValue)Debugging statistics from the execution of the query. Note that the debugging stats are subject to change as Firestore evolves. It could include: { "indexes_entries_scanned": "1000", "documents_scanned": "20", "billing_details" : { "documents_billable": "20", "index_entries_billable": "1000", "min_query_cost": "0" } }
.google.protobuf.Struct debug_stats = 5;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
ExecutionStats.Builder |
|
setExecutionDuration(Duration value)
public ExecutionStats.Builder setExecutionDuration(Duration value)Total time to execute the query in the backend.
.google.protobuf.Duration execution_duration = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
ExecutionStats.Builder |
|
setExecutionDuration(Duration.Builder builderForValue)
public ExecutionStats.Builder setExecutionDuration(Duration.Builder builderForValue)Total time to execute the query in the backend.
.google.protobuf.Duration execution_duration = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
ExecutionStats.Builder |
|
setReadOperations(long value)
public ExecutionStats.Builder setReadOperations(long value)Total billable read operations.
int64 read_operations = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe readOperations to set. |
| Returns | |
|---|---|
| Type | Description |
ExecutionStats.Builder |
This builder for chaining. |
setResultsReturned(long value)
public ExecutionStats.Builder setResultsReturned(long value)Total number of results returned, including documents, projections, aggregation results, keys.
int64 results_returned = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe resultsReturned to set. |
| Returns | |
|---|---|
| Type | Description |
ExecutionStats.Builder |
This builder for chaining. |