/** * * * <pre> * 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`. * </pre> * * <code>repeated .google.spanner.v1.PlanNode plan_nodes = 1;</code> */ public Builder addPlanNodes(com.google.spanner.v1.PlanNode.Builder builderForValue) { if (planNodesBuilder_ == null) { ensurePlanNodesIsMutable(); planNodes_.add(builderForValue.build()); onChanged(); } else { planNodesBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * * * <pre> * 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`. * </pre> * * <code>repeated .google.spanner.v1.PlanNode plan_nodes = 1;</code> */ public Builder addPlanNodes(int index, com.google.spanner.v1.PlanNode.Builder builderForValue) { if (planNodesBuilder_ == null) { ensurePlanNodesIsMutable(); planNodes_.add(index, builderForValue.build()); onChanged(); } else { planNodesBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * * * <pre> * 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`. * </pre> * * <code>repeated .google.spanner.v1.PlanNode plan_nodes = 1;</code> */ public Builder setPlanNodes(int index, com.google.spanner.v1.PlanNode.Builder builderForValue) { if (planNodesBuilder_ == null) { ensurePlanNodesIsMutable(); planNodes_.set(index, builderForValue.build()); onChanged(); } else { planNodesBuilder_.setMessage(index, builderForValue.build()); } return this; } /**