public static final class ResultSetStats.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ResultSetStats.Builder> implements ResultSetStatsOrBuilder
Additional statistics about a [ResultSet][google.spanner.v1.ResultSet] or [PartialResultSet][google.spanner.v1.PartialResultSet].Protobuf type
google.spanner.v1.ResultSetStats| Modifier and Type | Method and Description |
|---|---|
ResultSetStats.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
ResultSetStats |
build() |
ResultSetStats |
buildPartial() |
ResultSetStats.Builder |
clear() |
ResultSetStats.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ResultSetStats.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ResultSetStats.Builder |
clearQueryPlan()
[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
|
ResultSetStats.Builder |
clearQueryStats()
Aggregated statistics from the execution of the query.
|
ResultSetStats.Builder |
clone() |
ResultSetStats |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
QueryPlan |
getQueryPlan()
[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
|
QueryPlan.Builder |
getQueryPlanBuilder()
[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
|
QueryPlanOrBuilder |
getQueryPlanOrBuilder()
[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
|
com.google.protobuf.Struct |
getQueryStats()
Aggregated statistics from the execution of the query.
|
com.google.protobuf.Struct.Builder |
getQueryStatsBuilder()
Aggregated statistics from the execution of the query.
|
com.google.protobuf.StructOrBuilder |
getQueryStatsOrBuilder()
Aggregated statistics from the execution of the query.
|
boolean |
hasQueryPlan()
[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
|
boolean |
hasQueryStats()
Aggregated statistics from the execution of the query.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ResultSetStats.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ResultSetStats.Builder |
mergeFrom(com.google.protobuf.Message other) |
ResultSetStats.Builder |
mergeFrom(ResultSetStats other) |
ResultSetStats.Builder |
mergeQueryPlan(QueryPlan value)
[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
|
ResultSetStats.Builder |
mergeQueryStats(com.google.protobuf.Struct value)
Aggregated statistics from the execution of the query.
|
ResultSetStats.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ResultSetStats.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
ResultSetStats.Builder |
setQueryPlan(QueryPlan.Builder builderForValue)
[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
|
ResultSetStats.Builder |
setQueryPlan(QueryPlan value)
[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
|
ResultSetStats.Builder |
setQueryStats(com.google.protobuf.Struct.Builder builderForValue)
Aggregated statistics from the execution of the query.
|
ResultSetStats.Builder |
setQueryStats(com.google.protobuf.Struct value)
Aggregated statistics from the execution of the query.
|
ResultSetStats.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
ResultSetStats.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ResultSetStats.Builder>public ResultSetStats.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ResultSetStats.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ResultSetStats.Builder>public ResultSetStats getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ResultSetStats build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ResultSetStats buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ResultSetStats.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ResultSetStats.Builder>public ResultSetStats.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ResultSetStats.Builder>public ResultSetStats.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ResultSetStats.Builder>public ResultSetStats.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ResultSetStats.Builder>public ResultSetStats.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ResultSetStats.Builder>public ResultSetStats.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ResultSetStats.Builder>public ResultSetStats.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ResultSetStats.Builder>public ResultSetStats.Builder mergeFrom(ResultSetStats other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ResultSetStats.Builder>public ResultSetStats.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ResultSetStats.Builder>java.io.IOExceptionpublic boolean hasQueryPlan()
[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
.google.spanner.v1.QueryPlan query_plan = 1;hasQueryPlan in interface ResultSetStatsOrBuilderpublic QueryPlan getQueryPlan()
[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
.google.spanner.v1.QueryPlan query_plan = 1;getQueryPlan in interface ResultSetStatsOrBuilderpublic ResultSetStats.Builder setQueryPlan(QueryPlan value)
[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
.google.spanner.v1.QueryPlan query_plan = 1;public ResultSetStats.Builder setQueryPlan(QueryPlan.Builder builderForValue)
[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
.google.spanner.v1.QueryPlan query_plan = 1;public ResultSetStats.Builder mergeQueryPlan(QueryPlan value)
[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
.google.spanner.v1.QueryPlan query_plan = 1;public ResultSetStats.Builder clearQueryPlan()
[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
.google.spanner.v1.QueryPlan query_plan = 1;public QueryPlan.Builder getQueryPlanBuilder()
[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
.google.spanner.v1.QueryPlan query_plan = 1;public QueryPlanOrBuilder getQueryPlanOrBuilder()
[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
.google.spanner.v1.QueryPlan query_plan = 1;getQueryPlanOrBuilder in interface ResultSetStatsOrBuilderpublic boolean hasQueryStats()
Aggregated statistics from the execution of the query. Only present when
the query is profiled. For example, a query could return the statistics as
follows:
{
"rows_returned": "3",
"elapsed_time": "1.22 secs",
"cpu_time": "1.19 secs"
}
.google.protobuf.Struct query_stats = 2;hasQueryStats in interface ResultSetStatsOrBuilderpublic com.google.protobuf.Struct getQueryStats()
Aggregated statistics from the execution of the query. Only present when
the query is profiled. For example, a query could return the statistics as
follows:
{
"rows_returned": "3",
"elapsed_time": "1.22 secs",
"cpu_time": "1.19 secs"
}
.google.protobuf.Struct query_stats = 2;getQueryStats in interface ResultSetStatsOrBuilderpublic ResultSetStats.Builder setQueryStats(com.google.protobuf.Struct value)
Aggregated statistics from the execution of the query. Only present when
the query is profiled. For example, a query could return the statistics as
follows:
{
"rows_returned": "3",
"elapsed_time": "1.22 secs",
"cpu_time": "1.19 secs"
}
.google.protobuf.Struct query_stats = 2;public ResultSetStats.Builder setQueryStats(com.google.protobuf.Struct.Builder builderForValue)
Aggregated statistics from the execution of the query. Only present when
the query is profiled. For example, a query could return the statistics as
follows:
{
"rows_returned": "3",
"elapsed_time": "1.22 secs",
"cpu_time": "1.19 secs"
}
.google.protobuf.Struct query_stats = 2;public ResultSetStats.Builder mergeQueryStats(com.google.protobuf.Struct value)
Aggregated statistics from the execution of the query. Only present when
the query is profiled. For example, a query could return the statistics as
follows:
{
"rows_returned": "3",
"elapsed_time": "1.22 secs",
"cpu_time": "1.19 secs"
}
.google.protobuf.Struct query_stats = 2;public ResultSetStats.Builder clearQueryStats()
Aggregated statistics from the execution of the query. Only present when
the query is profiled. For example, a query could return the statistics as
follows:
{
"rows_returned": "3",
"elapsed_time": "1.22 secs",
"cpu_time": "1.19 secs"
}
.google.protobuf.Struct query_stats = 2;public com.google.protobuf.Struct.Builder getQueryStatsBuilder()
Aggregated statistics from the execution of the query. Only present when
the query is profiled. For example, a query could return the statistics as
follows:
{
"rows_returned": "3",
"elapsed_time": "1.22 secs",
"cpu_time": "1.19 secs"
}
.google.protobuf.Struct query_stats = 2;public com.google.protobuf.StructOrBuilder getQueryStatsOrBuilder()
Aggregated statistics from the execution of the query. Only present when
the query is profiled. For example, a query could return the statistics as
follows:
{
"rows_returned": "3",
"elapsed_time": "1.22 secs",
"cpu_time": "1.19 secs"
}
.google.protobuf.Struct query_stats = 2;getQueryStatsOrBuilder in interface ResultSetStatsOrBuilderpublic final ResultSetStats.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ResultSetStats.Builder>public final ResultSetStats.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ResultSetStats.Builder>