Class ExplainMetrics.Builder (2.19.0)

public static final class ExplainMetrics.Builder extends GeneratedMessageV3.Builder<ExplainMetrics.Builder> implements ExplainMetricsOrBuilder

Explain metrics for the query.

Protobuf type google.datastore.v1.ExplainMetrics

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExplainMetrics.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ExplainMetrics.Builder
Overrides

build()

public ExplainMetrics build()
Returns
TypeDescription
ExplainMetrics

buildPartial()

public ExplainMetrics buildPartial()
Returns
TypeDescription
ExplainMetrics

clear()

public ExplainMetrics.Builder clear()
Returns
TypeDescription
ExplainMetrics.Builder
Overrides

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
TypeDescription
ExplainMetrics.Builder

clearField(Descriptors.FieldDescriptor field)

public ExplainMetrics.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ExplainMetrics.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ExplainMetrics.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ExplainMetrics.Builder
Overrides

clearPlanSummary()

public ExplainMetrics.Builder clearPlanSummary()

Planning phase information for the query.

.google.datastore.v1.PlanSummary plan_summary = 1;

Returns
TypeDescription
ExplainMetrics.Builder

clone()

public ExplainMetrics.Builder clone()
Returns
TypeDescription
ExplainMetrics.Builder
Overrides

getDefaultInstanceForType()

public ExplainMetrics getDefaultInstanceForType()
Returns
TypeDescription
ExplainMetrics

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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
TypeDescription
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
TypeDescription
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
TypeDescription
ExecutionStatsOrBuilder

getPlanSummary()

public PlanSummary getPlanSummary()

Planning phase information for the query.

.google.datastore.v1.PlanSummary plan_summary = 1;

Returns
TypeDescription
PlanSummary

The planSummary.

getPlanSummaryBuilder()

public PlanSummary.Builder getPlanSummaryBuilder()

Planning phase information for the query.

.google.datastore.v1.PlanSummary plan_summary = 1;

Returns
TypeDescription
PlanSummary.Builder

getPlanSummaryOrBuilder()

public PlanSummaryOrBuilder getPlanSummaryOrBuilder()

Planning phase information for the query.

.google.datastore.v1.PlanSummary plan_summary = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the planSummary field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

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
NameDescription
valueExecutionStats
Returns
TypeDescription
ExplainMetrics.Builder

mergeFrom(ExplainMetrics other)

public ExplainMetrics.Builder mergeFrom(ExplainMetrics other)
Parameter
NameDescription
otherExplainMetrics
Returns
TypeDescription
ExplainMetrics.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExplainMetrics.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExplainMetrics.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ExplainMetrics.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ExplainMetrics.Builder
Overrides

mergePlanSummary(PlanSummary value)

public ExplainMetrics.Builder mergePlanSummary(PlanSummary value)

Planning phase information for the query.

.google.datastore.v1.PlanSummary plan_summary = 1;

Parameter
NameDescription
valuePlanSummary
Returns
TypeDescription
ExplainMetrics.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExplainMetrics.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ExplainMetrics.Builder
Overrides

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
NameDescription
valueExecutionStats
Returns
TypeDescription
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
NameDescription
builderForValueExecutionStats.Builder
Returns
TypeDescription
ExplainMetrics.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ExplainMetrics.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ExplainMetrics.Builder
Overrides

setPlanSummary(PlanSummary value)

public ExplainMetrics.Builder setPlanSummary(PlanSummary value)

Planning phase information for the query.

.google.datastore.v1.PlanSummary plan_summary = 1;

Parameter
NameDescription
valuePlanSummary
Returns
TypeDescription
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
NameDescription
builderForValuePlanSummary.Builder
Returns
TypeDescription
ExplainMetrics.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ExplainMetrics.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ExplainMetrics.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ExplainMetrics.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ExplainMetrics.Builder
Overrides