tensorflow-serving-client 2.3.0

A prebuilt tensorflow serving client from the tensorflow serving proto files
Documentation
// This file is generated by rust-protobuf 2.14.0. Do not edit
// @generated

// https://github.com/rust-lang/rust-clippy/issues/702
#![allow(unknown_lints)]
#![allow(clippy::all)]

#![cfg_attr(rustfmt, rustfmt_skip)]

#![allow(box_pointers)]
#![allow(dead_code)]
#![allow(missing_docs)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
#![allow(non_upper_case_globals)]
#![allow(trivial_casts)]
#![allow(unsafe_code)]
#![allow(unused_imports)]
#![allow(unused_results)]
//! Generated file from `tensorflow_serving/apis/input.proto`

use protobuf::Message as Message_imported_for_functions;
use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions;

/// Generated files are compatible only with the same version
/// of protobuf runtime.
// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_14_0;

#[derive(PartialEq,Clone,Default)]
pub struct ExampleList {
    // message fields
    pub examples: ::protobuf::RepeatedField<super::example::Example>,
    // special fields
    pub unknown_fields: ::protobuf::UnknownFields,
    pub cached_size: ::protobuf::CachedSize,
}

impl<'a> ::std::default::Default for &'a ExampleList {
    fn default() -> &'a ExampleList {
        <ExampleList as ::protobuf::Message>::default_instance()
    }
}

impl ExampleList {
    pub fn new() -> ExampleList {
        ::std::default::Default::default()
    }

    // repeated .tensorflow.Example examples = 1;


    pub fn get_examples(&self) -> &[super::example::Example] {
        &self.examples
    }
    pub fn clear_examples(&mut self) {
        self.examples.clear();
    }

    // Param is passed by value, moved
    pub fn set_examples(&mut self, v: ::protobuf::RepeatedField<super::example::Example>) {
        self.examples = v;
    }

    // Mutable pointer to the field.
    pub fn mut_examples(&mut self) -> &mut ::protobuf::RepeatedField<super::example::Example> {
        &mut self.examples
    }

    // Take field
    pub fn take_examples(&mut self) -> ::protobuf::RepeatedField<super::example::Example> {
        ::std::mem::replace(&mut self.examples, ::protobuf::RepeatedField::new())
    }
}

impl ::protobuf::Message for ExampleList {
    fn is_initialized(&self) -> bool {
        for v in &self.examples {
            if !v.is_initialized() {
                return false;
            }
        };
        true
    }

    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
        while !is.eof()? {
            let (field_number, wire_type) = is.read_tag_unpack()?;
            match field_number {
                1 => {
                    ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.examples)?;
                },
                _ => {
                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
                },
            };
        }
        ::std::result::Result::Ok(())
    }

    // Compute sizes of nested messages
    #[allow(unused_variables)]
    fn compute_size(&self) -> u32 {
        let mut my_size = 0;
        for value in &self.examples {
            let len = value.compute_size();
            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
        };
        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
        self.cached_size.set(my_size);
        my_size
    }

    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
        for v in &self.examples {
            os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?;
            os.write_raw_varint32(v.get_cached_size())?;
            v.write_to_with_cached_sizes(os)?;
        };
        os.write_unknown_fields(self.get_unknown_fields())?;
        ::std::result::Result::Ok(())
    }

    fn get_cached_size(&self) -> u32 {
        self.cached_size.get()
    }

    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
        &self.unknown_fields
    }

    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
        &mut self.unknown_fields
    }

    fn as_any(&self) -> &dyn (::std::any::Any) {
        self as &dyn (::std::any::Any)
    }
    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
        self as &mut dyn (::std::any::Any)
    }
    fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
        self
    }

    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
        Self::descriptor_static()
    }

    fn new() -> ExampleList {
        ExampleList::new()
    }

    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
        static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
        unsafe {
            descriptor.get(|| {
                let mut fields = ::std::vec::Vec::new();
                fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<super::example::Example>>(
                    "examples",
                    |m: &ExampleList| { &m.examples },
                    |m: &mut ExampleList| { &mut m.examples },
                ));
                ::protobuf::reflect::MessageDescriptor::new_pb_name::<ExampleList>(
                    "ExampleList",
                    fields,
                    file_descriptor_proto()
                )
            })
        }
    }

    fn default_instance() -> &'static ExampleList {
        static mut instance: ::protobuf::lazy::Lazy<ExampleList> = ::protobuf::lazy::Lazy::INIT;
        unsafe {
            instance.get(ExampleList::new)
        }
    }
}

impl ::protobuf::Clear for ExampleList {
    fn clear(&mut self) {
        self.examples.clear();
        self.unknown_fields.clear();
    }
}

impl ::std::fmt::Debug for ExampleList {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        ::protobuf::text_format::fmt(self, f)
    }
}

impl ::protobuf::reflect::ProtobufValue for ExampleList {
    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
        ::protobuf::reflect::ReflectValueRef::Message(self)
    }
}

#[derive(PartialEq,Clone,Default)]
pub struct ExampleListWithContext {
    // message fields
    pub examples: ::protobuf::RepeatedField<super::example::Example>,
    pub context: ::protobuf::SingularPtrField<super::example::Example>,
    // special fields
    pub unknown_fields: ::protobuf::UnknownFields,
    pub cached_size: ::protobuf::CachedSize,
}

impl<'a> ::std::default::Default for &'a ExampleListWithContext {
    fn default() -> &'a ExampleListWithContext {
        <ExampleListWithContext as ::protobuf::Message>::default_instance()
    }
}

impl ExampleListWithContext {
    pub fn new() -> ExampleListWithContext {
        ::std::default::Default::default()
    }

    // repeated .tensorflow.Example examples = 1;


    pub fn get_examples(&self) -> &[super::example::Example] {
        &self.examples
    }
    pub fn clear_examples(&mut self) {
        self.examples.clear();
    }

    // Param is passed by value, moved
    pub fn set_examples(&mut self, v: ::protobuf::RepeatedField<super::example::Example>) {
        self.examples = v;
    }

    // Mutable pointer to the field.
    pub fn mut_examples(&mut self) -> &mut ::protobuf::RepeatedField<super::example::Example> {
        &mut self.examples
    }

    // Take field
    pub fn take_examples(&mut self) -> ::protobuf::RepeatedField<super::example::Example> {
        ::std::mem::replace(&mut self.examples, ::protobuf::RepeatedField::new())
    }

    // .tensorflow.Example context = 2;


    pub fn get_context(&self) -> &super::example::Example {
        self.context.as_ref().unwrap_or_else(|| super::example::Example::default_instance())
    }
    pub fn clear_context(&mut self) {
        self.context.clear();
    }

    pub fn has_context(&self) -> bool {
        self.context.is_some()
    }

    // Param is passed by value, moved
    pub fn set_context(&mut self, v: super::example::Example) {
        self.context = ::protobuf::SingularPtrField::some(v);
    }

    // Mutable pointer to the field.
    // If field is not initialized, it is initialized with default value first.
    pub fn mut_context(&mut self) -> &mut super::example::Example {
        if self.context.is_none() {
            self.context.set_default();
        }
        self.context.as_mut().unwrap()
    }

    // Take field
    pub fn take_context(&mut self) -> super::example::Example {
        self.context.take().unwrap_or_else(|| super::example::Example::new())
    }
}

impl ::protobuf::Message for ExampleListWithContext {
    fn is_initialized(&self) -> bool {
        for v in &self.examples {
            if !v.is_initialized() {
                return false;
            }
        };
        for v in &self.context {
            if !v.is_initialized() {
                return false;
            }
        };
        true
    }

    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
        while !is.eof()? {
            let (field_number, wire_type) = is.read_tag_unpack()?;
            match field_number {
                1 => {
                    ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.examples)?;
                },
                2 => {
                    ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.context)?;
                },
                _ => {
                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
                },
            };
        }
        ::std::result::Result::Ok(())
    }

    // Compute sizes of nested messages
    #[allow(unused_variables)]
    fn compute_size(&self) -> u32 {
        let mut my_size = 0;
        for value in &self.examples {
            let len = value.compute_size();
            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
        };
        if let Some(ref v) = self.context.as_ref() {
            let len = v.compute_size();
            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
        }
        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
        self.cached_size.set(my_size);
        my_size
    }

    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
        for v in &self.examples {
            os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?;
            os.write_raw_varint32(v.get_cached_size())?;
            v.write_to_with_cached_sizes(os)?;
        };
        if let Some(ref v) = self.context.as_ref() {
            os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?;
            os.write_raw_varint32(v.get_cached_size())?;
            v.write_to_with_cached_sizes(os)?;
        }
        os.write_unknown_fields(self.get_unknown_fields())?;
        ::std::result::Result::Ok(())
    }

    fn get_cached_size(&self) -> u32 {
        self.cached_size.get()
    }

    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
        &self.unknown_fields
    }

    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
        &mut self.unknown_fields
    }

    fn as_any(&self) -> &dyn (::std::any::Any) {
        self as &dyn (::std::any::Any)
    }
    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
        self as &mut dyn (::std::any::Any)
    }
    fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
        self
    }

    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
        Self::descriptor_static()
    }

    fn new() -> ExampleListWithContext {
        ExampleListWithContext::new()
    }

    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
        static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
        unsafe {
            descriptor.get(|| {
                let mut fields = ::std::vec::Vec::new();
                fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<super::example::Example>>(
                    "examples",
                    |m: &ExampleListWithContext| { &m.examples },
                    |m: &mut ExampleListWithContext| { &mut m.examples },
                ));
                fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<super::example::Example>>(
                    "context",
                    |m: &ExampleListWithContext| { &m.context },
                    |m: &mut ExampleListWithContext| { &mut m.context },
                ));
                ::protobuf::reflect::MessageDescriptor::new_pb_name::<ExampleListWithContext>(
                    "ExampleListWithContext",
                    fields,
                    file_descriptor_proto()
                )
            })
        }
    }

    fn default_instance() -> &'static ExampleListWithContext {
        static mut instance: ::protobuf::lazy::Lazy<ExampleListWithContext> = ::protobuf::lazy::Lazy::INIT;
        unsafe {
            instance.get(ExampleListWithContext::new)
        }
    }
}

impl ::protobuf::Clear for ExampleListWithContext {
    fn clear(&mut self) {
        self.examples.clear();
        self.context.clear();
        self.unknown_fields.clear();
    }
}

impl ::std::fmt::Debug for ExampleListWithContext {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        ::protobuf::text_format::fmt(self, f)
    }
}

impl ::protobuf::reflect::ProtobufValue for ExampleListWithContext {
    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
        ::protobuf::reflect::ReflectValueRef::Message(self)
    }
}

#[derive(PartialEq,Clone,Default)]
pub struct Input {
    // message oneof groups
    pub kind: ::std::option::Option<Input_oneof_kind>,
    // special fields
    pub unknown_fields: ::protobuf::UnknownFields,
    pub cached_size: ::protobuf::CachedSize,
}

impl<'a> ::std::default::Default for &'a Input {
    fn default() -> &'a Input {
        <Input as ::protobuf::Message>::default_instance()
    }
}

#[derive(Clone,PartialEq,Debug)]
pub enum Input_oneof_kind {
    example_list(ExampleList),
    example_list_with_context(ExampleListWithContext),
}

impl Input {
    pub fn new() -> Input {
        ::std::default::Default::default()
    }

    // .tensorflow.serving.ExampleList example_list = 1;


    pub fn get_example_list(&self) -> &ExampleList {
        match self.kind {
            ::std::option::Option::Some(Input_oneof_kind::example_list(ref v)) => v,
            _ => ExampleList::default_instance(),
        }
    }
    pub fn clear_example_list(&mut self) {
        self.kind = ::std::option::Option::None;
    }

    pub fn has_example_list(&self) -> bool {
        match self.kind {
            ::std::option::Option::Some(Input_oneof_kind::example_list(..)) => true,
            _ => false,
        }
    }

    // Param is passed by value, moved
    pub fn set_example_list(&mut self, v: ExampleList) {
        self.kind = ::std::option::Option::Some(Input_oneof_kind::example_list(v))
    }

    // Mutable pointer to the field.
    pub fn mut_example_list(&mut self) -> &mut ExampleList {
        if let ::std::option::Option::Some(Input_oneof_kind::example_list(_)) = self.kind {
        } else {
            self.kind = ::std::option::Option::Some(Input_oneof_kind::example_list(ExampleList::new()));
        }
        match self.kind {
            ::std::option::Option::Some(Input_oneof_kind::example_list(ref mut v)) => v,
            _ => panic!(),
        }
    }

    // Take field
    pub fn take_example_list(&mut self) -> ExampleList {
        if self.has_example_list() {
            match self.kind.take() {
                ::std::option::Option::Some(Input_oneof_kind::example_list(v)) => v,
                _ => panic!(),
            }
        } else {
            ExampleList::new()
        }
    }

    // .tensorflow.serving.ExampleListWithContext example_list_with_context = 2;


    pub fn get_example_list_with_context(&self) -> &ExampleListWithContext {
        match self.kind {
            ::std::option::Option::Some(Input_oneof_kind::example_list_with_context(ref v)) => v,
            _ => ExampleListWithContext::default_instance(),
        }
    }
    pub fn clear_example_list_with_context(&mut self) {
        self.kind = ::std::option::Option::None;
    }

    pub fn has_example_list_with_context(&self) -> bool {
        match self.kind {
            ::std::option::Option::Some(Input_oneof_kind::example_list_with_context(..)) => true,
            _ => false,
        }
    }

    // Param is passed by value, moved
    pub fn set_example_list_with_context(&mut self, v: ExampleListWithContext) {
        self.kind = ::std::option::Option::Some(Input_oneof_kind::example_list_with_context(v))
    }

    // Mutable pointer to the field.
    pub fn mut_example_list_with_context(&mut self) -> &mut ExampleListWithContext {
        if let ::std::option::Option::Some(Input_oneof_kind::example_list_with_context(_)) = self.kind {
        } else {
            self.kind = ::std::option::Option::Some(Input_oneof_kind::example_list_with_context(ExampleListWithContext::new()));
        }
        match self.kind {
            ::std::option::Option::Some(Input_oneof_kind::example_list_with_context(ref mut v)) => v,
            _ => panic!(),
        }
    }

    // Take field
    pub fn take_example_list_with_context(&mut self) -> ExampleListWithContext {
        if self.has_example_list_with_context() {
            match self.kind.take() {
                ::std::option::Option::Some(Input_oneof_kind::example_list_with_context(v)) => v,
                _ => panic!(),
            }
        } else {
            ExampleListWithContext::new()
        }
    }
}

impl ::protobuf::Message for Input {
    fn is_initialized(&self) -> bool {
        if let Some(Input_oneof_kind::example_list(ref v)) = self.kind {
            if !v.is_initialized() {
                return false;
            }
        }
        if let Some(Input_oneof_kind::example_list_with_context(ref v)) = self.kind {
            if !v.is_initialized() {
                return false;
            }
        }
        true
    }

    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
        while !is.eof()? {
            let (field_number, wire_type) = is.read_tag_unpack()?;
            match field_number {
                1 => {
                    if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited {
                        return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
                    }
                    self.kind = ::std::option::Option::Some(Input_oneof_kind::example_list(is.read_message()?));
                },
                2 => {
                    if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited {
                        return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
                    }
                    self.kind = ::std::option::Option::Some(Input_oneof_kind::example_list_with_context(is.read_message()?));
                },
                _ => {
                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
                },
            };
        }
        ::std::result::Result::Ok(())
    }

    // Compute sizes of nested messages
    #[allow(unused_variables)]
    fn compute_size(&self) -> u32 {
        let mut my_size = 0;
        if let ::std::option::Option::Some(ref v) = self.kind {
            match v {
                &Input_oneof_kind::example_list(ref v) => {
                    let len = v.compute_size();
                    my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
                },
                &Input_oneof_kind::example_list_with_context(ref v) => {
                    let len = v.compute_size();
                    my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
                },
            };
        }
        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
        self.cached_size.set(my_size);
        my_size
    }

    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
        if let ::std::option::Option::Some(ref v) = self.kind {
            match v {
                &Input_oneof_kind::example_list(ref v) => {
                    os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?;
                    os.write_raw_varint32(v.get_cached_size())?;
                    v.write_to_with_cached_sizes(os)?;
                },
                &Input_oneof_kind::example_list_with_context(ref v) => {
                    os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?;
                    os.write_raw_varint32(v.get_cached_size())?;
                    v.write_to_with_cached_sizes(os)?;
                },
            };
        }
        os.write_unknown_fields(self.get_unknown_fields())?;
        ::std::result::Result::Ok(())
    }

    fn get_cached_size(&self) -> u32 {
        self.cached_size.get()
    }

    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
        &self.unknown_fields
    }

    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
        &mut self.unknown_fields
    }

    fn as_any(&self) -> &dyn (::std::any::Any) {
        self as &dyn (::std::any::Any)
    }
    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
        self as &mut dyn (::std::any::Any)
    }
    fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
        self
    }

    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
        Self::descriptor_static()
    }

    fn new() -> Input {
        Input::new()
    }

    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
        static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
        unsafe {
            descriptor.get(|| {
                let mut fields = ::std::vec::Vec::new();
                fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, ExampleList>(
                    "example_list",
                    Input::has_example_list,
                    Input::get_example_list,
                ));
                fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, ExampleListWithContext>(
                    "example_list_with_context",
                    Input::has_example_list_with_context,
                    Input::get_example_list_with_context,
                ));
                ::protobuf::reflect::MessageDescriptor::new_pb_name::<Input>(
                    "Input",
                    fields,
                    file_descriptor_proto()
                )
            })
        }
    }

    fn default_instance() -> &'static Input {
        static mut instance: ::protobuf::lazy::Lazy<Input> = ::protobuf::lazy::Lazy::INIT;
        unsafe {
            instance.get(Input::new)
        }
    }
}

impl ::protobuf::Clear for Input {
    fn clear(&mut self) {
        self.kind = ::std::option::Option::None;
        self.kind = ::std::option::Option::None;
        self.unknown_fields.clear();
    }
}

impl ::std::fmt::Debug for Input {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        ::protobuf::text_format::fmt(self, f)
    }
}

impl ::protobuf::reflect::ProtobufValue for Input {
    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
        ::protobuf::reflect::ReflectValueRef::Message(self)
    }
}

static file_descriptor_proto_data: &'static [u8] = b"\
    \n#tensorflow_serving/apis/input.proto\x12\x12tensorflow.serving\x1a%ten\
    sorflow/core/example/example.proto\">\n\x0bExampleList\x12/\n\x08example\
    s\x18\x01\x20\x03(\x0b2\x13.tensorflow.ExampleR\x08examples\"x\n\x16Exam\
    pleListWithContext\x12/\n\x08examples\x18\x01\x20\x03(\x0b2\x13.tensorfl\
    ow.ExampleR\x08examples\x12-\n\x07context\x18\x02\x20\x01(\x0b2\x13.tens\
    orflow.ExampleR\x07context\"\xc6\x01\n\x05Input\x12H\n\x0cexample_list\
    \x18\x01\x20\x01(\x0b2\x1f.tensorflow.serving.ExampleListH\0R\x0bexample\
    ListB\x02(\x01\x12k\n\x19example_list_with_context\x18\x02\x20\x01(\x0b2\
    *.tensorflow.serving.ExampleListWithContextH\0R\x16exampleListWithContex\
    tB\x02(\x01B\x06\n\x04kindB\x03\xf8\x01\x01J\xbe\x0f\n\x06\x12\x04\x03\0\
    Q\x01\nl\n\x01\x0c\x12\x03\x03\0\x122b\x20Input\x20used\x20in\x20serving\
    \x20APIs.\x20\x20Based\x20on\x20the\x20tensorflow.Example\x20family\x20o\
    f\n\x20feature\x20representations.\n\n\x08\n\x01\x08\x12\x03\x05\0\x1f\n\
    \t\n\x02\x08\x1f\x12\x03\x05\0\x1f\n\t\n\x02\x03\0\x12\x03\x07\0/\n\x08\
    \n\x01\x02\x12\x03\t\0\x1b\n\xb8\x01\n\x02\x04\0\x12\x04\x0e\0\x10\x01\
    \x1a\xab\x01\x20Specifies\x20one\x20or\x20more\x20fully\x20independent\
    \x20input\x20Examples.\n\x20See\x20examples\x20at:\n\x20\x20\x20\x20\x20\
    https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/exa\
    mple/example.proto\n\n\n\n\x03\x04\0\x01\x12\x03\x0e\x08\x13\n\x0b\n\x04\
    \x04\0\x02\0\x12\x03\x0f\x02+\n\x0c\n\x05\x04\0\x02\0\x04\x12\x03\x0f\
    \x02\n\n\x0c\n\x05\x04\0\x02\0\x06\x12\x03\x0f\x0b\x1d\n\x0c\n\x05\x04\0\
    \x02\0\x01\x12\x03\x0f\x1e&\n\x0c\n\x05\x04\0\x02\0\x03\x12\x03\x0f)*\n\
    \xab\t\n\x02\x04\x01\x12\x04G\0J\x01\x1a\x9e\t\x20Specifies\x20one\x20or\
    \x20more\x20independent\x20input\x20Examples,\x20with\x20a\x20common\x20\
    context\n\x20Example.\n\n\x20The\x20common\x20use\x20case\x20for\x20cont\
    ext\x20is\x20to\x20cleanly\x20and\x20optimally\x20specify\x20some\n\x20f\
    eatures\x20that\x20are\x20common\x20across\x20multiple\x20examples.\n\n\
    \x20See\x20example\x20below\x20with\x20a\x20search\x20query\x20as\x20the\
    \x20context\x20and\x20multiple\x20restaurants\n\x20to\x20perform\x20some\
    \x20inference\x20on.\n\n\x20context:\x20{\n\x20\x20\x20features:\x20{\n\
    \x20\x20\x20\x20\x20feature:\x20{\n\x20\x20\x20\x20\x20\x20\x20key\x20\
    \x20:\x20\"query\"\n\x20\x20\x20\x20\x20\x20\x20value:\x20{\n\x20\x20\
    \x20\x20\x20\x20\x20\x20\x20bytes_list:\x20{\n\x20\x20\x20\x20\x20\x20\
    \x20\x20\x20\x20\x20value:\x20[\x20\"pizza\"\x20]\n\x20\x20\x20\x20\x20\
    \x20\x20\x20\x20}\n\x20\x20\x20\x20\x20\x20\x20}\n\x20\x20\x20\x20\x20}\
    \n\x20\x20\x20}\n\x20}\n\x20examples:\x20{\n\x20\x20\x20features:\x20{\n\
    \x20\x20\x20\x20\x20feature:\x20{\n\x20\x20\x20\x20\x20\x20\x20key\x20\
    \x20:\x20\"cuisine\"\n\x20\x20\x20\x20\x20\x20\x20value:\x20{\n\x20\x20\
    \x20\x20\x20\x20\x20\x20\x20bytes_list:\x20{\n\x20\x20\x20\x20\x20\x20\
    \x20\x20\x20\x20\x20value:\x20[\x20\"Pizzeria\"\x20]\n\x20\x20\x20\x20\
    \x20\x20\x20\x20\x20}\n\x20\x20\x20\x20\x20\x20\x20}\n\x20\x20\x20\x20\
    \x20}\n\x20\x20\x20}\n\x20}\n\x20examples:\x20{\n\x20\x20\x20features:\
    \x20{\n\x20\x20\x20\x20\x20feature:\x20{\n\x20\x20\x20\x20\x20\x20\x20ke\
    y\x20\x20:\x20\"cuisine\"\n\x20\x20\x20\x20\x20\x20\x20value:\x20{\n\x20\
    \x20\x20\x20\x20\x20\x20\x20\x20bytes_list:\x20{\n\x20\x20\x20\x20\x20\
    \x20\x20\x20\x20\x20\x20value:\x20[\x20\"Taqueria\"\x20]\n\x20\x20\x20\
    \x20\x20\x20\x20\x20\x20}\n\x20\x20\x20\x20\x20\x20\x20}\n\x20\x20\x20\
    \x20\x20}\n\x20\x20\x20}\n\x20}\n\n\x20Implementations\x20of\x20ExampleL\
    istWithContext\x20merge\x20the\x20context\x20Example\x20into\x20each\n\
    \x20of\x20the\x20Examples.\x20Note\x20that\x20feature\x20keys\x20must\
    \x20not\x20be\x20duplicated\x20between\x20the\n\x20Examples\x20and\x20co\
    ntext\x20Example,\x20or\x20the\x20behavior\x20is\x20undefined.\n\n\x20Se\
    e\x20also:\n\x20\x20\x20\x20\x20tensorflow/core/example/example.proto\n\
    \x20\x20\x20\x20\x20https://developers.google.com/protocol-buffers/docs/\
    proto3#maps\n\n\n\n\x03\x04\x01\x01\x12\x03G\x08\x1e\n\x0b\n\x04\x04\x01\
    \x02\0\x12\x03H\x02+\n\x0c\n\x05\x04\x01\x02\0\x04\x12\x03H\x02\n\n\x0c\
    \n\x05\x04\x01\x02\0\x06\x12\x03H\x0b\x1d\n\x0c\n\x05\x04\x01\x02\0\x01\
    \x12\x03H\x1e&\n\x0c\n\x05\x04\x01\x02\0\x03\x12\x03H)*\n\x0b\n\x04\x04\
    \x01\x02\x01\x12\x03I\x02!\n\x0c\n\x05\x04\x01\x02\x01\x06\x12\x03I\x02\
    \x14\n\x0c\n\x05\x04\x01\x02\x01\x01\x12\x03I\x15\x1c\n\x0c\n\x05\x04\
    \x01\x02\x01\x03\x12\x03I\x1f\x20\n\n\n\x02\x04\x02\x12\x04L\0Q\x01\n\n\
    \n\x03\x04\x02\x01\x12\x03L\x08\r\n\x0c\n\x04\x04\x02\x08\0\x12\x04M\x02\
    P\x03\n\x0c\n\x05\x04\x02\x08\0\x01\x12\x03M\x08\x0c\n\x0b\n\x04\x04\x02\
    \x02\0\x12\x03N\x04/\n\x0c\n\x05\x04\x02\x02\0\x06\x12\x03N\x04\x0f\n\
    \x0c\n\x05\x04\x02\x02\0\x01\x12\x03N\x10\x1c\n\x0c\n\x05\x04\x02\x02\0\
    \x03\x12\x03N\x1f\x20\n\x0c\n\x05\x04\x02\x02\0\x08\x12\x03N!.\n\r\n\x06\
    \x04\x02\x02\0\x08\x05\x12\x03N\"-\n\x0b\n\x04\x04\x02\x02\x01\x12\x03O\
    \x04G\n\x0c\n\x05\x04\x02\x02\x01\x06\x12\x03O\x04\x1a\n\x0c\n\x05\x04\
    \x02\x02\x01\x01\x12\x03O\x1b4\n\x0c\n\x05\x04\x02\x02\x01\x03\x12\x03O7\
    8\n\x0c\n\x05\x04\x02\x02\x01\x08\x12\x03O9F\n\r\n\x06\x04\x02\x02\x01\
    \x08\x05\x12\x03O:Eb\x06proto3\
";

static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy::INIT;

fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto {
    ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap()
}

pub fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto {
    unsafe {
        file_descriptor_proto_lazy.get(|| {
            parse_descriptor_proto()
        })
    }
}