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)
Overrides
toBuilder()
public ExecutionStats.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides