public static final class ExplainMetrics.Builder extends GeneratedMessage.Builder<ExplainMetrics.Builder> implements ExplainMetricsOrBuilderExplain metrics for the query.
Protobuf type google.datastore.v1.ExplainMetrics
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ExplainMetrics.BuilderImplements
ExplainMetricsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ExplainMetrics build()| Returns | |
|---|---|
| Type | Description |
ExplainMetrics |
|
buildPartial()
public ExplainMetrics buildPartial()| Returns | |
|---|---|
| Type | Description |
ExplainMetrics |
|
clear()
public ExplainMetrics.Builder clear()| Returns | |
|---|---|
| Type | Description |
ExplainMetrics.Builder |
|
clearExecutionStats()
public ExplainMetrics.Builder clearExecutionStats()Aggregated stats from the execution of the query. Only present when ExplainOptions.analyze is set to true.
.google.datastore.v1.ExecutionStats execution_stats = 2;
| Returns | |
|---|---|
| Type | Description |
ExplainMetrics.Builder |
|
clearPlanSummary()
public ExplainMetrics.Builder clearPlanSummary()Planning phase information for the query.
.google.datastore.v1.PlanSummary plan_summary = 1;
| Returns | |
|---|---|
| Type | Description |
ExplainMetrics.Builder |
|
getDefaultInstanceForType()
public ExplainMetrics getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ExplainMetrics |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getExecutionStats()
public ExecutionStats getExecutionStats()Aggregated stats from the execution of the query. Only present when ExplainOptions.analyze is set to true.
.google.datastore.v1.ExecutionStats execution_stats = 2;
| Returns | |
|---|---|
| Type | Description |
ExecutionStats |
The executionStats. |
getExecutionStatsBuilder()
public ExecutionStats.Builder getExecutionStatsBuilder()Aggregated stats from the execution of the query. Only present when ExplainOptions.analyze is set to true.
.google.datastore.v1.ExecutionStats execution_stats = 2;
| Returns | |
|---|---|
| Type | Description |
ExecutionStats.Builder |
|
getExecutionStatsOrBuilder()
public ExecutionStatsOrBuilder getExecutionStatsOrBuilder()Aggregated stats from the execution of the query. Only present when ExplainOptions.analyze is set to true.
.google.datastore.v1.ExecutionStats execution_stats = 2;
| Returns | |
|---|---|
| Type | Description |
ExecutionStatsOrBuilder |
|
getPlanSummary()
public PlanSummary getPlanSummary()Planning phase information for the query.
.google.datastore.v1.PlanSummary plan_summary = 1;
| Returns | |
|---|---|
| Type | Description |
PlanSummary |
The planSummary. |
getPlanSummaryBuilder()
public PlanSummary.Builder getPlanSummaryBuilder()Planning phase information for the query.
.google.datastore.v1.PlanSummary plan_summary = 1;
| Returns | |
|---|---|
| Type | Description |
PlanSummary.Builder |
|
getPlanSummaryOrBuilder()
public PlanSummaryOrBuilder getPlanSummaryOrBuilder()Planning phase information for the query.
.google.datastore.v1.PlanSummary plan_summary = 1;
| Returns | |
|---|---|
| Type | Description |
PlanSummaryOrBuilder |
|
hasExecutionStats()
public boolean hasExecutionStats()Aggregated stats from the execution of the query. Only present when ExplainOptions.analyze is set to true.
.google.datastore.v1.ExecutionStats execution_stats = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the executionStats field is set. |
hasPlanSummary()
public boolean hasPlanSummary()Planning phase information for the query.
.google.datastore.v1.PlanSummary plan_summary = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the planSummary field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeExecutionStats(ExecutionStats value)
public ExplainMetrics.Builder mergeExecutionStats(ExecutionStats value)Aggregated stats from the execution of the query. Only present when ExplainOptions.analyze is set to true.
.google.datastore.v1.ExecutionStats execution_stats = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ExecutionStats |
| Returns | |
|---|---|
| Type | Description |
ExplainMetrics.Builder |
|
mergeFrom(ExplainMetrics other)
public ExplainMetrics.Builder mergeFrom(ExplainMetrics other)| Parameter | |
|---|---|
| Name | Description |
other |
ExplainMetrics |
| Returns | |
|---|---|
| Type | Description |
ExplainMetrics.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ExplainMetrics.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ExplainMetrics.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ExplainMetrics.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ExplainMetrics.Builder |
|
mergePlanSummary(PlanSummary value)
public ExplainMetrics.Builder mergePlanSummary(PlanSummary value)Planning phase information for the query.
.google.datastore.v1.PlanSummary plan_summary = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
PlanSummary |
| Returns | |
|---|---|
| Type | Description |
ExplainMetrics.Builder |
|
setExecutionStats(ExecutionStats value)
public ExplainMetrics.Builder setExecutionStats(ExecutionStats value)Aggregated stats from the execution of the query. Only present when ExplainOptions.analyze is set to true.
.google.datastore.v1.ExecutionStats execution_stats = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ExecutionStats |
| Returns | |
|---|---|
| Type | Description |
ExplainMetrics.Builder |
|
setExecutionStats(ExecutionStats.Builder builderForValue)
public ExplainMetrics.Builder setExecutionStats(ExecutionStats.Builder builderForValue)Aggregated stats from the execution of the query. Only present when ExplainOptions.analyze is set to true.
.google.datastore.v1.ExecutionStats execution_stats = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ExecutionStats.Builder |
| Returns | |
|---|---|
| Type | Description |
ExplainMetrics.Builder |
|
setPlanSummary(PlanSummary value)
public ExplainMetrics.Builder setPlanSummary(PlanSummary value)Planning phase information for the query.
.google.datastore.v1.PlanSummary plan_summary = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
PlanSummary |
| Returns | |
|---|---|
| Type | Description |
ExplainMetrics.Builder |
|
setPlanSummary(PlanSummary.Builder builderForValue)
public ExplainMetrics.Builder setPlanSummary(PlanSummary.Builder builderForValue)Planning phase information for the query.
.google.datastore.v1.PlanSummary plan_summary = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
PlanSummary.Builder |
| Returns | |
|---|---|
| Type | Description |
ExplainMetrics.Builder |
|