Class ExplainStats.Builder (3.35.1)
Version latestkeyboard_arrow_down
public static final class ExplainStats . Builder extends GeneratedMessageV3 . Builder<ExplainStats . Builder > implements ExplainStatsOrBuilder
Pipeline explain stats.
Depending on the explain options in the original request, this can contain
the optimized plan and / or execution stats.
Protobuf type google.firestore.v1.ExplainStats
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExplainStats . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public ExplainStats build ()
buildPartial()
public ExplainStats buildPartial ()
clear()
public ExplainStats . Builder clear ()
Overrides
clearData()
public ExplainStats . Builder clearData ()
The format depends on the output_format options in the request.
Currently there are two supported options: TEXT and JSON.
Both supply a google.protobuf.StringValue.
.google.protobuf.Any data = 1;
clearField(Descriptors.FieldDescriptor field)
public ExplainStats . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ExplainStats . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public ExplainStats . Builder clone ()
Overrides
getData()
The format depends on the output_format options in the request.
Currently there are two supported options: TEXT and JSON.
Both supply a google.protobuf.StringValue.
.google.protobuf.Any data = 1;
Returns
Type
Description
Any
The data.
getDataBuilder()
public Any . Builder getDataBuilder ()
The format depends on the output_format options in the request.
Currently there are two supported options: TEXT and JSON.
Both supply a google.protobuf.StringValue.
.google.protobuf.Any data = 1;
getDataOrBuilder()
public AnyOrBuilder getDataOrBuilder ()
The format depends on the output_format options in the request.
Currently there are two supported options: TEXT and JSON.
Both supply a google.protobuf.StringValue.
.google.protobuf.Any data = 1;
getDefaultInstanceForType()
public ExplainStats getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
hasData()
The format depends on the output_format options in the request.
Currently there are two supported options: TEXT and JSON.
Both supply a google.protobuf.StringValue.
.google.protobuf.Any data = 1;
Returns
Type
Description
boolean
Whether the data field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeData(Any value)
public ExplainStats . Builder mergeData ( Any value )
The format depends on the output_format options in the request.
Currently there are two supported options: TEXT and JSON.
Both supply a google.protobuf.StringValue.
.google.protobuf.Any data = 1;
Parameter
Name
Description
value
Any
mergeFrom(ExplainStats other)
public ExplainStats . Builder mergeFrom ( ExplainStats other )
public ExplainStats . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public ExplainStats . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExplainStats . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setData(Any value)
public ExplainStats . Builder setData ( Any value )
The format depends on the output_format options in the request.
Currently there are two supported options: TEXT and JSON.
Both supply a google.protobuf.StringValue.
.google.protobuf.Any data = 1;
Parameter
Name
Description
value
Any
setData(Any.Builder builderForValue)
public ExplainStats . Builder setData ( Any . Builder builderForValue )
The format depends on the output_format options in the request.
Currently there are two supported options: TEXT and JSON.
Both supply a google.protobuf.StringValue.
.google.protobuf.Any data = 1;
Parameter
Name
Description
builderForValue
Builder
setField(Descriptors.FieldDescriptor field, Object value)
public ExplainStats . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExplainStats . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ExplainStats . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-01-23 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-01-23 UTC."],[],[]]