#[derive(Clone, PartialEq, ::prost::Message)]
pub struct WorkflowExecutionInfo {
#[prost(message, optional, tag = "1")]
pub execution: ::core::option::Option<super::super::common::v1::WorkflowExecution>,
#[prost(message, optional, tag = "2")]
pub r#type: ::core::option::Option<super::super::common::v1::WorkflowType>,
#[prost(message, optional, tag = "3")]
pub start_time: ::core::option::Option<::prost_types::Timestamp>,
#[prost(message, optional, tag = "4")]
pub close_time: ::core::option::Option<::prost_types::Timestamp>,
#[prost(
enumeration = "super::super::enums::v1::WorkflowExecutionStatus",
tag = "5"
)]
pub status: i32,
#[prost(int64, tag = "6")]
pub history_length: i64,
#[prost(string, tag = "7")]
pub parent_namespace_id: ::prost::alloc::string::String,
#[prost(message, optional, tag = "8")]
pub parent_execution: ::core::option::Option<super::super::common::v1::WorkflowExecution>,
#[prost(message, optional, tag = "9")]
pub execution_time: ::core::option::Option<::prost_types::Timestamp>,
#[prost(message, optional, tag = "10")]
pub memo: ::core::option::Option<super::super::common::v1::Memo>,
#[prost(message, optional, tag = "11")]
pub search_attributes: ::core::option::Option<super::super::common::v1::SearchAttributes>,
#[prost(message, optional, tag = "12")]
pub auto_reset_points: ::core::option::Option<ResetPoints>,
#[prost(string, tag = "13")]
pub task_queue: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct WorkflowExecutionConfig {
#[prost(message, optional, tag = "1")]
pub task_queue: ::core::option::Option<super::super::taskqueue::v1::TaskQueue>,
#[prost(message, optional, tag = "2")]
pub workflow_execution_timeout: ::core::option::Option<::prost_types::Duration>,
#[prost(message, optional, tag = "3")]
pub workflow_run_timeout: ::core::option::Option<::prost_types::Duration>,
#[prost(message, optional, tag = "4")]
pub default_workflow_task_timeout: ::core::option::Option<::prost_types::Duration>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PendingActivityInfo {
#[prost(string, tag = "1")]
pub activity_id: ::prost::alloc::string::String,
#[prost(message, optional, tag = "2")]
pub activity_type: ::core::option::Option<super::super::common::v1::ActivityType>,
#[prost(
enumeration = "super::super::enums::v1::PendingActivityState",
tag = "3"
)]
pub state: i32,
#[prost(message, optional, tag = "4")]
pub heartbeat_details: ::core::option::Option<super::super::common::v1::Payloads>,
#[prost(message, optional, tag = "5")]
pub last_heartbeat_time: ::core::option::Option<::prost_types::Timestamp>,
#[prost(message, optional, tag = "6")]
pub last_started_time: ::core::option::Option<::prost_types::Timestamp>,
#[prost(int32, tag = "7")]
pub attempt: i32,
#[prost(int32, tag = "8")]
pub maximum_attempts: i32,
#[prost(message, optional, tag = "9")]
pub scheduled_time: ::core::option::Option<::prost_types::Timestamp>,
#[prost(message, optional, tag = "10")]
pub expiration_time: ::core::option::Option<::prost_types::Timestamp>,
#[prost(message, optional, tag = "11")]
pub last_failure: ::core::option::Option<super::super::failure::v1::Failure>,
#[prost(string, tag = "12")]
pub last_worker_identity: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PendingChildExecutionInfo {
#[prost(string, tag = "1")]
pub workflow_id: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub run_id: ::prost::alloc::string::String,
#[prost(string, tag = "3")]
pub workflow_type_name: ::prost::alloc::string::String,
#[prost(int64, tag = "4")]
pub initiated_id: i64,
#[prost(enumeration = "super::super::enums::v1::ParentClosePolicy", tag = "5")]
pub parent_close_policy: i32,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ResetPoints {
#[prost(message, repeated, tag = "1")]
pub points: ::prost::alloc::vec::Vec<ResetPointInfo>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ResetPointInfo {
#[prost(string, tag = "1")]
pub binary_checksum: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub run_id: ::prost::alloc::string::String,
#[prost(int64, tag = "3")]
pub first_workflow_task_completed_id: i64,
#[prost(message, optional, tag = "4")]
pub create_time: ::core::option::Option<::prost_types::Timestamp>,
#[prost(message, optional, tag = "5")]
pub expire_time: ::core::option::Option<::prost_types::Timestamp>,
#[prost(bool, tag = "6")]
pub resettable: bool,
}