Package com.google.datastore.v1
Class ResultSetStats.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ResultSetStats.Builder>
com.google.datastore.v1.ResultSetStats.Builder
- All Implemented Interfaces:
ResultSetStatsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ResultSetStats
public static final class ResultSetStats.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ResultSetStats.Builder>
implements ResultSetStatsOrBuilder
Planning and execution statistics for the query.Protobuf type
google.datastore.v1.ResultSetStats-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Plan for the query.Aggregated statistics from the execution of the query.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorPlan for the query.Plan for the query.Plan for the query.com.google.protobuf.StructAggregated statistics from the execution of the query.com.google.protobuf.Struct.BuilderAggregated statistics from the execution of the query.com.google.protobuf.StructOrBuilderAggregated statistics from the execution of the query.booleanPlan for the query.booleanAggregated statistics from the execution of the query.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(ResultSetStats other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeQueryPlan(QueryPlan value) Plan for the query.mergeQueryStats(com.google.protobuf.Struct value) Aggregated statistics from the execution of the query.final ResultSetStats.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setQueryPlan(QueryPlan value) Plan for the query.setQueryPlan(QueryPlan.Builder builderForValue) Plan for the query.setQueryStats(com.google.protobuf.Struct value) Aggregated statistics from the execution of the query.setQueryStats(com.google.protobuf.Struct.Builder builderForValue) Aggregated statistics from the execution of the query.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) final ResultSetStats.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<ResultSetStats.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<ResultSetStats.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<ResultSetStats.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<ResultSetStats.Builder>
-
setField
public ResultSetStats.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<ResultSetStats.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ResultSetStats.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ResultSetStats.Builder>
-
setRepeatedField
public ResultSetStats.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<ResultSetStats.Builder>
-
addRepeatedField
public ResultSetStats.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<ResultSetStats.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ResultSetStats.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ResultSetStats.Builder>
-
mergeFrom
public ResultSetStats.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<ResultSetStats.Builder>- Throws:
IOException
-
hasQueryPlan
public boolean hasQueryPlan()Plan for the query.
.google.datastore.v1.QueryPlan query_plan = 1;- Specified by:
hasQueryPlanin interfaceResultSetStatsOrBuilder- Returns:
- Whether the queryPlan field is set.
-
getQueryPlan
Plan for the query.
.google.datastore.v1.QueryPlan query_plan = 1;- Specified by:
getQueryPlanin interfaceResultSetStatsOrBuilder- Returns:
- The queryPlan.
-
setQueryPlan
Plan for the query.
.google.datastore.v1.QueryPlan query_plan = 1; -
setQueryPlan
Plan for the query.
.google.datastore.v1.QueryPlan query_plan = 1; -
mergeQueryPlan
Plan for the query.
.google.datastore.v1.QueryPlan query_plan = 1; -
clearQueryPlan
Plan for the query.
.google.datastore.v1.QueryPlan query_plan = 1; -
getQueryPlanBuilder
Plan for the query.
.google.datastore.v1.QueryPlan query_plan = 1; -
getQueryPlanOrBuilder
Plan for the query.
.google.datastore.v1.QueryPlan query_plan = 1;- Specified by:
getQueryPlanOrBuilderin interfaceResultSetStatsOrBuilder
-
hasQueryStats
public boolean hasQueryStats()Aggregated statistics from the execution of the query. This will only be present when the request specifies `PROFILE` mode. For example, a query will return the statistics including: { "results_returned": "20", "documents_scanned": "20", "indexes_entries_scanned": "10050", "total_execution_time": "100.7 msecs" }.google.protobuf.Struct query_stats = 2;- Specified by:
hasQueryStatsin interfaceResultSetStatsOrBuilder- Returns:
- Whether the queryStats field is set.
-
getQueryStats
public com.google.protobuf.Struct getQueryStats()Aggregated statistics from the execution of the query. This will only be present when the request specifies `PROFILE` mode. For example, a query will return the statistics including: { "results_returned": "20", "documents_scanned": "20", "indexes_entries_scanned": "10050", "total_execution_time": "100.7 msecs" }.google.protobuf.Struct query_stats = 2;- Specified by:
getQueryStatsin interfaceResultSetStatsOrBuilder- Returns:
- The queryStats.
-
setQueryStats
Aggregated statistics from the execution of the query. This will only be present when the request specifies `PROFILE` mode. For example, a query will return the statistics including: { "results_returned": "20", "documents_scanned": "20", "indexes_entries_scanned": "10050", "total_execution_time": "100.7 msecs" }.google.protobuf.Struct query_stats = 2; -
setQueryStats
Aggregated statistics from the execution of the query. This will only be present when the request specifies `PROFILE` mode. For example, a query will return the statistics including: { "results_returned": "20", "documents_scanned": "20", "indexes_entries_scanned": "10050", "total_execution_time": "100.7 msecs" }.google.protobuf.Struct query_stats = 2; -
mergeQueryStats
Aggregated statistics from the execution of the query. This will only be present when the request specifies `PROFILE` mode. For example, a query will return the statistics including: { "results_returned": "20", "documents_scanned": "20", "indexes_entries_scanned": "10050", "total_execution_time": "100.7 msecs" }.google.protobuf.Struct query_stats = 2; -
clearQueryStats
Aggregated statistics from the execution of the query. This will only be present when the request specifies `PROFILE` mode. For example, a query will return the statistics including: { "results_returned": "20", "documents_scanned": "20", "indexes_entries_scanned": "10050", "total_execution_time": "100.7 msecs" }.google.protobuf.Struct query_stats = 2; -
getQueryStatsBuilder
public com.google.protobuf.Struct.Builder getQueryStatsBuilder()Aggregated statistics from the execution of the query. This will only be present when the request specifies `PROFILE` mode. For example, a query will return the statistics including: { "results_returned": "20", "documents_scanned": "20", "indexes_entries_scanned": "10050", "total_execution_time": "100.7 msecs" }.google.protobuf.Struct query_stats = 2; -
getQueryStatsOrBuilder
public com.google.protobuf.StructOrBuilder getQueryStatsOrBuilder()Aggregated statistics from the execution of the query. This will only be present when the request specifies `PROFILE` mode. For example, a query will return the statistics including: { "results_returned": "20", "documents_scanned": "20", "indexes_entries_scanned": "10050", "total_execution_time": "100.7 msecs" }.google.protobuf.Struct query_stats = 2;- Specified by:
getQueryStatsOrBuilderin interfaceResultSetStatsOrBuilder
-
setUnknownFields
public final ResultSetStats.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ResultSetStats.Builder>
-
mergeUnknownFields
public final ResultSetStats.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ResultSetStats.Builder>
-