fabric_ledger_protos 0.7.0

Rust library for encoding and decoding Hyperledger Fabric contract messages (generated)
Documentation
// This file is generated by rust-protobuf 2.17.0. Do not edit
// @generated

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

#![allow(unused_attributes)]
#![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(unused_imports)]
#![allow(unused_results)]
//! Generated file from `contract_messages.proto`

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

#[derive(PartialEq,Clone,Default)]
pub struct GetMetadataRequest {
    // special fields
    pub unknown_fields: ::protobuf::UnknownFields,
    pub cached_size: ::protobuf::CachedSize,
}

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

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

impl ::protobuf::Message for GetMetadataRequest {
    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 {
                _ => {
                    ::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::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<()> {
        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: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
        self
    }

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

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

    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
        descriptor.get(|| {
            let fields = ::std::vec::Vec::new();
            ::protobuf::reflect::MessageDescriptor::new_pb_name::<GetMetadataRequest>(
                "GetMetadataRequest",
                fields,
                file_descriptor_proto()
            )
        })
    }

    fn default_instance() -> &'static GetMetadataRequest {
        static instance: ::protobuf::rt::LazyV2<GetMetadataRequest> = ::protobuf::rt::LazyV2::INIT;
        instance.get(GetMetadataRequest::new)
    }
}

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

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

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

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

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

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

    // bytes payload = 1;


    pub fn get_payload(&self) -> &[u8] {
        &self.payload
    }
    pub fn clear_payload(&mut self) {
        self.payload.clear();
    }

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

    // Mutable pointer to the field.
    // If field is not initialized, it is initialized with default value first.
    pub fn mut_payload(&mut self) -> &mut ::std::vec::Vec<u8> {
        &mut self.payload
    }

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

impl ::protobuf::Message for GetMetadataResponse {
    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_singular_proto3_bytes_into(wire_type, is, &mut self.payload)?;
                },
                _ => {
                    ::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.payload.is_empty() {
            my_size += ::protobuf::rt::bytes_size(1, &self.payload);
        }
        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.payload.is_empty() {
            os.write_bytes(1, &self.payload)?;
        }
        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: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
        self
    }

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

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

    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
        descriptor.get(|| {
            let mut fields = ::std::vec::Vec::new();
            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>(
                "payload",
                |m: &GetMetadataResponse| { &m.payload },
                |m: &mut GetMetadataResponse| { &mut m.payload },
            ));
            ::protobuf::reflect::MessageDescriptor::new_pb_name::<GetMetadataResponse>(
                "GetMetadataResponse",
                fields,
                file_descriptor_proto()
            )
        })
    }

    fn default_instance() -> &'static GetMetadataResponse {
        static instance: ::protobuf::rt::LazyV2<GetMetadataResponse> = ::protobuf::rt::LazyV2::INIT;
        instance.get(GetMetadataResponse::new)
    }
}

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

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

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

#[derive(PartialEq,Clone,Default)]
pub struct InvokeTransactionRequest {
    // message fields
    pub context: ::protobuf::SingularPtrField<super::common_messages::TransactionContext>,
    pub transaction_name: ::std::string::String,
    pub args: ::protobuf::RepeatedField<::std::vec::Vec<u8>>,
    pub transient_args: ::std::collections::HashMap<::std::string::String, ::std::vec::Vec<u8>>,
    // special fields
    pub unknown_fields: ::protobuf::UnknownFields,
    pub cached_size: ::protobuf::CachedSize,
}

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

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

    // .contract.TransactionContext context = 1;


    pub fn get_context(&self) -> &super::common_messages::TransactionContext {
        self.context.as_ref().unwrap_or_else(|| <super::common_messages::TransactionContext as ::protobuf::Message>::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::common_messages::TransactionContext) {
        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::common_messages::TransactionContext {
        if self.context.is_none() {
            self.context.set_default();
        }
        self.context.as_mut().unwrap()
    }

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

    // string transaction_name = 2;


    pub fn get_transaction_name(&self) -> &str {
        &self.transaction_name
    }
    pub fn clear_transaction_name(&mut self) {
        self.transaction_name.clear();
    }

    // Param is passed by value, moved
    pub fn set_transaction_name(&mut self, v: ::std::string::String) {
        self.transaction_name = v;
    }

    // Mutable pointer to the field.
    // If field is not initialized, it is initialized with default value first.
    pub fn mut_transaction_name(&mut self) -> &mut ::std::string::String {
        &mut self.transaction_name
    }

    // Take field
    pub fn take_transaction_name(&mut self) -> ::std::string::String {
        ::std::mem::replace(&mut self.transaction_name, ::std::string::String::new())
    }

    // repeated bytes args = 3;


    pub fn get_args(&self) -> &[::std::vec::Vec<u8>] {
        &self.args
    }
    pub fn clear_args(&mut self) {
        self.args.clear();
    }

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

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

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

    // repeated .contract.InvokeTransactionRequest.TransientArgsEntry transient_args = 4;


    pub fn get_transient_args(&self) -> &::std::collections::HashMap<::std::string::String, ::std::vec::Vec<u8>> {
        &self.transient_args
    }
    pub fn clear_transient_args(&mut self) {
        self.transient_args.clear();
    }

    // Param is passed by value, moved
    pub fn set_transient_args(&mut self, v: ::std::collections::HashMap<::std::string::String, ::std::vec::Vec<u8>>) {
        self.transient_args = v;
    }

    // Mutable pointer to the field.
    pub fn mut_transient_args(&mut self) -> &mut ::std::collections::HashMap<::std::string::String, ::std::vec::Vec<u8>> {
        &mut self.transient_args
    }

    // Take field
    pub fn take_transient_args(&mut self) -> ::std::collections::HashMap<::std::string::String, ::std::vec::Vec<u8>> {
        ::std::mem::replace(&mut self.transient_args, ::std::collections::HashMap::new())
    }
}

impl ::protobuf::Message for InvokeTransactionRequest {
    fn is_initialized(&self) -> bool {
        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_singular_message_into(wire_type, is, &mut self.context)?;
                },
                2 => {
                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.transaction_name)?;
                },
                3 => {
                    ::protobuf::rt::read_repeated_bytes_into(wire_type, is, &mut self.args)?;
                },
                4 => {
                    ::protobuf::rt::read_map_into::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeBytes>(wire_type, is, &mut self.transient_args)?;
                },
                _ => {
                    ::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 Some(ref v) = self.context.as_ref() {
            let len = v.compute_size();
            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
        }
        if !self.transaction_name.is_empty() {
            my_size += ::protobuf::rt::string_size(2, &self.transaction_name);
        }
        for value in &self.args {
            my_size += ::protobuf::rt::bytes_size(3, &value);
        };
        my_size += ::protobuf::rt::compute_map_size::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeBytes>(4, &self.transient_args);
        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 Some(ref v) = self.context.as_ref() {
            os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?;
            os.write_raw_varint32(v.get_cached_size())?;
            v.write_to_with_cached_sizes(os)?;
        }
        if !self.transaction_name.is_empty() {
            os.write_string(2, &self.transaction_name)?;
        }
        for v in &self.args {
            os.write_bytes(3, &v)?;
        };
        ::protobuf::rt::write_map_with_cached_sizes::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeBytes>(4, &self.transient_args, 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: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
        self
    }

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

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

    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
        descriptor.get(|| {
            let mut fields = ::std::vec::Vec::new();
            fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<super::common_messages::TransactionContext>>(
                "context",
                |m: &InvokeTransactionRequest| { &m.context },
                |m: &mut InvokeTransactionRequest| { &mut m.context },
            ));
            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
                "transaction_name",
                |m: &InvokeTransactionRequest| { &m.transaction_name },
                |m: &mut InvokeTransactionRequest| { &mut m.transaction_name },
            ));
            fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>(
                "args",
                |m: &InvokeTransactionRequest| { &m.args },
                |m: &mut InvokeTransactionRequest| { &mut m.args },
            ));
            fields.push(::protobuf::reflect::accessor::make_map_accessor::<_, ::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeBytes>(
                "transient_args",
                |m: &InvokeTransactionRequest| { &m.transient_args },
                |m: &mut InvokeTransactionRequest| { &mut m.transient_args },
            ));
            ::protobuf::reflect::MessageDescriptor::new_pb_name::<InvokeTransactionRequest>(
                "InvokeTransactionRequest",
                fields,
                file_descriptor_proto()
            )
        })
    }

    fn default_instance() -> &'static InvokeTransactionRequest {
        static instance: ::protobuf::rt::LazyV2<InvokeTransactionRequest> = ::protobuf::rt::LazyV2::INIT;
        instance.get(InvokeTransactionRequest::new)
    }
}

impl ::protobuf::Clear for InvokeTransactionRequest {
    fn clear(&mut self) {
        self.context.clear();
        self.transaction_name.clear();
        self.args.clear();
        self.transient_args.clear();
        self.unknown_fields.clear();
    }
}

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

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

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

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

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

    // bytes payload = 1;


    pub fn get_payload(&self) -> &[u8] {
        &self.payload
    }
    pub fn clear_payload(&mut self) {
        self.payload.clear();
    }

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

    // Mutable pointer to the field.
    // If field is not initialized, it is initialized with default value first.
    pub fn mut_payload(&mut self) -> &mut ::std::vec::Vec<u8> {
        &mut self.payload
    }

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

impl ::protobuf::Message for InvokeTransactionResponse {
    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_singular_proto3_bytes_into(wire_type, is, &mut self.payload)?;
                },
                _ => {
                    ::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.payload.is_empty() {
            my_size += ::protobuf::rt::bytes_size(1, &self.payload);
        }
        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.payload.is_empty() {
            os.write_bytes(1, &self.payload)?;
        }
        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: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
        self
    }

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

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

    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
        descriptor.get(|| {
            let mut fields = ::std::vec::Vec::new();
            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>(
                "payload",
                |m: &InvokeTransactionResponse| { &m.payload },
                |m: &mut InvokeTransactionResponse| { &mut m.payload },
            ));
            ::protobuf::reflect::MessageDescriptor::new_pb_name::<InvokeTransactionResponse>(
                "InvokeTransactionResponse",
                fields,
                file_descriptor_proto()
            )
        })
    }

    fn default_instance() -> &'static InvokeTransactionResponse {
        static instance: ::protobuf::rt::LazyV2<InvokeTransactionResponse> = ::protobuf::rt::LazyV2::INIT;
        instance.get(InvokeTransactionResponse::new)
    }
}

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

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

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

#[derive(PartialEq,Clone,Default)]
pub struct InvokeTransactionError {
    // message fields
    pub code: i32,
    pub message: ::std::string::String,
    // special fields
    pub unknown_fields: ::protobuf::UnknownFields,
    pub cached_size: ::protobuf::CachedSize,
}

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

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

    // int32 code = 1;


    pub fn get_code(&self) -> i32 {
        self.code
    }
    pub fn clear_code(&mut self) {
        self.code = 0;
    }

    // Param is passed by value, moved
    pub fn set_code(&mut self, v: i32) {
        self.code = v;
    }

    // string message = 2;


    pub fn get_message(&self) -> &str {
        &self.message
    }
    pub fn clear_message(&mut self) {
        self.message.clear();
    }

    // Param is passed by value, moved
    pub fn set_message(&mut self, v: ::std::string::String) {
        self.message = v;
    }

    // Mutable pointer to the field.
    // If field is not initialized, it is initialized with default value first.
    pub fn mut_message(&mut self) -> &mut ::std::string::String {
        &mut self.message
    }

    // Take field
    pub fn take_message(&mut self) -> ::std::string::String {
        ::std::mem::replace(&mut self.message, ::std::string::String::new())
    }
}

impl ::protobuf::Message for InvokeTransactionError {
    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 => {
                    if wire_type != ::protobuf::wire_format::WireTypeVarint {
                        return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
                    }
                    let tmp = is.read_int32()?;
                    self.code = tmp;
                },
                2 => {
                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.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 self.code != 0 {
            my_size += ::protobuf::rt::value_size(1, self.code, ::protobuf::wire_format::WireTypeVarint);
        }
        if !self.message.is_empty() {
            my_size += ::protobuf::rt::string_size(2, &self.message);
        }
        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.code != 0 {
            os.write_int32(1, self.code)?;
        }
        if !self.message.is_empty() {
            os.write_string(2, &self.message)?;
        }
        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: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
        self
    }

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

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

    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
        descriptor.get(|| {
            let mut fields = ::std::vec::Vec::new();
            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt32>(
                "code",
                |m: &InvokeTransactionError| { &m.code },
                |m: &mut InvokeTransactionError| { &mut m.code },
            ));
            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
                "message",
                |m: &InvokeTransactionError| { &m.message },
                |m: &mut InvokeTransactionError| { &mut m.message },
            ));
            ::protobuf::reflect::MessageDescriptor::new_pb_name::<InvokeTransactionError>(
                "InvokeTransactionError",
                fields,
                file_descriptor_proto()
            )
        })
    }

    fn default_instance() -> &'static InvokeTransactionError {
        static instance: ::protobuf::rt::LazyV2<InvokeTransactionError> = ::protobuf::rt::LazyV2::INIT;
        instance.get(InvokeTransactionError::new)
    }
}

impl ::protobuf::Clear for InvokeTransactionError {
    fn clear(&mut self) {
        self.code = 0;
        self.message.clear();
        self.unknown_fields.clear();
    }
}

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

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

#[derive(PartialEq,Clone,Default)]
pub struct RegisterPeerRequest {
    // message fields
    pub peer_address: ::std::string::String,
    pub peer_port: ::std::string::String,
    // special fields
    pub unknown_fields: ::protobuf::UnknownFields,
    pub cached_size: ::protobuf::CachedSize,
}

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

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

    // string peer_address = 1;


    pub fn get_peer_address(&self) -> &str {
        &self.peer_address
    }
    pub fn clear_peer_address(&mut self) {
        self.peer_address.clear();
    }

    // Param is passed by value, moved
    pub fn set_peer_address(&mut self, v: ::std::string::String) {
        self.peer_address = v;
    }

    // Mutable pointer to the field.
    // If field is not initialized, it is initialized with default value first.
    pub fn mut_peer_address(&mut self) -> &mut ::std::string::String {
        &mut self.peer_address
    }

    // Take field
    pub fn take_peer_address(&mut self) -> ::std::string::String {
        ::std::mem::replace(&mut self.peer_address, ::std::string::String::new())
    }

    // string peer_port = 2;


    pub fn get_peer_port(&self) -> &str {
        &self.peer_port
    }
    pub fn clear_peer_port(&mut self) {
        self.peer_port.clear();
    }

    // Param is passed by value, moved
    pub fn set_peer_port(&mut self, v: ::std::string::String) {
        self.peer_port = v;
    }

    // Mutable pointer to the field.
    // If field is not initialized, it is initialized with default value first.
    pub fn mut_peer_port(&mut self) -> &mut ::std::string::String {
        &mut self.peer_port
    }

    // Take field
    pub fn take_peer_port(&mut self) -> ::std::string::String {
        ::std::mem::replace(&mut self.peer_port, ::std::string::String::new())
    }
}

impl ::protobuf::Message for RegisterPeerRequest {
    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_singular_proto3_string_into(wire_type, is, &mut self.peer_address)?;
                },
                2 => {
                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.peer_port)?;
                },
                _ => {
                    ::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.peer_address.is_empty() {
            my_size += ::protobuf::rt::string_size(1, &self.peer_address);
        }
        if !self.peer_port.is_empty() {
            my_size += ::protobuf::rt::string_size(2, &self.peer_port);
        }
        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.peer_address.is_empty() {
            os.write_string(1, &self.peer_address)?;
        }
        if !self.peer_port.is_empty() {
            os.write_string(2, &self.peer_port)?;
        }
        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: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
        self
    }

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

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

    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
        descriptor.get(|| {
            let mut fields = ::std::vec::Vec::new();
            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
                "peer_address",
                |m: &RegisterPeerRequest| { &m.peer_address },
                |m: &mut RegisterPeerRequest| { &mut m.peer_address },
            ));
            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
                "peer_port",
                |m: &RegisterPeerRequest| { &m.peer_port },
                |m: &mut RegisterPeerRequest| { &mut m.peer_port },
            ));
            ::protobuf::reflect::MessageDescriptor::new_pb_name::<RegisterPeerRequest>(
                "RegisterPeerRequest",
                fields,
                file_descriptor_proto()
            )
        })
    }

    fn default_instance() -> &'static RegisterPeerRequest {
        static instance: ::protobuf::rt::LazyV2<RegisterPeerRequest> = ::protobuf::rt::LazyV2::INIT;
        instance.get(RegisterPeerRequest::new)
    }
}

impl ::protobuf::Clear for RegisterPeerRequest {
    fn clear(&mut self) {
        self.peer_address.clear();
        self.peer_port.clear();
        self.unknown_fields.clear();
    }
}

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

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

#[derive(PartialEq,Clone,Default)]
pub struct RegisterPeerResponse {
    // special fields
    pub unknown_fields: ::protobuf::UnknownFields,
    pub cached_size: ::protobuf::CachedSize,
}

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

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

impl ::protobuf::Message for RegisterPeerResponse {
    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 {
                _ => {
                    ::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::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<()> {
        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: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
        self
    }

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

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

    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
        descriptor.get(|| {
            let fields = ::std::vec::Vec::new();
            ::protobuf::reflect::MessageDescriptor::new_pb_name::<RegisterPeerResponse>(
                "RegisterPeerResponse",
                fields,
                file_descriptor_proto()
            )
        })
    }

    fn default_instance() -> &'static RegisterPeerResponse {
        static instance: ::protobuf::rt::LazyV2<RegisterPeerResponse> = ::protobuf::rt::LazyV2::INIT;
        instance.get(RegisterPeerResponse::new)
    }
}

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

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

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

static file_descriptor_proto_data: &'static [u8] = b"\
    \n\x17contract_messages.proto\x12\x08contract\x1a\x15common_messages.pro\
    to\"\x14\n\x12GetMetadataRequest\"/\n\x13GetMetadataResponse\x12\x18\n\
    \x07payload\x18\x01\x20\x01(\x0cR\x07payload\"\xb1\x02\n\x18InvokeTransa\
    ctionRequest\x126\n\x07context\x18\x01\x20\x01(\x0b2\x1c.contract.Transa\
    ctionContextR\x07context\x12)\n\x10transaction_name\x18\x02\x20\x01(\tR\
    \x0ftransactionName\x12\x12\n\x04args\x18\x03\x20\x03(\x0cR\x04args\x12\
    \\\n\x0etransient_args\x18\x04\x20\x03(\x0b25.contract.InvokeTransaction\
    Request.TransientArgsEntryR\rtransientArgs\x1a@\n\x12TransientArgsEntry\
    \x12\x10\n\x03key\x18\x01\x20\x01(\tR\x03key\x12\x14\n\x05value\x18\x02\
    \x20\x01(\x0cR\x05value:\x028\x01\"5\n\x19InvokeTransactionResponse\x12\
    \x18\n\x07payload\x18\x01\x20\x01(\x0cR\x07payload\"F\n\x16InvokeTransac\
    tionError\x12\x12\n\x04code\x18\x01\x20\x01(\x05R\x04code\x12\x18\n\x07m\
    essage\x18\x02\x20\x01(\tR\x07message\"U\n\x13RegisterPeerRequest\x12!\n\
    \x0cpeer_address\x18\x01\x20\x01(\tR\x0bpeerAddress\x12\x1b\n\tpeer_port\
    \x18\x02\x20\x01(\tR\x08peerPort\"\x16\n\x14RegisterPeerResponseBEZChttp\
    s://github.com/hyperledgendary/fabric-ledger-protos-go/contractJ\xfc\x06\
    \n\x06\x12\x04\x02\0(\x01\n/\n\x01\x0c\x12\x03\x02\0\x122%\x20SPDX-Licen\
    se-Identifier:\x20Apache-2.0\n\n\x08\n\x01\x02\x12\x03\x04\0\x11\n\x08\n\
    \x01\x08\x12\x03\x06\0Z\n\t\n\x02\x08\x0b\x12\x03\x06\0Z\n\t\n\x02\x03\0\
    \x12\x03\x08\0\x1f\n\n\n\x02\x04\0\x12\x04\n\0\x0b\x01\n\n\n\x03\x04\0\
    \x01\x12\x03\n\x08\x1a\n\n\n\x02\x04\x01\x12\x04\r\0\x0f\x01\n\n\n\x03\
    \x04\x01\x01\x12\x03\r\x08\x1b\n\x0b\n\x04\x04\x01\x02\0\x12\x03\x0e\x02\
    \x14\n\x0c\n\x05\x04\x01\x02\0\x05\x12\x03\x0e\x02\x07\n\x0c\n\x05\x04\
    \x01\x02\0\x01\x12\x03\x0e\x08\x0f\n\x0c\n\x05\x04\x01\x02\0\x03\x12\x03\
    \x0e\x12\x13\n\n\n\x02\x04\x02\x12\x04\x11\0\x16\x01\n\n\n\x03\x04\x02\
    \x01\x12\x03\x11\x08\x20\n\x0b\n\x04\x04\x02\x02\0\x12\x03\x12\x02!\n\
    \x0c\n\x05\x04\x02\x02\0\x06\x12\x03\x12\x02\x14\n\x0c\n\x05\x04\x02\x02\
    \0\x01\x12\x03\x12\x15\x1c\n\x0c\n\x05\x04\x02\x02\0\x03\x12\x03\x12\x1f\
    \x20\n\x0b\n\x04\x04\x02\x02\x01\x12\x03\x13\x02\x1e\n\x0c\n\x05\x04\x02\
    \x02\x01\x05\x12\x03\x13\x02\x08\n\x0c\n\x05\x04\x02\x02\x01\x01\x12\x03\
    \x13\t\x19\n\x0c\n\x05\x04\x02\x02\x01\x03\x12\x03\x13\x1c\x1d\n\x0b\n\
    \x04\x04\x02\x02\x02\x12\x03\x14\x02\x1a\n\x0c\n\x05\x04\x02\x02\x02\x04\
    \x12\x03\x14\x02\n\n\x0c\n\x05\x04\x02\x02\x02\x05\x12\x03\x14\x0b\x10\n\
    \x0c\n\x05\x04\x02\x02\x02\x01\x12\x03\x14\x11\x15\n\x0c\n\x05\x04\x02\
    \x02\x02\x03\x12\x03\x14\x18\x19\n\x0b\n\x04\x04\x02\x02\x03\x12\x03\x15\
    \x02(\n\x0c\n\x05\x04\x02\x02\x03\x06\x12\x03\x15\x02\x14\n\x0c\n\x05\
    \x04\x02\x02\x03\x01\x12\x03\x15\x15#\n\x0c\n\x05\x04\x02\x02\x03\x03\
    \x12\x03\x15&'\n\n\n\x02\x04\x03\x12\x04\x18\0\x1a\x01\n\n\n\x03\x04\x03\
    \x01\x12\x03\x18\x08!\n\x0b\n\x04\x04\x03\x02\0\x12\x03\x19\x02\x14\n\
    \x0c\n\x05\x04\x03\x02\0\x05\x12\x03\x19\x02\x07\n\x0c\n\x05\x04\x03\x02\
    \0\x01\x12\x03\x19\x08\x0f\n\x0c\n\x05\x04\x03\x02\0\x03\x12\x03\x19\x12\
    \x13\n\n\n\x02\x04\x04\x12\x04\x1c\0\x1f\x01\n\n\n\x03\x04\x04\x01\x12\
    \x03\x1c\x08\x1e\n\x0b\n\x04\x04\x04\x02\0\x12\x03\x1d\x02\x11\n\x0c\n\
    \x05\x04\x04\x02\0\x05\x12\x03\x1d\x02\x07\n\x0c\n\x05\x04\x04\x02\0\x01\
    \x12\x03\x1d\x08\x0c\n\x0c\n\x05\x04\x04\x02\0\x03\x12\x03\x1d\x0f\x10\n\
    \x0b\n\x04\x04\x04\x02\x01\x12\x03\x1e\x02\x15\n\x0c\n\x05\x04\x04\x02\
    \x01\x05\x12\x03\x1e\x02\x08\n\x0c\n\x05\x04\x04\x02\x01\x01\x12\x03\x1e\
    \t\x10\n\x0c\n\x05\x04\x04\x02\x01\x03\x12\x03\x1e\x13\x14\nG\n\x02\x04\
    \x05\x12\x04\"\0%\x01\x1a;\x20This\x20is\x20going\x20to\x20need\x20TLS\
    \x20settings\x20and\x20client\x20CA\x20stuff...\n\n\n\n\x03\x04\x05\x01\
    \x12\x03\"\x08\x1b\n\x0b\n\x04\x04\x05\x02\0\x12\x03#\x02\x1a\n\x0c\n\
    \x05\x04\x05\x02\0\x05\x12\x03#\x02\x08\n\x0c\n\x05\x04\x05\x02\0\x01\
    \x12\x03#\t\x15\n\x0c\n\x05\x04\x05\x02\0\x03\x12\x03#\x18\x19\n\x0b\n\
    \x04\x04\x05\x02\x01\x12\x03$\x02\x17\n\x0c\n\x05\x04\x05\x02\x01\x05\
    \x12\x03$\x02\x08\n\x0c\n\x05\x04\x05\x02\x01\x01\x12\x03$\t\x12\n\x0c\n\
    \x05\x04\x05\x02\x01\x03\x12\x03$\x15\x16\n\n\n\x02\x04\x06\x12\x04'\0(\
    \x01\n\n\n\x03\x04\x06\x01\x12\x03'\x08\x1cb\x06proto3\
";

static file_descriptor_proto_lazy: ::protobuf::rt::LazyV2<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::rt::LazyV2::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 {
    file_descriptor_proto_lazy.get(|| {
        parse_descriptor_proto()
    })
}