Send feedback
Class ExecutionStats (2.21.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.21.1 keyboard_arrow_down
public final class ExecutionStats extends GeneratedMessageV3 implements ExecutionStatsOrBuilder
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
public static final int DEBUG_STATS_FIELD_NUMBER
Field Value
Type
Description
int
EXECUTION_DURATION_FIELD_NUMBER
public static final int EXECUTION_DURATION_FIELD_NUMBER
Field Value
Type
Description
int
READ_OPERATIONS_FIELD_NUMBER
public static final int READ_OPERATIONS_FIELD_NUMBER
Field Value
Type
Description
int
RESULTS_RETURNED_FIELD_NUMBER
public static final int RESULTS_RETURNED_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static ExecutionStats getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static ExecutionStats . Builder newBuilder ()
newBuilder(ExecutionStats prototype)
public static ExecutionStats . Builder newBuilder ( ExecutionStats prototype )
public static ExecutionStats parseDelimitedFrom ( InputStream input )
public static ExecutionStats parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static ExecutionStats parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ExecutionStats parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static ExecutionStats parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ExecutionStats parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static ExecutionStats parseFrom ( CodedInputStream input )
public static ExecutionStats parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static ExecutionStats parseFrom ( InputStream input )
public static ExecutionStats parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static ExecutionStats parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ExecutionStats parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<ExecutionStats> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
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.
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;
getDefaultInstanceForType()
public ExecutionStats getDefaultInstanceForType ()
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.
getExecutionDurationOrBuilder()
public DurationOrBuilder getExecutionDurationOrBuilder ()
Total time to execute the query in the backend.
.google.protobuf.Duration execution_duration = 3;
getParserForType()
public Parser<ExecutionStats> getParserForType ()
Overrides
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.
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
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.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public ExecutionStats . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ExecutionStats . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public ExecutionStats . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
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-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]