public static final class QueryPlan.Builder extends GeneratedMessageV3.Builder<QueryPlan.Builder> implements QueryPlanOrBuilder
Contains an ordered list of nodes appearing in the query plan.Protobuf type
google.spanner.v1.QueryPlan
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<QueryPlan.Builder>
public QueryPlan.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<QueryPlan.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<QueryPlan.Builder>
public QueryPlan getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public QueryPlan build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public QueryPlan buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public QueryPlan.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<QueryPlan.Builder>
public QueryPlan.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<QueryPlan.Builder>
public QueryPlan.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<QueryPlan.Builder>
public QueryPlan.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<QueryPlan.Builder>
public QueryPlan.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<QueryPlan.Builder>
public QueryPlan.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<QueryPlan.Builder>
public QueryPlan.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<QueryPlan.Builder>
public QueryPlan.Builder mergeFrom(QueryPlan other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<QueryPlan.Builder>
public QueryPlan.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<QueryPlan.Builder>
IOException
public List<PlanNode> getPlanNodesList()
The nodes in the query plan. Plan nodes are returned in pre-order starting with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in `plan_nodes`.
repeated .google.spanner.v1.PlanNode plan_nodes = 1;
getPlanNodesList
in interface QueryPlanOrBuilder
public int getPlanNodesCount()
The nodes in the query plan. Plan nodes are returned in pre-order starting with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in `plan_nodes`.
repeated .google.spanner.v1.PlanNode plan_nodes = 1;
getPlanNodesCount
in interface QueryPlanOrBuilder
public PlanNode getPlanNodes(int index)
The nodes in the query plan. Plan nodes are returned in pre-order starting with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in `plan_nodes`.
repeated .google.spanner.v1.PlanNode plan_nodes = 1;
getPlanNodes
in interface QueryPlanOrBuilder
public QueryPlan.Builder setPlanNodes(int index, PlanNode value)
The nodes in the query plan. Plan nodes are returned in pre-order starting with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in `plan_nodes`.
repeated .google.spanner.v1.PlanNode plan_nodes = 1;
public QueryPlan.Builder setPlanNodes(int index, PlanNode.Builder builderForValue)
The nodes in the query plan. Plan nodes are returned in pre-order starting with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in `plan_nodes`.
repeated .google.spanner.v1.PlanNode plan_nodes = 1;
public QueryPlan.Builder addPlanNodes(PlanNode value)
The nodes in the query plan. Plan nodes are returned in pre-order starting with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in `plan_nodes`.
repeated .google.spanner.v1.PlanNode plan_nodes = 1;
public QueryPlan.Builder addPlanNodes(int index, PlanNode value)
The nodes in the query plan. Plan nodes are returned in pre-order starting with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in `plan_nodes`.
repeated .google.spanner.v1.PlanNode plan_nodes = 1;
public QueryPlan.Builder addPlanNodes(PlanNode.Builder builderForValue)
The nodes in the query plan. Plan nodes are returned in pre-order starting with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in `plan_nodes`.
repeated .google.spanner.v1.PlanNode plan_nodes = 1;
public QueryPlan.Builder addPlanNodes(int index, PlanNode.Builder builderForValue)
The nodes in the query plan. Plan nodes are returned in pre-order starting with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in `plan_nodes`.
repeated .google.spanner.v1.PlanNode plan_nodes = 1;
public QueryPlan.Builder addAllPlanNodes(Iterable<? extends PlanNode> values)
The nodes in the query plan. Plan nodes are returned in pre-order starting with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in `plan_nodes`.
repeated .google.spanner.v1.PlanNode plan_nodes = 1;
public QueryPlan.Builder clearPlanNodes()
The nodes in the query plan. Plan nodes are returned in pre-order starting with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in `plan_nodes`.
repeated .google.spanner.v1.PlanNode plan_nodes = 1;
public QueryPlan.Builder removePlanNodes(int index)
The nodes in the query plan. Plan nodes are returned in pre-order starting with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in `plan_nodes`.
repeated .google.spanner.v1.PlanNode plan_nodes = 1;
public PlanNode.Builder getPlanNodesBuilder(int index)
The nodes in the query plan. Plan nodes are returned in pre-order starting with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in `plan_nodes`.
repeated .google.spanner.v1.PlanNode plan_nodes = 1;
public PlanNodeOrBuilder getPlanNodesOrBuilder(int index)
The nodes in the query plan. Plan nodes are returned in pre-order starting with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in `plan_nodes`.
repeated .google.spanner.v1.PlanNode plan_nodes = 1;
getPlanNodesOrBuilder
in interface QueryPlanOrBuilder
public List<? extends PlanNodeOrBuilder> getPlanNodesOrBuilderList()
The nodes in the query plan. Plan nodes are returned in pre-order starting with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in `plan_nodes`.
repeated .google.spanner.v1.PlanNode plan_nodes = 1;
getPlanNodesOrBuilderList
in interface QueryPlanOrBuilder
public PlanNode.Builder addPlanNodesBuilder()
The nodes in the query plan. Plan nodes are returned in pre-order starting with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in `plan_nodes`.
repeated .google.spanner.v1.PlanNode plan_nodes = 1;
public PlanNode.Builder addPlanNodesBuilder(int index)
The nodes in the query plan. Plan nodes are returned in pre-order starting with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in `plan_nodes`.
repeated .google.spanner.v1.PlanNode plan_nodes = 1;
public List<PlanNode.Builder> getPlanNodesBuilderList()
The nodes in the query plan. Plan nodes are returned in pre-order starting with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in `plan_nodes`.
repeated .google.spanner.v1.PlanNode plan_nodes = 1;
public final QueryPlan.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<QueryPlan.Builder>
public final QueryPlan.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<QueryPlan.Builder>
Copyright © 2022 Google LLC. All rights reserved.