Class QueryPlan.Builder (3.16.1)

public static final class QueryPlan.Builder extends GeneratedMessageV3.Builder<QueryPlan.Builder> implements QueryPlanOrBuilder

Plan for the query.

Protobuf type google.firestore.v1.QueryPlan

Implements

QueryPlanOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public QueryPlan build()
Returns
TypeDescription
QueryPlan

buildPartial()

public QueryPlan buildPartial()
Returns
TypeDescription
QueryPlan

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPlanInfo()

public QueryPlan.Builder clearPlanInfo()

Planning phase information for the query. It will include:

{ "indexes_used": [ {"query_scope": "Collection", "properties": "(foo ASC, name ASC)"}, {"query_scope": "Collection", "properties": "(bar ASC, name ASC)"} ] }

.google.protobuf.Struct plan_info = 1;

Returns
TypeDescription
QueryPlan.Builder

clone()

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

getDefaultInstanceForType()

public QueryPlan getDefaultInstanceForType()
Returns
TypeDescription
QueryPlan

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPlanInfo()

public Struct getPlanInfo()

Planning phase information for the query. It will include:

{ "indexes_used": [ {"query_scope": "Collection", "properties": "(foo ASC, name ASC)"}, {"query_scope": "Collection", "properties": "(bar ASC, name ASC)"} ] }

.google.protobuf.Struct plan_info = 1;

Returns
TypeDescription
Struct

The planInfo.

getPlanInfoBuilder()

public Struct.Builder getPlanInfoBuilder()

Planning phase information for the query. It will include:

{ "indexes_used": [ {"query_scope": "Collection", "properties": "(foo ASC, name ASC)"}, {"query_scope": "Collection", "properties": "(bar ASC, name ASC)"} ] }

.google.protobuf.Struct plan_info = 1;

Returns
TypeDescription
Builder

getPlanInfoOrBuilder()

public StructOrBuilder getPlanInfoOrBuilder()

Planning phase information for the query. It will include:

{ "indexes_used": [ {"query_scope": "Collection", "properties": "(foo ASC, name ASC)"}, {"query_scope": "Collection", "properties": "(bar ASC, name ASC)"} ] }

.google.protobuf.Struct plan_info = 1;

Returns
TypeDescription
StructOrBuilder

hasPlanInfo()

public boolean hasPlanInfo()

Planning phase information for the query. It will include:

{ "indexes_used": [ {"query_scope": "Collection", "properties": "(foo ASC, name ASC)"}, {"query_scope": "Collection", "properties": "(bar ASC, name ASC)"} ] }

.google.protobuf.Struct plan_info = 1;

Returns
TypeDescription
boolean

Whether the planInfo field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(QueryPlan other)

public QueryPlan.Builder mergeFrom(QueryPlan other)
Parameter
NameDescription
otherQueryPlan
Returns
TypeDescription
QueryPlan.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePlanInfo(Struct value)

public QueryPlan.Builder mergePlanInfo(Struct value)

Planning phase information for the query. It will include:

{ "indexes_used": [ {"query_scope": "Collection", "properties": "(foo ASC, name ASC)"}, {"query_scope": "Collection", "properties": "(bar ASC, name ASC)"} ] }

.google.protobuf.Struct plan_info = 1;

Parameter
NameDescription
valueStruct
Returns
TypeDescription
QueryPlan.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPlanInfo(Struct value)

public QueryPlan.Builder setPlanInfo(Struct value)

Planning phase information for the query. It will include:

{ "indexes_used": [ {"query_scope": "Collection", "properties": "(foo ASC, name ASC)"}, {"query_scope": "Collection", "properties": "(bar ASC, name ASC)"} ] }

.google.protobuf.Struct plan_info = 1;

Parameter
NameDescription
valueStruct
Returns
TypeDescription
QueryPlan.Builder

setPlanInfo(Struct.Builder builderForValue)

public QueryPlan.Builder setPlanInfo(Struct.Builder builderForValue)

Planning phase information for the query. It will include:

{ "indexes_used": [ {"query_scope": "Collection", "properties": "(foo ASC, name ASC)"}, {"query_scope": "Collection", "properties": "(bar ASC, name ASC)"} ] }

.google.protobuf.Struct plan_info = 1;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
QueryPlan.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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