Debian Codegraph @

spanner/apiv1/spannerpb/query_plan.pb.go

raw
1 // Copyright 2025 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.35.2
18 // protoc v4.25.7
19 // source: google/spanner/v1/query_plan.proto
20
21 package spannerpb
22
23 import (
24 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
25 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
26 structpb "google.golang.org/protobuf/types/known/structpb"
27 reflect "reflect"
28 sync "sync"
29 )
30
31 const (
32 // Verify that this generated code is sufficiently up-to-date.
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34 // Verify that runtime/protoimpl is sufficiently up-to-date.
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38 // The kind of [PlanNode][google.spanner.v1.PlanNode]. Distinguishes between
39 // the two different kinds of nodes that can appear in a query plan.
40 type PlanNode_Kind int32
41
42 const (
43 // Not specified.
44 PlanNode_KIND_UNSPECIFIED PlanNode_Kind = 0
45 // Denotes a Relational operator node in the expression tree. Relational
46 // operators represent iterative processing of rows during query execution.
47 // For example, a `TableScan` operation that reads rows from a table.
48 PlanNode_RELATIONAL PlanNode_Kind = 1
49 // Denotes a Scalar node in the expression tree. Scalar nodes represent
50 // non-iterable entities in the query plan. For example, constants or
51 // arithmetic operators appearing inside predicate expressions or references
52 // to column names.
53 PlanNode_SCALAR PlanNode_Kind = 2
54 )
55
56 // Enum value maps for PlanNode_Kind.
57 var (
58 PlanNode_Kind_name = map[int32]string{
59 0: "KIND_UNSPECIFIED",
60 1: "RELATIONAL",
61 2: "SCALAR",
62 }
63 PlanNode_Kind_value = map[string]int32{
64 "KIND_UNSPECIFIED": 0,
65 "RELATIONAL": 1,
66 "SCALAR": 2,
67 }
68 )
69
70 func (x PlanNode_Kind) Enum() *PlanNode_Kind {
71 p := new(PlanNode_Kind)
72 *p = x
73 return p
74 }
75
76 func (x PlanNode_Kind) String() string {
77 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
78 }
79
80 func (PlanNode_Kind) Descriptor() protoreflect.EnumDescriptor {
81 return file_google_spanner_v1_query_plan_proto_enumTypes[0].Descriptor()
82 }
83
84 func (PlanNode_Kind) Type() protoreflect.EnumType {
85 return &file_google_spanner_v1_query_plan_proto_enumTypes[0]
86 }
87
88 func (x PlanNode_Kind) Number() protoreflect.EnumNumber {
89 return protoreflect.EnumNumber(x)
90 }
91
92 // Deprecated: Use PlanNode_Kind.Descriptor instead.
93 func (PlanNode_Kind) EnumDescriptor() ([]byte, []int) {
94 return file_google_spanner_v1_query_plan_proto_rawDescGZIP(), []int{0, 0}
95 }
96
97 // Node information for nodes appearing in a
98 // [QueryPlan.plan_nodes][google.spanner.v1.QueryPlan.plan_nodes].
99 type PlanNode struct {
100 state protoimpl.MessageState
101 sizeCache protoimpl.SizeCache
102 unknownFields protoimpl.UnknownFields
103
104 // The `PlanNode`'s index in [node
105 // list][google.spanner.v1.QueryPlan.plan_nodes].
106 Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
107 // Used to determine the type of node. May be needed for visualizing
108 // different kinds of nodes differently. For example, If the node is a
109 // [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] node, it will have a
110 // condensed representation which can be used to directly embed a description
111 // of the node in its parent.
112 Kind PlanNode_Kind `protobuf:"varint,2,opt,name=kind,proto3,enum=google.spanner.v1.PlanNode_Kind" json:"kind,omitempty"`
113 // The display name for the node.
114 DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
115 // List of child node `index`es and their relationship to this parent.
116 ChildLinks []*PlanNode_ChildLink `protobuf:"bytes,4,rep,name=child_links,json=childLinks,proto3" json:"child_links,omitempty"`
117 // Condensed representation for
118 // [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
119 ShortRepresentation *PlanNode_ShortRepresentation `protobuf:"bytes,5,opt,name=short_representation,json=shortRepresentation,proto3" json:"short_representation,omitempty"`
120 // Attributes relevant to the node contained in a group of key-value pairs.
121 // For example, a Parameter Reference node could have the following
122 // information in its metadata:
123 //
124 // {
125 // "parameter_reference": "param1",
126 // "parameter_type": "array"
127 // }
128 Metadata *structpb.Struct `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"`
129 // The execution statistics associated with the node, contained in a group of
130 // key-value pairs. Only present if the plan was returned as a result of a
131 // profile query. For example, number of executions, number of rows/time per
132 // execution etc.
133 ExecutionStats *structpb.Struct `protobuf:"bytes,7,opt,name=execution_stats,json=executionStats,proto3" json:"execution_stats,omitempty"`
134 }
135
136 func (x *PlanNode) Reset() {
137 *x = PlanNode{}
138 mi := &file_google_spanner_v1_query_plan_proto_msgTypes[0]
139 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
140 ms.StoreMessageInfo(mi)
141 }
142
143 func (x *PlanNode) String() string {
144 return protoimpl.X.MessageStringOf(x)
145 }
146
147 func (*PlanNode) ProtoMessage() {}
148
149 func (x *PlanNode) ProtoReflect() protoreflect.Message {
150 mi := &file_google_spanner_v1_query_plan_proto_msgTypes[0]
151 if x != nil {
152 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
153 if ms.LoadMessageInfo() == nil {
154 ms.StoreMessageInfo(mi)
155 }
156 return ms
157 }
158 return mi.MessageOf(x)
159 }
160
161 // Deprecated: Use PlanNode.ProtoReflect.Descriptor instead.
162 func (*PlanNode) Descriptor() ([]byte, []int) {
163 return file_google_spanner_v1_query_plan_proto_rawDescGZIP(), []int{0}
164 }
165
166 func (x *PlanNode) GetIndex() int32 {
167 if x != nil {
168 return x.Index
169 }
170 return 0
171 }
172
173 func (x *PlanNode) GetKind() PlanNode_Kind {
174 if x != nil {
175 return x.Kind
176 }
177 return PlanNode_KIND_UNSPECIFIED
178 }
179
180 func (x *PlanNode) GetDisplayName() string {
181 if x != nil {
182 return x.DisplayName
183 }
184 return ""
185 }
186
187 func (x *PlanNode) GetChildLinks() []*PlanNode_ChildLink {
188 if x != nil {
189 return x.ChildLinks
190 }
191 return nil
192 }
193
194 func (x *PlanNode) GetShortRepresentation() *PlanNode_ShortRepresentation {
195 if x != nil {
196 return x.ShortRepresentation
197 }
198 return nil
199 }
200
201 func (x *PlanNode) GetMetadata() *structpb.Struct {
202 if x != nil {
203 return x.Metadata
204 }
205 return nil
206 }
207
208 func (x *PlanNode) GetExecutionStats() *structpb.Struct {
209 if x != nil {
210 return x.ExecutionStats
211 }
212 return nil
213 }
214
215 // Contains an ordered list of nodes appearing in the query plan.
216 type QueryPlan struct {
217 state protoimpl.MessageState
218 sizeCache protoimpl.SizeCache
219 unknownFields protoimpl.UnknownFields
220
221 // The nodes in the query plan. Plan nodes are returned in pre-order starting
222 // with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id`
223 // corresponds to its index in `plan_nodes`.
224 PlanNodes []*PlanNode `protobuf:"bytes,1,rep,name=plan_nodes,json=planNodes,proto3" json:"plan_nodes,omitempty"`
225 }
226
227 func (x *QueryPlan) Reset() {
228 *x = QueryPlan{}
229 mi := &file_google_spanner_v1_query_plan_proto_msgTypes[1]
230 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
231 ms.StoreMessageInfo(mi)
232 }
233
234 func (x *QueryPlan) String() string {
235 return protoimpl.X.MessageStringOf(x)
236 }
237
238 func (*QueryPlan) ProtoMessage() {}
239
240 func (x *QueryPlan) ProtoReflect() protoreflect.Message {
241 mi := &file_google_spanner_v1_query_plan_proto_msgTypes[1]
242 if x != nil {
243 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
244 if ms.LoadMessageInfo() == nil {
245 ms.StoreMessageInfo(mi)
246 }
247 return ms
248 }
249 return mi.MessageOf(x)
250 }
251
252 // Deprecated: Use QueryPlan.ProtoReflect.Descriptor instead.
253 func (*QueryPlan) Descriptor() ([]byte, []int) {
254 return file_google_spanner_v1_query_plan_proto_rawDescGZIP(), []int{1}
255 }
256
257 func (x *QueryPlan) GetPlanNodes() []*PlanNode {
258 if x != nil {
259 return x.PlanNodes
260 }
261 return nil
262 }
263
264 // Metadata associated with a parent-child relationship appearing in a
265 // [PlanNode][google.spanner.v1.PlanNode].
266 type PlanNode_ChildLink struct {
267 state protoimpl.MessageState
268 sizeCache protoimpl.SizeCache
269 unknownFields protoimpl.UnknownFields
270
271 // The node to which the link points.
272 ChildIndex int32 `protobuf:"varint,1,opt,name=child_index,json=childIndex,proto3" json:"child_index,omitempty"`
273 // The type of the link. For example, in Hash Joins this could be used to
274 // distinguish between the build child and the probe child, or in the case
275 // of the child being an output variable, to represent the tag associated
276 // with the output variable.
277 Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
278 // Only present if the child node is
279 // [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] and corresponds to an
280 // output variable of the parent node. The field carries the name of the
281 // output variable. For example, a `TableScan` operator that reads rows from
282 // a table will have child links to the `SCALAR` nodes representing the
283 // output variables created for each column that is read by the operator.
284 // The corresponding `variable` fields will be set to the variable names
285 // assigned to the columns.
286 Variable string `protobuf:"bytes,3,opt,name=variable,proto3" json:"variable,omitempty"`
287 }
288
289 func (x *PlanNode_ChildLink) Reset() {
290 *x = PlanNode_ChildLink{}
291 mi := &file_google_spanner_v1_query_plan_proto_msgTypes[2]
292 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
293 ms.StoreMessageInfo(mi)
294 }
295
296 func (x *PlanNode_ChildLink) String() string {
297 return protoimpl.X.MessageStringOf(x)
298 }
299
300 func (*PlanNode_ChildLink) ProtoMessage() {}
301
302 func (x *PlanNode_ChildLink) ProtoReflect() protoreflect.Message {
303 mi := &file_google_spanner_v1_query_plan_proto_msgTypes[2]
304 if x != nil {
305 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
306 if ms.LoadMessageInfo() == nil {
307 ms.StoreMessageInfo(mi)
308 }
309 return ms
310 }
311 return mi.MessageOf(x)
312 }
313
314 // Deprecated: Use PlanNode_ChildLink.ProtoReflect.Descriptor instead.
315 func (*PlanNode_ChildLink) Descriptor() ([]byte, []int) {
316 return file_google_spanner_v1_query_plan_proto_rawDescGZIP(), []int{0, 0}
317 }
318
319 func (x *PlanNode_ChildLink) GetChildIndex() int32 {
320 if x != nil {
321 return x.ChildIndex
322 }
323 return 0
324 }
325
326 func (x *PlanNode_ChildLink) GetType() string {
327 if x != nil {
328 return x.Type
329 }
330 return ""
331 }
332
333 func (x *PlanNode_ChildLink) GetVariable() string {
334 if x != nil {
335 return x.Variable
336 }
337 return ""
338 }
339
340 // Condensed representation of a node and its subtree. Only present for
341 // `SCALAR` [PlanNode(s)][google.spanner.v1.PlanNode].
342 type PlanNode_ShortRepresentation struct {
343 state protoimpl.MessageState
344 sizeCache protoimpl.SizeCache
345 unknownFields protoimpl.UnknownFields
346
347 // A string representation of the expression subtree rooted at this node.
348 Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
349 // A mapping of (subquery variable name) -> (subquery node id) for cases
350 // where the `description` string of this node references a `SCALAR`
351 // subquery contained in the expression subtree rooted at this node. The
352 // referenced `SCALAR` subquery may not necessarily be a direct child of
353 // this node.
354 Subqueries map[string]int32 `protobuf:"bytes,2,rep,name=subqueries,proto3" json:"subqueries,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
355 }
356
357 func (x *PlanNode_ShortRepresentation) Reset() {
358 *x = PlanNode_ShortRepresentation{}
359 mi := &file_google_spanner_v1_query_plan_proto_msgTypes[3]
360 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
361 ms.StoreMessageInfo(mi)
362 }
363
364 func (x *PlanNode_ShortRepresentation) String() string {
365 return protoimpl.X.MessageStringOf(x)
366 }
367
368 func (*PlanNode_ShortRepresentation) ProtoMessage() {}
369
370 func (x *PlanNode_ShortRepresentation) ProtoReflect() protoreflect.Message {
371 mi := &file_google_spanner_v1_query_plan_proto_msgTypes[3]
372 if x != nil {
373 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
374 if ms.LoadMessageInfo() == nil {
375 ms.StoreMessageInfo(mi)
376 }
377 return ms
378 }
379 return mi.MessageOf(x)
380 }
381
382 // Deprecated: Use PlanNode_ShortRepresentation.ProtoReflect.Descriptor instead.
383 func (*PlanNode_ShortRepresentation) Descriptor() ([]byte, []int) {
384 return file_google_spanner_v1_query_plan_proto_rawDescGZIP(), []int{0, 1}
385 }
386
387 func (x *PlanNode_ShortRepresentation) GetDescription() string {
388 if x != nil {
389 return x.Description
390 }
391 return ""
392 }
393
394 func (x *PlanNode_ShortRepresentation) GetSubqueries() map[string]int32 {
395 if x != nil {
396 return x.Subqueries
397 }
398 return nil
399 }
400
401 var File_google_spanner_v1_query_plan_proto protoreflect.FileDescriptor
402
403 var file_google_spanner_v1_query_plan_proto_rawDesc = []byte{
404 0x0a, 0x22, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72,
405 0x2f, 0x76, 0x31, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x2e, 0x70,
406 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61,
407 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
408 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e,
409 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8e, 0x06, 0x0a, 0x08, 0x50, 0x6c, 0x61, 0x6e, 0x4e, 0x6f,
410 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28,
411 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x34, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64,
412 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
413 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x4e,
414 0x6f, 0x64, 0x65, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x21,
415 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03,
416 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d,
417 0x65, 0x12, 0x46, 0x0a, 0x0b, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x73,
418 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
419 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x4e,
420 0x6f, 0x64, 0x65, 0x2e, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x0a, 0x63,
421 0x68, 0x69, 0x6c, 0x64, 0x4c, 0x69, 0x6e, 0x6b, 0x73, 0x12, 0x62, 0x0a, 0x14, 0x73, 0x68, 0x6f,
422 0x72, 0x74, 0x5f, 0x72, 0x65, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f,
423 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
424 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e,
425 0x4e, 0x6f, 0x64, 0x65, 0x2e, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x70, 0x72, 0x65, 0x73,
426 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x52,
427 0x65, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x33, 0x0a,
428 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,
429 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
430 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61,
431 0x74, 0x61, 0x12, 0x40, 0x0a, 0x0f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
432 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f,
433 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74,
434 0x72, 0x75, 0x63, 0x74, 0x52, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53,
435 0x74, 0x61, 0x74, 0x73, 0x1a, 0x5c, 0x0a, 0x09, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x4c, 0x69, 0x6e,
436 0x6b, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78,
437 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x64,
438 0x65, 0x78, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
439 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62,
440 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62,
441 0x6c, 0x65, 0x1a, 0xd7, 0x01, 0x0a, 0x13, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x70, 0x72,
442 0x65, 0x73, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65,
443 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
444 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5f, 0x0a, 0x0a,
445 0x73, 0x75, 0x62, 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b,
446 0x32, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65,
447 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x4e, 0x6f, 0x64, 0x65, 0x2e, 0x53, 0x68,
448 0x6f, 0x72, 0x74, 0x52, 0x65, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f,
449 0x6e, 0x2e, 0x53, 0x75, 0x62, 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72,
450 0x79, 0x52, 0x0a, 0x73, 0x75, 0x62, 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x1a, 0x3d, 0x0a,
451 0x0f, 0x53, 0x75, 0x62, 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
452 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
453 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
454 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x38, 0x0a, 0x04,
455 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x14, 0x0a, 0x10, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x55, 0x4e, 0x53,
456 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x45,
457 0x4c, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x41, 0x4c, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x43,
458 0x41, 0x4c, 0x41, 0x52, 0x10, 0x02, 0x22, 0x47, 0x0a, 0x09, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50,
459 0x6c, 0x61, 0x6e, 0x12, 0x3a, 0x0a, 0x0a, 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x6e, 0x6f, 0x64, 0x65,
460 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
461 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e,
462 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x09, 0x70, 0x6c, 0x61, 0x6e, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x42,
463 0xb1, 0x01, 0x0a, 0x15, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73,
464 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x42, 0x0e, 0x51, 0x75, 0x65, 0x72, 0x79,
465 0x50, 0x6c, 0x61, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x35, 0x63, 0x6c, 0x6f,
466 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f,
467 0x2f, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x73,
468 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x70, 0x62, 0x3b, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72,
469 0x70, 0x62, 0xaa, 0x02, 0x17, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75,
470 0x64, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x17, 0x47,
471 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x53, 0x70, 0x61, 0x6e,
472 0x6e, 0x65, 0x72, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a,
473 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x53, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x3a,
474 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
475 }
476
477 var (
478 file_google_spanner_v1_query_plan_proto_rawDescOnce sync.Once
479 file_google_spanner_v1_query_plan_proto_rawDescData = file_google_spanner_v1_query_plan_proto_rawDesc
480 )
481
482 func file_google_spanner_v1_query_plan_proto_rawDescGZIP() []byte {
483 file_google_spanner_v1_query_plan_proto_rawDescOnce.Do(func() {
484 file_google_spanner_v1_query_plan_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_spanner_v1_query_plan_proto_rawDescData)
485 })
486 return file_google_spanner_v1_query_plan_proto_rawDescData
487 }
488
489 var file_google_spanner_v1_query_plan_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
490 var file_google_spanner_v1_query_plan_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
491 var file_google_spanner_v1_query_plan_proto_goTypes = []any{
492 (PlanNode_Kind)(0), // 0: google.spanner.v1.PlanNode.Kind
493 (*PlanNode)(nil), // 1: google.spanner.v1.PlanNode
494 (*QueryPlan)(nil), // 2: google.spanner.v1.QueryPlan
495 (*PlanNode_ChildLink)(nil), // 3: google.spanner.v1.PlanNode.ChildLink
496 (*PlanNode_ShortRepresentation)(nil), // 4: google.spanner.v1.PlanNode.ShortRepresentation
497 nil, // 5: google.spanner.v1.PlanNode.ShortRepresentation.SubqueriesEntry
498 (*structpb.Struct)(nil), // 6: google.protobuf.Struct
499 }
500 var file_google_spanner_v1_query_plan_proto_depIdxs = []int32{
501 0, // 0: google.spanner.v1.PlanNode.kind:type_name -> google.spanner.v1.PlanNode.Kind
502 3, // 1: google.spanner.v1.PlanNode.child_links:type_name -> google.spanner.v1.PlanNode.ChildLink
503 4, // 2: google.spanner.v1.PlanNode.short_representation:type_name -> google.spanner.v1.PlanNode.ShortRepresentation
504 6, // 3: google.spanner.v1.PlanNode.metadata:type_name -> google.protobuf.Struct
505 6, // 4: google.spanner.v1.PlanNode.execution_stats:type_name -> google.protobuf.Struct
506 1, // 5: google.spanner.v1.QueryPlan.plan_nodes:type_name -> google.spanner.v1.PlanNode
507 5, // 6: google.spanner.v1.PlanNode.ShortRepresentation.subqueries:type_name -> google.spanner.v1.PlanNode.ShortRepresentation.SubqueriesEntry
508 7, // [7:7] is the sub-list for method output_type
509 7, // [7:7] is the sub-list for method input_type
510 7, // [7:7] is the sub-list for extension type_name
511 7, // [7:7] is the sub-list for extension extendee
512 0, // [0:7] is the sub-list for field type_name
513 }
514
515 func init() { file_google_spanner_v1_query_plan_proto_init() }
516 func file_google_spanner_v1_query_plan_proto_init() {
517 if File_google_spanner_v1_query_plan_proto != nil {
518 return
519 }
520 type x struct{}
521 out := protoimpl.TypeBuilder{
522 File: protoimpl.DescBuilder{
523 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
524 RawDescriptor: file_google_spanner_v1_query_plan_proto_rawDesc,
525 NumEnums: 1,
526 NumMessages: 5,
527 NumExtensions: 0,
528 NumServices: 0,
529 },
530 GoTypes: file_google_spanner_v1_query_plan_proto_goTypes,
531 DependencyIndexes: file_google_spanner_v1_query_plan_proto_depIdxs,
532 EnumInfos: file_google_spanner_v1_query_plan_proto_enumTypes,
533 MessageInfos: file_google_spanner_v1_query_plan_proto_msgTypes,
534 }.Build()
535 File_google_spanner_v1_query_plan_proto = out.File
536 file_google_spanner_v1_query_plan_proto_rawDesc = nil
537 file_google_spanner_v1_query_plan_proto_goTypes = nil
538 file_google_spanner_v1_query_plan_proto_depIdxs = nil
539 }