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.Descriptor
com.google.protobuf.Descriptors.Descriptor
Plan for the query.Plan for the query.Plan for the query.com.google.protobuf.Struct
Aggregated statistics from the execution of the query.com.google.protobuf.Struct.Builder
Aggregated statistics from the execution of the query.com.google.protobuf.StructOrBuilder
Aggregated statistics from the execution of the query.boolean
Plan for the query.boolean
Aggregated statistics from the execution of the query.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(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.Builder
mergeUnknownFields
(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.Builder
setUnknownFields
(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, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ResultSetStats.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ResultSetStats.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ResultSetStats.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ResultSetStats.Builder>
-
setField
public ResultSetStats.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ResultSetStats.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ResultSetStats.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ResultSetStats.Builder>
-
setRepeatedField
public ResultSetStats.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ResultSetStats.Builder>
-
addRepeatedField
public ResultSetStats.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ResultSetStats.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ResultSetStats.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasQueryPlan
in interfaceResultSetStatsOrBuilder
- Returns:
- Whether the queryPlan field is set.
-
getQueryPlan
Plan for the query.
.google.datastore.v1.QueryPlan query_plan = 1;
- Specified by:
getQueryPlan
in 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:
getQueryPlanOrBuilder
in 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:
hasQueryStats
in 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:
getQueryStats
in 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:
getQueryStatsOrBuilder
in interfaceResultSetStatsOrBuilder
-
setUnknownFields
public final ResultSetStats.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ResultSetStats.Builder>
-
mergeUnknownFields
public final ResultSetStats.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ResultSetStats.Builder>
-