tensorflow_serving_client/
trackable_object_graph.rs

1// This file is generated by rust-protobuf 2.14.0. Do not edit
2// @generated
3
4// https://github.com/rust-lang/rust-clippy/issues/702
5#![allow(unknown_lints)]
6#![allow(clippy::all)]
7
8#![cfg_attr(rustfmt, rustfmt_skip)]
9
10#![allow(box_pointers)]
11#![allow(dead_code)]
12#![allow(missing_docs)]
13#![allow(non_camel_case_types)]
14#![allow(non_snake_case)]
15#![allow(non_upper_case_globals)]
16#![allow(trivial_casts)]
17#![allow(unsafe_code)]
18#![allow(unused_imports)]
19#![allow(unused_results)]
20//! Generated file from `tensorflow/core/protobuf/trackable_object_graph.proto`
21
22use protobuf::Message as Message_imported_for_functions;
23use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions;
24
25/// Generated files are compatible only with the same version
26/// of protobuf runtime.
27// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_14_0;
28
29#[derive(PartialEq,Clone,Default)]
30pub struct TrackableObjectGraph {
31    // message fields
32    pub nodes: ::protobuf::RepeatedField<TrackableObjectGraph_TrackableObject>,
33    // special fields
34    pub unknown_fields: ::protobuf::UnknownFields,
35    pub cached_size: ::protobuf::CachedSize,
36}
37
38impl<'a> ::std::default::Default for &'a TrackableObjectGraph {
39    fn default() -> &'a TrackableObjectGraph {
40        <TrackableObjectGraph as ::protobuf::Message>::default_instance()
41    }
42}
43
44impl TrackableObjectGraph {
45    pub fn new() -> TrackableObjectGraph {
46        ::std::default::Default::default()
47    }
48
49    // repeated .tensorflow.TrackableObjectGraph.TrackableObject nodes = 1;
50
51
52    pub fn get_nodes(&self) -> &[TrackableObjectGraph_TrackableObject] {
53        &self.nodes
54    }
55    pub fn clear_nodes(&mut self) {
56        self.nodes.clear();
57    }
58
59    // Param is passed by value, moved
60    pub fn set_nodes(&mut self, v: ::protobuf::RepeatedField<TrackableObjectGraph_TrackableObject>) {
61        self.nodes = v;
62    }
63
64    // Mutable pointer to the field.
65    pub fn mut_nodes(&mut self) -> &mut ::protobuf::RepeatedField<TrackableObjectGraph_TrackableObject> {
66        &mut self.nodes
67    }
68
69    // Take field
70    pub fn take_nodes(&mut self) -> ::protobuf::RepeatedField<TrackableObjectGraph_TrackableObject> {
71        ::std::mem::replace(&mut self.nodes, ::protobuf::RepeatedField::new())
72    }
73}
74
75impl ::protobuf::Message for TrackableObjectGraph {
76    fn is_initialized(&self) -> bool {
77        for v in &self.nodes {
78            if !v.is_initialized() {
79                return false;
80            }
81        };
82        true
83    }
84
85    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
86        while !is.eof()? {
87            let (field_number, wire_type) = is.read_tag_unpack()?;
88            match field_number {
89                1 => {
90                    ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.nodes)?;
91                },
92                _ => {
93                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
94                },
95            };
96        }
97        ::std::result::Result::Ok(())
98    }
99
100    // Compute sizes of nested messages
101    #[allow(unused_variables)]
102    fn compute_size(&self) -> u32 {
103        let mut my_size = 0;
104        for value in &self.nodes {
105            let len = value.compute_size();
106            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
107        };
108        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
109        self.cached_size.set(my_size);
110        my_size
111    }
112
113    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
114        for v in &self.nodes {
115            os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?;
116            os.write_raw_varint32(v.get_cached_size())?;
117            v.write_to_with_cached_sizes(os)?;
118        };
119        os.write_unknown_fields(self.get_unknown_fields())?;
120        ::std::result::Result::Ok(())
121    }
122
123    fn get_cached_size(&self) -> u32 {
124        self.cached_size.get()
125    }
126
127    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
128        &self.unknown_fields
129    }
130
131    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
132        &mut self.unknown_fields
133    }
134
135    fn as_any(&self) -> &dyn (::std::any::Any) {
136        self as &dyn (::std::any::Any)
137    }
138    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
139        self as &mut dyn (::std::any::Any)
140    }
141    fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
142        self
143    }
144
145    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
146        Self::descriptor_static()
147    }
148
149    fn new() -> TrackableObjectGraph {
150        TrackableObjectGraph::new()
151    }
152
153    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
154        static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
155        unsafe {
156            descriptor.get(|| {
157                let mut fields = ::std::vec::Vec::new();
158                fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<TrackableObjectGraph_TrackableObject>>(
159                    "nodes",
160                    |m: &TrackableObjectGraph| { &m.nodes },
161                    |m: &mut TrackableObjectGraph| { &mut m.nodes },
162                ));
163                ::protobuf::reflect::MessageDescriptor::new_pb_name::<TrackableObjectGraph>(
164                    "TrackableObjectGraph",
165                    fields,
166                    file_descriptor_proto()
167                )
168            })
169        }
170    }
171
172    fn default_instance() -> &'static TrackableObjectGraph {
173        static mut instance: ::protobuf::lazy::Lazy<TrackableObjectGraph> = ::protobuf::lazy::Lazy::INIT;
174        unsafe {
175            instance.get(TrackableObjectGraph::new)
176        }
177    }
178}
179
180impl ::protobuf::Clear for TrackableObjectGraph {
181    fn clear(&mut self) {
182        self.nodes.clear();
183        self.unknown_fields.clear();
184    }
185}
186
187impl ::std::fmt::Debug for TrackableObjectGraph {
188    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
189        ::protobuf::text_format::fmt(self, f)
190    }
191}
192
193impl ::protobuf::reflect::ProtobufValue for TrackableObjectGraph {
194    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
195        ::protobuf::reflect::ReflectValueRef::Message(self)
196    }
197}
198
199#[derive(PartialEq,Clone,Default)]
200pub struct TrackableObjectGraph_TrackableObject {
201    // message fields
202    pub children: ::protobuf::RepeatedField<TrackableObjectGraph_TrackableObject_ObjectReference>,
203    pub attributes: ::protobuf::RepeatedField<TrackableObjectGraph_TrackableObject_SerializedTensor>,
204    pub slot_variables: ::protobuf::RepeatedField<TrackableObjectGraph_TrackableObject_SlotVariableReference>,
205    // special fields
206    pub unknown_fields: ::protobuf::UnknownFields,
207    pub cached_size: ::protobuf::CachedSize,
208}
209
210impl<'a> ::std::default::Default for &'a TrackableObjectGraph_TrackableObject {
211    fn default() -> &'a TrackableObjectGraph_TrackableObject {
212        <TrackableObjectGraph_TrackableObject as ::protobuf::Message>::default_instance()
213    }
214}
215
216impl TrackableObjectGraph_TrackableObject {
217    pub fn new() -> TrackableObjectGraph_TrackableObject {
218        ::std::default::Default::default()
219    }
220
221    // repeated .tensorflow.TrackableObjectGraph.TrackableObject.ObjectReference children = 1;
222
223
224    pub fn get_children(&self) -> &[TrackableObjectGraph_TrackableObject_ObjectReference] {
225        &self.children
226    }
227    pub fn clear_children(&mut self) {
228        self.children.clear();
229    }
230
231    // Param is passed by value, moved
232    pub fn set_children(&mut self, v: ::protobuf::RepeatedField<TrackableObjectGraph_TrackableObject_ObjectReference>) {
233        self.children = v;
234    }
235
236    // Mutable pointer to the field.
237    pub fn mut_children(&mut self) -> &mut ::protobuf::RepeatedField<TrackableObjectGraph_TrackableObject_ObjectReference> {
238        &mut self.children
239    }
240
241    // Take field
242    pub fn take_children(&mut self) -> ::protobuf::RepeatedField<TrackableObjectGraph_TrackableObject_ObjectReference> {
243        ::std::mem::replace(&mut self.children, ::protobuf::RepeatedField::new())
244    }
245
246    // repeated .tensorflow.TrackableObjectGraph.TrackableObject.SerializedTensor attributes = 2;
247
248
249    pub fn get_attributes(&self) -> &[TrackableObjectGraph_TrackableObject_SerializedTensor] {
250        &self.attributes
251    }
252    pub fn clear_attributes(&mut self) {
253        self.attributes.clear();
254    }
255
256    // Param is passed by value, moved
257    pub fn set_attributes(&mut self, v: ::protobuf::RepeatedField<TrackableObjectGraph_TrackableObject_SerializedTensor>) {
258        self.attributes = v;
259    }
260
261    // Mutable pointer to the field.
262    pub fn mut_attributes(&mut self) -> &mut ::protobuf::RepeatedField<TrackableObjectGraph_TrackableObject_SerializedTensor> {
263        &mut self.attributes
264    }
265
266    // Take field
267    pub fn take_attributes(&mut self) -> ::protobuf::RepeatedField<TrackableObjectGraph_TrackableObject_SerializedTensor> {
268        ::std::mem::replace(&mut self.attributes, ::protobuf::RepeatedField::new())
269    }
270
271    // repeated .tensorflow.TrackableObjectGraph.TrackableObject.SlotVariableReference slot_variables = 3;
272
273
274    pub fn get_slot_variables(&self) -> &[TrackableObjectGraph_TrackableObject_SlotVariableReference] {
275        &self.slot_variables
276    }
277    pub fn clear_slot_variables(&mut self) {
278        self.slot_variables.clear();
279    }
280
281    // Param is passed by value, moved
282    pub fn set_slot_variables(&mut self, v: ::protobuf::RepeatedField<TrackableObjectGraph_TrackableObject_SlotVariableReference>) {
283        self.slot_variables = v;
284    }
285
286    // Mutable pointer to the field.
287    pub fn mut_slot_variables(&mut self) -> &mut ::protobuf::RepeatedField<TrackableObjectGraph_TrackableObject_SlotVariableReference> {
288        &mut self.slot_variables
289    }
290
291    // Take field
292    pub fn take_slot_variables(&mut self) -> ::protobuf::RepeatedField<TrackableObjectGraph_TrackableObject_SlotVariableReference> {
293        ::std::mem::replace(&mut self.slot_variables, ::protobuf::RepeatedField::new())
294    }
295}
296
297impl ::protobuf::Message for TrackableObjectGraph_TrackableObject {
298    fn is_initialized(&self) -> bool {
299        for v in &self.children {
300            if !v.is_initialized() {
301                return false;
302            }
303        };
304        for v in &self.attributes {
305            if !v.is_initialized() {
306                return false;
307            }
308        };
309        for v in &self.slot_variables {
310            if !v.is_initialized() {
311                return false;
312            }
313        };
314        true
315    }
316
317    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
318        while !is.eof()? {
319            let (field_number, wire_type) = is.read_tag_unpack()?;
320            match field_number {
321                1 => {
322                    ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.children)?;
323                },
324                2 => {
325                    ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.attributes)?;
326                },
327                3 => {
328                    ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.slot_variables)?;
329                },
330                _ => {
331                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
332                },
333            };
334        }
335        ::std::result::Result::Ok(())
336    }
337
338    // Compute sizes of nested messages
339    #[allow(unused_variables)]
340    fn compute_size(&self) -> u32 {
341        let mut my_size = 0;
342        for value in &self.children {
343            let len = value.compute_size();
344            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
345        };
346        for value in &self.attributes {
347            let len = value.compute_size();
348            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
349        };
350        for value in &self.slot_variables {
351            let len = value.compute_size();
352            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
353        };
354        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
355        self.cached_size.set(my_size);
356        my_size
357    }
358
359    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
360        for v in &self.children {
361            os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?;
362            os.write_raw_varint32(v.get_cached_size())?;
363            v.write_to_with_cached_sizes(os)?;
364        };
365        for v in &self.attributes {
366            os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?;
367            os.write_raw_varint32(v.get_cached_size())?;
368            v.write_to_with_cached_sizes(os)?;
369        };
370        for v in &self.slot_variables {
371            os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?;
372            os.write_raw_varint32(v.get_cached_size())?;
373            v.write_to_with_cached_sizes(os)?;
374        };
375        os.write_unknown_fields(self.get_unknown_fields())?;
376        ::std::result::Result::Ok(())
377    }
378
379    fn get_cached_size(&self) -> u32 {
380        self.cached_size.get()
381    }
382
383    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
384        &self.unknown_fields
385    }
386
387    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
388        &mut self.unknown_fields
389    }
390
391    fn as_any(&self) -> &dyn (::std::any::Any) {
392        self as &dyn (::std::any::Any)
393    }
394    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
395        self as &mut dyn (::std::any::Any)
396    }
397    fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
398        self
399    }
400
401    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
402        Self::descriptor_static()
403    }
404
405    fn new() -> TrackableObjectGraph_TrackableObject {
406        TrackableObjectGraph_TrackableObject::new()
407    }
408
409    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
410        static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
411        unsafe {
412            descriptor.get(|| {
413                let mut fields = ::std::vec::Vec::new();
414                fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<TrackableObjectGraph_TrackableObject_ObjectReference>>(
415                    "children",
416                    |m: &TrackableObjectGraph_TrackableObject| { &m.children },
417                    |m: &mut TrackableObjectGraph_TrackableObject| { &mut m.children },
418                ));
419                fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<TrackableObjectGraph_TrackableObject_SerializedTensor>>(
420                    "attributes",
421                    |m: &TrackableObjectGraph_TrackableObject| { &m.attributes },
422                    |m: &mut TrackableObjectGraph_TrackableObject| { &mut m.attributes },
423                ));
424                fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<TrackableObjectGraph_TrackableObject_SlotVariableReference>>(
425                    "slot_variables",
426                    |m: &TrackableObjectGraph_TrackableObject| { &m.slot_variables },
427                    |m: &mut TrackableObjectGraph_TrackableObject| { &mut m.slot_variables },
428                ));
429                ::protobuf::reflect::MessageDescriptor::new_pb_name::<TrackableObjectGraph_TrackableObject>(
430                    "TrackableObjectGraph.TrackableObject",
431                    fields,
432                    file_descriptor_proto()
433                )
434            })
435        }
436    }
437
438    fn default_instance() -> &'static TrackableObjectGraph_TrackableObject {
439        static mut instance: ::protobuf::lazy::Lazy<TrackableObjectGraph_TrackableObject> = ::protobuf::lazy::Lazy::INIT;
440        unsafe {
441            instance.get(TrackableObjectGraph_TrackableObject::new)
442        }
443    }
444}
445
446impl ::protobuf::Clear for TrackableObjectGraph_TrackableObject {
447    fn clear(&mut self) {
448        self.children.clear();
449        self.attributes.clear();
450        self.slot_variables.clear();
451        self.unknown_fields.clear();
452    }
453}
454
455impl ::std::fmt::Debug for TrackableObjectGraph_TrackableObject {
456    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
457        ::protobuf::text_format::fmt(self, f)
458    }
459}
460
461impl ::protobuf::reflect::ProtobufValue for TrackableObjectGraph_TrackableObject {
462    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
463        ::protobuf::reflect::ReflectValueRef::Message(self)
464    }
465}
466
467#[derive(PartialEq,Clone,Default)]
468pub struct TrackableObjectGraph_TrackableObject_ObjectReference {
469    // message fields
470    pub node_id: i32,
471    pub local_name: ::std::string::String,
472    // special fields
473    pub unknown_fields: ::protobuf::UnknownFields,
474    pub cached_size: ::protobuf::CachedSize,
475}
476
477impl<'a> ::std::default::Default for &'a TrackableObjectGraph_TrackableObject_ObjectReference {
478    fn default() -> &'a TrackableObjectGraph_TrackableObject_ObjectReference {
479        <TrackableObjectGraph_TrackableObject_ObjectReference as ::protobuf::Message>::default_instance()
480    }
481}
482
483impl TrackableObjectGraph_TrackableObject_ObjectReference {
484    pub fn new() -> TrackableObjectGraph_TrackableObject_ObjectReference {
485        ::std::default::Default::default()
486    }
487
488    // int32 node_id = 1;
489
490
491    pub fn get_node_id(&self) -> i32 {
492        self.node_id
493    }
494    pub fn clear_node_id(&mut self) {
495        self.node_id = 0;
496    }
497
498    // Param is passed by value, moved
499    pub fn set_node_id(&mut self, v: i32) {
500        self.node_id = v;
501    }
502
503    // string local_name = 2;
504
505
506    pub fn get_local_name(&self) -> &str {
507        &self.local_name
508    }
509    pub fn clear_local_name(&mut self) {
510        self.local_name.clear();
511    }
512
513    // Param is passed by value, moved
514    pub fn set_local_name(&mut self, v: ::std::string::String) {
515        self.local_name = v;
516    }
517
518    // Mutable pointer to the field.
519    // If field is not initialized, it is initialized with default value first.
520    pub fn mut_local_name(&mut self) -> &mut ::std::string::String {
521        &mut self.local_name
522    }
523
524    // Take field
525    pub fn take_local_name(&mut self) -> ::std::string::String {
526        ::std::mem::replace(&mut self.local_name, ::std::string::String::new())
527    }
528}
529
530impl ::protobuf::Message for TrackableObjectGraph_TrackableObject_ObjectReference {
531    fn is_initialized(&self) -> bool {
532        true
533    }
534
535    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
536        while !is.eof()? {
537            let (field_number, wire_type) = is.read_tag_unpack()?;
538            match field_number {
539                1 => {
540                    if wire_type != ::protobuf::wire_format::WireTypeVarint {
541                        return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
542                    }
543                    let tmp = is.read_int32()?;
544                    self.node_id = tmp;
545                },
546                2 => {
547                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.local_name)?;
548                },
549                _ => {
550                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
551                },
552            };
553        }
554        ::std::result::Result::Ok(())
555    }
556
557    // Compute sizes of nested messages
558    #[allow(unused_variables)]
559    fn compute_size(&self) -> u32 {
560        let mut my_size = 0;
561        if self.node_id != 0 {
562            my_size += ::protobuf::rt::value_size(1, self.node_id, ::protobuf::wire_format::WireTypeVarint);
563        }
564        if !self.local_name.is_empty() {
565            my_size += ::protobuf::rt::string_size(2, &self.local_name);
566        }
567        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
568        self.cached_size.set(my_size);
569        my_size
570    }
571
572    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
573        if self.node_id != 0 {
574            os.write_int32(1, self.node_id)?;
575        }
576        if !self.local_name.is_empty() {
577            os.write_string(2, &self.local_name)?;
578        }
579        os.write_unknown_fields(self.get_unknown_fields())?;
580        ::std::result::Result::Ok(())
581    }
582
583    fn get_cached_size(&self) -> u32 {
584        self.cached_size.get()
585    }
586
587    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
588        &self.unknown_fields
589    }
590
591    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
592        &mut self.unknown_fields
593    }
594
595    fn as_any(&self) -> &dyn (::std::any::Any) {
596        self as &dyn (::std::any::Any)
597    }
598    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
599        self as &mut dyn (::std::any::Any)
600    }
601    fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
602        self
603    }
604
605    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
606        Self::descriptor_static()
607    }
608
609    fn new() -> TrackableObjectGraph_TrackableObject_ObjectReference {
610        TrackableObjectGraph_TrackableObject_ObjectReference::new()
611    }
612
613    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
614        static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
615        unsafe {
616            descriptor.get(|| {
617                let mut fields = ::std::vec::Vec::new();
618                fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt32>(
619                    "node_id",
620                    |m: &TrackableObjectGraph_TrackableObject_ObjectReference| { &m.node_id },
621                    |m: &mut TrackableObjectGraph_TrackableObject_ObjectReference| { &mut m.node_id },
622                ));
623                fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
624                    "local_name",
625                    |m: &TrackableObjectGraph_TrackableObject_ObjectReference| { &m.local_name },
626                    |m: &mut TrackableObjectGraph_TrackableObject_ObjectReference| { &mut m.local_name },
627                ));
628                ::protobuf::reflect::MessageDescriptor::new_pb_name::<TrackableObjectGraph_TrackableObject_ObjectReference>(
629                    "TrackableObjectGraph.TrackableObject.ObjectReference",
630                    fields,
631                    file_descriptor_proto()
632                )
633            })
634        }
635    }
636
637    fn default_instance() -> &'static TrackableObjectGraph_TrackableObject_ObjectReference {
638        static mut instance: ::protobuf::lazy::Lazy<TrackableObjectGraph_TrackableObject_ObjectReference> = ::protobuf::lazy::Lazy::INIT;
639        unsafe {
640            instance.get(TrackableObjectGraph_TrackableObject_ObjectReference::new)
641        }
642    }
643}
644
645impl ::protobuf::Clear for TrackableObjectGraph_TrackableObject_ObjectReference {
646    fn clear(&mut self) {
647        self.node_id = 0;
648        self.local_name.clear();
649        self.unknown_fields.clear();
650    }
651}
652
653impl ::std::fmt::Debug for TrackableObjectGraph_TrackableObject_ObjectReference {
654    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
655        ::protobuf::text_format::fmt(self, f)
656    }
657}
658
659impl ::protobuf::reflect::ProtobufValue for TrackableObjectGraph_TrackableObject_ObjectReference {
660    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
661        ::protobuf::reflect::ReflectValueRef::Message(self)
662    }
663}
664
665#[derive(PartialEq,Clone,Default)]
666pub struct TrackableObjectGraph_TrackableObject_SerializedTensor {
667    // message fields
668    pub name: ::std::string::String,
669    pub full_name: ::std::string::String,
670    pub checkpoint_key: ::std::string::String,
671    pub optional_restore: bool,
672    // special fields
673    pub unknown_fields: ::protobuf::UnknownFields,
674    pub cached_size: ::protobuf::CachedSize,
675}
676
677impl<'a> ::std::default::Default for &'a TrackableObjectGraph_TrackableObject_SerializedTensor {
678    fn default() -> &'a TrackableObjectGraph_TrackableObject_SerializedTensor {
679        <TrackableObjectGraph_TrackableObject_SerializedTensor as ::protobuf::Message>::default_instance()
680    }
681}
682
683impl TrackableObjectGraph_TrackableObject_SerializedTensor {
684    pub fn new() -> TrackableObjectGraph_TrackableObject_SerializedTensor {
685        ::std::default::Default::default()
686    }
687
688    // string name = 1;
689
690
691    pub fn get_name(&self) -> &str {
692        &self.name
693    }
694    pub fn clear_name(&mut self) {
695        self.name.clear();
696    }
697
698    // Param is passed by value, moved
699    pub fn set_name(&mut self, v: ::std::string::String) {
700        self.name = v;
701    }
702
703    // Mutable pointer to the field.
704    // If field is not initialized, it is initialized with default value first.
705    pub fn mut_name(&mut self) -> &mut ::std::string::String {
706        &mut self.name
707    }
708
709    // Take field
710    pub fn take_name(&mut self) -> ::std::string::String {
711        ::std::mem::replace(&mut self.name, ::std::string::String::new())
712    }
713
714    // string full_name = 2;
715
716
717    pub fn get_full_name(&self) -> &str {
718        &self.full_name
719    }
720    pub fn clear_full_name(&mut self) {
721        self.full_name.clear();
722    }
723
724    // Param is passed by value, moved
725    pub fn set_full_name(&mut self, v: ::std::string::String) {
726        self.full_name = v;
727    }
728
729    // Mutable pointer to the field.
730    // If field is not initialized, it is initialized with default value first.
731    pub fn mut_full_name(&mut self) -> &mut ::std::string::String {
732        &mut self.full_name
733    }
734
735    // Take field
736    pub fn take_full_name(&mut self) -> ::std::string::String {
737        ::std::mem::replace(&mut self.full_name, ::std::string::String::new())
738    }
739
740    // string checkpoint_key = 3;
741
742
743    pub fn get_checkpoint_key(&self) -> &str {
744        &self.checkpoint_key
745    }
746    pub fn clear_checkpoint_key(&mut self) {
747        self.checkpoint_key.clear();
748    }
749
750    // Param is passed by value, moved
751    pub fn set_checkpoint_key(&mut self, v: ::std::string::String) {
752        self.checkpoint_key = v;
753    }
754
755    // Mutable pointer to the field.
756    // If field is not initialized, it is initialized with default value first.
757    pub fn mut_checkpoint_key(&mut self) -> &mut ::std::string::String {
758        &mut self.checkpoint_key
759    }
760
761    // Take field
762    pub fn take_checkpoint_key(&mut self) -> ::std::string::String {
763        ::std::mem::replace(&mut self.checkpoint_key, ::std::string::String::new())
764    }
765
766    // bool optional_restore = 4;
767
768
769    pub fn get_optional_restore(&self) -> bool {
770        self.optional_restore
771    }
772    pub fn clear_optional_restore(&mut self) {
773        self.optional_restore = false;
774    }
775
776    // Param is passed by value, moved
777    pub fn set_optional_restore(&mut self, v: bool) {
778        self.optional_restore = v;
779    }
780}
781
782impl ::protobuf::Message for TrackableObjectGraph_TrackableObject_SerializedTensor {
783    fn is_initialized(&self) -> bool {
784        true
785    }
786
787    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
788        while !is.eof()? {
789            let (field_number, wire_type) = is.read_tag_unpack()?;
790            match field_number {
791                1 => {
792                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?;
793                },
794                2 => {
795                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.full_name)?;
796                },
797                3 => {
798                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.checkpoint_key)?;
799                },
800                4 => {
801                    if wire_type != ::protobuf::wire_format::WireTypeVarint {
802                        return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
803                    }
804                    let tmp = is.read_bool()?;
805                    self.optional_restore = tmp;
806                },
807                _ => {
808                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
809                },
810            };
811        }
812        ::std::result::Result::Ok(())
813    }
814
815    // Compute sizes of nested messages
816    #[allow(unused_variables)]
817    fn compute_size(&self) -> u32 {
818        let mut my_size = 0;
819        if !self.name.is_empty() {
820            my_size += ::protobuf::rt::string_size(1, &self.name);
821        }
822        if !self.full_name.is_empty() {
823            my_size += ::protobuf::rt::string_size(2, &self.full_name);
824        }
825        if !self.checkpoint_key.is_empty() {
826            my_size += ::protobuf::rt::string_size(3, &self.checkpoint_key);
827        }
828        if self.optional_restore != false {
829            my_size += 2;
830        }
831        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
832        self.cached_size.set(my_size);
833        my_size
834    }
835
836    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
837        if !self.name.is_empty() {
838            os.write_string(1, &self.name)?;
839        }
840        if !self.full_name.is_empty() {
841            os.write_string(2, &self.full_name)?;
842        }
843        if !self.checkpoint_key.is_empty() {
844            os.write_string(3, &self.checkpoint_key)?;
845        }
846        if self.optional_restore != false {
847            os.write_bool(4, self.optional_restore)?;
848        }
849        os.write_unknown_fields(self.get_unknown_fields())?;
850        ::std::result::Result::Ok(())
851    }
852
853    fn get_cached_size(&self) -> u32 {
854        self.cached_size.get()
855    }
856
857    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
858        &self.unknown_fields
859    }
860
861    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
862        &mut self.unknown_fields
863    }
864
865    fn as_any(&self) -> &dyn (::std::any::Any) {
866        self as &dyn (::std::any::Any)
867    }
868    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
869        self as &mut dyn (::std::any::Any)
870    }
871    fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
872        self
873    }
874
875    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
876        Self::descriptor_static()
877    }
878
879    fn new() -> TrackableObjectGraph_TrackableObject_SerializedTensor {
880        TrackableObjectGraph_TrackableObject_SerializedTensor::new()
881    }
882
883    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
884        static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
885        unsafe {
886            descriptor.get(|| {
887                let mut fields = ::std::vec::Vec::new();
888                fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
889                    "name",
890                    |m: &TrackableObjectGraph_TrackableObject_SerializedTensor| { &m.name },
891                    |m: &mut TrackableObjectGraph_TrackableObject_SerializedTensor| { &mut m.name },
892                ));
893                fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
894                    "full_name",
895                    |m: &TrackableObjectGraph_TrackableObject_SerializedTensor| { &m.full_name },
896                    |m: &mut TrackableObjectGraph_TrackableObject_SerializedTensor| { &mut m.full_name },
897                ));
898                fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
899                    "checkpoint_key",
900                    |m: &TrackableObjectGraph_TrackableObject_SerializedTensor| { &m.checkpoint_key },
901                    |m: &mut TrackableObjectGraph_TrackableObject_SerializedTensor| { &mut m.checkpoint_key },
902                ));
903                fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBool>(
904                    "optional_restore",
905                    |m: &TrackableObjectGraph_TrackableObject_SerializedTensor| { &m.optional_restore },
906                    |m: &mut TrackableObjectGraph_TrackableObject_SerializedTensor| { &mut m.optional_restore },
907                ));
908                ::protobuf::reflect::MessageDescriptor::new_pb_name::<TrackableObjectGraph_TrackableObject_SerializedTensor>(
909                    "TrackableObjectGraph.TrackableObject.SerializedTensor",
910                    fields,
911                    file_descriptor_proto()
912                )
913            })
914        }
915    }
916
917    fn default_instance() -> &'static TrackableObjectGraph_TrackableObject_SerializedTensor {
918        static mut instance: ::protobuf::lazy::Lazy<TrackableObjectGraph_TrackableObject_SerializedTensor> = ::protobuf::lazy::Lazy::INIT;
919        unsafe {
920            instance.get(TrackableObjectGraph_TrackableObject_SerializedTensor::new)
921        }
922    }
923}
924
925impl ::protobuf::Clear for TrackableObjectGraph_TrackableObject_SerializedTensor {
926    fn clear(&mut self) {
927        self.name.clear();
928        self.full_name.clear();
929        self.checkpoint_key.clear();
930        self.optional_restore = false;
931        self.unknown_fields.clear();
932    }
933}
934
935impl ::std::fmt::Debug for TrackableObjectGraph_TrackableObject_SerializedTensor {
936    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
937        ::protobuf::text_format::fmt(self, f)
938    }
939}
940
941impl ::protobuf::reflect::ProtobufValue for TrackableObjectGraph_TrackableObject_SerializedTensor {
942    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
943        ::protobuf::reflect::ReflectValueRef::Message(self)
944    }
945}
946
947#[derive(PartialEq,Clone,Default)]
948pub struct TrackableObjectGraph_TrackableObject_SlotVariableReference {
949    // message fields
950    pub original_variable_node_id: i32,
951    pub slot_name: ::std::string::String,
952    pub slot_variable_node_id: i32,
953    // special fields
954    pub unknown_fields: ::protobuf::UnknownFields,
955    pub cached_size: ::protobuf::CachedSize,
956}
957
958impl<'a> ::std::default::Default for &'a TrackableObjectGraph_TrackableObject_SlotVariableReference {
959    fn default() -> &'a TrackableObjectGraph_TrackableObject_SlotVariableReference {
960        <TrackableObjectGraph_TrackableObject_SlotVariableReference as ::protobuf::Message>::default_instance()
961    }
962}
963
964impl TrackableObjectGraph_TrackableObject_SlotVariableReference {
965    pub fn new() -> TrackableObjectGraph_TrackableObject_SlotVariableReference {
966        ::std::default::Default::default()
967    }
968
969    // int32 original_variable_node_id = 1;
970
971
972    pub fn get_original_variable_node_id(&self) -> i32 {
973        self.original_variable_node_id
974    }
975    pub fn clear_original_variable_node_id(&mut self) {
976        self.original_variable_node_id = 0;
977    }
978
979    // Param is passed by value, moved
980    pub fn set_original_variable_node_id(&mut self, v: i32) {
981        self.original_variable_node_id = v;
982    }
983
984    // string slot_name = 2;
985
986
987    pub fn get_slot_name(&self) -> &str {
988        &self.slot_name
989    }
990    pub fn clear_slot_name(&mut self) {
991        self.slot_name.clear();
992    }
993
994    // Param is passed by value, moved
995    pub fn set_slot_name(&mut self, v: ::std::string::String) {
996        self.slot_name = v;
997    }
998
999    // Mutable pointer to the field.
1000    // If field is not initialized, it is initialized with default value first.
1001    pub fn mut_slot_name(&mut self) -> &mut ::std::string::String {
1002        &mut self.slot_name
1003    }
1004
1005    // Take field
1006    pub fn take_slot_name(&mut self) -> ::std::string::String {
1007        ::std::mem::replace(&mut self.slot_name, ::std::string::String::new())
1008    }
1009
1010    // int32 slot_variable_node_id = 3;
1011
1012
1013    pub fn get_slot_variable_node_id(&self) -> i32 {
1014        self.slot_variable_node_id
1015    }
1016    pub fn clear_slot_variable_node_id(&mut self) {
1017        self.slot_variable_node_id = 0;
1018    }
1019
1020    // Param is passed by value, moved
1021    pub fn set_slot_variable_node_id(&mut self, v: i32) {
1022        self.slot_variable_node_id = v;
1023    }
1024}
1025
1026impl ::protobuf::Message for TrackableObjectGraph_TrackableObject_SlotVariableReference {
1027    fn is_initialized(&self) -> bool {
1028        true
1029    }
1030
1031    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
1032        while !is.eof()? {
1033            let (field_number, wire_type) = is.read_tag_unpack()?;
1034            match field_number {
1035                1 => {
1036                    if wire_type != ::protobuf::wire_format::WireTypeVarint {
1037                        return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
1038                    }
1039                    let tmp = is.read_int32()?;
1040                    self.original_variable_node_id = tmp;
1041                },
1042                2 => {
1043                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.slot_name)?;
1044                },
1045                3 => {
1046                    if wire_type != ::protobuf::wire_format::WireTypeVarint {
1047                        return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
1048                    }
1049                    let tmp = is.read_int32()?;
1050                    self.slot_variable_node_id = tmp;
1051                },
1052                _ => {
1053                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
1054                },
1055            };
1056        }
1057        ::std::result::Result::Ok(())
1058    }
1059
1060    // Compute sizes of nested messages
1061    #[allow(unused_variables)]
1062    fn compute_size(&self) -> u32 {
1063        let mut my_size = 0;
1064        if self.original_variable_node_id != 0 {
1065            my_size += ::protobuf::rt::value_size(1, self.original_variable_node_id, ::protobuf::wire_format::WireTypeVarint);
1066        }
1067        if !self.slot_name.is_empty() {
1068            my_size += ::protobuf::rt::string_size(2, &self.slot_name);
1069        }
1070        if self.slot_variable_node_id != 0 {
1071            my_size += ::protobuf::rt::value_size(3, self.slot_variable_node_id, ::protobuf::wire_format::WireTypeVarint);
1072        }
1073        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
1074        self.cached_size.set(my_size);
1075        my_size
1076    }
1077
1078    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
1079        if self.original_variable_node_id != 0 {
1080            os.write_int32(1, self.original_variable_node_id)?;
1081        }
1082        if !self.slot_name.is_empty() {
1083            os.write_string(2, &self.slot_name)?;
1084        }
1085        if self.slot_variable_node_id != 0 {
1086            os.write_int32(3, self.slot_variable_node_id)?;
1087        }
1088        os.write_unknown_fields(self.get_unknown_fields())?;
1089        ::std::result::Result::Ok(())
1090    }
1091
1092    fn get_cached_size(&self) -> u32 {
1093        self.cached_size.get()
1094    }
1095
1096    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
1097        &self.unknown_fields
1098    }
1099
1100    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
1101        &mut self.unknown_fields
1102    }
1103
1104    fn as_any(&self) -> &dyn (::std::any::Any) {
1105        self as &dyn (::std::any::Any)
1106    }
1107    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
1108        self as &mut dyn (::std::any::Any)
1109    }
1110    fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
1111        self
1112    }
1113
1114    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
1115        Self::descriptor_static()
1116    }
1117
1118    fn new() -> TrackableObjectGraph_TrackableObject_SlotVariableReference {
1119        TrackableObjectGraph_TrackableObject_SlotVariableReference::new()
1120    }
1121
1122    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
1123        static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
1124        unsafe {
1125            descriptor.get(|| {
1126                let mut fields = ::std::vec::Vec::new();
1127                fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt32>(
1128                    "original_variable_node_id",
1129                    |m: &TrackableObjectGraph_TrackableObject_SlotVariableReference| { &m.original_variable_node_id },
1130                    |m: &mut TrackableObjectGraph_TrackableObject_SlotVariableReference| { &mut m.original_variable_node_id },
1131                ));
1132                fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
1133                    "slot_name",
1134                    |m: &TrackableObjectGraph_TrackableObject_SlotVariableReference| { &m.slot_name },
1135                    |m: &mut TrackableObjectGraph_TrackableObject_SlotVariableReference| { &mut m.slot_name },
1136                ));
1137                fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt32>(
1138                    "slot_variable_node_id",
1139                    |m: &TrackableObjectGraph_TrackableObject_SlotVariableReference| { &m.slot_variable_node_id },
1140                    |m: &mut TrackableObjectGraph_TrackableObject_SlotVariableReference| { &mut m.slot_variable_node_id },
1141                ));
1142                ::protobuf::reflect::MessageDescriptor::new_pb_name::<TrackableObjectGraph_TrackableObject_SlotVariableReference>(
1143                    "TrackableObjectGraph.TrackableObject.SlotVariableReference",
1144                    fields,
1145                    file_descriptor_proto()
1146                )
1147            })
1148        }
1149    }
1150
1151    fn default_instance() -> &'static TrackableObjectGraph_TrackableObject_SlotVariableReference {
1152        static mut instance: ::protobuf::lazy::Lazy<TrackableObjectGraph_TrackableObject_SlotVariableReference> = ::protobuf::lazy::Lazy::INIT;
1153        unsafe {
1154            instance.get(TrackableObjectGraph_TrackableObject_SlotVariableReference::new)
1155        }
1156    }
1157}
1158
1159impl ::protobuf::Clear for TrackableObjectGraph_TrackableObject_SlotVariableReference {
1160    fn clear(&mut self) {
1161        self.original_variable_node_id = 0;
1162        self.slot_name.clear();
1163        self.slot_variable_node_id = 0;
1164        self.unknown_fields.clear();
1165    }
1166}
1167
1168impl ::std::fmt::Debug for TrackableObjectGraph_TrackableObject_SlotVariableReference {
1169    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1170        ::protobuf::text_format::fmt(self, f)
1171    }
1172}
1173
1174impl ::protobuf::reflect::ProtobufValue for TrackableObjectGraph_TrackableObject_SlotVariableReference {
1175    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
1176        ::protobuf::reflect::ReflectValueRef::Message(self)
1177    }
1178}
1179
1180static file_descriptor_proto_data: &'static [u8] = b"\
1181    \n5tensorflow/core/protobuf/trackable_object_graph.proto\x12\ntensorflow\
1182    \"\xaa\x06\n\x14TrackableObjectGraph\x12F\n\x05nodes\x18\x01\x20\x03(\
1183    \x0b20.tensorflow.TrackableObjectGraph.TrackableObjectR\x05nodes\x1a\xc9\
1184    \x05\n\x0fTrackableObject\x12\\\n\x08children\x18\x01\x20\x03(\x0b2@.ten\
1185    sorflow.TrackableObjectGraph.TrackableObject.ObjectReferenceR\x08childre\
1186    n\x12a\n\nattributes\x18\x02\x20\x03(\x0b2A.tensorflow.TrackableObjectGr\
1187    aph.TrackableObject.SerializedTensorR\nattributes\x12m\n\x0eslot_variabl\
1188    es\x18\x03\x20\x03(\x0b2F.tensorflow.TrackableObjectGraph.TrackableObjec\
1189    t.SlotVariableReferenceR\rslotVariables\x1aI\n\x0fObjectReference\x12\
1190    \x17\n\x07node_id\x18\x01\x20\x01(\x05R\x06nodeId\x12\x1d\n\nlocal_name\
1191    \x18\x02\x20\x01(\tR\tlocalName\x1a\x95\x01\n\x10SerializedTensor\x12\
1192    \x12\n\x04name\x18\x01\x20\x01(\tR\x04name\x12\x1b\n\tfull_name\x18\x02\
1193    \x20\x01(\tR\x08fullName\x12%\n\x0echeckpoint_key\x18\x03\x20\x01(\tR\rc\
1194    heckpointKey\x12)\n\x10optional_restore\x18\x04\x20\x01(\x08R\x0foptiona\
1195    lRestore\x1a\xa2\x01\n\x15SlotVariableReference\x129\n\x19original_varia\
1196    ble_node_id\x18\x01\x20\x01(\x05R\x16originalVariableNodeId\x12\x1b\n\ts\
1197    lot_name\x18\x02\x20\x01(\tR\x08slotName\x121\n\x15slot_variable_node_id\
1198    \x18\x03\x20\x01(\x05R\x12slotVariableNodeIdBMZHgithub.com/tensorflow/te\
1199    nsorflow/tensorflow/go/core/core_protos_go_proto\xf8\x01\x01J\xc9\x13\n\
1200    \x06\x12\x04\0\0;\x01\n\x08\n\x01\x0c\x12\x03\0\0\x12\n\x08\n\x01\x02\
1201    \x12\x03\x02\0\x13\n\x08\n\x01\x08\x12\x03\x04\0\x1f\n\t\n\x02\x08\x1f\
1202    \x12\x03\x04\0\x1f\n\x08\n\x01\x08\x12\x03\x05\0_\n\t\n\x02\x08\x0b\x12\
1203    \x03\x05\0_\n\xb1\x01\n\x02\x04\0\x12\x04\x0b\0;\x012\xa4\x01\x20A\x20Te\
1204    nsorBundle\x20addition\x20which\x20saves\x20extra\x20information\x20abou\
1205    t\x20the\x20objects\x20which\n\x20own\x20variables,\x20allowing\x20for\
1206    \x20more\x20robust\x20checkpoint\x20loading\x20into\x20modified\n\x20pro\
1207    grams.\n\n\n\n\x03\x04\0\x01\x12\x03\x0b\x08\x1c\n\x0c\n\x04\x04\0\x03\0\
1208    \x12\x04\x0c\x028\x03\n\x0c\n\x05\x04\0\x03\0\x01\x12\x03\x0c\n\x19\n\
1209    \x0e\n\x06\x04\0\x03\0\x03\0\x12\x04\r\x04\x13\x05\n\x0e\n\x07\x04\0\x03\
1210    \0\x03\0\x01\x12\x03\r\x0c\x1b\ng\n\x08\x04\0\x03\0\x03\0\x02\0\x12\x03\
1211    \x10\x06\x18\x1aV\x20An\x20index\x20into\x20`TrackableObjectGraph.nodes`\
1212    ,\x20indicating\x20the\x20object\n\x20being\x20referenced.\n\n\x10\n\t\
1213    \x04\0\x03\0\x03\0\x02\0\x05\x12\x03\x10\x06\x0b\n\x10\n\t\x04\0\x03\0\
1214    \x03\0\x02\0\x01\x12\x03\x10\x0c\x13\n\x10\n\t\x04\0\x03\0\x03\0\x02\0\
1215    \x03\x12\x03\x10\x16\x17\n5\n\x08\x04\0\x03\0\x03\0\x02\x01\x12\x03\x12\
1216    \x06\x1c\x1a$\x20A\x20user-provided\x20name\x20for\x20the\x20edge.\n\n\
1217    \x10\n\t\x04\0\x03\0\x03\0\x02\x01\x05\x12\x03\x12\x06\x0c\n\x10\n\t\x04\
1218    \0\x03\0\x03\0\x02\x01\x01\x12\x03\x12\r\x17\n\x10\n\t\x04\0\x03\0\x03\0\
1219    \x02\x01\x03\x12\x03\x12\x1a\x1b\n\x0e\n\x06\x04\0\x03\0\x03\x01\x12\x04\
1220    \x15\x04%\x05\n\x0e\n\x07\x04\0\x03\0\x03\x01\x01\x12\x03\x15\x0c\x1c\n\
1221    \xc6\x01\n\x08\x04\0\x03\0\x03\x01\x02\0\x12\x03\x19\x06\x16\x1a\xb4\x01\
1222    \x20A\x20name\x20for\x20the\x20Tensor.\x20Simple\x20variables\x20have\
1223    \x20only\x20one\n\x20`SerializedTensor`\x20named\x20\"VARIABLE_VALUE\"\
1224    \x20by\x20convention.\x20This\x20value\x20may\n\x20be\x20restored\x20on\
1225    \x20object\x20creation\x20as\x20an\x20optimization.\n\n\x10\n\t\x04\0\
1226    \x03\0\x03\x01\x02\0\x05\x12\x03\x19\x06\x0c\n\x10\n\t\x04\0\x03\0\x03\
1227    \x01\x02\0\x01\x12\x03\x19\r\x11\n\x10\n\t\x04\0\x03\0\x03\x01\x02\0\x03\
1228    \x12\x03\x19\x14\x15\n\xf9\x01\n\x08\x04\0\x03\0\x03\x01\x02\x01\x12\x03\
1229    \x1e\x06\x1b\x1a\xe7\x01\x20The\x20full\x20name\x20of\x20the\x20variable\
1230    /tensor,\x20if\x20applicable.\x20Used\x20to\x20allow\n\x20name-based\x20\
1231    loading\x20of\x20checkpoints\x20which\x20were\x20saved\x20using\x20an\n\
1232    \x20object-based\x20API.\x20Should\x20match\x20the\x20checkpoint\x20key\
1233    \x20which\x20would\x20have\x20been\n\x20assigned\x20by\x20tf.train.Saver\
1234    .\n\n\x10\n\t\x04\0\x03\0\x03\x01\x02\x01\x05\x12\x03\x1e\x06\x0c\n\x10\
1235    \n\t\x04\0\x03\0\x03\x01\x02\x01\x01\x12\x03\x1e\r\x16\n\x10\n\t\x04\0\
1236    \x03\0\x03\x01\x02\x01\x03\x12\x03\x1e\x19\x1a\nF\n\x08\x04\0\x03\0\x03\
1237    \x01\x02\x02\x12\x03\x20\x06\x20\x1a5\x20The\x20generated\x20name\x20of\
1238    \x20the\x20Tensor\x20in\x20the\x20checkpoint.\n\n\x10\n\t\x04\0\x03\0\
1239    \x03\x01\x02\x02\x05\x12\x03\x20\x06\x0c\n\x10\n\t\x04\0\x03\0\x03\x01\
1240    \x02\x02\x01\x12\x03\x20\r\x1b\n\x10\n\t\x04\0\x03\0\x03\x01\x02\x02\x03\
1241    \x12\x03\x20\x1e\x1f\n\xd0\x01\n\x08\x04\0\x03\0\x03\x01\x02\x03\x12\x03\
1242    $\x06\x20\x1a\xbe\x01\x20Whether\x20checkpoints\x20should\x20be\x20consi\
1243    dered\x20as\x20matching\x20even\x20without\x20this\n\x20value\x20restore\
1244    d.\x20Used\x20for\x20non-critical\x20values\x20which\x20don't\x20affect\
1245    \x20the\n\x20TensorFlow\x20graph,\x20such\x20as\x20layer\x20configuratio\
1246    ns.\n\n\x10\n\t\x04\0\x03\0\x03\x01\x02\x03\x05\x12\x03$\x06\n\n\x10\n\t\
1247    \x04\0\x03\0\x03\x01\x02\x03\x01\x12\x03$\x0b\x1b\n\x10\n\t\x04\0\x03\0\
1248    \x03\x01\x02\x03\x03\x12\x03$\x1e\x1f\n\x0e\n\x06\x04\0\x03\0\x03\x02\
1249    \x12\x04'\x040\x05\n\x0e\n\x07\x04\0\x03\0\x03\x02\x01\x12\x03'\x0c!\ny\
1250    \n\x08\x04\0\x03\0\x03\x02\x02\0\x12\x03*\x06*\x1ah\x20An\x20index\x20in\
1251    to\x20`TrackableObjectGraph.nodes`,\x20indicating\x20the\n\x20variable\
1252    \x20object\x20this\x20slot\x20was\x20created\x20for.\n\n\x10\n\t\x04\0\
1253    \x03\0\x03\x02\x02\0\x05\x12\x03*\x06\x0b\n\x10\n\t\x04\0\x03\0\x03\x02\
1254    \x02\0\x01\x12\x03*\x0c%\n\x10\n\t\x04\0\x03\0\x03\x02\x02\0\x03\x12\x03\
1255    *()\n7\n\x08\x04\0\x03\0\x03\x02\x02\x01\x12\x03,\x06\x1b\x1a&\x20The\
1256    \x20name\x20of\x20the\x20slot\x20(e.g.\x20\"m\"/\"v\").\n\n\x10\n\t\x04\
1257    \0\x03\0\x03\x02\x02\x01\x05\x12\x03,\x06\x0c\n\x10\n\t\x04\0\x03\0\x03\
1258    \x02\x02\x01\x01\x12\x03,\r\x16\n\x10\n\t\x04\0\x03\0\x03\x02\x02\x01\
1259    \x03\x12\x03,\x19\x1a\n|\n\x08\x04\0\x03\0\x03\x02\x02\x02\x12\x03/\x06&\
1260    \x1ak\x20An\x20index\x20into\x20`TrackableObjectGraph.nodes`,\x20indicat\
1261    ing\x20the\n\x20`Object`\x20with\x20the\x20value\x20of\x20the\x20slot\
1262    \x20variable.\n\n\x10\n\t\x04\0\x03\0\x03\x02\x02\x02\x05\x12\x03/\x06\
1263    \x0b\n\x10\n\t\x04\0\x03\0\x03\x02\x02\x02\x01\x12\x03/\x0c!\n\x10\n\t\
1264    \x04\0\x03\0\x03\x02\x02\x02\x03\x12\x03/$%\n6\n\x06\x04\0\x03\0\x02\0\
1265    \x12\x033\x04*\x1a'\x20Objects\x20which\x20this\x20object\x20depends\x20\
1266    on.\n\n\x0e\n\x07\x04\0\x03\0\x02\0\x04\x12\x033\x04\x0c\n\x0e\n\x07\x04\
1267    \0\x03\0\x02\0\x06\x12\x033\r\x1c\n\x0e\n\x07\x04\0\x03\0\x02\0\x01\x12\
1268    \x033\x1d%\n\x0e\n\x07\x04\0\x03\0\x02\0\x03\x12\x033()\n9\n\x06\x04\0\
1269    \x03\0\x02\x01\x12\x035\x04-\x1a*\x20Serialized\x20data\x20specific\x20t\
1270    o\x20this\x20object.\n\n\x0e\n\x07\x04\0\x03\0\x02\x01\x04\x12\x035\x04\
1271    \x0c\n\x0e\n\x07\x04\0\x03\0\x02\x01\x06\x12\x035\r\x1d\n\x0e\n\x07\x04\
1272    \0\x03\0\x02\x01\x01\x12\x035\x1e(\n\x0e\n\x07\x04\0\x03\0\x02\x01\x03\
1273    \x12\x035+,\n5\n\x06\x04\0\x03\0\x02\x02\x12\x037\x046\x1a&\x20Slot\x20v\
1274    ariables\x20owned\x20by\x20this\x20object.\n\n\x0e\n\x07\x04\0\x03\0\x02\
1275    \x02\x04\x12\x037\x04\x0c\n\x0e\n\x07\x04\0\x03\0\x02\x02\x06\x12\x037\r\
1276    \"\n\x0e\n\x07\x04\0\x03\0\x02\x02\x01\x12\x037#1\n\x0e\n\x07\x04\0\x03\
1277    \0\x02\x02\x03\x12\x03745\n\x0b\n\x04\x04\0\x02\0\x12\x03:\x02%\n\x0c\n\
1278    \x05\x04\0\x02\0\x04\x12\x03:\x02\n\n\x0c\n\x05\x04\0\x02\0\x06\x12\x03:\
1279    \x0b\x1a\n\x0c\n\x05\x04\0\x02\0\x01\x12\x03:\x1b\x20\n\x0c\n\x05\x04\0\
1280    \x02\0\x03\x12\x03:#$b\x06proto3\
1281";
1282
1283static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy::INIT;
1284
1285fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto {
1286    ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap()
1287}
1288
1289pub fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto {
1290    unsafe {
1291        file_descriptor_proto_lazy.get(|| {
1292            parse_descriptor_proto()
1293        })
1294    }
1295}