// This file is @generated by prost-build.
/// Translation to translate flows, description etc...
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct Translation {
    /// Language code (e.g. de_DE)
    #[prost(string, tag = "1")]
    pub code: ::prost::alloc::string::String,
    /// Translated content
    #[prost(string, tag = "2")]
    pub content: ::prost::alloc::string::String,
}
/// `Struct` represents a structured data value, consisting of fields
/// which map to dynamically typed values. In some languages, `Struct`
/// might be supported by a native representation. For example, in
/// scripting languages like JS a struct is represented as an
/// object. The details of that representation are described together
/// with the proto support for the language.
///
/// The JSON representation for `Struct` is JSON object.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Struct {
    /// Unordered map of dynamically typed values.
    #[prost(map = "string, message", tag = "1")]
    pub fields: ::std::collections::HashMap<::prost::alloc::string::String, Value>,
}
/// `Value` represents a dynamically typed value which can be either
/// null, a number, a string, a boolean, a recursive struct value, or a
/// list of values. A producer of value is expected to set one of these
/// variants. Absence of any variant indicates an error.
///
/// The JSON representation for `Value` is JSON value.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Value {
    /// The kind of value.
    #[prost(oneof = "value::Kind", tags = "1, 2, 3, 4, 5, 6")]
    pub kind: ::core::option::Option<value::Kind>,
}
/// Nested message and enum types in `Value`.
pub mod value {
    /// The kind of value.
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Kind {
        /// Represents a null value.
        #[prost(enumeration = "super::NullValue", tag = "1")]
        NullValue(i32),
        /// Represents a numberic value.
        #[prost(message, tag = "2")]
        NumberValue(super::NumberValue),
        /// Represents a string value.
        #[prost(string, tag = "3")]
        StringValue(::prost::alloc::string::String),
        /// Represents a boolean value.
        #[prost(bool, tag = "4")]
        BoolValue(bool),
        /// Represents a structured value.
        #[prost(message, tag = "5")]
        StructValue(super::Struct),
        /// Represents a repeated `Value`.
        #[prost(message, tag = "6")]
        ListValue(super::ListValue),
    }
}
/// `NumberValue` represents a numeric value which can be either an
/// integer or a floating-point number.
///
/// The JSON representation for `NumberValue` is JSON number.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct NumberValue {
    #[prost(oneof = "number_value::Number", tags = "1, 2")]
    pub number: ::core::option::Option<number_value::Number>,
}
/// Nested message and enum types in `NumberValue`.
pub mod number_value {
    #[derive(Clone, Copy, PartialEq, ::prost::Oneof)]
    pub enum Number {
        /// Represents an integer value.
        #[prost(int64, tag = "1")]
        Integer(i64),
        /// Represents a floating-point value.
        #[prost(double, tag = "2")]
        Float(f64),
    }
}
/// `ListValue` is a wrapper around a repeated field of values.
///
/// The JSON representation for `ListValue` is JSON array.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListValue {
    /// Repeated field of dynamically typed values.
    #[prost(message, repeated, tag = "1")]
    pub values: ::prost::alloc::vec::Vec<Value>,
}
/// `NullValue` is a singleton enumeration to represent the null value for the
/// `Value` type union.
///
/// The JSON representation for `NullValue` is JSON `null`.
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum NullValue {
    /// Null value.
    NullValue = 0,
}
impl NullValue {
    /// String value of the enum field names used in the ProtoBuf definition.
    ///
    /// The values are not transformed in any way and thus are considered stable
    /// (if the ProtoBuf definition does not change) and safe for programmatic use.
    pub fn as_str_name(&self) -> &'static str {
        match self {
            Self::NullValue => "NULL_VALUE",
        }
    }
    /// Creates an enum from field names used in the ProtoBuf definition.
    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "NULL_VALUE" => Some(Self::NullValue),
            _ => None,
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FlowType {
    #[prost(string, tag = "1")]
    pub identifier: ::prost::alloc::string::String,
    #[prost(message, repeated, tag = "2")]
    pub settings: ::prost::alloc::vec::Vec<FlowTypeSetting>,
    #[prost(bool, tag = "3")]
    pub editable: bool,
    #[prost(message, repeated, tag = "4")]
    pub name: ::prost::alloc::vec::Vec<Translation>,
    #[prost(message, repeated, tag = "5")]
    pub description: ::prost::alloc::vec::Vec<Translation>,
    #[prost(message, repeated, tag = "6")]
    pub documentation: ::prost::alloc::vec::Vec<Translation>,
    #[prost(message, repeated, tag = "7")]
    pub display_message: ::prost::alloc::vec::Vec<Translation>,
    #[prost(message, repeated, tag = "8")]
    pub alias: ::prost::alloc::vec::Vec<Translation>,
    /// Version of the flow type
    /// Format: "major.minor.patch", e.g. "1.2.3"
    #[prost(string, tag = "9")]
    pub version: ::prost::alloc::string::String,
    #[prost(string, tag = "10")]
    pub display_icon: ::prost::alloc::string::String,
    /// Identifier of the service that defines this definition
    #[prost(string, optional, tag = "11")]
    pub definition_source: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(string, repeated, tag = "12")]
    pub linked_data_type_identifiers: ::prost::alloc::vec::Vec<
        ::prost::alloc::string::String,
    >,
    #[prost(string, tag = "13")]
    pub signature: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FlowTypeSetting {
    #[prost(string, tag = "1")]
    pub identifier: ::prost::alloc::string::String,
    #[prost(enumeration = "flow_type_setting::UniquenessScope", tag = "2")]
    pub unique: i32,
    #[prost(message, optional, tag = "3")]
    pub default_value: ::core::option::Option<Value>,
    #[prost(message, repeated, tag = "4")]
    pub name: ::prost::alloc::vec::Vec<Translation>,
    #[prost(message, repeated, tag = "5")]
    pub description: ::prost::alloc::vec::Vec<Translation>,
}
/// Nested message and enum types in `FlowTypeSetting`.
pub mod flow_type_setting {
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum UniquenessScope {
        Unknown = 0,
        None = 1,
        Project = 2,
    }
    impl UniquenessScope {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::Unknown => "UNKNOWN",
                Self::None => "NONE",
                Self::Project => "PROJECT",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNKNOWN" => Some(Self::Unknown),
                "NONE" => Some(Self::None),
                "PROJECT" => Some(Self::Project),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AdapterConfiguration {
    #[prost(oneof = "adapter_configuration::Data", tags = "1")]
    pub data: ::core::option::Option<adapter_configuration::Data>,
}
/// Nested message and enum types in `AdapterConfiguration`.
pub mod adapter_configuration {
    #[derive(Clone, PartialEq, Eq, Hash, ::prost::Oneof)]
    pub enum Data {
        /// e.g. URL, ...
        #[prost(string, tag = "1")]
        Endpoint(::prost::alloc::string::String),
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RuntimeFeature {
    #[prost(message, repeated, tag = "1")]
    pub name: ::prost::alloc::vec::Vec<Translation>,
    #[prost(message, repeated, tag = "2")]
    pub description: ::prost::alloc::vec::Vec<Translation>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AdapterRuntimeStatus {
    #[prost(enumeration = "adapter_runtime_status::Status", tag = "1")]
    pub status: i32,
    /// epoch timestamp in milliseconds
    #[prost(int64, tag = "2")]
    pub timestamp: i64,
    /// unique identifier of the adapter
    #[prost(string, tag = "3")]
    pub identifier: ::prost::alloc::string::String,
    #[prost(message, repeated, tag = "4")]
    pub features: ::prost::alloc::vec::Vec<RuntimeFeature>,
    #[prost(message, repeated, tag = "5")]
    pub configurations: ::prost::alloc::vec::Vec<AdapterConfiguration>,
}
/// Nested message and enum types in `AdapterRuntimeStatus`.
pub mod adapter_runtime_status {
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Status {
        Unknown = 0,
        NotResponding = 1,
        NotReady = 2,
        Running = 3,
        Stopped = 4,
    }
    impl Status {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::Unknown => "UNKNOWN",
                Self::NotResponding => "NOT_RESPONDING",
                Self::NotReady => "NOT_READY",
                Self::Running => "RUNNING",
                Self::Stopped => "STOPPED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNKNOWN" => Some(Self::Unknown),
                "NOT_RESPONDING" => Some(Self::NotResponding),
                "NOT_READY" => Some(Self::NotReady),
                "RUNNING" => Some(Self::Running),
                "STOPPED" => Some(Self::Stopped),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ExecutionRuntimeStatus {
    #[prost(enumeration = "execution_runtime_status::Status", tag = "1")]
    pub status: i32,
    /// epoch timestamp in milliseconds
    #[prost(int64, tag = "2")]
    pub timestamp: i64,
    /// unique identifier of the adapter
    #[prost(string, tag = "3")]
    pub identifier: ::prost::alloc::string::String,
    #[prost(message, repeated, tag = "4")]
    pub features: ::prost::alloc::vec::Vec<RuntimeFeature>,
}
/// Nested message and enum types in `ExecutionRuntimeStatus`.
pub mod execution_runtime_status {
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Status {
        Unknown = 0,
        NotResponding = 1,
        NotReady = 2,
        Running = 3,
        Stopped = 4,
    }
    impl Status {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::Unknown => "UNKNOWN",
                Self::NotResponding => "NOT_RESPONDING",
                Self::NotReady => "NOT_READY",
                Self::Running => "RUNNING",
                Self::Stopped => "STOPPED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNKNOWN" => Some(Self::Unknown),
                "NOT_RESPONDING" => Some(Self::NotResponding),
                "NOT_READY" => Some(Self::NotReady),
                "RUNNING" => Some(Self::Running),
                "STOPPED" => Some(Self::Stopped),
                _ => None,
            }
        }
    }
}
/// A data type is a custom implementation that could be compared to an object
/// It could be as simple as a primitive but can be as complex as a structured object with rules
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DefinitionDataType {
    /// Unique identifier of the data type
    #[prost(string, tag = "1")]
    pub identifier: ::prost::alloc::string::String,
    #[prost(message, repeated, tag = "2")]
    pub name: ::prost::alloc::vec::Vec<Translation>,
    #[prost(message, repeated, tag = "3")]
    pub display_message: ::prost::alloc::vec::Vec<Translation>,
    #[prost(message, repeated, tag = "4")]
    pub alias: ::prost::alloc::vec::Vec<Translation>,
    /// Rules of the data type (e.g. Regex, contains...)
    #[prost(message, repeated, tag = "5")]
    pub rules: ::prost::alloc::vec::Vec<DefinitionDataTypeRule>,
    /// List of generic keys
    #[prost(string, repeated, tag = "6")]
    pub generic_keys: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// the typescript signature representing this data type
    #[prost(string, tag = "7")]
    pub r#type: ::prost::alloc::string::String,
    /// will be used if the signature includes other data types that aren't TS standard
    #[prost(string, repeated, tag = "8")]
    pub linked_data_type_identifiers: ::prost::alloc::vec::Vec<
        ::prost::alloc::string::String,
    >,
    /// Version of the data type
    /// Format: "major.minor.patch", e.g. "1.2.3"
    #[prost(string, tag = "9")]
    pub version: ::prost::alloc::string::String,
    /// Identifier of the service that defines this definition
    #[prost(string, tag = "10")]
    pub definition_source: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ExecutionDataType {
    /// Unique identifier of the data type
    #[prost(string, tag = "1")]
    pub identifier: ::prost::alloc::string::String,
    /// Rules of the data type (e.g. Regex, Number_Range...)
    #[prost(message, repeated, tag = "2")]
    pub rules: ::prost::alloc::vec::Vec<ExecutionDataTypeRule>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DefinitionDataTypeRule {
    #[prost(oneof = "definition_data_type_rule::Config", tags = "1, 2")]
    pub config: ::core::option::Option<definition_data_type_rule::Config>,
}
/// Nested message and enum types in `DefinitionDataTypeRule`.
pub mod definition_data_type_rule {
    #[derive(Clone, PartialEq, Eq, Hash, ::prost::Oneof)]
    pub enum Config {
        #[prost(message, tag = "1")]
        NumberRange(super::DataTypeNumberRangeRuleConfig),
        #[prost(message, tag = "2")]
        Regex(super::DataTypeRegexRuleConfig),
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ExecutionDataTypeRule {
    #[prost(oneof = "execution_data_type_rule::Config", tags = "1, 2")]
    pub config: ::core::option::Option<execution_data_type_rule::Config>,
}
/// Nested message and enum types in `ExecutionDataTypeRule`.
pub mod execution_data_type_rule {
    #[derive(Clone, PartialEq, Eq, Hash, ::prost::Oneof)]
    pub enum Config {
        #[prost(message, tag = "1")]
        NumberRange(super::DataTypeNumberRangeRuleConfig),
        #[prost(message, tag = "2")]
        Regex(super::DataTypeRegexRuleConfig),
    }
}
/// Rule to check that the given number is contained inside the range of numbers
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DataTypeNumberRangeRuleConfig {
    #[prost(int64, tag = "1")]
    pub from: i64,
    #[prost(int64, tag = "2")]
    pub to: i64,
    #[prost(int64, optional, tag = "3")]
    pub steps: ::core::option::Option<i64>,
}
/// Rule to check that the given string matches the given regex pattern
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DataTypeRegexRuleConfig {
    #[prost(string, tag = "1")]
    pub pattern: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ValidationFlow {
    /// Database ID -> req. for Aquila to identify in FlowStore
    #[prost(int64, tag = "1")]
    pub flow_id: i64,
    #[prost(int64, tag = "2")]
    pub project_id: i64,
    /// The FlowType´s identifier
    #[prost(string, tag = "3")]
    pub r#type: ::prost::alloc::string::String,
    /// All custom data types used in this flow
    #[prost(message, repeated, tag = "4")]
    pub data_types: ::prost::alloc::vec::Vec<ExecutionDataType>,
    #[prost(message, repeated, tag = "5")]
    pub settings: ::prost::alloc::vec::Vec<FlowSetting>,
    #[prost(int64, tag = "6")]
    pub starting_node_id: i64,
    #[prost(message, repeated, tag = "7")]
    pub node_functions: ::prost::alloc::vec::Vec<NodeFunction>,
    #[prost(string, tag = "8")]
    pub project_slug: ::prost::alloc::string::String,
    #[prost(string, optional, tag = "9")]
    pub disable_reason: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(string, tag = "10")]
    pub signature: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ExecutionFlow {
    /// Database ID -> req. for Aquila to identify in FlowStore
    #[prost(int64, tag = "1")]
    pub flow_id: i64,
    #[prost(int64, tag = "5")]
    pub project_id: i64,
    #[prost(int64, tag = "2")]
    pub starting_node_id: i64,
    #[prost(message, repeated, tag = "4")]
    pub node_functions: ::prost::alloc::vec::Vec<NodeFunction>,
    #[prost(message, optional, tag = "3")]
    pub input_value: ::core::option::Option<Value>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FlowSetting {
    /// The database id from sagittarius
    #[prost(int64, tag = "1")]
    pub database_id: i64,
    #[prost(string, tag = "2")]
    pub flow_setting_id: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "3")]
    pub value: ::core::option::Option<Value>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NodeFunction {
    /// The database id from sagittarius
    #[prost(int64, tag = "1")]
    pub database_id: i64,
    #[prost(string, tag = "2")]
    pub runtime_function_id: ::prost::alloc::string::String,
    #[prost(message, repeated, tag = "3")]
    pub parameters: ::prost::alloc::vec::Vec<NodeParameter>,
    #[prost(int64, optional, tag = "4")]
    pub next_node_id: ::core::option::Option<i64>,
    #[prost(string, tag = "5")]
    pub definition_source: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NodeValue {
    #[prost(oneof = "node_value::Value", tags = "1, 2, 3")]
    pub value: ::core::option::Option<node_value::Value>,
}
/// Nested message and enum types in `NodeValue`.
pub mod node_value {
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Value {
        #[prost(message, tag = "1")]
        LiteralValue(super::Value),
        #[prost(message, tag = "2")]
        ReferenceValue(super::ReferenceValue),
        /// Reference to the `database_id` field of message `NodeFunction`
        #[prost(int64, tag = "3")]
        NodeFunctionId(i64),
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NodeParameter {
    /// The database id from sagittarius
    #[prost(int64, tag = "1")]
    pub database_id: i64,
    #[prost(string, tag = "2")]
    pub runtime_parameter_id: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "3")]
    pub value: ::core::option::Option<NodeValue>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ReferenceValue {
    #[prost(message, repeated, tag = "4")]
    pub paths: ::prost::alloc::vec::Vec<ReferencePath>,
    #[prost(oneof = "reference_value::Target", tags = "1, 2, 3")]
    pub target: ::core::option::Option<reference_value::Target>,
}
/// Nested message and enum types in `ReferenceValue`.
pub mod reference_value {
    #[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Oneof)]
    pub enum Target {
        /// Ref Value points to flow input
        #[prost(message, tag = "1")]
        FlowInput(super::FlowInput),
        /// Ref Value points to a Result of a node, the int is the id of the node
        #[prost(int64, tag = "2")]
        NodeId(i64),
        /// Points to Value that is contained inside of a node
        #[prost(message, tag = "3")]
        InputType(super::InputType),
    }
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct FlowInput {}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InputType {
    /// Id of the node
    #[prost(int64, tag = "1")]
    pub node_id: i64,
    /// Index of the parameter inside the function
    #[prost(int64, tag = "2")]
    pub parameter_index: i64,
    /// Index of the input type of the data type
    #[prost(int64, tag = "3")]
    pub input_index: i64,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ReferencePath {
    #[prost(string, optional, tag = "1")]
    pub path: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(int64, optional, tag = "2")]
    pub array_index: ::core::option::Option<i64>,
}
/// Used in sagittarius´s FlowService because oneof can only
/// take in a single message type and not a repeated one
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Flows {
    #[prost(message, repeated, tag = "1")]
    pub flows: ::prost::alloc::vec::Vec<ValidationFlow>,
}
/// Message sent by Sagittarius to inform the Action about an ActionConfiguration value
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ActionConfiguration {
    #[prost(string, tag = "1")]
    pub identifier: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "2")]
    pub value: ::core::option::Option<Value>,
}
/// Message representing a project configuration for an action
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ActionProjectConfiguration {
    #[prost(int64, tag = "1")]
    pub project_id: i64,
    #[prost(message, repeated, tag = "2")]
    pub action_configurations: ::prost::alloc::vec::Vec<ActionConfiguration>,
}
/// Wrapper message containing a collection of ActionProjectConfiguration instances
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ActionConfigurations {
    #[prost(message, repeated, tag = "1")]
    pub action_configurations: ::prost::alloc::vec::Vec<ActionProjectConfiguration>,
}
/// Message sent by the Action to define a configuration
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ActionConfigurationDefinition {
    #[prost(message, repeated, tag = "1")]
    pub name: ::prost::alloc::vec::Vec<Translation>,
    #[prost(message, repeated, tag = "2")]
    pub description: ::prost::alloc::vec::Vec<Translation>,
    /// The identifier of the type, e.g. "STRING"
    #[prost(string, tag = "3")]
    pub r#type: ::prost::alloc::string::String,
    /// All used data types in the type
    #[prost(string, repeated, tag = "4")]
    pub linked_data_type_identifiers: ::prost::alloc::vec::Vec<
        ::prost::alloc::string::String,
    >,
    #[prost(message, optional, tag = "5")]
    pub default_value: ::core::option::Option<Value>,
    #[prost(string, tag = "6")]
    pub identifier: ::prost::alloc::string::String,
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RuntimeUsage {
    #[prost(int64, tag = "1")]
    pub flow_id: i64,
    /// in nanoseconds
    #[prost(int64, tag = "2")]
    pub duration: i64,
}
/// Definition of a function used for execution
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RuntimeFunctionDefinition {
    #[prost(string, tag = "1")]
    pub runtime_name: ::prost::alloc::string::String,
    #[prost(message, repeated, tag = "2")]
    pub runtime_parameter_definitions: ::prost::alloc::vec::Vec<
        RuntimeParameterDefinition,
    >,
    #[prost(string, tag = "3")]
    pub signature: ::prost::alloc::string::String,
    #[prost(bool, tag = "4")]
    pub throws_error: bool,
    #[prost(message, repeated, tag = "5")]
    pub name: ::prost::alloc::vec::Vec<Translation>,
    #[prost(message, repeated, tag = "6")]
    pub description: ::prost::alloc::vec::Vec<Translation>,
    #[prost(message, repeated, tag = "7")]
    pub documentation: ::prost::alloc::vec::Vec<Translation>,
    #[prost(message, repeated, tag = "8")]
    pub deprecation_message: ::prost::alloc::vec::Vec<Translation>,
    #[prost(message, repeated, tag = "9")]
    pub display_message: ::prost::alloc::vec::Vec<Translation>,
    #[prost(message, repeated, tag = "10")]
    pub alias: ::prost::alloc::vec::Vec<Translation>,
    /// will link to all data types used in return_type or within the parameters type
    #[prost(string, repeated, tag = "11")]
    pub linked_data_type_identifiers: ::prost::alloc::vec::Vec<
        ::prost::alloc::string::String,
    >,
    /// Version of the runtime function
    /// Format: "major.minor.patch", e.g. "1.2.3"
    #[prost(string, tag = "12")]
    pub version: ::prost::alloc::string::String,
    #[prost(string, tag = "13")]
    pub display_icon: ::prost::alloc::string::String,
    /// Identifier of the service that defines this definition
    #[prost(string, tag = "14")]
    pub definition_source: ::prost::alloc::string::String,
}
/// Definition of a parameter used for execution
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RuntimeParameterDefinition {
    #[prost(string, tag = "1")]
    pub runtime_name: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "2")]
    pub default_value: ::core::option::Option<Value>,
    #[prost(message, repeated, tag = "3")]
    pub name: ::prost::alloc::vec::Vec<Translation>,
    #[prost(message, repeated, tag = "4")]
    pub description: ::prost::alloc::vec::Vec<Translation>,
    #[prost(message, repeated, tag = "5")]
    pub documentation: ::prost::alloc::vec::Vec<Translation>,
}
