// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/spanner/v1/query_plan.proto

package com.google.spanner.v1;

public interface QueryPlanOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.spanner.v1.QueryPlan)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <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>
   */
  java.util.List<com.google.spanner.v1.PlanNode> getPlanNodesList();
  /**
   *
   *
   * <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>
   */
  com.google.spanner.v1.PlanNode getPlanNodes(int index);
  /**
   *
   *
   * <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>
   */
  int getPlanNodesCount();
  /**
   *
   *
   * <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>
   */
  java.util.List<? extends com.google.spanner.v1.PlanNodeOrBuilder> getPlanNodesOrBuilderList();
  /**
   *
   *
   * <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>
   */
  com.google.spanner.v1.PlanNodeOrBuilder getPlanNodesOrBuilder(int index);
}
