// This file is @generated by prost-build.
/// `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 double value.
        #[prost(double, tag = "2")]
        NumberValue(f64),
        /// 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),
    }
}
/// `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,
        }
    }
}
/// 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,
}
/// 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 {
    /// Variant of the data type
    #[prost(enumeration = "definition_data_type::Variant", tag = "1")]
    pub variant: i32,
    /// Unique identifier of the data type
    #[prost(string, tag = "2")]
    pub identifier: ::prost::alloc::string::String,
    #[prost(message, repeated, tag = "3")]
    pub name: ::prost::alloc::vec::Vec<Translation>,
    #[prost(message, repeated, tag = "4")]
    pub display_message: ::prost::alloc::vec::Vec<Translation>,
    #[prost(message, repeated, tag = "5")]
    pub alias: ::prost::alloc::vec::Vec<Translation>,
    /// Rules of the data type (e.g. Regex, contains...)
    #[prost(message, repeated, tag = "6")]
    pub rules: ::prost::alloc::vec::Vec<DefinitionDataTypeRule>,
    /// List of generic keys
    #[prost(string, repeated, tag = "7")]
    pub generic_keys: ::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 = "8")]
    pub version: ::prost::alloc::string::String,
}
/// Nested message and enum types in `DefinitionDataType`.
pub mod definition_data_type {
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Variant {
        Unknown = 0,
        Primitive = 1,
        Type = 2,
        Object = 3,
        Datatype = 4,
        Array = 5,
        Error = 6,
        Node = 7,
    }
    impl Variant {
        /// 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::Primitive => "PRIMITIVE",
                Self::Type => "TYPE",
                Self::Object => "OBJECT",
                Self::Datatype => "DATATYPE",
                Self::Array => "ARRAY",
                Self::Error => "ERROR",
                Self::Node => "NODE",
            }
        }
        /// 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),
                "PRIMITIVE" => Some(Self::Primitive),
                "TYPE" => Some(Self::Type),
                "OBJECT" => Some(Self::Object),
                "DATATYPE" => Some(Self::Datatype),
                "ARRAY" => Some(Self::Array),
                "ERROR" => Some(Self::Error),
                "NODE" => Some(Self::Node),
                _ => None,
            }
        }
    }
}
#[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, contains...)
    #[prost(message, repeated, tag = "2")]
    pub rules: ::prost::alloc::vec::Vec<ExecutionDataTypeRule>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DefinitionDataTypeRule {
    #[prost(
        oneof = "definition_data_type_rule::Config",
        tags = "1, 2, 3, 4, 5, 6, 7, 8"
    )]
    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, ::prost::Oneof)]
    pub enum Config {
        #[prost(message, tag = "1")]
        ContainsKey(super::DefinitionDataTypeContainsKeyRuleConfig),
        #[prost(message, tag = "2")]
        ContainsType(super::DefinitionDataTypeContainsTypeRuleConfig),
        #[prost(message, tag = "3")]
        ItemOfCollection(super::DataTypeItemOfCollectionRuleConfig),
        #[prost(message, tag = "4")]
        NumberRange(super::DataTypeNumberRangeRuleConfig),
        #[prost(message, tag = "5")]
        Regex(super::DataTypeRegexRuleConfig),
        #[prost(message, tag = "6")]
        InputTypes(super::DefinitionDataTypeInputTypesRuleConfig),
        #[prost(message, tag = "7")]
        ReturnType(super::DefinitionDataTypeReturnTypeRuleConfig),
        #[prost(message, tag = "8")]
        ParentType(super::DefinitionDataTypeParentTypeRuleConfig),
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ExecutionDataTypeRule {
    #[prost(oneof = "execution_data_type_rule::Config", tags = "1, 2, 3, 4, 5")]
    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, ::prost::Oneof)]
    pub enum Config {
        #[prost(message, tag = "1")]
        ContainsKey(super::ExecutionDataTypeContainsKeyRuleConfig),
        #[prost(message, tag = "2")]
        ContainsType(super::ExecutionDataTypeContainsTypeRuleConfig),
        #[prost(message, tag = "3")]
        ItemOfCollection(super::DataTypeItemOfCollectionRuleConfig),
        #[prost(message, tag = "4")]
        NumberRange(super::DataTypeNumberRangeRuleConfig),
        #[prost(message, tag = "5")]
        Regex(super::DataTypeRegexRuleConfig),
    }
}
/// Rule for defining the data type parent type
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DefinitionDataTypeParentTypeRuleConfig {
    #[prost(message, optional, tag = "1")]
    pub parent_type: ::core::option::Option<DataTypeIdentifier>,
}
/// Rule to check that the given key is contained in the given object
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DefinitionDataTypeContainsKeyRuleConfig {
    #[prost(string, tag = "1")]
    pub key: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "2")]
    pub data_type_identifier: ::core::option::Option<DataTypeIdentifier>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ExecutionDataTypeContainsKeyRuleConfig {
    #[prost(string, tag = "1")]
    pub key: ::prost::alloc::string::String,
    #[prost(string, tag = "2")]
    pub data_type_identifier: ::prost::alloc::string::String,
}
/// Rule to check that the given type is contained in the given array
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DefinitionDataTypeContainsTypeRuleConfig {
    #[prost(message, optional, tag = "1")]
    pub data_type_identifier: ::core::option::Option<DataTypeIdentifier>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ExecutionDataTypeContainsTypeRuleConfig {
    #[prost(string, tag = "1")]
    pub data_type_identifier: ::prost::alloc::string::String,
}
/// Rule to check that the given item is contained inside the array of items
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DataTypeItemOfCollectionRuleConfig {
    #[prost(message, repeated, tag = "1")]
    pub items: ::prost::alloc::vec::Vec<Value>,
}
/// 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 DefinitionDataTypeInputTypesRuleConfig {
    #[prost(message, repeated, tag = "1")]
    pub input_types: ::prost::alloc::vec::Vec<
        definition_data_type_input_types_rule_config::DataTypeInputType,
    >,
}
/// Nested message and enum types in `DefinitionDataTypeInputTypesRuleConfig`.
pub mod definition_data_type_input_types_rule_config {
    #[derive(Clone, PartialEq, ::prost::Message)]
    pub struct DataTypeInputType {
        #[prost(message, optional, tag = "1")]
        pub data_type_identifier: ::core::option::Option<super::DataTypeIdentifier>,
        #[prost(string, tag = "2")]
        pub input_identifier: ::prost::alloc::string::String,
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DefinitionDataTypeReturnTypeRuleConfig {
    #[prost(message, optional, tag = "1")]
    pub data_type_identifier: ::core::option::Option<DataTypeIdentifier>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DataTypeIdentifier {
    #[prost(oneof = "data_type_identifier::Type", tags = "1, 2, 3")]
    pub r#type: ::core::option::Option<data_type_identifier::Type>,
}
/// Nested message and enum types in `DataTypeIdentifier`.
pub mod data_type_identifier {
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Type {
        /// Points to a data type without generic keys
        #[prost(string, tag = "1")]
        DataTypeIdentifier(::prost::alloc::string::String),
        /// Points to a data type with generic keys
        #[prost(message, tag = "2")]
        GenericType(super::GenericType),
        /// Points to a generic key in the current function
        #[prost(string, tag = "3")]
        GenericKey(::prost::alloc::string::String),
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GenericType {
    /// References a data type by its identifier
    #[prost(string, tag = "1")]
    pub data_type_identifier: ::prost::alloc::string::String,
    #[prost(message, repeated, tag = "2")]
    pub generic_mappers: ::prost::alloc::vec::Vec<GenericMapper>,
}
/// target get mapped to source
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GenericMapper {
    /// can point to another generic or to a resolved data type
    /// Assigns source to this source
    #[prost(message, repeated, tag = "1")]
    pub source: ::prost::alloc::vec::Vec<DataTypeIdentifier>,
    /// can only be a generic key for example: 'T', 'V'
    #[prost(string, tag = "2")]
    pub target: ::prost::alloc::string::String,
    #[prost(
        enumeration = "generic_mapper::GenericCombinationStrategy",
        repeated,
        tag = "3"
    )]
    pub generic_combinations: ::prost::alloc::vec::Vec<i32>,
}
/// Nested message and enum types in `GenericMapper`.
pub mod generic_mapper {
    /// Strategy to combine generic keys
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum GenericCombinationStrategy {
        Unknown = 0,
        And = 1,
        Or = 2,
    }
    impl GenericCombinationStrategy {
        /// 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::And => "AND",
                Self::Or => "OR",
            }
        }
        /// 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),
                "AND" => Some(Self::And),
                "OR" => Some(Self::Or),
                _ => None,
            }
        }
    }
}
/// 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(message, optional, tag = "3")]
    pub return_type_identifier: ::core::option::Option<DataTypeIdentifier>,
    #[prost(bool, tag = "4")]
    pub throws_error: bool,
    #[prost(string, repeated, tag = "5")]
    pub generic_keys: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    #[prost(message, repeated, tag = "6")]
    pub name: ::prost::alloc::vec::Vec<Translation>,
    #[prost(message, repeated, tag = "7")]
    pub description: ::prost::alloc::vec::Vec<Translation>,
    #[prost(message, repeated, tag = "8")]
    pub documentation: ::prost::alloc::vec::Vec<Translation>,
    #[prost(message, repeated, tag = "9")]
    pub deprecation_message: ::prost::alloc::vec::Vec<Translation>,
    #[prost(message, repeated, tag = "10")]
    pub display_message: ::prost::alloc::vec::Vec<Translation>,
    #[prost(message, repeated, tag = "11")]
    pub alias: ::prost::alloc::vec::Vec<Translation>,
    /// Version of the runtime function
    /// Format: "major.minor.patch", e.g. "1.2.3"
    #[prost(string, tag = "12")]
    pub version: ::prost::alloc::string::String,
}
/// Definition of a parameter used for execution
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RuntimeParameterDefinition {
    #[prost(message, optional, tag = "1")]
    pub data_type_identifier: ::core::option::Option<DataTypeIdentifier>,
    #[prost(string, tag = "2")]
    pub runtime_name: ::prost::alloc::string::String,
    #[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>,
    #[prost(message, repeated, tag = "6")]
    pub documentation: ::prost::alloc::vec::Vec<Translation>,
}
#[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(string, optional, tag = "3")]
    pub input_type_identifier: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(string, optional, tag = "4")]
    pub return_type_identifier: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(bool, tag = "5")]
    pub editable: bool,
    #[prost(message, repeated, tag = "6")]
    pub name: ::prost::alloc::vec::Vec<Translation>,
    #[prost(message, repeated, tag = "7")]
    pub description: ::prost::alloc::vec::Vec<Translation>,
    #[prost(message, repeated, tag = "8")]
    pub documentation: ::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>,
    /// Version of the flow type
    /// Format: "major.minor.patch", e.g. "1.2.3"
    #[prost(string, tag = "11")]
    pub version: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FlowTypeSetting {
    #[prost(string, tag = "1")]
    pub identifier: ::prost::alloc::string::String,
    #[prost(bool, tag = "2")]
    pub unique: bool,
    #[prost(string, tag = "3")]
    pub data_type_identifier: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "4")]
    pub default_value: ::core::option::Option<Value>,
    #[prost(message, repeated, tag = "5")]
    pub name: ::prost::alloc::vec::Vec<Translation>,
    #[prost(message, repeated, tag = "6")]
    pub description: ::prost::alloc::vec::Vec<Translation>,
}
/// Event configuration
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct EventDefinitionSettings {
    /// Name of current configuration
    #[prost(message, repeated, tag = "1")]
    pub name: ::prost::alloc::vec::Vec<Translation>,
    /// True if this is a unique setting
    #[prost(bool, tag = "2")]
    pub unique: bool,
    /// Description of current configuration
    #[prost(message, repeated, tag = "3")]
    pub description: ::prost::alloc::vec::Vec<Translation>,
    /// Type of setting
    #[prost(message, optional, tag = "4")]
    pub r#type: ::core::option::Option<DefinitionDataType>,
    /// Optional default value (primitive, string, list or json)
    #[prost(message, optional, tag = "5")]
    pub default_value: ::core::option::Option<Value>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct EventDefinition {
    /// List of settings that configures the type
    #[prost(message, repeated, tag = "1")]
    pub settings: ::prost::alloc::vec::Vec<EventDefinitionSettings>,
    #[prost(message, optional, tag = "2")]
    pub input_type: ::core::option::Option<DefinitionDataType>,
    /// True if the definition can be edited live
    #[prost(bool, tag = "3")]
    pub editable: bool,
}
/// Event type that can be hold by an action & be emitted by an action
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct EventType {
    /// Name of the event
    #[prost(message, repeated, tag = "1")]
    pub name: ::prost::alloc::vec::Vec<Translation>,
    /// Definition that holds all settings of a event
    #[prost(message, optional, tag = "2")]
    pub definition: ::core::option::Option<EventDefinition>,
}
#[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>,
    /// These reference data_types by its identifiers, which is are string
    #[prost(string, optional, tag = "5")]
    pub input_type_identifier: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(string, optional, tag = "6")]
    pub return_type_identifier: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(message, repeated, tag = "7")]
    pub settings: ::prost::alloc::vec::Vec<FlowSetting>,
    #[prost(int64, tag = "8")]
    pub starting_node_id: i64,
    #[prost(message, repeated, tag = "9")]
    pub node_functions: ::prost::alloc::vec::Vec<NodeFunction>,
}
#[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 = "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 object: ::core::option::Option<Struct>,
}
#[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>,
}
#[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),
        #[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 {
    /// Database Identifier of node
    #[prost(int64, tag = "1")]
    pub node_id: i64,
    #[prost(message, repeated, tag = "2")]
    pub paths: ::prost::alloc::vec::Vec<ReferencePath>,
}
#[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>,
}
