Class PlanSummary.Builder (3.20.0)

public static final class PlanSummary.Builder extends GeneratedMessageV3.Builder<PlanSummary.Builder> implements PlanSummaryOrBuilder

Planning phase information for the query.

Protobuf type google.firestore.v1.PlanSummary

Static Methods

getDescriptor()

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

Methods

addAllIndexesUsed(Iterable<? extends Struct> values)

public PlanSummary.Builder addAllIndexesUsed(Iterable<? extends Struct> values)

The indexes selected for the query. For example: [ {"query_scope": "Collection", "properties": "(foo ASC, name ASC)"}, {"query_scope": "Collection", "properties": "(bar ASC, name ASC)"} ]

repeated .google.protobuf.Struct indexes_used = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.protobuf.Struct>
Returns
TypeDescription
PlanSummary.Builder

addIndexesUsed(Struct value)

public PlanSummary.Builder addIndexesUsed(Struct value)

The indexes selected for the query. For example: [ {"query_scope": "Collection", "properties": "(foo ASC, name ASC)"}, {"query_scope": "Collection", "properties": "(bar ASC, name ASC)"} ]

repeated .google.protobuf.Struct indexes_used = 1;

Parameter
NameDescription
valueStruct
Returns
TypeDescription
PlanSummary.Builder

addIndexesUsed(Struct.Builder builderForValue)

public PlanSummary.Builder addIndexesUsed(Struct.Builder builderForValue)

The indexes selected for the query. For example: [ {"query_scope": "Collection", "properties": "(foo ASC, name ASC)"}, {"query_scope": "Collection", "properties": "(bar ASC, name ASC)"} ]

repeated .google.protobuf.Struct indexes_used = 1;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
PlanSummary.Builder

addIndexesUsed(int index, Struct value)

public PlanSummary.Builder addIndexesUsed(int index, Struct value)

The indexes selected for the query. For example: [ {"query_scope": "Collection", "properties": "(foo ASC, name ASC)"}, {"query_scope": "Collection", "properties": "(bar ASC, name ASC)"} ]

repeated .google.protobuf.Struct indexes_used = 1;

Parameters
NameDescription
indexint
valueStruct
Returns
TypeDescription
PlanSummary.Builder

addIndexesUsed(int index, Struct.Builder builderForValue)

public PlanSummary.Builder addIndexesUsed(int index, Struct.Builder builderForValue)

The indexes selected for the query. For example: [ {"query_scope": "Collection", "properties": "(foo ASC, name ASC)"}, {"query_scope": "Collection", "properties": "(bar ASC, name ASC)"} ]

repeated .google.protobuf.Struct indexes_used = 1;

Parameters
NameDescription
indexint
builderForValueBuilder
Returns
TypeDescription
PlanSummary.Builder

addIndexesUsedBuilder()

public Struct.Builder addIndexesUsedBuilder()

The indexes selected for the query. For example: [ {"query_scope": "Collection", "properties": "(foo ASC, name ASC)"}, {"query_scope": "Collection", "properties": "(bar ASC, name ASC)"} ]

repeated .google.protobuf.Struct indexes_used = 1;

Returns
TypeDescription
Builder

addIndexesUsedBuilder(int index)

public Struct.Builder addIndexesUsedBuilder(int index)

The indexes selected for the query. For example: [ {"query_scope": "Collection", "properties": "(foo ASC, name ASC)"}, {"query_scope": "Collection", "properties": "(bar ASC, name ASC)"} ]

repeated .google.protobuf.Struct indexes_used = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PlanSummary build()
Returns
TypeDescription
PlanSummary

buildPartial()

public PlanSummary buildPartial()
Returns
TypeDescription
PlanSummary

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearIndexesUsed()

public PlanSummary.Builder clearIndexesUsed()

The indexes selected for the query. For example: [ {"query_scope": "Collection", "properties": "(foo ASC, name ASC)"}, {"query_scope": "Collection", "properties": "(bar ASC, name ASC)"} ]

repeated .google.protobuf.Struct indexes_used = 1;

Returns
TypeDescription
PlanSummary.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public PlanSummary getDefaultInstanceForType()
Returns
TypeDescription
PlanSummary

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getIndexesUsed(int index)

public Struct getIndexesUsed(int index)

The indexes selected for the query. For example: [ {"query_scope": "Collection", "properties": "(foo ASC, name ASC)"}, {"query_scope": "Collection", "properties": "(bar ASC, name ASC)"} ]

repeated .google.protobuf.Struct indexes_used = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Struct

getIndexesUsedBuilder(int index)

public Struct.Builder getIndexesUsedBuilder(int index)

The indexes selected for the query. For example: [ {"query_scope": "Collection", "properties": "(foo ASC, name ASC)"}, {"query_scope": "Collection", "properties": "(bar ASC, name ASC)"} ]

repeated .google.protobuf.Struct indexes_used = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Builder

getIndexesUsedBuilderList()

public List<Struct.Builder> getIndexesUsedBuilderList()

The indexes selected for the query. For example: [ {"query_scope": "Collection", "properties": "(foo ASC, name ASC)"}, {"query_scope": "Collection", "properties": "(bar ASC, name ASC)"} ]

repeated .google.protobuf.Struct indexes_used = 1;

Returns
TypeDescription
List<Builder>

getIndexesUsedCount()

public int getIndexesUsedCount()

The indexes selected for the query. For example: [ {"query_scope": "Collection", "properties": "(foo ASC, name ASC)"}, {"query_scope": "Collection", "properties": "(bar ASC, name ASC)"} ]

repeated .google.protobuf.Struct indexes_used = 1;

Returns
TypeDescription
int

getIndexesUsedList()

public List<Struct> getIndexesUsedList()

The indexes selected for the query. For example: [ {"query_scope": "Collection", "properties": "(foo ASC, name ASC)"}, {"query_scope": "Collection", "properties": "(bar ASC, name ASC)"} ]

repeated .google.protobuf.Struct indexes_used = 1;

Returns
TypeDescription
List<Struct>

getIndexesUsedOrBuilder(int index)

public StructOrBuilder getIndexesUsedOrBuilder(int index)

The indexes selected for the query. For example: [ {"query_scope": "Collection", "properties": "(foo ASC, name ASC)"}, {"query_scope": "Collection", "properties": "(bar ASC, name ASC)"} ]

repeated .google.protobuf.Struct indexes_used = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
StructOrBuilder

getIndexesUsedOrBuilderList()

public List<? extends StructOrBuilder> getIndexesUsedOrBuilderList()

The indexes selected for the query. For example: [ {"query_scope": "Collection", "properties": "(foo ASC, name ASC)"}, {"query_scope": "Collection", "properties": "(bar ASC, name ASC)"} ]

repeated .google.protobuf.Struct indexes_used = 1;

Returns
TypeDescription
List<? extends com.google.protobuf.StructOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PlanSummary other)

public PlanSummary.Builder mergeFrom(PlanSummary other)
Parameter
NameDescription
otherPlanSummary
Returns
TypeDescription
PlanSummary.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeIndexesUsed(int index)

public PlanSummary.Builder removeIndexesUsed(int index)

The indexes selected for the query. For example: [ {"query_scope": "Collection", "properties": "(foo ASC, name ASC)"}, {"query_scope": "Collection", "properties": "(bar ASC, name ASC)"} ]

repeated .google.protobuf.Struct indexes_used = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
PlanSummary.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setIndexesUsed(int index, Struct value)

public PlanSummary.Builder setIndexesUsed(int index, Struct value)

The indexes selected for the query. For example: [ {"query_scope": "Collection", "properties": "(foo ASC, name ASC)"}, {"query_scope": "Collection", "properties": "(bar ASC, name ASC)"} ]

repeated .google.protobuf.Struct indexes_used = 1;

Parameters
NameDescription
indexint
valueStruct
Returns
TypeDescription
PlanSummary.Builder

setIndexesUsed(int index, Struct.Builder builderForValue)

public PlanSummary.Builder setIndexesUsed(int index, Struct.Builder builderForValue)

The indexes selected for the query. For example: [ {"query_scope": "Collection", "properties": "(foo ASC, name ASC)"}, {"query_scope": "Collection", "properties": "(bar ASC, name ASC)"} ]

repeated .google.protobuf.Struct indexes_used = 1;

Parameters
NameDescription
indexint
builderForValueBuilder
Returns
TypeDescription
PlanSummary.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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