Class ExecutionStats (2.30.0)

publicfinalclass ExecutionStatsextendsGeneratedMessageV3implementsExecutionStatsOrBuilder

Execution statistics for the query.

Protobuf type google.datastore.v1.ExecutionStats

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

DEBUG_STATS_FIELD_NUMBER

publicstaticfinalintDEBUG_STATS_FIELD_NUMBER
Field Value
Type Description
int

EXECUTION_DURATION_FIELD_NUMBER

publicstaticfinalintEXECUTION_DURATION_FIELD_NUMBER
Field Value
Type Description
int

READ_OPERATIONS_FIELD_NUMBER

publicstaticfinalintREAD_OPERATIONS_FIELD_NUMBER
Field Value
Type Description
int

RESULTS_RETURNED_FIELD_NUMBER

publicstaticfinalintRESULTS_RETURNED_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticExecutionStatsgetDefaultInstance()
Returns
Type Description
ExecutionStats

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticExecutionStats.BuildernewBuilder()
Returns
Type Description
ExecutionStats.Builder

newBuilder(ExecutionStats prototype)

publicstaticExecutionStats.BuildernewBuilder(ExecutionStatsprototype)
Parameter
Name Description
prototype ExecutionStats
Returns
Type Description
ExecutionStats.Builder

parseDelimitedFrom(InputStream input)

publicstaticExecutionStatsparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
ExecutionStats
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticExecutionStatsparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExecutionStats
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticExecutionStatsparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
ExecutionStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticExecutionStatsparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExecutionStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticExecutionStatsparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
ExecutionStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticExecutionStatsparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExecutionStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticExecutionStatsparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ExecutionStats
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticExecutionStatsparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExecutionStats
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticExecutionStatsparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
ExecutionStats
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticExecutionStatsparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExecutionStats
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticExecutionStatsparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ExecutionStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticExecutionStatsparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExecutionStats
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<ExecutionStats>parser()
Returns
Type Description
Parser<ExecutionStats>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDebugStats()

publicStructgetDebugStats()

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.

getDebugStatsOrBuilder()

publicStructOrBuildergetDebugStatsOrBuilder()

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()

publicExecutionStatsgetDefaultInstanceForType()
Returns
Type Description
ExecutionStats

getExecutionDuration()

publicDurationgetExecutionDuration()

Total time to execute the query in the backend.

.google.protobuf.Duration execution_duration = 3;

Returns
Type Description
Duration

The executionDuration.

getExecutionDurationOrBuilder()

publicDurationOrBuildergetExecutionDurationOrBuilder()

Total time to execute the query in the backend.

.google.protobuf.Duration execution_duration = 3;

Returns
Type Description
DurationOrBuilder

getParserForType()

publicParser<ExecutionStats>getParserForType()
Returns
Type Description
Parser<ExecutionStats>
Overrides

getReadOperations()

publiclonggetReadOperations()

Total billable read operations.

int64 read_operations = 4;

Returns
Type Description
long

The readOperations.

getResultsReturned()

publiclonggetResultsReturned()

Total number of results returned, including documents, projections, aggregation results, keys.

int64 results_returned = 1;

Returns
Type Description
long

The resultsReturned.

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

hasDebugStats()

publicbooleanhasDebugStats()

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()

publicbooleanhasExecutionDuration()

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.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicExecutionStats.BuildernewBuilderForType()
Returns
Type Description
ExecutionStats.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedExecutionStats.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ExecutionStats.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicExecutionStats.BuildertoBuilder()
Returns
Type Description
ExecutionStats.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.