1#![allow(unknown_lints)]
6#![allow(clippy::all)]
7
8#![allow(unused_attributes)]
9#![cfg_attr(rustfmt, rustfmt::skip)]
10
11#![allow(box_pointers)]
12#![allow(dead_code)]
13#![allow(missing_docs)]
14#![allow(non_camel_case_types)]
15#![allow(non_snake_case)]
16#![allow(non_upper_case_globals)]
17#![allow(trivial_casts)]
18#![allow(unused_imports)]
19#![allow(unused_results)]
20#[derive(PartialEq,Clone,Default)]
27pub struct PlanNode {
28 pub index: i32,
30 pub kind: PlanNode_Kind,
31 pub display_name: ::std::string::String,
32 pub child_links: ::protobuf::RepeatedField<PlanNode_ChildLink>,
33 pub short_representation: ::protobuf::SingularPtrField<PlanNode_ShortRepresentation>,
34 pub metadata: ::protobuf::SingularPtrField<::protobuf::well_known_types::Struct>,
35 pub execution_stats: ::protobuf::SingularPtrField<::protobuf::well_known_types::Struct>,
36 pub unknown_fields: ::protobuf::UnknownFields,
38 pub cached_size: ::protobuf::CachedSize,
39}
40
41impl<'a> ::std::default::Default for &'a PlanNode {
42 fn default() -> &'a PlanNode {
43 <PlanNode as ::protobuf::Message>::default_instance()
44 }
45}
46
47impl PlanNode {
48 pub fn new() -> PlanNode {
49 ::std::default::Default::default()
50 }
51
52 pub fn get_index(&self) -> i32 {
56 self.index
57 }
58 pub fn clear_index(&mut self) {
59 self.index = 0;
60 }
61
62 pub fn set_index(&mut self, v: i32) {
64 self.index = v;
65 }
66
67 pub fn get_kind(&self) -> PlanNode_Kind {
71 self.kind
72 }
73 pub fn clear_kind(&mut self) {
74 self.kind = PlanNode_Kind::KIND_UNSPECIFIED;
75 }
76
77 pub fn set_kind(&mut self, v: PlanNode_Kind) {
79 self.kind = v;
80 }
81
82 pub fn get_display_name(&self) -> &str {
86 &self.display_name
87 }
88 pub fn clear_display_name(&mut self) {
89 self.display_name.clear();
90 }
91
92 pub fn set_display_name(&mut self, v: ::std::string::String) {
94 self.display_name = v;
95 }
96
97 pub fn mut_display_name(&mut self) -> &mut ::std::string::String {
100 &mut self.display_name
101 }
102
103 pub fn take_display_name(&mut self) -> ::std::string::String {
105 ::std::mem::replace(&mut self.display_name, ::std::string::String::new())
106 }
107
108 pub fn get_child_links(&self) -> &[PlanNode_ChildLink] {
112 &self.child_links
113 }
114 pub fn clear_child_links(&mut self) {
115 self.child_links.clear();
116 }
117
118 pub fn set_child_links(&mut self, v: ::protobuf::RepeatedField<PlanNode_ChildLink>) {
120 self.child_links = v;
121 }
122
123 pub fn mut_child_links(&mut self) -> &mut ::protobuf::RepeatedField<PlanNode_ChildLink> {
125 &mut self.child_links
126 }
127
128 pub fn take_child_links(&mut self) -> ::protobuf::RepeatedField<PlanNode_ChildLink> {
130 ::std::mem::replace(&mut self.child_links, ::protobuf::RepeatedField::new())
131 }
132
133 pub fn get_short_representation(&self) -> &PlanNode_ShortRepresentation {
137 self.short_representation.as_ref().unwrap_or_else(|| <PlanNode_ShortRepresentation as ::protobuf::Message>::default_instance())
138 }
139 pub fn clear_short_representation(&mut self) {
140 self.short_representation.clear();
141 }
142
143 pub fn has_short_representation(&self) -> bool {
144 self.short_representation.is_some()
145 }
146
147 pub fn set_short_representation(&mut self, v: PlanNode_ShortRepresentation) {
149 self.short_representation = ::protobuf::SingularPtrField::some(v);
150 }
151
152 pub fn mut_short_representation(&mut self) -> &mut PlanNode_ShortRepresentation {
155 if self.short_representation.is_none() {
156 self.short_representation.set_default();
157 }
158 self.short_representation.as_mut().unwrap()
159 }
160
161 pub fn take_short_representation(&mut self) -> PlanNode_ShortRepresentation {
163 self.short_representation.take().unwrap_or_else(|| PlanNode_ShortRepresentation::new())
164 }
165
166 pub fn get_metadata(&self) -> &::protobuf::well_known_types::Struct {
170 self.metadata.as_ref().unwrap_or_else(|| <::protobuf::well_known_types::Struct as ::protobuf::Message>::default_instance())
171 }
172 pub fn clear_metadata(&mut self) {
173 self.metadata.clear();
174 }
175
176 pub fn has_metadata(&self) -> bool {
177 self.metadata.is_some()
178 }
179
180 pub fn set_metadata(&mut self, v: ::protobuf::well_known_types::Struct) {
182 self.metadata = ::protobuf::SingularPtrField::some(v);
183 }
184
185 pub fn mut_metadata(&mut self) -> &mut ::protobuf::well_known_types::Struct {
188 if self.metadata.is_none() {
189 self.metadata.set_default();
190 }
191 self.metadata.as_mut().unwrap()
192 }
193
194 pub fn take_metadata(&mut self) -> ::protobuf::well_known_types::Struct {
196 self.metadata.take().unwrap_or_else(|| ::protobuf::well_known_types::Struct::new())
197 }
198
199 pub fn get_execution_stats(&self) -> &::protobuf::well_known_types::Struct {
203 self.execution_stats.as_ref().unwrap_or_else(|| <::protobuf::well_known_types::Struct as ::protobuf::Message>::default_instance())
204 }
205 pub fn clear_execution_stats(&mut self) {
206 self.execution_stats.clear();
207 }
208
209 pub fn has_execution_stats(&self) -> bool {
210 self.execution_stats.is_some()
211 }
212
213 pub fn set_execution_stats(&mut self, v: ::protobuf::well_known_types::Struct) {
215 self.execution_stats = ::protobuf::SingularPtrField::some(v);
216 }
217
218 pub fn mut_execution_stats(&mut self) -> &mut ::protobuf::well_known_types::Struct {
221 if self.execution_stats.is_none() {
222 self.execution_stats.set_default();
223 }
224 self.execution_stats.as_mut().unwrap()
225 }
226
227 pub fn take_execution_stats(&mut self) -> ::protobuf::well_known_types::Struct {
229 self.execution_stats.take().unwrap_or_else(|| ::protobuf::well_known_types::Struct::new())
230 }
231}
232
233impl ::protobuf::Message for PlanNode {
234 fn is_initialized(&self) -> bool {
235 for v in &self.child_links {
236 if !v.is_initialized() {
237 return false;
238 }
239 };
240 for v in &self.short_representation {
241 if !v.is_initialized() {
242 return false;
243 }
244 };
245 for v in &self.metadata {
246 if !v.is_initialized() {
247 return false;
248 }
249 };
250 for v in &self.execution_stats {
251 if !v.is_initialized() {
252 return false;
253 }
254 };
255 true
256 }
257
258 fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
259 while !is.eof()? {
260 let (field_number, wire_type) = is.read_tag_unpack()?;
261 match field_number {
262 1 => {
263 if wire_type != ::protobuf::wire_format::WireTypeVarint {
264 return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
265 }
266 let tmp = is.read_int32()?;
267 self.index = tmp;
268 },
269 2 => {
270 ::protobuf::rt::read_proto3_enum_with_unknown_fields_into(wire_type, is, &mut self.kind, 2, &mut self.unknown_fields)?
271 },
272 3 => {
273 ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.display_name)?;
274 },
275 4 => {
276 ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.child_links)?;
277 },
278 5 => {
279 ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.short_representation)?;
280 },
281 6 => {
282 ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.metadata)?;
283 },
284 7 => {
285 ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.execution_stats)?;
286 },
287 _ => {
288 ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
289 },
290 };
291 }
292 ::std::result::Result::Ok(())
293 }
294
295 #[allow(unused_variables)]
297 fn compute_size(&self) -> u32 {
298 let mut my_size = 0;
299 if self.index != 0 {
300 my_size += ::protobuf::rt::value_size(1, self.index, ::protobuf::wire_format::WireTypeVarint);
301 }
302 if self.kind != PlanNode_Kind::KIND_UNSPECIFIED {
303 my_size += ::protobuf::rt::enum_size(2, self.kind);
304 }
305 if !self.display_name.is_empty() {
306 my_size += ::protobuf::rt::string_size(3, &self.display_name);
307 }
308 for value in &self.child_links {
309 let len = value.compute_size();
310 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
311 };
312 if let Some(ref v) = self.short_representation.as_ref() {
313 let len = v.compute_size();
314 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
315 }
316 if let Some(ref v) = self.metadata.as_ref() {
317 let len = v.compute_size();
318 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
319 }
320 if let Some(ref v) = self.execution_stats.as_ref() {
321 let len = v.compute_size();
322 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
323 }
324 my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
325 self.cached_size.set(my_size);
326 my_size
327 }
328
329 fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
330 if self.index != 0 {
331 os.write_int32(1, self.index)?;
332 }
333 if self.kind != PlanNode_Kind::KIND_UNSPECIFIED {
334 os.write_enum(2, ::protobuf::ProtobufEnum::value(&self.kind))?;
335 }
336 if !self.display_name.is_empty() {
337 os.write_string(3, &self.display_name)?;
338 }
339 for v in &self.child_links {
340 os.write_tag(4, ::protobuf::wire_format::WireTypeLengthDelimited)?;
341 os.write_raw_varint32(v.get_cached_size())?;
342 v.write_to_with_cached_sizes(os)?;
343 };
344 if let Some(ref v) = self.short_representation.as_ref() {
345 os.write_tag(5, ::protobuf::wire_format::WireTypeLengthDelimited)?;
346 os.write_raw_varint32(v.get_cached_size())?;
347 v.write_to_with_cached_sizes(os)?;
348 }
349 if let Some(ref v) = self.metadata.as_ref() {
350 os.write_tag(6, ::protobuf::wire_format::WireTypeLengthDelimited)?;
351 os.write_raw_varint32(v.get_cached_size())?;
352 v.write_to_with_cached_sizes(os)?;
353 }
354 if let Some(ref v) = self.execution_stats.as_ref() {
355 os.write_tag(7, ::protobuf::wire_format::WireTypeLengthDelimited)?;
356 os.write_raw_varint32(v.get_cached_size())?;
357 v.write_to_with_cached_sizes(os)?;
358 }
359 os.write_unknown_fields(self.get_unknown_fields())?;
360 ::std::result::Result::Ok(())
361 }
362
363 fn get_cached_size(&self) -> u32 {
364 self.cached_size.get()
365 }
366
367 fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
368 &self.unknown_fields
369 }
370
371 fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
372 &mut self.unknown_fields
373 }
374
375 fn as_any(&self) -> &dyn (::std::any::Any) {
376 self as &dyn (::std::any::Any)
377 }
378 fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
379 self as &mut dyn (::std::any::Any)
380 }
381 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
382 self
383 }
384
385 fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
386 Self::descriptor_static()
387 }
388
389 fn new() -> PlanNode {
390 PlanNode::new()
391 }
392
393 fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
394 static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
395 descriptor.get(|| {
396 let mut fields = ::std::vec::Vec::new();
397 fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt32>(
398 "index",
399 |m: &PlanNode| { &m.index },
400 |m: &mut PlanNode| { &mut m.index },
401 ));
402 fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeEnum<PlanNode_Kind>>(
403 "kind",
404 |m: &PlanNode| { &m.kind },
405 |m: &mut PlanNode| { &mut m.kind },
406 ));
407 fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
408 "display_name",
409 |m: &PlanNode| { &m.display_name },
410 |m: &mut PlanNode| { &mut m.display_name },
411 ));
412 fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<PlanNode_ChildLink>>(
413 "child_links",
414 |m: &PlanNode| { &m.child_links },
415 |m: &mut PlanNode| { &mut m.child_links },
416 ));
417 fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<PlanNode_ShortRepresentation>>(
418 "short_representation",
419 |m: &PlanNode| { &m.short_representation },
420 |m: &mut PlanNode| { &mut m.short_representation },
421 ));
422 fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::Struct>>(
423 "metadata",
424 |m: &PlanNode| { &m.metadata },
425 |m: &mut PlanNode| { &mut m.metadata },
426 ));
427 fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::Struct>>(
428 "execution_stats",
429 |m: &PlanNode| { &m.execution_stats },
430 |m: &mut PlanNode| { &mut m.execution_stats },
431 ));
432 ::protobuf::reflect::MessageDescriptor::new_pb_name::<PlanNode>(
433 "PlanNode",
434 fields,
435 file_descriptor_proto()
436 )
437 })
438 }
439
440 fn default_instance() -> &'static PlanNode {
441 static instance: ::protobuf::rt::LazyV2<PlanNode> = ::protobuf::rt::LazyV2::INIT;
442 instance.get(PlanNode::new)
443 }
444}
445
446impl ::protobuf::Clear for PlanNode {
447 fn clear(&mut self) {
448 self.index = 0;
449 self.kind = PlanNode_Kind::KIND_UNSPECIFIED;
450 self.display_name.clear();
451 self.child_links.clear();
452 self.short_representation.clear();
453 self.metadata.clear();
454 self.execution_stats.clear();
455 self.unknown_fields.clear();
456 }
457}
458
459impl ::std::fmt::Debug for PlanNode {
460 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
461 ::protobuf::text_format::fmt(self, f)
462 }
463}
464
465impl ::protobuf::reflect::ProtobufValue for PlanNode {
466 fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
467 ::protobuf::reflect::ReflectValueRef::Message(self)
468 }
469}
470
471#[derive(PartialEq,Clone,Default)]
472pub struct PlanNode_ChildLink {
473 pub child_index: i32,
475 pub field_type: ::std::string::String,
476 pub variable: ::std::string::String,
477 pub unknown_fields: ::protobuf::UnknownFields,
479 pub cached_size: ::protobuf::CachedSize,
480}
481
482impl<'a> ::std::default::Default for &'a PlanNode_ChildLink {
483 fn default() -> &'a PlanNode_ChildLink {
484 <PlanNode_ChildLink as ::protobuf::Message>::default_instance()
485 }
486}
487
488impl PlanNode_ChildLink {
489 pub fn new() -> PlanNode_ChildLink {
490 ::std::default::Default::default()
491 }
492
493 pub fn get_child_index(&self) -> i32 {
497 self.child_index
498 }
499 pub fn clear_child_index(&mut self) {
500 self.child_index = 0;
501 }
502
503 pub fn set_child_index(&mut self, v: i32) {
505 self.child_index = v;
506 }
507
508 pub fn get_field_type(&self) -> &str {
512 &self.field_type
513 }
514 pub fn clear_field_type(&mut self) {
515 self.field_type.clear();
516 }
517
518 pub fn set_field_type(&mut self, v: ::std::string::String) {
520 self.field_type = v;
521 }
522
523 pub fn mut_field_type(&mut self) -> &mut ::std::string::String {
526 &mut self.field_type
527 }
528
529 pub fn take_field_type(&mut self) -> ::std::string::String {
531 ::std::mem::replace(&mut self.field_type, ::std::string::String::new())
532 }
533
534 pub fn get_variable(&self) -> &str {
538 &self.variable
539 }
540 pub fn clear_variable(&mut self) {
541 self.variable.clear();
542 }
543
544 pub fn set_variable(&mut self, v: ::std::string::String) {
546 self.variable = v;
547 }
548
549 pub fn mut_variable(&mut self) -> &mut ::std::string::String {
552 &mut self.variable
553 }
554
555 pub fn take_variable(&mut self) -> ::std::string::String {
557 ::std::mem::replace(&mut self.variable, ::std::string::String::new())
558 }
559}
560
561impl ::protobuf::Message for PlanNode_ChildLink {
562 fn is_initialized(&self) -> bool {
563 true
564 }
565
566 fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
567 while !is.eof()? {
568 let (field_number, wire_type) = is.read_tag_unpack()?;
569 match field_number {
570 1 => {
571 if wire_type != ::protobuf::wire_format::WireTypeVarint {
572 return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
573 }
574 let tmp = is.read_int32()?;
575 self.child_index = tmp;
576 },
577 2 => {
578 ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.field_type)?;
579 },
580 3 => {
581 ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.variable)?;
582 },
583 _ => {
584 ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
585 },
586 };
587 }
588 ::std::result::Result::Ok(())
589 }
590
591 #[allow(unused_variables)]
593 fn compute_size(&self) -> u32 {
594 let mut my_size = 0;
595 if self.child_index != 0 {
596 my_size += ::protobuf::rt::value_size(1, self.child_index, ::protobuf::wire_format::WireTypeVarint);
597 }
598 if !self.field_type.is_empty() {
599 my_size += ::protobuf::rt::string_size(2, &self.field_type);
600 }
601 if !self.variable.is_empty() {
602 my_size += ::protobuf::rt::string_size(3, &self.variable);
603 }
604 my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
605 self.cached_size.set(my_size);
606 my_size
607 }
608
609 fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
610 if self.child_index != 0 {
611 os.write_int32(1, self.child_index)?;
612 }
613 if !self.field_type.is_empty() {
614 os.write_string(2, &self.field_type)?;
615 }
616 if !self.variable.is_empty() {
617 os.write_string(3, &self.variable)?;
618 }
619 os.write_unknown_fields(self.get_unknown_fields())?;
620 ::std::result::Result::Ok(())
621 }
622
623 fn get_cached_size(&self) -> u32 {
624 self.cached_size.get()
625 }
626
627 fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
628 &self.unknown_fields
629 }
630
631 fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
632 &mut self.unknown_fields
633 }
634
635 fn as_any(&self) -> &dyn (::std::any::Any) {
636 self as &dyn (::std::any::Any)
637 }
638 fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
639 self as &mut dyn (::std::any::Any)
640 }
641 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
642 self
643 }
644
645 fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
646 Self::descriptor_static()
647 }
648
649 fn new() -> PlanNode_ChildLink {
650 PlanNode_ChildLink::new()
651 }
652
653 fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
654 static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
655 descriptor.get(|| {
656 let mut fields = ::std::vec::Vec::new();
657 fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt32>(
658 "child_index",
659 |m: &PlanNode_ChildLink| { &m.child_index },
660 |m: &mut PlanNode_ChildLink| { &mut m.child_index },
661 ));
662 fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
663 "type",
664 |m: &PlanNode_ChildLink| { &m.field_type },
665 |m: &mut PlanNode_ChildLink| { &mut m.field_type },
666 ));
667 fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
668 "variable",
669 |m: &PlanNode_ChildLink| { &m.variable },
670 |m: &mut PlanNode_ChildLink| { &mut m.variable },
671 ));
672 ::protobuf::reflect::MessageDescriptor::new_pb_name::<PlanNode_ChildLink>(
673 "PlanNode.ChildLink",
674 fields,
675 file_descriptor_proto()
676 )
677 })
678 }
679
680 fn default_instance() -> &'static PlanNode_ChildLink {
681 static instance: ::protobuf::rt::LazyV2<PlanNode_ChildLink> = ::protobuf::rt::LazyV2::INIT;
682 instance.get(PlanNode_ChildLink::new)
683 }
684}
685
686impl ::protobuf::Clear for PlanNode_ChildLink {
687 fn clear(&mut self) {
688 self.child_index = 0;
689 self.field_type.clear();
690 self.variable.clear();
691 self.unknown_fields.clear();
692 }
693}
694
695impl ::std::fmt::Debug for PlanNode_ChildLink {
696 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
697 ::protobuf::text_format::fmt(self, f)
698 }
699}
700
701impl ::protobuf::reflect::ProtobufValue for PlanNode_ChildLink {
702 fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
703 ::protobuf::reflect::ReflectValueRef::Message(self)
704 }
705}
706
707#[derive(PartialEq,Clone,Default)]
708pub struct PlanNode_ShortRepresentation {
709 pub description: ::std::string::String,
711 pub subqueries: ::std::collections::HashMap<::std::string::String, i32>,
712 pub unknown_fields: ::protobuf::UnknownFields,
714 pub cached_size: ::protobuf::CachedSize,
715}
716
717impl<'a> ::std::default::Default for &'a PlanNode_ShortRepresentation {
718 fn default() -> &'a PlanNode_ShortRepresentation {
719 <PlanNode_ShortRepresentation as ::protobuf::Message>::default_instance()
720 }
721}
722
723impl PlanNode_ShortRepresentation {
724 pub fn new() -> PlanNode_ShortRepresentation {
725 ::std::default::Default::default()
726 }
727
728 pub fn get_description(&self) -> &str {
732 &self.description
733 }
734 pub fn clear_description(&mut self) {
735 self.description.clear();
736 }
737
738 pub fn set_description(&mut self, v: ::std::string::String) {
740 self.description = v;
741 }
742
743 pub fn mut_description(&mut self) -> &mut ::std::string::String {
746 &mut self.description
747 }
748
749 pub fn take_description(&mut self) -> ::std::string::String {
751 ::std::mem::replace(&mut self.description, ::std::string::String::new())
752 }
753
754 pub fn get_subqueries(&self) -> &::std::collections::HashMap<::std::string::String, i32> {
758 &self.subqueries
759 }
760 pub fn clear_subqueries(&mut self) {
761 self.subqueries.clear();
762 }
763
764 pub fn set_subqueries(&mut self, v: ::std::collections::HashMap<::std::string::String, i32>) {
766 self.subqueries = v;
767 }
768
769 pub fn mut_subqueries(&mut self) -> &mut ::std::collections::HashMap<::std::string::String, i32> {
771 &mut self.subqueries
772 }
773
774 pub fn take_subqueries(&mut self) -> ::std::collections::HashMap<::std::string::String, i32> {
776 ::std::mem::replace(&mut self.subqueries, ::std::collections::HashMap::new())
777 }
778}
779
780impl ::protobuf::Message for PlanNode_ShortRepresentation {
781 fn is_initialized(&self) -> bool {
782 true
783 }
784
785 fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
786 while !is.eof()? {
787 let (field_number, wire_type) = is.read_tag_unpack()?;
788 match field_number {
789 1 => {
790 ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.description)?;
791 },
792 2 => {
793 ::protobuf::rt::read_map_into::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeInt32>(wire_type, is, &mut self.subqueries)?;
794 },
795 _ => {
796 ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
797 },
798 };
799 }
800 ::std::result::Result::Ok(())
801 }
802
803 #[allow(unused_variables)]
805 fn compute_size(&self) -> u32 {
806 let mut my_size = 0;
807 if !self.description.is_empty() {
808 my_size += ::protobuf::rt::string_size(1, &self.description);
809 }
810 my_size += ::protobuf::rt::compute_map_size::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeInt32>(2, &self.subqueries);
811 my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
812 self.cached_size.set(my_size);
813 my_size
814 }
815
816 fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
817 if !self.description.is_empty() {
818 os.write_string(1, &self.description)?;
819 }
820 ::protobuf::rt::write_map_with_cached_sizes::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeInt32>(2, &self.subqueries, os)?;
821 os.write_unknown_fields(self.get_unknown_fields())?;
822 ::std::result::Result::Ok(())
823 }
824
825 fn get_cached_size(&self) -> u32 {
826 self.cached_size.get()
827 }
828
829 fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
830 &self.unknown_fields
831 }
832
833 fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
834 &mut self.unknown_fields
835 }
836
837 fn as_any(&self) -> &dyn (::std::any::Any) {
838 self as &dyn (::std::any::Any)
839 }
840 fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
841 self as &mut dyn (::std::any::Any)
842 }
843 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
844 self
845 }
846
847 fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
848 Self::descriptor_static()
849 }
850
851 fn new() -> PlanNode_ShortRepresentation {
852 PlanNode_ShortRepresentation::new()
853 }
854
855 fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
856 static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
857 descriptor.get(|| {
858 let mut fields = ::std::vec::Vec::new();
859 fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
860 "description",
861 |m: &PlanNode_ShortRepresentation| { &m.description },
862 |m: &mut PlanNode_ShortRepresentation| { &mut m.description },
863 ));
864 fields.push(::protobuf::reflect::accessor::make_map_accessor::<_, ::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeInt32>(
865 "subqueries",
866 |m: &PlanNode_ShortRepresentation| { &m.subqueries },
867 |m: &mut PlanNode_ShortRepresentation| { &mut m.subqueries },
868 ));
869 ::protobuf::reflect::MessageDescriptor::new_pb_name::<PlanNode_ShortRepresentation>(
870 "PlanNode.ShortRepresentation",
871 fields,
872 file_descriptor_proto()
873 )
874 })
875 }
876
877 fn default_instance() -> &'static PlanNode_ShortRepresentation {
878 static instance: ::protobuf::rt::LazyV2<PlanNode_ShortRepresentation> = ::protobuf::rt::LazyV2::INIT;
879 instance.get(PlanNode_ShortRepresentation::new)
880 }
881}
882
883impl ::protobuf::Clear for PlanNode_ShortRepresentation {
884 fn clear(&mut self) {
885 self.description.clear();
886 self.subqueries.clear();
887 self.unknown_fields.clear();
888 }
889}
890
891impl ::std::fmt::Debug for PlanNode_ShortRepresentation {
892 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
893 ::protobuf::text_format::fmt(self, f)
894 }
895}
896
897impl ::protobuf::reflect::ProtobufValue for PlanNode_ShortRepresentation {
898 fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
899 ::protobuf::reflect::ReflectValueRef::Message(self)
900 }
901}
902
903#[derive(Clone,PartialEq,Eq,Debug,Hash)]
904pub enum PlanNode_Kind {
905 KIND_UNSPECIFIED = 0,
906 RELATIONAL = 1,
907 SCALAR = 2,
908}
909
910impl ::protobuf::ProtobufEnum for PlanNode_Kind {
911 fn value(&self) -> i32 {
912 *self as i32
913 }
914
915 fn from_i32(value: i32) -> ::std::option::Option<PlanNode_Kind> {
916 match value {
917 0 => ::std::option::Option::Some(PlanNode_Kind::KIND_UNSPECIFIED),
918 1 => ::std::option::Option::Some(PlanNode_Kind::RELATIONAL),
919 2 => ::std::option::Option::Some(PlanNode_Kind::SCALAR),
920 _ => ::std::option::Option::None
921 }
922 }
923
924 fn values() -> &'static [Self] {
925 static values: &'static [PlanNode_Kind] = &[
926 PlanNode_Kind::KIND_UNSPECIFIED,
927 PlanNode_Kind::RELATIONAL,
928 PlanNode_Kind::SCALAR,
929 ];
930 values
931 }
932
933 fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor {
934 static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::EnumDescriptor> = ::protobuf::rt::LazyV2::INIT;
935 descriptor.get(|| {
936 ::protobuf::reflect::EnumDescriptor::new_pb_name::<PlanNode_Kind>("PlanNode.Kind", file_descriptor_proto())
937 })
938 }
939}
940
941impl ::std::marker::Copy for PlanNode_Kind {
942}
943
944impl ::std::default::Default for PlanNode_Kind {
945 fn default() -> Self {
946 PlanNode_Kind::KIND_UNSPECIFIED
947 }
948}
949
950impl ::protobuf::reflect::ProtobufValue for PlanNode_Kind {
951 fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
952 ::protobuf::reflect::ReflectValueRef::Enum(::protobuf::ProtobufEnum::descriptor(self))
953 }
954}
955
956#[derive(PartialEq,Clone,Default)]
957pub struct QueryPlan {
958 pub plan_nodes: ::protobuf::RepeatedField<PlanNode>,
960 pub unknown_fields: ::protobuf::UnknownFields,
962 pub cached_size: ::protobuf::CachedSize,
963}
964
965impl<'a> ::std::default::Default for &'a QueryPlan {
966 fn default() -> &'a QueryPlan {
967 <QueryPlan as ::protobuf::Message>::default_instance()
968 }
969}
970
971impl QueryPlan {
972 pub fn new() -> QueryPlan {
973 ::std::default::Default::default()
974 }
975
976 pub fn get_plan_nodes(&self) -> &[PlanNode] {
980 &self.plan_nodes
981 }
982 pub fn clear_plan_nodes(&mut self) {
983 self.plan_nodes.clear();
984 }
985
986 pub fn set_plan_nodes(&mut self, v: ::protobuf::RepeatedField<PlanNode>) {
988 self.plan_nodes = v;
989 }
990
991 pub fn mut_plan_nodes(&mut self) -> &mut ::protobuf::RepeatedField<PlanNode> {
993 &mut self.plan_nodes
994 }
995
996 pub fn take_plan_nodes(&mut self) -> ::protobuf::RepeatedField<PlanNode> {
998 ::std::mem::replace(&mut self.plan_nodes, ::protobuf::RepeatedField::new())
999 }
1000}
1001
1002impl ::protobuf::Message for QueryPlan {
1003 fn is_initialized(&self) -> bool {
1004 for v in &self.plan_nodes {
1005 if !v.is_initialized() {
1006 return false;
1007 }
1008 };
1009 true
1010 }
1011
1012 fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
1013 while !is.eof()? {
1014 let (field_number, wire_type) = is.read_tag_unpack()?;
1015 match field_number {
1016 1 => {
1017 ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.plan_nodes)?;
1018 },
1019 _ => {
1020 ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
1021 },
1022 };
1023 }
1024 ::std::result::Result::Ok(())
1025 }
1026
1027 #[allow(unused_variables)]
1029 fn compute_size(&self) -> u32 {
1030 let mut my_size = 0;
1031 for value in &self.plan_nodes {
1032 let len = value.compute_size();
1033 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
1034 };
1035 my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
1036 self.cached_size.set(my_size);
1037 my_size
1038 }
1039
1040 fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
1041 for v in &self.plan_nodes {
1042 os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?;
1043 os.write_raw_varint32(v.get_cached_size())?;
1044 v.write_to_with_cached_sizes(os)?;
1045 };
1046 os.write_unknown_fields(self.get_unknown_fields())?;
1047 ::std::result::Result::Ok(())
1048 }
1049
1050 fn get_cached_size(&self) -> u32 {
1051 self.cached_size.get()
1052 }
1053
1054 fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
1055 &self.unknown_fields
1056 }
1057
1058 fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
1059 &mut self.unknown_fields
1060 }
1061
1062 fn as_any(&self) -> &dyn (::std::any::Any) {
1063 self as &dyn (::std::any::Any)
1064 }
1065 fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
1066 self as &mut dyn (::std::any::Any)
1067 }
1068 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
1069 self
1070 }
1071
1072 fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
1073 Self::descriptor_static()
1074 }
1075
1076 fn new() -> QueryPlan {
1077 QueryPlan::new()
1078 }
1079
1080 fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
1081 static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
1082 descriptor.get(|| {
1083 let mut fields = ::std::vec::Vec::new();
1084 fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<PlanNode>>(
1085 "plan_nodes",
1086 |m: &QueryPlan| { &m.plan_nodes },
1087 |m: &mut QueryPlan| { &mut m.plan_nodes },
1088 ));
1089 ::protobuf::reflect::MessageDescriptor::new_pb_name::<QueryPlan>(
1090 "QueryPlan",
1091 fields,
1092 file_descriptor_proto()
1093 )
1094 })
1095 }
1096
1097 fn default_instance() -> &'static QueryPlan {
1098 static instance: ::protobuf::rt::LazyV2<QueryPlan> = ::protobuf::rt::LazyV2::INIT;
1099 instance.get(QueryPlan::new)
1100 }
1101}
1102
1103impl ::protobuf::Clear for QueryPlan {
1104 fn clear(&mut self) {
1105 self.plan_nodes.clear();
1106 self.unknown_fields.clear();
1107 }
1108}
1109
1110impl ::std::fmt::Debug for QueryPlan {
1111 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1112 ::protobuf::text_format::fmt(self, f)
1113 }
1114}
1115
1116impl ::protobuf::reflect::ProtobufValue for QueryPlan {
1117 fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
1118 ::protobuf::reflect::ReflectValueRef::Message(self)
1119 }
1120}
1121
1122static file_descriptor_proto_data: &'static [u8] = b"\
1123 \n\"google/spanner/v1/query_plan.proto\x12\x11google.spanner.v1\x1a\x1cg\
1124 oogle/protobuf/struct.proto\"\x8e\x06\n\x08PlanNode\x12\x14\n\x05index\
1125 \x18\x01\x20\x01(\x05R\x05index\x124\n\x04kind\x18\x02\x20\x01(\x0e2\x20\
1126 .google.spanner.v1.PlanNode.KindR\x04kind\x12!\n\x0cdisplay_name\x18\x03\
1127 \x20\x01(\tR\x0bdisplayName\x12F\n\x0bchild_links\x18\x04\x20\x03(\x0b2%\
1128 .google.spanner.v1.PlanNode.ChildLinkR\nchildLinks\x12b\n\x14short_repre\
1129 sentation\x18\x05\x20\x01(\x0b2/.google.spanner.v1.PlanNode.ShortReprese\
1130 ntationR\x13shortRepresentation\x123\n\x08metadata\x18\x06\x20\x01(\x0b2\
1131 \x17.google.protobuf.StructR\x08metadata\x12@\n\x0fexecution_stats\x18\
1132 \x07\x20\x01(\x0b2\x17.google.protobuf.StructR\x0eexecutionStats\x1a\\\n\
1133 \tChildLink\x12\x1f\n\x0bchild_index\x18\x01\x20\x01(\x05R\nchildIndex\
1134 \x12\x12\n\x04type\x18\x02\x20\x01(\tR\x04type\x12\x1a\n\x08variable\x18\
1135 \x03\x20\x01(\tR\x08variable\x1a\xd7\x01\n\x13ShortRepresentation\x12\
1136 \x20\n\x0bdescription\x18\x01\x20\x01(\tR\x0bdescription\x12_\n\nsubquer\
1137 ies\x18\x02\x20\x03(\x0b2?.google.spanner.v1.PlanNode.ShortRepresentatio\
1138 n.SubqueriesEntryR\nsubqueries\x1a=\n\x0fSubqueriesEntry\x12\x10\n\x03ke\
1139 y\x18\x01\x20\x01(\tR\x03key\x12\x14\n\x05value\x18\x02\x20\x01(\x05R\
1140 \x05value:\x028\x01\"8\n\x04Kind\x12\x14\n\x10KIND_UNSPECIFIED\x10\0\x12\
1141 \x0e\n\nRELATIONAL\x10\x01\x12\n\n\x06SCALAR\x10\x02\"G\n\tQueryPlan\x12\
1142 :\n\nplan_nodes\x18\x01\x20\x03(\x0b2\x1b.google.spanner.v1.PlanNodeR\tp\
1143 lanNodesB\xb1\x01\n\x15com.google.spanner.v1B\x0eQueryPlanProtoP\x01Z5cl\
1144 oud.google.com/go/spanner/apiv1/spannerpb;spannerpb\xaa\x02\x17Google.Cl\
1145 oud.Spanner.V1\xca\x02\x17Google\\Cloud\\Spanner\\V1\xea\x02\x1aGoogle::\
1146 Cloud::Spanner::V1J\x9f)\n\x06\x12\x04\x0e\0\x7f\x01\n\xbc\x04\n\x01\x0c\
1147 \x12\x03\x0e\0\x122\xb1\x04\x20Copyright\x202022\x20Google\x20LLC\n\n\
1148 \x20Licensed\x20under\x20the\x20Apache\x20License,\x20Version\x202.0\x20\
1149 (the\x20\"License\");\n\x20you\x20may\x20not\x20use\x20this\x20file\x20e\
1150 xcept\x20in\x20compliance\x20with\x20the\x20License.\n\x20You\x20may\x20\
1151 obtain\x20a\x20copy\x20of\x20the\x20License\x20at\n\n\x20\x20\x20\x20\
1152 \x20http://www.apache.org/licenses/LICENSE-2.0\n\n\x20Unless\x20required\
1153 \x20by\x20applicable\x20law\x20or\x20agreed\x20to\x20in\x20writing,\x20s\
1154 oftware\n\x20distributed\x20under\x20the\x20License\x20is\x20distributed\
1155 \x20on\x20an\x20\"AS\x20IS\"\x20BASIS,\n\x20WITHOUT\x20WARRANTIES\x20OR\
1156 \x20CONDITIONS\x20OF\x20ANY\x20KIND,\x20either\x20express\x20or\x20impli\
1157 ed.\n\x20See\x20the\x20License\x20for\x20the\x20specific\x20language\x20\
1158 governing\x20permissions\x20and\n\x20limitations\x20under\x20the\x20Lice\
1159 nse.\n\n\x08\n\x01\x02\x12\x03\x10\0\x1a\n\t\n\x02\x03\0\x12\x03\x12\0&\
1160 \n\x08\n\x01\x08\x12\x03\x14\04\n\t\n\x02\x08%\x12\x03\x14\04\n\x08\n\
1161 \x01\x08\x12\x03\x15\0L\n\t\n\x02\x08\x0b\x12\x03\x15\0L\n\x08\n\x01\x08\
1162 \x12\x03\x16\0\"\n\t\n\x02\x08\n\x12\x03\x16\0\"\n\x08\n\x01\x08\x12\x03\
1163 \x17\0/\n\t\n\x02\x08\x08\x12\x03\x17\0/\n\x08\n\x01\x08\x12\x03\x18\0.\
1164 \n\t\n\x02\x08\x01\x12\x03\x18\0.\n\x08\n\x01\x08\x12\x03\x19\04\n\t\n\
1165 \x02\x08)\x12\x03\x19\04\n\x08\n\x01\x08\x12\x03\x1a\03\n\t\n\x02\x08-\
1166 \x12\x03\x1a\03\nw\n\x02\x04\0\x12\x04\x1d\0w\x01\x1ak\x20Node\x20inform\
1167 ation\x20for\x20nodes\x20appearing\x20in\x20a\x20[QueryPlan.plan_nodes][\
1168 google.spanner.v1.QueryPlan.plan_nodes].\n\n\n\n\x03\x04\0\x01\x12\x03\
1169 \x1d\x08\x10\n\x9d\x01\n\x04\x04\0\x04\0\x12\x04\x20\x02.\x03\x1a\x8e\
1170 \x01\x20The\x20kind\x20of\x20[PlanNode][google.spanner.v1.PlanNode].\x20\
1171 Distinguishes\x20between\x20the\x20two\x20different\x20kinds\x20of\n\x20\
1172 nodes\x20that\x20can\x20appear\x20in\x20a\x20query\x20plan.\n\n\x0c\n\
1173 \x05\x04\0\x04\0\x01\x12\x03\x20\x07\x0b\n\x1f\n\x06\x04\0\x04\0\x02\0\
1174 \x12\x03\"\x04\x19\x1a\x10\x20Not\x20specified.\n\n\x0e\n\x07\x04\0\x04\
1175 \0\x02\0\x01\x12\x03\"\x04\x14\n\x0e\n\x07\x04\0\x04\0\x02\0\x02\x12\x03\
1176 \"\x17\x18\n\xe5\x01\n\x06\x04\0\x04\0\x02\x01\x12\x03'\x04\x13\x1a\xd5\
1177 \x01\x20Denotes\x20a\x20Relational\x20operator\x20node\x20in\x20the\x20e\
1178 xpression\x20tree.\x20Relational\n\x20operators\x20represent\x20iterativ\
1179 e\x20processing\x20of\x20rows\x20during\x20query\x20execution.\n\x20For\
1180 \x20example,\x20a\x20`TableScan`\x20operation\x20that\x20reads\x20rows\
1181 \x20from\x20a\x20table.\n\n\x0e\n\x07\x04\0\x04\0\x02\x01\x01\x12\x03'\
1182 \x04\x0e\n\x0e\n\x07\x04\0\x04\0\x02\x01\x02\x12\x03'\x11\x12\n\xf7\x01\
1183 \n\x06\x04\0\x04\0\x02\x02\x12\x03-\x04\x0f\x1a\xe7\x01\x20Denotes\x20a\
1184 \x20Scalar\x20node\x20in\x20the\x20expression\x20tree.\x20Scalar\x20node\
1185 s\x20represent\n\x20non-iterable\x20entities\x20in\x20the\x20query\x20pl\
1186 an.\x20For\x20example,\x20constants\x20or\n\x20arithmetic\x20operators\
1187 \x20appearing\x20inside\x20predicate\x20expressions\x20or\x20references\
1188 \n\x20to\x20column\x20names.\n\n\x0e\n\x07\x04\0\x04\0\x02\x02\x01\x12\
1189 \x03-\x04\n\n\x0e\n\x07\x04\0\x04\0\x02\x02\x02\x12\x03-\r\x0e\n|\n\x04\
1190 \x04\0\x03\0\x12\x042\x02E\x03\x1an\x20Metadata\x20associated\x20with\
1191 \x20a\x20parent-child\x20relationship\x20appearing\x20in\x20a\n\x20[Plan\
1192 Node][google.spanner.v1.PlanNode].\n\n\x0c\n\x05\x04\0\x03\0\x01\x12\x03\
1193 2\n\x13\n3\n\x06\x04\0\x03\0\x02\0\x12\x034\x04\x1a\x1a$\x20The\x20node\
1194 \x20to\x20which\x20the\x20link\x20points.\n\n\x0e\n\x07\x04\0\x03\0\x02\
1195 \0\x05\x12\x034\x04\t\n\x0e\n\x07\x04\0\x03\0\x02\0\x01\x12\x034\n\x15\n\
1196 \x0e\n\x07\x04\0\x03\0\x02\0\x03\x12\x034\x18\x19\n\x84\x02\n\x06\x04\0\
1197 \x03\0\x02\x01\x12\x03:\x04\x14\x1a\xf4\x01\x20The\x20type\x20of\x20the\
1198 \x20link.\x20For\x20example,\x20in\x20Hash\x20Joins\x20this\x20could\x20\
1199 be\x20used\x20to\n\x20distinguish\x20between\x20the\x20build\x20child\
1200 \x20and\x20the\x20probe\x20child,\x20or\x20in\x20the\x20case\n\x20of\x20\
1201 the\x20child\x20being\x20an\x20output\x20variable,\x20to\x20represent\
1202 \x20the\x20tag\x20associated\n\x20with\x20the\x20output\x20variable.\n\n\
1203 \x0e\n\x07\x04\0\x03\0\x02\x01\x05\x12\x03:\x04\n\n\x0e\n\x07\x04\0\x03\
1204 \0\x02\x01\x01\x12\x03:\x0b\x0f\n\x0e\n\x07\x04\0\x03\0\x02\x01\x03\x12\
1205 \x03:\x12\x13\n\xfc\x03\n\x06\x04\0\x03\0\x02\x02\x12\x03D\x04\x18\x1a\
1206 \xec\x03\x20Only\x20present\x20if\x20the\x20child\x20node\x20is\x20[SCAL\
1207 AR][google.spanner.v1.PlanNode.Kind.SCALAR]\x20and\x20corresponds\n\x20t\
1208 o\x20an\x20output\x20variable\x20of\x20the\x20parent\x20node.\x20The\x20\
1209 field\x20carries\x20the\x20name\x20of\n\x20the\x20output\x20variable.\n\
1210 \x20For\x20example,\x20a\x20`TableScan`\x20operator\x20that\x20reads\x20\
1211 rows\x20from\x20a\x20table\x20will\n\x20have\x20child\x20links\x20to\x20\
1212 the\x20`SCALAR`\x20nodes\x20representing\x20the\x20output\x20variables\n\
1213 \x20created\x20for\x20each\x20column\x20that\x20is\x20read\x20by\x20the\
1214 \x20operator.\x20The\x20corresponding\n\x20`variable`\x20fields\x20will\
1215 \x20be\x20set\x20to\x20the\x20variable\x20names\x20assigned\x20to\x20the\
1216 \n\x20columns.\n\n\x0e\n\x07\x04\0\x03\0\x02\x02\x05\x12\x03D\x04\n\n\
1217 \x0e\n\x07\x04\0\x03\0\x02\x02\x01\x12\x03D\x0b\x13\n\x0e\n\x07\x04\0\
1218 \x03\0\x02\x02\x03\x12\x03D\x16\x17\n\x89\x01\n\x04\x04\0\x03\x01\x12\
1219 \x04I\x02S\x03\x1a{\x20Condensed\x20representation\x20of\x20a\x20node\
1220 \x20and\x20its\x20subtree.\x20Only\x20present\x20for\n\x20`SCALAR`\x20[P\
1221 lanNode(s)][google.spanner.v1.PlanNode].\n\n\x0c\n\x05\x04\0\x03\x01\x01\
1222 \x12\x03I\n\x1d\nW\n\x06\x04\0\x03\x01\x02\0\x12\x03K\x04\x1b\x1aH\x20A\
1223 \x20string\x20representation\x20of\x20the\x20expression\x20subtree\x20ro\
1224 oted\x20at\x20this\x20node.\n\n\x0e\n\x07\x04\0\x03\x01\x02\0\x05\x12\
1225 \x03K\x04\n\n\x0e\n\x07\x04\0\x03\x01\x02\0\x01\x12\x03K\x0b\x16\n\x0e\n\
1226 \x07\x04\0\x03\x01\x02\0\x03\x12\x03K\x19\x1a\n\xb4\x02\n\x06\x04\0\x03\
1227 \x01\x02\x01\x12\x03R\x04&\x1a\xa4\x02\x20A\x20mapping\x20of\x20(subquer\
1228 y\x20variable\x20name)\x20->\x20(subquery\x20node\x20id)\x20for\x20cases\
1229 \n\x20where\x20the\x20`description`\x20string\x20of\x20this\x20node\x20r\
1230 eferences\x20a\x20`SCALAR`\n\x20subquery\x20contained\x20in\x20the\x20ex\
1231 pression\x20subtree\x20rooted\x20at\x20this\x20node.\x20The\n\x20referen\
1232 ced\x20`SCALAR`\x20subquery\x20may\x20not\x20necessarily\x20be\x20a\x20d\
1233 irect\x20child\x20of\n\x20this\x20node.\n\n\x0e\n\x07\x04\0\x03\x01\x02\
1234 \x01\x06\x12\x03R\x04\x16\n\x0e\n\x07\x04\0\x03\x01\x02\x01\x01\x12\x03R\
1235 \x17!\n\x0e\n\x07\x04\0\x03\x01\x02\x01\x03\x12\x03R$%\n]\n\x04\x04\0\
1236 \x02\0\x12\x03V\x02\x12\x1aP\x20The\x20`PlanNode`'s\x20index\x20in\x20[n\
1237 ode\x20list][google.spanner.v1.QueryPlan.plan_nodes].\n\n\x0c\n\x05\x04\
1238 \0\x02\0\x05\x12\x03V\x02\x07\n\x0c\n\x05\x04\0\x02\0\x01\x12\x03V\x08\r\
1239 \n\x0c\n\x05\x04\0\x02\0\x03\x12\x03V\x10\x11\n\xc5\x02\n\x04\x04\0\x02\
1240 \x01\x12\x03]\x02\x10\x1a\xb7\x02\x20Used\x20to\x20determine\x20the\x20t\
1241 ype\x20of\x20node.\x20May\x20be\x20needed\x20for\x20visualizing\n\x20dif\
1242 ferent\x20kinds\x20of\x20nodes\x20differently.\x20For\x20example,\x20If\
1243 \x20the\x20node\x20is\x20a\n\x20[SCALAR][google.spanner.v1.PlanNode.Kind\
1244 .SCALAR]\x20node,\x20it\x20will\x20have\x20a\x20condensed\x20representat\
1245 ion\n\x20which\x20can\x20be\x20used\x20to\x20directly\x20embed\x20a\x20d\
1246 escription\x20of\x20the\x20node\x20in\x20its\n\x20parent.\n\n\x0c\n\x05\
1247 \x04\0\x02\x01\x06\x12\x03]\x02\x06\n\x0c\n\x05\x04\0\x02\x01\x01\x12\
1248 \x03]\x07\x0b\n\x0c\n\x05\x04\0\x02\x01\x03\x12\x03]\x0e\x0f\n-\n\x04\
1249 \x04\0\x02\x02\x12\x03`\x02\x1a\x1a\x20\x20The\x20display\x20name\x20for\
1250 \x20the\x20node.\n\n\x0c\n\x05\x04\0\x02\x02\x05\x12\x03`\x02\x08\n\x0c\
1251 \n\x05\x04\0\x02\x02\x01\x12\x03`\t\x15\n\x0c\n\x05\x04\0\x02\x02\x03\
1252 \x12\x03`\x18\x19\nR\n\x04\x04\0\x02\x03\x12\x03c\x02%\x1aE\x20List\x20o\
1253 f\x20child\x20node\x20`index`es\x20and\x20their\x20relationship\x20to\
1254 \x20this\x20parent.\n\n\x0c\n\x05\x04\0\x02\x03\x04\x12\x03c\x02\n\n\x0c\
1255 \n\x05\x04\0\x02\x03\x06\x12\x03c\x0b\x14\n\x0c\n\x05\x04\0\x02\x03\x01\
1256 \x12\x03c\x15\x20\n\x0c\n\x05\x04\0\x02\x03\x03\x12\x03c#$\nc\n\x04\x04\
1257 \0\x02\x04\x12\x03f\x02/\x1aV\x20Condensed\x20representation\x20for\x20[\
1258 SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR]\x20nodes.\n\n\x0c\n\x05\
1259 \x04\0\x02\x04\x06\x12\x03f\x02\x15\n\x0c\n\x05\x04\0\x02\x04\x01\x12\
1260 \x03f\x16*\n\x0c\n\x05\x04\0\x02\x04\x03\x12\x03f-.\n\x90\x02\n\x04\x04\
1261 \0\x02\x05\x12\x03p\x02&\x1a\x82\x02\x20Attributes\x20relevant\x20to\x20\
1262 the\x20node\x20contained\x20in\x20a\x20group\x20of\x20key-value\x20pairs\
1263 .\n\x20For\x20example,\x20a\x20Parameter\x20Reference\x20node\x20could\
1264 \x20have\x20the\x20following\n\x20information\x20in\x20its\x20metadata:\
1265 \n\n\x20\x20\x20\x20\x20{\n\x20\x20\x20\x20\x20\x20\x20\"parameter_refer\
1266 ence\":\x20\"param1\",\n\x20\x20\x20\x20\x20\x20\x20\"parameter_type\":\
1267 \x20\"array\"\n\x20\x20\x20\x20\x20}\n\n\x0c\n\x05\x04\0\x02\x05\x06\x12\
1268 \x03p\x02\x18\n\x0c\n\x05\x04\0\x02\x05\x01\x12\x03p\x19!\n\x0c\n\x05\
1269 \x04\0\x02\x05\x03\x12\x03p$%\n\xfe\x01\n\x04\x04\0\x02\x06\x12\x03v\x02\
1270 -\x1a\xf0\x01\x20The\x20execution\x20statistics\x20associated\x20with\
1271 \x20the\x20node,\x20contained\x20in\x20a\x20group\x20of\n\x20key-value\
1272 \x20pairs.\x20Only\x20present\x20if\x20the\x20plan\x20was\x20returned\
1273 \x20as\x20a\x20result\x20of\x20a\n\x20profile\x20query.\x20For\x20exampl\
1274 e,\x20number\x20of\x20executions,\x20number\x20of\x20rows/time\x20per\n\
1275 \x20execution\x20etc.\n\n\x0c\n\x05\x04\0\x02\x06\x06\x12\x03v\x02\x18\n\
1276 \x0c\n\x05\x04\0\x02\x06\x01\x12\x03v\x19(\n\x0c\n\x05\x04\0\x02\x06\x03\
1277 \x12\x03v+,\nL\n\x02\x04\x01\x12\x04z\0\x7f\x01\x1a@\x20Contains\x20an\
1278 \x20ordered\x20list\x20of\x20nodes\x20appearing\x20in\x20the\x20query\
1279 \x20plan.\n\n\n\n\x03\x04\x01\x01\x12\x03z\x08\x11\n\xcd\x01\n\x04\x04\
1280 \x01\x02\0\x12\x03~\x02#\x1a\xbf\x01\x20The\x20nodes\x20in\x20the\x20que\
1281 ry\x20plan.\x20Plan\x20nodes\x20are\x20returned\x20in\x20pre-order\x20st\
1282 arting\n\x20with\x20the\x20plan\x20root.\x20Each\x20[PlanNode][google.sp\
1283 anner.v1.PlanNode]'s\x20`id`\x20corresponds\x20to\x20its\x20index\x20in\
1284 \n\x20`plan_nodes`.\n\n\x0c\n\x05\x04\x01\x02\0\x04\x12\x03~\x02\n\n\x0c\
1285 \n\x05\x04\x01\x02\0\x06\x12\x03~\x0b\x13\n\x0c\n\x05\x04\x01\x02\0\x01\
1286 \x12\x03~\x14\x1e\n\x0c\n\x05\x04\x01\x02\0\x03\x12\x03~!\"b\x06proto3\
1287";
1288
1289static file_descriptor_proto_lazy: ::protobuf::rt::LazyV2<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::rt::LazyV2::INIT;
1290
1291fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto {
1292 ::protobuf::Message::parse_from_bytes(file_descriptor_proto_data).unwrap()
1293}
1294
1295pub fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto {
1296 file_descriptor_proto_lazy.get(|| {
1297 parse_descriptor_proto()
1298 })
1299}