1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct WfActivation {
#[prost(bytes = "vec", tag = "1")]
pub task_token: ::prost::alloc::vec::Vec<u8>,
#[prost(message, optional, tag = "2")]
pub timestamp: ::core::option::Option<::prost_types::Timestamp>,
#[prost(string, tag = "3")]
pub run_id: ::prost::alloc::string::String,
#[prost(message, repeated, tag = "4")]
pub jobs: ::prost::alloc::vec::Vec<WfActivationJob>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct WfActivationJob {
#[prost(oneof = "wf_activation_job::Variant", tags = "1, 2, 4, 5, 6, 7, 8, 50")]
pub variant: ::core::option::Option<wf_activation_job::Variant>,
}
pub mod wf_activation_job {
#[derive(::derive_more::From, Clone, PartialEq, ::prost::Oneof)]
pub enum Variant {
#[prost(message, tag = "1")]
StartWorkflow(super::StartWorkflow),
#[prost(message, tag = "2")]
FireTimer(super::FireTimer),
#[prost(message, tag = "4")]
UpdateRandomSeed(super::UpdateRandomSeed),
#[prost(message, tag = "5")]
QueryWorkflow(super::QueryWorkflow),
#[prost(message, tag = "6")]
CancelWorkflow(super::CancelWorkflow),
#[prost(message, tag = "7")]
SignalWorkflow(super::SignalWorkflow),
#[prost(message, tag = "8")]
ResolveActivity(super::ResolveActivity),
#[prost(bool, tag = "50")]
RemoveFromCache(bool),
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StartWorkflow {
#[prost(string, tag = "1")]
pub workflow_type: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub workflow_id: ::prost::alloc::string::String,
#[prost(message, repeated, tag = "3")]
pub arguments: ::prost::alloc::vec::Vec<super::common::Payload>,
#[prost(uint64, tag = "4")]
pub randomness_seed: u64,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FireTimer {
#[prost(string, tag = "1")]
pub timer_id: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ResolveActivity {
#[prost(string, tag = "1")]
pub activity_id: ::prost::alloc::string::String,
#[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<super::activity_result::ActivityResult>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateRandomSeed {
#[prost(uint64, tag = "1")]
pub randomness_seed: u64,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryWorkflow {
#[prost(string, tag = "1")]
pub query_type: ::prost::alloc::string::String,
#[prost(message, repeated, tag = "2")]
pub arguments: ::prost::alloc::vec::Vec<super::common::Payload>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CancelWorkflow {}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SignalWorkflow {
#[prost(string, tag = "1")]
pub signal_name: ::prost::alloc::string::String,
#[prost(message, repeated, tag = "2")]
pub input: ::prost::alloc::vec::Vec<super::common::Payload>,
#[prost(string, tag = "3")]
pub identity: ::prost::alloc::string::String,
}