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/core/example/feature.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 BytesList {
    // message fields
    pub value: ::protobuf::RepeatedField<::std::vec::Vec<u8>>,
    // special fields
    pub unknown_fields: ::protobuf::UnknownFields,
    pub cached_size: ::protobuf::CachedSize,
}

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

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

    // repeated bytes value = 1;


    pub fn get_value(&self) -> &[::std::vec::Vec<u8>] {
        &self.value
    }
    pub fn clear_value(&mut self) {
        self.value.clear();
    }

    // Param is passed by value, moved
    pub fn set_value(&mut self, v: ::protobuf::RepeatedField<::std::vec::Vec<u8>>) {
        self.value = v;
    }

    // Mutable pointer to the field.
    pub fn mut_value(&mut self) -> &mut ::protobuf::RepeatedField<::std::vec::Vec<u8>> {
        &mut self.value
    }

    // Take field
    pub fn take_value(&mut self) -> ::protobuf::RepeatedField<::std::vec::Vec<u8>> {
        ::std::mem::replace(&mut self.value, ::protobuf::RepeatedField::new())
    }
}

impl ::protobuf::Message for BytesList {
    fn is_initialized(&self) -> bool {
        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_bytes_into(wire_type, is, &mut self.value)?;
                },
                _ => {
                    ::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.value {
            my_size += ::protobuf::rt::bytes_size(1, &value);
        };
        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.value {
            os.write_bytes(1, &v)?;
        };
        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() -> BytesList {
        BytesList::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::ProtobufTypeBytes>(
                    "value",
                    |m: &BytesList| { &m.value },
                    |m: &mut BytesList| { &mut m.value },
                ));
                ::protobuf::reflect::MessageDescriptor::new_pb_name::<BytesList>(
                    "BytesList",
                    fields,
                    file_descriptor_proto()
                )
            })
        }
    }

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

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

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

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

#[derive(PartialEq,Clone,Default)]
pub struct FloatList {
    // message fields
    pub value: ::std::vec::Vec<f32>,
    // special fields
    pub unknown_fields: ::protobuf::UnknownFields,
    pub cached_size: ::protobuf::CachedSize,
}

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

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

    // repeated float value = 1;


    pub fn get_value(&self) -> &[f32] {
        &self.value
    }
    pub fn clear_value(&mut self) {
        self.value.clear();
    }

    // Param is passed by value, moved
    pub fn set_value(&mut self, v: ::std::vec::Vec<f32>) {
        self.value = v;
    }

    // Mutable pointer to the field.
    pub fn mut_value(&mut self) -> &mut ::std::vec::Vec<f32> {
        &mut self.value
    }

    // Take field
    pub fn take_value(&mut self) -> ::std::vec::Vec<f32> {
        ::std::mem::replace(&mut self.value, ::std::vec::Vec::new())
    }
}

impl ::protobuf::Message for FloatList {
    fn is_initialized(&self) -> bool {
        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_float_into(wire_type, is, &mut self.value)?;
                },
                _ => {
                    ::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 !self.value.is_empty() {
            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size((self.value.len() * 4) as u32) + (self.value.len() * 4) as u32;
        }
        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 !self.value.is_empty() {
            os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?;
            // TODO: Data size is computed again, it should be cached
            os.write_raw_varint32((self.value.len() * 4) as u32)?;
            for v in &self.value {
                os.write_float_no_tag(*v)?;
            };
        }
        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() -> FloatList {
        FloatList::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_vec_accessor::<_, ::protobuf::types::ProtobufTypeFloat>(
                    "value",
                    |m: &FloatList| { &m.value },
                    |m: &mut FloatList| { &mut m.value },
                ));
                ::protobuf::reflect::MessageDescriptor::new_pb_name::<FloatList>(
                    "FloatList",
                    fields,
                    file_descriptor_proto()
                )
            })
        }
    }

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

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

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

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

#[derive(PartialEq,Clone,Default)]
pub struct Int64List {
    // message fields
    pub value: ::std::vec::Vec<i64>,
    // special fields
    pub unknown_fields: ::protobuf::UnknownFields,
    pub cached_size: ::protobuf::CachedSize,
}

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

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

    // repeated int64 value = 1;


    pub fn get_value(&self) -> &[i64] {
        &self.value
    }
    pub fn clear_value(&mut self) {
        self.value.clear();
    }

    // Param is passed by value, moved
    pub fn set_value(&mut self, v: ::std::vec::Vec<i64>) {
        self.value = v;
    }

    // Mutable pointer to the field.
    pub fn mut_value(&mut self) -> &mut ::std::vec::Vec<i64> {
        &mut self.value
    }

    // Take field
    pub fn take_value(&mut self) -> ::std::vec::Vec<i64> {
        ::std::mem::replace(&mut self.value, ::std::vec::Vec::new())
    }
}

impl ::protobuf::Message for Int64List {
    fn is_initialized(&self) -> bool {
        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_int64_into(wire_type, is, &mut self.value)?;
                },
                _ => {
                    ::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 !self.value.is_empty() {
            my_size += ::protobuf::rt::vec_packed_varint_size(1, &self.value);
        }
        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 !self.value.is_empty() {
            os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?;
            // TODO: Data size is computed again, it should be cached
            os.write_raw_varint32(::protobuf::rt::vec_packed_varint_data_size(&self.value))?;
            for v in &self.value {
                os.write_int64_no_tag(*v)?;
            };
        }
        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() -> Int64List {
        Int64List::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_vec_accessor::<_, ::protobuf::types::ProtobufTypeInt64>(
                    "value",
                    |m: &Int64List| { &m.value },
                    |m: &mut Int64List| { &mut m.value },
                ));
                ::protobuf::reflect::MessageDescriptor::new_pb_name::<Int64List>(
                    "Int64List",
                    fields,
                    file_descriptor_proto()
                )
            })
        }
    }

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

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

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

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

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

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

#[derive(Clone,PartialEq,Debug)]
pub enum Feature_oneof_kind {
    bytes_list(BytesList),
    float_list(FloatList),
    int64_list(Int64List),
}

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

    // .tensorflow.BytesList bytes_list = 1;


    pub fn get_bytes_list(&self) -> &BytesList {
        match self.kind {
            ::std::option::Option::Some(Feature_oneof_kind::bytes_list(ref v)) => v,
            _ => BytesList::default_instance(),
        }
    }
    pub fn clear_bytes_list(&mut self) {
        self.kind = ::std::option::Option::None;
    }

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

    // Param is passed by value, moved
    pub fn set_bytes_list(&mut self, v: BytesList) {
        self.kind = ::std::option::Option::Some(Feature_oneof_kind::bytes_list(v))
    }

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

    // Take field
    pub fn take_bytes_list(&mut self) -> BytesList {
        if self.has_bytes_list() {
            match self.kind.take() {
                ::std::option::Option::Some(Feature_oneof_kind::bytes_list(v)) => v,
                _ => panic!(),
            }
        } else {
            BytesList::new()
        }
    }

    // .tensorflow.FloatList float_list = 2;


    pub fn get_float_list(&self) -> &FloatList {
        match self.kind {
            ::std::option::Option::Some(Feature_oneof_kind::float_list(ref v)) => v,
            _ => FloatList::default_instance(),
        }
    }
    pub fn clear_float_list(&mut self) {
        self.kind = ::std::option::Option::None;
    }

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

    // Param is passed by value, moved
    pub fn set_float_list(&mut self, v: FloatList) {
        self.kind = ::std::option::Option::Some(Feature_oneof_kind::float_list(v))
    }

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

    // Take field
    pub fn take_float_list(&mut self) -> FloatList {
        if self.has_float_list() {
            match self.kind.take() {
                ::std::option::Option::Some(Feature_oneof_kind::float_list(v)) => v,
                _ => panic!(),
            }
        } else {
            FloatList::new()
        }
    }

    // .tensorflow.Int64List int64_list = 3;


    pub fn get_int64_list(&self) -> &Int64List {
        match self.kind {
            ::std::option::Option::Some(Feature_oneof_kind::int64_list(ref v)) => v,
            _ => Int64List::default_instance(),
        }
    }
    pub fn clear_int64_list(&mut self) {
        self.kind = ::std::option::Option::None;
    }

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

    // Param is passed by value, moved
    pub fn set_int64_list(&mut self, v: Int64List) {
        self.kind = ::std::option::Option::Some(Feature_oneof_kind::int64_list(v))
    }

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

    // Take field
    pub fn take_int64_list(&mut self) -> Int64List {
        if self.has_int64_list() {
            match self.kind.take() {
                ::std::option::Option::Some(Feature_oneof_kind::int64_list(v)) => v,
                _ => panic!(),
            }
        } else {
            Int64List::new()
        }
    }
}

impl ::protobuf::Message for Feature {
    fn is_initialized(&self) -> bool {
        if let Some(Feature_oneof_kind::bytes_list(ref v)) = self.kind {
            if !v.is_initialized() {
                return false;
            }
        }
        if let Some(Feature_oneof_kind::float_list(ref v)) = self.kind {
            if !v.is_initialized() {
                return false;
            }
        }
        if let Some(Feature_oneof_kind::int64_list(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(Feature_oneof_kind::bytes_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(Feature_oneof_kind::float_list(is.read_message()?));
                },
                3 => {
                    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(Feature_oneof_kind::int64_list(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 {
                &Feature_oneof_kind::bytes_list(ref v) => {
                    let len = v.compute_size();
                    my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
                },
                &Feature_oneof_kind::float_list(ref v) => {
                    let len = v.compute_size();
                    my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
                },
                &Feature_oneof_kind::int64_list(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 {
                &Feature_oneof_kind::bytes_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)?;
                },
                &Feature_oneof_kind::float_list(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)?;
                },
                &Feature_oneof_kind::int64_list(ref v) => {
                    os.write_tag(3, ::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() -> Feature {
        Feature::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::<_, BytesList>(
                    "bytes_list",
                    Feature::has_bytes_list,
                    Feature::get_bytes_list,
                ));
                fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, FloatList>(
                    "float_list",
                    Feature::has_float_list,
                    Feature::get_float_list,
                ));
                fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, Int64List>(
                    "int64_list",
                    Feature::has_int64_list,
                    Feature::get_int64_list,
                ));
                ::protobuf::reflect::MessageDescriptor::new_pb_name::<Feature>(
                    "Feature",
                    fields,
                    file_descriptor_proto()
                )
            })
        }
    }

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

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

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

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

#[derive(PartialEq,Clone,Default)]
pub struct Features {
    // message fields
    pub feature: ::std::collections::HashMap<::std::string::String, Feature>,
    // special fields
    pub unknown_fields: ::protobuf::UnknownFields,
    pub cached_size: ::protobuf::CachedSize,
}

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

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

    // repeated .tensorflow.Features.FeatureEntry feature = 1;


    pub fn get_feature(&self) -> &::std::collections::HashMap<::std::string::String, Feature> {
        &self.feature
    }
    pub fn clear_feature(&mut self) {
        self.feature.clear();
    }

    // Param is passed by value, moved
    pub fn set_feature(&mut self, v: ::std::collections::HashMap<::std::string::String, Feature>) {
        self.feature = v;
    }

    // Mutable pointer to the field.
    pub fn mut_feature(&mut self) -> &mut ::std::collections::HashMap<::std::string::String, Feature> {
        &mut self.feature
    }

    // Take field
    pub fn take_feature(&mut self) -> ::std::collections::HashMap<::std::string::String, Feature> {
        ::std::mem::replace(&mut self.feature, ::std::collections::HashMap::new())
    }
}

impl ::protobuf::Message for Features {
    fn is_initialized(&self) -> bool {
        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_map_into::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeMessage<Feature>>(wire_type, is, &mut self.feature)?;
                },
                _ => {
                    ::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;
        my_size += ::protobuf::rt::compute_map_size::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeMessage<Feature>>(1, &self.feature);
        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<()> {
        ::protobuf::rt::write_map_with_cached_sizes::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeMessage<Feature>>(1, &self.feature, 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() -> Features {
        Features::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_map_accessor::<_, ::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeMessage<Feature>>(
                    "feature",
                    |m: &Features| { &m.feature },
                    |m: &mut Features| { &mut m.feature },
                ));
                ::protobuf::reflect::MessageDescriptor::new_pb_name::<Features>(
                    "Features",
                    fields,
                    file_descriptor_proto()
                )
            })
        }
    }

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

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

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

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

#[derive(PartialEq,Clone,Default)]
pub struct FeatureList {
    // message fields
    pub feature: ::protobuf::RepeatedField<Feature>,
    // special fields
    pub unknown_fields: ::protobuf::UnknownFields,
    pub cached_size: ::protobuf::CachedSize,
}

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

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

    // repeated .tensorflow.Feature feature = 1;


    pub fn get_feature(&self) -> &[Feature] {
        &self.feature
    }
    pub fn clear_feature(&mut self) {
        self.feature.clear();
    }

    // Param is passed by value, moved
    pub fn set_feature(&mut self, v: ::protobuf::RepeatedField<Feature>) {
        self.feature = v;
    }

    // Mutable pointer to the field.
    pub fn mut_feature(&mut self) -> &mut ::protobuf::RepeatedField<Feature> {
        &mut self.feature
    }

    // Take field
    pub fn take_feature(&mut self) -> ::protobuf::RepeatedField<Feature> {
        ::std::mem::replace(&mut self.feature, ::protobuf::RepeatedField::new())
    }
}

impl ::protobuf::Message for FeatureList {
    fn is_initialized(&self) -> bool {
        for v in &self.feature {
            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.feature)?;
                },
                _ => {
                    ::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.feature {
            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.feature {
            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() -> FeatureList {
        FeatureList::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<Feature>>(
                    "feature",
                    |m: &FeatureList| { &m.feature },
                    |m: &mut FeatureList| { &mut m.feature },
                ));
                ::protobuf::reflect::MessageDescriptor::new_pb_name::<FeatureList>(
                    "FeatureList",
                    fields,
                    file_descriptor_proto()
                )
            })
        }
    }

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

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

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

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

#[derive(PartialEq,Clone,Default)]
pub struct FeatureLists {
    // message fields
    pub feature_list: ::std::collections::HashMap<::std::string::String, FeatureList>,
    // special fields
    pub unknown_fields: ::protobuf::UnknownFields,
    pub cached_size: ::protobuf::CachedSize,
}

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

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

    // repeated .tensorflow.FeatureLists.FeatureListEntry feature_list = 1;


    pub fn get_feature_list(&self) -> &::std::collections::HashMap<::std::string::String, FeatureList> {
        &self.feature_list
    }
    pub fn clear_feature_list(&mut self) {
        self.feature_list.clear();
    }

    // Param is passed by value, moved
    pub fn set_feature_list(&mut self, v: ::std::collections::HashMap<::std::string::String, FeatureList>) {
        self.feature_list = v;
    }

    // Mutable pointer to the field.
    pub fn mut_feature_list(&mut self) -> &mut ::std::collections::HashMap<::std::string::String, FeatureList> {
        &mut self.feature_list
    }

    // Take field
    pub fn take_feature_list(&mut self) -> ::std::collections::HashMap<::std::string::String, FeatureList> {
        ::std::mem::replace(&mut self.feature_list, ::std::collections::HashMap::new())
    }
}

impl ::protobuf::Message for FeatureLists {
    fn is_initialized(&self) -> bool {
        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_map_into::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeMessage<FeatureList>>(wire_type, is, &mut self.feature_list)?;
                },
                _ => {
                    ::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;
        my_size += ::protobuf::rt::compute_map_size::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeMessage<FeatureList>>(1, &self.feature_list);
        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<()> {
        ::protobuf::rt::write_map_with_cached_sizes::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeMessage<FeatureList>>(1, &self.feature_list, 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() -> FeatureLists {
        FeatureLists::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_map_accessor::<_, ::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeMessage<FeatureList>>(
                    "feature_list",
                    |m: &FeatureLists| { &m.feature_list },
                    |m: &mut FeatureLists| { &mut m.feature_list },
                ));
                ::protobuf::reflect::MessageDescriptor::new_pb_name::<FeatureLists>(
                    "FeatureLists",
                    fields,
                    file_descriptor_proto()
                )
            })
        }
    }

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

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

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

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

static file_descriptor_proto_data: &'static [u8] = b"\
    \n%tensorflow/core/example/feature.proto\x12\ntensorflow\"!\n\tBytesList\
    \x12\x14\n\x05value\x18\x01\x20\x03(\x0cR\x05value\"%\n\tFloatList\x12\
    \x18\n\x05value\x18\x01\x20\x03(\x02R\x05valueB\x02\x10\x01\"%\n\tInt64L\
    ist\x12\x18\n\x05value\x18\x01\x20\x03(\x03R\x05valueB\x02\x10\x01\"\xb9\
    \x01\n\x07Feature\x126\n\nbytes_list\x18\x01\x20\x01(\x0b2\x15.tensorflo\
    w.BytesListH\0R\tbytesList\x126\n\nfloat_list\x18\x02\x20\x01(\x0b2\x15.\
    tensorflow.FloatListH\0R\tfloatList\x126\n\nint64_list\x18\x03\x20\x01(\
    \x0b2\x15.tensorflow.Int64ListH\0R\tint64ListB\x06\n\x04kind\"\x98\x01\n\
    \x08Features\x12;\n\x07feature\x18\x01\x20\x03(\x0b2!.tensorflow.Feature\
    s.FeatureEntryR\x07feature\x1aO\n\x0cFeatureEntry\x12\x10\n\x03key\x18\
    \x01\x20\x01(\tR\x03key\x12)\n\x05value\x18\x02\x20\x01(\x0b2\x13.tensor\
    flow.FeatureR\x05value:\x028\x01\"<\n\x0bFeatureList\x12-\n\x07feature\
    \x18\x01\x20\x03(\x0b2\x13.tensorflow.FeatureR\x07feature\"\xb5\x01\n\
    \x0cFeatureLists\x12L\n\x0cfeature_list\x18\x01\x20\x03(\x0b2).tensorflo\
    w.FeatureLists.FeatureListEntryR\x0bfeatureList\x1aW\n\x10FeatureListEnt\
    ry\x12\x10\n\x03key\x18\x01\x20\x01(\tR\x03key\x12-\n\x05value\x18\x02\
    \x20\x01(\x0b2\x17.tensorflow.FeatureListR\x05value:\x028\x01B\x81\x01\n\
    \x16org.tensorflow.exampleB\rFeatureProtosP\x01ZSgithub.com/tensorflow/t\
    ensorflow/tensorflow/go/core/example/example_protos_go_proto\xf8\x01\x01\
    J\xd6\x13\n\x06\x12\x047\0j\x01\n\xe1\x08\n\x01\x0c\x12\x037\0\x122\xd6\
    \x08\x20Protocol\x20messages\x20for\x20describing\x20features\x20for\x20\
    machine\x20learning\x20model\n\x20training\x20or\x20inference.\n\n\x20Th\
    ere\x20are\x20three\x20base\x20Feature\x20types:\n\x20\x20\x20-\x20bytes\
    \n\x20\x20\x20-\x20float\n\x20\x20\x20-\x20int64\n\n\x20A\x20Feature\x20\
    contains\x20Lists\x20which\x20may\x20hold\x20zero\x20or\x20more\x20value\
    s.\x20\x20These\n\x20lists\x20are\x20the\x20base\x20values\x20BytesList,\
    \x20FloatList,\x20Int64List.\n\n\x20Features\x20are\x20organized\x20into\
    \x20categories\x20by\x20name.\x20\x20The\x20Features\x20message\n\x20con\
    tains\x20the\x20mapping\x20from\x20name\x20to\x20Feature.\n\n\x20Example\
    \x20Features\x20for\x20a\x20movie\x20recommendation\x20application:\n\
    \x20\x20\x20feature\x20{\n\x20\x20\x20\x20\x20key:\x20\"age\"\n\x20\x20\
    \x20\x20\x20value\x20{\x20float_list\x20{\n\x20\x20\x20\x20\x20\x20\x20v\
    alue:\x2029.0\n\x20\x20\x20\x20\x20}}\n\x20\x20\x20}\n\x20\x20\x20featur\
    e\x20{\n\x20\x20\x20\x20\x20key:\x20\"movie\"\n\x20\x20\x20\x20\x20value\
    \x20{\x20bytes_list\x20{\n\x20\x20\x20\x20\x20\x20\x20value:\x20\"The\
    \x20Shawshank\x20Redemption\"\n\x20\x20\x20\x20\x20\x20\x20value:\x20\"F\
    ight\x20Club\"\n\x20\x20\x20\x20\x20}}\n\x20\x20\x20}\n\x20\x20\x20featu\
    re\x20{\n\x20\x20\x20\x20\x20key:\x20\"movie_ratings\"\n\x20\x20\x20\x20\
    \x20value\x20{\x20float_list\x20{\n\x20\x20\x20\x20\x20\x20\x20value:\
    \x209.0\n\x20\x20\x20\x20\x20\x20\x20value:\x209.7\n\x20\x20\x20\x20\x20\
    }}\n\x20\x20\x20}\n\x20\x20\x20feature\x20{\n\x20\x20\x20\x20\x20key:\
    \x20\"suggestion\"\n\x20\x20\x20\x20\x20value\x20{\x20bytes_list\x20{\n\
    \x20\x20\x20\x20\x20\x20\x20value:\x20\"Inception\"\n\x20\x20\x20\x20\
    \x20}}\n\x20\x20\x20}\n\x20\x20\x20feature\x20{\n\x20\x20\x20\x20\x20key\
    :\x20\"suggestion_purchased\"\n\x20\x20\x20\x20\x20value\x20{\x20int64_l\
    ist\x20{\n\x20\x20\x20\x20\x20\x20\x20value:\x201\n\x20\x20\x20\x20\x20}\
    }\n\x20\x20\x20}\n\x20\x20\x20feature\x20{\n\x20\x20\x20\x20\x20key:\x20\
    \"purchase_price\"\n\x20\x20\x20\x20\x20value\x20{\x20float_list\x20{\n\
    \x20\x20\x20\x20\x20\x20\x20value:\x209.99\n\x20\x20\x20\x20\x20}}\n\x20\
    \x20\x20}\n\n\n\x08\n\x01\x02\x12\x039\0\x13\n\x08\n\x01\x08\x12\x03;\0\
    \x1f\n\t\n\x02\x08\x1f\x12\x03;\0\x1f\n\x08\n\x01\x08\x12\x03<\0.\n\t\n\
    \x02\x08\x08\x12\x03<\0.\n\x08\n\x01\x08\x12\x03=\0\"\n\t\n\x02\x08\n\
    \x12\x03=\0\"\n\x08\n\x01\x08\x12\x03>\0/\n\t\n\x02\x08\x01\x12\x03>\0/\
    \n\x08\n\x01\x08\x12\x03?\0j\n\t\n\x02\x08\x0b\x12\x03?\0j\n=\n\x02\x04\
    \0\x12\x04B\0D\x01\x1a1\x20Containers\x20to\x20hold\x20repeated\x20funda\
    mental\x20values.\n\n\n\n\x03\x04\0\x01\x12\x03B\x08\x11\n\x0b\n\x04\x04\
    \0\x02\0\x12\x03C\x02\x1b\n\x0c\n\x05\x04\0\x02\0\x04\x12\x03C\x02\n\n\
    \x0c\n\x05\x04\0\x02\0\x05\x12\x03C\x0b\x10\n\x0c\n\x05\x04\0\x02\0\x01\
    \x12\x03C\x11\x16\n\x0c\n\x05\x04\0\x02\0\x03\x12\x03C\x19\x1a\n\n\n\x02\
    \x04\x01\x12\x04E\0G\x01\n\n\n\x03\x04\x01\x01\x12\x03E\x08\x11\n\x0b\n\
    \x04\x04\x01\x02\0\x12\x03F\x02+\n\x0c\n\x05\x04\x01\x02\0\x04\x12\x03F\
    \x02\n\n\x0c\n\x05\x04\x01\x02\0\x05\x12\x03F\x0b\x10\n\x0c\n\x05\x04\
    \x01\x02\0\x01\x12\x03F\x11\x16\n\x0c\n\x05\x04\x01\x02\0\x03\x12\x03F\
    \x19\x1a\n\x0c\n\x05\x04\x01\x02\0\x08\x12\x03F\x1b*\n\r\n\x06\x04\x01\
    \x02\0\x08\x02\x12\x03F\x1c)\n\n\n\x02\x04\x02\x12\x04H\0J\x01\n\n\n\x03\
    \x04\x02\x01\x12\x03H\x08\x11\n\x0b\n\x04\x04\x02\x02\0\x12\x03I\x02+\n\
    \x0c\n\x05\x04\x02\x02\0\x04\x12\x03I\x02\n\n\x0c\n\x05\x04\x02\x02\0\
    \x05\x12\x03I\x0b\x10\n\x0c\n\x05\x04\x02\x02\0\x01\x12\x03I\x11\x16\n\
    \x0c\n\x05\x04\x02\x02\0\x03\x12\x03I\x19\x1a\n\x0c\n\x05\x04\x02\x02\0\
    \x08\x12\x03I\x1b*\n\r\n\x06\x04\x02\x02\0\x08\x02\x12\x03I\x1c)\n1\n\
    \x02\x04\x03\x12\x04M\0T\x01\x1a%\x20Containers\x20for\x20non-sequential\
    \x20data.\n\n\n\n\x03\x04\x03\x01\x12\x03M\x08\x0f\n5\n\x04\x04\x03\x08\
    \0\x12\x04O\x02S\x03\x1a'\x20Each\x20feature\x20can\x20be\x20exactly\x20\
    one\x20kind.\n\n\x0c\n\x05\x04\x03\x08\0\x01\x12\x03O\x08\x0c\n\x0b\n\
    \x04\x04\x03\x02\0\x12\x03P\x04\x1d\n\x0c\n\x05\x04\x03\x02\0\x06\x12\
    \x03P\x04\r\n\x0c\n\x05\x04\x03\x02\0\x01\x12\x03P\x0e\x18\n\x0c\n\x05\
    \x04\x03\x02\0\x03\x12\x03P\x1b\x1c\n\x0b\n\x04\x04\x03\x02\x01\x12\x03Q\
    \x04\x1d\n\x0c\n\x05\x04\x03\x02\x01\x06\x12\x03Q\x04\r\n\x0c\n\x05\x04\
    \x03\x02\x01\x01\x12\x03Q\x0e\x18\n\x0c\n\x05\x04\x03\x02\x01\x03\x12\
    \x03Q\x1b\x1c\n\x0b\n\x04\x04\x03\x02\x02\x12\x03R\x04\x1d\n\x0c\n\x05\
    \x04\x03\x02\x02\x06\x12\x03R\x04\r\n\x0c\n\x05\x04\x03\x02\x02\x01\x12\
    \x03R\x0e\x18\n\x0c\n\x05\x04\x03\x02\x02\x03\x12\x03R\x1b\x1c\n\n\n\x02\
    \x04\x04\x12\x04V\0Y\x01\n\n\n\x03\x04\x04\x01\x12\x03V\x08\x10\n0\n\x04\
    \x04\x04\x02\0\x12\x03X\x02#\x1a#\x20Map\x20from\x20feature\x20name\x20t\
    o\x20feature.\n\n\x0c\n\x05\x04\x04\x02\0\x06\x12\x03X\x02\x16\n\x0c\n\
    \x05\x04\x04\x02\0\x01\x12\x03X\x17\x1e\n\x0c\n\x05\x04\x04\x02\0\x03\
    \x12\x03X!\"\n\x89\x02\n\x02\x04\x05\x12\x04c\0e\x01\x1a\xfc\x01\x20Cont\
    ainers\x20for\x20sequential\x20data.\n\n\x20A\x20FeatureList\x20contains\
    \x20lists\x20of\x20Features.\x20\x20These\x20may\x20hold\x20zero\x20or\
    \x20more\n\x20Feature\x20values.\n\n\x20FeatureLists\x20are\x20organized\
    \x20into\x20categories\x20by\x20name.\x20\x20The\x20FeatureLists\x20mess\
    age\n\x20contains\x20the\x20mapping\x20from\x20name\x20to\x20FeatureList\
    .\n\n\n\n\n\x03\x04\x05\x01\x12\x03c\x08\x13\n\x0b\n\x04\x04\x05\x02\0\
    \x12\x03d\x02\x1f\n\x0c\n\x05\x04\x05\x02\0\x04\x12\x03d\x02\n\n\x0c\n\
    \x05\x04\x05\x02\0\x06\x12\x03d\x0b\x12\n\x0c\n\x05\x04\x05\x02\0\x01\
    \x12\x03d\x13\x1a\n\x0c\n\x05\x04\x05\x02\0\x03\x12\x03d\x1d\x1e\n\n\n\
    \x02\x04\x06\x12\x04g\0j\x01\n\n\n\x03\x04\x06\x01\x12\x03g\x08\x14\n5\n\
    \x04\x04\x06\x02\0\x12\x03i\x02,\x1a(\x20Map\x20from\x20feature\x20name\
    \x20to\x20feature\x20list.\n\n\x0c\n\x05\x04\x06\x02\0\x06\x12\x03i\x02\
    \x1a\n\x0c\n\x05\x04\x06\x02\0\x01\x12\x03i\x1b'\n\x0c\n\x05\x04\x06\x02\
    \0\x03\x12\x03i*+b\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()
        })
    }
}