public static final class ResultSetStats.Builder extends 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(Descriptors.FieldDescriptor field,
Object value) |
ResultSetStats |
build() |
ResultSetStats |
buildPartial() |
ResultSetStats.Builder |
clear() |
ResultSetStats.Builder |
clearField(Descriptors.FieldDescriptor field) |
ResultSetStats.Builder |
clearOneof(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 |
clearRowCount() |
ResultSetStats.Builder |
clearRowCountExact()
Standard DML returns an exact count of rows that were modified.
|
ResultSetStats.Builder |
clearRowCountLowerBound()
Partitioned DML does not offer exactly-once semantics, so it
returns a lower bound of the rows modified.
|
ResultSetStats.Builder |
clone() |
ResultSetStats |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
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.
|
Struct |
getQueryStats()
Aggregated statistics from the execution of the query.
|
Struct.Builder |
getQueryStatsBuilder()
Aggregated statistics from the execution of the query.
|
StructOrBuilder |
getQueryStatsOrBuilder()
Aggregated statistics from the execution of the query.
|
ResultSetStats.RowCountCase |
getRowCountCase() |
long |
getRowCountExact()
Standard DML returns an exact count of rows that were modified.
|
long |
getRowCountLowerBound()
Partitioned DML does not offer exactly-once semantics, so it
returns a lower bound of the rows modified.
|
boolean |
hasQueryPlan()
[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
|
boolean |
hasQueryStats()
Aggregated statistics from the execution of the query.
|
boolean |
hasRowCountExact()
Standard DML returns an exact count of rows that were modified.
|
boolean |
hasRowCountLowerBound()
Partitioned DML does not offer exactly-once semantics, so it
returns a lower bound of the rows modified.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ResultSetStats.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
ResultSetStats.Builder |
mergeFrom(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(Struct value)
Aggregated statistics from the execution of the query.
|
ResultSetStats.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
ResultSetStats.Builder |
setField(Descriptors.FieldDescriptor field,
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(Struct.Builder builderForValue)
Aggregated statistics from the execution of the query.
|
ResultSetStats.Builder |
setQueryStats(Struct value)
Aggregated statistics from the execution of the query.
|
ResultSetStats.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
ResultSetStats.Builder |
setRowCountExact(long value)
Standard DML returns an exact count of rows that were modified.
|
ResultSetStats.Builder |
setRowCountLowerBound(long value)
Partitioned DML does not offer exactly-once semantics, so it
returns a lower bound of the rows modified.
|
ResultSetStats.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ResultSetStats.Builder>
public ResultSetStats.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ResultSetStats.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ResultSetStats.Builder>
public ResultSetStats getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ResultSetStats build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ResultSetStats buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ResultSetStats.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ResultSetStats.Builder>
public ResultSetStats.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ResultSetStats.Builder>
public ResultSetStats.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ResultSetStats.Builder>
public ResultSetStats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ResultSetStats.Builder>
public ResultSetStats.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ResultSetStats.Builder>
public ResultSetStats.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ResultSetStats.Builder>
public ResultSetStats.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ResultSetStats.Builder>
public ResultSetStats.Builder mergeFrom(ResultSetStats other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ResultSetStats.Builder>
public ResultSetStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ResultSetStats.Builder>
IOException
public ResultSetStats.RowCountCase getRowCountCase()
getRowCountCase
in interface ResultSetStatsOrBuilder
public ResultSetStats.Builder clearRowCount()
public boolean hasQueryPlan()
[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
.google.spanner.v1.QueryPlan query_plan = 1;
hasQueryPlan
in interface ResultSetStatsOrBuilder
public QueryPlan getQueryPlan()
[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
.google.spanner.v1.QueryPlan query_plan = 1;
getQueryPlan
in interface ResultSetStatsOrBuilder
public 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 ResultSetStatsOrBuilder
public 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 ResultSetStatsOrBuilder
public 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 ResultSetStatsOrBuilder
public ResultSetStats.Builder setQueryStats(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(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(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 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 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 ResultSetStatsOrBuilder
public boolean hasRowCountExact()
Standard DML returns an exact count of rows that were modified.
int64 row_count_exact = 3;
hasRowCountExact
in interface ResultSetStatsOrBuilder
public long getRowCountExact()
Standard DML returns an exact count of rows that were modified.
int64 row_count_exact = 3;
getRowCountExact
in interface ResultSetStatsOrBuilder
public ResultSetStats.Builder setRowCountExact(long value)
Standard DML returns an exact count of rows that were modified.
int64 row_count_exact = 3;
value
- The rowCountExact to set.public ResultSetStats.Builder clearRowCountExact()
Standard DML returns an exact count of rows that were modified.
int64 row_count_exact = 3;
public boolean hasRowCountLowerBound()
Partitioned DML does not offer exactly-once semantics, so it returns a lower bound of the rows modified.
int64 row_count_lower_bound = 4;
hasRowCountLowerBound
in interface ResultSetStatsOrBuilder
public long getRowCountLowerBound()
Partitioned DML does not offer exactly-once semantics, so it returns a lower bound of the rows modified.
int64 row_count_lower_bound = 4;
getRowCountLowerBound
in interface ResultSetStatsOrBuilder
public ResultSetStats.Builder setRowCountLowerBound(long value)
Partitioned DML does not offer exactly-once semantics, so it returns a lower bound of the rows modified.
int64 row_count_lower_bound = 4;
value
- The rowCountLowerBound to set.public ResultSetStats.Builder clearRowCountLowerBound()
Partitioned DML does not offer exactly-once semantics, so it returns a lower bound of the rows modified.
int64 row_count_lower_bound = 4;
public final ResultSetStats.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ResultSetStats.Builder>
public final ResultSetStats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ResultSetStats.Builder>
Copyright © 2022 Google LLC. All rights reserved.