Package com.google.firestore.v1
Class ExecutionStats.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ExecutionStats.Builder>
com.google.firestore.v1.ExecutionStats.Builder
- All Implemented Interfaces:
ExecutionStatsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ExecutionStats
public static final class ExecutionStats.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ExecutionStats.Builder>
implements ExecutionStatsOrBuilder
Execution statistics for the query.Protobuf type
google.firestore.v1.ExecutionStats-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Debugging statistics from the execution of the query.Total time to execute the query in the backend.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Total billable read operations.Total number of results returned, including documents, projections, aggregation results, keys.clone()com.google.protobuf.StructDebugging statistics from the execution of the query.com.google.protobuf.Struct.BuilderDebugging statistics from the execution of the query.com.google.protobuf.StructOrBuilderDebugging statistics from the execution of the query.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.DurationTotal time to execute the query in the backend.com.google.protobuf.Duration.BuilderTotal time to execute the query in the backend.com.google.protobuf.DurationOrBuilderTotal time to execute the query in the backend.longTotal billable read operations.longTotal number of results returned, including documents, projections, aggregation results, keys.booleanDebugging statistics from the execution of the query.booleanTotal time to execute the query in the backend.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeDebugStats(com.google.protobuf.Struct value) Debugging statistics from the execution of the query.mergeExecutionDuration(com.google.protobuf.Duration value) Total time to execute the query in the backend.mergeFrom(ExecutionStats other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) final ExecutionStats.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setDebugStats(com.google.protobuf.Struct value) Debugging statistics from the execution of the query.setDebugStats(com.google.protobuf.Struct.Builder builderForValue) Debugging statistics from the execution of the query.setExecutionDuration(com.google.protobuf.Duration value) Total time to execute the query in the backend.setExecutionDuration(com.google.protobuf.Duration.Builder builderForValue) Total time to execute the query in the backend.setReadOperations(long value) Total billable read operations.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setResultsReturned(long value) Total number of results returned, including documents, projections, aggregation results, keys.final ExecutionStats.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ExecutionStats.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ExecutionStats.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ExecutionStats.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ExecutionStats.Builder>
-
setField
public ExecutionStats.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExecutionStats.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExecutionStats.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ExecutionStats.Builder>
-
setRepeatedField
public ExecutionStats.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExecutionStats.Builder>
-
addRepeatedField
public ExecutionStats.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExecutionStats.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExecutionStats.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ExecutionStats.Builder>
-
mergeFrom
public ExecutionStats.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExecutionStats.Builder>- Throws:
IOException
-
getResultsReturned
public long getResultsReturned()Total number of results returned, including documents, projections, aggregation results, keys.
int64 results_returned = 1;- Specified by:
getResultsReturnedin interfaceExecutionStatsOrBuilder- Returns:
- The resultsReturned.
-
setResultsReturned
Total number of results returned, including documents, projections, aggregation results, keys.
int64 results_returned = 1;- Parameters:
value- The resultsReturned to set.- Returns:
- This builder for chaining.
-
clearResultsReturned
Total number of results returned, including documents, projections, aggregation results, keys.
int64 results_returned = 1;- Returns:
- This builder for chaining.
-
hasExecutionDuration
public boolean hasExecutionDuration()Total time to execute the query in the backend.
.google.protobuf.Duration execution_duration = 3;- Specified by:
hasExecutionDurationin interfaceExecutionStatsOrBuilder- Returns:
- Whether the executionDuration field is set.
-
getExecutionDuration
public com.google.protobuf.Duration getExecutionDuration()Total time to execute the query in the backend.
.google.protobuf.Duration execution_duration = 3;- Specified by:
getExecutionDurationin interfaceExecutionStatsOrBuilder- Returns:
- The executionDuration.
-
setExecutionDuration
Total time to execute the query in the backend.
.google.protobuf.Duration execution_duration = 3; -
setExecutionDuration
public ExecutionStats.Builder setExecutionDuration(com.google.protobuf.Duration.Builder builderForValue) Total time to execute the query in the backend.
.google.protobuf.Duration execution_duration = 3; -
mergeExecutionDuration
Total time to execute the query in the backend.
.google.protobuf.Duration execution_duration = 3; -
clearExecutionDuration
Total time to execute the query in the backend.
.google.protobuf.Duration execution_duration = 3; -
getExecutionDurationBuilder
public com.google.protobuf.Duration.Builder getExecutionDurationBuilder()Total time to execute the query in the backend.
.google.protobuf.Duration execution_duration = 3; -
getExecutionDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getExecutionDurationOrBuilder()Total time to execute the query in the backend.
.google.protobuf.Duration execution_duration = 3;- Specified by:
getExecutionDurationOrBuilderin interfaceExecutionStatsOrBuilder
-
getReadOperations
public long getReadOperations()Total billable read operations.
int64 read_operations = 4;- Specified by:
getReadOperationsin interfaceExecutionStatsOrBuilder- Returns:
- The readOperations.
-
setReadOperations
Total billable read operations.
int64 read_operations = 4;- Parameters:
value- The readOperations to set.- Returns:
- This builder for chaining.
-
clearReadOperations
Total billable read operations.
int64 read_operations = 4;- Returns:
- This builder for chaining.
-
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;- Specified by:
hasDebugStatsin interfaceExecutionStatsOrBuilder- Returns:
- Whether the debugStats field is set.
-
getDebugStats
public com.google.protobuf.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;- Specified by:
getDebugStatsin interfaceExecutionStatsOrBuilder- Returns:
- The debugStats.
-
setDebugStats
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; -
setDebugStats
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; -
mergeDebugStats
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; -
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; -
getDebugStatsBuilder
public com.google.protobuf.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; -
getDebugStatsOrBuilder
public com.google.protobuf.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;- Specified by:
getDebugStatsOrBuilderin interfaceExecutionStatsOrBuilder
-
setUnknownFields
public final ExecutionStats.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ExecutionStats.Builder>
-
mergeUnknownFields
public final ExecutionStats.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ExecutionStats.Builder>
-