public static final class QueryPlan.Builder extends GeneratedMessageV3.Builder<QueryPlan.Builder> implements QueryPlanOrBuilder
Plan for the query.
Protobuf type google.firestore.v1.QueryPlan
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 QueryPlan.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public QueryPlan buildPartial()
clear()
public QueryPlan.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public QueryPlan.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public QueryPlan.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public QueryPlan.Builder clone()
Overrides
getDefaultInstanceForType()
public QueryPlan getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Type | Description |
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;
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;
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 |
---|
Type | Description |
boolean | Whether the planInfo field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(QueryPlan other)
public QueryPlan.Builder mergeFrom(QueryPlan other)
public QueryPlan.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public QueryPlan.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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 |
---|
Name | Description |
value | Struct
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final QueryPlan.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public QueryPlan.Builder setField(Descriptors.FieldDescriptor field, Object value)
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 |
---|
Name | Description |
value | Struct
|
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 |
---|
Name | Description |
builderForValue | Builder
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public QueryPlan.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final QueryPlan.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides