diff --git a/temporalio/.rubocop.yml b/temporalio/.rubocop.yml index d4ab54a4..df4d03e1 100644 --- a/temporalio/.rubocop.yml +++ b/temporalio/.rubocop.yml @@ -8,6 +8,7 @@ AllCops: SuggestExtensions: false Exclude: - ext/**/* + - lib/protoc-gen-openapiv2/**/* - lib/temporalio/api/**/* - lib/temporalio/client/connection/*_service.rb - lib/temporalio/internal/bridge/api/**/* diff --git a/temporalio/Cargo.lock b/temporalio/Cargo.lock index 38b443e1..726038d0 100644 --- a/temporalio/Cargo.lock +++ b/temporalio/Cargo.lock @@ -26,6 +26,15 @@ dependencies = [ "memchr", ] +[[package]] +name = "alloca" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5a7d05ea6aea7e9e64d25b9156ba2fee3fdd659e34e41063cd2fc7cd020d7f4" +dependencies = [ + "cc", +] + [[package]] name = "allocator-api2" version = "0.2.21" @@ -74,7 +83,7 @@ version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc" dependencies = [ - "windows-sys 0.60.2", + "windows-sys 0.61.2", ] [[package]] @@ -85,7 +94,7 @@ checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d" dependencies = [ "anstyle", "once_cell_polyfill", - "windows-sys 0.60.2", + "windows-sys 0.61.2", ] [[package]] @@ -110,15 +119,6 @@ version = "1.0.102" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f202df86484c868dbad7eaa557ef785d5c66295e41b460ef922eca0723b842c" -[[package]] -name = "arbitrary" -version = "1.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3d036a3c4ab069c7b410a2ce876bd74808d2d0888a82667669f8e783a898bf1" -dependencies = [ - "derive_arbitrary", -] - [[package]] name = "assert_matches" version = "1.5.0" @@ -148,6 +148,28 @@ version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" +[[package]] +name = "aws-lc-rs" +version = "1.16.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a054912289d18629dc78375ba2c3726a3afe3ff71b4edba9dedfca0e3446d1fc" +dependencies = [ + "aws-lc-sys", + "zeroize", +] + +[[package]] +name = "aws-lc-sys" +version = "0.39.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83a25cf98105baa966497416dbd42565ce3a8cf8dbfd59803ec9ad46f3126399" +dependencies = [ + "cc", + "cmake", + "dunce", + "fs_extra", +] + [[package]] name = "axum" version = "0.8.8" @@ -214,7 +236,7 @@ dependencies = [ "miniz_oxide", "object", "rustc-demangle", - "windows-link 0.2.1", + "windows-link", ] [[package]] @@ -319,6 +341,12 @@ dependencies = [ "shlex", ] +[[package]] +name = "cesu8" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c" + [[package]] name = "cexpr" version = "0.6.0" @@ -340,6 +368,17 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" +[[package]] +name = "chacha20" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f8d983286843e49675a4b7a2d174efe136dc93a18d69130dd18198a6c167601" +dependencies = [ + "cfg-if", + "cpufeatures", + "rand_core 0.10.0", +] + [[package]] name = "chrono" version = "0.4.44" @@ -428,12 +467,31 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c8d4a3bb8b1e0c1050499d1815f5ab16d04f0959b233085fb31653fbfc9d98f9" +[[package]] +name = "cmake" +version = "0.1.58" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0f78a02292a74a88ac736019ab962ece0bc380e3f977bf72e376c5d78ff0678" +dependencies = [ + "cc", +] + [[package]] name = "colorchoice" version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570" +[[package]] +name = "combine" +version = "4.6.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba5a308b75df32fe02788e748662718f03fde005016435c444eea572398219fd" +dependencies = [ + "bytes", + "memchr", +] + [[package]] name = "convert_case" version = "0.10.0" @@ -459,6 +517,15 @@ version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" +[[package]] +name = "cpufeatures" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b2a41393f66f16b0823bb79094d54ac5fbd34ab292ddafb9a0456ac9f87d201" +dependencies = [ + "libc", +] + [[package]] name = "crc32fast" version = "1.5.0" @@ -470,10 +537,11 @@ dependencies = [ [[package]] name = "criterion" -version = "0.7.0" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1c047a62b0cc3e145fa84415a3191f628e980b194c2755aa12300a4e6cbd928" +checksum = "950046b2aa2492f9a536f5f4f9a3de7b9e2476e575e05bd6c333371add4d98f3" dependencies = [ + "alloca", "anes", "cast", "ciborium", @@ -482,6 +550,7 @@ dependencies = [ "itertools 0.13.0", "num-traits", "oorandom", + "page_size", "plotters", "rayon", "regex", @@ -494,9 +563,9 @@ dependencies = [ [[package]] name = "criterion-plot" -version = "0.6.0" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b1bcc0dc7dfae599d84ad0b1a55f80cde8af3725da8313b528da95ef783e338" +checksum = "d8d80a2f4f5b554395e47b5d8305bc3d27813bacb73493eb1001e8f76dae29ea" dependencies = [ "cast", "itertools 0.13.0", @@ -585,31 +654,6 @@ dependencies = [ "syn", ] -[[package]] -name = "dashmap" -version = "6.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5041cc499144891f3790297212f32a74fb938e5136a14943f338ef9e0ae276cf" -dependencies = [ - "cfg-if", - "crossbeam-utils", - "hashbrown 0.14.5", - "lock_api", - "once_cell", - "parking_lot_core", -] - -[[package]] -name = "derive_arbitrary" -version = "1.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e567bd82dcff979e4b03460c307b3cdc9e96fde3d73bed1496d2bc75d9dd62a" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - [[package]] name = "derive_more" version = "2.1.1" @@ -667,7 +711,7 @@ dependencies = [ "libc", "option-ext", "redox_users", - "windows-sys 0.60.2", + "windows-sys 0.61.2", ] [[package]] @@ -693,6 +737,12 @@ version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1435fa1053d8b2fbbe9be7e97eca7f33d37b28409959813daefc1446a14247f1" +[[package]] +name = "dunce" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813" + [[package]] name = "dyn-clone" version = "1.0.20" @@ -761,7 +811,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ "libc", - "windows-sys 0.60.2", + "windows-sys 0.61.2", ] [[package]] @@ -837,6 +887,12 @@ version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "28dd6caf6059519a65843af8fe2a3ae298b14b80179855aeb4adc2c1934ee619" +[[package]] +name = "fs_extra" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c" + [[package]] name = "futures" version = "0.3.32" @@ -949,7 +1005,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1bd49230192a3797a9a4d6abe9b3eed6f7fa4c8a8a4947977c6f80025f92cbd8" dependencies = [ "rustix", - "windows-link 0.2.1", + "windows-link", ] [[package]] @@ -988,6 +1044,7 @@ dependencies = [ "cfg-if", "libc", "r-efi 6.0.0", + "rand_core 0.10.0", "wasip2", "wasip3", ] @@ -1004,29 +1061,6 @@ version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280" -[[package]] -name = "governor" -version = "0.10.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9efcab3c1958580ff1f25a2a41be1668f7603d849bb63af523b208a3cc1223b8" -dependencies = [ - "cfg-if", - "dashmap", - "futures-sink", - "futures-timer", - "futures-util", - "getrandom 0.3.4", - "hashbrown 0.16.1", - "nonzero_ext", - "parking_lot", - "portable-atomic", - "quanta", - "rand 0.9.2", - "smallvec", - "spinning_top", - "web-time", -] - [[package]] name = "h2" version = "0.4.13" @@ -1057,12 +1091,6 @@ dependencies = [ "zerocopy", ] -[[package]] -name = "hashbrown" -version = "0.14.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" - [[package]] name = "hashbrown" version = "0.15.5" @@ -1409,6 +1437,50 @@ version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "92ecc6618181def0457392ccd0ee51198e065e016d1d527a7ac1b6dc7c1f09d2" +[[package]] +name = "jni" +version = "0.21.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a87aa2bb7d2af34197c04845522473242e1aa17c12f4935d5856491a7fb8c97" +dependencies = [ + "cesu8", + "cfg-if", + "combine", + "jni-sys 0.3.1", + "log", + "thiserror 1.0.69", + "walkdir", + "windows-sys 0.45.0", +] + +[[package]] +name = "jni-sys" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41a652e1f9b6e0275df1f15b32661cf0d4b78d4d87ddec5e0c3c20f097433258" +dependencies = [ + "jni-sys 0.4.1", +] + +[[package]] +name = "jni-sys" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6377a88cb3910bee9b0fa88d4f42e1d2da8e79915598f65fb0c7ee14c878af2" +dependencies = [ + "jni-sys-macros", +] + +[[package]] +name = "jni-sys-macros" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38c0b942f458fe50cdac086d2f946512305e5631e720728f2a61aabcd47a6264" +dependencies = [ + "quote", + "syn", +] + [[package]] name = "jobserver" version = "0.1.34" @@ -1466,7 +1538,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d7c4b02199fee7c5d21a5ae7d8cfa79a6ef5bb2fc834d6e9058e89c825efdc55" dependencies = [ "cfg-if", - "windows-link 0.2.1", + "windows-link", ] [[package]] @@ -1628,9 +1700,9 @@ dependencies = [ [[package]] name = "mockall" -version = "0.13.1" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39a6bfcc6c8c7eed5ee98b9c3e33adc726054389233e201c95dab2d41a3839d2" +checksum = "f58d964098a5f9c6b63d0798e5372fd04708193510a7af313c22e9f29b7b620b" dependencies = [ "cfg-if", "downcast", @@ -1642,9 +1714,9 @@ dependencies = [ [[package]] name = "mockall_derive" -version = "0.13.1" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25ca3004c2efe9011bd4e461bd8256445052b9615405b4f7ea43fc8ca5c20898" +checksum = "ca41ce716dda6a9be188b385aa78ee5260fc25cd3802cb2a8afdc6afbe6b6dbf" dependencies = [ "cfg-if", "proc-macro2", @@ -1668,12 +1740,6 @@ dependencies = [ "minimal-lexical", ] -[[package]] -name = "nonzero_ext" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38bf9645c8b145698bb0b18a4637dcacbc421ea49bef2317e4fd8065a387cf21" - [[package]] name = "ntapi" version = "0.4.3" @@ -1689,7 +1755,7 @@ version = "0.50.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5" dependencies = [ - "windows-sys 0.60.2", + "windows-sys 0.61.2", ] [[package]] @@ -1763,8 +1829,7 @@ dependencies = [ "futures-sink", "js-sys", "pin-project-lite", - "thiserror", - "tracing", + "thiserror 2.0.18", ] [[package]] @@ -1777,7 +1842,7 @@ dependencies = [ "bytes", "http", "opentelemetry", - "reqwest", + "reqwest 0.12.28", ] [[package]] @@ -1792,11 +1857,10 @@ dependencies = [ "opentelemetry-proto", "opentelemetry_sdk", "prost", - "reqwest", - "thiserror", + "reqwest 0.12.28", + "thiserror 2.0.18", "tokio", "tonic", - "tracing", ] [[package]] @@ -1824,7 +1888,7 @@ dependencies = [ "opentelemetry", "percent-encoding", "rand 0.9.2", - "thiserror", + "thiserror 2.0.18", "tokio", "tokio-stream", ] @@ -1835,6 +1899,16 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" +[[package]] +name = "page_size" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "30d5b2194ed13191c1999ae0704b7839fb18384fa22e49b57eeaa97d79ce40da" +dependencies = [ + "libc", + "winapi", +] + [[package]] name = "parking_lot" version = "0.12.5" @@ -1855,7 +1929,7 @@ dependencies = [ "libc", "redox_syscall 0.5.18", "smallvec", - "windows-link 0.2.1", + "windows-link", ] [[package]] @@ -1880,21 +1954,6 @@ dependencies = [ "prost-types", ] -[[package]] -name = "pbjson-types" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a14e2757d877c0f607a82ce1b8560e224370f159d66c5d52eb55ea187ef0350e" -dependencies = [ - "bytes", - "chrono", - "pbjson", - "pbjson-build", - "prost", - "prost-build", - "serde", -] - [[package]] name = "percent-encoding" version = "2.3.2" @@ -2091,7 +2150,7 @@ dependencies = [ "lazy_static", "memchr", "parking_lot", - "thiserror", + "thiserror 2.0.18", ] [[package]] @@ -2213,21 +2272,6 @@ dependencies = [ "pulldown-cmark", ] -[[package]] -name = "quanta" -version = "0.12.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3ab5a9d756f0d97bdc89019bd2e4ea098cf9cde50ee7564dde6b81ccc8f06c7" -dependencies = [ - "crossbeam-utils", - "libc", - "once_cell", - "raw-cpuid", - "wasi", - "web-sys", - "winapi", -] - [[package]] name = "quinn" version = "0.11.9" @@ -2242,7 +2286,7 @@ dependencies = [ "rustc-hash 2.1.1", "rustls", "socket2", - "thiserror", + "thiserror 2.0.18", "tokio", "tracing", "web-time", @@ -2254,6 +2298,7 @@ version = "0.11.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "434b42fec591c96ef50e21e886936e66d3cc3f737104fdb9b737c40ffb94c098" dependencies = [ + "aws-lc-rs", "bytes", "getrandom 0.3.4", "lru-slab", @@ -2263,7 +2308,7 @@ dependencies = [ "rustls", "rustls-pki-types", "slab", - "thiserror", + "thiserror 2.0.18", "tinyvec", "tracing", "web-time", @@ -2325,6 +2370,17 @@ dependencies = [ "rand_core 0.9.5", ] +[[package]] +name = "rand" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bc266eb313df6c5c09c1c7b1fbe2510961e5bcd3add930c1e31f7ed9da0feff8" +dependencies = [ + "chacha20", + "getrandom 0.4.2", + "rand_core 0.10.0", +] + [[package]] name = "rand_chacha" version = "0.3.1" @@ -2364,13 +2420,10 @@ dependencies = [ ] [[package]] -name = "raw-cpuid" -version = "11.6.0" +name = "rand_core" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "498cd0dc59d73224351ee52a95fee0f1a617a2eae0e7d9d720cc622c73a54186" -dependencies = [ - "bitflags", -] +checksum = "0c8d0fd677905edcbeedbf2edb6494d676f0e98d54d5cf9bda0b061cb8fb8aba" [[package]] name = "rayon" @@ -2448,7 +2501,7 @@ checksum = "a4e608c6638b9c18977b00b475ac1f28d14e84b27d8d42f70e0bf1e3dec127ac" dependencies = [ "getrandom 0.2.17", "libredox", - "thiserror", + "thiserror 2.0.18", ] [[package]] @@ -2517,6 +2570,45 @@ dependencies = [ "sync_wrapper", "tokio", "tokio-rustls", + "tower", + "tower-http", + "tower-service", + "url", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", +] + +[[package]] +name = "reqwest" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab3f43e3283ab1488b624b44b0e988d0acea0b3214e694730a055cb6b2efa801" +dependencies = [ + "base64", + "bytes", + "futures-core", + "futures-util", + "http", + "http-body", + "http-body-util", + "hyper", + "hyper-rustls", + "hyper-util", + "js-sys", + "log", + "percent-encoding", + "pin-project-lite", + "quinn", + "rustls", + "rustls-pki-types", + "rustls-platform-verifier", + "serde", + "serde_json", + "serde_urlencoded", + "sync_wrapper", + "tokio", + "tokio-rustls", "tokio-util", "tower", "tower-http", @@ -2629,7 +2721,7 @@ dependencies = [ "errno", "libc", "linux-raw-sys", - "windows-sys 0.60.2", + "windows-sys 0.61.2", ] [[package]] @@ -2638,6 +2730,7 @@ version = "0.23.37" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "758025cb5fccfd3bc2fd74708fd4682be41d99e5dff73c377c0646c6012c73a4" dependencies = [ + "aws-lc-rs", "log", "once_cell", "ring", @@ -2669,12 +2762,40 @@ dependencies = [ "zeroize", ] +[[package]] +name = "rustls-platform-verifier" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d99feebc72bae7ab76ba994bb5e121b8d83d910ca40b36e0921f53becc41784" +dependencies = [ + "core-foundation", + "core-foundation-sys", + "jni", + "log", + "once_cell", + "rustls", + "rustls-native-certs", + "rustls-platform-verifier-android", + "rustls-webpki", + "security-framework", + "security-framework-sys", + "webpki-root-certs", + "windows-sys 0.61.2", +] + +[[package]] +name = "rustls-platform-verifier-android" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f87165f0995f63a9fbeea62b64d10b4d9d8e78ec6d7d51fb2125fda7bb36788f" + [[package]] name = "rustls-webpki" version = "0.103.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "61c429a8649f110dddef65e2a5ad240f747e85f7758a6bccc7e5777bd33f756e" dependencies = [ + "aws-lc-rs", "ring", "rustls-pki-types", "untrusted", @@ -2886,16 +3007,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3a766e1110788c36f4fa1c2b71b387a7815aa65f88ce0229841826633d93723e" dependencies = [ "libc", - "windows-sys 0.60.2", -] - -[[package]] -name = "spinning_top" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d96d2d1d716fb500937168cc09353ffdc7a012be8475ac7308e1bdf0e3923300" -dependencies = [ - "lock_api", + "windows-sys 0.61.2", ] [[package]] @@ -2949,9 +3061,9 @@ dependencies = [ [[package]] name = "sysinfo" -version = "0.37.2" +version = "0.38.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16607d5caffd1c07ce073528f9ed972d88db15dd44023fa57142963be3feb11f" +checksum = "92ab6a2f8bfe508deb3c6406578252e491d299cbbf3bc0529ecc3313aee4a52f" dependencies = [ "libc", "memchr", @@ -2988,12 +3100,12 @@ dependencies = [ "getrandom 0.4.2", "once_cell", "rustix", - "windows-sys 0.60.2", + "windows-sys 0.61.2", ] [[package]] name = "temporalio-client" -version = "0.2.0" +version = "0.3.0" dependencies = [ "anyhow", "assert_matches", @@ -3015,11 +3127,11 @@ dependencies = [ "parking_lot", "prost", "prost-wkt-types", - "rand 0.9.2", + "rand 0.10.0", "rstest", - "slotmap", + "tempfile", "temporalio-common", - "thiserror", + "thiserror 2.0.18", "tokio", "tonic", "tower", @@ -3030,7 +3142,7 @@ dependencies = [ [[package]] name = "temporalio-common" -version = "0.2.0" +version = "0.3.0" dependencies = [ "anyhow", "async-trait", @@ -3052,20 +3164,19 @@ dependencies = [ "parking_lot", "pbjson", "pbjson-build", - "pbjson-types", "prometheus", "prost", "prost-types", "prost-wkt", "prost-wkt-types", - "rand 0.9.2", + "rand 0.10.0", "ringbuf", "serde", "serde_json", "tempfile", - "thiserror", + "thiserror 2.0.18", "tokio", - "toml 0.9.12+spec-1.1.0", + "toml", "tonic", "tonic-prost", "tonic-prost-build", @@ -3078,7 +3189,7 @@ dependencies = [ [[package]] name = "temporalio-macros" -version = "0.2.0" +version = "0.3.0" dependencies = [ "derive_more", "proc-macro2", @@ -3089,7 +3200,7 @@ dependencies = [ [[package]] name = "temporalio-sdk" -version = "0.2.0" +version = "0.3.0" dependencies = [ "anyhow", "async-trait", @@ -3102,11 +3213,12 @@ dependencies = [ "prost-wkt-types", "rstest", "serde", + "serde_json", "temporalio-client", "temporalio-common", "temporalio-macros", "temporalio-sdk-core", - "thiserror", + "thiserror 2.0.18", "tokio", "tokio-stream", "tokio-util", @@ -3116,7 +3228,7 @@ dependencies = [ [[package]] name = "temporalio-sdk-core" -version = "0.2.0" +version = "0.3.0" dependencies = [ "antithesis_sdk", "anyhow", @@ -3131,7 +3243,6 @@ dependencies = [ "crossbeam-channel", "crossbeam-queue", "crossbeam-utils", - "dashmap", "derive_more", "enum-iterator", "enum_dispatch", @@ -3139,7 +3250,6 @@ dependencies = [ "futures", "futures-util", "gethostname", - "governor", "http-body-util", "hyper", "hyper-util", @@ -3154,8 +3264,8 @@ dependencies = [ "pin-project", "prost", "prost-wkt-types", - "rand 0.9.2", - "reqwest", + "rand 0.10.0", + "reqwest 0.13.2", "rstest", "semver", "serde", @@ -3168,7 +3278,7 @@ dependencies = [ "temporalio-common", "temporalio-macros", "temporalio-sdk", - "thiserror", + "thiserror 2.0.18", "tokio", "tokio-stream", "tokio-util", @@ -3219,13 +3329,33 @@ version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f50febec83f5ee1df3015341d8bd429f2d1cc62bcba7ea2076759d315084683" +[[package]] +name = "thiserror" +version = "1.0.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" +dependencies = [ + "thiserror-impl 1.0.69", +] + [[package]] name = "thiserror" version = "2.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4288b5bcbc7920c07a1149a35cf9590a2aa808e0bc1eafaade0b80947865fbc4" dependencies = [ - "thiserror-impl", + "thiserror-impl 2.0.18", +] + +[[package]] +name = "thiserror-impl" +version = "1.0.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" +dependencies = [ + "proc-macro2", + "quote", + "syn", ] [[package]] @@ -3351,21 +3481,6 @@ dependencies = [ "tokio", ] -[[package]] -name = "toml" -version = "0.9.12+spec-1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf92845e79fc2e2def6a5d828f0801e29a2f8acc037becc5ab08595c7d5e9863" -dependencies = [ - "indexmap", - "serde_core", - "serde_spanned", - "toml_datetime 0.7.5+spec-1.1.0", - "toml_parser", - "toml_writer", - "winnow 0.7.15", -] - [[package]] name = "toml" version = "1.0.7+spec-1.1.0" @@ -3375,19 +3490,10 @@ dependencies = [ "indexmap", "serde_core", "serde_spanned", - "toml_datetime 1.0.1+spec-1.1.0", + "toml_datetime", "toml_parser", "toml_writer", - "winnow 1.0.0", -] - -[[package]] -name = "toml_datetime" -version = "0.7.5+spec-1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92e1cfed4a3038bc5a127e35a2d360f145e1f4b971b551a2ba5fd7aedf7e1347" -dependencies = [ - "serde_core", + "winnow", ] [[package]] @@ -3406,9 +3512,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8ca1a40644a28bce036923f6a431df0b34236949d111cc07cb6dca830c9ef2e1" dependencies = [ "indexmap", - "toml_datetime 1.0.1+spec-1.1.0", + "toml_datetime", "toml_parser", - "winnow 1.0.0", + "winnow", ] [[package]] @@ -3417,7 +3523,7 @@ version = "1.0.10+spec-1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7df25b4befd31c4816df190124375d5a20c6b6921e2cad937316de3fccd63420" dependencies = [ - "winnow 1.0.0", + "winnow", ] [[package]] @@ -3613,9 +3719,15 @@ dependencies = [ "serde_json", "target-triple", "termcolor", - "toml 1.0.7+spec-1.1.0", + "toml", ] +[[package]] +name = "typed-path" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e28f89b80c87b8fb0cf04ab448d5dd0dd0ade2f8891bae878de66a75a28600e" + [[package]] name = "typeid" version = "1.0.3" @@ -3707,8 +3819,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a68d3c8f01c0cfa54a75291d83601161799e4a89a39e0929f4b0354d88757a37" dependencies = [ "getrandom 0.4.2", - "js-sys", - "wasm-bindgen", ] [[package]] @@ -3849,9 +3959,9 @@ dependencies = [ [[package]] name = "wasm-streams" -version = "0.4.2" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15053d8d85c7eccdbefef60f06769760a563c7f0a9d6902a13d35c7800b0ad65" +checksum = "9d1ec4f6517c9e11ae630e200b2b65d193279042e28edd4a2cda233e46670bbb" dependencies = [ "futures-util", "js-sys", @@ -3892,6 +4002,15 @@ dependencies = [ "wasm-bindgen", ] +[[package]] +name = "webpki-root-certs" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "804f18a4ac2676ffb4e8b5b5fa9ae38af06df08162314f96a68d2a363e21a8ca" +dependencies = [ + "rustls-pki-types", +] + [[package]] name = "winapi" version = "0.3.9" @@ -3914,7 +4033,7 @@ version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" dependencies = [ - "windows-sys 0.60.2", + "windows-sys 0.61.2", ] [[package]] @@ -3925,47 +4044,46 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "windows" -version = "0.61.3" +version = "0.62.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9babd3a767a4c1aef6900409f85f5d53ce2544ccdfaa86dad48c91782c6d6893" +checksum = "527fadee13e0c05939a6a05d5bd6eec6cd2e3dbd648b9f8e447c6518133d8580" dependencies = [ "windows-collections", "windows-core", "windows-future", - "windows-link 0.1.3", "windows-numerics", ] [[package]] name = "windows-collections" -version = "0.2.0" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3beeceb5e5cfd9eb1d76b381630e82c4241ccd0d27f1a39ed41b2760b255c5e8" +checksum = "23b2d95af1a8a14a3c7367e1ed4fc9c20e0a26e79551b1454d72583c97cc6610" dependencies = [ "windows-core", ] [[package]] name = "windows-core" -version = "0.61.2" +version = "0.62.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0fdd3ddb90610c7638aa2b3a3ab2904fb9e5cdbecc643ddb3647212781c4ae3" +checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb" dependencies = [ "windows-implement", "windows-interface", - "windows-link 0.1.3", + "windows-link", "windows-result", "windows-strings", ] [[package]] name = "windows-future" -version = "0.2.1" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc6a41e98427b19fe4b73c550f060b59fa592d7d686537eebf9385621bfbad8e" +checksum = "e1d6f90251fe18a279739e78025bd6ddc52a7e22f921070ccdc67dde84c605cb" dependencies = [ "windows-core", - "windows-link 0.1.3", + "windows-link", "windows-threading", ] @@ -3991,12 +4109,6 @@ dependencies = [ "syn", ] -[[package]] -name = "windows-link" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a" - [[package]] name = "windows-link" version = "0.2.1" @@ -4005,30 +4117,39 @@ checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" [[package]] name = "windows-numerics" -version = "0.2.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9150af68066c4c5c07ddc0ce30421554771e528bde427614c61038bc2c92c2b1" +checksum = "6e2e40844ac143cdb44aead537bbf727de9b044e107a0f1220392177d15b0f26" dependencies = [ "windows-core", - "windows-link 0.1.3", + "windows-link", ] [[package]] name = "windows-result" -version = "0.3.4" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56f42bd332cc6c8eac5af113fc0c1fd6a8fd2aa08a0119358686e5160d0586c6" +checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" dependencies = [ - "windows-link 0.1.3", + "windows-link", ] [[package]] name = "windows-strings" -version = "0.4.2" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56e6c93f3a0c3b36176cb1327a4958a0353d5d166c2a35cb268ace15e91d3b57" +checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091" dependencies = [ - "windows-link 0.1.3", + "windows-link", +] + +[[package]] +name = "windows-sys" +version = "0.45.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" +dependencies = [ + "windows-targets 0.42.2", ] [[package]] @@ -4055,7 +4176,22 @@ version = "0.61.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" dependencies = [ - "windows-link 0.2.1", + "windows-link", +] + +[[package]] +name = "windows-targets" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" +dependencies = [ + "windows_aarch64_gnullvm 0.42.2", + "windows_aarch64_msvc 0.42.2", + "windows_i686_gnu 0.42.2", + "windows_i686_msvc 0.42.2", + "windows_x86_64_gnu 0.42.2", + "windows_x86_64_gnullvm 0.42.2", + "windows_x86_64_msvc 0.42.2", ] [[package]] @@ -4080,7 +4216,7 @@ version = "0.53.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4945f9f551b88e0d65f3db0bc25c33b8acea4d9e41163edf90dcd0b19f9069f3" dependencies = [ - "windows-link 0.2.1", + "windows-link", "windows_aarch64_gnullvm 0.53.1", "windows_aarch64_msvc 0.53.1", "windows_i686_gnu 0.53.1", @@ -4093,13 +4229,19 @@ dependencies = [ [[package]] name = "windows-threading" -version = "0.1.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b66463ad2e0ea3bbf808b7f1d371311c80e115c0b71d60efc142cafbcfb057a6" +checksum = "3949bd5b99cafdf1c7ca86b43ca564028dfe27d66958f2470940f73d86d75b37" dependencies = [ - "windows-link 0.1.3", + "windows-link", ] +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" + [[package]] name = "windows_aarch64_gnullvm" version = "0.52.6" @@ -4112,6 +4254,12 @@ version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53" +[[package]] +name = "windows_aarch64_msvc" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" + [[package]] name = "windows_aarch64_msvc" version = "0.52.6" @@ -4124,6 +4272,12 @@ version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006" +[[package]] +name = "windows_i686_gnu" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" + [[package]] name = "windows_i686_gnu" version = "0.52.6" @@ -4148,6 +4302,12 @@ version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c" +[[package]] +name = "windows_i686_msvc" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" + [[package]] name = "windows_i686_msvc" version = "0.52.6" @@ -4160,6 +4320,12 @@ version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2" +[[package]] +name = "windows_x86_64_gnu" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" + [[package]] name = "windows_x86_64_gnu" version = "0.52.6" @@ -4172,6 +4338,12 @@ version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499" +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" + [[package]] name = "windows_x86_64_gnullvm" version = "0.52.6" @@ -4184,6 +4356,12 @@ version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1" +[[package]] +name = "windows_x86_64_msvc" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" + [[package]] name = "windows_x86_64_msvc" version = "0.52.6" @@ -4196,12 +4374,6 @@ version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650" -[[package]] -name = "winnow" -version = "0.7.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df79d97927682d2fd8adb29682d1140b343be4ac0f08fd68b7765d9c059d3945" - [[package]] name = "winnow" version = "1.0.0" @@ -4420,16 +4592,16 @@ dependencies = [ [[package]] name = "zip" -version = "4.6.1" +version = "8.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "caa8cd6af31c3b31c6631b8f483848b91589021b28fffe50adada48d4f4d2ed1" +checksum = "2726508a48f38dceb22b35ecbbd2430efe34ff05c62bd3285f965d7911b33464" dependencies = [ - "arbitrary", "bzip2", "crc32fast", "flate2", "indexmap", "memchr", + "typed-path", "zopfli", "zstd", ] diff --git a/temporalio/Cargo.toml b/temporalio/Cargo.toml index f53851b8..ec4f30d0 100644 --- a/temporalio/Cargo.toml +++ b/temporalio/Cargo.toml @@ -12,26 +12,28 @@ license = "MIT" license-file = "LICENSE" [workspace.dependencies] -bon = { version = "3", features = ["implied-bounds"] } -derive_builder = "0.20" -derive_more = { version = "2.0", features = [ - "constructor", - "display", - "from", - "into", - "debug", - "try_into", +bon = { version = "3", default-features = false, features = ["alloc", "implied-bounds"] } +derive_more = { version = "2.0", default-features = false, features = [ + "constructor", + "display", + "from", + "into", + "debug", + "try_into", ] } thiserror = "2" -tonic = "0.14" +tonic = { version = "0.14", default-features = false } tonic-prost = "0.14" tonic-prost-build = "0.14" -opentelemetry = { version = "0.31", features = ["metrics"] } -pbjson = "0.9" -pbjson-types = "0.9" -pbjson-build = "0.9" +opentelemetry = { version = "0.31", default-features = false, features = ["metrics"] } prost = "0.14" prost-types = { version = "0.7", package = "prost-wkt-types" } +pbjson = "0.9" +pbjson-build = "0.9" +serde_json = "1.0" [workspace.lints.rust] unreachable_pub = "warn" + +[workspace.lints.clippy] +dbg_macro = "warn" diff --git a/temporalio/ext/Cargo.toml b/temporalio/ext/Cargo.toml index dec1e4a8..e1c6f3f5 100644 --- a/temporalio/ext/Cargo.toml +++ b/temporalio/ext/Cargo.toml @@ -17,9 +17,9 @@ magnus = "0.8" parking_lot = "0.12" prost = { workspace = true } rb-sys = "0.9" -temporalio-client = { version = "0.2.0", path = "./sdk-core/crates/client" } -temporalio-common = { version = "0.2.0", path = "./sdk-core/crates/common", features = ["envconfig"] } -temporalio-sdk-core = { version = "0.2.0", path = "./sdk-core/crates/sdk-core", features = ["ephemeral-server", "otel"] } +temporalio-client = { version = "0.3.0", path = "./sdk-core/crates/client" } +temporalio-common = { version = "0.3.0", path = "./sdk-core/crates/common", features = ["envconfig"] } +temporalio-sdk-core = { version = "0.3.0", path = "./sdk-core/crates/sdk-core", features = ["ephemeral-server", "otel"] } tokio = "1.47" tokio-stream = "0.1" tokio-util = "0.7" diff --git a/temporalio/ext/sdk-core b/temporalio/ext/sdk-core index ba203c64..2872b536 160000 --- a/temporalio/ext/sdk-core +++ b/temporalio/ext/sdk-core @@ -1 +1 @@ -Subproject commit ba203c643ed1a5a62567a8807266fe0ce1e877c1 +Subproject commit 2872b5363e1b745cfb90313ebc7a507c5d25c398 diff --git a/temporalio/ext/src/client_rpc_generated.rs b/temporalio/ext/src/client_rpc_generated.rs index 743c6305..45f7feef 100644 --- a/temporalio/ext/src/client_rpc_generated.rs +++ b/temporalio/ext/src/client_rpc_generated.rs @@ -26,6 +26,14 @@ impl Client { workflow_service, count_activity_executions ), + "count_nexus_operation_executions" => rpc_call!( + self, + callback, + call, + WorkflowService, + workflow_service, + count_nexus_operation_executions + ), "count_schedules" => rpc_call!( self, callback, @@ -50,6 +58,22 @@ impl Client { workflow_service, create_schedule ), + "create_worker_deployment" => rpc_call!( + self, + callback, + call, + WorkflowService, + workflow_service, + create_worker_deployment + ), + "create_worker_deployment_version" => rpc_call!( + self, + callback, + call, + WorkflowService, + workflow_service, + create_worker_deployment_version + ), "create_workflow_rule" => rpc_call!( self, callback, @@ -66,6 +90,14 @@ impl Client { workflow_service, delete_activity_execution ), + "delete_nexus_operation_execution" => rpc_call!( + self, + callback, + call, + WorkflowService, + workflow_service, + delete_nexus_operation_execution + ), "delete_schedule" => rpc_call!( self, callback, @@ -146,6 +178,14 @@ impl Client { workflow_service, describe_namespace ), + "describe_nexus_operation_execution" => rpc_call!( + self, + callback, + call, + WorkflowService, + workflow_service, + describe_nexus_operation_execution + ), "describe_schedule" => rpc_call!( self, callback, @@ -346,6 +386,14 @@ impl Client { workflow_service, list_namespaces ), + "list_nexus_operation_executions" => rpc_call!( + self, + callback, + call, + WorkflowService, + workflow_service, + list_nexus_operation_executions + ), "list_open_workflow_executions" => rpc_call!( self, callback, @@ -450,6 +498,14 @@ impl Client { workflow_service, poll_activity_task_queue ), + "poll_nexus_operation_execution" => rpc_call!( + self, + callback, + call, + WorkflowService, + workflow_service, + poll_nexus_operation_execution + ), "poll_nexus_task_queue" => rpc_call!( self, callback, @@ -522,6 +578,14 @@ impl Client { workflow_service, request_cancel_activity_execution ), + "request_cancel_nexus_operation_execution" => rpc_call!( + self, + callback, + call, + WorkflowService, + workflow_service, + request_cancel_nexus_operation_execution + ), "request_cancel_workflow_execution" => rpc_call!( self, callback, @@ -722,6 +786,14 @@ impl Client { workflow_service, start_batch_operation ), + "start_nexus_operation_execution" => rpc_call!( + self, + callback, + call, + WorkflowService, + workflow_service, + start_nexus_operation_execution + ), "start_workflow_execution" => rpc_call!( self, callback, @@ -746,6 +818,14 @@ impl Client { workflow_service, terminate_activity_execution ), + "terminate_nexus_operation_execution" => rpc_call!( + self, + callback, + call, + WorkflowService, + workflow_service, + terminate_nexus_operation_execution + ), "terminate_workflow_execution" => rpc_call!( self, callback, @@ -826,6 +906,14 @@ impl Client { workflow_service, update_worker_config ), + "update_worker_deployment_version_compute_config" => rpc_call!( + self, + callback, + call, + WorkflowService, + workflow_service, + update_worker_deployment_version_compute_config + ), "update_worker_deployment_version_metadata" => rpc_call!( self, callback, @@ -858,6 +946,14 @@ impl Client { workflow_service, update_workflow_execution_options ), + "validate_worker_deployment_version_compute_config" => rpc_call!( + self, + callback, + call, + WorkflowService, + workflow_service, + validate_worker_deployment_version_compute_config + ), _ => Err(error!("Unknown RPC call {}", call.rpc)), }, SERVICE_OPERATOR => match call.rpc.as_str() { @@ -976,6 +1072,14 @@ impl Client { cloud_service, add_user_group_member ), + "create_account_audit_log_sink" => rpc_call!( + self, + callback, + call, + CloudService, + cloud_service, + create_account_audit_log_sink + ), "create_api_key" => rpc_call!( self, callback, @@ -984,6 +1088,14 @@ impl Client { cloud_service, create_api_key ), + "create_billing_report" => rpc_call!( + self, + callback, + call, + CloudService, + cloud_service, + create_billing_report + ), "create_connectivity_rule" => rpc_call!( self, callback, @@ -1040,6 +1152,14 @@ impl Client { cloud_service, create_user_group ), + "delete_account_audit_log_sink" => rpc_call!( + self, + callback, + call, + CloudService, + cloud_service, + delete_account_audit_log_sink + ), "delete_api_key" => rpc_call!( self, callback, @@ -1128,6 +1248,22 @@ impl Client { cloud_service, get_account ), + "get_account_audit_log_sink" => rpc_call!( + self, + callback, + call, + CloudService, + cloud_service, + get_account_audit_log_sink + ), + "get_account_audit_log_sinks" => rpc_call!( + self, + callback, + call, + CloudService, + cloud_service, + get_account_audit_log_sinks + ), "get_api_key" => rpc_call!( self, callback, @@ -1152,6 +1288,22 @@ impl Client { cloud_service, get_async_operation ), + "get_audit_logs" => rpc_call!( + self, + callback, + call, + CloudService, + cloud_service, + get_audit_logs + ), + "get_billing_report" => rpc_call!( + self, + callback, + call, + CloudService, + cloud_service, + get_billing_report + ), "get_connectivity_rule" => rpc_call!( self, callback, @@ -1168,6 +1320,14 @@ impl Client { cloud_service, get_connectivity_rules ), + "get_current_identity" => rpc_call!( + self, + callback, + call, + CloudService, + cloud_service, + get_current_identity + ), "get_namespace" => rpc_call!( self, callback, @@ -1176,6 +1336,14 @@ impl Client { cloud_service, get_namespace ), + "get_namespace_capacity_info" => rpc_call!( + self, + callback, + call, + CloudService, + cloud_service, + get_namespace_capacity_info + ), "get_namespace_export_sink" => rpc_call!( self, callback, @@ -1329,6 +1497,14 @@ impl Client { cloud_service, update_account ), + "update_account_audit_log_sink" => rpc_call!( + self, + callback, + call, + CloudService, + cloud_service, + update_account_audit_log_sink + ), "update_api_key" => rpc_call!( self, callback, diff --git a/temporalio/ext/src/metric.rs b/temporalio/ext/src/metric.rs index 8deda740..1c520b2c 100644 --- a/temporalio/ext/src/metric.rs +++ b/temporalio/ext/src/metric.rs @@ -320,6 +320,8 @@ static METRIC_BUFFER_METRIC: Lazy = Lazy::new(|ruby| { static METRIC_KIND_COUNTER: Lazy = Lazy::new(|ruby| ruby.sym_new("counter")); static METRIC_KIND_GAUGE: Lazy = Lazy::new(|ruby| ruby.sym_new("gauge")); static METRIC_KIND_HISTOGRAM: Lazy = Lazy::new(|ruby| ruby.sym_new("histogram")); +static METRIC_KIND_UP_DOWN_COUNTER: Lazy = + Lazy::new(|ruby| ruby.sym_new("up_down_counter")); pub fn convert_metric_events( ruby: &Ruby, @@ -389,6 +391,9 @@ fn convert_metric_event( | metrics::core::MetricKind::HistogramDuration => { ruby.get_inner(&METRIC_KIND_HISTOGRAM) } + metrics::core::MetricKind::UpDownCounter => { + ruby.get_inner(&METRIC_KIND_UP_DOWN_COUNTER) + } }, ), )?; @@ -475,6 +480,7 @@ fn convert_metric_event( metrics::core::MetricUpdateVal::DeltaF64(v) => ruby.into_value(v), metrics::core::MetricUpdateVal::Value(v) => ruby.into_value(v), metrics::core::MetricUpdateVal::ValueF64(v) => ruby.into_value(v), + metrics::core::MetricUpdateVal::SignedDelta(v) => ruby.into_value(v), }, // Attributes attributes diff --git a/temporalio/extra/proto_gen.rb b/temporalio/extra/proto_gen.rb index 05213511..4abc6bb5 100644 --- a/temporalio/extra/proto_gen.rb +++ b/temporalio/extra/proto_gen.rb @@ -49,8 +49,10 @@ class ProtoGen GENERATED_PATHS = [ 'lib/temporalio/api', 'lib/temporalio/internal/bridge/api', + 'lib/protoc-gen-openapiv2', 'sig/temporalio/api', 'sig/temporalio/internal/bridge/api', + 'sig/protoc-gen-openapiv2', *SERVICE_DEFINITIONS.flat_map do |service| [ "lib/temporalio/client/connection/#{service[:file_name]}.rb", @@ -68,15 +70,21 @@ def self.generated_paths # Run the generator def run FileUtils.rm_rf('lib/temporalio/api') + FileUtils.rm_rf('lib/protoc-gen-openapiv2') FileUtils.rm_rf('sig/temporalio/api') FileUtils.rm_rf('sig/temporalio/internal/bridge/api') + FileUtils.rm_rf('sig/protoc-gen-openapiv2') verify_protoc! generate_api_protos(Dir.glob('ext/sdk-core/crates/common/protos/api_upstream/**/*.proto').reject do |proto| proto.include?('google') end) - generate_api_protos(Dir.glob('ext/sdk-core/crates/common/protos/api_cloud_upstream/**/*.proto')) + generate_openapiv2_protos + generate_api_protos( + Dir.glob('ext/sdk-core/crates/common/protos/api_cloud_upstream/**/*.proto'), + extra_proto_paths: ['--proto_path=ext/sdk-core/crates/common/protos'] + ) generate_api_protos(Dir.glob('ext/sdk-core/crates/common/protos/testsrv_upstream/**/*.proto')) generate_api_protos(Dir.glob('ext/additional_protos/**/*.proto')) generate_import_helper_files @@ -88,7 +96,7 @@ def run private - def generate_api_protos(api_protos) + def generate_api_protos(api_protos, extra_proto_paths: []) # Generate API to temp dir and move FileUtils.rm_rf('tmp-proto') FileUtils.mkdir_p(['tmp-proto/ruby', 'tmp-proto/rbs']) @@ -99,6 +107,7 @@ def generate_api_protos(api_protos) '--proto_path=ext/sdk-core/crates/common/protos/api_cloud_upstream', '--proto_path=ext/sdk-core/crates/common/protos/testsrv_upstream', '--proto_path=ext/additional_protos', + *extra_proto_paths, '--ruby_out=tmp-proto/ruby', '--rbs_out=tmp-proto/rbs', *api_protos, @@ -110,6 +119,10 @@ def generate_api_protos(api_protos) # Fix up the import content = File.read(path) content.gsub!(%r{^require 'temporal/(.*)_pb'$}, "require 'temporalio/\\1'") + content.gsub!( + %r{^require 'protoc-gen-openapiv2/options/(.*)_pb'$}, + "require 'temporalio/api/protoc_gen_openapiv2/options/\\1'" + ) File.write(path, content) # Remove _pb from the filename @@ -124,6 +137,34 @@ def generate_api_protos(api_protos) FileUtils.rm_rf('tmp-proto') end + def generate_openapiv2_protos + FileUtils.rm_rf('tmp-proto') + FileUtils.mkdir_p(['tmp-proto/ruby', 'tmp-proto/rbs']) + system( + protoc_command, + *google_proto_include_flags, + '--proto_path=ext/sdk-core/crates/common/protos', + '--ruby_out=tmp-proto/ruby', + '--rbs_out=tmp-proto/rbs', + *Dir.glob('ext/sdk-core/crates/common/protos/protoc-gen-openapiv2/**/*.proto'), + exception: true + ) + Dir.glob('tmp-proto/ruby/protoc-gen-openapiv2/**/*.rb') do |path| + content = File.read(path) + content.gsub!( + %r{^require 'protoc-gen-openapiv2/options/(.*)_pb'$}, + "require 'temporalio/api/protoc_gen_openapiv2/options/\\1'" + ) + File.write(path, content) + FileUtils.mv(path, path.sub('_pb', '')) + end + Dir.glob('tmp-proto/rbs/protoc-gen-openapiv2/**/*.rbs') { |path| normalize_generated_rbs!(path) } + FileUtils.mkdir_p(['lib/temporalio/api', 'sig/temporalio/api']) + FileUtils.cp_r('tmp-proto/ruby/protoc-gen-openapiv2', 'lib/temporalio/api/protoc_gen_openapiv2') + FileUtils.cp_r('tmp-proto/rbs/protoc-gen-openapiv2', 'sig/temporalio/api/protoc_gen_openapiv2') + FileUtils.rm_rf('tmp-proto') + end + def generate_import_helper_files # Write files that will help with imports. We are requiring the # request_response and not the service because the service depends on Google @@ -425,6 +466,8 @@ def normalize_generated_rbs!(path) ) # The plugin emits constructor helpers as `Type::init_map`; the runtime API exposed to callers is just `Type`. content.gsub!(/::Google::Protobuf::([A-Za-z]+)::init_map/, '::Google::Protobuf::\1') + # protoc generates usage of Struct without specifying generics, we add them to match the proto file definition + content.gsub!(/::Google::Protobuf::Struct(?!\[)/, '::Google::Protobuf::Struct[::String, ::Google::Protobuf::Value]') content.gsub!( /^(\s*)def self\.lookup:\n.*?^(?=\1def self\.resolve:)/m, "\\1def self.lookup: (::Integer number) -> ::Symbol\n\n" diff --git a/temporalio/lib/temporalio/api/activity/v1/message.rb b/temporalio/lib/temporalio/api/activity/v1/message.rb index 2a32846f..c9486035 100644 --- a/temporalio/lib/temporalio/api/activity/v1/message.rb +++ b/temporalio/lib/temporalio/api/activity/v1/message.rb @@ -9,13 +9,14 @@ require 'temporalio/api/common/v1/message' require 'temporalio/api/deployment/v1/message' require 'temporalio/api/enums/v1/activity' +require 'temporalio/api/callback/v1/message' require 'temporalio/api/enums/v1/workflow' require 'temporalio/api/failure/v1/message' require 'temporalio/api/taskqueue/v1/message' require 'temporalio/api/sdk/v1/user_metadata' -descriptor_data = "\n&temporal/api/activity/v1/message.proto\x12\x18temporal.api.activity.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a(temporal/api/deployment/v1/message.proto\x1a$temporal/api/enums/v1/activity.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a%temporal/api/failure/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto\"\x8c\x01\n\x18\x41\x63tivityExecutionOutcome\x12\x32\n\x06result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.PayloadsH\x00\x12\x33\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x42\x07\n\x05value\"\xa7\x03\n\x0f\x41\x63tivityOptions\x12\x38\n\ntask_queue\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12<\n\x19schedule_to_close_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x06 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x32\n\x08priority\x18\x07 \x01(\x0b\x32 .temporal.api.common.v1.Priority\"\xdf\x0c\n\x15\x41\x63tivityExecutionInfo\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\x12;\n\ractivity_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12>\n\x06status\x18\x04 \x01(\x0e\x32..temporal.api.enums.v1.ActivityExecutionStatus\x12>\n\trun_state\x18\x05 \x01(\x0e\x32+.temporal.api.enums.v1.PendingActivityState\x12\x12\n\ntask_queue\x18\x06 \x01(\t\x12<\n\x19schedule_to_close_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x0b \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12;\n\x11heartbeat_details\x18\x0c \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x37\n\x13last_heartbeat_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_started_time\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x61ttempt\x18\x0f \x01(\x05\x12\x35\n\x12\x65xecution_duration\x18\x10 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x31\n\rschedule_time\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x0f\x65xpiration_time\x18\x12 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nclose_time\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x0clast_failure\x18\x14 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x1c\n\x14last_worker_identity\x18\x15 \x01(\t\x12\x39\n\x16\x63urrent_retry_interval\x18\x16 \x01(\x0b\x32\x19.google.protobuf.Duration\x12>\n\x1alast_attempt_complete_time\x18\x17 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x1anext_attempt_schedule_time\x18\x18 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12T\n\x17last_deployment_version\x18\x19 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x32\n\x08priority\x18\x1a \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12\x1e\n\x16state_transition_count\x18\x1b \x01(\x03\x12\x18\n\x10state_size_bytes\x18\x1c \x01(\x03\x12\x43\n\x11search_attributes\x18\x1d \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\x06header\x18\x1e \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x38\n\ruser_metadata\x18\x1f \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12\x17\n\x0f\x63\x61nceled_reason\x18 \x01(\t\"\xea\x03\n\x19\x41\x63tivityExecutionListInfo\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\x12;\n\ractivity_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x31\n\rschedule_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nclose_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x06status\x18\x06 \x01(\x0e\x32..temporal.api.enums.v1.ActivityExecutionStatus\x12\x43\n\x11search_attributes\x18\x07 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x12\n\ntask_queue\x18\x08 \x01(\t\x12\x1e\n\x16state_transition_count\x18\t \x01(\x03\x12\x18\n\x10state_size_bytes\x18\n \x01(\x03\x12\x35\n\x12\x65xecution_duration\x18\x0b \x01(\x0b\x32\x19.google.protobuf.DurationB\x93\x01\n\x1bio.temporal.api.activity.v1B\x0cMessageProtoP\x01Z\'go.temporal.io/api/activity/v1;activity\xaa\x02\x1aTemporalio.Api.Activity.V1\xea\x02\x1dTemporalio::Api::Activity::V1b\x06proto3" +descriptor_data = "\n&temporal/api/activity/v1/message.proto\x12\x18temporal.api.activity.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a(temporal/api/deployment/v1/message.proto\x1a$temporal/api/enums/v1/activity.proto\x1a&temporal/api/callback/v1/message.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a%temporal/api/failure/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto\"\x8c\x01\n\x18\x41\x63tivityExecutionOutcome\x12\x32\n\x06result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.PayloadsH\x00\x12\x33\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x42\x07\n\x05value\"\xa7\x03\n\x0f\x41\x63tivityOptions\x12\x38\n\ntask_queue\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12<\n\x19schedule_to_close_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x06 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x32\n\x08priority\x18\x07 \x01(\x0b\x32 .temporal.api.common.v1.Priority\"\xab\r\n\x15\x41\x63tivityExecutionInfo\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\x12;\n\ractivity_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12>\n\x06status\x18\x04 \x01(\x0e\x32..temporal.api.enums.v1.ActivityExecutionStatus\x12>\n\trun_state\x18\x05 \x01(\x0e\x32+.temporal.api.enums.v1.PendingActivityState\x12\x12\n\ntask_queue\x18\x06 \x01(\t\x12<\n\x19schedule_to_close_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x0b \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12;\n\x11heartbeat_details\x18\x0c \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x37\n\x13last_heartbeat_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_started_time\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x61ttempt\x18\x0f \x01(\x05\x12\x35\n\x12\x65xecution_duration\x18\x10 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x31\n\rschedule_time\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x0f\x65xpiration_time\x18\x12 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nclose_time\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x0clast_failure\x18\x14 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x1c\n\x14last_worker_identity\x18\x15 \x01(\t\x12\x39\n\x16\x63urrent_retry_interval\x18\x16 \x01(\x0b\x32\x19.google.protobuf.Duration\x12>\n\x1alast_attempt_complete_time\x18\x17 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x1anext_attempt_schedule_time\x18\x18 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12T\n\x17last_deployment_version\x18\x19 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x32\n\x08priority\x18\x1a \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12\x1e\n\x16state_transition_count\x18\x1b \x01(\x03\x12\x18\n\x10state_size_bytes\x18\x1c \x01(\x03\x12\x43\n\x11search_attributes\x18\x1d \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\x06header\x18\x1e \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x38\n\ruser_metadata\x18\x1f \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12\x17\n\x0f\x63\x61nceled_reason\x18 \x01(\t\x12+\n\x05links\x18! \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x12\x1d\n\x15total_heartbeat_count\x18\" \x01(\x03\"\xea\x03\n\x19\x41\x63tivityExecutionListInfo\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\x12;\n\ractivity_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x31\n\rschedule_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nclose_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x06status\x18\x06 \x01(\x0e\x32..temporal.api.enums.v1.ActivityExecutionStatus\x12\x43\n\x11search_attributes\x18\x07 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x12\n\ntask_queue\x18\x08 \x01(\t\x12\x1e\n\x16state_transition_count\x18\t \x01(\x03\x12\x18\n\x10state_size_bytes\x18\n \x01(\x03\x12\x35\n\x12\x65xecution_duration\x18\x0b \x01(\x0b\x32\x19.google.protobuf.Duration\"\xff\x01\n\x0c\x43\x61llbackInfo\x12?\n\x07trigger\x18\x01 \x01(\x0b\x32..temporal.api.activity.v1.CallbackInfo.Trigger\x12\x34\n\x04info\x18\x02 \x01(\x0b\x32&.temporal.api.callback.v1.CallbackInfo\x1a\x10\n\x0e\x41\x63tivityClosed\x1a\x66\n\x07Trigger\x12P\n\x0f\x61\x63tivity_closed\x18\x01 \x01(\x0b\x32\x35.temporal.api.activity.v1.CallbackInfo.ActivityClosedH\x00\x42\t\n\x07variantB\x93\x01\n\x1bio.temporal.api.activity.v1B\x0cMessageProtoP\x01Z\'go.temporal.io/api/activity/v1;activity\xaa\x02\x1aTemporalio.Api.Activity.V1\xea\x02\x1dTemporalio::Api::Activity::V1b\x06proto3" pool = ::Google::Protobuf::DescriptorPool.generated_pool pool.add_serialized_file(descriptor_data) @@ -28,6 +29,9 @@ module V1 ActivityOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.activity.v1.ActivityOptions").msgclass ActivityExecutionInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.activity.v1.ActivityExecutionInfo").msgclass ActivityExecutionListInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.activity.v1.ActivityExecutionListInfo").msgclass + CallbackInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.activity.v1.CallbackInfo").msgclass + CallbackInfo::ActivityClosed = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.activity.v1.CallbackInfo.ActivityClosed").msgclass + CallbackInfo::Trigger = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.activity.v1.CallbackInfo.Trigger").msgclass end end end diff --git a/temporalio/lib/temporalio/api/callback/v1/message.rb b/temporalio/lib/temporalio/api/callback/v1/message.rb new file mode 100644 index 00000000..5f320fb9 --- /dev/null +++ b/temporalio/lib/temporalio/api/callback/v1/message.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: temporal/api/callback/v1/message.proto + +require 'google/protobuf' + +require 'google/protobuf/timestamp_pb' +require 'temporalio/api/common/v1/message' +require 'temporalio/api/enums/v1/common' +require 'temporalio/api/failure/v1/message' + + +descriptor_data = "\n&temporal/api/callback/v1/message.proto\x12\x18temporal.api.callback.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a\"temporal/api/enums/v1/common.proto\x1a%temporal/api/failure/v1/message.proto\"\x97\x03\n\x0c\x43\x61llbackInfo\x12\x32\n\x08\x63\x61llback\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Callback\x12\x35\n\x11registration_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x05state\x18\x03 \x01(\x0e\x32$.temporal.api.enums.v1.CallbackState\x12\x0f\n\x07\x61ttempt\x18\x04 \x01(\x05\x12>\n\x1alast_attempt_complete_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x14last_attempt_failure\x18\x06 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12>\n\x1anext_attempt_schedule_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0e\x62locked_reason\x18\x08 \x01(\tB\x93\x01\n\x1bio.temporal.api.callback.v1B\x0cMessageProtoP\x01Z\'go.temporal.io/api/callback/v1;callback\xaa\x02\x1aTemporalio.Api.Callback.V1\xea\x02\x1dTemporalio::Api::Callback::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) + +module Temporalio + module Api + module Callback + module V1 + CallbackInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.callback.v1.CallbackInfo").msgclass + end + end + end +end diff --git a/temporalio/lib/temporalio/api/cloud/account/v1/message.rb b/temporalio/lib/temporalio/api/cloud/account/v1/message.rb index 39e7853b..d66a5dea 100644 --- a/temporalio/lib/temporalio/api/cloud/account/v1/message.rb +++ b/temporalio/lib/temporalio/api/cloud/account/v1/message.rb @@ -6,9 +6,10 @@ require 'temporalio/api/cloud/resource/v1/message' require 'temporalio/api/cloud/sink/v1/message' +require 'google/protobuf/timestamp_pb' -descriptor_data = "\n+temporal/api/cloud/account/v1/message.proto\x12\x1dtemporal.api.cloud.account.v1\x1a,temporal/api/cloud/resource/v1/message.proto\x1a(temporal/api/cloud/sink/v1/message.proto\")\n\x0bMetricsSpec\x12\x1a\n\x12\x61\x63\x63\x65pted_client_ca\x18\x02 \x01(\x0c\"J\n\x0b\x41\x63\x63ountSpec\x12;\n\x07metrics\x18\x01 \x01(\x0b\x32*.temporal.api.cloud.account.v1.MetricsSpec\"\x16\n\x07Metrics\x12\x0b\n\x03uri\x18\x01 \x01(\t\"\xfc\x01\n\x07\x41\x63\x63ount\x12\n\n\x02id\x18\x01 \x01(\t\x12\x38\n\x04spec\x18\x02 \x01(\x0b\x32*.temporal.api.cloud.account.v1.AccountSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12<\n\x05state\x18\x04 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12\x37\n\x07metrics\x18\x06 \x01(\x0b\x32&.temporal.api.cloud.account.v1.Metrics\"\xbf\x01\n\x10\x41uditLogSinkSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12?\n\x0ckinesis_sink\x18\x02 \x01(\x0b\x32\'.temporal.api.cloud.sink.v1.KinesisSpecH\x00\x12>\n\x0cpub_sub_sink\x18\x03 \x01(\x0b\x32&.temporal.api.cloud.sink.v1.PubSubSpecH\x00\x12\x0f\n\x07\x65nabled\x18\x04 \x01(\x08\x42\x0b\n\tsink_typeB\xa7\x01\n io.temporal.api.cloud.account.v1B\x0cMessageProtoP\x01Z+go.temporal.io/api/cloud/account/v1;account\xaa\x02\x1fTemporalio.Api.Cloud.Account.V1\xea\x02#Temporalio::Api::Cloud::Account::V1b\x06proto3" +descriptor_data = "\n+temporal/api/cloud/account/v1/message.proto\x12\x1dtemporal.api.cloud.account.v1\x1a,temporal/api/cloud/resource/v1/message.proto\x1a(temporal/api/cloud/sink/v1/message.proto\x1a\x1fgoogle/protobuf/timestamp.proto\")\n\x0bMetricsSpec\x12\x1a\n\x12\x61\x63\x63\x65pted_client_ca\x18\x02 \x01(\x0c\"J\n\x0b\x41\x63\x63ountSpec\x12;\n\x07metrics\x18\x01 \x01(\x0b\x32*.temporal.api.cloud.account.v1.MetricsSpec\"\x16\n\x07Metrics\x12\x0b\n\x03uri\x18\x01 \x01(\t\"\xfc\x01\n\x07\x41\x63\x63ount\x12\n\n\x02id\x18\x01 \x01(\t\x12\x38\n\x04spec\x18\x02 \x01(\x0b\x32*.temporal.api.cloud.account.v1.AccountSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12<\n\x05state\x18\x04 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12\x37\n\x07metrics\x18\x06 \x01(\x0b\x32&.temporal.api.cloud.account.v1.Metrics\"\xbf\x01\n\x10\x41uditLogSinkSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12?\n\x0ckinesis_sink\x18\x02 \x01(\x0b\x32\'.temporal.api.cloud.sink.v1.KinesisSpecH\x00\x12>\n\x0cpub_sub_sink\x18\x03 \x01(\x0b\x32&.temporal.api.cloud.sink.v1.PubSubSpecH\x00\x12\x0f\n\x07\x65nabled\x18\x04 \x01(\x08\x42\x0b\n\tsink_type\"\xb8\x03\n\x0c\x41uditLogSink\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12<\n\x05state\x18\x03 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12=\n\x04spec\x18\x04 \x01(\x0b\x32/.temporal.api.cloud.account.v1.AuditLogSinkSpec\x12\x42\n\x06health\x18\x05 \x01(\x0e\x32\x32.temporal.api.cloud.account.v1.AuditLogSink.Health\x12\x15\n\rerror_message\x18\x06 \x01(\t\x12\x37\n\x13last_succeeded_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"o\n\x06Health\x12\x16\n\x12HEALTH_UNSPECIFIED\x10\x00\x12\r\n\tHEALTH_OK\x10\x01\x12\x19\n\x15HEALTH_ERROR_INTERNAL\x10\x02\x12#\n\x1fHEALTH_ERROR_USER_CONFIGURATION\x10\x03\x42\xa7\x01\n io.temporal.api.cloud.account.v1B\x0cMessageProtoP\x01Z+go.temporal.io/api/cloud/account/v1;account\xaa\x02\x1fTemporalio.Api.Cloud.Account.V1\xea\x02#Temporalio::Api::Cloud::Account::V1b\x06proto3" pool = ::Google::Protobuf::DescriptorPool.generated_pool pool.add_serialized_file(descriptor_data) @@ -23,6 +24,8 @@ module V1 Metrics = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.account.v1.Metrics").msgclass Account = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.account.v1.Account").msgclass AuditLogSinkSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.account.v1.AuditLogSinkSpec").msgclass + AuditLogSink = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.account.v1.AuditLogSink").msgclass + AuditLogSink::Health = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.account.v1.AuditLogSink.Health").enummodule end end end diff --git a/temporalio/lib/temporalio/api/cloud/auditlog/v1/message.rb b/temporalio/lib/temporalio/api/cloud/auditlog/v1/message.rb new file mode 100644 index 00000000..8496c61b --- /dev/null +++ b/temporalio/lib/temporalio/api/cloud/auditlog/v1/message.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: temporal/api/cloud/auditlog/v1/message.proto + +require 'google/protobuf' + +require 'google/protobuf/timestamp_pb' +require 'google/protobuf/struct_pb' + + +descriptor_data = "\n,temporal/api/cloud/auditlog/v1/message.proto\x12\x1etemporal.api.cloud.auditlog.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1cgoogle/protobuf/struct.proto\"\x9f\x02\n\tLogRecord\x12-\n\temit_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x11\n\toperation\x18\x05 \x01(\t\x12\x0e\n\x06status\x18\x07 \x01(\t\x12\x0f\n\x07version\x18\t \x01(\x05\x12\x0e\n\x06log_id\x18\n \x01(\t\x12<\n\tprincipal\x18\x0c \x01(\x0b\x32).temporal.api.cloud.auditlog.v1.Principal\x12,\n\x0braw_details\x18\r \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x17\n\x0fx_forwarded_for\x18\x0e \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x0f \x01(\t\"G\n\tPrincipal\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x12\n\napi_key_id\x18\x04 \x01(\tB\xac\x01\n!io.temporal.api.cloud.auditlog.v1B\x0cMessageProtoP\x01Z-go.temporal.io/api/cloud/auditlog/v1;auditlog\xaa\x02 Temporalio.Api.Cloud.AuditLog.V1\xea\x02$Temporalio::Api::Cloud::AuditLog::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) + +module Temporalio + module Api + module Cloud + module AuditLog + module V1 + LogRecord = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.auditlog.v1.LogRecord").msgclass + Principal = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.auditlog.v1.Principal").msgclass + end + end + end + end +end diff --git a/temporalio/lib/temporalio/api/cloud/billing/v1/message.rb b/temporalio/lib/temporalio/api/cloud/billing/v1/message.rb new file mode 100644 index 00000000..1f7f1379 --- /dev/null +++ b/temporalio/lib/temporalio/api/cloud/billing/v1/message.rb @@ -0,0 +1,30 @@ +# frozen_string_literal: true +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: temporal/api/cloud/billing/v1/message.proto + +require 'google/protobuf' + +require 'google/protobuf/duration_pb' +require 'google/protobuf/timestamp_pb' + + +descriptor_data = "\n+temporal/api/cloud/billing/v1/message.proto\x12\x1dtemporal.api.cloud.billing.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xdf\x01\n\x11\x42illingReportSpec\x12\x38\n\x14start_time_inclusive\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12\x65nd_time_exclusive\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x43\n download_url_expiration_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\"\xa8\x06\n\rBillingReport\x12\n\n\x02id\x18\x01 \x01(\t\x12N\n\x05state\x18\x02 \x01(\x0e\x32?.temporal.api.cloud.billing.v1.BillingReport.BillingReportState\x12>\n\x04spec\x18\x03 \x01(\x0b\x32\x30.temporal.api.cloud.billing.v1.BillingReportSpec\x12L\n\rdownload_info\x18\x04 \x03(\x0b\x32\x35.temporal.api.cloud.billing.v1.BillingReport.Download\x12\x32\n\x0erequested_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x0egenerated_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1a\n\x12\x61sync_operation_id\x18\x07 \x01(\t\x1a\x80\x02\n\x08\x44ownload\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x37\n\x13url_expiration_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12U\n\x0b\x66ile_format\x18\x03 \x01(\x0e\x32@.temporal.api.cloud.billing.v1.BillingReport.Download.FileFormat\x12\x17\n\x0f\x66ile_size_bytes\x18\x04 \x01(\x03\">\n\nFileFormat\x12\x1b\n\x17\x46ILE_FORMAT_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x46ILE_FORMAT_CSV\x10\x01\"\xa5\x01\n\x12\x42illingReportState\x12$\n BILLING_REPORT_STATE_UNSPECIFIED\x10\x00\x12$\n BILLING_REPORT_STATE_IN_PROGRESS\x10\x01\x12\"\n\x1e\x42ILLING_REPORT_STATE_GENERATED\x10\x02\x12\x1f\n\x1b\x42ILLING_REPORT_STATE_FAILED\x10\x03\x42\xa7\x01\n io.temporal.api.cloud.billing.v1B\x0cMessageProtoP\x01Z+go.temporal.io/api/cloud/billing/v1;billing\xaa\x02\x1fTemporalio.Api.Cloud.Billing.V1\xea\x02#Temporalio::Api::Cloud::Billing::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) + +module Temporalio + module Api + module Cloud + module Billing + module V1 + BillingReportSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.billing.v1.BillingReportSpec").msgclass + BillingReport = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.billing.v1.BillingReport").msgclass + BillingReport::Download = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.billing.v1.BillingReport.Download").msgclass + BillingReport::Download::FileFormat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.billing.v1.BillingReport.Download.FileFormat").enummodule + BillingReport::BillingReportState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.billing.v1.BillingReport.BillingReportState").enummodule + end + end + end + end +end diff --git a/temporalio/lib/temporalio/api/cloud/cloudservice/v1/request_response.rb b/temporalio/lib/temporalio/api/cloud/cloudservice/v1/request_response.rb index 021f0ac5..76273e41 100644 --- a/temporalio/lib/temporalio/api/cloud/cloudservice/v1/request_response.rb +++ b/temporalio/lib/temporalio/api/cloud/cloudservice/v1/request_response.rb @@ -13,9 +13,11 @@ require 'temporalio/api/cloud/account/v1/message' require 'temporalio/api/cloud/usage/v1/message' require 'temporalio/api/cloud/connectivityrule/v1/message' +require 'temporalio/api/cloud/auditlog/v1/message' +require 'temporalio/api/cloud/billing/v1/message' -descriptor_data = "\n9temporal/api/cloud/cloudservice/v1/request_response.proto\x12\"temporal.api.cloud.cloudservice.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a-temporal/api/cloud/operation/v1/message.proto\x1a,temporal/api/cloud/identity/v1/message.proto\x1a-temporal/api/cloud/namespace/v1/message.proto\x1a)temporal/api/cloud/nexus/v1/message.proto\x1a*temporal/api/cloud/region/v1/message.proto\x1a+temporal/api/cloud/account/v1/message.proto\x1a)temporal/api/cloud/usage/v1/message.proto\x1a\x34temporal/api/cloud/connectivityrule/v1/message.proto\"Z\n\x0fGetUsersRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\r\n\x05\x65mail\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\"`\n\x10GetUsersResponse\x12\x33\n\x05users\x18\x01 \x03(\x0b\x32$.temporal.api.cloud.identity.v1.User\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"!\n\x0eGetUserRequest\x12\x0f\n\x07user_id\x18\x01 \x01(\t\"E\n\x0fGetUserResponse\x12\x32\n\x04user\x18\x01 \x01(\x0b\x32$.temporal.api.cloud.identity.v1.User\"g\n\x11\x43reateUserRequest\x12\x36\n\x04spec\x18\x01 \x01(\x0b\x32(.temporal.api.cloud.identity.v1.UserSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t\"o\n\x12\x43reateUserResponse\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\x92\x01\n\x11UpdateUserRequest\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12\x36\n\x04spec\x18\x02 \x01(\x0b\x32(.temporal.api.cloud.identity.v1.UserSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\"^\n\x12UpdateUserResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"Z\n\x11\x44\x65leteUserRequest\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"^\n\x12\x44\x65leteUserResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\xba\x01\n\x1dSetUserNamespaceAccessRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0f\n\x07user_id\x18\x02 \x01(\t\x12?\n\x06\x61\x63\x63\x65ss\x18\x03 \x01(\x0b\x32/.temporal.api.cloud.identity.v1.NamespaceAccess\x12\x18\n\x10resource_version\x18\x04 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\"j\n\x1eSetUserNamespaceAccessResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"6\n\x18GetAsyncOperationRequest\x12\x1a\n\x12\x61sync_operation_id\x18\x01 \x01(\t\"e\n\x19GetAsyncOperationResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\xf3\x01\n\x16\x43reateNamespaceRequest\x12<\n\x04spec\x18\x02 \x01(\x0b\x32..temporal.api.cloud.namespace.v1.NamespaceSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\x12R\n\x04tags\x18\x04 \x03(\x0b\x32\x44.temporal.api.cloud.cloudservice.v1.CreateNamespaceRequest.TagsEntry\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"v\n\x17\x43reateNamespaceResponse\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"K\n\x14GetNamespacesRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\"p\n\x15GetNamespacesResponse\x12>\n\nnamespaces\x18\x01 \x03(\x0b\x32*.temporal.api.cloud.namespace.v1.Namespace\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"(\n\x13GetNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\"U\n\x14GetNamespaceResponse\x12=\n\tnamespace\x18\x01 \x01(\x0b\x32*.temporal.api.cloud.namespace.v1.Namespace\"\x9f\x01\n\x16UpdateNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\x04spec\x18\x02 \x01(\x0b\x32..temporal.api.cloud.namespace.v1.NamespaceSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\"c\n\x17UpdateNamespaceResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\xc6\x01\n\"RenameCustomSearchAttributeRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12-\n%existing_custom_search_attribute_name\x18\x02 \x01(\t\x12(\n new_custom_search_attribute_name\x18\x03 \x01(\t\x12\x18\n\x10resource_version\x18\x04 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\"o\n#RenameCustomSearchAttributeResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"a\n\x16\x44\x65leteNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"c\n\x17\x44\x65leteNamespaceResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"_\n\x1e\x46\x61iloverNamespaceRegionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0e\n\x06region\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"k\n\x1f\x46\x61iloverNamespaceRegionResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"t\n\x19\x41\x64\x64NamespaceRegionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0e\n\x06region\x18\x02 \x01(\t\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\"f\n\x1a\x41\x64\x64NamespaceRegionResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"w\n\x1c\x44\x65leteNamespaceRegionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0e\n\x06region\x18\x02 \x01(\t\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\"i\n\x1d\x44\x65leteNamespaceRegionResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\x13\n\x11GetRegionsRequest\"K\n\x12GetRegionsResponse\x12\x35\n\x07regions\x18\x01 \x03(\x0b\x32$.temporal.api.cloud.region.v1.Region\"\"\n\x10GetRegionRequest\x12\x0e\n\x06region\x18\x01 \x01(\t\"I\n\x11GetRegionResponse\x12\x34\n\x06region\x18\x01 \x01(\x0b\x32$.temporal.api.cloud.region.v1.Region\"\xae\x01\n\x11GetApiKeysRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x10\n\x08owner_id\x18\x03 \x01(\t\x12!\n\x15owner_type_deprecated\x18\x04 \x01(\tB\x02\x18\x01\x12=\n\nowner_type\x18\x05 \x01(\x0e\x32).temporal.api.cloud.identity.v1.OwnerType\"g\n\x12GetApiKeysResponse\x12\x38\n\x08\x61pi_keys\x18\x01 \x03(\x0b\x32&.temporal.api.cloud.identity.v1.ApiKey\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\"\n\x10GetApiKeyRequest\x12\x0e\n\x06key_id\x18\x01 \x01(\t\"L\n\x11GetApiKeyResponse\x12\x37\n\x07\x61pi_key\x18\x01 \x01(\x0b\x32&.temporal.api.cloud.identity.v1.ApiKey\"k\n\x13\x43reateApiKeyRequest\x12\x38\n\x04spec\x18\x01 \x01(\x0b\x32*.temporal.api.cloud.identity.v1.ApiKeySpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t\"\x7f\n\x14\x43reateApiKeyResponse\x12\x0e\n\x06key_id\x18\x01 \x01(\t\x12\r\n\x05token\x18\x02 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x03 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\x95\x01\n\x13UpdateApiKeyRequest\x12\x0e\n\x06key_id\x18\x01 \x01(\t\x12\x38\n\x04spec\x18\x02 \x01(\x0b\x32*.temporal.api.cloud.identity.v1.ApiKeySpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\"`\n\x14UpdateApiKeyResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"[\n\x13\x44\x65leteApiKeyRequest\x12\x0e\n\x06key_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"`\n\x14\x44\x65leteApiKeyResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\x87\x01\n\x18GetNexusEndpointsRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x1b\n\x13target_namespace_id\x18\x03 \x01(\t\x12\x19\n\x11target_task_queue\x18\x04 \x01(\t\x12\x0c\n\x04name\x18\x05 \x01(\t\"n\n\x19GetNexusEndpointsResponse\x12\x38\n\tendpoints\x18\x01 \x03(\x0b\x32%.temporal.api.cloud.nexus.v1.Endpoint\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\".\n\x17GetNexusEndpointRequest\x12\x13\n\x0b\x65ndpoint_id\x18\x01 \x01(\t\"S\n\x18GetNexusEndpointResponse\x12\x37\n\x08\x65ndpoint\x18\x01 \x01(\x0b\x32%.temporal.api.cloud.nexus.v1.Endpoint\"q\n\x1a\x43reateNexusEndpointRequest\x12\x37\n\x04spec\x18\x01 \x01(\x0b\x32).temporal.api.cloud.nexus.v1.EndpointSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t\"|\n\x1b\x43reateNexusEndpointResponse\x12\x13\n\x0b\x65ndpoint_id\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\xa0\x01\n\x1aUpdateNexusEndpointRequest\x12\x13\n\x0b\x65ndpoint_id\x18\x01 \x01(\t\x12\x37\n\x04spec\x18\x02 \x01(\x0b\x32).temporal.api.cloud.nexus.v1.EndpointSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\"g\n\x1bUpdateNexusEndpointResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"g\n\x1a\x44\x65leteNexusEndpointRequest\x12\x13\n\x0b\x65ndpoint_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"g\n\x1b\x44\x65leteNexusEndpointResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\xf5\x02\n\x14GetUserGroupsRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tnamespace\x18\x03 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x04 \x01(\t\x12`\n\x0cgoogle_group\x18\x05 \x01(\x0b\x32J.temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest.GoogleGroupFilter\x12\\\n\nscim_group\x18\x06 \x01(\x0b\x32H.temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest.SCIMGroupFilter\x1a*\n\x11GoogleGroupFilter\x12\x15\n\remail_address\x18\x01 \x01(\t\x1a!\n\x0fSCIMGroupFilter\x12\x0e\n\x06idp_id\x18\x01 \x01(\t\"k\n\x15GetUserGroupsResponse\x12\x39\n\x06groups\x18\x01 \x03(\x0b\x32).temporal.api.cloud.identity.v1.UserGroup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\'\n\x13GetUserGroupRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t\"P\n\x14GetUserGroupResponse\x12\x38\n\x05group\x18\x01 \x01(\x0b\x32).temporal.api.cloud.identity.v1.UserGroup\"q\n\x16\x43reateUserGroupRequest\x12;\n\x04spec\x18\x01 \x01(\x0b\x32-.temporal.api.cloud.identity.v1.UserGroupSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t\"u\n\x17\x43reateUserGroupResponse\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\x9d\x01\n\x16UpdateUserGroupRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12;\n\x04spec\x18\x02 \x01(\x0b\x32-.temporal.api.cloud.identity.v1.UserGroupSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\"c\n\x17UpdateUserGroupResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"`\n\x16\x44\x65leteUserGroupRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"c\n\x17\x44\x65leteUserGroupResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\xc0\x01\n\"SetUserGroupNamespaceAccessRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08group_id\x18\x02 \x01(\t\x12?\n\x06\x61\x63\x63\x65ss\x18\x03 \x01(\x0b\x32/.temporal.api.cloud.identity.v1.NamespaceAccess\x12\x18\n\x10resource_version\x18\x04 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\"o\n#SetUserGroupNamespaceAccessResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\x8f\x01\n\x19\x41\x64\x64UserGroupMemberRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12\x44\n\tmember_id\x18\x02 \x01(\x0b\x32\x31.temporal.api.cloud.identity.v1.UserGroupMemberId\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"f\n\x1a\x41\x64\x64UserGroupMemberResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\x92\x01\n\x1cRemoveUserGroupMemberRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12\x44\n\tmember_id\x18\x02 \x01(\x0b\x32\x31.temporal.api.cloud.identity.v1.UserGroupMemberId\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"i\n\x1dRemoveUserGroupMemberResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"U\n\x1aGetUserGroupMembersRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x10\n\x08group_id\x18\x03 \x01(\t\"x\n\x1bGetUserGroupMembersResponse\x12@\n\x07members\x18\x01 \x03(\x0b\x32/.temporal.api.cloud.identity.v1.UserGroupMember\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"{\n\x1b\x43reateServiceAccountRequest\x12@\n\x04spec\x18\x01 \x01(\x0b\x32\x32.temporal.api.cloud.identity.v1.ServiceAccountSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t\"\x84\x01\n\x1c\x43reateServiceAccountResponse\x12\x1a\n\x12service_account_id\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"6\n\x18GetServiceAccountRequest\x12\x1a\n\x12service_account_id\x18\x01 \x01(\t\"d\n\x19GetServiceAccountResponse\x12G\n\x0fservice_account\x18\x01 \x01(\x0b\x32..temporal.api.cloud.identity.v1.ServiceAccount\"B\n\x19GetServiceAccountsRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\"~\n\x1aGetServiceAccountsResponse\x12G\n\x0fservice_account\x18\x01 \x03(\x0b\x32..temporal.api.cloud.identity.v1.ServiceAccount\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xb1\x01\n\x1bUpdateServiceAccountRequest\x12\x1a\n\x12service_account_id\x18\x01 \x01(\t\x12@\n\x04spec\x18\x02 \x01(\x0b\x32\x32.temporal.api.cloud.identity.v1.ServiceAccountSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\"h\n\x1cUpdateServiceAccountResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\xcf\x01\n\'SetServiceAccountNamespaceAccessRequest\x12\x1a\n\x12service_account_id\x18\x01 \x01(\t\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12?\n\x06\x61\x63\x63\x65ss\x18\x03 \x01(\x0b\x32/.temporal.api.cloud.identity.v1.NamespaceAccess\x12\x18\n\x10resource_version\x18\x04 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\"t\n(SetServiceAccountNamespaceAccessResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"o\n\x1b\x44\x65leteServiceAccountRequest\x12\x1a\n\x12service_account_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"h\n\x1c\x44\x65leteServiceAccountResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\xaa\x01\n\x0fGetUsageRequest\x12\x38\n\x14start_time_inclusive\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12\x65nd_time_exclusive\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\"d\n\x10GetUsageResponse\x12\x37\n\tsummaries\x18\x01 \x03(\x0b\x32$.temporal.api.cloud.usage.v1.Summary\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x13\n\x11GetAccountRequest\"M\n\x12GetAccountResponse\x12\x37\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0b\x32&.temporal.api.cloud.account.v1.Account\"\x86\x01\n\x14UpdateAccountRequest\x12\x38\n\x04spec\x18\x01 \x01(\x0b\x32*.temporal.api.cloud.account.v1.AccountSpec\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"a\n\x15UpdateAccountResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\x90\x01\n CreateNamespaceExportSinkRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12=\n\x04spec\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.namespace.v1.ExportSinkSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"m\n!CreateNamespaceExportSinkResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"@\n\x1dGetNamespaceExportSinkRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\"[\n\x1eGetNamespaceExportSinkResponse\x12\x39\n\x04sink\x18\x01 \x01(\x0b\x32+.temporal.api.cloud.namespace.v1.ExportSink\"Z\n\x1eGetNamespaceExportSinksRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"v\n\x1fGetNamespaceExportSinksResponse\x12:\n\x05sinks\x18\x01 \x03(\x0b\x32+.temporal.api.cloud.namespace.v1.ExportSink\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xaa\x01\n UpdateNamespaceExportSinkRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12=\n\x04spec\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.namespace.v1.ExportSinkSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\"m\n!UpdateNamespaceExportSinkResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"y\n DeleteNamespaceExportSinkRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\"m\n!DeleteNamespaceExportSinkResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"v\n\"ValidateNamespaceExportSinkRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12=\n\x04spec\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.namespace.v1.ExportSinkSpec\"%\n#ValidateNamespaceExportSinkResponse\"\x82\x02\n\x1aUpdateNamespaceTagsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12h\n\x0etags_to_upsert\x18\x02 \x03(\x0b\x32P.temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsRequest.TagsToUpsertEntry\x12\x16\n\x0etags_to_remove\x18\x03 \x03(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\x1a\x33\n\x11TagsToUpsertEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"g\n\x1bUpdateNamespaceTagsResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\x87\x01\n\x1d\x43reateConnectivityRuleRequest\x12J\n\x04spec\x18\x01 \x01(\x0b\x32<.temporal.api.cloud.connectivityrule.v1.ConnectivityRuleSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t\"\x88\x01\n\x1e\x43reateConnectivityRuleResponse\x12\x1c\n\x14\x63onnectivity_rule_id\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\":\n\x1aGetConnectivityRuleRequest\x12\x1c\n\x14\x63onnectivity_rule_id\x18\x01 \x01(\t\"r\n\x1bGetConnectivityRuleResponse\x12S\n\x11\x63onnectivity_rule\x18\x01 \x01(\x0b\x32\x38.temporal.api.cloud.connectivityrule.v1.ConnectivityRule\"W\n\x1bGetConnectivityRulesRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tnamespace\x18\x03 \x01(\t\"\x8d\x01\n\x1cGetConnectivityRulesResponse\x12T\n\x12\x63onnectivity_rules\x18\x01 \x03(\x0b\x32\x38.temporal.api.cloud.connectivityrule.v1.ConnectivityRule\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"s\n\x1d\x44\x65leteConnectivityRuleRequest\x12\x1c\n\x14\x63onnectivity_rule_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"j\n\x1e\x44\x65leteConnectivityRuleResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"c\n\"ValidateAccountAuditLogSinkRequest\x12=\n\x04spec\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.account.v1.AuditLogSinkSpec\"%\n#ValidateAccountAuditLogSinkResponseB\xc8\x01\n%io.temporal.api.cloud.cloudservice.v1B\x14RequestResponseProtoP\x01Z5go.temporal.io/api/cloud/cloudservice/v1;cloudservice\xaa\x02$Temporalio.Api.Cloud.CloudService.V1\xea\x02(Temporalio::Api::Cloud::CloudService::V1b\x06proto3" +descriptor_data = "\n9temporal/api/cloud/cloudservice/v1/request_response.proto\x12\"temporal.api.cloud.cloudservice.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a-temporal/api/cloud/operation/v1/message.proto\x1a,temporal/api/cloud/identity/v1/message.proto\x1a-temporal/api/cloud/namespace/v1/message.proto\x1a)temporal/api/cloud/nexus/v1/message.proto\x1a*temporal/api/cloud/region/v1/message.proto\x1a+temporal/api/cloud/account/v1/message.proto\x1a)temporal/api/cloud/usage/v1/message.proto\x1a\x34temporal/api/cloud/connectivityrule/v1/message.proto\x1a,temporal/api/cloud/auditlog/v1/message.proto\x1a+temporal/api/cloud/billing/v1/message.proto\"\x1b\n\x19GetCurrentIdentityRequest\"\xed\x01\n\x1aGetCurrentIdentityResponse\x12\x34\n\x04user\x18\x01 \x01(\x0b\x32$.temporal.api.cloud.identity.v1.UserH\x00\x12I\n\x0fservice_account\x18\x02 \x01(\x0b\x32..temporal.api.cloud.identity.v1.ServiceAccountH\x00\x12\x41\n\x11principal_api_key\x18\x03 \x01(\x0b\x32&.temporal.api.cloud.identity.v1.ApiKeyB\x0b\n\tprincipal\"Z\n\x0fGetUsersRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\r\n\x05\x65mail\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\"`\n\x10GetUsersResponse\x12\x33\n\x05users\x18\x01 \x03(\x0b\x32$.temporal.api.cloud.identity.v1.User\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"!\n\x0eGetUserRequest\x12\x0f\n\x07user_id\x18\x01 \x01(\t\"E\n\x0fGetUserResponse\x12\x32\n\x04user\x18\x01 \x01(\x0b\x32$.temporal.api.cloud.identity.v1.User\"g\n\x11\x43reateUserRequest\x12\x36\n\x04spec\x18\x01 \x01(\x0b\x32(.temporal.api.cloud.identity.v1.UserSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t\"o\n\x12\x43reateUserResponse\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\x92\x01\n\x11UpdateUserRequest\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12\x36\n\x04spec\x18\x02 \x01(\x0b\x32(.temporal.api.cloud.identity.v1.UserSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\"^\n\x12UpdateUserResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"Z\n\x11\x44\x65leteUserRequest\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"^\n\x12\x44\x65leteUserResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\xba\x01\n\x1dSetUserNamespaceAccessRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0f\n\x07user_id\x18\x02 \x01(\t\x12?\n\x06\x61\x63\x63\x65ss\x18\x03 \x01(\x0b\x32/.temporal.api.cloud.identity.v1.NamespaceAccess\x12\x18\n\x10resource_version\x18\x04 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\"j\n\x1eSetUserNamespaceAccessResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"6\n\x18GetAsyncOperationRequest\x12\x1a\n\x12\x61sync_operation_id\x18\x01 \x01(\t\"e\n\x19GetAsyncOperationResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\xf3\x01\n\x16\x43reateNamespaceRequest\x12<\n\x04spec\x18\x02 \x01(\x0b\x32..temporal.api.cloud.namespace.v1.NamespaceSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\x12R\n\x04tags\x18\x04 \x03(\x0b\x32\x44.temporal.api.cloud.cloudservice.v1.CreateNamespaceRequest.TagsEntry\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"v\n\x17\x43reateNamespaceResponse\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"K\n\x14GetNamespacesRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\"p\n\x15GetNamespacesResponse\x12>\n\nnamespaces\x18\x01 \x03(\x0b\x32*.temporal.api.cloud.namespace.v1.Namespace\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"(\n\x13GetNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\"U\n\x14GetNamespaceResponse\x12=\n\tnamespace\x18\x01 \x01(\x0b\x32*.temporal.api.cloud.namespace.v1.Namespace\"\x9f\x01\n\x16UpdateNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\x04spec\x18\x02 \x01(\x0b\x32..temporal.api.cloud.namespace.v1.NamespaceSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\"c\n\x17UpdateNamespaceResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\xc6\x01\n\"RenameCustomSearchAttributeRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12-\n%existing_custom_search_attribute_name\x18\x02 \x01(\t\x12(\n new_custom_search_attribute_name\x18\x03 \x01(\t\x12\x18\n\x10resource_version\x18\x04 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\"o\n#RenameCustomSearchAttributeResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"a\n\x16\x44\x65leteNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"c\n\x17\x44\x65leteNamespaceResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"_\n\x1e\x46\x61iloverNamespaceRegionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0e\n\x06region\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"k\n\x1f\x46\x61iloverNamespaceRegionResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"t\n\x19\x41\x64\x64NamespaceRegionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0e\n\x06region\x18\x02 \x01(\t\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\"f\n\x1a\x41\x64\x64NamespaceRegionResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"w\n\x1c\x44\x65leteNamespaceRegionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0e\n\x06region\x18\x02 \x01(\t\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\"i\n\x1d\x44\x65leteNamespaceRegionResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\x13\n\x11GetRegionsRequest\"K\n\x12GetRegionsResponse\x12\x35\n\x07regions\x18\x01 \x03(\x0b\x32$.temporal.api.cloud.region.v1.Region\"\"\n\x10GetRegionRequest\x12\x0e\n\x06region\x18\x01 \x01(\t\"I\n\x11GetRegionResponse\x12\x34\n\x06region\x18\x01 \x01(\x0b\x32$.temporal.api.cloud.region.v1.Region\"\xae\x01\n\x11GetApiKeysRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x10\n\x08owner_id\x18\x03 \x01(\t\x12!\n\x15owner_type_deprecated\x18\x04 \x01(\tB\x02\x18\x01\x12=\n\nowner_type\x18\x05 \x01(\x0e\x32).temporal.api.cloud.identity.v1.OwnerType\"g\n\x12GetApiKeysResponse\x12\x38\n\x08\x61pi_keys\x18\x01 \x03(\x0b\x32&.temporal.api.cloud.identity.v1.ApiKey\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\"\n\x10GetApiKeyRequest\x12\x0e\n\x06key_id\x18\x01 \x01(\t\"L\n\x11GetApiKeyResponse\x12\x37\n\x07\x61pi_key\x18\x01 \x01(\x0b\x32&.temporal.api.cloud.identity.v1.ApiKey\"k\n\x13\x43reateApiKeyRequest\x12\x38\n\x04spec\x18\x01 \x01(\x0b\x32*.temporal.api.cloud.identity.v1.ApiKeySpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t\"\x7f\n\x14\x43reateApiKeyResponse\x12\x0e\n\x06key_id\x18\x01 \x01(\t\x12\r\n\x05token\x18\x02 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x03 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\x95\x01\n\x13UpdateApiKeyRequest\x12\x0e\n\x06key_id\x18\x01 \x01(\t\x12\x38\n\x04spec\x18\x02 \x01(\x0b\x32*.temporal.api.cloud.identity.v1.ApiKeySpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\"`\n\x14UpdateApiKeyResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"[\n\x13\x44\x65leteApiKeyRequest\x12\x0e\n\x06key_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"`\n\x14\x44\x65leteApiKeyResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\x87\x01\n\x18GetNexusEndpointsRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x1b\n\x13target_namespace_id\x18\x03 \x01(\t\x12\x19\n\x11target_task_queue\x18\x04 \x01(\t\x12\x0c\n\x04name\x18\x05 \x01(\t\"n\n\x19GetNexusEndpointsResponse\x12\x38\n\tendpoints\x18\x01 \x03(\x0b\x32%.temporal.api.cloud.nexus.v1.Endpoint\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\".\n\x17GetNexusEndpointRequest\x12\x13\n\x0b\x65ndpoint_id\x18\x01 \x01(\t\"S\n\x18GetNexusEndpointResponse\x12\x37\n\x08\x65ndpoint\x18\x01 \x01(\x0b\x32%.temporal.api.cloud.nexus.v1.Endpoint\"q\n\x1a\x43reateNexusEndpointRequest\x12\x37\n\x04spec\x18\x01 \x01(\x0b\x32).temporal.api.cloud.nexus.v1.EndpointSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t\"|\n\x1b\x43reateNexusEndpointResponse\x12\x13\n\x0b\x65ndpoint_id\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\xa0\x01\n\x1aUpdateNexusEndpointRequest\x12\x13\n\x0b\x65ndpoint_id\x18\x01 \x01(\t\x12\x37\n\x04spec\x18\x02 \x01(\x0b\x32).temporal.api.cloud.nexus.v1.EndpointSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\"g\n\x1bUpdateNexusEndpointResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"g\n\x1a\x44\x65leteNexusEndpointRequest\x12\x13\n\x0b\x65ndpoint_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"g\n\x1b\x44\x65leteNexusEndpointResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\xf5\x02\n\x14GetUserGroupsRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tnamespace\x18\x03 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x04 \x01(\t\x12`\n\x0cgoogle_group\x18\x05 \x01(\x0b\x32J.temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest.GoogleGroupFilter\x12\\\n\nscim_group\x18\x06 \x01(\x0b\x32H.temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest.SCIMGroupFilter\x1a*\n\x11GoogleGroupFilter\x12\x15\n\remail_address\x18\x01 \x01(\t\x1a!\n\x0fSCIMGroupFilter\x12\x0e\n\x06idp_id\x18\x01 \x01(\t\"k\n\x15GetUserGroupsResponse\x12\x39\n\x06groups\x18\x01 \x03(\x0b\x32).temporal.api.cloud.identity.v1.UserGroup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\'\n\x13GetUserGroupRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t\"P\n\x14GetUserGroupResponse\x12\x38\n\x05group\x18\x01 \x01(\x0b\x32).temporal.api.cloud.identity.v1.UserGroup\"q\n\x16\x43reateUserGroupRequest\x12;\n\x04spec\x18\x01 \x01(\x0b\x32-.temporal.api.cloud.identity.v1.UserGroupSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t\"u\n\x17\x43reateUserGroupResponse\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\x9d\x01\n\x16UpdateUserGroupRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12;\n\x04spec\x18\x02 \x01(\x0b\x32-.temporal.api.cloud.identity.v1.UserGroupSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\"c\n\x17UpdateUserGroupResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"`\n\x16\x44\x65leteUserGroupRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"c\n\x17\x44\x65leteUserGroupResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\xc0\x01\n\"SetUserGroupNamespaceAccessRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08group_id\x18\x02 \x01(\t\x12?\n\x06\x61\x63\x63\x65ss\x18\x03 \x01(\x0b\x32/.temporal.api.cloud.identity.v1.NamespaceAccess\x12\x18\n\x10resource_version\x18\x04 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\"o\n#SetUserGroupNamespaceAccessResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\x8f\x01\n\x19\x41\x64\x64UserGroupMemberRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12\x44\n\tmember_id\x18\x02 \x01(\x0b\x32\x31.temporal.api.cloud.identity.v1.UserGroupMemberId\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"f\n\x1a\x41\x64\x64UserGroupMemberResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\x92\x01\n\x1cRemoveUserGroupMemberRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12\x44\n\tmember_id\x18\x02 \x01(\x0b\x32\x31.temporal.api.cloud.identity.v1.UserGroupMemberId\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"i\n\x1dRemoveUserGroupMemberResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"U\n\x1aGetUserGroupMembersRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x10\n\x08group_id\x18\x03 \x01(\t\"x\n\x1bGetUserGroupMembersResponse\x12@\n\x07members\x18\x01 \x03(\x0b\x32/.temporal.api.cloud.identity.v1.UserGroupMember\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"{\n\x1b\x43reateServiceAccountRequest\x12@\n\x04spec\x18\x01 \x01(\x0b\x32\x32.temporal.api.cloud.identity.v1.ServiceAccountSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t\"\x84\x01\n\x1c\x43reateServiceAccountResponse\x12\x1a\n\x12service_account_id\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"6\n\x18GetServiceAccountRequest\x12\x1a\n\x12service_account_id\x18\x01 \x01(\t\"d\n\x19GetServiceAccountResponse\x12G\n\x0fservice_account\x18\x01 \x01(\x0b\x32..temporal.api.cloud.identity.v1.ServiceAccount\"B\n\x19GetServiceAccountsRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\"~\n\x1aGetServiceAccountsResponse\x12G\n\x0fservice_account\x18\x01 \x03(\x0b\x32..temporal.api.cloud.identity.v1.ServiceAccount\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xb1\x01\n\x1bUpdateServiceAccountRequest\x12\x1a\n\x12service_account_id\x18\x01 \x01(\t\x12@\n\x04spec\x18\x02 \x01(\x0b\x32\x32.temporal.api.cloud.identity.v1.ServiceAccountSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\"h\n\x1cUpdateServiceAccountResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\xcf\x01\n\'SetServiceAccountNamespaceAccessRequest\x12\x1a\n\x12service_account_id\x18\x01 \x01(\t\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12?\n\x06\x61\x63\x63\x65ss\x18\x03 \x01(\x0b\x32/.temporal.api.cloud.identity.v1.NamespaceAccess\x12\x18\n\x10resource_version\x18\x04 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\"t\n(SetServiceAccountNamespaceAccessResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"o\n\x1b\x44\x65leteServiceAccountRequest\x12\x1a\n\x12service_account_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"h\n\x1c\x44\x65leteServiceAccountResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\xaa\x01\n\x0fGetUsageRequest\x12\x38\n\x14start_time_inclusive\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12\x65nd_time_exclusive\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\"d\n\x10GetUsageResponse\x12\x37\n\tsummaries\x18\x01 \x03(\x0b\x32$.temporal.api.cloud.usage.v1.Summary\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x13\n\x11GetAccountRequest\"M\n\x12GetAccountResponse\x12\x37\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0b\x32&.temporal.api.cloud.account.v1.Account\"\x86\x01\n\x14UpdateAccountRequest\x12\x38\n\x04spec\x18\x01 \x01(\x0b\x32*.temporal.api.cloud.account.v1.AccountSpec\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"a\n\x15UpdateAccountResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\x90\x01\n CreateNamespaceExportSinkRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12=\n\x04spec\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.namespace.v1.ExportSinkSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"m\n!CreateNamespaceExportSinkResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"@\n\x1dGetNamespaceExportSinkRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\"[\n\x1eGetNamespaceExportSinkResponse\x12\x39\n\x04sink\x18\x01 \x01(\x0b\x32+.temporal.api.cloud.namespace.v1.ExportSink\"Z\n\x1eGetNamespaceExportSinksRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"v\n\x1fGetNamespaceExportSinksResponse\x12:\n\x05sinks\x18\x01 \x03(\x0b\x32+.temporal.api.cloud.namespace.v1.ExportSink\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xaa\x01\n UpdateNamespaceExportSinkRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12=\n\x04spec\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.namespace.v1.ExportSinkSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\"m\n!UpdateNamespaceExportSinkResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"y\n DeleteNamespaceExportSinkRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\"m\n!DeleteNamespaceExportSinkResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"v\n\"ValidateNamespaceExportSinkRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12=\n\x04spec\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.namespace.v1.ExportSinkSpec\"%\n#ValidateNamespaceExportSinkResponse\"\x82\x02\n\x1aUpdateNamespaceTagsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12h\n\x0etags_to_upsert\x18\x02 \x03(\x0b\x32P.temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsRequest.TagsToUpsertEntry\x12\x16\n\x0etags_to_remove\x18\x03 \x03(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\x1a\x33\n\x11TagsToUpsertEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"g\n\x1bUpdateNamespaceTagsResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\x87\x01\n\x1d\x43reateConnectivityRuleRequest\x12J\n\x04spec\x18\x01 \x01(\x0b\x32<.temporal.api.cloud.connectivityrule.v1.ConnectivityRuleSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t\"\x88\x01\n\x1e\x43reateConnectivityRuleResponse\x12\x1c\n\x14\x63onnectivity_rule_id\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\":\n\x1aGetConnectivityRuleRequest\x12\x1c\n\x14\x63onnectivity_rule_id\x18\x01 \x01(\t\"r\n\x1bGetConnectivityRuleResponse\x12S\n\x11\x63onnectivity_rule\x18\x01 \x01(\x0b\x32\x38.temporal.api.cloud.connectivityrule.v1.ConnectivityRule\"W\n\x1bGetConnectivityRulesRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tnamespace\x18\x03 \x01(\t\"\x8d\x01\n\x1cGetConnectivityRulesResponse\x12T\n\x12\x63onnectivity_rules\x18\x01 \x03(\x0b\x32\x38.temporal.api.cloud.connectivityrule.v1.ConnectivityRule\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"s\n\x1d\x44\x65leteConnectivityRuleRequest\x12\x1c\n\x14\x63onnectivity_rule_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"j\n\x1e\x44\x65leteConnectivityRuleResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"\xae\x01\n\x13GetAuditLogsRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x38\n\x14start_time_inclusive\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12\x65nd_time_exclusive\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"h\n\x14GetAuditLogsResponse\x12\x37\n\x04logs\x18\x01 \x03(\x0b\x32).temporal.api.cloud.auditlog.v1.LogRecord\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"c\n\"ValidateAccountAuditLogSinkRequest\x12=\n\x04spec\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.account.v1.AuditLogSinkSpec\"%\n#ValidateAccountAuditLogSinkResponse\"}\n CreateAccountAuditLogSinkRequest\x12=\n\x04spec\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.account.v1.AuditLogSinkSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t\"m\n!CreateAccountAuditLogSinkResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"-\n\x1dGetAccountAuditLogSinkRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"[\n\x1eGetAccountAuditLogSinkResponse\x12\x39\n\x04sink\x18\x01 \x01(\x0b\x32+.temporal.api.cloud.account.v1.AuditLogSink\"G\n\x1eGetAccountAuditLogSinksRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\"v\n\x1fGetAccountAuditLogSinksResponse\x12:\n\x05sinks\x18\x01 \x03(\x0b\x32+.temporal.api.cloud.account.v1.AuditLogSink\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x97\x01\n UpdateAccountAuditLogSinkRequest\x12=\n\x04spec\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.account.v1.AuditLogSinkSpec\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"m\n!UpdateAccountAuditLogSinkResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"f\n DeleteAccountAuditLogSinkRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\"m\n!DeleteAccountAuditLogSinkResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"4\n\x1fGetNamespaceCapacityInfoRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\"q\n GetNamespaceCapacityInfoResponse\x12M\n\rcapacity_info\x18\x01 \x01(\x0b\x32\x36.temporal.api.cloud.namespace.v1.NamespaceCapacityInfo\"x\n\x1a\x43reateBillingReportRequest\x12>\n\x04spec\x18\x01 \x01(\x0b\x32\x30.temporal.api.cloud.billing.v1.BillingReportSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t\"\x82\x01\n\x1b\x43reateBillingReportResponse\x12\x19\n\x11\x62illing_report_id\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation\"4\n\x17GetBillingReportRequest\x12\x19\n\x11\x62illing_report_id\x18\x01 \x01(\t\"`\n\x18GetBillingReportResponse\x12\x44\n\x0e\x62illing_report\x18\x01 \x01(\x0b\x32,.temporal.api.cloud.billing.v1.BillingReportB\xc8\x01\n%io.temporal.api.cloud.cloudservice.v1B\x14RequestResponseProtoP\x01Z5go.temporal.io/api/cloud/cloudservice/v1;cloudservice\xaa\x02$Temporalio.Api.Cloud.CloudService.V1\xea\x02(Temporalio::Api::Cloud::CloudService::V1b\x06proto3" pool = ::Google::Protobuf::DescriptorPool.generated_pool pool.add_serialized_file(descriptor_data) @@ -25,6 +27,8 @@ module Api module Cloud module CloudService module V1 + GetCurrentIdentityRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.cloudservice.v1.GetCurrentIdentityRequest").msgclass + GetCurrentIdentityResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.cloudservice.v1.GetCurrentIdentityResponse").msgclass GetUsersRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.cloudservice.v1.GetUsersRequest").msgclass GetUsersResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.cloudservice.v1.GetUsersResponse").msgclass GetUserRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.cloudservice.v1.GetUserRequest").msgclass @@ -141,8 +145,26 @@ module V1 GetConnectivityRulesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.cloudservice.v1.GetConnectivityRulesResponse").msgclass DeleteConnectivityRuleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleRequest").msgclass DeleteConnectivityRuleResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleResponse").msgclass + GetAuditLogsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.cloudservice.v1.GetAuditLogsRequest").msgclass + GetAuditLogsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.cloudservice.v1.GetAuditLogsResponse").msgclass ValidateAccountAuditLogSinkRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkRequest").msgclass ValidateAccountAuditLogSinkResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkResponse").msgclass + CreateAccountAuditLogSinkRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.cloudservice.v1.CreateAccountAuditLogSinkRequest").msgclass + CreateAccountAuditLogSinkResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.cloudservice.v1.CreateAccountAuditLogSinkResponse").msgclass + GetAccountAuditLogSinkRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinkRequest").msgclass + GetAccountAuditLogSinkResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinkResponse").msgclass + GetAccountAuditLogSinksRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinksRequest").msgclass + GetAccountAuditLogSinksResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinksResponse").msgclass + UpdateAccountAuditLogSinkRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.cloudservice.v1.UpdateAccountAuditLogSinkRequest").msgclass + UpdateAccountAuditLogSinkResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.cloudservice.v1.UpdateAccountAuditLogSinkResponse").msgclass + DeleteAccountAuditLogSinkRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.cloudservice.v1.DeleteAccountAuditLogSinkRequest").msgclass + DeleteAccountAuditLogSinkResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.cloudservice.v1.DeleteAccountAuditLogSinkResponse").msgclass + GetNamespaceCapacityInfoRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.cloudservice.v1.GetNamespaceCapacityInfoRequest").msgclass + GetNamespaceCapacityInfoResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.cloudservice.v1.GetNamespaceCapacityInfoResponse").msgclass + CreateBillingReportRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.cloudservice.v1.CreateBillingReportRequest").msgclass + CreateBillingReportResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.cloudservice.v1.CreateBillingReportResponse").msgclass + GetBillingReportRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.cloudservice.v1.GetBillingReportRequest").msgclass + GetBillingReportResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.cloudservice.v1.GetBillingReportResponse").msgclass end end end diff --git a/temporalio/lib/temporalio/api/cloud/cloudservice/v1/service.rb b/temporalio/lib/temporalio/api/cloud/cloudservice/v1/service.rb index 6d6d9c2d..e773fa06 100644 --- a/temporalio/lib/temporalio/api/cloud/cloudservice/v1/service.rb +++ b/temporalio/lib/temporalio/api/cloud/cloudservice/v1/service.rb @@ -6,9 +6,10 @@ require 'temporalio/api/cloud/cloudservice/v1/request_response' require 'google/api/annotations_pb' +require 'temporalio/api/protoc_gen_openapiv2/options/annotations' -descriptor_data = "\n0temporal/api/cloud/cloudservice/v1/service.proto\x12\"temporal.api.cloud.cloudservice.v1\x1a\x39temporal/api/cloud/cloudservice/v1/request_response.proto\x1a\x1cgoogle/api/annotations.proto2\xeeV\n\x0c\x43loudService\x12\x8b\x01\n\x08GetUsers\x12\x33.temporal.api.cloud.cloudservice.v1.GetUsersRequest\x1a\x34.temporal.api.cloud.cloudservice.v1.GetUsersResponse\"\x14\x82\xd3\xe4\x93\x02\x0e\x12\x0c/cloud/users\x12\x92\x01\n\x07GetUser\x12\x32.temporal.api.cloud.cloudservice.v1.GetUserRequest\x1a\x33.temporal.api.cloud.cloudservice.v1.GetUserResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/cloud/users/{user_id}\x12\x94\x01\n\nCreateUser\x12\x35.temporal.api.cloud.cloudservice.v1.CreateUserRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.CreateUserResponse\"\x17\x82\xd3\xe4\x93\x02\x11\"\x0c/cloud/users:\x01*\x12\x9e\x01\n\nUpdateUser\x12\x35.temporal.api.cloud.cloudservice.v1.UpdateUserRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.UpdateUserResponse\"!\x82\xd3\xe4\x93\x02\x1b\"\x16/cloud/users/{user_id}:\x01*\x12\x9b\x01\n\nDeleteUser\x12\x35.temporal.api.cloud.cloudservice.v1.DeleteUserRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.DeleteUserResponse\"\x1e\x82\xd3\xe4\x93\x02\x18*\x16/cloud/users/{user_id}\x12\xe0\x01\n\x16SetUserNamespaceAccess\x12\x41.temporal.api.cloud.cloudservice.v1.SetUserNamespaceAccessRequest\x1a\x42.temporal.api.cloud.cloudservice.v1.SetUserNamespaceAccessResponse\"?\x82\xd3\xe4\x93\x02\x39\"4/cloud/namespaces/{namespace}/users/{user_id}/access:\x01*\x12\xc0\x01\n\x11GetAsyncOperation\x12<.temporal.api.cloud.cloudservice.v1.GetAsyncOperationRequest\x1a=.temporal.api.cloud.cloudservice.v1.GetAsyncOperationResponse\".\x82\xd3\xe4\x93\x02(\x12&/cloud/operations/{async_operation_id}\x12\xa8\x01\n\x0f\x43reateNamespace\x12:.temporal.api.cloud.cloudservice.v1.CreateNamespaceRequest\x1a;.temporal.api.cloud.cloudservice.v1.CreateNamespaceResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\"\x11/cloud/namespaces:\x01*\x12\x9f\x01\n\rGetNamespaces\x12\x38.temporal.api.cloud.cloudservice.v1.GetNamespacesRequest\x1a\x39.temporal.api.cloud.cloudservice.v1.GetNamespacesResponse\"\x19\x82\xd3\xe4\x93\x02\x13\x12\x11/cloud/namespaces\x12\xa8\x01\n\x0cGetNamespace\x12\x37.temporal.api.cloud.cloudservice.v1.GetNamespaceRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.GetNamespaceResponse\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cloud/namespaces/{namespace}\x12\xb4\x01\n\x0fUpdateNamespace\x12:.temporal.api.cloud.cloudservice.v1.UpdateNamespaceRequest\x1a;.temporal.api.cloud.cloudservice.v1.UpdateNamespaceResponse\"(\x82\xd3\xe4\x93\x02\"\"\x1d/cloud/namespaces/{namespace}:\x01*\x12\xf7\x01\n\x1bRenameCustomSearchAttribute\x12\x46.temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeRequest\x1aG.temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeResponse\"G\x82\xd3\xe4\x93\x02\x41\".temporal.api.cloud.cloudservice.v1.AddNamespaceRegionResponse\"3\x82\xd3\xe4\x93\x02-\"(/cloud/namespaces/{namespace}/add-region:\x01*\x12\xd4\x01\n\x15\x44\x65leteNamespaceRegion\x12@.temporal.api.cloud.cloudservice.v1.DeleteNamespaceRegionRequest\x1a\x41.temporal.api.cloud.cloudservice.v1.DeleteNamespaceRegionResponse\"6\x82\xd3\xe4\x93\x02\x30*./cloud/namespaces/{namespace}/regions/{region}\x12\x93\x01\n\nGetRegions\x12\x35.temporal.api.cloud.cloudservice.v1.GetRegionsRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.GetRegionsResponse\"\x16\x82\xd3\xe4\x93\x02\x10\x12\x0e/cloud/regions\x12\x99\x01\n\tGetRegion\x12\x34.temporal.api.cloud.cloudservice.v1.GetRegionRequest\x1a\x35.temporal.api.cloud.cloudservice.v1.GetRegionResponse\"\x1f\x82\xd3\xe4\x93\x02\x19\x12\x17/cloud/regions/{region}\x12\x94\x01\n\nGetApiKeys\x12\x35.temporal.api.cloud.cloudservice.v1.GetApiKeysRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.GetApiKeysResponse\"\x17\x82\xd3\xe4\x93\x02\x11\x12\x0f/cloud/api-keys\x12\x9a\x01\n\tGetApiKey\x12\x34.temporal.api.cloud.cloudservice.v1.GetApiKeyRequest\x1a\x35.temporal.api.cloud.cloudservice.v1.GetApiKeyResponse\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/cloud/api-keys/{key_id}\x12\x9d\x01\n\x0c\x43reateApiKey\x12\x37.temporal.api.cloud.cloudservice.v1.CreateApiKeyRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.CreateApiKeyResponse\"\x1a\x82\xd3\xe4\x93\x02\x14\"\x0f/cloud/api-keys:\x01*\x12\xa6\x01\n\x0cUpdateApiKey\x12\x37.temporal.api.cloud.cloudservice.v1.UpdateApiKeyRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.UpdateApiKeyResponse\"#\x82\xd3\xe4\x93\x02\x1d\"\x18/cloud/api-keys/{key_id}:\x01*\x12\xa3\x01\n\x0c\x44\x65leteApiKey\x12\x37.temporal.api.cloud.cloudservice.v1.DeleteApiKeyRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.DeleteApiKeyResponse\" \x82\xd3\xe4\x93\x02\x1a*\x18/cloud/api-keys/{key_id}\x12\xb0\x01\n\x11GetNexusEndpoints\x12<.temporal.api.cloud.cloudservice.v1.GetNexusEndpointsRequest\x1a=.temporal.api.cloud.cloudservice.v1.GetNexusEndpointsResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/cloud/nexus/endpoints\x12\xbb\x01\n\x10GetNexusEndpoint\x12;.temporal.api.cloud.cloudservice.v1.GetNexusEndpointRequest\x1a<.temporal.api.cloud.cloudservice.v1.GetNexusEndpointResponse\",\x82\xd3\xe4\x93\x02&\x12$/cloud/nexus/endpoints/{endpoint_id}\x12\xb9\x01\n\x13\x43reateNexusEndpoint\x12>.temporal.api.cloud.cloudservice.v1.CreateNexusEndpointRequest\x1a?.temporal.api.cloud.cloudservice.v1.CreateNexusEndpointResponse\"!\x82\xd3\xe4\x93\x02\x1b\"\x16/cloud/nexus/endpoints:\x01*\x12\xc7\x01\n\x13UpdateNexusEndpoint\x12>.temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointRequest\x1a?.temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointResponse\"/\x82\xd3\xe4\x93\x02)\"$/cloud/nexus/endpoints/{endpoint_id}:\x01*\x12\xc4\x01\n\x13\x44\x65leteNexusEndpoint\x12>.temporal.api.cloud.cloudservice.v1.DeleteNexusEndpointRequest\x1a?.temporal.api.cloud.cloudservice.v1.DeleteNexusEndpointResponse\",\x82\xd3\xe4\x93\x02&*$/cloud/nexus/endpoints/{endpoint_id}\x12\xa0\x01\n\rGetUserGroups\x12\x38.temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest\x1a\x39.temporal.api.cloud.cloudservice.v1.GetUserGroupsResponse\"\x1a\x82\xd3\xe4\x93\x02\x14\x12\x12/cloud/user-groups\x12\xa8\x01\n\x0cGetUserGroup\x12\x37.temporal.api.cloud.cloudservice.v1.GetUserGroupRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.GetUserGroupResponse\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cloud/user-groups/{group_id}\x12\xa9\x01\n\x0f\x43reateUserGroup\x12:.temporal.api.cloud.cloudservice.v1.CreateUserGroupRequest\x1a;.temporal.api.cloud.cloudservice.v1.CreateUserGroupResponse\"\x1d\x82\xd3\xe4\x93\x02\x17\"\x12/cloud/user-groups:\x01*\x12\xb4\x01\n\x0fUpdateUserGroup\x12:.temporal.api.cloud.cloudservice.v1.UpdateUserGroupRequest\x1a;.temporal.api.cloud.cloudservice.v1.UpdateUserGroupResponse\"(\x82\xd3\xe4\x93\x02\"\"\x1d/cloud/user-groups/{group_id}:\x01*\x12\xb1\x01\n\x0f\x44\x65leteUserGroup\x12:.temporal.api.cloud.cloudservice.v1.DeleteUserGroupRequest\x1a;.temporal.api.cloud.cloudservice.v1.DeleteUserGroupResponse\"%\x82\xd3\xe4\x93\x02\x1f*\x1d/cloud/user-groups/{group_id}\x12\xf6\x01\n\x1bSetUserGroupNamespaceAccess\x12\x46.temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessRequest\x1aG.temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessResponse\"F\x82\xd3\xe4\x93\x02@\";/cloud/namespaces/{namespace}/user-groups/{group_id}/access:\x01*\x12\xc5\x01\n\x12\x41\x64\x64UserGroupMember\x12=.temporal.api.cloud.cloudservice.v1.AddUserGroupMemberRequest\x1a>.temporal.api.cloud.cloudservice.v1.AddUserGroupMemberResponse\"0\x82\xd3\xe4\x93\x02*\"%/cloud/user-groups/{group_id}/members:\x01*\x12\xd4\x01\n\x15RemoveUserGroupMember\x12@.temporal.api.cloud.cloudservice.v1.RemoveUserGroupMemberRequest\x1a\x41.temporal.api.cloud.cloudservice.v1.RemoveUserGroupMemberResponse\"6\x82\xd3\xe4\x93\x02\x30\"+/cloud/user-groups/{group_id}/remove-member:\x01*\x12\xc5\x01\n\x13GetUserGroupMembers\x12>.temporal.api.cloud.cloudservice.v1.GetUserGroupMembersRequest\x1a?.temporal.api.cloud.cloudservice.v1.GetUserGroupMembersResponse\"-\x82\xd3\xe4\x93\x02\'\x12%/cloud/user-groups/{group_id}/members\x12\xbd\x01\n\x14\x43reateServiceAccount\x12?.temporal.api.cloud.cloudservice.v1.CreateServiceAccountRequest\x1a@.temporal.api.cloud.cloudservice.v1.CreateServiceAccountResponse\"\"\x82\xd3\xe4\x93\x02\x1c\"\x17/cloud/service-accounts:\x01*\x12\xc6\x01\n\x11GetServiceAccount\x12<.temporal.api.cloud.cloudservice.v1.GetServiceAccountRequest\x1a=.temporal.api.cloud.cloudservice.v1.GetServiceAccountResponse\"4\x82\xd3\xe4\x93\x02.\x12,/cloud/service-accounts/{service_account_id}\x12\xb4\x01\n\x12GetServiceAccounts\x12=.temporal.api.cloud.cloudservice.v1.GetServiceAccountsRequest\x1a>.temporal.api.cloud.cloudservice.v1.GetServiceAccountsResponse\"\x1f\x82\xd3\xe4\x93\x02\x19\x12\x17/cloud/service-accounts\x12\xd2\x01\n\x14UpdateServiceAccount\x12?.temporal.api.cloud.cloudservice.v1.UpdateServiceAccountRequest\x1a@.temporal.api.cloud.cloudservice.v1.UpdateServiceAccountResponse\"7\x82\xd3\xe4\x93\x02\x31\",/cloud/service-accounts/{service_account_id}:\x01*\x12\x94\x02\n SetServiceAccountNamespaceAccess\x12K.temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessRequest\x1aL.temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessResponse\"U\x82\xd3\xe4\x93\x02O\"J/cloud/namespaces/{namespace}/service-accounts/{service_account_id}/access:\x01*\x12\xcf\x01\n\x14\x44\x65leteServiceAccount\x12?.temporal.api.cloud.cloudservice.v1.DeleteServiceAccountRequest\x1a@.temporal.api.cloud.cloudservice.v1.DeleteServiceAccountResponse\"4\x82\xd3\xe4\x93\x02.*,/cloud/service-accounts/{service_account_id}\x12\x8b\x01\n\x08GetUsage\x12\x33.temporal.api.cloud.cloudservice.v1.GetUsageRequest\x1a\x34.temporal.api.cloud.cloudservice.v1.GetUsageResponse\"\x14\x82\xd3\xe4\x93\x02\x0e\x12\x0c/cloud/usage\x12\x93\x01\n\nGetAccount\x12\x35.temporal.api.cloud.cloudservice.v1.GetAccountRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.GetAccountResponse\"\x16\x82\xd3\xe4\x93\x02\x10\x12\x0e/cloud/account\x12\x9f\x01\n\rUpdateAccount\x12\x38.temporal.api.cloud.cloudservice.v1.UpdateAccountRequest\x1a\x39.temporal.api.cloud.cloudservice.v1.UpdateAccountResponse\"\x19\x82\xd3\xe4\x93\x02\x13\"\x0e/cloud/account:\x01*\x12\xdf\x01\n\x19\x43reateNamespaceExportSink\x12\x44.temporal.api.cloud.cloudservice.v1.CreateNamespaceExportSinkRequest\x1a\x45.temporal.api.cloud.cloudservice.v1.CreateNamespaceExportSinkResponse\"5\x82\xd3\xe4\x93\x02/\"*/cloud/namespaces/{namespace}/export-sinks:\x01*\x12\xda\x01\n\x16GetNamespaceExportSink\x12\x41.temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinkRequest\x1a\x42.temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinkResponse\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/cloud/namespaces/{namespace}/export-sinks/{name}\x12\xd6\x01\n\x17GetNamespaceExportSinks\x12\x42.temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinksRequest\x1a\x43.temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinksResponse\"2\x82\xd3\xe4\x93\x02,\x12*/cloud/namespaces/{namespace}/export-sinks\x12\xeb\x01\n\x19UpdateNamespaceExportSink\x12\x44.temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkRequest\x1a\x45.temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkResponse\"A\x82\xd3\xe4\x93\x02;\"6/cloud/namespaces/{namespace}/export-sinks/{spec.name}:\x01*\x12\xe3\x01\n\x19\x44\x65leteNamespaceExportSink\x12\x44.temporal.api.cloud.cloudservice.v1.DeleteNamespaceExportSinkRequest\x1a\x45.temporal.api.cloud.cloudservice.v1.DeleteNamespaceExportSinkResponse\"9\x82\xd3\xe4\x93\x02\x33*1/cloud/namespaces/{namespace}/export-sinks/{name}\x12\xee\x01\n\x1bValidateNamespaceExportSink\x12\x46.temporal.api.cloud.cloudservice.v1.ValidateNamespaceExportSinkRequest\x1aG.temporal.api.cloud.cloudservice.v1.ValidateNamespaceExportSinkResponse\">\x82\xd3\xe4\x93\x02\x38\"3/cloud/namespaces/{namespace}/export-sinks/validate:\x01*\x12\xcc\x01\n\x13UpdateNamespaceTags\x12>.temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsRequest\x1a?.temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsResponse\"4\x82\xd3\xe4\x93\x02.\")/cloud/namespaces/{namespace}/update-tags:\x01*\x12\xc5\x01\n\x16\x43reateConnectivityRule\x12\x41.temporal.api.cloud.cloudservice.v1.CreateConnectivityRuleRequest\x1a\x42.temporal.api.cloud.cloudservice.v1.CreateConnectivityRuleResponse\"$\x82\xd3\xe4\x93\x02\x1e\"\x19/cloud/connectivity-rules:\x01*\x12\xd0\x01\n\x13GetConnectivityRule\x12>.temporal.api.cloud.cloudservice.v1.GetConnectivityRuleRequest\x1a?.temporal.api.cloud.cloudservice.v1.GetConnectivityRuleResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/cloud/connectivity-rules/{connectivity_rule_id}\x12\xbc\x01\n\x14GetConnectivityRules\x12?.temporal.api.cloud.cloudservice.v1.GetConnectivityRulesRequest\x1a@.temporal.api.cloud.cloudservice.v1.GetConnectivityRulesResponse\"!\x82\xd3\xe4\x93\x02\x1b\x12\x19/cloud/connectivity-rules\x12\xd9\x01\n\x16\x44\x65leteConnectivityRule\x12\x41.temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleRequest\x1a\x42.temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleResponse\"8\x82\xd3\xe4\x93\x02\x32*0/cloud/connectivity-rules/{connectivity_rule_id}\x12\xe2\x01\n\x1bValidateAccountAuditLogSink\x12\x46.temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkRequest\x1aG.temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkResponse\"2\x82\xd3\xe4\x93\x02,\"\'/cloud/account/audit-logs/sink/validate:\x01*B\xc0\x01\n%io.temporal.api.cloud.cloudservice.v1B\x0cServiceProtoP\x01Z5go.temporal.io/api/cloud/cloudservice/v1;cloudservice\xaa\x02$Temporalio.Api.Cloud.CloudService.V1\xea\x02(Temporalio::Api::Cloud::CloudService::V1b\x06proto3" +descriptor_data = "\n0temporal/api/cloud/cloudservice/v1/service.proto\x12\"temporal.api.cloud.cloudservice.v1\x1a\x39temporal/api/cloud/cloudservice/v1/request_response.proto\x1a\x1cgoogle/api/annotations.proto\x1a.protoc-gen-openapiv2/options/annotations.proto2\xb6\xbe\x01\n\x0c\x43loudService\x12\xb0\x02\n\x12GetCurrentIdentity\x12=.temporal.api.cloud.cloudservice.v1.GetCurrentIdentityRequest\x1a>.temporal.api.cloud.cloudservice.v1.GetCurrentIdentityResponse\"\x9a\x01\x92\x41x\n\x07\x41\x63\x63ount\x12\x14Get current identity\x1aWReturns information about the currently authenticated user or service account principal\x82\xd3\xe4\x93\x02\x19\x12\x17/cloud/current-identity\x12\xa5\x02\n\x08GetUsers\x12\x33.temporal.api.cloud.cloudservice.v1.GetUsersRequest\x1a\x34.temporal.api.cloud.cloudservice.v1.GetUsersResponse\"\xad\x01\x92\x41\x95\x01\n\x05Users\x12\x0eList all users\x1a*Returns a list of all users in the account\"E\n\x1dUser management documentation\x12$https://docs.temporal.io/cloud/users*\tlistUsers\x82\xd3\xe4\x93\x02\x0e\x12\x0c/cloud/users\x12\x9c\x02\n\x07GetUser\x12\x32.temporal.api.cloud.cloudservice.v1.GetUserRequest\x1a\x33.temporal.api.cloud.cloudservice.v1.GetUserResponse\"\xa7\x01\x92\x41\x85\x01\n\x05Users\x12\x0eGet user by ID\x1a%Takes a user ID, returns user details\"E\n\x1dUser management documentation\x12$https://docs.temporal.io/cloud/users\x82\xd3\xe4\x93\x02\x18\x12\x16/cloud/users/{user_id}\x12\xd0\x01\n\nCreateUser\x12\x35.temporal.api.cloud.cloudservice.v1.CreateUserRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.CreateUserResponse\"S\x92\x41\x39\n\x05Users\x12\rCreate a user\x1a!Creates a new user in the account\x82\xd3\xe4\x93\x02\x11\"\x0c/cloud/users:\x01*\x12\xdb\x01\n\nUpdateUser\x12\x35.temporal.api.cloud.cloudservice.v1.UpdateUserRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.UpdateUserResponse\"^\x92\x41:\n\x05Users\x12\rUpdate a user\x1a\"Updates an existing user\'s details\x82\xd3\xe4\x93\x02\x1b\"\x16/cloud/users/{user_id}:\x01*\x12\xd5\x01\n\nDeleteUser\x12\x35.temporal.api.cloud.cloudservice.v1.DeleteUserRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.DeleteUserResponse\"X\x92\x41\x37\n\x05Users\x12\rDelete a user\x1a\x1fRemoves a user from the account\x82\xd3\xe4\x93\x02\x18*\x16/cloud/users/{user_id}\x12\xaa\x03\n\x16SetUserNamespaceAccess\x12\x41.temporal.api.cloud.cloudservice.v1.SetUserNamespaceAccessRequest\x1a\x42.temporal.api.cloud.cloudservice.v1.SetUserNamespaceAccessResponse\"\x88\x02\x92\x41\xc5\x01\n\x05Users\x12\x19Set user namespace access\x1a\x38\x43onfigures a user\'s permissions for a specific namespace\"g\n#Namespace permissions documentation\x12@https://docs.temporal.io/cloud/users-namespace-level-permissions\x82\xd3\xe4\x93\x02\x39\"4/cloud/namespaces/{namespace}/users/{user_id}/access:\x01*\x12\xb1\x02\n\x11GetAsyncOperation\x12<.temporal.api.cloud.cloudservice.v1.GetAsyncOperationRequest\x1a=.temporal.api.cloud.cloudservice.v1.GetAsyncOperationResponse\"\x9e\x01\x92\x41m\n\nOperations\x12\x1aGet async operation status\x1a\x43Returns the current status and details of an asynchronous operation\x82\xd3\xe4\x93\x02(\x12&/cloud/operations/{async_operation_id}\x12\xc6\x02\n\x0f\x43reateNamespace\x12:.temporal.api.cloud.cloudservice.v1.CreateNamespaceRequest\x1a;.temporal.api.cloud.cloudservice.v1.CreateNamespaceResponse\"\xb9\x01\x92\x41\x99\x01\n\nNamespaces\x12\x12\x43reate a namespace\x1a&Creates a new namespace in the account\"O\n\"Namespace management documentation\x12)https://docs.temporal.io/cloud/namespaces\x82\xd3\xe4\x93\x02\x16\"\x11/cloud/namespaces:\x01*\x12\xc7\x02\n\rGetNamespaces\x12\x38.temporal.api.cloud.cloudservice.v1.GetNamespacesRequest\x1a\x39.temporal.api.cloud.cloudservice.v1.GetNamespacesResponse\"\xc0\x01\x92\x41\xa3\x01\n\nNamespaces\x12\x13List all namespaces\x1a/Returns a list of all namespaces in the account\"O\n\"Namespace management documentation\x12)https://docs.temporal.io/cloud/namespaces\x82\xd3\xe4\x93\x02\x13\x12\x11/cloud/namespaces\x12\xda\x02\n\x0cGetNamespace\x12\x37.temporal.api.cloud.cloudservice.v1.GetNamespaceRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.GetNamespaceResponse\"\xd6\x01\x92\x41\xad\x01\n\nNamespaces\x12\x15Get namespace details\x1a\x37Returns detailed information about a specific namespace\"O\n\"Namespace management documentation\x12)https://docs.temporal.io/cloud/namespaces\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cloud/namespaces/{namespace}\x12\xdb\x02\n\x0fUpdateNamespace\x12:.temporal.api.cloud.cloudservice.v1.UpdateNamespaceRequest\x1a;.temporal.api.cloud.cloudservice.v1.UpdateNamespaceResponse\"\xce\x01\x92\x41\xa2\x01\n\nNamespaces\x12\x12Update a namespace\x1a/Updates configuration for an existing namespace\"O\n\"Namespace management documentation\x12)https://docs.temporal.io/cloud/namespaces\x82\xd3\xe4\x93\x02\"\"\x1d/cloud/namespaces/{namespace}:\x01*\x12\xc7\x03\n\x1bRenameCustomSearchAttribute\x12\x46.temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeRequest\x1aG.temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeResponse\"\x96\x02\x92\x41\xcb\x01\n\nNamespaces\x12\x1eRename custom search attribute\x1a\x30Renames a custom search attribute in a namespace\"k\n&Custom Search Attributes documentation\x12\x41https://docs.temporal.io/search-attribute#custom-search-attribute\x82\xd3\xe4\x93\x02\x41\".temporal.api.cloud.cloudservice.v1.AddNamespaceRegionResponse\"\xed\x01\x92\x41\xb6\x01\n\x11High Availability\x12\x15\x41\x64\x64 namespace replica\x1a+Adds a new replica to an existing namespace\"]\n)High availability namespace documentation\x12\x30https://docs.temporal.io/cloud/high-availability\x82\xd3\xe4\x93\x02-\"(/cloud/namespaces/{namespace}/add-region:\x01*\x12\x9b\x03\n\x15\x44\x65leteNamespaceRegion\x12@.temporal.api.cloud.cloudservice.v1.DeleteNamespaceRegionRequest\x1a\x41.temporal.api.cloud.cloudservice.v1.DeleteNamespaceRegionResponse\"\xfc\x01\x92\x41\xc2\x01\n\x11High Availability\x12\x18Remove namespace replica\x1a\x34Removes a replica from a high availability namespace\"]\n)High availability namespace documentation\x12\x30https://docs.temporal.io/cloud/high-availability\x82\xd3\xe4\x93\x02\x30*./cloud/namespaces/{namespace}/regions/{region}\x12\xa3\x02\n\nGetRegions\x12\x35.temporal.api.cloud.cloudservice.v1.GetRegionsRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.GetRegionsResponse\"\xa5\x01\x92\x41\x8b\x01\n\x07Regions\x12\x10List all regions\x1a-Returns a list of all available cloud regions\"?\n\x15Regions documentation\x12&https://docs.temporal.io/cloud/regions\x82\xd3\xe4\x93\x02\x10\x12\x0e/cloud/regions\x12\xb2\x02\n\tGetRegion\x12\x34.temporal.api.cloud.cloudservice.v1.GetRegionRequest\x1a\x35.temporal.api.cloud.cloudservice.v1.GetRegionResponse\"\xb7\x01\x92\x41\x94\x01\n\x07Regions\x12\x12Get region details\x1a\x34Returns detailed information about a specific region\"?\n\x15Regions documentation\x12&https://docs.temporal.io/cloud/regions\x82\xd3\xe4\x93\x02\x19\x12\x17/cloud/regions/{region}\x12\xa8\x02\n\nGetApiKeys\x12\x35.temporal.api.cloud.cloudservice.v1.GetApiKeysRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.GetApiKeysResponse\"\xaa\x01\x92\x41\x8f\x01\n\x08\x41PI Keys\x12\x11List all API keys\x1a-Returns a list of all API keys in the account\"A\n\x16\x41PI Keys documentation\x12\'https://docs.temporal.io/cloud/api-keys\x82\xd3\xe4\x93\x02\x11\x12\x0f/cloud/api-keys\x12\xb8\x02\n\tGetApiKey\x12\x34.temporal.api.cloud.cloudservice.v1.GetApiKeyRequest\x1a\x35.temporal.api.cloud.cloudservice.v1.GetApiKeyResponse\"\xbd\x01\x92\x41\x99\x01\n\x08\x41PI Keys\x12\x13Get API key details\x1a\x35Returns detailed information about a specific API key\"A\n\x16\x41PI Keys documentation\x12\'https://docs.temporal.io/cloud/api-keys\x82\xd3\xe4\x93\x02\x1a\x12\x18/cloud/api-keys/{key_id}\x12\xb1\x02\n\x0c\x43reateApiKey\x12\x37.temporal.api.cloud.cloudservice.v1.CreateApiKeyRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.CreateApiKeyResponse\"\xad\x01\x92\x41\x8f\x01\n\x08\x41PI Keys\x12\x11\x43reate an API key\x1a-Creates a new API key for programmatic access\"A\n\x16\x41PI Keys documentation\x12\'https://docs.temporal.io/cloud/api-keys\x82\xd3\xe4\x93\x02\x14\"\x0f/cloud/api-keys:\x01*\x12\xb5\x02\n\x0cUpdateApiKey\x12\x37.temporal.api.cloud.cloudservice.v1.UpdateApiKeyRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.UpdateApiKeyResponse\"\xb1\x01\x92\x41\x8a\x01\n\x08\x41PI Keys\x12\x11Update an API key\x1a(Updates an existing API key\'s properties\"A\n\x16\x41PI Keys documentation\x12\'https://docs.temporal.io/cloud/api-keys\x82\xd3\xe4\x93\x02\x1d\"\x18/cloud/api-keys/{key_id}:\x01*\x12\xa8\x02\n\x0c\x44\x65leteApiKey\x12\x37.temporal.api.cloud.cloudservice.v1.DeleteApiKeyRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.DeleteApiKeyResponse\"\xa4\x01\x92\x41\x80\x01\n\x08\x41PI Keys\x12\x11\x44\x65lete an API key\x1a\x1eRevokes and deletes an API key\"A\n\x16\x41PI Keys documentation\x12\'https://docs.temporal.io/cloud/api-keys\x82\xd3\xe4\x93\x02\x1a*\x18/cloud/api-keys/{key_id}\x12\xc3\x02\n\x11GetNexusEndpoints\x12<.temporal.api.cloud.cloudservice.v1.GetNexusEndpointsRequest\x1a=.temporal.api.cloud.cloudservice.v1.GetNexusEndpointsResponse\"\xb0\x01\x92\x41\x8e\x01\n\x05Nexus\x12\x18List all Nexus endpoints\x1a\x34Returns a list of all Nexus endpoints in the account\"5\n\x13Nexus documentation\x12\x1ehttps://docs.temporal.io/nexus\x82\xd3\xe4\x93\x02\x18\x12\x16/cloud/nexus/endpoints\x12\xd8\x02\n\x10GetNexusEndpoint\x12;.temporal.api.cloud.cloudservice.v1.GetNexusEndpointRequest\x1a<.temporal.api.cloud.cloudservice.v1.GetNexusEndpointResponse\"\xc8\x01\x92\x41\x98\x01\n\x05Nexus\x12\x1aGet Nexus endpoint details\x1a.temporal.api.cloud.cloudservice.v1.CreateNexusEndpointRequest\x1a?.temporal.api.cloud.cloudservice.v1.CreateNexusEndpointResponse\"\xbc\x01\x92\x41\x97\x01\n\x05Nexus\x12\x17\x43reate a Nexus endpoint\x1a>Creates a new Nexus endpoint for cross-namespace communication\"5\n\x13Nexus documentation\x12\x1ehttps://docs.temporal.io/nexus\x82\xd3\xe4\x93\x02\x1b\"\x16/cloud/nexus/endpoints:\x01*\x12\xd7\x02\n\x13UpdateNexusEndpoint\x12>.temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointRequest\x1a?.temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointResponse\"\xbe\x01\x92\x41\x8b\x01\n\x05Nexus\x12\x17Update a Nexus endpoint\x1a\x32Updates an existing Nexus endpoint\'s configuration\"5\n\x13Nexus documentation\x12\x1ehttps://docs.temporal.io/nexus\x82\xd3\xe4\x93\x02)\"$/cloud/nexus/endpoints/{endpoint_id}:\x01*\x12\xcb\x02\n\x13\x44\x65leteNexusEndpoint\x12>.temporal.api.cloud.cloudservice.v1.DeleteNexusEndpointRequest\x1a?.temporal.api.cloud.cloudservice.v1.DeleteNexusEndpointResponse\"\xb2\x01\x92\x41\x82\x01\n\x05Nexus\x12\x17\x44\x65lete a Nexus endpoint\x1a)Removes a Nexus endpoint from the account\"5\n\x13Nexus documentation\x12\x1ehttps://docs.temporal.io/nexus\x82\xd3\xe4\x93\x02&*$/cloud/nexus/endpoints/{endpoint_id}\x12\xcc\x02\n\rGetUserGroups\x12\x38.temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest\x1a\x39.temporal.api.cloud.cloudservice.v1.GetUserGroupsResponse\"\xc5\x01\x92\x41\xa7\x01\n\x06Groups\x12\x14List all user groups\x1a\x30Returns a list of all user groups in the account\"U\n\x19User groups documentation\x12\x38https://docs.temporal.io/cloud/users-account-level-roles\x82\xd3\xe4\x93\x02\x14\x12\x12/cloud/user-groups\x12\xd0\x02\n\x0cGetUserGroup\x12\x37.temporal.api.cloud.cloudservice.v1.GetUserGroupRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.GetUserGroupResponse\"\xcc\x01\x92\x41\xa3\x01\n\x06Groups\x12\x16Get user group details\x1a\x38Returns detailed information about a specific user group\"G\n\x19User groups documentation\x12*https://docs.temporal.io/cloud/user-groups\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cloud/user-groups/{group_id}\x12\xc7\x02\n\x0f\x43reateUserGroup\x12:.temporal.api.cloud.cloudservice.v1.CreateUserGroupRequest\x1a;.temporal.api.cloud.cloudservice.v1.CreateUserGroupResponse\"\xba\x01\x92\x41\x99\x01\n\x06Groups\x12\x13\x43reate a user group\x1a\x31\x43reates a new user group for managing permissions\"G\n\x19User groups documentation\x12*https://docs.temporal.io/cloud/user-groups\x82\xd3\xe4\x93\x02\x17\"\x12/cloud/user-groups:\x01*\x12\xcc\x02\n\x0fUpdateUserGroup\x12:.temporal.api.cloud.cloudservice.v1.UpdateUserGroupRequest\x1a;.temporal.api.cloud.cloudservice.v1.UpdateUserGroupResponse\"\xbf\x01\x92\x41\x93\x01\n\x06Groups\x12\x13Update a user group\x1a+Updates an existing user group\'s properties\"G\n\x19User groups documentation\x12*https://docs.temporal.io/cloud/user-groups\x82\xd3\xe4\x93\x02\"\"\x1d/cloud/user-groups/{group_id}:\x01*\x12\xc3\x02\n\x0f\x44\x65leteUserGroup\x12:.temporal.api.cloud.cloudservice.v1.DeleteUserGroupRequest\x1a;.temporal.api.cloud.cloudservice.v1.DeleteUserGroupResponse\"\xb6\x01\x92\x41\x8d\x01\n\x06Groups\x12\x13\x44\x65lete a user group\x1a%Removes a user group from the account\"G\n\x19User groups documentation\x12*https://docs.temporal.io/cloud/user-groups\x82\xd3\xe4\x93\x02\x1f*\x1d/cloud/user-groups/{group_id}\x12\xad\x03\n\x1bSetUserGroupNamespaceAccess\x12\x46.temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessRequest\x1aG.temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessResponse\"\xfc\x01\x92\x41\xb2\x01\n\x06Groups\x12\x1fSet user group namespace access\x1a>Configures a user group\'s permissions for a specific namespace\"G\n\x19User groups documentation\x12*https://docs.temporal.io/cloud/user-groups\x82\xd3\xe4\x93\x02@\";/cloud/namespaces/{namespace}/user-groups/{group_id}/access:\x01*\x12\xdf\x02\n\x12\x41\x64\x64UserGroupMember\x12=.temporal.api.cloud.cloudservice.v1.AddUserGroupMemberRequest\x1a>.temporal.api.cloud.cloudservice.v1.AddUserGroupMemberResponse\"\xc9\x01\x92\x41\x95\x01\n\x06Groups\x12\x11\x41\x64\x64 user to group\x1a/Adds a user to a user group (Cloud groups only)\"G\n\x19User groups documentation\x12*https://docs.temporal.io/cloud/user-groups\x82\xd3\xe4\x93\x02*\"%/cloud/user-groups/{group_id}/members:\x01*\x12\xf8\x02\n\x15RemoveUserGroupMember\x12@.temporal.api.cloud.cloudservice.v1.RemoveUserGroupMemberRequest\x1a\x41.temporal.api.cloud.cloudservice.v1.RemoveUserGroupMemberResponse\"\xd9\x01\x92\x41\x9f\x01\n\x06Groups\x12\x16Remove user from group\x1a\x34Removes a user from a user group (Cloud groups only)\"G\n\x19User groups documentation\x12*https://docs.temporal.io/cloud/user-groups\x82\xd3\xe4\x93\x02\x30\"+/cloud/user-groups/{group_id}/remove-member:\x01*\x12\xdf\x02\n\x13GetUserGroupMembers\x12>.temporal.api.cloud.cloudservice.v1.GetUserGroupMembersRequest\x1a?.temporal.api.cloud.cloudservice.v1.GetUserGroupMembersResponse\"\xc6\x01\x92\x41\x95\x01\n\x06Groups\x12\x15List users in a group\x1a+Returns a list of all users in a user group\"G\n\x19User groups documentation\x12*https://docs.temporal.io/cloud/user-groups\x82\xd3\xe4\x93\x02\'\x12%/cloud/user-groups/{group_id}/members\x12\xf5\x02\n\x14\x43reateServiceAccount\x12?.temporal.api.cloud.cloudservice.v1.CreateServiceAccountRequest\x1a@.temporal.api.cloud.cloudservice.v1.CreateServiceAccountResponse\"\xd9\x01\x92\x41\xb3\x01\n\x10Service Accounts\x12\x18\x43reate a service account\x1a\x32\x43reates a new service account for automated access\"Q\n\x1eService Accounts documentation\x12/https://docs.temporal.io/cloud/service-accounts\x82\xd3\xe4\x93\x02\x1c\"\x17/cloud/service-accounts:\x01*\x12\x8c\x03\n\x11GetServiceAccount\x12<.temporal.api.cloud.cloudservice.v1.GetServiceAccountRequest\x1a=.temporal.api.cloud.cloudservice.v1.GetServiceAccountResponse\"\xf9\x01\x92\x41\xc1\x01\n\x10Service Accounts\x12\x1bGet service account details\x1a=Returns detailed information about a specific service account\"Q\n\x1eService Accounts documentation\x12/https://docs.temporal.io/cloud/service-accounts\x82\xd3\xe4\x93\x02.\x12,/cloud/service-accounts/{service_account_id}\x12\xf0\x02\n\x12GetServiceAccounts\x12=.temporal.api.cloud.cloudservice.v1.GetServiceAccountsRequest\x1a>.temporal.api.cloud.cloudservice.v1.GetServiceAccountsResponse\"\xda\x01\x92\x41\xb7\x01\n\x10Service Accounts\x12\x19List all service accounts\x1a\x35Returns a list of all service accounts in the account\"Q\n\x1eService Accounts documentation\x12/https://docs.temporal.io/cloud/service-accounts\x82\xd3\xe4\x93\x02\x19\x12\x17/cloud/service-accounts\x12\x88\x03\n\x14UpdateServiceAccount\x12?.temporal.api.cloud.cloudservice.v1.UpdateServiceAccountRequest\x1a@.temporal.api.cloud.cloudservice.v1.UpdateServiceAccountResponse\"\xec\x01\x92\x41\xb1\x01\n\x10Service Accounts\x12\x18Update a service account\x1a\x30Updates an existing service account\'s properties\"Q\n\x1eService Accounts documentation\x12/https://docs.temporal.io/cloud/service-accounts\x82\xd3\xe4\x93\x02\x31\",/cloud/service-accounts/{service_account_id}:\x01*\x12\xe9\x03\n SetServiceAccountNamespaceAccess\x12K.temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessRequest\x1aL.temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessResponse\"\xa9\x02\x92\x41\xd0\x01\n\x10Service Accounts\x12$Set service account namespace access\x1a\x43\x43onfigures a service account\'s permissions for a specific namespace\"Q\n\x1eService Accounts documentation\x12/https://docs.temporal.io/cloud/service-accounts\x82\xd3\xe4\x93\x02O\"J/cloud/namespaces/{namespace}/service-accounts/{service_account_id}/access:\x01*\x12\xff\x02\n\x14\x44\x65leteServiceAccount\x12?.temporal.api.cloud.cloudservice.v1.DeleteServiceAccountRequest\x1a@.temporal.api.cloud.cloudservice.v1.DeleteServiceAccountResponse\"\xe3\x01\x92\x41\xab\x01\n\x10Service Accounts\x12\x18\x44\x65lete a service account\x1a*Removes a service account from the account\"Q\n\x1eService Accounts documentation\x12/https://docs.temporal.io/cloud/service-accounts\x82\xd3\xe4\x93\x02.*,/cloud/service-accounts/{service_account_id}\x12\xcb\x01\n\x08GetUsage\x12\x33.temporal.api.cloud.cloudservice.v1.GetUsageRequest\x1a\x34.temporal.api.cloud.cloudservice.v1.GetUsageResponse\"T\x92\x41=\n\x07\x41\x63\x63ount\x12\x0eGet usage data\x1a Get usage data across namespacesX\x01\x82\xd3\xe4\x93\x02\x0e\x12\x0c/cloud/usage\x12\xb0\x02\n\nGetAccount\x12\x35.temporal.api.cloud.cloudservice.v1.GetAccountRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.GetAccountResponse\"\xb2\x01\x92\x41\x98\x01\n\x07\x41\x63\x63ount\x12\x13Get account details\x1a.Returns detailed information about the account\"H\n\x15\x42illing documentation\x12/https://docs.temporal.io/cloud/billing-and-cost\x82\xd3\xe4\x93\x02\x10\x12\x0e/cloud/account\x12\xbb\x02\n\rUpdateAccount\x12\x38.temporal.api.cloud.cloudservice.v1.UpdateAccountRequest\x1a\x39.temporal.api.cloud.cloudservice.v1.UpdateAccountResponse\"\xb4\x01\x92\x41\x97\x01\n\x07\x41\x63\x63ount\x12\x16Update account details\x1a*Updates account configuration and settings\"H\n\x15\x42illing documentation\x12/https://docs.temporal.io/cloud/billing-and-cost\x82\xd3\xe4\x93\x02\x13\"\x0e/cloud/account:\x01*\x12\xf3\x02\n\x19\x43reateNamespaceExportSink\x12\x44.temporal.api.cloud.cloudservice.v1.CreateNamespaceExportSinkRequest\x1a\x45.temporal.api.cloud.cloudservice.v1.CreateNamespaceExportSinkResponse\"\xc8\x01\x92\x41\x8f\x01\n\x06\x45xport\x12\x1a\x43reate history export sink\x1a*Creates a new workflow history export sink\"=\n\x14\x45xport documentation\x12%https://docs.temporal.io/cloud/export\x82\xd3\xe4\x93\x02/\"*/cloud/namespaces/{namespace}/export-sinks:\x01*\x12\x8c\x03\n\x16GetNamespaceExportSink\x12\x41.temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinkRequest\x1a\x42.temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinkResponse\"\xea\x01\x92\x41\xad\x01\n\x06\x45xport\x12\x18Get history sink details\x1aJReturns detailed information about a specific workflow history export sink\"=\n\x14\x45xport documentation\x12%https://docs.temporal.io/cloud/export\x82\xd3\xe4\x93\x02\x33\x12\x31/cloud/namespaces/{namespace}/export-sinks/{name}\x12\x82\x03\n\x17GetNamespaceExportSinks\x12\x42.temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinksRequest\x1a\x43.temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinksResponse\"\xdd\x01\x92\x41\xa7\x01\n\x06\x45xport\x12\x19List history export sinks\x1a\x43Returns a list of all workflow history export sinks for a namespace\"=\n\x14\x45xport documentation\x12%https://docs.temporal.io/cloud/export\x82\xd3\xe4\x93\x02,\x12*/cloud/namespaces/{namespace}/export-sinks\x12\x95\x03\n\x19UpdateNamespaceExportSink\x12\x44.temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkRequest\x1a\x45.temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkResponse\"\xea\x01\x92\x41\xa5\x01\n\x06\x45xport\x12\x1aUpdate history export sink\x1a@Updates an existing workflow history export sink\'s configuration\"=\n\x14\x45xport documentation\x12%https://docs.temporal.io/cloud/export\x82\xd3\xe4\x93\x02;\"6/cloud/namespaces/{namespace}/export-sinks/{spec.name}:\x01*\x12\x84\x03\n\x19\x44\x65leteNamespaceExportSink\x12\x44.temporal.api.cloud.cloudservice.v1.DeleteNamespaceExportSinkRequest\x1a\x45.temporal.api.cloud.cloudservice.v1.DeleteNamespaceExportSinkResponse\"\xd9\x01\x92\x41\x9c\x01\n\x06\x45xport\x12\x1a\x44\x65lete history export sink\x1a\x37Removes a workflow history export sink from a namespace\"=\n\x14\x45xport documentation\x12%https://docs.temporal.io/cloud/export\x82\xd3\xe4\x93\x02\x33*1/cloud/namespaces/{namespace}/export-sinks/{name}\x12\xc9\x03\n\x1bValidateNamespaceExportSink\x12\x46.temporal.api.cloud.cloudservice.v1.ValidateNamespaceExportSinkRequest\x1aG.temporal.api.cloud.cloudservice.v1.ValidateNamespaceExportSinkResponse\"\x98\x02\x92\x41\xd7\x01\n\x06\x45xport\x12*Validate history export sink configuration\x1a\x62Tests workflow history export sink configuration by delivering a test file to verify accessibility\"=\n\x14\x45xport documentation\x12%https://docs.temporal.io/cloud/export\x82\xd3\xe4\x93\x02\x37\"2/cloud/namespaces/{namespace}/export-sink-validate:\x01*\x12\xfc\x02\n\x13UpdateNamespaceTags\x12>.temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsRequest\x1a?.temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsResponse\"\xe3\x01\x92\x41\xab\x01\n\nNamespaces\x12\x15Update namespace tags\x1a,Updates the tags associated with a namespace\"X\n\x1bNamespace tag documentation\x12\x39https://docs.temporal.io/cloud/namespaces#tag-a-namespace\x82\xd3\xe4\x93\x02.\")/cloud/namespaces/{namespace}/update-tags:\x01*\x12\xff\x02\n\x16\x43reateConnectivityRule\x12\x41.temporal.api.cloud.cloudservice.v1.CreateConnectivityRuleRequest\x1a\x42.temporal.api.cloud.cloudservice.v1.CreateConnectivityRuleResponse\"\xdd\x01\x92\x41\xb5\x01\n\x12\x43onnectivity Rules\x12\x18\x43reate connectivity rule\x1a:Creates a new connectivity rule for network access control\"I\n\x1a\x43onnectivity documentation\x12+https://docs.temporal.io/cloud/connectivity\x82\xd3\xe4\x93\x02\x1e\"\x19/cloud/connectivity-rules:\x01*\x12\x94\x03\n\x13GetConnectivityRule\x12>.temporal.api.cloud.cloudservice.v1.GetConnectivityRuleRequest\x1a?.temporal.api.cloud.cloudservice.v1.GetConnectivityRuleResponse\"\xfb\x01\x92\x41\xbf\x01\n\x12\x43onnectivity Rules\x12\x1dGet connectivity rule details\x1a?Returns detailed information about a specific connectivity rule\"I\n\x1a\x43onnectivity documentation\x12+https://docs.temporal.io/cloud/connectivity\x82\xd3\xe4\x93\x02\x32\x12\x30/cloud/connectivity-rules/{connectivity_rule_id}\x12\xf6\x02\n\x14GetConnectivityRules\x12?.temporal.api.cloud.cloudservice.v1.GetConnectivityRulesRequest\x1a@.temporal.api.cloud.cloudservice.v1.GetConnectivityRulesResponse\"\xda\x01\x92\x41\xb5\x01\n\x12\x43onnectivity Rules\x12\x1bList all connectivity rules\x1a\x37Returns a list of all connectivity rules in the account\"I\n\x1a\x43onnectivity documentation\x12+https://docs.temporal.io/cloud/connectivity\x82\xd3\xe4\x93\x02\x1b\x12\x19/cloud/connectivity-rules\x12\x85\x03\n\x16\x44\x65leteConnectivityRule\x12\x41.temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleRequest\x1a\x42.temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleResponse\"\xe3\x01\x92\x41\xa7\x01\n\x12\x43onnectivity Rules\x12\x18\x44\x65lete connectivity rule\x1a,Removes a connectivity rule from the account\"I\n\x1a\x43onnectivity documentation\x12+https://docs.temporal.io/cloud/connectivity\x82\xd3\xe4\x93\x02\x32*0/cloud/connectivity-rules/{connectivity_rule_id}\x12\xe2\x02\n\x0cGetAuditLogs\x12\x37.temporal.api.cloud.cloudservice.v1.GetAuditLogsRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.GetAuditLogsResponse\"\xde\x01\x92\x41\xc1\x01\n\x07\x41\x63\x63ount\x12\x0eGet audit logs\x1aYReturns a paginated list of audit logs for the account, optionally filtered by time range\"K\n\x1b\x41udit logging documentation\x12,https://docs.temporal.io/cloud/audit-logging\x82\xd3\xe4\x93\x02\x13\x12\x11/cloud/audit-logs\x12\xb4\x04\n\x1bValidateAccountAuditLogSink\x12\x46.temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkRequest\x1aG.temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkResponse\"\x83\x03\x92\x41\xd6\x02\n\x07\x41\x63\x63ount\x12\x17Validate audit log sink\x1a\xe4\x01Validate customer audit log sink is accessible from Temporal\'s workflow by delivering an empty file to the specified sink. The operation verifies that the sink is correctly configured, accessible and ready to receive audit logs.\"K\n\x1b\x41udit logging documentation\x12,https://docs.temporal.io/cloud/audit-logging\x82\xd3\xe4\x93\x02#\"\x1e/cloud/audit-log-sink-validate:\x01*\x12\xf4\x02\n\x19\x43reateAccountAuditLogSink\x12\x44.temporal.api.cloud.cloudservice.v1.CreateAccountAuditLogSinkRequest\x1a\x45.temporal.api.cloud.cloudservice.v1.CreateAccountAuditLogSinkResponse\"\xc9\x01\x92\x41\xa4\x01\n\x07\x41\x63\x63ount\x12\x15\x43reate audit log sink\x1a\x35\x43reates a new audit log sink for exporting audit logs\"K\n\x1b\x41udit logging documentation\x12,https://docs.temporal.io/cloud/audit-logging\x82\xd3\xe4\x93\x02\x1b\"\x16/cloud/audit-log-sinks:\x01*\x12\xfb\x02\n\x16GetAccountAuditLogSink\x12\x41.temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinkRequest\x1a\x42.temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinkResponse\"\xd9\x01\x92\x41\xb0\x01\n\x07\x41\x63\x63ount\x12\x1aGet audit log sink details\x1a.temporal.api.cloud.cloudservice.v1.CreateBillingReportRequest\x1a?.temporal.api.cloud.cloudservice.v1.CreateBillingReportResponse\"\xc1\x01\x92\x41\x9c\x01\n\x07\x41\x63\x63ount\x12\x17\x43reate a billing report\x1a(Creates a billing report for the account\"N\n\x1c\x42illing report documentation\x12.https://docs.temporal.io/cloud/billing-reports\x82\xd3\xe4\x93\x02\x1b\"\x16/cloud/billing-reports:\x01*\x12\xe6\x02\n\x10GetBillingReport\x12;.temporal.api.cloud.cloudservice.v1.GetBillingReportRequest\x1a<.temporal.api.cloud.cloudservice.v1.GetBillingReportResponse\"\xd6\x01\x92\x41\xa0\x01\n\x07\x41\x63\x63ount\x12\x14Get a billing report\x1a/Gets an existing billing report for the account\"N\n\x1c\x42illing report documentation\x12.https://docs.temporal.io/cloud/billing-reports\x82\xd3\xe4\x93\x02,\x12*/cloud/billing-reports/{billing_report_id}B\x86\x15\n%io.temporal.api.cloud.cloudservice.v1B\x0cServiceProtoP\x01Z5go.temporal.io/api/cloud/cloudservice/v1;cloudservice\xaa\x02$Temporalio.Api.Cloud.CloudService.V1\xea\x02(Temporalio::Api::Cloud::CloudService::V1\x92\x41\xc2\x13\x12\xe0\r\n\x16Temporal Cloud Ops API\x12\x96\x0cProgrammatic access to manage Temporal Cloud control plane resources including namespaces, users, service accounts, and more.\n\n## Authentication\n\nAll API requests require authentication using an API Key. Include your API key in the `Authorization` header using the Bearer scheme:\n\n```\nAuthorization: Bearer YOUR_API_KEY\n```\n\nAPI keys can be created and managed through the [API Keys endpoints](#tag/API-Keys) or via the Temporal Cloud UI. For more information, see [API Keys Documentation](https://docs.temporal.io/cloud/api-keys).\n\n## Authorization\n\nThe API uses Role-Based Access Control (RBAC) to manage permissions. Each operation requires specific role-based permissions in addition to a valid API key.\n\n### Account-Level Roles\n\n- **Account Owner** - Full account administration access\n- **Account Admin** - Manage namespaces, users, and service accounts \n- **Account Developer** - Create namespaces and manage Nexus endpoints\n- **Finance Admin** - View usage and billing information\n- **Account Read** - Read-only access to account resources\n\n### Namespace-Level Roles\n\n- **Namespace Admin** - Full access to namespace configuration and data\n- **Namespace Write** - Execute workflows and modify workflow data\n- **Namespace Read** - Read-only access to namespace data\n\nNamespace-level permissions are scoped to specific namespaces. A user or service account may have different permission levels across different namespaces.\n\nFor detailed information about roles and permissions, see [Access Control Documentation](https://docs.temporal.io/cloud/users).2\x03\x31.0:\xa7\x01\n\x06x-logo\x12\x9c\x01*\x99\x01\n\x96\x01\n\x03url\x12\x8e\x01\x1a\x8b\x01https://images.ctfassets.net/0uuz8ydxyd9p/4YGUnEoCaH9SyoUDhlJkau/e1600205d17eeee3033d926ef06664a9/Temporal_LogoLockup_Horizontal_dark_1.svgj.\n\nNamespaces\x12 Manage Temporal Cloud namespacesj0\n\x05Users\x12\'Manage users and their namespace accessjF\n\x10Service Accounts\x12\x32Manage service accounts and their namespace accessj.\n\x08\x41PI Keys\x12\"Manage API keys for authenticationj1\n\x06Groups\x12\'Manage user groups and group membershipj\x1f\n\x05Nexus\x12\x16Manage Nexus endpointsj\x7f\n\x11High Availability\x12jManage high availability (multi-region, multi-cloud, and same-region replication) namespace configurationsj7\n\x06\x45xport\x12-Manage workflow history export configurationsj7\n\x12\x43onnectivity Rules\x12!Manage network connectivity rulesj\"\n\x07Regions\x12\x17Query available regionsj,\n\x07\x41\x63\x63ount\x12!Manage account settings and usagej*\n\nOperations\x12\x1cQuery async operation statusr>\n\x1cTemporal Cloud Documentation\x12\x1ehttps://docs.temporal.io/cloudb\x06proto3" pool = ::Google::Protobuf::DescriptorPool.generated_pool pool.add_serialized_file(descriptor_data) diff --git a/temporalio/lib/temporalio/api/cloud/namespace/v1/message.rb b/temporalio/lib/temporalio/api/cloud/namespace/v1/message.rb index c5f4e70c..b0d16c67 100644 --- a/temporalio/lib/temporalio/api/cloud/namespace/v1/message.rb +++ b/temporalio/lib/temporalio/api/cloud/namespace/v1/message.rb @@ -10,7 +10,7 @@ require 'temporalio/api/cloud/connectivityrule/v1/message' -descriptor_data = "\n-temporal/api/cloud/namespace/v1/message.proto\x12\x1ftemporal.api.cloud.namespace.v1\x1a,temporal/api/cloud/resource/v1/message.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a(temporal/api/cloud/sink/v1/message.proto\x1a\x34temporal/api/cloud/connectivityrule/v1/message.proto\"\x81\x01\n\x15\x43\x65rtificateFilterSpec\x12\x13\n\x0b\x63ommon_name\x18\x01 \x01(\t\x12\x14\n\x0corganization\x18\x02 \x01(\t\x12\x1b\n\x13organizational_unit\x18\x03 \x01(\t\x12 \n\x18subject_alternative_name\x18\x04 \x01(\t\"\xb7\x01\n\x0cMtlsAuthSpec\x12%\n\x1d\x61\x63\x63\x65pted_client_ca_deprecated\x18\x01 \x01(\t\x12\x1a\n\x12\x61\x63\x63\x65pted_client_ca\x18\x04 \x01(\x0c\x12S\n\x13\x63\x65rtificate_filters\x18\x02 \x03(\x0b\x32\x36.temporal.api.cloud.namespace.v1.CertificateFilterSpec\x12\x0f\n\x07\x65nabled\x18\x03 \x01(\x08\"!\n\x0e\x41piKeyAuthSpec\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\"\xf4\x02\n\x0f\x43odecServerSpec\x12\x10\n\x08\x65ndpoint\x18\x01 \x01(\t\x12\x19\n\x11pass_access_token\x18\x02 \x01(\x08\x12(\n include_cross_origin_credentials\x18\x03 \x01(\x08\x12\x61\n\x14\x63ustom_error_message\x18\x04 \x01(\x0b\x32\x43.temporal.api.cloud.namespace.v1.CodecServerSpec.CustomErrorMessage\x1a\xa6\x01\n\x12\x43ustomErrorMessage\x12\x61\n\x07\x64\x65\x66\x61ult\x18\x01 \x01(\x0b\x32P.temporal.api.cloud.namespace.v1.CodecServerSpec.CustomErrorMessage.ErrorMessage\x1a-\n\x0c\x45rrorMessage\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x0c\n\x04link\x18\x02 \x01(\t\"1\n\rLifecycleSpec\x12 \n\x18\x65nable_delete_protection\x18\x01 \x01(\x08\"8\n\x14HighAvailabilitySpec\x12 \n\x18\x64isable_managed_failover\x18\x01 \x01(\x08\"\x89\t\n\rNamespaceSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07regions\x18\x02 \x03(\t\x12\x16\n\x0eretention_days\x18\x03 \x01(\x05\x12@\n\tmtls_auth\x18\x04 \x01(\x0b\x32-.temporal.api.cloud.namespace.v1.MtlsAuthSpec\x12\x45\n\x0c\x61pi_key_auth\x18\x07 \x01(\x0b\x32/.temporal.api.cloud.namespace.v1.ApiKeyAuthSpec\x12p\n\x18\x63ustom_search_attributes\x18\x05 \x03(\x0b\x32J.temporal.api.cloud.namespace.v1.NamespaceSpec.CustomSearchAttributesEntryB\x02\x18\x01\x12_\n\x11search_attributes\x18\x08 \x03(\x0b\x32\x44.temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributesEntry\x12\x46\n\x0c\x63odec_server\x18\x06 \x01(\x0b\x32\x30.temporal.api.cloud.namespace.v1.CodecServerSpec\x12\x41\n\tlifecycle\x18\t \x01(\x0b\x32..temporal.api.cloud.namespace.v1.LifecycleSpec\x12P\n\x11high_availability\x18\n \x01(\x0b\x32\x35.temporal.api.cloud.namespace.v1.HighAvailabilitySpec\x12\x1d\n\x15\x63onnectivity_rule_ids\x18\x0b \x03(\t\x1a=\n\x1b\x43ustomSearchAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a{\n\x15SearchAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12Q\n\x05value\x18\x02 \x01(\x0e\x32\x42.temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributeType:\x02\x38\x01\"\xac\x02\n\x13SearchAttributeType\x12%\n!SEARCH_ATTRIBUTE_TYPE_UNSPECIFIED\x10\x00\x12\x1e\n\x1aSEARCH_ATTRIBUTE_TYPE_TEXT\x10\x01\x12!\n\x1dSEARCH_ATTRIBUTE_TYPE_KEYWORD\x10\x02\x12\x1d\n\x19SEARCH_ATTRIBUTE_TYPE_INT\x10\x03\x12 \n\x1cSEARCH_ATTRIBUTE_TYPE_DOUBLE\x10\x04\x12\x1e\n\x1aSEARCH_ATTRIBUTE_TYPE_BOOL\x10\x05\x12\"\n\x1eSEARCH_ATTRIBUTE_TYPE_DATETIME\x10\x06\x12&\n\"SEARCH_ATTRIBUTE_TYPE_KEYWORD_LIST\x10\x07\"Q\n\tEndpoints\x12\x13\n\x0bweb_address\x18\x01 \x01(\t\x12\x19\n\x11mtls_grpc_address\x18\x02 \x01(\t\x12\x14\n\x0cgrpc_address\x18\x03 \x01(\t\"*\n\x06Limits\x12 \n\x18\x61\x63tions_per_second_limit\x18\x01 \x01(\x05\"X\n\x12\x41WSPrivateLinkInfo\x12\x1e\n\x16\x61llowed_principal_arns\x18\x01 \x03(\t\x12\"\n\x1avpc_endpoint_service_names\x18\x02 \x03(\t\"t\n\x13PrivateConnectivity\x12\x0e\n\x06region\x18\x01 \x01(\t\x12M\n\x10\x61ws_private_link\x18\x02 \x01(\x0b\x32\x33.temporal.api.cloud.namespace.v1.AWSPrivateLinkInfo\"\xc6\x07\n\tNamespace\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12<\n\x04spec\x18\x03 \x01(\x0b\x32..temporal.api.cloud.namespace.v1.NamespaceSpec\x12\x1c\n\x10state_deprecated\x18\x04 \x01(\tB\x02\x18\x01\x12<\n\x05state\x18\r \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12=\n\tendpoints\x18\x06 \x01(\x0b\x32*.temporal.api.cloud.namespace.v1.Endpoints\x12\x15\n\ractive_region\x18\x07 \x01(\t\x12\x37\n\x06limits\x18\x08 \x01(\x0b\x32\'.temporal.api.cloud.namespace.v1.Limits\x12T\n\x16private_connectivities\x18\t \x03(\x0b\x32\x34.temporal.api.cloud.namespace.v1.PrivateConnectivity\x12\x30\n\x0c\x63reated_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12S\n\rregion_status\x18\x0c \x03(\x0b\x32<.temporal.api.cloud.namespace.v1.Namespace.RegionStatusEntry\x12T\n\x12\x63onnectivity_rules\x18\x0e \x03(\x0b\x32\x38.temporal.api.cloud.connectivityrule.v1.ConnectivityRule\x12\x42\n\x04tags\x18\x0f \x03(\x0b\x32\x34.temporal.api.cloud.namespace.v1.Namespace.TagsEntry\x1ak\n\x11RegionStatusEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x45\n\x05value\x18\x02 \x01(\x0b\x32\x36.temporal.api.cloud.namespace.v1.NamespaceRegionStatus:\x02\x38\x01\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x9b\x02\n\x15NamespaceRegionStatus\x12\x1c\n\x10state_deprecated\x18\x01 \x01(\tB\x02\x18\x01\x12K\n\x05state\x18\x03 \x01(\x0e\x32<.temporal.api.cloud.namespace.v1.NamespaceRegionStatus.State\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t\"{\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cSTATE_ADDING\x10\x01\x12\x10\n\x0cSTATE_ACTIVE\x10\x02\x12\x11\n\rSTATE_PASSIVE\x10\x03\x12\x12\n\x0eSTATE_REMOVING\x10\x04\x12\x10\n\x0cSTATE_FAILED\x10\x05\"\x91\x01\n\x0e\x45xportSinkSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x65nabled\x18\x02 \x01(\x08\x12.\n\x02s3\x18\x03 \x01(\x0b\x32\".temporal.api.cloud.sink.v1.S3Spec\x12\x30\n\x03gcs\x18\x04 \x01(\x0b\x32#.temporal.api.cloud.sink.v1.GCSSpec\"\xf6\x03\n\nExportSink\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12<\n\x05state\x18\x03 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12=\n\x04spec\x18\x04 \x01(\x0b\x32/.temporal.api.cloud.namespace.v1.ExportSinkSpec\x12\x42\n\x06health\x18\x05 \x01(\x0e\x32\x32.temporal.api.cloud.namespace.v1.ExportSink.Health\x12\x15\n\rerror_message\x18\x06 \x01(\t\x12;\n\x17latest_data_export_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12:\n\x16last_health_check_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"o\n\x06Health\x12\x16\n\x12HEALTH_UNSPECIFIED\x10\x00\x12\r\n\tHEALTH_OK\x10\x01\x12\x19\n\x15HEALTH_ERROR_INTERNAL\x10\x02\x12#\n\x1fHEALTH_ERROR_USER_CONFIGURATION\x10\x03\x42\xb1\x01\n\"io.temporal.api.cloud.namespace.v1B\x0cMessageProtoP\x01Z/go.temporal.io/api/cloud/namespace/v1;namespace\xaa\x02!Temporalio.Api.Cloud.Namespace.V1\xea\x02%Temporalio::Api::Cloud::Namespace::V1b\x06proto3" +descriptor_data = "\n-temporal/api/cloud/namespace/v1/message.proto\x12\x1ftemporal.api.cloud.namespace.v1\x1a,temporal/api/cloud/resource/v1/message.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a(temporal/api/cloud/sink/v1/message.proto\x1a\x34temporal/api/cloud/connectivityrule/v1/message.proto\"\x81\x01\n\x15\x43\x65rtificateFilterSpec\x12\x13\n\x0b\x63ommon_name\x18\x01 \x01(\t\x12\x14\n\x0corganization\x18\x02 \x01(\t\x12\x1b\n\x13organizational_unit\x18\x03 \x01(\t\x12 \n\x18subject_alternative_name\x18\x04 \x01(\t\"\xbb\x01\n\x0cMtlsAuthSpec\x12)\n\x1d\x61\x63\x63\x65pted_client_ca_deprecated\x18\x01 \x01(\tB\x02\x18\x01\x12\x1a\n\x12\x61\x63\x63\x65pted_client_ca\x18\x04 \x01(\x0c\x12S\n\x13\x63\x65rtificate_filters\x18\x02 \x03(\x0b\x32\x36.temporal.api.cloud.namespace.v1.CertificateFilterSpec\x12\x0f\n\x07\x65nabled\x18\x03 \x01(\x08\"!\n\x0e\x41piKeyAuthSpec\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\"1\n\rLifecycleSpec\x12 \n\x18\x65nable_delete_protection\x18\x01 \x01(\x08\"\xf4\x02\n\x0f\x43odecServerSpec\x12\x10\n\x08\x65ndpoint\x18\x01 \x01(\t\x12\x19\n\x11pass_access_token\x18\x02 \x01(\x08\x12(\n include_cross_origin_credentials\x18\x03 \x01(\x08\x12\x61\n\x14\x63ustom_error_message\x18\x04 \x01(\x0b\x32\x43.temporal.api.cloud.namespace.v1.CodecServerSpec.CustomErrorMessage\x1a\xa6\x01\n\x12\x43ustomErrorMessage\x12\x61\n\x07\x64\x65\x66\x61ult\x18\x01 \x01(\x0b\x32P.temporal.api.cloud.namespace.v1.CodecServerSpec.CustomErrorMessage.ErrorMessage\x1a-\n\x0c\x45rrorMessage\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x0c\n\x04link\x18\x02 \x01(\t\"8\n\x14HighAvailabilitySpec\x12 \n\x18\x64isable_managed_failover\x18\x01 \x01(\x08\"\xdf\x01\n\x0c\x43\x61pacitySpec\x12K\n\ton_demand\x18\x01 \x01(\x0b\x32\x36.temporal.api.cloud.namespace.v1.CapacitySpec.OnDemandH\x00\x12P\n\x0bprovisioned\x18\x02 \x01(\x0b\x32\x39.temporal.api.cloud.namespace.v1.CapacitySpec.ProvisionedH\x00\x1a\n\n\x08OnDemand\x1a\x1c\n\x0bProvisioned\x12\r\n\x05value\x18\x01 \x01(\x01\x42\x06\n\x04spec\"\xdc\x05\n\x08\x43\x61pacity\x12G\n\ton_demand\x18\x01 \x01(\x0b\x32\x32.temporal.api.cloud.namespace.v1.Capacity.OnDemandH\x00\x12L\n\x0bprovisioned\x18\x02 \x01(\x0b\x32\x35.temporal.api.cloud.namespace.v1.Capacity.ProvisionedH\x00\x12I\n\x0elatest_request\x18\x03 \x01(\x0b\x32\x31.temporal.api.cloud.namespace.v1.Capacity.Request\x1a\n\n\x08OnDemand\x1a$\n\x0bProvisioned\x12\x15\n\rcurrent_value\x18\x01 \x01(\x01\x1a\xab\x03\n\x07Request\x12\x46\n\x05state\x18\x01 \x01(\x0e\x32\x37.temporal.api.cloud.namespace.v1.Capacity.Request.State\x12.\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\x12;\n\x04spec\x18\x05 \x01(\x0b\x32-.temporal.api.cloud.namespace.v1.CapacitySpec\"\xa0\x01\n\x05State\x12&\n\"STATE_CAPACITY_REQUEST_UNSPECIFIED\x10\x00\x12$\n STATE_CAPACITY_REQUEST_COMPLETED\x10\x01\x12&\n\"STATE_CAPACITY_REQUEST_IN_PROGRESS\x10\x02\x12!\n\x1dSTATE_CAPACITY_REQUEST_FAILED\x10\x03\x42\x0e\n\x0c\x63urrent_mode\"\xcf\t\n\rNamespaceSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07regions\x18\x02 \x03(\t\x12\x16\n\x0eretention_days\x18\x03 \x01(\x05\x12@\n\tmtls_auth\x18\x04 \x01(\x0b\x32-.temporal.api.cloud.namespace.v1.MtlsAuthSpec\x12\x45\n\x0c\x61pi_key_auth\x18\x07 \x01(\x0b\x32/.temporal.api.cloud.namespace.v1.ApiKeyAuthSpec\x12p\n\x18\x63ustom_search_attributes\x18\x05 \x03(\x0b\x32J.temporal.api.cloud.namespace.v1.NamespaceSpec.CustomSearchAttributesEntryB\x02\x18\x01\x12_\n\x11search_attributes\x18\x08 \x03(\x0b\x32\x44.temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributesEntry\x12\x46\n\x0c\x63odec_server\x18\x06 \x01(\x0b\x32\x30.temporal.api.cloud.namespace.v1.CodecServerSpec\x12\x41\n\tlifecycle\x18\t \x01(\x0b\x32..temporal.api.cloud.namespace.v1.LifecycleSpec\x12P\n\x11high_availability\x18\n \x01(\x0b\x32\x35.temporal.api.cloud.namespace.v1.HighAvailabilitySpec\x12\x1d\n\x15\x63onnectivity_rule_ids\x18\x0b \x03(\t\x12\x44\n\rcapacity_spec\x18\x0c \x01(\x0b\x32-.temporal.api.cloud.namespace.v1.CapacitySpec\x1a=\n\x1b\x43ustomSearchAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a{\n\x15SearchAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12Q\n\x05value\x18\x02 \x01(\x0e\x32\x42.temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributeType:\x02\x38\x01\"\xac\x02\n\x13SearchAttributeType\x12%\n!SEARCH_ATTRIBUTE_TYPE_UNSPECIFIED\x10\x00\x12\x1e\n\x1aSEARCH_ATTRIBUTE_TYPE_TEXT\x10\x01\x12!\n\x1dSEARCH_ATTRIBUTE_TYPE_KEYWORD\x10\x02\x12\x1d\n\x19SEARCH_ATTRIBUTE_TYPE_INT\x10\x03\x12 \n\x1cSEARCH_ATTRIBUTE_TYPE_DOUBLE\x10\x04\x12\x1e\n\x1aSEARCH_ATTRIBUTE_TYPE_BOOL\x10\x05\x12\"\n\x1eSEARCH_ATTRIBUTE_TYPE_DATETIME\x10\x06\x12&\n\"SEARCH_ATTRIBUTE_TYPE_KEYWORD_LIST\x10\x07\"Q\n\tEndpoints\x12\x13\n\x0bweb_address\x18\x01 \x01(\t\x12\x19\n\x11mtls_grpc_address\x18\x02 \x01(\t\x12\x14\n\x0cgrpc_address\x18\x03 \x01(\t\"*\n\x06Limits\x12 \n\x18\x61\x63tions_per_second_limit\x18\x01 \x01(\x05\"X\n\x12\x41WSPrivateLinkInfo\x12\x1e\n\x16\x61llowed_principal_arns\x18\x01 \x03(\t\x12\"\n\x1avpc_endpoint_service_names\x18\x02 \x03(\t\"t\n\x13PrivateConnectivity\x12\x0e\n\x06region\x18\x01 \x01(\t\x12M\n\x10\x61ws_private_link\x18\x02 \x01(\x0b\x32\x33.temporal.api.cloud.namespace.v1.AWSPrivateLinkInfo\"\x83\x08\n\tNamespace\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12<\n\x04spec\x18\x03 \x01(\x0b\x32..temporal.api.cloud.namespace.v1.NamespaceSpec\x12\x1c\n\x10state_deprecated\x18\x04 \x01(\tB\x02\x18\x01\x12<\n\x05state\x18\r \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12=\n\tendpoints\x18\x06 \x01(\x0b\x32*.temporal.api.cloud.namespace.v1.Endpoints\x12\x15\n\ractive_region\x18\x07 \x01(\t\x12\x37\n\x06limits\x18\x08 \x01(\x0b\x32\'.temporal.api.cloud.namespace.v1.Limits\x12T\n\x16private_connectivities\x18\t \x03(\x0b\x32\x34.temporal.api.cloud.namespace.v1.PrivateConnectivity\x12\x30\n\x0c\x63reated_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12S\n\rregion_status\x18\x0c \x03(\x0b\x32<.temporal.api.cloud.namespace.v1.Namespace.RegionStatusEntry\x12T\n\x12\x63onnectivity_rules\x18\x0e \x03(\x0b\x32\x38.temporal.api.cloud.connectivityrule.v1.ConnectivityRule\x12\x42\n\x04tags\x18\x0f \x03(\x0b\x32\x34.temporal.api.cloud.namespace.v1.Namespace.TagsEntry\x12;\n\x08\x63\x61pacity\x18\x10 \x01(\x0b\x32).temporal.api.cloud.namespace.v1.Capacity\x1ak\n\x11RegionStatusEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x45\n\x05value\x18\x02 \x01(\x0b\x32\x36.temporal.api.cloud.namespace.v1.NamespaceRegionStatus:\x02\x38\x01\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x9b\x02\n\x15NamespaceRegionStatus\x12\x1c\n\x10state_deprecated\x18\x01 \x01(\tB\x02\x18\x01\x12K\n\x05state\x18\x03 \x01(\x0e\x32<.temporal.api.cloud.namespace.v1.NamespaceRegionStatus.State\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t\"{\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cSTATE_ADDING\x10\x01\x12\x10\n\x0cSTATE_ACTIVE\x10\x02\x12\x11\n\rSTATE_PASSIVE\x10\x03\x12\x12\n\x0eSTATE_REMOVING\x10\x04\x12\x10\n\x0cSTATE_FAILED\x10\x05\"\x91\x01\n\x0e\x45xportSinkSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x65nabled\x18\x02 \x01(\x08\x12.\n\x02s3\x18\x03 \x01(\x0b\x32\".temporal.api.cloud.sink.v1.S3Spec\x12\x30\n\x03gcs\x18\x04 \x01(\x0b\x32#.temporal.api.cloud.sink.v1.GCSSpec\"\xf6\x03\n\nExportSink\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12<\n\x05state\x18\x03 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12=\n\x04spec\x18\x04 \x01(\x0b\x32/.temporal.api.cloud.namespace.v1.ExportSinkSpec\x12\x42\n\x06health\x18\x05 \x01(\x0e\x32\x32.temporal.api.cloud.namespace.v1.ExportSink.Health\x12\x15\n\rerror_message\x18\x06 \x01(\t\x12;\n\x17latest_data_export_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12:\n\x16last_health_check_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"o\n\x06Health\x12\x16\n\x12HEALTH_UNSPECIFIED\x10\x00\x12\r\n\tHEALTH_OK\x10\x01\x12\x19\n\x15HEALTH_ERROR_INTERNAL\x10\x02\x12#\n\x1fHEALTH_ERROR_USER_CONFIGURATION\x10\x03\"\x9f\x06\n\x15NamespaceCapacityInfo\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x19\n\x11has_legacy_limits\x18\x02 \x01(\x08\x12\x43\n\x10\x63urrent_capacity\x18\x03 \x01(\x0b\x32).temporal.api.cloud.namespace.v1.Capacity\x12`\n\x0cmode_options\x18\x04 \x01(\x0b\x32J.temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.CapacityModeOptions\x12K\n\x05stats\x18\x05 \x01(\x0b\x32<.temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.Stats\x1a\xd3\x02\n\x13\x43\x61pacityModeOptions\x12k\n\x0bprovisioned\x18\x01 \x01(\x0b\x32V.temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.CapacityModeOptions.Provisioned\x12\x66\n\ton_demand\x18\x02 \x01(\x0b\x32S.temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.CapacityModeOptions.OnDemand\x1aH\n\x0bProvisioned\x12\x18\n\x10valid_tru_values\x18\x01 \x03(\x01\x12\x1f\n\x17max_available_tru_value\x18\x02 \x01(\x01\x1a\x1d\n\x08OnDemand\x12\x11\n\taps_limit\x18\x01 \x01(\x01\x1a\x8d\x01\n\x05Stats\x12Q\n\x03\x61ps\x18\x01 \x01(\x0b\x32\x44.temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.Stats.Summary\x1a\x31\n\x07Summary\x12\x0c\n\x04mean\x18\x01 \x01(\x01\x12\x0b\n\x03p90\x18\x02 \x01(\x01\x12\x0b\n\x03p99\x18\x03 \x01(\x01\x42\xb1\x01\n\"io.temporal.api.cloud.namespace.v1B\x0cMessageProtoP\x01Z/go.temporal.io/api/cloud/namespace/v1;namespace\xaa\x02!Temporalio.Api.Cloud.Namespace.V1\xea\x02%Temporalio::Api::Cloud::Namespace::V1b\x06proto3" pool = ::Google::Protobuf::DescriptorPool.generated_pool pool.add_serialized_file(descriptor_data) @@ -23,11 +23,19 @@ module V1 CertificateFilterSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.namespace.v1.CertificateFilterSpec").msgclass MtlsAuthSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.namespace.v1.MtlsAuthSpec").msgclass ApiKeyAuthSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.namespace.v1.ApiKeyAuthSpec").msgclass + LifecycleSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.namespace.v1.LifecycleSpec").msgclass CodecServerSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.namespace.v1.CodecServerSpec").msgclass CodecServerSpec::CustomErrorMessage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.namespace.v1.CodecServerSpec.CustomErrorMessage").msgclass CodecServerSpec::CustomErrorMessage::ErrorMessage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.namespace.v1.CodecServerSpec.CustomErrorMessage.ErrorMessage").msgclass - LifecycleSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.namespace.v1.LifecycleSpec").msgclass HighAvailabilitySpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.namespace.v1.HighAvailabilitySpec").msgclass + CapacitySpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.namespace.v1.CapacitySpec").msgclass + CapacitySpec::OnDemand = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.namespace.v1.CapacitySpec.OnDemand").msgclass + CapacitySpec::Provisioned = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.namespace.v1.CapacitySpec.Provisioned").msgclass + Capacity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.namespace.v1.Capacity").msgclass + Capacity::OnDemand = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.namespace.v1.Capacity.OnDemand").msgclass + Capacity::Provisioned = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.namespace.v1.Capacity.Provisioned").msgclass + Capacity::Request = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.namespace.v1.Capacity.Request").msgclass + Capacity::Request::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.namespace.v1.Capacity.Request.State").enummodule NamespaceSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.namespace.v1.NamespaceSpec").msgclass NamespaceSpec::SearchAttributeType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributeType").enummodule Endpoints = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.namespace.v1.Endpoints").msgclass @@ -40,6 +48,12 @@ module V1 ExportSinkSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.namespace.v1.ExportSinkSpec").msgclass ExportSink = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.namespace.v1.ExportSink").msgclass ExportSink::Health = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.namespace.v1.ExportSink.Health").enummodule + NamespaceCapacityInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.namespace.v1.NamespaceCapacityInfo").msgclass + NamespaceCapacityInfo::CapacityModeOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.CapacityModeOptions").msgclass + NamespaceCapacityInfo::CapacityModeOptions::Provisioned = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.CapacityModeOptions.Provisioned").msgclass + NamespaceCapacityInfo::CapacityModeOptions::OnDemand = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.CapacityModeOptions.OnDemand").msgclass + NamespaceCapacityInfo::Stats = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.Stats").msgclass + NamespaceCapacityInfo::Stats::Summary = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.Stats.Summary").msgclass end end end diff --git a/temporalio/lib/temporalio/api/command/v1/message.rb b/temporalio/lib/temporalio/api/command/v1/message.rb index af0b05df..0671b6ca 100644 --- a/temporalio/lib/temporalio/api/command/v1/message.rb +++ b/temporalio/lib/temporalio/api/command/v1/message.rb @@ -13,7 +13,7 @@ require 'temporalio/api/sdk/v1/user_metadata' -descriptor_data = "\n%temporal/api/command/v1/message.proto\x12\x17temporal.api.command.v1\x1a\x1egoogle/protobuf/duration.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a(temporal/api/enums/v1/command_type.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto\"\xb6\x05\n%ScheduleActivityTaskCommandAttributes\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12;\n\ractivity_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12.\n\x06header\x18\x05 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12/\n\x05input\x18\x06 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12<\n\x19schedule_to_close_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x0b \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x1f\n\x17request_eager_execution\x18\x0c \x01(\x08\x12\x1d\n\x15use_workflow_build_id\x18\r \x01(\x08\x12\x32\n\x08priority\x18\x0e \x01(\x0b\x32 .temporal.api.common.v1.PriorityJ\x04\x08\x03\x10\x04\"H\n*RequestCancelActivityTaskCommandAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\"i\n\x1bStartTimerCommandAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\x12\x38\n\x15start_to_fire_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\"^\n*CompleteWorkflowExecutionCommandAttributes\x12\x30\n\x06result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\"[\n&FailWorkflowExecutionCommandAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\"0\n\x1c\x43\x61ncelTimerCommandAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\"]\n(CancelWorkflowExecutionCommandAttributes\x12\x31\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\"\xb3\x01\n7RequestCancelExternalWorkflowExecutionCommandAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x07\x63ontrol\x18\x04 \x01(\tB\x02\x18\x01\x12\x1b\n\x13\x63hild_workflow_only\x18\x05 \x01(\x08\x12\x0e\n\x06reason\x18\x06 \x01(\t\"\xab\x02\n0SignalExternalWorkflowExecutionCommandAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x0bsignal_name\x18\x03 \x01(\t\x12/\n\x05input\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x13\n\x07\x63ontrol\x18\x05 \x01(\tB\x02\x18\x01\x12\x1b\n\x13\x63hild_workflow_only\x18\x06 \x01(\x08\x12.\n\x06header\x18\x07 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\"v\n/UpsertWorkflowSearchAttributesCommandAttributes\x12\x43\n\x11search_attributes\x18\x01 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\"`\n)ModifyWorkflowPropertiesCommandAttributes\x12\x33\n\rupserted_memo\x18\x01 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\"\xbf\x02\n\x1dRecordMarkerCommandAttributes\x12\x13\n\x0bmarker_name\x18\x01 \x01(\t\x12T\n\x07\x64\x65tails\x18\x02 \x03(\x0b\x32\x43.temporal.api.command.v1.RecordMarkerCommandAttributes.DetailsEntry\x12.\n\x06header\x18\x03 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x31\n\x07\x66\x61ilure\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x1aP\n\x0c\x44\x65tailsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12/\n\x05value\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads:\x02\x38\x01\"\xac\x07\n/ContinueAsNewWorkflowExecutionCommandAttributes\x12;\n\rworkflow_type\x18\x01 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x03 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x37\n\x14workflow_run_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16\x62\x61\x63koff_start_interval\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x07 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12@\n\tinitiator\x18\x08 \x01(\x0e\x32-.temporal.api.enums.v1.ContinueAsNewInitiator\x12\x31\n\x07\x66\x61ilure\x18\t \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12@\n\x16last_completion_result\x18\n \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x15\n\rcron_schedule\x18\x0b \x01(\t\x12.\n\x06header\x18\x0c \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12*\n\x04memo\x18\r \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0e \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x1c\n\x10inherit_build_id\x18\x0f \x01(\x08\x42\x02\x18\x01\x12[\n\x1binitial_versioning_behavior\x18\x10 \x01(\x0e\x32\x36.temporal.api.enums.v1.ContinueAsNewVersioningBehavior\"\x9d\x07\n,StartChildWorkflowExecutionCommandAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x45\n\x13parent_close_policy\x18\t \x01(\x0e\x32(.temporal.api.enums.v1.ParentClosePolicy\x12\x0f\n\x07\x63ontrol\x18\n \x01(\t\x12N\n\x18workflow_id_reuse_policy\x18\x0b \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12\x39\n\x0cretry_policy\x18\x0c \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\r \x01(\t\x12.\n\x06header\x18\x0e \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12*\n\x04memo\x18\x0f \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x10 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x1c\n\x10inherit_build_id\x18\x11 \x01(\x08\x42\x02\x18\x01\x12\x32\n\x08priority\x18\x12 \x01(\x0b\x32 .temporal.api.common.v1.Priority\"6\n ProtocolMessageCommandAttributes\x12\x12\n\nmessage_id\x18\x01 \x01(\t\"\xe3\x03\n\'ScheduleNexusOperationCommandAttributes\x12\x10\n\x08\x65ndpoint\x18\x01 \x01(\t\x12\x0f\n\x07service\x18\x02 \x01(\t\x12\x11\n\toperation\x18\x03 \x01(\t\x12.\n\x05input\x18\x04 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12<\n\x19schedule_to_close_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12g\n\x0cnexus_header\x18\x06 \x03(\x0b\x32Q.temporal.api.command.v1.ScheduleNexusOperationCommandAttributes.NexusHeaderEntry\x12<\n\x19schedule_to_start_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\x32\n\x10NexusHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"J\n,RequestCancelNexusOperationCommandAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\"\xc2\x11\n\x07\x43ommand\x12\x38\n\x0c\x63ommand_type\x18\x01 \x01(\x0e\x32\".temporal.api.enums.v1.CommandType\x12\x39\n\ruser_metadata\x18\xad\x02 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12s\n)schedule_activity_task_command_attributes\x18\x02 \x01(\x0b\x32>.temporal.api.command.v1.ScheduleActivityTaskCommandAttributesH\x00\x12^\n\x1estart_timer_command_attributes\x18\x03 \x01(\x0b\x32\x34.temporal.api.command.v1.StartTimerCommandAttributesH\x00\x12}\n.complete_workflow_execution_command_attributes\x18\x04 \x01(\x0b\x32\x43.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributesH\x00\x12u\n*fail_workflow_execution_command_attributes\x18\x05 \x01(\x0b\x32?.temporal.api.command.v1.FailWorkflowExecutionCommandAttributesH\x00\x12~\n/request_cancel_activity_task_command_attributes\x18\x06 \x01(\x0b\x32\x43.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributesH\x00\x12`\n\x1f\x63\x61ncel_timer_command_attributes\x18\x07 \x01(\x0b\x32\x35.temporal.api.command.v1.CancelTimerCommandAttributesH\x00\x12y\n,cancel_workflow_execution_command_attributes\x18\x08 \x01(\x0b\x32\x41.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributesH\x00\x12\x99\x01\n=request_cancel_external_workflow_execution_command_attributes\x18\t \x01(\x0b\x32P.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributesH\x00\x12\x62\n record_marker_command_attributes\x18\n \x01(\x0b\x32\x36.temporal.api.command.v1.RecordMarkerCommandAttributesH\x00\x12\x89\x01\n5continue_as_new_workflow_execution_command_attributes\x18\x0b \x01(\x0b\x32H.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributesH\x00\x12\x82\x01\n1start_child_workflow_execution_command_attributes\x18\x0c \x01(\x0b\x32\x45.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributesH\x00\x12\x8a\x01\n5signal_external_workflow_execution_command_attributes\x18\r \x01(\x0b\x32I.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributesH\x00\x12\x88\x01\n4upsert_workflow_search_attributes_command_attributes\x18\x0e \x01(\x0b\x32H.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributesH\x00\x12h\n#protocol_message_command_attributes\x18\x0f \x01(\x0b\x32\x39.temporal.api.command.v1.ProtocolMessageCommandAttributesH\x00\x12{\n-modify_workflow_properties_command_attributes\x18\x11 \x01(\x0b\x32\x42.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributesH\x00\x12w\n+schedule_nexus_operation_command_attributes\x18\x12 \x01(\x0b\x32@.temporal.api.command.v1.ScheduleNexusOperationCommandAttributesH\x00\x12\x82\x01\n1request_cancel_nexus_operation_command_attributes\x18\x13 \x01(\x0b\x32\x45.temporal.api.command.v1.RequestCancelNexusOperationCommandAttributesH\x00\x42\x0c\n\nattributesB\x8e\x01\n\x1aio.temporal.api.command.v1B\x0cMessageProtoP\x01Z%go.temporal.io/api/command/v1;command\xaa\x02\x19Temporalio.Api.Command.V1\xea\x02\x1cTemporalio::Api::Command::V1b\x06proto3" +descriptor_data = "\n%temporal/api/command/v1/message.proto\x12\x17temporal.api.command.v1\x1a\x1egoogle/protobuf/duration.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a(temporal/api/enums/v1/command_type.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto\"\xb6\x05\n%ScheduleActivityTaskCommandAttributes\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12;\n\ractivity_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12.\n\x06header\x18\x05 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12/\n\x05input\x18\x06 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12<\n\x19schedule_to_close_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x0b \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x1f\n\x17request_eager_execution\x18\x0c \x01(\x08\x12\x1d\n\x15use_workflow_build_id\x18\r \x01(\x08\x12\x32\n\x08priority\x18\x0e \x01(\x0b\x32 .temporal.api.common.v1.PriorityJ\x04\x08\x03\x10\x04\"H\n*RequestCancelActivityTaskCommandAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\"i\n\x1bStartTimerCommandAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\x12\x38\n\x15start_to_fire_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\"^\n*CompleteWorkflowExecutionCommandAttributes\x12\x30\n\x06result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\"[\n&FailWorkflowExecutionCommandAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\"0\n\x1c\x43\x61ncelTimerCommandAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\"]\n(CancelWorkflowExecutionCommandAttributes\x12\x31\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\"\xb7\x01\n7RequestCancelExternalWorkflowExecutionCommandAttributes\x12\x15\n\tnamespace\x18\x01 \x01(\tB\x02\x18\x01\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x07\x63ontrol\x18\x04 \x01(\tB\x02\x18\x01\x12\x1b\n\x13\x63hild_workflow_only\x18\x05 \x01(\x08\x12\x0e\n\x06reason\x18\x06 \x01(\t\"\xaf\x02\n0SignalExternalWorkflowExecutionCommandAttributes\x12\x15\n\tnamespace\x18\x01 \x01(\tB\x02\x18\x01\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x0bsignal_name\x18\x03 \x01(\t\x12/\n\x05input\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x13\n\x07\x63ontrol\x18\x05 \x01(\tB\x02\x18\x01\x12\x1b\n\x13\x63hild_workflow_only\x18\x06 \x01(\x08\x12.\n\x06header\x18\x07 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\"v\n/UpsertWorkflowSearchAttributesCommandAttributes\x12\x43\n\x11search_attributes\x18\x01 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\"`\n)ModifyWorkflowPropertiesCommandAttributes\x12\x33\n\rupserted_memo\x18\x01 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\"\xbf\x02\n\x1dRecordMarkerCommandAttributes\x12\x13\n\x0bmarker_name\x18\x01 \x01(\t\x12T\n\x07\x64\x65tails\x18\x02 \x03(\x0b\x32\x43.temporal.api.command.v1.RecordMarkerCommandAttributes.DetailsEntry\x12.\n\x06header\x18\x03 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x31\n\x07\x66\x61ilure\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x1aP\n\x0c\x44\x65tailsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12/\n\x05value\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads:\x02\x38\x01\"\xac\x07\n/ContinueAsNewWorkflowExecutionCommandAttributes\x12;\n\rworkflow_type\x18\x01 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x03 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x37\n\x14workflow_run_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16\x62\x61\x63koff_start_interval\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x07 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12@\n\tinitiator\x18\x08 \x01(\x0e\x32-.temporal.api.enums.v1.ContinueAsNewInitiator\x12\x31\n\x07\x66\x61ilure\x18\t \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12@\n\x16last_completion_result\x18\n \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x15\n\rcron_schedule\x18\x0b \x01(\t\x12.\n\x06header\x18\x0c \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12*\n\x04memo\x18\r \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0e \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x1c\n\x10inherit_build_id\x18\x0f \x01(\x08\x42\x02\x18\x01\x12[\n\x1binitial_versioning_behavior\x18\x10 \x01(\x0e\x32\x36.temporal.api.enums.v1.ContinueAsNewVersioningBehavior\"\xa1\x07\n,StartChildWorkflowExecutionCommandAttributes\x12\x15\n\tnamespace\x18\x01 \x01(\tB\x02\x18\x01\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x45\n\x13parent_close_policy\x18\t \x01(\x0e\x32(.temporal.api.enums.v1.ParentClosePolicy\x12\x0f\n\x07\x63ontrol\x18\n \x01(\t\x12N\n\x18workflow_id_reuse_policy\x18\x0b \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12\x39\n\x0cretry_policy\x18\x0c \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\r \x01(\t\x12.\n\x06header\x18\x0e \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12*\n\x04memo\x18\x0f \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x10 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x1c\n\x10inherit_build_id\x18\x11 \x01(\x08\x42\x02\x18\x01\x12\x32\n\x08priority\x18\x12 \x01(\x0b\x32 .temporal.api.common.v1.Priority\"6\n ProtocolMessageCommandAttributes\x12\x12\n\nmessage_id\x18\x01 \x01(\t\"\xe3\x03\n\'ScheduleNexusOperationCommandAttributes\x12\x10\n\x08\x65ndpoint\x18\x01 \x01(\t\x12\x0f\n\x07service\x18\x02 \x01(\t\x12\x11\n\toperation\x18\x03 \x01(\t\x12.\n\x05input\x18\x04 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12<\n\x19schedule_to_close_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12g\n\x0cnexus_header\x18\x06 \x03(\x0b\x32Q.temporal.api.command.v1.ScheduleNexusOperationCommandAttributes.NexusHeaderEntry\x12<\n\x19schedule_to_start_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\x32\n\x10NexusHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"J\n,RequestCancelNexusOperationCommandAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\"\xc2\x11\n\x07\x43ommand\x12\x38\n\x0c\x63ommand_type\x18\x01 \x01(\x0e\x32\".temporal.api.enums.v1.CommandType\x12\x39\n\ruser_metadata\x18\xad\x02 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12s\n)schedule_activity_task_command_attributes\x18\x02 \x01(\x0b\x32>.temporal.api.command.v1.ScheduleActivityTaskCommandAttributesH\x00\x12^\n\x1estart_timer_command_attributes\x18\x03 \x01(\x0b\x32\x34.temporal.api.command.v1.StartTimerCommandAttributesH\x00\x12}\n.complete_workflow_execution_command_attributes\x18\x04 \x01(\x0b\x32\x43.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributesH\x00\x12u\n*fail_workflow_execution_command_attributes\x18\x05 \x01(\x0b\x32?.temporal.api.command.v1.FailWorkflowExecutionCommandAttributesH\x00\x12~\n/request_cancel_activity_task_command_attributes\x18\x06 \x01(\x0b\x32\x43.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributesH\x00\x12`\n\x1f\x63\x61ncel_timer_command_attributes\x18\x07 \x01(\x0b\x32\x35.temporal.api.command.v1.CancelTimerCommandAttributesH\x00\x12y\n,cancel_workflow_execution_command_attributes\x18\x08 \x01(\x0b\x32\x41.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributesH\x00\x12\x99\x01\n=request_cancel_external_workflow_execution_command_attributes\x18\t \x01(\x0b\x32P.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributesH\x00\x12\x62\n record_marker_command_attributes\x18\n \x01(\x0b\x32\x36.temporal.api.command.v1.RecordMarkerCommandAttributesH\x00\x12\x89\x01\n5continue_as_new_workflow_execution_command_attributes\x18\x0b \x01(\x0b\x32H.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributesH\x00\x12\x82\x01\n1start_child_workflow_execution_command_attributes\x18\x0c \x01(\x0b\x32\x45.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributesH\x00\x12\x8a\x01\n5signal_external_workflow_execution_command_attributes\x18\r \x01(\x0b\x32I.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributesH\x00\x12\x88\x01\n4upsert_workflow_search_attributes_command_attributes\x18\x0e \x01(\x0b\x32H.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributesH\x00\x12h\n#protocol_message_command_attributes\x18\x0f \x01(\x0b\x32\x39.temporal.api.command.v1.ProtocolMessageCommandAttributesH\x00\x12{\n-modify_workflow_properties_command_attributes\x18\x11 \x01(\x0b\x32\x42.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributesH\x00\x12w\n+schedule_nexus_operation_command_attributes\x18\x12 \x01(\x0b\x32@.temporal.api.command.v1.ScheduleNexusOperationCommandAttributesH\x00\x12\x82\x01\n1request_cancel_nexus_operation_command_attributes\x18\x13 \x01(\x0b\x32\x45.temporal.api.command.v1.RequestCancelNexusOperationCommandAttributesH\x00\x42\x0c\n\nattributesB\x8e\x01\n\x1aio.temporal.api.command.v1B\x0cMessageProtoP\x01Z%go.temporal.io/api/command/v1;command\xaa\x02\x19Temporalio.Api.Command.V1\xea\x02\x1cTemporalio::Api::Command::V1b\x06proto3" pool = ::Google::Protobuf::DescriptorPool.generated_pool pool.add_serialized_file(descriptor_data) diff --git a/temporalio/lib/temporalio/api/common/v1/message.rb b/temporalio/lib/temporalio/api/common/v1/message.rb index 12c28554..d220e458 100644 --- a/temporalio/lib/temporalio/api/common/v1/message.rb +++ b/temporalio/lib/temporalio/api/common/v1/message.rb @@ -11,7 +11,7 @@ require 'temporalio/api/enums/v1/reset' -descriptor_data = "\n$temporal/api/common/v1/message.proto\x12\x16temporal.api.common.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\"temporal/api/enums/v1/common.proto\x1a&temporal/api/enums/v1/event_type.proto\x1a!temporal/api/enums/v1/reset.proto\"T\n\x08\x44\x61taBlob\x12:\n\rencoding_type\x18\x01 \x01(\x0e\x32#.temporal.api.enums.v1.EncodingType\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"=\n\x08Payloads\x12\x31\n\x08payloads\x18\x01 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\"\x8a\x02\n\x07Payload\x12?\n\x08metadata\x18\x01 \x03(\x0b\x32-.temporal.api.common.v1.Payload.MetadataEntry\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12Q\n\x11\x65xternal_payloads\x18\x03 \x03(\x0b\x32\x36.temporal.api.common.v1.Payload.ExternalPayloadDetails\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a,\n\x16\x45xternalPayloadDetails\x12\x12\n\nsize_bytes\x18\x01 \x01(\x03\"\xbe\x01\n\x10SearchAttributes\x12S\n\x0eindexed_fields\x18\x01 \x03(\x0b\x32;.temporal.api.common.v1.SearchAttributes.IndexedFieldsEntry\x1aU\n\x12IndexedFieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"\x90\x01\n\x04Memo\x12\x38\n\x06\x66ields\x18\x01 \x03(\x0b\x32(.temporal.api.common.v1.Memo.FieldsEntry\x1aN\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"\x94\x01\n\x06Header\x12:\n\x06\x66ields\x18\x01 \x03(\x0b\x32*.temporal.api.common.v1.Header.FieldsEntry\x1aN\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"8\n\x11WorkflowExecution\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\"\x1c\n\x0cWorkflowType\x12\x0c\n\x04name\x18\x01 \x01(\t\"\x1c\n\x0c\x41\x63tivityType\x12\x0c\n\x04name\x18\x01 \x01(\t\"\xd1\x01\n\x0bRetryPolicy\x12\x33\n\x10initial_interval\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1b\n\x13\x62\x61\x63koff_coefficient\x18\x02 \x01(\x01\x12\x33\n\x10maximum_interval\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x18\n\x10maximum_attempts\x18\x04 \x01(\x05\x12!\n\x19non_retryable_error_types\x18\x05 \x03(\t\"F\n\x10MeteringMetadata\x12\x32\n*nonfirst_local_activity_execution_attempts\x18\r \x01(\r\">\n\x12WorkerVersionStamp\x12\x10\n\x08\x62uild_id\x18\x01 \x01(\t\x12\x16\n\x0euse_versioning\x18\x03 \x01(\x08\"e\n\x19WorkerVersionCapabilities\x12\x10\n\x08\x62uild_id\x18\x01 \x01(\t\x12\x16\n\x0euse_versioning\x18\x02 \x01(\x08\x12\x1e\n\x16\x64\x65ployment_series_name\x18\x04 \x01(\t\"\xed\x02\n\x0cResetOptions\x12\x35\n\x13\x66irst_workflow_task\x18\x01 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12\x34\n\x12last_workflow_task\x18\x02 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12\x1a\n\x10workflow_task_id\x18\x03 \x01(\x03H\x00\x12\x12\n\x08\x62uild_id\x18\x04 \x01(\tH\x00\x12G\n\x12reset_reapply_type\x18\n \x01(\x0e\x32\'.temporal.api.enums.v1.ResetReapplyTypeB\x02\x18\x01\x12\x18\n\x10\x63urrent_run_only\x18\x0b \x01(\x08\x12S\n\x1breset_reapply_exclude_types\x18\x0c \x03(\x0e\x32..temporal.api.enums.v1.ResetReapplyExcludeTypeB\x08\n\x06target\"\xe4\x02\n\x08\x43\x61llback\x12\x37\n\x05nexus\x18\x02 \x01(\x0b\x32&.temporal.api.common.v1.Callback.NexusH\x00\x12=\n\x08internal\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.Callback.InternalH\x00\x12+\n\x05links\x18\x64 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x1a\x87\x01\n\x05Nexus\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x42\n\x06header\x18\x02 \x03(\x0b\x32\x32.temporal.api.common.v1.Callback.Nexus.HeaderEntry\x1a-\n\x0bHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x18\n\x08Internal\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x42\t\n\x07variantJ\x04\x08\x01\x10\x02\"\xe9\x04\n\x04Link\x12\x44\n\x0eworkflow_event\x18\x01 \x01(\x0b\x32*.temporal.api.common.v1.Link.WorkflowEventH\x00\x12:\n\tbatch_job\x18\x02 \x01(\x0b\x32%.temporal.api.common.v1.Link.BatchJobH\x00\x1a\xb7\x03\n\rWorkflowEvent\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12N\n\tevent_ref\x18\x64 \x01(\x0b\x32\x39.temporal.api.common.v1.Link.WorkflowEvent.EventReferenceH\x00\x12W\n\x0erequest_id_ref\x18\x65 \x01(\x0b\x32=.temporal.api.common.v1.Link.WorkflowEvent.RequestIdReferenceH\x00\x1aX\n\x0e\x45ventReference\x12\x10\n\x08\x65vent_id\x18\x01 \x01(\x03\x12\x34\n\nevent_type\x18\x02 \x01(\x0e\x32 .temporal.api.enums.v1.EventType\x1a^\n\x12RequestIdReference\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x34\n\nevent_type\x18\x02 \x01(\x0e\x32 .temporal.api.enums.v1.EventTypeB\x0b\n\treference\x1a\x1a\n\x08\x42\x61tchJob\x12\x0e\n\x06job_id\x18\x01 \x01(\tB\t\n\x07variant\"O\n\x08Priority\x12\x14\n\x0cpriority_key\x18\x01 \x01(\x05\x12\x14\n\x0c\x66\x61irness_key\x18\x02 \x01(\t\x12\x17\n\x0f\x66\x61irness_weight\x18\x03 \x01(\x02\";\n\x0eWorkerSelector\x12\x1d\n\x13worker_instance_key\x18\x01 \x01(\tH\x00\x42\n\n\x08selectorB\x89\x01\n\x19io.temporal.api.common.v1B\x0cMessageProtoP\x01Z#go.temporal.io/api/common/v1;common\xaa\x02\x18Temporalio.Api.Common.V1\xea\x02\x1bTemporalio::Api::Common::V1b\x06proto3" +descriptor_data = "\n$temporal/api/common/v1/message.proto\x12\x16temporal.api.common.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\"temporal/api/enums/v1/common.proto\x1a&temporal/api/enums/v1/event_type.proto\x1a!temporal/api/enums/v1/reset.proto\"T\n\x08\x44\x61taBlob\x12:\n\rencoding_type\x18\x01 \x01(\x0e\x32#.temporal.api.enums.v1.EncodingType\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"=\n\x08Payloads\x12\x31\n\x08payloads\x18\x01 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\"\x8a\x02\n\x07Payload\x12?\n\x08metadata\x18\x01 \x03(\x0b\x32-.temporal.api.common.v1.Payload.MetadataEntry\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12Q\n\x11\x65xternal_payloads\x18\x03 \x03(\x0b\x32\x36.temporal.api.common.v1.Payload.ExternalPayloadDetails\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a,\n\x16\x45xternalPayloadDetails\x12\x12\n\nsize_bytes\x18\x01 \x01(\x03\"\xbe\x01\n\x10SearchAttributes\x12S\n\x0eindexed_fields\x18\x01 \x03(\x0b\x32;.temporal.api.common.v1.SearchAttributes.IndexedFieldsEntry\x1aU\n\x12IndexedFieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"\x90\x01\n\x04Memo\x12\x38\n\x06\x66ields\x18\x01 \x03(\x0b\x32(.temporal.api.common.v1.Memo.FieldsEntry\x1aN\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"\x94\x01\n\x06Header\x12:\n\x06\x66ields\x18\x01 \x03(\x0b\x32*.temporal.api.common.v1.Header.FieldsEntry\x1aN\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"8\n\x11WorkflowExecution\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\"\x1c\n\x0cWorkflowType\x12\x0c\n\x04name\x18\x01 \x01(\t\"\x1c\n\x0c\x41\x63tivityType\x12\x0c\n\x04name\x18\x01 \x01(\t\"\xd1\x01\n\x0bRetryPolicy\x12\x33\n\x10initial_interval\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1b\n\x13\x62\x61\x63koff_coefficient\x18\x02 \x01(\x01\x12\x33\n\x10maximum_interval\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x18\n\x10maximum_attempts\x18\x04 \x01(\x05\x12!\n\x19non_retryable_error_types\x18\x05 \x03(\t\"F\n\x10MeteringMetadata\x12\x32\n*nonfirst_local_activity_execution_attempts\x18\r \x01(\r\">\n\x12WorkerVersionStamp\x12\x10\n\x08\x62uild_id\x18\x01 \x01(\t\x12\x16\n\x0euse_versioning\x18\x03 \x01(\x08\"e\n\x19WorkerVersionCapabilities\x12\x10\n\x08\x62uild_id\x18\x01 \x01(\t\x12\x16\n\x0euse_versioning\x18\x02 \x01(\x08\x12\x1e\n\x16\x64\x65ployment_series_name\x18\x04 \x01(\t\"\xed\x02\n\x0cResetOptions\x12\x35\n\x13\x66irst_workflow_task\x18\x01 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12\x34\n\x12last_workflow_task\x18\x02 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12\x1a\n\x10workflow_task_id\x18\x03 \x01(\x03H\x00\x12\x12\n\x08\x62uild_id\x18\x04 \x01(\tH\x00\x12G\n\x12reset_reapply_type\x18\n \x01(\x0e\x32\'.temporal.api.enums.v1.ResetReapplyTypeB\x02\x18\x01\x12\x18\n\x10\x63urrent_run_only\x18\x0b \x01(\x08\x12S\n\x1breset_reapply_exclude_types\x18\x0c \x03(\x0e\x32..temporal.api.enums.v1.ResetReapplyExcludeTypeB\x08\n\x06target\"\xe4\x02\n\x08\x43\x61llback\x12\x37\n\x05nexus\x18\x02 \x01(\x0b\x32&.temporal.api.common.v1.Callback.NexusH\x00\x12=\n\x08internal\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.Callback.InternalH\x00\x12+\n\x05links\x18\x64 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x1a\x87\x01\n\x05Nexus\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x42\n\x06header\x18\x02 \x03(\x0b\x32\x32.temporal.api.common.v1.Callback.Nexus.HeaderEntry\x1a-\n\x0bHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x18\n\x08Internal\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x42\t\n\x07variantJ\x04\x08\x01\x10\x02\"\xfb\x06\n\x04Link\x12\x44\n\x0eworkflow_event\x18\x01 \x01(\x0b\x32*.temporal.api.common.v1.Link.WorkflowEventH\x00\x12:\n\tbatch_job\x18\x02 \x01(\x0b\x32%.temporal.api.common.v1.Link.BatchJobH\x00\x12\x39\n\x08\x61\x63tivity\x18\x03 \x01(\x0b\x32%.temporal.api.common.v1.Link.ActivityH\x00\x12\x46\n\x0fnexus_operation\x18\x04 \x01(\x0b\x32+.temporal.api.common.v1.Link.NexusOperationH\x00\x1a\xb7\x03\n\rWorkflowEvent\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12N\n\tevent_ref\x18\x64 \x01(\x0b\x32\x39.temporal.api.common.v1.Link.WorkflowEvent.EventReferenceH\x00\x12W\n\x0erequest_id_ref\x18\x65 \x01(\x0b\x32=.temporal.api.common.v1.Link.WorkflowEvent.RequestIdReferenceH\x00\x1aX\n\x0e\x45ventReference\x12\x10\n\x08\x65vent_id\x18\x01 \x01(\x03\x12\x34\n\nevent_type\x18\x02 \x01(\x0e\x32 .temporal.api.enums.v1.EventType\x1a^\n\x12RequestIdReference\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x34\n\nevent_type\x18\x02 \x01(\x0e\x32 .temporal.api.enums.v1.EventTypeB\x0b\n\treference\x1a\x1a\n\x08\x42\x61tchJob\x12\x0e\n\x06job_id\x18\x01 \x01(\t\x1a\x42\n\x08\x41\x63tivity\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x1aI\n\x0eNexusOperation\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0coperation_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\tB\t\n\x07variant\"\'\n\tPrincipal\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\"O\n\x08Priority\x12\x14\n\x0cpriority_key\x18\x01 \x01(\x05\x12\x14\n\x0c\x66\x61irness_key\x18\x02 \x01(\t\x12\x17\n\x0f\x66\x61irness_weight\x18\x03 \x01(\x02\";\n\x0eWorkerSelector\x12\x1d\n\x13worker_instance_key\x18\x01 \x01(\tH\x00\x42\n\n\x08selector\"i\n\x11OnConflictOptions\x12\x19\n\x11\x61ttach_request_id\x18\x01 \x01(\x08\x12#\n\x1b\x61ttach_completion_callbacks\x18\x02 \x01(\x08\x12\x14\n\x0c\x61ttach_links\x18\x03 \x01(\x08\x42\x89\x01\n\x19io.temporal.api.common.v1B\x0cMessageProtoP\x01Z#go.temporal.io/api/common/v1;common\xaa\x02\x18Temporalio.Api.Common.V1\xea\x02\x1bTemporalio::Api::Common::V1b\x06proto3" pool = ::Google::Protobuf::DescriptorPool.generated_pool pool.add_serialized_file(descriptor_data) @@ -43,8 +43,12 @@ module V1 Link::WorkflowEvent::EventReference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.Link.WorkflowEvent.EventReference").msgclass Link::WorkflowEvent::RequestIdReference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.Link.WorkflowEvent.RequestIdReference").msgclass Link::BatchJob = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.Link.BatchJob").msgclass + Link::Activity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.Link.Activity").msgclass + Link::NexusOperation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.Link.NexusOperation").msgclass + Principal = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.Principal").msgclass Priority = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.Priority").msgclass WorkerSelector = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.WorkerSelector").msgclass + OnConflictOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.OnConflictOptions").msgclass end end end diff --git a/temporalio/lib/temporalio/api/compute/v1/config.rb b/temporalio/lib/temporalio/api/compute/v1/config.rb new file mode 100644 index 00000000..807d645a --- /dev/null +++ b/temporalio/lib/temporalio/api/compute/v1/config.rb @@ -0,0 +1,30 @@ +# frozen_string_literal: true +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: temporal/api/compute/v1/config.proto + +require 'google/protobuf' + +require 'temporalio/api/compute/v1/provider' +require 'temporalio/api/compute/v1/scaler' +require 'temporalio/api/enums/v1/task_queue' +require 'google/protobuf/field_mask_pb' + + +descriptor_data = "\n$temporal/api/compute/v1/config.proto\x12\x17temporal.api.compute.v1\x1a&temporal/api/compute/v1/provider.proto\x1a$temporal/api/compute/v1/scaler.proto\x1a&temporal/api/enums/v1/task_queue.proto\x1a google/protobuf/field_mask.proto\"\xcf\x01\n\x19\x43omputeConfigScalingGroup\x12>\n\x10task_queue_types\x18\x01 \x03(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12:\n\x08provider\x18\x03 \x01(\x0b\x32(.temporal.api.compute.v1.ComputeProvider\x12\x36\n\x06scaler\x18\x04 \x01(\x0b\x32&.temporal.api.compute.v1.ComputeScaler\"\xcc\x01\n\rComputeConfig\x12Q\n\x0escaling_groups\x18\x01 \x03(\x0b\x32\x39.temporal.api.compute.v1.ComputeConfig.ScalingGroupsEntry\x1ah\n\x12ScalingGroupsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x41\n\x05value\x18\x02 \x01(\x0b\x32\x32.temporal.api.compute.v1.ComputeConfigScalingGroup:\x02\x38\x01\"\x9d\x01\n\x1f\x43omputeConfigScalingGroupUpdate\x12I\n\rscaling_group\x18\x01 \x01(\x0b\x32\x32.temporal.api.compute.v1.ComputeConfigScalingGroup\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xe1\x01\n\x14\x43omputeConfigSummary\x12X\n\x0escaling_groups\x18\x01 \x03(\x0b\x32@.temporal.api.compute.v1.ComputeConfigSummary.ScalingGroupsEntry\x1ao\n\x12ScalingGroupsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12H\n\x05value\x18\x02 \x01(\x0b\x32\x39.temporal.api.compute.v1.ComputeConfigScalingGroupSummary:\x02\x38\x01\"y\n ComputeConfigScalingGroupSummary\x12>\n\x10task_queue_types\x18\x01 \x03(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12\x15\n\rprovider_type\x18\x02 \x01(\tB\x8d\x01\n\x1aio.temporal.api.compute.v1B\x0b\x43onfigProtoP\x01Z%go.temporal.io/api/compute/v1;compute\xaa\x02\x19Temporalio.Api.Compute.V1\xea\x02\x1cTemporalio::Api::Compute::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) + +module Temporalio + module Api + module Compute + module V1 + ComputeConfigScalingGroup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.compute.v1.ComputeConfigScalingGroup").msgclass + ComputeConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.compute.v1.ComputeConfig").msgclass + ComputeConfigScalingGroupUpdate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.compute.v1.ComputeConfigScalingGroupUpdate").msgclass + ComputeConfigSummary = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.compute.v1.ComputeConfigSummary").msgclass + ComputeConfigScalingGroupSummary = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.compute.v1.ComputeConfigScalingGroupSummary").msgclass + end + end + end +end diff --git a/temporalio/lib/temporalio/api/compute/v1/provider.rb b/temporalio/lib/temporalio/api/compute/v1/provider.rb new file mode 100644 index 00000000..f96afc88 --- /dev/null +++ b/temporalio/lib/temporalio/api/compute/v1/provider.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: temporal/api/compute/v1/provider.proto + +require 'google/protobuf' + +require 'temporalio/api/common/v1/message' + + +descriptor_data = "\n&temporal/api/compute/v1/provider.proto\x12\x17temporal.api.compute.v1\x1a$temporal/api/common/v1/message.proto\"i\n\x0f\x43omputeProvider\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x30\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x16\n\x0enexus_endpoint\x18\n \x01(\tB\x8f\x01\n\x1aio.temporal.api.compute.v1B\rProviderProtoP\x01Z%go.temporal.io/api/compute/v1;compute\xaa\x02\x19Temporalio.Api.Compute.V1\xea\x02\x1cTemporalio::Api::Compute::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) + +module Temporalio + module Api + module Compute + module V1 + ComputeProvider = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.compute.v1.ComputeProvider").msgclass + end + end + end +end diff --git a/temporalio/lib/temporalio/api/compute/v1/scaler.rb b/temporalio/lib/temporalio/api/compute/v1/scaler.rb new file mode 100644 index 00000000..2d8f0ea1 --- /dev/null +++ b/temporalio/lib/temporalio/api/compute/v1/scaler.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: temporal/api/compute/v1/scaler.proto + +require 'google/protobuf' + +require 'temporalio/api/common/v1/message' + + +descriptor_data = "\n$temporal/api/compute/v1/scaler.proto\x12\x17temporal.api.compute.v1\x1a$temporal/api/common/v1/message.proto\"O\n\rComputeScaler\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x30\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.PayloadB\x8d\x01\n\x1aio.temporal.api.compute.v1B\x0bScalerProtoP\x01Z%go.temporal.io/api/compute/v1;compute\xaa\x02\x19Temporalio.Api.Compute.V1\xea\x02\x1cTemporalio::Api::Compute::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) + +module Temporalio + module Api + module Compute + module V1 + ComputeScaler = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.compute.v1.ComputeScaler").msgclass + end + end + end +end diff --git a/temporalio/lib/temporalio/api/deployment/v1/message.rb b/temporalio/lib/temporalio/api/deployment/v1/message.rb index 8f2bada0..2c6259b1 100644 --- a/temporalio/lib/temporalio/api/deployment/v1/message.rb +++ b/temporalio/lib/temporalio/api/deployment/v1/message.rb @@ -5,12 +5,14 @@ require 'google/protobuf' require 'google/protobuf/timestamp_pb' +require 'temporalio/api/enums/v1/workflow' require 'temporalio/api/enums/v1/deployment' require 'temporalio/api/enums/v1/task_queue' require 'temporalio/api/common/v1/message' +require 'temporalio/api/compute/v1/config' -descriptor_data = "\n(temporal/api/deployment/v1/message.proto\x12\x1atemporal.api.deployment.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a&temporal/api/enums/v1/deployment.proto\x1a&temporal/api/enums/v1/task_queue.proto\x1a$temporal/api/common/v1/message.proto\"\x91\x01\n\x17WorkerDeploymentOptions\x12\x17\n\x0f\x64\x65ployment_name\x18\x01 \x01(\t\x12\x10\n\x08\x62uild_id\x18\x02 \x01(\t\x12K\n\x16worker_versioning_mode\x18\x03 \x01(\x0e\x32+.temporal.api.enums.v1.WorkerVersioningMode\"3\n\nDeployment\x12\x13\n\x0bseries_name\x18\x01 \x01(\t\x12\x10\n\x08\x62uild_id\x18\x02 \x01(\t\"\x8e\x04\n\x0e\x44\x65ploymentInfo\x12:\n\ndeployment\x18\x01 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12R\n\x10task_queue_infos\x18\x03 \x03(\x0b\x32\x38.temporal.api.deployment.v1.DeploymentInfo.TaskQueueInfo\x12J\n\x08metadata\x18\x04 \x03(\x0b\x32\x38.temporal.api.deployment.v1.DeploymentInfo.MetadataEntry\x12\x12\n\nis_current\x18\x05 \x01(\x08\x1aP\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\x1a\x88\x01\n\rTaskQueueInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x32\n\x04type\x18\x02 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12\x35\n\x11\x66irst_poller_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xea\x01\n\x18UpdateDeploymentMetadata\x12_\n\x0eupsert_entries\x18\x01 \x03(\x0b\x32G.temporal.api.deployment.v1.UpdateDeploymentMetadata.UpsertEntriesEntry\x12\x16\n\x0eremove_entries\x18\x02 \x03(\t\x1aU\n\x12UpsertEntriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"\x95\x01\n\x12\x44\x65ploymentListInfo\x12:\n\ndeployment\x18\x01 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nis_current\x18\x03 \x01(\x08\"\xcd\x07\n\x1bWorkerDeploymentVersionInfo\x12\x13\n\x07version\x18\x01 \x01(\tB\x02\x18\x01\x12\x44\n\x06status\x18\x0e \x01(\x0e\x32\x34.temporal.api.enums.v1.WorkerDeploymentVersionStatus\x12O\n\x12\x64\x65ployment_version\x18\x0b \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x38\n\x14routing_changed_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12\x63urrent_since_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12ramping_since_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x39\n\x15\x66irst_activation_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_current_time\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12:\n\x16last_deactivation_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0framp_percentage\x18\x07 \x01(\x02\x12\x66\n\x10task_queue_infos\x18\x08 \x03(\x0b\x32L.temporal.api.deployment.v1.WorkerDeploymentVersionInfo.VersionTaskQueueInfo\x12\x46\n\rdrainage_info\x18\t \x01(\x0b\x32/.temporal.api.deployment.v1.VersionDrainageInfo\x12=\n\x08metadata\x18\n \x01(\x0b\x32+.temporal.api.deployment.v1.VersionMetadata\x1aX\n\x14VersionTaskQueueInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x32\n\x04type\x18\x02 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\"\xc1\x01\n\x13VersionDrainageInfo\x12<\n\x06status\x18\x01 \x01(\x0e\x32,.temporal.api.enums.v1.VersionDrainageStatus\x12\x35\n\x11last_changed_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_checked_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xfa\x08\n\x14WorkerDeploymentInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12j\n\x11version_summaries\x18\x02 \x03(\x0b\x32O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x41\n\x0erouting_config\x18\x04 \x01(\x0b\x32).temporal.api.deployment.v1.RoutingConfig\x12\x1e\n\x16last_modifier_identity\x18\x05 \x01(\t\x12\x18\n\x10manager_identity\x18\x06 \x01(\t\x12T\n\x1brouting_config_update_state\x18\x07 \x01(\x0e\x32/.temporal.api.enums.v1.RoutingConfigUpdateState\x1a\xe3\x05\n\x1eWorkerDeploymentVersionSummary\x12\x13\n\x07version\x18\x01 \x01(\tB\x02\x18\x01\x12\x44\n\x06status\x18\x0b \x01(\x0e\x32\x34.temporal.api.enums.v1.WorkerDeploymentVersionStatus\x12O\n\x12\x64\x65ployment_version\x18\x04 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x45\n\x0f\x64rainage_status\x18\x03 \x01(\x0e\x32,.temporal.api.enums.v1.VersionDrainageStatus\x12\x46\n\rdrainage_info\x18\x05 \x01(\x0b\x32/.temporal.api.deployment.v1.VersionDrainageInfo\x12\x36\n\x12\x63urrent_since_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12ramping_since_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x13routing_update_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x39\n\x15\x66irst_activation_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_current_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12:\n\x16last_deactivation_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"D\n\x17WorkerDeploymentVersion\x12\x10\n\x08\x62uild_id\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\"\xad\x01\n\x0fVersionMetadata\x12I\n\x07\x65ntries\x18\x01 \x03(\x0b\x32\x38.temporal.api.deployment.v1.VersionMetadata.EntriesEntry\x1aO\n\x0c\x45ntriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"\x89\x04\n\rRoutingConfig\x12W\n\x1a\x63urrent_deployment_version\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1b\n\x0f\x63urrent_version\x18\x01 \x01(\tB\x02\x18\x01\x12W\n\x1aramping_deployment_version\x18\t \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1b\n\x0framping_version\x18\x02 \x01(\tB\x02\x18\x01\x12\"\n\x1aramping_version_percentage\x18\x03 \x01(\x02\x12@\n\x1c\x63urrent_version_changed_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12@\n\x1cramping_version_changed_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12K\n\'ramping_version_percentage_changed_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0frevision_number\x18\n \x01(\x03\"\x9d\x01\n\x18InheritedAutoUpgradeInfo\x12V\n\x19source_deployment_version\x18\x01 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12)\n!source_deployment_revision_number\x18\x02 \x01(\x03\x42\x9d\x01\n\x1dio.temporal.api.deployment.v1B\x0cMessageProtoP\x01Z+go.temporal.io/api/deployment/v1;deployment\xaa\x02\x1cTemporalio.Api.Deployment.V1\xea\x02\x1fTemporalio::Api::Deployment::V1b\x06proto3" +descriptor_data = "\n(temporal/api/deployment/v1/message.proto\x12\x1atemporal.api.deployment.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a&temporal/api/enums/v1/deployment.proto\x1a&temporal/api/enums/v1/task_queue.proto\x1a$temporal/api/common/v1/message.proto\x1a$temporal/api/compute/v1/config.proto\"\x91\x01\n\x17WorkerDeploymentOptions\x12\x17\n\x0f\x64\x65ployment_name\x18\x01 \x01(\t\x12\x10\n\x08\x62uild_id\x18\x02 \x01(\t\x12K\n\x16worker_versioning_mode\x18\x03 \x01(\x0e\x32+.temporal.api.enums.v1.WorkerVersioningMode\"3\n\nDeployment\x12\x13\n\x0bseries_name\x18\x01 \x01(\t\x12\x10\n\x08\x62uild_id\x18\x02 \x01(\t\"\x8e\x04\n\x0e\x44\x65ploymentInfo\x12:\n\ndeployment\x18\x01 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12R\n\x10task_queue_infos\x18\x03 \x03(\x0b\x32\x38.temporal.api.deployment.v1.DeploymentInfo.TaskQueueInfo\x12J\n\x08metadata\x18\x04 \x03(\x0b\x32\x38.temporal.api.deployment.v1.DeploymentInfo.MetadataEntry\x12\x12\n\nis_current\x18\x05 \x01(\x08\x1aP\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\x1a\x88\x01\n\rTaskQueueInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x32\n\x04type\x18\x02 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12\x35\n\x11\x66irst_poller_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xea\x01\n\x18UpdateDeploymentMetadata\x12_\n\x0eupsert_entries\x18\x01 \x03(\x0b\x32G.temporal.api.deployment.v1.UpdateDeploymentMetadata.UpsertEntriesEntry\x12\x16\n\x0eremove_entries\x18\x02 \x03(\t\x1aU\n\x12UpsertEntriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"\x95\x01\n\x12\x44\x65ploymentListInfo\x12:\n\ndeployment\x18\x01 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nis_current\x18\x03 \x01(\x08\"\xad\x08\n\x1bWorkerDeploymentVersionInfo\x12\x13\n\x07version\x18\x01 \x01(\tB\x02\x18\x01\x12\x44\n\x06status\x18\x0e \x01(\x0e\x32\x34.temporal.api.enums.v1.WorkerDeploymentVersionStatus\x12O\n\x12\x64\x65ployment_version\x18\x0b \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x38\n\x14routing_changed_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12\x63urrent_since_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12ramping_since_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x39\n\x15\x66irst_activation_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_current_time\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12:\n\x16last_deactivation_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0framp_percentage\x18\x07 \x01(\x02\x12\x66\n\x10task_queue_infos\x18\x08 \x03(\x0b\x32L.temporal.api.deployment.v1.WorkerDeploymentVersionInfo.VersionTaskQueueInfo\x12\x46\n\rdrainage_info\x18\t \x01(\x0b\x32/.temporal.api.deployment.v1.VersionDrainageInfo\x12=\n\x08metadata\x18\n \x01(\x0b\x32+.temporal.api.deployment.v1.VersionMetadata\x12>\n\x0e\x63ompute_config\x18\x10 \x01(\x0b\x32&.temporal.api.compute.v1.ComputeConfig\x12\x1e\n\x16last_modifier_identity\x18\x11 \x01(\t\x1aX\n\x14VersionTaskQueueInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x32\n\x04type\x18\x02 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\"\xc1\x01\n\x13VersionDrainageInfo\x12<\n\x06status\x18\x01 \x01(\x0e\x32,.temporal.api.enums.v1.VersionDrainageStatus\x12\x35\n\x11last_changed_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_checked_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xc1\t\n\x14WorkerDeploymentInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12j\n\x11version_summaries\x18\x02 \x03(\x0b\x32O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x41\n\x0erouting_config\x18\x04 \x01(\x0b\x32).temporal.api.deployment.v1.RoutingConfig\x12\x1e\n\x16last_modifier_identity\x18\x05 \x01(\t\x12\x18\n\x10manager_identity\x18\x06 \x01(\t\x12T\n\x1brouting_config_update_state\x18\x07 \x01(\x0e\x32/.temporal.api.enums.v1.RoutingConfigUpdateState\x1a\xaa\x06\n\x1eWorkerDeploymentVersionSummary\x12\x13\n\x07version\x18\x01 \x01(\tB\x02\x18\x01\x12\x44\n\x06status\x18\x0b \x01(\x0e\x32\x34.temporal.api.enums.v1.WorkerDeploymentVersionStatus\x12O\n\x12\x64\x65ployment_version\x18\x04 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x45\n\x0f\x64rainage_status\x18\x03 \x01(\x0e\x32,.temporal.api.enums.v1.VersionDrainageStatus\x12\x46\n\rdrainage_info\x18\x05 \x01(\x0b\x32/.temporal.api.deployment.v1.VersionDrainageInfo\x12\x36\n\x12\x63urrent_since_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12ramping_since_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x13routing_update_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x39\n\x15\x66irst_activation_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_current_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12:\n\x16last_deactivation_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x45\n\x0e\x63ompute_config\x18\r \x01(\x0b\x32-.temporal.api.compute.v1.ComputeConfigSummary\"D\n\x17WorkerDeploymentVersion\x12\x10\n\x08\x62uild_id\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\"\xad\x01\n\x0fVersionMetadata\x12I\n\x07\x65ntries\x18\x01 \x03(\x0b\x32\x38.temporal.api.deployment.v1.VersionMetadata.EntriesEntry\x1aO\n\x0c\x45ntriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"\x89\x04\n\rRoutingConfig\x12W\n\x1a\x63urrent_deployment_version\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1b\n\x0f\x63urrent_version\x18\x01 \x01(\tB\x02\x18\x01\x12W\n\x1aramping_deployment_version\x18\t \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1b\n\x0framping_version\x18\x02 \x01(\tB\x02\x18\x01\x12\"\n\x1aramping_version_percentage\x18\x03 \x01(\x02\x12@\n\x1c\x63urrent_version_changed_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12@\n\x1cramping_version_changed_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12K\n\'ramping_version_percentage_changed_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0frevision_number\x18\n \x01(\x03\"\x8a\x02\n\x18InheritedAutoUpgradeInfo\x12V\n\x19source_deployment_version\x18\x01 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12)\n!source_deployment_revision_number\x18\x02 \x01(\x03\x12k\n+continue_as_new_initial_versioning_behavior\x18\x03 \x01(\x0e\x32\x36.temporal.api.enums.v1.ContinueAsNewVersioningBehaviorB\x9d\x01\n\x1dio.temporal.api.deployment.v1B\x0cMessageProtoP\x01Z+go.temporal.io/api/deployment/v1;deployment\xaa\x02\x1cTemporalio.Api.Deployment.V1\xea\x02\x1fTemporalio::Api::Deployment::V1b\x06proto3" pool = ::Google::Protobuf::DescriptorPool.generated_pool pool.add_serialized_file(descriptor_data) diff --git a/temporalio/lib/temporalio/api/enums/v1/deployment.rb b/temporalio/lib/temporalio/api/enums/v1/deployment.rb index de18451f..bdd6989b 100644 --- a/temporalio/lib/temporalio/api/enums/v1/deployment.rb +++ b/temporalio/lib/temporalio/api/enums/v1/deployment.rb @@ -5,7 +5,7 @@ require 'google/protobuf' -descriptor_data = "\n&temporal/api/enums/v1/deployment.proto\x12\x15temporal.api.enums.v1*\xc4\x01\n\x16\x44\x65ploymentReachability\x12\'\n#DEPLOYMENT_REACHABILITY_UNSPECIFIED\x10\x00\x12%\n!DEPLOYMENT_REACHABILITY_REACHABLE\x10\x01\x12\x31\n-DEPLOYMENT_REACHABILITY_CLOSED_WORKFLOWS_ONLY\x10\x02\x12\'\n#DEPLOYMENT_REACHABILITY_UNREACHABLE\x10\x03*\x8b\x01\n\x15VersionDrainageStatus\x12\'\n#VERSION_DRAINAGE_STATUS_UNSPECIFIED\x10\x00\x12$\n VERSION_DRAINAGE_STATUS_DRAINING\x10\x01\x12#\n\x1fVERSION_DRAINAGE_STATUS_DRAINED\x10\x02*\x8c\x01\n\x14WorkerVersioningMode\x12&\n\"WORKER_VERSIONING_MODE_UNSPECIFIED\x10\x00\x12&\n\"WORKER_VERSIONING_MODE_UNVERSIONED\x10\x01\x12$\n WORKER_VERSIONING_MODE_VERSIONED\x10\x02*\xb9\x02\n\x1dWorkerDeploymentVersionStatus\x12\x30\n,WORKER_DEPLOYMENT_VERSION_STATUS_UNSPECIFIED\x10\x00\x12-\n)WORKER_DEPLOYMENT_VERSION_STATUS_INACTIVE\x10\x01\x12,\n(WORKER_DEPLOYMENT_VERSION_STATUS_CURRENT\x10\x02\x12,\n(WORKER_DEPLOYMENT_VERSION_STATUS_RAMPING\x10\x03\x12-\n)WORKER_DEPLOYMENT_VERSION_STATUS_DRAINING\x10\x04\x12,\n(WORKER_DEPLOYMENT_VERSION_STATUS_DRAINED\x10\x05\x42\x87\x01\n\x18io.temporal.api.enums.v1B\x0f\x44\x65ploymentProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3" +descriptor_data = "\n&temporal/api/enums/v1/deployment.proto\x12\x15temporal.api.enums.v1*\xc4\x01\n\x16\x44\x65ploymentReachability\x12\'\n#DEPLOYMENT_REACHABILITY_UNSPECIFIED\x10\x00\x12%\n!DEPLOYMENT_REACHABILITY_REACHABLE\x10\x01\x12\x31\n-DEPLOYMENT_REACHABILITY_CLOSED_WORKFLOWS_ONLY\x10\x02\x12\'\n#DEPLOYMENT_REACHABILITY_UNREACHABLE\x10\x03*\x8b\x01\n\x15VersionDrainageStatus\x12\'\n#VERSION_DRAINAGE_STATUS_UNSPECIFIED\x10\x00\x12$\n VERSION_DRAINAGE_STATUS_DRAINING\x10\x01\x12#\n\x1fVERSION_DRAINAGE_STATUS_DRAINED\x10\x02*\x8c\x01\n\x14WorkerVersioningMode\x12&\n\"WORKER_VERSIONING_MODE_UNSPECIFIED\x10\x00\x12&\n\"WORKER_VERSIONING_MODE_UNVERSIONED\x10\x01\x12$\n WORKER_VERSIONING_MODE_VERSIONED\x10\x02*\xe7\x02\n\x1dWorkerDeploymentVersionStatus\x12\x30\n,WORKER_DEPLOYMENT_VERSION_STATUS_UNSPECIFIED\x10\x00\x12-\n)WORKER_DEPLOYMENT_VERSION_STATUS_INACTIVE\x10\x01\x12,\n(WORKER_DEPLOYMENT_VERSION_STATUS_CURRENT\x10\x02\x12,\n(WORKER_DEPLOYMENT_VERSION_STATUS_RAMPING\x10\x03\x12-\n)WORKER_DEPLOYMENT_VERSION_STATUS_DRAINING\x10\x04\x12,\n(WORKER_DEPLOYMENT_VERSION_STATUS_DRAINED\x10\x05\x12,\n(WORKER_DEPLOYMENT_VERSION_STATUS_CREATED\x10\x06\x42\x87\x01\n\x18io.temporal.api.enums.v1B\x0f\x44\x65ploymentProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3" pool = ::Google::Protobuf::DescriptorPool.generated_pool pool.add_serialized_file(descriptor_data) diff --git a/temporalio/lib/temporalio/api/enums/v1/event_type.rb b/temporalio/lib/temporalio/api/enums/v1/event_type.rb index 2bfdffff..70262d99 100644 --- a/temporalio/lib/temporalio/api/enums/v1/event_type.rb +++ b/temporalio/lib/temporalio/api/enums/v1/event_type.rb @@ -5,7 +5,7 @@ require 'google/protobuf' -descriptor_data = "\n&temporal/api/enums/v1/event_type.proto\x12\x15temporal.api.enums.v1*\xe0\x15\n\tEventType\x12\x1a\n\x16\x45VENT_TYPE_UNSPECIFIED\x10\x00\x12)\n%EVENT_TYPE_WORKFLOW_EXECUTION_STARTED\x10\x01\x12+\n\'EVENT_TYPE_WORKFLOW_EXECUTION_COMPLETED\x10\x02\x12(\n$EVENT_TYPE_WORKFLOW_EXECUTION_FAILED\x10\x03\x12+\n\'EVENT_TYPE_WORKFLOW_EXECUTION_TIMED_OUT\x10\x04\x12&\n\"EVENT_TYPE_WORKFLOW_TASK_SCHEDULED\x10\x05\x12$\n EVENT_TYPE_WORKFLOW_TASK_STARTED\x10\x06\x12&\n\"EVENT_TYPE_WORKFLOW_TASK_COMPLETED\x10\x07\x12&\n\"EVENT_TYPE_WORKFLOW_TASK_TIMED_OUT\x10\x08\x12#\n\x1f\x45VENT_TYPE_WORKFLOW_TASK_FAILED\x10\t\x12&\n\"EVENT_TYPE_ACTIVITY_TASK_SCHEDULED\x10\n\x12$\n EVENT_TYPE_ACTIVITY_TASK_STARTED\x10\x0b\x12&\n\"EVENT_TYPE_ACTIVITY_TASK_COMPLETED\x10\x0c\x12#\n\x1f\x45VENT_TYPE_ACTIVITY_TASK_FAILED\x10\r\x12&\n\"EVENT_TYPE_ACTIVITY_TASK_TIMED_OUT\x10\x0e\x12-\n)EVENT_TYPE_ACTIVITY_TASK_CANCEL_REQUESTED\x10\x0f\x12%\n!EVENT_TYPE_ACTIVITY_TASK_CANCELED\x10\x10\x12\x1c\n\x18\x45VENT_TYPE_TIMER_STARTED\x10\x11\x12\x1a\n\x16\x45VENT_TYPE_TIMER_FIRED\x10\x12\x12\x1d\n\x19\x45VENT_TYPE_TIMER_CANCELED\x10\x13\x12\x32\n.EVENT_TYPE_WORKFLOW_EXECUTION_CANCEL_REQUESTED\x10\x14\x12*\n&EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED\x10\x15\x12\x43\n?EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED\x10\x16\x12@\n\n\x1b\x66irst_workflow_task_backoff\x18\x15 \x01(\x0b\x32\x19.google.protobuf.Duration\x12*\n\x04memo\x18\x16 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x17 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x45\n\x16prev_auto_reset_points\x18\x18 \x01(\x0b\x32%.temporal.api.workflow.v1.ResetPoints\x12.\n\x06header\x18\x19 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12&\n\x1eparent_initiated_event_version\x18\x1a \x01(\x03\x12\x13\n\x0bworkflow_id\x18\x1c \x01(\t\x12L\n\x14source_version_stamp\x18\x1d \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\x14\x63ompletion_callbacks\x18\x1e \x03(\x0b\x32 .temporal.api.common.v1.Callback\x12J\n\x17root_workflow_execution\x18\x1f \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1e\n\x12inherited_build_id\x18 \x01(\tB\x02\x18\x01\x12I\n\x13versioning_override\x18! \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12\x33\n\'parent_pinned_worker_deployment_version\x18\" \x01(\tB\x02\x18\x01\x12\x32\n\x08priority\x18# \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12U\n\x18inherited_pinned_version\x18% \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12Y\n\x1binherited_auto_upgrade_info\x18\' \x01(\x0b\x32\x34.temporal.api.deployment.v1.InheritedAutoUpgradeInfo\x12 \n\x18\x65\x61ger_execution_accepted\x18& \x01(\x08\x12^\n\x1f\x64\x65\x63lined_target_version_upgrade\x18( \x01(\x0b\x32\x35.temporal.api.history.v1.DeclinedTargetVersionUpgradeJ\x04\x08$\x10%R parent_pinned_deployment_version\"o\n\x1c\x44\x65\x63linedTargetVersionUpgrade\x12O\n\x12\x64\x65ployment_version\x18\x01 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\"\xa5\x01\n)WorkflowExecutionCompletedEventAttributes\x12\x30\n\x06result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x1c\n\x14new_execution_run_id\x18\x03 \x01(\t\"\xdb\x01\n&WorkflowExecutionFailedEventAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x36\n\x0bretry_state\x18\x02 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\x12(\n workflow_task_completed_event_id\x18\x03 \x01(\x03\x12\x1c\n\x14new_execution_run_id\x18\x04 \x01(\t\"\x80\x01\n(WorkflowExecutionTimedOutEventAttributes\x12\x36\n\x0bretry_state\x18\x01 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\x12\x1c\n\x14new_execution_run_id\x18\x02 \x01(\t\"\xa5\x07\n.WorkflowExecutionContinuedAsNewEventAttributes\x12\x1c\n\x14new_execution_run_id\x18\x01 \x01(\t\x12;\n\rworkflow_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x03 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x37\n\x14workflow_run_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12(\n workflow_task_completed_event_id\x18\x07 \x01(\x03\x12\x39\n\x16\x62\x61\x63koff_start_interval\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12@\n\tinitiator\x18\t \x01(\x0e\x32-.temporal.api.enums.v1.ContinueAsNewInitiator\x12\x35\n\x07\x66\x61ilure\x18\n \x01(\x0b\x32 .temporal.api.failure.v1.FailureB\x02\x18\x01\x12@\n\x16last_completion_result\x18\x0b \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12.\n\x06header\x18\x0c \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12*\n\x04memo\x18\r \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0e \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x1c\n\x10inherit_build_id\x18\x0f \x01(\x08\x42\x02\x18\x01\x12[\n\x1binitial_versioning_behavior\x18\x10 \x01(\x0e\x32\x36.temporal.api.enums.v1.ContinueAsNewVersioningBehavior\"\xac\x01\n$WorkflowTaskScheduledEventAttributes\x12\x38\n\ntask_queue\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x39\n\x16start_to_close_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0f\n\x07\x61ttempt\x18\x03 \x01(\x05\"\xa0\x03\n\"WorkflowTaskStartedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12\x1f\n\x17suggest_continue_as_new\x18\x04 \x01(\x08\x12Z\n\x1fsuggest_continue_as_new_reasons\x18\x08 \x03(\x0e\x32\x31.temporal.api.enums.v1.SuggestContinueAsNewReason\x12\x30\n(target_worker_deployment_version_changed\x18\t \x01(\x08\x12\x1a\n\x12history_size_bytes\x18\x05 \x01(\x03\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12%\n\x19\x62uild_id_redirect_counter\x18\x07 \x01(\x03\x42\x02\x18\x01\"\x82\x05\n$WorkflowTaskCompletedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x1b\n\x0f\x62inary_checksum\x18\x04 \x01(\tB\x02\x18\x01\x12\x46\n\x0eworker_version\x18\x05 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12H\n\x0csdk_metadata\x18\x06 \x01(\x0b\x32\x32.temporal.api.sdk.v1.WorkflowTaskCompletedMetadata\x12\x43\n\x11metering_metadata\x18\r \x01(\x0b\x32(.temporal.api.common.v1.MeteringMetadata\x12>\n\ndeployment\x18\x07 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12\x46\n\x13versioning_behavior\x18\x08 \x01(\x0e\x32).temporal.api.enums.v1.VersioningBehavior\x12%\n\x19worker_deployment_version\x18\t \x01(\tB\x02\x18\x01\x12\x1e\n\x16worker_deployment_name\x18\n \x01(\t\x12O\n\x12\x64\x65ployment_version\x18\x0b \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\"\x95\x01\n#WorkflowTaskTimedOutEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12\x38\n\x0ctimeout_type\x18\x03 \x01(\x0e\x32\".temporal.api.enums.v1.TimeoutType\"\x87\x03\n!WorkflowTaskFailedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12=\n\x05\x63\x61use\x18\x03 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowTaskFailedCause\x12\x31\n\x07\x66\x61ilure\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x13\n\x0b\x62\x61se_run_id\x18\x06 \x01(\t\x12\x12\n\nnew_run_id\x18\x07 \x01(\t\x12\x1a\n\x12\x66ork_event_version\x18\x08 \x01(\x03\x12\x1b\n\x0f\x62inary_checksum\x18\t \x01(\tB\x02\x18\x01\x12\x46\n\x0eworker_version\x18\n \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\"\xc2\x05\n$ActivityTaskScheduledEventAttributes\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12;\n\ractivity_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12.\n\x06header\x18\x05 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12/\n\x05input\x18\x06 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12<\n\x19schedule_to_close_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12(\n workflow_task_completed_event_id\x18\x0b \x01(\x03\x12\x39\n\x0cretry_policy\x18\x0c \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12!\n\x15use_workflow_build_id\x18\r \x01(\x08\x42\x02\x18\x01\x12\x32\n\x08priority\x18\x0e \x01(\x0b\x32 .temporal.api.common.v1.PriorityJ\x04\x08\x03\x10\x04\"\x9e\x02\n\"ActivityTaskStartedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12\x0f\n\x07\x61ttempt\x18\x04 \x01(\x05\x12\x36\n\x0clast_failure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12%\n\x19\x62uild_id_redirect_counter\x18\x07 \x01(\x03\x42\x02\x18\x01\"\xe8\x01\n$ActivityTaskCompletedEventAttributes\x12\x30\n\x06result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x1a\n\x12scheduled_event_id\x18\x02 \x01(\x03\x12\x18\n\x10started_event_id\x18\x03 \x01(\x03\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x46\n\x0eworker_version\x18\x05 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\"\x9e\x02\n!ActivityTaskFailedEventAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x1a\n\x12scheduled_event_id\x18\x02 \x01(\x03\x12\x18\n\x10started_event_id\x18\x03 \x01(\x03\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x36\n\x0bretry_state\x18\x05 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\"\xc6\x01\n#ActivityTaskTimedOutEventAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x1a\n\x12scheduled_event_id\x18\x02 \x01(\x03\x12\x18\n\x10started_event_id\x18\x03 \x01(\x03\x12\x36\n\x0bretry_state\x18\x04 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\"r\n*ActivityTaskCancelRequestedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\"\x92\x02\n#ActivityTaskCanceledEventAttributes\x12\x31\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12(\n latest_cancel_requested_event_id\x18\x02 \x01(\x03\x12\x1a\n\x12scheduled_event_id\x18\x03 \x01(\x03\x12\x18\n\x10started_event_id\x18\x04 \x01(\x03\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\"\x93\x01\n\x1bTimerStartedEventAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\x12\x38\n\x15start_to_fire_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12(\n workflow_task_completed_event_id\x18\x03 \x01(\x03\"G\n\x19TimerFiredEventAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\"\x86\x01\n\x1cTimerCanceledEventAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x03 \x01(\x03\x12\x10\n\x08identity\x18\x04 \x01(\t\"\xc7\x01\n/WorkflowExecutionCancelRequestedEventAttributes\x12\r\n\x05\x63\x61use\x18\x01 \x01(\t\x12#\n\x1b\x65xternal_initiated_event_id\x18\x02 \x01(\x03\x12N\n\x1b\x65xternal_workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x04 \x01(\t\"\x87\x01\n(WorkflowExecutionCanceledEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x31\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\"\xe9\x02\n\x1dMarkerRecordedEventAttributes\x12\x13\n\x0bmarker_name\x18\x01 \x01(\t\x12T\n\x07\x64\x65tails\x18\x02 \x03(\x0b\x32\x43.temporal.api.history.v1.MarkerRecordedEventAttributes.DetailsEntry\x12(\n workflow_task_completed_event_id\x18\x03 \x01(\x03\x12.\n\x06header\x18\x04 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x31\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x1aP\n\x0c\x44\x65tailsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12/\n\x05value\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads:\x02\x38\x01\"\xab\x02\n(WorkflowExecutionSignaledEventAttributes\x12\x13\n\x0bsignal_name\x18\x01 \x01(\t\x12/\n\x05input\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\x12.\n\x06header\x18\x04 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\'\n\x1bskip_generate_workflow_task\x18\x05 \x01(\x08\x42\x02\x18\x01\x12N\n\x1b\x65xternal_workflow_execution\x18\x06 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\"\x81\x01\n*WorkflowExecutionTerminatedEventAttributes\x12\x0e\n\x06reason\x18\x01 \x01(\t\x12\x31\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\"\x9c\x02\n>RequestCancelExternalWorkflowExecutionInitiatedEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x07\x63ontrol\x18\x04 \x01(\tB\x02\x18\x01\x12\x1b\n\x13\x63hild_workflow_only\x18\x05 \x01(\x08\x12\x0e\n\x06reason\x18\x06 \x01(\t\"\xda\x02\n;RequestCancelExternalWorkflowExecutionFailedEventAttributes\x12P\n\x05\x63\x61use\x18\x01 \x01(\x0e\x32\x41.temporal.api.enums.v1.CancelExternalWorkflowExecutionFailedCause\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x11\n\tnamespace\x18\x03 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x04 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x13\n\x07\x63ontrol\x18\x06 \x01(\tB\x02\x18\x01\"\xc5\x01\n7ExternalWorkflowExecutionCancelRequestedEventAttributes\x12\x1a\n\x12initiated_event_id\x18\x01 \x01(\x03\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x04 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\"\xfb\x02\n7SignalExternalWorkflowExecutionInitiatedEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\t \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x0bsignal_name\x18\x04 \x01(\t\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x13\n\x07\x63ontrol\x18\x06 \x01(\tB\x02\x18\x01\x12\x1b\n\x13\x63hild_workflow_only\x18\x07 \x01(\x08\x12.\n\x06header\x18\x08 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\"\xd3\x02\n4SignalExternalWorkflowExecutionFailedEventAttributes\x12P\n\x05\x63\x61use\x18\x01 \x01(\x0e\x32\x41.temporal.api.enums.v1.SignalExternalWorkflowExecutionFailedCause\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x11\n\tnamespace\x18\x03 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x04 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x13\n\x07\x63ontrol\x18\x06 \x01(\tB\x02\x18\x01\"\xd3\x01\n0ExternalWorkflowExecutionSignaledEventAttributes\x12\x1a\n\x12initiated_event_id\x18\x01 \x01(\x03\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x05 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x07\x63ontrol\x18\x04 \x01(\tB\x02\x18\x01\"\x9e\x01\n-UpsertWorkflowSearchAttributesEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x43\n\x11search_attributes\x18\x02 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\"\x8a\x01\n)WorkflowPropertiesModifiedEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x33\n\rupserted_memo\x18\x02 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\"\xe8\x07\n3StartChildWorkflowExecutionInitiatedEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x12 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x45\n\x13parent_close_policy\x18\t \x01(\x0e\x32(.temporal.api.enums.v1.ParentClosePolicy\x12\x13\n\x07\x63ontrol\x18\n \x01(\tB\x02\x18\x01\x12(\n workflow_task_completed_event_id\x18\x0b \x01(\x03\x12N\n\x18workflow_id_reuse_policy\x18\x0c \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12\x39\n\x0cretry_policy\x18\r \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\x0e \x01(\t\x12.\n\x06header\x18\x0f \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12*\n\x04memo\x18\x10 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x11 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x1c\n\x10inherit_build_id\x18\x13 \x01(\x08\x42\x02\x18\x01\x12\x32\n\x08priority\x18\x14 \x01(\x0b\x32 .temporal.api.common.v1.Priority\"\xd6\x02\n0StartChildWorkflowExecutionFailedEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x08 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12L\n\x05\x63\x61use\x18\x04 \x01(\x0e\x32=.temporal.api.enums.v1.StartChildWorkflowExecutionFailedCause\x12\x13\n\x07\x63ontrol\x18\x05 \x01(\tB\x02\x18\x01\x12\x1a\n\x12initiated_event_id\x18\x06 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x07 \x01(\x03\"\xa7\x02\n,ChildWorkflowExecutionStartedEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x06 \x01(\t\x12\x1a\n\x12initiated_event_id\x18\x02 \x01(\x03\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12.\n\x06header\x18\x05 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\"\xc5\x02\n.ChildWorkflowExecutionCompletedEventAttributes\x12\x30\n\x06result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x18\n\x10started_event_id\x18\x06 \x01(\x03\"\xfb\x02\n+ChildWorkflowExecutionFailedEventAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x08 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x18\n\x10started_event_id\x18\x06 \x01(\x03\x12\x36\n\x0bretry_state\x18\x07 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\"\xc5\x02\n-ChildWorkflowExecutionCanceledEventAttributes\x12\x31\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x18\n\x10started_event_id\x18\x06 \x01(\x03\"\xca\x02\n-ChildWorkflowExecutionTimedOutEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x04 \x01(\x03\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03\x12\x36\n\x0bretry_state\x18\x06 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\"\x94\x02\n/ChildWorkflowExecutionTerminatedEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x06 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x04 \x01(\x03\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03\"\xca\x02\n.WorkflowExecutionOptionsUpdatedEventAttributes\x12I\n\x13versioning_override\x18\x01 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12!\n\x19unset_versioning_override\x18\x02 \x01(\x08\x12\x1b\n\x13\x61ttached_request_id\x18\x03 \x01(\t\x12G\n\x1d\x61ttached_completion_callbacks\x18\x04 \x03(\x0b\x32 .temporal.api.common.v1.Callback\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x32\n\x08priority\x18\x06 \x01(\x0b\x32 .temporal.api.common.v1.Priority\"\xc0\x02\n3WorkflowPropertiesModifiedExternallyEventAttributes\x12\x16\n\x0enew_task_queue\x18\x01 \x01(\t\x12<\n\x19new_workflow_task_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12;\n\x18new_workflow_run_timeout\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x41\n\x1enew_workflow_execution_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x33\n\rupserted_memo\x18\x05 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\"\x90\x01\n3ActivityPropertiesModifiedExternallyEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12=\n\x10new_retry_policy\x18\x02 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\"\xdc\x01\n.WorkflowExecutionUpdateAcceptedEventAttributes\x12\x1c\n\x14protocol_instance_id\x18\x01 \x01(\t\x12#\n\x1b\x61\x63\x63\x65pted_request_message_id\x18\x02 \x01(\t\x12,\n$accepted_request_sequencing_event_id\x18\x03 \x01(\x03\x12\x39\n\x10\x61\x63\x63\x65pted_request\x18\x04 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request\"\xaa\x01\n/WorkflowExecutionUpdateCompletedEventAttributes\x12*\n\x04meta\x18\x01 \x01(\x0b\x32\x1c.temporal.api.update.v1.Meta\x12\x19\n\x11\x61\x63\x63\x65pted_event_id\x18\x03 \x01(\x03\x12\x30\n\x07outcome\x18\x02 \x01(\x0b\x32\x1f.temporal.api.update.v1.Outcome\"\x8f\x02\n.WorkflowExecutionUpdateRejectedEventAttributes\x12\x1c\n\x14protocol_instance_id\x18\x01 \x01(\t\x12#\n\x1brejected_request_message_id\x18\x02 \x01(\t\x12,\n$rejected_request_sequencing_event_id\x18\x03 \x01(\x03\x12\x39\n\x10rejected_request\x18\x04 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request\x12\x31\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\"\xa4\x01\n.WorkflowExecutionUpdateAdmittedEventAttributes\x12\x30\n\x07request\x18\x01 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request\x12@\n\x06origin\x18\x02 \x01(\x0e\x32\x30.temporal.api.enums.v1.UpdateAdmittedEventOrigin\"^\n&WorkflowExecutionPausedEventAttributes\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0e\n\x06reason\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"`\n(WorkflowExecutionUnpausedEventAttributes\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0e\n\x06reason\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"\xb4\x04\n&NexusOperationScheduledEventAttributes\x12\x10\n\x08\x65ndpoint\x18\x01 \x01(\t\x12\x0f\n\x07service\x18\x02 \x01(\t\x12\x11\n\toperation\x18\x03 \x01(\t\x12.\n\x05input\x18\x04 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12<\n\x19schedule_to_close_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x66\n\x0cnexus_header\x18\x06 \x03(\x0b\x32P.temporal.api.history.v1.NexusOperationScheduledEventAttributes.NexusHeaderEntry\x12(\n workflow_task_completed_event_id\x18\x07 \x01(\x03\x12\x12\n\nrequest_id\x18\x08 \x01(\t\x12\x13\n\x0b\x65ndpoint_id\x18\t \x01(\t\x12<\n\x19schedule_to_start_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\x0b \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\x32\n\x10NexusHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x89\x01\n$NexusOperationStartedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x0coperation_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x12\n\nrequest_id\x18\x04 \x01(\t\x12\x17\n\x0foperation_token\x18\x05 \x01(\t\"\x89\x01\n&NexusOperationCompletedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12/\n\x06result\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"\x88\x01\n#NexusOperationFailedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"\x8a\x01\n%NexusOperationTimedOutEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"\x8a\x01\n%NexusOperationCanceledEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"t\n,NexusOperationCancelRequestedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\"\x97\x01\n3NexusOperationCancelRequestCompletedEventAttributes\x12\x1a\n\x12requested_event_id\x18\x01 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x1a\n\x12scheduled_event_id\x18\x03 \x01(\x03\"\xc7\x01\n0NexusOperationCancelRequestFailedEventAttributes\x12\x1a\n\x12requested_event_id\x18\x01 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x31\n\x07\x66\x61ilure\x18\x03 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x1a\n\x12scheduled_event_id\x18\x04 \x01(\x03\"\xb0=\n\x0cHistoryEvent\x12\x10\n\x08\x65vent_id\x18\x01 \x01(\x03\x12.\n\nevent_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\nevent_type\x18\x03 \x01(\x0e\x32 .temporal.api.enums.v1.EventType\x12\x0f\n\x07version\x18\x04 \x01(\x03\x12\x0f\n\x07task_id\x18\x05 \x01(\x03\x12\x1a\n\x11worker_may_ignore\x18\xac\x02 \x01(\x08\x12\x39\n\ruser_metadata\x18\xad\x02 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12,\n\x05links\x18\xae\x02 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x12w\n+workflow_execution_started_event_attributes\x18\x06 \x01(\x0b\x32@.temporal.api.history.v1.WorkflowExecutionStartedEventAttributesH\x00\x12{\n-workflow_execution_completed_event_attributes\x18\x07 \x01(\x0b\x32\x42.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributesH\x00\x12u\n*workflow_execution_failed_event_attributes\x18\x08 \x01(\x0b\x32?.temporal.api.history.v1.WorkflowExecutionFailedEventAttributesH\x00\x12z\n-workflow_execution_timed_out_event_attributes\x18\t \x01(\x0b\x32\x41.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributesH\x00\x12q\n(workflow_task_scheduled_event_attributes\x18\n \x01(\x0b\x32=.temporal.api.history.v1.WorkflowTaskScheduledEventAttributesH\x00\x12m\n&workflow_task_started_event_attributes\x18\x0b \x01(\x0b\x32;.temporal.api.history.v1.WorkflowTaskStartedEventAttributesH\x00\x12q\n(workflow_task_completed_event_attributes\x18\x0c \x01(\x0b\x32=.temporal.api.history.v1.WorkflowTaskCompletedEventAttributesH\x00\x12p\n(workflow_task_timed_out_event_attributes\x18\r \x01(\x0b\x32<.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributesH\x00\x12k\n%workflow_task_failed_event_attributes\x18\x0e \x01(\x0b\x32:.temporal.api.history.v1.WorkflowTaskFailedEventAttributesH\x00\x12q\n(activity_task_scheduled_event_attributes\x18\x0f \x01(\x0b\x32=.temporal.api.history.v1.ActivityTaskScheduledEventAttributesH\x00\x12m\n&activity_task_started_event_attributes\x18\x10 \x01(\x0b\x32;.temporal.api.history.v1.ActivityTaskStartedEventAttributesH\x00\x12q\n(activity_task_completed_event_attributes\x18\x11 \x01(\x0b\x32=.temporal.api.history.v1.ActivityTaskCompletedEventAttributesH\x00\x12k\n%activity_task_failed_event_attributes\x18\x12 \x01(\x0b\x32:.temporal.api.history.v1.ActivityTaskFailedEventAttributesH\x00\x12p\n(activity_task_timed_out_event_attributes\x18\x13 \x01(\x0b\x32<.temporal.api.history.v1.ActivityTaskTimedOutEventAttributesH\x00\x12^\n\x1etimer_started_event_attributes\x18\x14 \x01(\x0b\x32\x34.temporal.api.history.v1.TimerStartedEventAttributesH\x00\x12Z\n\x1ctimer_fired_event_attributes\x18\x15 \x01(\x0b\x32\x32.temporal.api.history.v1.TimerFiredEventAttributesH\x00\x12~\n/activity_task_cancel_requested_event_attributes\x18\x16 \x01(\x0b\x32\x43.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributesH\x00\x12o\n\'activity_task_canceled_event_attributes\x18\x17 \x01(\x0b\x32<.temporal.api.history.v1.ActivityTaskCanceledEventAttributesH\x00\x12`\n\x1ftimer_canceled_event_attributes\x18\x18 \x01(\x0b\x32\x35.temporal.api.history.v1.TimerCanceledEventAttributesH\x00\x12\x62\n marker_recorded_event_attributes\x18\x19 \x01(\x0b\x32\x36.temporal.api.history.v1.MarkerRecordedEventAttributesH\x00\x12y\n,workflow_execution_signaled_event_attributes\x18\x1a \x01(\x0b\x32\x41.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributesH\x00\x12}\n.workflow_execution_terminated_event_attributes\x18\x1b \x01(\x0b\x32\x43.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributesH\x00\x12\x88\x01\n4workflow_execution_cancel_requested_event_attributes\x18\x1c \x01(\x0b\x32H.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributesH\x00\x12y\n,workflow_execution_canceled_event_attributes\x18\x1d \x01(\x0b\x32\x41.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributesH\x00\x12\xa8\x01\nErequest_cancel_external_workflow_execution_initiated_event_attributes\x18\x1e \x01(\x0b\x32W.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributesH\x00\x12\xa2\x01\nBrequest_cancel_external_workflow_execution_failed_event_attributes\x18\x1f \x01(\x0b\x32T.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributesH\x00\x12\x99\x01\n=external_workflow_execution_cancel_requested_event_attributes\x18 \x01(\x0b\x32P.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributesH\x00\x12\x87\x01\n4workflow_execution_continued_as_new_event_attributes\x18! \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributesH\x00\x12\x91\x01\n9start_child_workflow_execution_initiated_event_attributes\x18\" \x01(\x0b\x32L.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributesH\x00\x12\x8b\x01\n6start_child_workflow_execution_failed_event_attributes\x18# \x01(\x0b\x32I.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributesH\x00\x12\x82\x01\n1child_workflow_execution_started_event_attributes\x18$ \x01(\x0b\x32\x45.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributesH\x00\x12\x86\x01\n3child_workflow_execution_completed_event_attributes\x18% \x01(\x0b\x32G.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributesH\x00\x12\x80\x01\n0child_workflow_execution_failed_event_attributes\x18& \x01(\x0b\x32\x44.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributesH\x00\x12\x84\x01\n2child_workflow_execution_canceled_event_attributes\x18\' \x01(\x0b\x32\x46.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributesH\x00\x12\x85\x01\n3child_workflow_execution_timed_out_event_attributes\x18( \x01(\x0b\x32\x46.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributesH\x00\x12\x88\x01\n4child_workflow_execution_terminated_event_attributes\x18) \x01(\x0b\x32H.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributesH\x00\x12\x99\x01\n=signal_external_workflow_execution_initiated_event_attributes\x18* \x01(\x0b\x32P.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributesH\x00\x12\x93\x01\n:signal_external_workflow_execution_failed_event_attributes\x18+ \x01(\x0b\x32M.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributesH\x00\x12\x8a\x01\n5external_workflow_execution_signaled_event_attributes\x18, \x01(\x0b\x32I.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributesH\x00\x12\x84\x01\n2upsert_workflow_search_attributes_event_attributes\x18- \x01(\x0b\x32\x46.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributesH\x00\x12\x86\x01\n3workflow_execution_update_accepted_event_attributes\x18. \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributesH\x00\x12\x86\x01\n3workflow_execution_update_rejected_event_attributes\x18/ \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributesH\x00\x12\x88\x01\n4workflow_execution_update_completed_event_attributes\x18\x30 \x01(\x0b\x32H.temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributesH\x00\x12\x90\x01\n8workflow_properties_modified_externally_event_attributes\x18\x31 \x01(\x0b\x32L.temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributesH\x00\x12\x90\x01\n8activity_properties_modified_externally_event_attributes\x18\x32 \x01(\x0b\x32L.temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributesH\x00\x12{\n-workflow_properties_modified_event_attributes\x18\x33 \x01(\x0b\x32\x42.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributesH\x00\x12\x86\x01\n3workflow_execution_update_admitted_event_attributes\x18\x34 \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionUpdateAdmittedEventAttributesH\x00\x12u\n*nexus_operation_scheduled_event_attributes\x18\x35 \x01(\x0b\x32?.temporal.api.history.v1.NexusOperationScheduledEventAttributesH\x00\x12q\n(nexus_operation_started_event_attributes\x18\x36 \x01(\x0b\x32=.temporal.api.history.v1.NexusOperationStartedEventAttributesH\x00\x12u\n*nexus_operation_completed_event_attributes\x18\x37 \x01(\x0b\x32?.temporal.api.history.v1.NexusOperationCompletedEventAttributesH\x00\x12o\n\'nexus_operation_failed_event_attributes\x18\x38 \x01(\x0b\x32<.temporal.api.history.v1.NexusOperationFailedEventAttributesH\x00\x12s\n)nexus_operation_canceled_event_attributes\x18\x39 \x01(\x0b\x32>.temporal.api.history.v1.NexusOperationCanceledEventAttributesH\x00\x12t\n*nexus_operation_timed_out_event_attributes\x18: \x01(\x0b\x32>.temporal.api.history.v1.NexusOperationTimedOutEventAttributesH\x00\x12\x82\x01\n1nexus_operation_cancel_requested_event_attributes\x18; \x01(\x0b\x32\x45.temporal.api.history.v1.NexusOperationCancelRequestedEventAttributesH\x00\x12\x86\x01\n3workflow_execution_options_updated_event_attributes\x18< \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionOptionsUpdatedEventAttributesH\x00\x12\x91\x01\n9nexus_operation_cancel_request_completed_event_attributes\x18= \x01(\x0b\x32L.temporal.api.history.v1.NexusOperationCancelRequestCompletedEventAttributesH\x00\x12\x8b\x01\n6nexus_operation_cancel_request_failed_event_attributes\x18> \x01(\x0b\x32I.temporal.api.history.v1.NexusOperationCancelRequestFailedEventAttributesH\x00\x12u\n*workflow_execution_paused_event_attributes\x18? \x01(\x0b\x32?.temporal.api.history.v1.WorkflowExecutionPausedEventAttributesH\x00\x12y\n,workflow_execution_unpaused_event_attributes\x18@ \x01(\x0b\x32\x41.temporal.api.history.v1.WorkflowExecutionUnpausedEventAttributesH\x00\x42\x0c\n\nattributes\"@\n\x07History\x12\x35\n\x06\x65vents\x18\x01 \x03(\x0b\x32%.temporal.api.history.v1.HistoryEventB\x8e\x01\n\x1aio.temporal.api.history.v1B\x0cMessageProtoP\x01Z%go.temporal.io/api/history/v1;history\xaa\x02\x19Temporalio.Api.History.V1\xea\x02\x1cTemporalio::Api::History::V1b\x06proto3" +descriptor_data = "\n%temporal/api/history/v1/message.proto\x12\x17temporal.api.history.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a&temporal/api/enums/v1/event_type.proto\x1a(temporal/api/enums/v1/failed_cause.proto\x1a\"temporal/api/enums/v1/update.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a$temporal/api/common/v1/message.proto\x1a(temporal/api/deployment/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a$temporal/api/update/v1/message.proto\x1a&temporal/api/workflow/v1/message.proto\x1a\x30temporal/api/sdk/v1/task_complete_metadata.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto\"\x9a\x12\n\'WorkflowExecutionStartedEventAttributes\x12;\n\rworkflow_type\x18\x01 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12!\n\x19parent_workflow_namespace\x18\x02 \x01(\t\x12$\n\x1cparent_workflow_namespace_id\x18\x1b \x01(\t\x12L\n\x19parent_workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12!\n\x19parent_initiated_event_id\x18\x04 \x01(\x03\x12\x38\n\ntask_queue\x18\x05 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x06 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\"\n\x1a\x63ontinued_execution_run_id\x18\n \x01(\t\x12@\n\tinitiator\x18\x0b \x01(\x0e\x32-.temporal.api.enums.v1.ContinueAsNewInitiator\x12;\n\x11\x63ontinued_failure\x18\x0c \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12@\n\x16last_completion_result\x18\r \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12!\n\x19original_execution_run_id\x18\x0e \x01(\t\x12\x10\n\x08identity\x18\x0f \x01(\t\x12\x1e\n\x16\x66irst_execution_run_id\x18\x10 \x01(\t\x12\x39\n\x0cretry_policy\x18\x11 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x0f\n\x07\x61ttempt\x18\x12 \x01(\x05\x12\x46\n\"workflow_execution_expiration_time\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x15\n\rcron_schedule\x18\x14 \x01(\t\x12>\n\x1b\x66irst_workflow_task_backoff\x18\x15 \x01(\x0b\x32\x19.google.protobuf.Duration\x12*\n\x04memo\x18\x16 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x17 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x45\n\x16prev_auto_reset_points\x18\x18 \x01(\x0b\x32%.temporal.api.workflow.v1.ResetPoints\x12.\n\x06header\x18\x19 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12&\n\x1eparent_initiated_event_version\x18\x1a \x01(\x03\x12\x13\n\x0bworkflow_id\x18\x1c \x01(\t\x12L\n\x14source_version_stamp\x18\x1d \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\x14\x63ompletion_callbacks\x18\x1e \x03(\x0b\x32 .temporal.api.common.v1.Callback\x12J\n\x17root_workflow_execution\x18\x1f \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1e\n\x12inherited_build_id\x18 \x01(\tB\x02\x18\x01\x12I\n\x13versioning_override\x18! \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12\x33\n\'parent_pinned_worker_deployment_version\x18\" \x01(\tB\x02\x18\x01\x12\x32\n\x08priority\x18# \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12U\n\x18inherited_pinned_version\x18% \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12Y\n\x1binherited_auto_upgrade_info\x18\' \x01(\x0b\x32\x34.temporal.api.deployment.v1.InheritedAutoUpgradeInfo\x12 \n\x18\x65\x61ger_execution_accepted\x18& \x01(\x08\x12^\n\x1f\x64\x65\x63lined_target_version_upgrade\x18( \x01(\x0b\x32\x35.temporal.api.history.v1.DeclinedTargetVersionUpgrade\x12J\n\x14time_skipping_config\x18) \x01(\x0b\x32,.temporal.api.workflow.v1.TimeSkippingConfig\x12;\n\x18initial_skipped_duration\x18* \x01(\x0b\x32\x19.google.protobuf.DurationJ\x04\x08$\x10%R parent_pinned_deployment_version\"\x88\x01\n\x1c\x44\x65\x63linedTargetVersionUpgrade\x12O\n\x12\x64\x65ployment_version\x18\x01 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x17\n\x0frevision_number\x18\x02 \x01(\x03\"\xa5\x01\n)WorkflowExecutionCompletedEventAttributes\x12\x30\n\x06result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x1c\n\x14new_execution_run_id\x18\x03 \x01(\t\"\xdb\x01\n&WorkflowExecutionFailedEventAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x36\n\x0bretry_state\x18\x02 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\x12(\n workflow_task_completed_event_id\x18\x03 \x01(\x03\x12\x1c\n\x14new_execution_run_id\x18\x04 \x01(\t\"\x80\x01\n(WorkflowExecutionTimedOutEventAttributes\x12\x36\n\x0bretry_state\x18\x01 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\x12\x1c\n\x14new_execution_run_id\x18\x02 \x01(\t\"\xa5\x07\n.WorkflowExecutionContinuedAsNewEventAttributes\x12\x1c\n\x14new_execution_run_id\x18\x01 \x01(\t\x12;\n\rworkflow_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x03 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x37\n\x14workflow_run_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12(\n workflow_task_completed_event_id\x18\x07 \x01(\x03\x12\x39\n\x16\x62\x61\x63koff_start_interval\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12@\n\tinitiator\x18\t \x01(\x0e\x32-.temporal.api.enums.v1.ContinueAsNewInitiator\x12\x35\n\x07\x66\x61ilure\x18\n \x01(\x0b\x32 .temporal.api.failure.v1.FailureB\x02\x18\x01\x12@\n\x16last_completion_result\x18\x0b \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12.\n\x06header\x18\x0c \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12*\n\x04memo\x18\r \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0e \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x1c\n\x10inherit_build_id\x18\x0f \x01(\x08\x42\x02\x18\x01\x12[\n\x1binitial_versioning_behavior\x18\x10 \x01(\x0e\x32\x36.temporal.api.enums.v1.ContinueAsNewVersioningBehavior\"\xac\x01\n$WorkflowTaskScheduledEventAttributes\x12\x38\n\ntask_queue\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x39\n\x16start_to_close_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0f\n\x07\x61ttempt\x18\x03 \x01(\x05\"\xa0\x03\n\"WorkflowTaskStartedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12\x1f\n\x17suggest_continue_as_new\x18\x04 \x01(\x08\x12Z\n\x1fsuggest_continue_as_new_reasons\x18\x08 \x03(\x0e\x32\x31.temporal.api.enums.v1.SuggestContinueAsNewReason\x12\x30\n(target_worker_deployment_version_changed\x18\t \x01(\x08\x12\x1a\n\x12history_size_bytes\x18\x05 \x01(\x03\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12%\n\x19\x62uild_id_redirect_counter\x18\x07 \x01(\x03\x42\x02\x18\x01\"\x82\x05\n$WorkflowTaskCompletedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x1b\n\x0f\x62inary_checksum\x18\x04 \x01(\tB\x02\x18\x01\x12\x46\n\x0eworker_version\x18\x05 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12H\n\x0csdk_metadata\x18\x06 \x01(\x0b\x32\x32.temporal.api.sdk.v1.WorkflowTaskCompletedMetadata\x12\x43\n\x11metering_metadata\x18\r \x01(\x0b\x32(.temporal.api.common.v1.MeteringMetadata\x12>\n\ndeployment\x18\x07 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12\x46\n\x13versioning_behavior\x18\x08 \x01(\x0e\x32).temporal.api.enums.v1.VersioningBehavior\x12%\n\x19worker_deployment_version\x18\t \x01(\tB\x02\x18\x01\x12\x1e\n\x16worker_deployment_name\x18\n \x01(\t\x12O\n\x12\x64\x65ployment_version\x18\x0b \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\"\x95\x01\n#WorkflowTaskTimedOutEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12\x38\n\x0ctimeout_type\x18\x03 \x01(\x0e\x32\".temporal.api.enums.v1.TimeoutType\"\x87\x03\n!WorkflowTaskFailedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12=\n\x05\x63\x61use\x18\x03 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowTaskFailedCause\x12\x31\n\x07\x66\x61ilure\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x13\n\x0b\x62\x61se_run_id\x18\x06 \x01(\t\x12\x12\n\nnew_run_id\x18\x07 \x01(\t\x12\x1a\n\x12\x66ork_event_version\x18\x08 \x01(\x03\x12\x1b\n\x0f\x62inary_checksum\x18\t \x01(\tB\x02\x18\x01\x12\x46\n\x0eworker_version\x18\n \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\"\xc2\x05\n$ActivityTaskScheduledEventAttributes\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12;\n\ractivity_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12.\n\x06header\x18\x05 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12/\n\x05input\x18\x06 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12<\n\x19schedule_to_close_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12(\n workflow_task_completed_event_id\x18\x0b \x01(\x03\x12\x39\n\x0cretry_policy\x18\x0c \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12!\n\x15use_workflow_build_id\x18\r \x01(\x08\x42\x02\x18\x01\x12\x32\n\x08priority\x18\x0e \x01(\x0b\x32 .temporal.api.common.v1.PriorityJ\x04\x08\x03\x10\x04\"\x9e\x02\n\"ActivityTaskStartedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12\x0f\n\x07\x61ttempt\x18\x04 \x01(\x05\x12\x36\n\x0clast_failure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12%\n\x19\x62uild_id_redirect_counter\x18\x07 \x01(\x03\x42\x02\x18\x01\"\xe8\x01\n$ActivityTaskCompletedEventAttributes\x12\x30\n\x06result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x1a\n\x12scheduled_event_id\x18\x02 \x01(\x03\x12\x18\n\x10started_event_id\x18\x03 \x01(\x03\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x46\n\x0eworker_version\x18\x05 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\"\x9e\x02\n!ActivityTaskFailedEventAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x1a\n\x12scheduled_event_id\x18\x02 \x01(\x03\x12\x18\n\x10started_event_id\x18\x03 \x01(\x03\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x36\n\x0bretry_state\x18\x05 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\"\xc6\x01\n#ActivityTaskTimedOutEventAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x1a\n\x12scheduled_event_id\x18\x02 \x01(\x03\x12\x18\n\x10started_event_id\x18\x03 \x01(\x03\x12\x36\n\x0bretry_state\x18\x04 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\"r\n*ActivityTaskCancelRequestedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\"\x92\x02\n#ActivityTaskCanceledEventAttributes\x12\x31\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12(\n latest_cancel_requested_event_id\x18\x02 \x01(\x03\x12\x1a\n\x12scheduled_event_id\x18\x03 \x01(\x03\x12\x18\n\x10started_event_id\x18\x04 \x01(\x03\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\"\x93\x01\n\x1bTimerStartedEventAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\x12\x38\n\x15start_to_fire_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12(\n workflow_task_completed_event_id\x18\x03 \x01(\x03\"G\n\x19TimerFiredEventAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\"\x86\x01\n\x1cTimerCanceledEventAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x03 \x01(\x03\x12\x10\n\x08identity\x18\x04 \x01(\t\"\xc7\x01\n/WorkflowExecutionCancelRequestedEventAttributes\x12\r\n\x05\x63\x61use\x18\x01 \x01(\t\x12#\n\x1b\x65xternal_initiated_event_id\x18\x02 \x01(\x03\x12N\n\x1b\x65xternal_workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x04 \x01(\t\"\x87\x01\n(WorkflowExecutionCanceledEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x31\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\"\xe9\x02\n\x1dMarkerRecordedEventAttributes\x12\x13\n\x0bmarker_name\x18\x01 \x01(\t\x12T\n\x07\x64\x65tails\x18\x02 \x03(\x0b\x32\x43.temporal.api.history.v1.MarkerRecordedEventAttributes.DetailsEntry\x12(\n workflow_task_completed_event_id\x18\x03 \x01(\x03\x12.\n\x06header\x18\x04 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x31\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x1aP\n\x0c\x44\x65tailsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12/\n\x05value\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads:\x02\x38\x01\"\xbf\x02\n(WorkflowExecutionSignaledEventAttributes\x12\x13\n\x0bsignal_name\x18\x01 \x01(\t\x12/\n\x05input\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\x12.\n\x06header\x18\x04 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\'\n\x1bskip_generate_workflow_task\x18\x05 \x01(\x08\x42\x02\x18\x01\x12N\n\x1b\x65xternal_workflow_execution\x18\x06 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x12\n\nrequest_id\x18\x07 \x01(\t\"\x81\x01\n*WorkflowExecutionTerminatedEventAttributes\x12\x0e\n\x06reason\x18\x01 \x01(\t\x12\x31\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\"\x9c\x02\n>RequestCancelExternalWorkflowExecutionInitiatedEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x07\x63ontrol\x18\x04 \x01(\tB\x02\x18\x01\x12\x1b\n\x13\x63hild_workflow_only\x18\x05 \x01(\x08\x12\x0e\n\x06reason\x18\x06 \x01(\t\"\xda\x02\n;RequestCancelExternalWorkflowExecutionFailedEventAttributes\x12P\n\x05\x63\x61use\x18\x01 \x01(\x0e\x32\x41.temporal.api.enums.v1.CancelExternalWorkflowExecutionFailedCause\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x11\n\tnamespace\x18\x03 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x04 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x13\n\x07\x63ontrol\x18\x06 \x01(\tB\x02\x18\x01\"\xc5\x01\n7ExternalWorkflowExecutionCancelRequestedEventAttributes\x12\x1a\n\x12initiated_event_id\x18\x01 \x01(\x03\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x04 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\"\xfb\x02\n7SignalExternalWorkflowExecutionInitiatedEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\t \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x0bsignal_name\x18\x04 \x01(\t\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x13\n\x07\x63ontrol\x18\x06 \x01(\tB\x02\x18\x01\x12\x1b\n\x13\x63hild_workflow_only\x18\x07 \x01(\x08\x12.\n\x06header\x18\x08 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\"\xd3\x02\n4SignalExternalWorkflowExecutionFailedEventAttributes\x12P\n\x05\x63\x61use\x18\x01 \x01(\x0e\x32\x41.temporal.api.enums.v1.SignalExternalWorkflowExecutionFailedCause\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x11\n\tnamespace\x18\x03 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x04 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x13\n\x07\x63ontrol\x18\x06 \x01(\tB\x02\x18\x01\"\xd3\x01\n0ExternalWorkflowExecutionSignaledEventAttributes\x12\x1a\n\x12initiated_event_id\x18\x01 \x01(\x03\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x05 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x07\x63ontrol\x18\x04 \x01(\tB\x02\x18\x01\"\x9e\x01\n-UpsertWorkflowSearchAttributesEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x43\n\x11search_attributes\x18\x02 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\"\x8a\x01\n)WorkflowPropertiesModifiedEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x33\n\rupserted_memo\x18\x02 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\"\xf1\x08\n3StartChildWorkflowExecutionInitiatedEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x12 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x45\n\x13parent_close_policy\x18\t \x01(\x0e\x32(.temporal.api.enums.v1.ParentClosePolicy\x12\x13\n\x07\x63ontrol\x18\n \x01(\tB\x02\x18\x01\x12(\n workflow_task_completed_event_id\x18\x0b \x01(\x03\x12N\n\x18workflow_id_reuse_policy\x18\x0c \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12\x39\n\x0cretry_policy\x18\r \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\x0e \x01(\t\x12.\n\x06header\x18\x0f \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12*\n\x04memo\x18\x10 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x11 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x1c\n\x10inherit_build_id\x18\x13 \x01(\x08\x42\x02\x18\x01\x12\x32\n\x08priority\x18\x14 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12J\n\x14time_skipping_config\x18\x15 \x01(\x0b\x32,.temporal.api.workflow.v1.TimeSkippingConfig\x12;\n\x18initial_skipped_duration\x18\x1e \x01(\x0b\x32\x19.google.protobuf.Duration\"\xd6\x02\n0StartChildWorkflowExecutionFailedEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x08 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12L\n\x05\x63\x61use\x18\x04 \x01(\x0e\x32=.temporal.api.enums.v1.StartChildWorkflowExecutionFailedCause\x12\x13\n\x07\x63ontrol\x18\x05 \x01(\tB\x02\x18\x01\x12\x1a\n\x12initiated_event_id\x18\x06 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x07 \x01(\x03\"\xa7\x02\n,ChildWorkflowExecutionStartedEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x06 \x01(\t\x12\x1a\n\x12initiated_event_id\x18\x02 \x01(\x03\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12.\n\x06header\x18\x05 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\"\xc5\x02\n.ChildWorkflowExecutionCompletedEventAttributes\x12\x30\n\x06result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x18\n\x10started_event_id\x18\x06 \x01(\x03\"\xfb\x02\n+ChildWorkflowExecutionFailedEventAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x08 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x18\n\x10started_event_id\x18\x06 \x01(\x03\x12\x36\n\x0bretry_state\x18\x07 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\"\xc5\x02\n-ChildWorkflowExecutionCanceledEventAttributes\x12\x31\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x18\n\x10started_event_id\x18\x06 \x01(\x03\"\xca\x02\n-ChildWorkflowExecutionTimedOutEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x04 \x01(\x03\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03\x12\x36\n\x0bretry_state\x18\x06 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\"\x94\x02\n/ChildWorkflowExecutionTerminatedEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x06 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x04 \x01(\x03\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03\"\x96\x03\n.WorkflowExecutionOptionsUpdatedEventAttributes\x12I\n\x13versioning_override\x18\x01 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12!\n\x19unset_versioning_override\x18\x02 \x01(\x08\x12\x1b\n\x13\x61ttached_request_id\x18\x03 \x01(\t\x12G\n\x1d\x61ttached_completion_callbacks\x18\x04 \x03(\x0b\x32 .temporal.api.common.v1.Callback\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x32\n\x08priority\x18\x06 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12J\n\x14time_skipping_config\x18\x07 \x01(\x0b\x32,.temporal.api.workflow.v1.TimeSkippingConfig\"\xc0\x02\n3WorkflowPropertiesModifiedExternallyEventAttributes\x12\x16\n\x0enew_task_queue\x18\x01 \x01(\t\x12<\n\x19new_workflow_task_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12;\n\x18new_workflow_run_timeout\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x41\n\x1enew_workflow_execution_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x33\n\rupserted_memo\x18\x05 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\"\x90\x01\n3ActivityPropertiesModifiedExternallyEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12=\n\x10new_retry_policy\x18\x02 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\"\xdc\x01\n.WorkflowExecutionUpdateAcceptedEventAttributes\x12\x1c\n\x14protocol_instance_id\x18\x01 \x01(\t\x12#\n\x1b\x61\x63\x63\x65pted_request_message_id\x18\x02 \x01(\t\x12,\n$accepted_request_sequencing_event_id\x18\x03 \x01(\x03\x12\x39\n\x10\x61\x63\x63\x65pted_request\x18\x04 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request\"\xaa\x01\n/WorkflowExecutionUpdateCompletedEventAttributes\x12*\n\x04meta\x18\x01 \x01(\x0b\x32\x1c.temporal.api.update.v1.Meta\x12\x19\n\x11\x61\x63\x63\x65pted_event_id\x18\x03 \x01(\x03\x12\x30\n\x07outcome\x18\x02 \x01(\x0b\x32\x1f.temporal.api.update.v1.Outcome\"\x8f\x02\n.WorkflowExecutionUpdateRejectedEventAttributes\x12\x1c\n\x14protocol_instance_id\x18\x01 \x01(\t\x12#\n\x1brejected_request_message_id\x18\x02 \x01(\t\x12,\n$rejected_request_sequencing_event_id\x18\x03 \x01(\x03\x12\x39\n\x10rejected_request\x18\x04 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request\x12\x31\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\"\xa4\x01\n.WorkflowExecutionUpdateAdmittedEventAttributes\x12\x30\n\x07request\x18\x01 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request\x12@\n\x06origin\x18\x02 \x01(\x0e\x32\x30.temporal.api.enums.v1.UpdateAdmittedEventOrigin\"^\n&WorkflowExecutionPausedEventAttributes\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0e\n\x06reason\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"`\n(WorkflowExecutionUnpausedEventAttributes\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0e\n\x06reason\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"\xbe\x01\n8WorkflowExecutionTimeSkippingTransitionedEventAttributes\x12/\n\x0btarget_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1c\n\x14\x64isabled_after_bound\x18\x02 \x01(\x08\x12\x33\n\x0fwall_clock_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xb4\x04\n&NexusOperationScheduledEventAttributes\x12\x10\n\x08\x65ndpoint\x18\x01 \x01(\t\x12\x0f\n\x07service\x18\x02 \x01(\t\x12\x11\n\toperation\x18\x03 \x01(\t\x12.\n\x05input\x18\x04 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12<\n\x19schedule_to_close_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x66\n\x0cnexus_header\x18\x06 \x03(\x0b\x32P.temporal.api.history.v1.NexusOperationScheduledEventAttributes.NexusHeaderEntry\x12(\n workflow_task_completed_event_id\x18\x07 \x01(\x03\x12\x12\n\nrequest_id\x18\x08 \x01(\t\x12\x13\n\x0b\x65ndpoint_id\x18\t \x01(\t\x12<\n\x19schedule_to_start_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\x0b \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\x32\n\x10NexusHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x89\x01\n$NexusOperationStartedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x0coperation_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x12\n\nrequest_id\x18\x04 \x01(\t\x12\x17\n\x0foperation_token\x18\x05 \x01(\t\"\x89\x01\n&NexusOperationCompletedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12/\n\x06result\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"\x88\x01\n#NexusOperationFailedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"\x8a\x01\n%NexusOperationTimedOutEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"\x8a\x01\n%NexusOperationCanceledEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"t\n,NexusOperationCancelRequestedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\"\x97\x01\n3NexusOperationCancelRequestCompletedEventAttributes\x12\x1a\n\x12requested_event_id\x18\x01 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x1a\n\x12scheduled_event_id\x18\x03 \x01(\x03\"\xc7\x01\n0NexusOperationCancelRequestFailedEventAttributes\x12\x1a\n\x12requested_event_id\x18\x01 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x31\n\x07\x66\x61ilure\x18\x03 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x1a\n\x12scheduled_event_id\x18\x04 \x01(\x03\"\x85?\n\x0cHistoryEvent\x12\x10\n\x08\x65vent_id\x18\x01 \x01(\x03\x12.\n\nevent_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\nevent_type\x18\x03 \x01(\x0e\x32 .temporal.api.enums.v1.EventType\x12\x0f\n\x07version\x18\x04 \x01(\x03\x12\x0f\n\x07task_id\x18\x05 \x01(\x03\x12\x1a\n\x11worker_may_ignore\x18\xac\x02 \x01(\x08\x12\x39\n\ruser_metadata\x18\xad\x02 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12,\n\x05links\x18\xae\x02 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x12\x35\n\tprincipal\x18\xaf\x02 \x01(\x0b\x32!.temporal.api.common.v1.Principal\x12w\n+workflow_execution_started_event_attributes\x18\x06 \x01(\x0b\x32@.temporal.api.history.v1.WorkflowExecutionStartedEventAttributesH\x00\x12{\n-workflow_execution_completed_event_attributes\x18\x07 \x01(\x0b\x32\x42.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributesH\x00\x12u\n*workflow_execution_failed_event_attributes\x18\x08 \x01(\x0b\x32?.temporal.api.history.v1.WorkflowExecutionFailedEventAttributesH\x00\x12z\n-workflow_execution_timed_out_event_attributes\x18\t \x01(\x0b\x32\x41.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributesH\x00\x12q\n(workflow_task_scheduled_event_attributes\x18\n \x01(\x0b\x32=.temporal.api.history.v1.WorkflowTaskScheduledEventAttributesH\x00\x12m\n&workflow_task_started_event_attributes\x18\x0b \x01(\x0b\x32;.temporal.api.history.v1.WorkflowTaskStartedEventAttributesH\x00\x12q\n(workflow_task_completed_event_attributes\x18\x0c \x01(\x0b\x32=.temporal.api.history.v1.WorkflowTaskCompletedEventAttributesH\x00\x12p\n(workflow_task_timed_out_event_attributes\x18\r \x01(\x0b\x32<.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributesH\x00\x12k\n%workflow_task_failed_event_attributes\x18\x0e \x01(\x0b\x32:.temporal.api.history.v1.WorkflowTaskFailedEventAttributesH\x00\x12q\n(activity_task_scheduled_event_attributes\x18\x0f \x01(\x0b\x32=.temporal.api.history.v1.ActivityTaskScheduledEventAttributesH\x00\x12m\n&activity_task_started_event_attributes\x18\x10 \x01(\x0b\x32;.temporal.api.history.v1.ActivityTaskStartedEventAttributesH\x00\x12q\n(activity_task_completed_event_attributes\x18\x11 \x01(\x0b\x32=.temporal.api.history.v1.ActivityTaskCompletedEventAttributesH\x00\x12k\n%activity_task_failed_event_attributes\x18\x12 \x01(\x0b\x32:.temporal.api.history.v1.ActivityTaskFailedEventAttributesH\x00\x12p\n(activity_task_timed_out_event_attributes\x18\x13 \x01(\x0b\x32<.temporal.api.history.v1.ActivityTaskTimedOutEventAttributesH\x00\x12^\n\x1etimer_started_event_attributes\x18\x14 \x01(\x0b\x32\x34.temporal.api.history.v1.TimerStartedEventAttributesH\x00\x12Z\n\x1ctimer_fired_event_attributes\x18\x15 \x01(\x0b\x32\x32.temporal.api.history.v1.TimerFiredEventAttributesH\x00\x12~\n/activity_task_cancel_requested_event_attributes\x18\x16 \x01(\x0b\x32\x43.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributesH\x00\x12o\n\'activity_task_canceled_event_attributes\x18\x17 \x01(\x0b\x32<.temporal.api.history.v1.ActivityTaskCanceledEventAttributesH\x00\x12`\n\x1ftimer_canceled_event_attributes\x18\x18 \x01(\x0b\x32\x35.temporal.api.history.v1.TimerCanceledEventAttributesH\x00\x12\x62\n marker_recorded_event_attributes\x18\x19 \x01(\x0b\x32\x36.temporal.api.history.v1.MarkerRecordedEventAttributesH\x00\x12y\n,workflow_execution_signaled_event_attributes\x18\x1a \x01(\x0b\x32\x41.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributesH\x00\x12}\n.workflow_execution_terminated_event_attributes\x18\x1b \x01(\x0b\x32\x43.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributesH\x00\x12\x88\x01\n4workflow_execution_cancel_requested_event_attributes\x18\x1c \x01(\x0b\x32H.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributesH\x00\x12y\n,workflow_execution_canceled_event_attributes\x18\x1d \x01(\x0b\x32\x41.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributesH\x00\x12\xa8\x01\nErequest_cancel_external_workflow_execution_initiated_event_attributes\x18\x1e \x01(\x0b\x32W.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributesH\x00\x12\xa2\x01\nBrequest_cancel_external_workflow_execution_failed_event_attributes\x18\x1f \x01(\x0b\x32T.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributesH\x00\x12\x99\x01\n=external_workflow_execution_cancel_requested_event_attributes\x18 \x01(\x0b\x32P.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributesH\x00\x12\x87\x01\n4workflow_execution_continued_as_new_event_attributes\x18! \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributesH\x00\x12\x91\x01\n9start_child_workflow_execution_initiated_event_attributes\x18\" \x01(\x0b\x32L.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributesH\x00\x12\x8b\x01\n6start_child_workflow_execution_failed_event_attributes\x18# \x01(\x0b\x32I.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributesH\x00\x12\x82\x01\n1child_workflow_execution_started_event_attributes\x18$ \x01(\x0b\x32\x45.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributesH\x00\x12\x86\x01\n3child_workflow_execution_completed_event_attributes\x18% \x01(\x0b\x32G.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributesH\x00\x12\x80\x01\n0child_workflow_execution_failed_event_attributes\x18& \x01(\x0b\x32\x44.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributesH\x00\x12\x84\x01\n2child_workflow_execution_canceled_event_attributes\x18\' \x01(\x0b\x32\x46.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributesH\x00\x12\x85\x01\n3child_workflow_execution_timed_out_event_attributes\x18( \x01(\x0b\x32\x46.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributesH\x00\x12\x88\x01\n4child_workflow_execution_terminated_event_attributes\x18) \x01(\x0b\x32H.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributesH\x00\x12\x99\x01\n=signal_external_workflow_execution_initiated_event_attributes\x18* \x01(\x0b\x32P.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributesH\x00\x12\x93\x01\n:signal_external_workflow_execution_failed_event_attributes\x18+ \x01(\x0b\x32M.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributesH\x00\x12\x8a\x01\n5external_workflow_execution_signaled_event_attributes\x18, \x01(\x0b\x32I.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributesH\x00\x12\x84\x01\n2upsert_workflow_search_attributes_event_attributes\x18- \x01(\x0b\x32\x46.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributesH\x00\x12\x86\x01\n3workflow_execution_update_accepted_event_attributes\x18. \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributesH\x00\x12\x86\x01\n3workflow_execution_update_rejected_event_attributes\x18/ \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributesH\x00\x12\x88\x01\n4workflow_execution_update_completed_event_attributes\x18\x30 \x01(\x0b\x32H.temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributesH\x00\x12\x90\x01\n8workflow_properties_modified_externally_event_attributes\x18\x31 \x01(\x0b\x32L.temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributesH\x00\x12\x90\x01\n8activity_properties_modified_externally_event_attributes\x18\x32 \x01(\x0b\x32L.temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributesH\x00\x12{\n-workflow_properties_modified_event_attributes\x18\x33 \x01(\x0b\x32\x42.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributesH\x00\x12\x86\x01\n3workflow_execution_update_admitted_event_attributes\x18\x34 \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionUpdateAdmittedEventAttributesH\x00\x12u\n*nexus_operation_scheduled_event_attributes\x18\x35 \x01(\x0b\x32?.temporal.api.history.v1.NexusOperationScheduledEventAttributesH\x00\x12q\n(nexus_operation_started_event_attributes\x18\x36 \x01(\x0b\x32=.temporal.api.history.v1.NexusOperationStartedEventAttributesH\x00\x12u\n*nexus_operation_completed_event_attributes\x18\x37 \x01(\x0b\x32?.temporal.api.history.v1.NexusOperationCompletedEventAttributesH\x00\x12o\n\'nexus_operation_failed_event_attributes\x18\x38 \x01(\x0b\x32<.temporal.api.history.v1.NexusOperationFailedEventAttributesH\x00\x12s\n)nexus_operation_canceled_event_attributes\x18\x39 \x01(\x0b\x32>.temporal.api.history.v1.NexusOperationCanceledEventAttributesH\x00\x12t\n*nexus_operation_timed_out_event_attributes\x18: \x01(\x0b\x32>.temporal.api.history.v1.NexusOperationTimedOutEventAttributesH\x00\x12\x82\x01\n1nexus_operation_cancel_requested_event_attributes\x18; \x01(\x0b\x32\x45.temporal.api.history.v1.NexusOperationCancelRequestedEventAttributesH\x00\x12\x86\x01\n3workflow_execution_options_updated_event_attributes\x18< \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionOptionsUpdatedEventAttributesH\x00\x12\x91\x01\n9nexus_operation_cancel_request_completed_event_attributes\x18= \x01(\x0b\x32L.temporal.api.history.v1.NexusOperationCancelRequestCompletedEventAttributesH\x00\x12\x8b\x01\n6nexus_operation_cancel_request_failed_event_attributes\x18> \x01(\x0b\x32I.temporal.api.history.v1.NexusOperationCancelRequestFailedEventAttributesH\x00\x12u\n*workflow_execution_paused_event_attributes\x18? \x01(\x0b\x32?.temporal.api.history.v1.WorkflowExecutionPausedEventAttributesH\x00\x12y\n,workflow_execution_unpaused_event_attributes\x18@ \x01(\x0b\x32\x41.temporal.api.history.v1.WorkflowExecutionUnpausedEventAttributesH\x00\x12\x9b\x01\n>workflow_execution_time_skipping_transitioned_event_attributes\x18\x41 \x01(\x0b\x32Q.temporal.api.history.v1.WorkflowExecutionTimeSkippingTransitionedEventAttributesH\x00\x42\x0c\n\nattributes\"@\n\x07History\x12\x35\n\x06\x65vents\x18\x01 \x03(\x0b\x32%.temporal.api.history.v1.HistoryEventB\x8e\x01\n\x1aio.temporal.api.history.v1B\x0cMessageProtoP\x01Z%go.temporal.io/api/history/v1;history\xaa\x02\x19Temporalio.Api.History.V1\xea\x02\x1cTemporalio::Api::History::V1b\x06proto3" pool = ::Google::Protobuf::DescriptorPool.generated_pool pool.add_serialized_file(descriptor_data) @@ -80,6 +80,7 @@ module V1 WorkflowExecutionUpdateAdmittedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowExecutionUpdateAdmittedEventAttributes").msgclass WorkflowExecutionPausedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowExecutionPausedEventAttributes").msgclass WorkflowExecutionUnpausedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowExecutionUnpausedEventAttributes").msgclass + WorkflowExecutionTimeSkippingTransitionedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowExecutionTimeSkippingTransitionedEventAttributes").msgclass NexusOperationScheduledEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.NexusOperationScheduledEventAttributes").msgclass NexusOperationStartedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.NexusOperationStartedEventAttributes").msgclass NexusOperationCompletedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.NexusOperationCompletedEventAttributes").msgclass diff --git a/temporalio/lib/temporalio/api/nexus/v1/message.rb b/temporalio/lib/temporalio/api/nexus/v1/message.rb index 33773841..660ae6e4 100644 --- a/temporalio/lib/temporalio/api/nexus/v1/message.rb +++ b/temporalio/lib/temporalio/api/nexus/v1/message.rb @@ -4,13 +4,16 @@ require 'google/protobuf' +require 'google/protobuf/duration_pb' require 'google/protobuf/timestamp_pb' require 'temporalio/api/common/v1/message' +require 'temporalio/api/enums/v1/common' require 'temporalio/api/enums/v1/nexus' require 'temporalio/api/failure/v1/message' +require 'temporalio/api/sdk/v1/user_metadata' -descriptor_data = "\n#temporal/api/nexus/v1/message.proto\x12\x15temporal.api.nexus.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a!temporal/api/enums/v1/nexus.proto\x1a%temporal/api/failure/v1/message.proto\"\xe0\x01\n\x07\x46\x61ilure\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x13\n\x0bstack_trace\x18\x04 \x01(\t\x12>\n\x08metadata\x18\x02 \x03(\x0b\x32,.temporal.api.nexus.v1.Failure.MetadataEntry\x12\x0f\n\x07\x64\x65tails\x18\x03 \x01(\x0c\x12-\n\x05\x63\x61use\x18\x05 \x01(\x0b\x32\x1e.temporal.api.nexus.v1.Failure\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa2\x01\n\x0cHandlerError\x12\x12\n\nerror_type\x18\x01 \x01(\t\x12/\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32\x1e.temporal.api.nexus.v1.Failure\x12M\n\x0eretry_behavior\x18\x03 \x01(\x0e\x32\x35.temporal.api.enums.v1.NexusHandlerErrorRetryBehavior\"f\n\x1aUnsuccessfulOperationError\x12\x17\n\x0foperation_state\x18\x01 \x01(\t\x12/\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32\x1e.temporal.api.nexus.v1.Failure\"!\n\x04Link\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\"\xd1\x02\n\x15StartOperationRequest\x12\x0f\n\x07service\x18\x01 \x01(\t\x12\x11\n\toperation\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12\x10\n\x08\x63\x61llback\x18\x04 \x01(\t\x12\x30\n\x07payload\x18\x05 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12Y\n\x0f\x63\x61llback_header\x18\x06 \x03(\x0b\x32@.temporal.api.nexus.v1.StartOperationRequest.CallbackHeaderEntry\x12*\n\x05links\x18\x07 \x03(\x0b\x32\x1b.temporal.api.nexus.v1.Link\x1a\x35\n\x13\x43\x61llbackHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"o\n\x16\x43\x61ncelOperationRequest\x12\x0f\n\x07service\x18\x01 \x01(\t\x12\x11\n\toperation\x18\x02 \x01(\t\x12\x18\n\x0coperation_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x17\n\x0foperation_token\x18\x04 \x01(\t\"\xd0\x03\n\x07Request\x12:\n\x06header\x18\x01 \x03(\x0b\x32*.temporal.api.nexus.v1.Request.HeaderEntry\x12\x32\n\x0escheduled_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x41\n\x0c\x63\x61pabilities\x18\x64 \x01(\x0b\x32+.temporal.api.nexus.v1.Request.Capabilities\x12G\n\x0fstart_operation\x18\x03 \x01(\x0b\x32,.temporal.api.nexus.v1.StartOperationRequestH\x00\x12I\n\x10\x63\x61ncel_operation\x18\x04 \x01(\x0b\x32-.temporal.api.nexus.v1.CancelOperationRequestH\x00\x12\x10\n\x08\x65ndpoint\x18\n \x01(\t\x1a\x32\n\x0c\x43\x61pabilities\x12\"\n\x1atemporal_failure_responses\x18\x01 \x01(\x08\x1a-\n\x0bHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\t\n\x07variant\"\x92\x04\n\x16StartOperationResponse\x12J\n\x0csync_success\x18\x01 \x01(\x0b\x32\x32.temporal.api.nexus.v1.StartOperationResponse.SyncH\x00\x12L\n\rasync_success\x18\x02 \x01(\x0b\x32\x33.temporal.api.nexus.v1.StartOperationResponse.AsyncH\x00\x12P\n\x0foperation_error\x18\x03 \x01(\x0b\x32\x31.temporal.api.nexus.v1.UnsuccessfulOperationErrorB\x02\x18\x01H\x00\x12\x33\n\x07\x66\x61ilure\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x1a\x64\n\x04Sync\x12\x30\n\x07payload\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12*\n\x05links\x18\x02 \x03(\x0b\x32\x1b.temporal.api.nexus.v1.Link\x1a\x66\n\x05\x41sync\x12\x18\n\x0coperation_id\x18\x01 \x01(\tB\x02\x18\x01\x12*\n\x05links\x18\x02 \x03(\x0b\x32\x1b.temporal.api.nexus.v1.Link\x12\x17\n\x0foperation_token\x18\x03 \x01(\tB\t\n\x07variant\"\x19\n\x17\x43\x61ncelOperationResponse\"\xab\x01\n\x08Response\x12H\n\x0fstart_operation\x18\x01 \x01(\x0b\x32-.temporal.api.nexus.v1.StartOperationResponseH\x00\x12J\n\x10\x63\x61ncel_operation\x18\x02 \x01(\x0b\x32..temporal.api.nexus.v1.CancelOperationResponseH\x00\x42\t\n\x07variant\"\xd8\x01\n\x08\x45ndpoint\x12\x0f\n\x07version\x18\x01 \x01(\x03\x12\n\n\x02id\x18\x02 \x01(\t\x12\x31\n\x04spec\x18\x03 \x01(\x0b\x32#.temporal.api.nexus.v1.EndpointSpec\x12\x30\n\x0c\x63reated_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nurl_prefix\x18\x06 \x01(\t\"\x89\x01\n\x0c\x45ndpointSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x0b\x64\x65scription\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x35\n\x06target\x18\x03 \x01(\x0b\x32%.temporal.api.nexus.v1.EndpointTarget\"\xe9\x01\n\x0e\x45ndpointTarget\x12>\n\x06worker\x18\x01 \x01(\x0b\x32,.temporal.api.nexus.v1.EndpointTarget.WorkerH\x00\x12\x42\n\x08\x65xternal\x18\x02 \x01(\x0b\x32..temporal.api.nexus.v1.EndpointTarget.ExternalH\x00\x1a/\n\x06Worker\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x1a\x17\n\x08\x45xternal\x12\x0b\n\x03url\x18\x01 \x01(\tB\t\n\x07variantB\x84\x01\n\x18io.temporal.api.nexus.v1B\x0cMessageProtoP\x01Z!go.temporal.io/api/nexus/v1;nexus\xaa\x02\x17Temporalio.Api.Nexus.V1\xea\x02\x1aTemporalio::Api::Nexus::V1b\x06proto3" +descriptor_data = "\n#temporal/api/nexus/v1/message.proto\x12\x15temporal.api.nexus.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a\"temporal/api/enums/v1/common.proto\x1a!temporal/api/enums/v1/nexus.proto\x1a%temporal/api/failure/v1/message.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto\"\xe0\x01\n\x07\x46\x61ilure\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x13\n\x0bstack_trace\x18\x04 \x01(\t\x12>\n\x08metadata\x18\x02 \x03(\x0b\x32,.temporal.api.nexus.v1.Failure.MetadataEntry\x12\x0f\n\x07\x64\x65tails\x18\x03 \x01(\x0c\x12-\n\x05\x63\x61use\x18\x05 \x01(\x0b\x32\x1e.temporal.api.nexus.v1.Failure\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa2\x01\n\x0cHandlerError\x12\x12\n\nerror_type\x18\x01 \x01(\t\x12/\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32\x1e.temporal.api.nexus.v1.Failure\x12M\n\x0eretry_behavior\x18\x03 \x01(\x0e\x32\x35.temporal.api.enums.v1.NexusHandlerErrorRetryBehavior\"f\n\x1aUnsuccessfulOperationError\x12\x17\n\x0foperation_state\x18\x01 \x01(\t\x12/\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32\x1e.temporal.api.nexus.v1.Failure\"!\n\x04Link\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\"\xd1\x02\n\x15StartOperationRequest\x12\x0f\n\x07service\x18\x01 \x01(\t\x12\x11\n\toperation\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12\x10\n\x08\x63\x61llback\x18\x04 \x01(\t\x12\x30\n\x07payload\x18\x05 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12Y\n\x0f\x63\x61llback_header\x18\x06 \x03(\x0b\x32@.temporal.api.nexus.v1.StartOperationRequest.CallbackHeaderEntry\x12*\n\x05links\x18\x07 \x03(\x0b\x32\x1b.temporal.api.nexus.v1.Link\x1a\x35\n\x13\x43\x61llbackHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"o\n\x16\x43\x61ncelOperationRequest\x12\x0f\n\x07service\x18\x01 \x01(\t\x12\x11\n\toperation\x18\x02 \x01(\t\x12\x18\n\x0coperation_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x17\n\x0foperation_token\x18\x04 \x01(\t\"\xd0\x03\n\x07Request\x12:\n\x06header\x18\x01 \x03(\x0b\x32*.temporal.api.nexus.v1.Request.HeaderEntry\x12\x32\n\x0escheduled_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x41\n\x0c\x63\x61pabilities\x18\x64 \x01(\x0b\x32+.temporal.api.nexus.v1.Request.Capabilities\x12G\n\x0fstart_operation\x18\x03 \x01(\x0b\x32,.temporal.api.nexus.v1.StartOperationRequestH\x00\x12I\n\x10\x63\x61ncel_operation\x18\x04 \x01(\x0b\x32-.temporal.api.nexus.v1.CancelOperationRequestH\x00\x12\x10\n\x08\x65ndpoint\x18\n \x01(\t\x1a\x32\n\x0c\x43\x61pabilities\x12\"\n\x1atemporal_failure_responses\x18\x01 \x01(\x08\x1a-\n\x0bHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\t\n\x07variant\"\x92\x04\n\x16StartOperationResponse\x12J\n\x0csync_success\x18\x01 \x01(\x0b\x32\x32.temporal.api.nexus.v1.StartOperationResponse.SyncH\x00\x12L\n\rasync_success\x18\x02 \x01(\x0b\x32\x33.temporal.api.nexus.v1.StartOperationResponse.AsyncH\x00\x12P\n\x0foperation_error\x18\x03 \x01(\x0b\x32\x31.temporal.api.nexus.v1.UnsuccessfulOperationErrorB\x02\x18\x01H\x00\x12\x33\n\x07\x66\x61ilure\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x1a\x64\n\x04Sync\x12\x30\n\x07payload\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12*\n\x05links\x18\x02 \x03(\x0b\x32\x1b.temporal.api.nexus.v1.Link\x1a\x66\n\x05\x41sync\x12\x18\n\x0coperation_id\x18\x01 \x01(\tB\x02\x18\x01\x12*\n\x05links\x18\x02 \x03(\x0b\x32\x1b.temporal.api.nexus.v1.Link\x12\x17\n\x0foperation_token\x18\x03 \x01(\tB\t\n\x07variant\"\x19\n\x17\x43\x61ncelOperationResponse\"\xab\x01\n\x08Response\x12H\n\x0fstart_operation\x18\x01 \x01(\x0b\x32-.temporal.api.nexus.v1.StartOperationResponseH\x00\x12J\n\x10\x63\x61ncel_operation\x18\x02 \x01(\x0b\x32..temporal.api.nexus.v1.CancelOperationResponseH\x00\x42\t\n\x07variant\"\xd8\x01\n\x08\x45ndpoint\x12\x0f\n\x07version\x18\x01 \x01(\x03\x12\n\n\x02id\x18\x02 \x01(\t\x12\x31\n\x04spec\x18\x03 \x01(\x0b\x32#.temporal.api.nexus.v1.EndpointSpec\x12\x30\n\x0c\x63reated_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nurl_prefix\x18\x06 \x01(\t\"\x89\x01\n\x0c\x45ndpointSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x0b\x64\x65scription\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x35\n\x06target\x18\x03 \x01(\x0b\x32%.temporal.api.nexus.v1.EndpointTarget\"\xe9\x01\n\x0e\x45ndpointTarget\x12>\n\x06worker\x18\x01 \x01(\x0b\x32,.temporal.api.nexus.v1.EndpointTarget.WorkerH\x00\x12\x42\n\x08\x65xternal\x18\x02 \x01(\x0b\x32..temporal.api.nexus.v1.EndpointTarget.ExternalH\x00\x1a/\n\x06Worker\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x1a\x17\n\x08\x45xternal\x12\x0b\n\x03url\x18\x01 \x01(\tB\t\n\x07variant\"\x9d\x03\n\'NexusOperationExecutionCancellationInfo\x12\x32\n\x0erequested_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x45\n\x05state\x18\x02 \x01(\x0e\x32\x36.temporal.api.enums.v1.NexusOperationCancellationState\x12\x0f\n\x07\x61ttempt\x18\x03 \x01(\x05\x12>\n\x1alast_attempt_complete_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x14last_attempt_failure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12>\n\x1anext_attempt_schedule_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0e\x62locked_reason\x18\x07 \x01(\t\x12\x0e\n\x06reason\x18\x08 \x01(\t\"\xe5\n\n\x1bNexusOperationExecutionInfo\x12\x14\n\x0coperation_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\x12\x10\n\x08\x65ndpoint\x18\x03 \x01(\t\x12\x0f\n\x07service\x18\x04 \x01(\t\x12\x11\n\toperation\x18\x05 \x01(\t\x12\x44\n\x06status\x18\x06 \x01(\x0e\x32\x34.temporal.api.enums.v1.NexusOperationExecutionStatus\x12@\n\x05state\x18\x07 \x01(\x0e\x32\x31.temporal.api.enums.v1.PendingNexusOperationState\x12<\n\x19schedule_to_close_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0f\n\x07\x61ttempt\x18\x0b \x01(\x05\x12\x31\n\rschedule_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x0f\x65xpiration_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nclose_time\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x1alast_attempt_complete_time\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x14last_attempt_failure\x18\x10 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12>\n\x1anext_attempt_schedule_time\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x12\x65xecution_duration\x18\x12 \x01(\x0b\x32\x19.google.protobuf.Duration\x12Y\n\x11\x63\x61ncellation_info\x18\x13 \x01(\x0b\x32>.temporal.api.nexus.v1.NexusOperationExecutionCancellationInfo\x12\x16\n\x0e\x62locked_reason\x18\x14 \x01(\t\x12\x12\n\nrequest_id\x18\x15 \x01(\t\x12\x17\n\x0foperation_token\x18\x16 \x01(\t\x12\x1e\n\x16state_transition_count\x18\x17 \x01(\x03\x12\x43\n\x11search_attributes\x18\x18 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12Y\n\x0cnexus_header\x18\x19 \x03(\x0b\x32\x43.temporal.api.nexus.v1.NexusOperationExecutionInfo.NexusHeaderEntry\x12\x38\n\ruser_metadata\x18\x1a \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12+\n\x05links\x18\x1b \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x12\x10\n\x08identity\x18\x1c \x01(\t\x1a\x32\n\x10NexusHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xc2\x03\n\x1fNexusOperationExecutionListInfo\x12\x14\n\x0coperation_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\x12\x10\n\x08\x65ndpoint\x18\x03 \x01(\t\x12\x0f\n\x07service\x18\x04 \x01(\t\x12\x11\n\toperation\x18\x05 \x01(\t\x12\x31\n\rschedule_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nclose_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x44\n\x06status\x18\x08 \x01(\x0e\x32\x34.temporal.api.enums.v1.NexusOperationExecutionStatus\x12\x43\n\x11search_attributes\x18\t \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x1e\n\x16state_transition_count\x18\n \x01(\x03\x12\x35\n\x12\x65xecution_duration\x18\x0b \x01(\x0b\x32\x19.google.protobuf.DurationB\x84\x01\n\x18io.temporal.api.nexus.v1B\x0cMessageProtoP\x01Z!go.temporal.io/api/nexus/v1;nexus\xaa\x02\x17Temporalio.Api.Nexus.V1\xea\x02\x1aTemporalio::Api::Nexus::V1b\x06proto3" pool = ::Google::Protobuf::DescriptorPool.generated_pool pool.add_serialized_file(descriptor_data) @@ -37,6 +40,9 @@ module V1 EndpointTarget = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.nexus.v1.EndpointTarget").msgclass EndpointTarget::Worker = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.nexus.v1.EndpointTarget.Worker").msgclass EndpointTarget::External = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.nexus.v1.EndpointTarget.External").msgclass + NexusOperationExecutionCancellationInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.nexus.v1.NexusOperationExecutionCancellationInfo").msgclass + NexusOperationExecutionInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.nexus.v1.NexusOperationExecutionInfo").msgclass + NexusOperationExecutionListInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.nexus.v1.NexusOperationExecutionListInfo").msgclass end end end diff --git a/temporalio/lib/temporalio/api/nexusservices/workerservice/v1/request_response.rb b/temporalio/lib/temporalio/api/nexusservices/workerservice/v1/request_response.rb new file mode 100644 index 00000000..177c3139 --- /dev/null +++ b/temporalio/lib/temporalio/api/nexusservices/workerservice/v1/request_response.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: temporal/api/nexusservices/workerservice/v1/request_response.proto + +require 'google/protobuf' + +require 'temporalio/api/worker/v1/message' + + +descriptor_data = "\nBtemporal/api/nexusservices/workerservice/v1/request_response.proto\x12+temporal.api.nexusservices.workerservice.v1\x1a$temporal/api/worker/v1/message.proto\"Q\n\x16\x45xecuteCommandsRequest\x12\x37\n\x08\x63ommands\x18\x01 \x03(\x0b\x32%.temporal.api.worker.v1.WorkerCommand\"W\n\x17\x45xecuteCommandsResponse\x12<\n\x07results\x18\x01 \x03(\x0b\x32+.temporal.api.worker.v1.WorkerCommandResultB\xed\x01\n.io.temporal.api.nexusservices.workerservice.v1B\x14RequestResponseProtoP\x01Z?go.temporal.io/api/nexusservices/workerservice/v1;workerservice\xaa\x02-Temporalio.Api.Nexusservices.Workerservice.V1\xea\x02\x31Temporalio::Api::Nexusservices::Workerservice::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) + +module Temporalio + module Api + module Nexusservices + module Workerservice + module V1 + ExecuteCommandsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.nexusservices.workerservice.v1.ExecuteCommandsRequest").msgclass + ExecuteCommandsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.nexusservices.workerservice.v1.ExecuteCommandsResponse").msgclass + end + end + end + end +end diff --git a/temporalio/lib/temporalio/api/payload_visitor.rb b/temporalio/lib/temporalio/api/payload_visitor.rb index 5c0c4f3e..cc3735f8 100644 --- a/temporalio/lib/temporalio/api/payload_visitor.rb +++ b/temporalio/lib/temporalio/api/payload_visitor.rb @@ -111,6 +111,12 @@ def api_activity_v1_activity_execution_outcome(value) @on_exit&.call(value) end + def api_activity_v1_callback_info(value) + @on_enter&.call(value) + api_callback_v1_callback_info(value.info) if value.has_info? + @on_exit&.call(value) + end + def api_batch_v1_batch_operation_reset(value) @on_enter&.call(value) value.post_reset_operations.each { |v| api_workflow_v1_post_reset_operation(v) } @@ -130,6 +136,12 @@ def api_batch_v1_batch_operation_termination(value) @on_exit&.call(value) end + def api_callback_v1_callback_info(value) + @on_enter&.call(value) + api_failure_v1_failure(value.last_attempt_failure) if value.has_last_attempt_failure? + @on_exit&.call(value) + end + def api_cloud_cloudservice_v1_add_namespace_region_response(value) @on_enter&.call(value) api_cloud_operation_v1_async_operation(value.async_operation) if value.has_async_operation? @@ -142,12 +154,24 @@ def api_cloud_cloudservice_v1_add_user_group_member_response(value) @on_exit&.call(value) end + def api_cloud_cloudservice_v1_create_account_audit_log_sink_response(value) + @on_enter&.call(value) + api_cloud_operation_v1_async_operation(value.async_operation) if value.has_async_operation? + @on_exit&.call(value) + end + def api_cloud_cloudservice_v1_create_api_key_response(value) @on_enter&.call(value) api_cloud_operation_v1_async_operation(value.async_operation) if value.has_async_operation? @on_exit&.call(value) end + def api_cloud_cloudservice_v1_create_billing_report_response(value) + @on_enter&.call(value) + api_cloud_operation_v1_async_operation(value.async_operation) if value.has_async_operation? + @on_exit&.call(value) + end + def api_cloud_cloudservice_v1_create_connectivity_rule_response(value) @on_enter&.call(value) api_cloud_operation_v1_async_operation(value.async_operation) if value.has_async_operation? @@ -196,6 +220,12 @@ def api_cloud_cloudservice_v1_create_user_response(value) @on_exit&.call(value) end + def api_cloud_cloudservice_v1_delete_account_audit_log_sink_response(value) + @on_enter&.call(value) + api_cloud_operation_v1_async_operation(value.async_operation) if value.has_async_operation? + @on_exit&.call(value) + end + def api_cloud_cloudservice_v1_delete_api_key_response(value) @on_enter&.call(value) api_cloud_operation_v1_async_operation(value.async_operation) if value.has_async_operation? @@ -304,6 +334,12 @@ def api_cloud_cloudservice_v1_set_user_namespace_access_response(value) @on_exit&.call(value) end + def api_cloud_cloudservice_v1_update_account_audit_log_sink_response(value) + @on_enter&.call(value) + api_cloud_operation_v1_async_operation(value.async_operation) if value.has_async_operation? + @on_exit&.call(value) + end + def api_cloud_cloudservice_v1_update_account_response(value) @on_enter&.call(value) api_cloud_operation_v1_async_operation(value.async_operation) if value.has_async_operation? @@ -502,6 +538,37 @@ def api_common_v1_search_attributes(value) @on_exit&.call(value) end + def api_compute_v1_compute_config(value) + @on_enter&.call(value) + value.scaling_groups.values.each { |v| api_compute_v1_compute_config_scaling_group(v) } + @on_exit&.call(value) + end + + def api_compute_v1_compute_config_scaling_group(value) + @on_enter&.call(value) + api_compute_v1_compute_provider(value.provider) if value.has_provider? + api_compute_v1_compute_scaler(value.scaler) if value.has_scaler? + @on_exit&.call(value) + end + + def api_compute_v1_compute_config_scaling_group_update(value) + @on_enter&.call(value) + api_compute_v1_compute_config_scaling_group(value.scaling_group) if value.has_scaling_group? + @on_exit&.call(value) + end + + def api_compute_v1_compute_provider(value) + @on_enter&.call(value) + api_common_v1_payload(value.details) if value.has_details? + @on_exit&.call(value) + end + + def api_compute_v1_compute_scaler(value) + @on_enter&.call(value) + api_common_v1_payload(value.details) if value.has_details? + @on_exit&.call(value) + end + def api_deployment_v1_deployment_info(value) @on_enter&.call(value) value.metadata.values.each { |v| api_common_v1_payload(v) } @@ -523,6 +590,7 @@ def api_deployment_v1_version_metadata(value) def api_deployment_v1_worker_deployment_version_info(value) @on_enter&.call(value) api_deployment_v1_version_metadata(value.metadata) if value.has_metadata? + api_compute_v1_compute_config(value.compute_config) if value.has_compute_config? @on_exit&.call(value) end @@ -854,6 +922,27 @@ def api_nexus_v1_endpoint_spec(value) @on_exit&.call(value) end + def api_nexus_v1_nexus_operation_execution_cancellation_info(value) + @on_enter&.call(value) + api_failure_v1_failure(value.last_attempt_failure) if value.has_last_attempt_failure? + @on_exit&.call(value) + end + + def api_nexus_v1_nexus_operation_execution_info(value) + @on_enter&.call(value) + api_failure_v1_failure(value.last_attempt_failure) if value.has_last_attempt_failure? + api_nexus_v1_nexus_operation_execution_cancellation_info(value.cancellation_info) if value.has_cancellation_info? + api_common_v1_search_attributes(value.search_attributes) if value.has_search_attributes? + api_sdk_v1_user_metadata(value.user_metadata) if value.has_user_metadata? + @on_exit&.call(value) + end + + def api_nexus_v1_nexus_operation_execution_list_info(value) + @on_enter&.call(value) + api_common_v1_search_attributes(value.search_attributes) if value.has_search_attributes? + @on_exit&.call(value) + end + def api_nexus_v1_request(value) @on_enter&.call(value) api_nexus_v1_start_operation_request(value.start_operation) if value.has_start_operation? @@ -1061,6 +1150,18 @@ def api_workflowservice_v1_count_activity_executions_response_aggregation_group( @on_exit&.call(value) end + def api_workflowservice_v1_count_nexus_operation_executions_response(value) + @on_enter&.call(value) + value.groups.each { |v| api_workflowservice_v1_count_nexus_operation_executions_response_aggregation_group(v) } + @on_exit&.call(value) + end + + def api_workflowservice_v1_count_nexus_operation_executions_response_aggregation_group(value) + @on_enter&.call(value) + api_common_v1_payload_repeated(value.group_values) unless value.group_values.empty? + @on_exit&.call(value) + end + def api_workflowservice_v1_count_schedules_response(value) @on_enter&.call(value) value.groups.each { |v| api_workflowservice_v1_count_schedules_response_aggregation_group(v) } @@ -1093,11 +1194,18 @@ def api_workflowservice_v1_create_schedule_request(value) @on_exit&.call(value) end + def api_workflowservice_v1_create_worker_deployment_version_request(value) + @on_enter&.call(value) + api_compute_v1_compute_config(value.compute_config) if value.has_compute_config? + @on_exit&.call(value) + end + def api_workflowservice_v1_describe_activity_execution_response(value) @on_enter&.call(value) api_activity_v1_activity_execution_info(value.info) if value.has_info? api_common_v1_payloads(value.input) if value.has_input? api_activity_v1_activity_execution_outcome(value.outcome) if value.has_outcome? + value.callbacks.each { |v| api_activity_v1_callback_info(v) } @on_exit&.call(value) end @@ -1107,6 +1215,15 @@ def api_workflowservice_v1_describe_deployment_response(value) @on_exit&.call(value) end + def api_workflowservice_v1_describe_nexus_operation_execution_response(value) + @on_enter&.call(value) + api_nexus_v1_nexus_operation_execution_info(value.info) if value.has_info? + api_common_v1_payload(value.input) if value.has_input? + api_common_v1_payload(value.result) if value.has_result? + api_failure_v1_failure(value.failure) if value.has_failure? + @on_exit&.call(value) + end + def api_workflowservice_v1_describe_schedule_response(value) @on_enter&.call(value) api_schedule_v1_schedule(value.schedule) if value.has_schedule? @@ -1199,6 +1316,12 @@ def api_workflowservice_v1_list_closed_workflow_executions_response(value) @on_exit&.call(value) end + def api_workflowservice_v1_list_nexus_operation_executions_response(value) + @on_enter&.call(value) + value.operations.each { |v| api_nexus_v1_nexus_operation_execution_list_info(v) } + @on_exit&.call(value) + end + def api_workflowservice_v1_list_open_workflow_executions_response(value) @on_enter&.call(value) value.executions.each { |v| api_workflow_v1_workflow_execution_info(v) } @@ -1231,6 +1354,13 @@ def api_workflowservice_v1_poll_activity_task_queue_response(value) @on_exit&.call(value) end + def api_workflowservice_v1_poll_nexus_operation_execution_response(value) + @on_enter&.call(value) + api_common_v1_payload(value.result) if value.has_result? + api_failure_v1_failure(value.failure) if value.has_failure? + @on_exit&.call(value) + end + def api_workflowservice_v1_poll_nexus_task_queue_response(value) @on_enter&.call(value) api_nexus_v1_request(value.request) if value.has_request? @@ -1427,6 +1557,14 @@ def api_workflowservice_v1_start_batch_operation_request(value) @on_exit&.call(value) end + def api_workflowservice_v1_start_nexus_operation_execution_request(value) + @on_enter&.call(value) + api_common_v1_payload(value.input) if value.has_input? + api_common_v1_search_attributes(value.search_attributes) if value.has_search_attributes? + api_sdk_v1_user_metadata(value.user_metadata) if value.has_user_metadata? + @on_exit&.call(value) + end + def api_workflowservice_v1_start_workflow_execution_request(value) @on_enter&.call(value) api_common_v1_payloads(value.input) if value.has_input? @@ -1455,6 +1593,13 @@ def api_workflowservice_v1_update_schedule_request(value) @on_enter&.call(value) api_schedule_v1_schedule(value.schedule) if value.has_schedule? api_common_v1_search_attributes(value.search_attributes) if value.has_search_attributes? + api_common_v1_memo(value.memo) if value.has_memo? + @on_exit&.call(value) + end + + def api_workflowservice_v1_update_worker_deployment_version_compute_config_request(value) + @on_enter&.call(value) + value.compute_config_scaling_groups.values.each { |v| api_compute_v1_compute_config_scaling_group_update(v) } @on_exit&.call(value) end @@ -1482,6 +1627,12 @@ def api_workflowservice_v1_update_workflow_execution_response(value) @on_exit&.call(value) end + def api_workflowservice_v1_validate_worker_deployment_version_compute_config_request(value) + @on_enter&.call(value) + value.compute_config_scaling_groups.values.each { |v| api_compute_v1_compute_config_scaling_group_update(v) } + @on_exit&.call(value) + end + def coresdk_activity_result_activity_resolution(value) @on_enter&.call(value) coresdk_activity_result_success(value.completed) if value.has_completed? diff --git a/temporalio/lib/temporalio/api/protoc_gen_openapiv2/options/annotations.rb b/temporalio/lib/temporalio/api/protoc_gen_openapiv2/options/annotations.rb new file mode 100644 index 00000000..6c2960bb --- /dev/null +++ b/temporalio/lib/temporalio/api/protoc_gen_openapiv2/options/annotations.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: protoc-gen-openapiv2/options/annotations.proto + +require 'google/protobuf' + +require 'google/protobuf/descriptor_pb' +require 'temporalio/api/protoc_gen_openapiv2/options/openapiv2' + + +descriptor_data = "\n.protoc-gen-openapiv2/options/annotations.proto\x12)grpc.gateway.protoc_gen_openapiv2.options\x1a google/protobuf/descriptor.proto\x1a,protoc-gen-openapiv2/options/openapiv2.proto:l\n\x11openapiv2_swagger\x12\x1c.google.protobuf.FileOptions\x18\x92\x08 \x01(\x0b\x32\x32.grpc.gateway.protoc_gen_openapiv2.options.Swagger:r\n\x13openapiv2_operation\x12\x1e.google.protobuf.MethodOptions\x18\x92\x08 \x01(\x0b\x32\x34.grpc.gateway.protoc_gen_openapiv2.options.Operation:m\n\x10openapiv2_schema\x12\x1f.google.protobuf.MessageOptions\x18\x92\x08 \x01(\x0b\x32\x31.grpc.gateway.protoc_gen_openapiv2.options.Schema:l\n\x0eopenapiv2_enum\x12\x1c.google.protobuf.EnumOptions\x18\x92\x08 \x01(\x0b\x32\x35.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema:g\n\ropenapiv2_tag\x12\x1f.google.protobuf.ServiceOptions\x18\x92\x08 \x01(\x0b\x32..grpc.gateway.protoc_gen_openapiv2.options.Tag:n\n\x0fopenapiv2_field\x12\x1d.google.protobuf.FieldOptions\x18\x92\x08 \x01(\x0b\x32\x35.grpc.gateway.protoc_gen_openapiv2.options.JSONSchemaBHZFgithub.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/optionsb\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) + +module Grpc + module Gateway + module ProtocGenOpenapiv2 + module Options + end + end + end +end diff --git a/temporalio/lib/temporalio/api/protoc_gen_openapiv2/options/openapiv2.rb b/temporalio/lib/temporalio/api/protoc_gen_openapiv2/options/openapiv2.rb new file mode 100644 index 00000000..bc5681ff --- /dev/null +++ b/temporalio/lib/temporalio/api/protoc_gen_openapiv2/options/openapiv2.rb @@ -0,0 +1,48 @@ +# frozen_string_literal: true +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: protoc-gen-openapiv2/options/openapiv2.proto + +require 'google/protobuf' + +require 'google/protobuf/struct_pb' + + +descriptor_data = "\n,protoc-gen-openapiv2/options/openapiv2.proto\x12)grpc.gateway.protoc_gen_openapiv2.options\x1a\x1cgoogle/protobuf/struct.proto\"\x95\x07\n\x07Swagger\x12\x0f\n\x07swagger\x18\x01 \x01(\t\x12=\n\x04info\x18\x02 \x01(\x0b\x32/.grpc.gateway.protoc_gen_openapiv2.options.Info\x12\x0c\n\x04host\x18\x03 \x01(\t\x12\x11\n\tbase_path\x18\x04 \x01(\t\x12\x42\n\x07schemes\x18\x05 \x03(\x0e\x32\x31.grpc.gateway.protoc_gen_openapiv2.options.Scheme\x12\x10\n\x08\x63onsumes\x18\x06 \x03(\t\x12\x10\n\x08produces\x18\x07 \x03(\t\x12T\n\tresponses\x18\n \x03(\x0b\x32\x41.grpc.gateway.protoc_gen_openapiv2.options.Swagger.ResponsesEntry\x12\\\n\x14security_definitions\x18\x0b \x01(\x0b\x32>.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions\x12P\n\x08security\x18\x0c \x03(\x0b\x32>.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement\x12<\n\x04tags\x18\r \x03(\x0b\x32..grpc.gateway.protoc_gen_openapiv2.options.Tag\x12W\n\rexternal_docs\x18\x0e \x01(\x0b\x32@.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation\x12V\n\nextensions\x18\x0f \x03(\x0b\x32\x42.grpc.gateway.protoc_gen_openapiv2.options.Swagger.ExtensionsEntry\x1a\x65\n\x0eResponsesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x42\n\x05value\x18\x02 \x01(\x0b\x32\x33.grpc.gateway.protoc_gen_openapiv2.options.Response:\x02\x38\x01\x1aI\n\x0f\x45xtensionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01J\x04\x08\x08\x10\tJ\x04\x08\t\x10\n\"\xb1\x06\n\tOperation\x12\x0c\n\x04tags\x18\x01 \x03(\t\x12\x0f\n\x07summary\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12W\n\rexternal_docs\x18\x04 \x01(\x0b\x32@.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation\x12\x14\n\x0coperation_id\x18\x05 \x01(\t\x12\x10\n\x08\x63onsumes\x18\x06 \x03(\t\x12\x10\n\x08produces\x18\x07 \x03(\t\x12V\n\tresponses\x18\t \x03(\x0b\x32\x43.grpc.gateway.protoc_gen_openapiv2.options.Operation.ResponsesEntry\x12\x42\n\x07schemes\x18\n \x03(\x0e\x32\x31.grpc.gateway.protoc_gen_openapiv2.options.Scheme\x12\x12\n\ndeprecated\x18\x0b \x01(\x08\x12P\n\x08security\x18\x0c \x03(\x0b\x32>.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement\x12X\n\nextensions\x18\r \x03(\x0b\x32\x44.grpc.gateway.protoc_gen_openapiv2.options.Operation.ExtensionsEntry\x12I\n\nparameters\x18\x0e \x01(\x0b\x32\x35.grpc.gateway.protoc_gen_openapiv2.options.Parameters\x1a\x65\n\x0eResponsesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x42\n\x05value\x18\x02 \x01(\x0b\x32\x33.grpc.gateway.protoc_gen_openapiv2.options.Response:\x02\x38\x01\x1aI\n\x0f\x45xtensionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01J\x04\x08\x08\x10\t\"Y\n\nParameters\x12K\n\x07headers\x18\x01 \x03(\x0b\x32:.grpc.gateway.protoc_gen_openapiv2.options.HeaderParameter\"\xf8\x01\n\x0fHeaderParameter\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12M\n\x04type\x18\x03 \x01(\x0e\x32?.grpc.gateway.protoc_gen_openapiv2.options.HeaderParameter.Type\x12\x0e\n\x06\x66ormat\x18\x04 \x01(\t\x12\x10\n\x08required\x18\x05 \x01(\x08\"E\n\x04Type\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06STRING\x10\x01\x12\n\n\x06NUMBER\x10\x02\x12\x0b\n\x07INTEGER\x10\x03\x12\x0b\n\x07\x42OOLEAN\x10\x04J\x04\x08\x06\x10\x07J\x04\x08\x07\x10\x08\"\xab\x01\n\x06Header\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x0e\n\x06\x66ormat\x18\x03 \x01(\t\x12\x0f\n\x07\x64\x65\x66\x61ult\x18\x06 \x01(\t\x12\x0f\n\x07pattern\x18\r \x01(\tJ\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06J\x04\x08\x07\x10\x08J\x04\x08\x08\x10\tJ\x04\x08\t\x10\nJ\x04\x08\n\x10\x0bJ\x04\x08\x0b\x10\x0cJ\x04\x08\x0c\x10\rJ\x04\x08\x0e\x10\x0fJ\x04\x08\x0f\x10\x10J\x04\x08\x10\x10\x11J\x04\x08\x11\x10\x12J\x04\x08\x12\x10\x13\"\xc2\x04\n\x08Response\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12\x41\n\x06schema\x18\x02 \x01(\x0b\x32\x31.grpc.gateway.protoc_gen_openapiv2.options.Schema\x12Q\n\x07headers\x18\x03 \x03(\x0b\x32@.grpc.gateway.protoc_gen_openapiv2.options.Response.HeadersEntry\x12S\n\x08\x65xamples\x18\x04 \x03(\x0b\x32\x41.grpc.gateway.protoc_gen_openapiv2.options.Response.ExamplesEntry\x12W\n\nextensions\x18\x05 \x03(\x0b\x32\x43.grpc.gateway.protoc_gen_openapiv2.options.Response.ExtensionsEntry\x1a\x61\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12@\n\x05value\x18\x02 \x01(\x0b\x32\x31.grpc.gateway.protoc_gen_openapiv2.options.Header:\x02\x38\x01\x1a/\n\rExamplesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aI\n\x0f\x45xtensionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01\"\xff\x02\n\x04Info\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x18\n\x10terms_of_service\x18\x03 \x01(\t\x12\x43\n\x07\x63ontact\x18\x04 \x01(\x0b\x32\x32.grpc.gateway.protoc_gen_openapiv2.options.Contact\x12\x43\n\x07license\x18\x05 \x01(\x0b\x32\x32.grpc.gateway.protoc_gen_openapiv2.options.License\x12\x0f\n\x07version\x18\x06 \x01(\t\x12S\n\nextensions\x18\x07 \x03(\x0b\x32?.grpc.gateway.protoc_gen_openapiv2.options.Info.ExtensionsEntry\x1aI\n\x0f\x45xtensionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01\"3\n\x07\x43ontact\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03url\x18\x02 \x01(\t\x12\r\n\x05\x65mail\x18\x03 \x01(\t\"$\n\x07License\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03url\x18\x02 \x01(\t\"9\n\x15\x45xternalDocumentation\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12\x0b\n\x03url\x18\x02 \x01(\t\"\xee\x01\n\x06Schema\x12J\n\x0bjson_schema\x18\x01 \x01(\x0b\x32\x35.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema\x12\x15\n\rdiscriminator\x18\x02 \x01(\t\x12\x11\n\tread_only\x18\x03 \x01(\x08\x12W\n\rexternal_docs\x18\x05 \x01(\x0b\x32@.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation\x12\x0f\n\x07\x65xample\x18\x06 \x01(\tJ\x04\x08\x04\x10\x05\"\x83\x03\n\nEnumSchema\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12\x0f\n\x07\x64\x65\x66\x61ult\x18\x02 \x01(\t\x12\r\n\x05title\x18\x03 \x01(\t\x12\x10\n\x08required\x18\x04 \x01(\x08\x12\x11\n\tread_only\x18\x05 \x01(\x08\x12W\n\rexternal_docs\x18\x06 \x01(\x0b\x32@.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation\x12\x0f\n\x07\x65xample\x18\x07 \x01(\t\x12\x0b\n\x03ref\x18\x08 \x01(\t\x12Y\n\nextensions\x18\t \x03(\x0b\x32\x45.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema.ExtensionsEntry\x1aI\n\x0f\x45xtensionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01\"\xa2\x08\n\nJSONSchema\x12\x0b\n\x03ref\x18\x03 \x01(\t\x12\r\n\x05title\x18\x05 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12\x0f\n\x07\x64\x65\x66\x61ult\x18\x07 \x01(\t\x12\x11\n\tread_only\x18\x08 \x01(\x08\x12\x0f\n\x07\x65xample\x18\t \x01(\t\x12\x13\n\x0bmultiple_of\x18\n \x01(\x01\x12\x0f\n\x07maximum\x18\x0b \x01(\x01\x12\x19\n\x11\x65xclusive_maximum\x18\x0c \x01(\x08\x12\x0f\n\x07minimum\x18\r \x01(\x01\x12\x19\n\x11\x65xclusive_minimum\x18\x0e \x01(\x08\x12\x12\n\nmax_length\x18\x0f \x01(\x04\x12\x12\n\nmin_length\x18\x10 \x01(\x04\x12\x0f\n\x07pattern\x18\x11 \x01(\t\x12\x11\n\tmax_items\x18\x14 \x01(\x04\x12\x11\n\tmin_items\x18\x15 \x01(\x04\x12\x14\n\x0cunique_items\x18\x16 \x01(\x08\x12\x16\n\x0emax_properties\x18\x18 \x01(\x04\x12\x16\n\x0emin_properties\x18\x19 \x01(\x04\x12\x10\n\x08required\x18\x1a \x03(\t\x12\r\n\x05\x61rray\x18\" \x03(\t\x12Y\n\x04type\x18# \x03(\x0e\x32K.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes\x12\x0e\n\x06\x66ormat\x18$ \x01(\t\x12\x0c\n\x04\x65num\x18. \x03(\t\x12\x66\n\x13\x66ield_configuration\x18\xe9\x07 \x01(\x0b\x32H.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration\x12Y\n\nextensions\x18\x30 \x03(\x0b\x32\x45.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.ExtensionsEntry\x1a-\n\x12\x46ieldConfiguration\x12\x17\n\x0fpath_param_name\x18/ \x01(\t\x1aI\n\x0f\x45xtensionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01\"w\n\x15JSONSchemaSimpleTypes\x12\x0b\n\x07UNKNOWN\x10\x00\x12\t\n\x05\x41RRAY\x10\x01\x12\x0b\n\x07\x42OOLEAN\x10\x02\x12\x0b\n\x07INTEGER\x10\x03\x12\x08\n\x04NULL\x10\x04\x12\n\n\x06NUMBER\x10\x05\x12\n\n\x06OBJECT\x10\x06\x12\n\n\x06STRING\x10\x07J\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x04\x10\x05J\x04\x08\x12\x10\x13J\x04\x08\x13\x10\x14J\x04\x08\x17\x10\x18J\x04\x08\x1b\x10\x1cJ\x04\x08\x1c\x10\x1dJ\x04\x08\x1d\x10\x1eJ\x04\x08\x1e\x10\"J\x04\x08%\x10*J\x04\x08*\x10+J\x04\x08+\x10.\"\xa0\x02\n\x03Tag\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12W\n\rexternal_docs\x18\x03 \x01(\x0b\x32@.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation\x12R\n\nextensions\x18\x04 \x03(\x0b\x32>.grpc.gateway.protoc_gen_openapiv2.options.Tag.ExtensionsEntry\x1aI\n\x0f\x45xtensionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01\"\xe1\x01\n\x13SecurityDefinitions\x12^\n\x08security\x18\x01 \x03(\x0b\x32L.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.SecurityEntry\x1aj\n\rSecurityEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12H\n\x05value\x18\x02 \x01(\x0b\x32\x39.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme:\x02\x38\x01\"\xa0\x06\n\x0eSecurityScheme\x12L\n\x04type\x18\x01 \x01(\x0e\x32>.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12H\n\x02in\x18\x04 \x01(\x0e\x32<.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In\x12L\n\x04\x66low\x18\x05 \x01(\x0e\x32>.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow\x12\x19\n\x11\x61uthorization_url\x18\x06 \x01(\t\x12\x11\n\ttoken_url\x18\x07 \x01(\t\x12\x41\n\x06scopes\x18\x08 \x01(\x0b\x32\x31.grpc.gateway.protoc_gen_openapiv2.options.Scopes\x12]\n\nextensions\x18\t \x03(\x0b\x32I.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.ExtensionsEntry\x1aI\n\x0f\x45xtensionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01\"K\n\x04Type\x12\x10\n\x0cTYPE_INVALID\x10\x00\x12\x0e\n\nTYPE_BASIC\x10\x01\x12\x10\n\x0cTYPE_API_KEY\x10\x02\x12\x0f\n\x0bTYPE_OAUTH2\x10\x03\"1\n\x02In\x12\x0e\n\nIN_INVALID\x10\x00\x12\x0c\n\x08IN_QUERY\x10\x01\x12\r\n\tIN_HEADER\x10\x02\"j\n\x04\x46low\x12\x10\n\x0c\x46LOW_INVALID\x10\x00\x12\x11\n\rFLOW_IMPLICIT\x10\x01\x12\x11\n\rFLOW_PASSWORD\x10\x02\x12\x14\n\x10\x46LOW_APPLICATION\x10\x03\x12\x14\n\x10\x46LOW_ACCESS_CODE\x10\x04\"\xcd\x02\n\x13SecurityRequirement\x12u\n\x14security_requirement\x18\x01 \x03(\x0b\x32W.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementEntry\x1a)\n\x18SecurityRequirementValue\x12\r\n\x05scope\x18\x01 \x03(\t\x1a\x93\x01\n\x18SecurityRequirementEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x66\n\x05value\x18\x02 \x01(\x0b\x32W.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue:\x02\x38\x01\"\x83\x01\n\x06Scopes\x12K\n\x05scope\x18\x01 \x03(\x0b\x32<.grpc.gateway.protoc_gen_openapiv2.options.Scopes.ScopeEntry\x1a,\n\nScopeEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01*;\n\x06Scheme\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x08\n\x04HTTP\x10\x01\x12\t\n\x05HTTPS\x10\x02\x12\x06\n\x02WS\x10\x03\x12\x07\n\x03WSS\x10\x04\x42HZFgithub.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/optionsb\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) + +module Grpc + module Gateway + module ProtocGenOpenapiv2 + module Options + Swagger = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.gateway.protoc_gen_openapiv2.options.Swagger").msgclass + Operation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.gateway.protoc_gen_openapiv2.options.Operation").msgclass + Parameters = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.gateway.protoc_gen_openapiv2.options.Parameters").msgclass + HeaderParameter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.gateway.protoc_gen_openapiv2.options.HeaderParameter").msgclass + HeaderParameter::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.gateway.protoc_gen_openapiv2.options.HeaderParameter.Type").enummodule + Header = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.gateway.protoc_gen_openapiv2.options.Header").msgclass + Response = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.gateway.protoc_gen_openapiv2.options.Response").msgclass + Info = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.gateway.protoc_gen_openapiv2.options.Info").msgclass + Contact = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.gateway.protoc_gen_openapiv2.options.Contact").msgclass + License = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.gateway.protoc_gen_openapiv2.options.License").msgclass + ExternalDocumentation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation").msgclass + Schema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.gateway.protoc_gen_openapiv2.options.Schema").msgclass + EnumSchema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.gateway.protoc_gen_openapiv2.options.EnumSchema").msgclass + JSONSchema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.gateway.protoc_gen_openapiv2.options.JSONSchema").msgclass + JSONSchema::FieldConfiguration = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration").msgclass + JSONSchema::JSONSchemaSimpleTypes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes").enummodule + Tag = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.gateway.protoc_gen_openapiv2.options.Tag").msgclass + SecurityDefinitions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions").msgclass + SecurityScheme = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme").msgclass + SecurityScheme::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type").enummodule + SecurityScheme::In = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In").enummodule + SecurityScheme::Flow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow").enummodule + SecurityRequirement = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement").msgclass + SecurityRequirement::SecurityRequirementValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue").msgclass + Scopes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.gateway.protoc_gen_openapiv2.options.Scopes").msgclass + Scheme = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.gateway.protoc_gen_openapiv2.options.Scheme").enummodule + end + end + end +end diff --git a/temporalio/lib/temporalio/api/sdk/v1/external_storage.rb b/temporalio/lib/temporalio/api/sdk/v1/external_storage.rb new file mode 100644 index 00000000..f738ba3a --- /dev/null +++ b/temporalio/lib/temporalio/api/sdk/v1/external_storage.rb @@ -0,0 +1,21 @@ +# frozen_string_literal: true +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: temporal/api/sdk/v1/external_storage.proto + +require 'google/protobuf' + + +descriptor_data = "\n*temporal/api/sdk/v1/external_storage.proto\x12\x13temporal.api.sdk.v1\"\xb3\x01\n\x18\x45xternalStorageReference\x12\x13\n\x0b\x64river_name\x18\x01 \x01(\t\x12P\n\nclaim_data\x18\x02 \x03(\x0b\x32<.temporal.api.sdk.v1.ExternalStorageReference.ClaimDataEntry\x1a\x30\n\x0e\x43laimDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x82\x01\n\x16io.temporal.api.sdk.v1B\x14\x45xternalStorageProtoP\x01Z\x1dgo.temporal.io/api/sdk/v1;sdk\xaa\x02\x15Temporalio.Api.Sdk.V1\xea\x02\x18Temporalio::Api::Sdk::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) + +module Temporalio + module Api + module Sdk + module V1 + ExternalStorageReference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.sdk.v1.ExternalStorageReference").msgclass + end + end + end +end diff --git a/temporalio/lib/temporalio/api/taskqueue/v1/message.rb b/temporalio/lib/temporalio/api/taskqueue/v1/message.rb index 28b895cd..f25f22ca 100644 --- a/temporalio/lib/temporalio/api/taskqueue/v1/message.rb +++ b/temporalio/lib/temporalio/api/taskqueue/v1/message.rb @@ -12,7 +12,7 @@ require 'temporalio/api/deployment/v1/message' -descriptor_data = "\n\'temporal/api/taskqueue/v1/message.proto\x12\x19temporal.api.taskqueue.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a&temporal/api/enums/v1/task_queue.proto\x1a$temporal/api/common/v1/message.proto\x1a(temporal/api/deployment/v1/message.proto\"b\n\tTaskQueue\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x32\n\x04kind\x18\x02 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueKind\x12\x13\n\x0bnormal_name\x18\x03 \x01(\t\"O\n\x11TaskQueueMetadata\x12:\n\x14max_tasks_per_second\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\"\xda\x02\n\x17TaskQueueVersioningInfo\x12W\n\x1a\x63urrent_deployment_version\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1b\n\x0f\x63urrent_version\x18\x01 \x01(\tB\x02\x18\x01\x12W\n\x1aramping_deployment_version\x18\t \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1b\n\x0framping_version\x18\x02 \x01(\tB\x02\x18\x01\x12\"\n\x1aramping_version_percentage\x18\x03 \x01(\x02\x12/\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"W\n\x19TaskQueueVersionSelection\x12\x11\n\tbuild_ids\x18\x01 \x03(\t\x12\x13\n\x0bunversioned\x18\x02 \x01(\x08\x12\x12\n\nall_active\x18\x03 \x01(\x08\"\x95\x02\n\x14TaskQueueVersionInfo\x12R\n\ntypes_info\x18\x01 \x03(\x0b\x32>.temporal.api.taskqueue.v1.TaskQueueVersionInfo.TypesInfoEntry\x12I\n\x11task_reachability\x18\x02 \x01(\x0e\x32..temporal.api.enums.v1.BuildIdTaskReachability\x1a^\n\x0eTypesInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12;\n\x05value\x18\x02 \x01(\x0b\x32,.temporal.api.taskqueue.v1.TaskQueueTypeInfo:\x02\x38\x01\"\x85\x01\n\x11TaskQueueTypeInfo\x12\x36\n\x07pollers\x18\x01 \x03(\x0b\x32%.temporal.api.taskqueue.v1.PollerInfo\x12\x38\n\x05stats\x18\x02 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats\"\xa4\x01\n\x0eTaskQueueStats\x12!\n\x19\x61pproximate_backlog_count\x18\x01 \x01(\x03\x12:\n\x17\x61pproximate_backlog_age\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x16\n\x0etasks_add_rate\x18\x03 \x01(\x02\x12\x1b\n\x13tasks_dispatch_rate\x18\x04 \x01(\x02\"\xac\x01\n\x0fTaskQueueStatus\x12\x1a\n\x12\x62\x61\x63klog_count_hint\x18\x01 \x01(\x03\x12\x12\n\nread_level\x18\x02 \x01(\x03\x12\x11\n\tack_level\x18\x03 \x01(\x03\x12\x17\n\x0frate_per_second\x18\x04 \x01(\x01\x12=\n\rtask_id_block\x18\x05 \x01(\x0b\x32&.temporal.api.taskqueue.v1.TaskIdBlock\"/\n\x0bTaskIdBlock\x12\x10\n\x08start_id\x18\x01 \x01(\x03\x12\x0e\n\x06\x65nd_id\x18\x02 \x01(\x03\"B\n\x1aTaskQueuePartitionMetadata\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x17\n\x0fowner_host_name\x18\x02 \x01(\t\"\x9a\x02\n\nPollerInfo\x12\x34\n\x10last_access_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x17\n\x0frate_per_second\x18\x03 \x01(\x01\x12Z\n\x1bworker_version_capabilities\x18\x04 \x01(\x0b\x32\x31.temporal.api.common.v1.WorkerVersionCapabilitiesB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x05 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\"\x9a\x01\n\x19StickyExecutionAttributes\x12?\n\x11worker_task_queue\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12<\n\x19schedule_to_start_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\")\n\x14\x43ompatibleVersionSet\x12\x11\n\tbuild_ids\x18\x01 \x03(\t\"j\n\x15TaskQueueReachability\x12\x12\n\ntask_queue\x18\x01 \x01(\t\x12=\n\x0creachability\x18\x02 \x03(\x0e\x32\'.temporal.api.enums.v1.TaskReachability\"z\n\x13\x42uildIdReachability\x12\x10\n\x08\x62uild_id\x18\x01 \x01(\t\x12Q\n\x17task_queue_reachability\x18\x02 \x03(\x0b\x32\x30.temporal.api.taskqueue.v1.TaskQueueReachability\"+\n\x10RampByPercentage\x12\x17\n\x0framp_percentage\x18\x01 \x01(\x02\"\x80\x01\n\x15\x42uildIdAssignmentRule\x12\x17\n\x0ftarget_build_id\x18\x01 \x01(\t\x12\x46\n\x0fpercentage_ramp\x18\x03 \x01(\x0b\x32+.temporal.api.taskqueue.v1.RampByPercentageH\x00\x42\x06\n\x04ramp\"Q\n\x1d\x43ompatibleBuildIdRedirectRule\x12\x17\n\x0fsource_build_id\x18\x01 \x01(\t\x12\x17\n\x0ftarget_build_id\x18\x02 \x01(\t\"\x93\x01\n TimestampedBuildIdAssignmentRule\x12>\n\x04rule\x18\x01 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.BuildIdAssignmentRule\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xa3\x01\n(TimestampedCompatibleBuildIdRedirectRule\x12\x46\n\x04rule\x18\x01 \x01(\x0b\x32\x38.temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRule\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\">\n\x15PollerScalingDecision\x12%\n\x1dpoll_request_delta_suggestion\x18\x01 \x01(\x05\"(\n\tRateLimit\x12\x1b\n\x13requests_per_second\x18\x01 \x01(\x02\"j\n\x0e\x43onfigMetadata\x12\x0e\n\x06reason\x18\x01 \x01(\t\x12\x17\n\x0fupdate_identity\x18\x02 \x01(\t\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x88\x01\n\x0fRateLimitConfig\x12\x38\n\nrate_limit\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.RateLimit\x12;\n\x08metadata\x18\x02 \x01(\x0b\x32).temporal.api.taskqueue.v1.ConfigMetadata\"\xd9\x02\n\x0fTaskQueueConfig\x12\x44\n\x10queue_rate_limit\x18\x01 \x01(\x0b\x32*.temporal.api.taskqueue.v1.RateLimitConfig\x12T\n fairness_keys_rate_limit_default\x18\x02 \x01(\x0b\x32*.temporal.api.taskqueue.v1.RateLimitConfig\x12j\n\x19\x66\x61irness_weight_overrides\x18\x03 \x03(\x0b\x32G.temporal.api.taskqueue.v1.TaskQueueConfig.FairnessWeightOverridesEntry\x1a>\n\x1c\x46\x61irnessWeightOverridesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x42\x98\x01\n\x1cio.temporal.api.taskqueue.v1B\x0cMessageProtoP\x01Z)go.temporal.io/api/taskqueue/v1;taskqueue\xaa\x02\x1bTemporalio.Api.TaskQueue.V1\xea\x02\x1eTemporalio::Api::TaskQueue::V1b\x06proto3" +descriptor_data = "\n\'temporal/api/taskqueue/v1/message.proto\x12\x19temporal.api.taskqueue.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a&temporal/api/enums/v1/task_queue.proto\x1a$temporal/api/common/v1/message.proto\x1a(temporal/api/deployment/v1/message.proto\"b\n\tTaskQueue\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x32\n\x04kind\x18\x02 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueKind\x12\x13\n\x0bnormal_name\x18\x03 \x01(\t\"O\n\x11TaskQueueMetadata\x12:\n\x14max_tasks_per_second\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\"\xda\x02\n\x17TaskQueueVersioningInfo\x12W\n\x1a\x63urrent_deployment_version\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1b\n\x0f\x63urrent_version\x18\x01 \x01(\tB\x02\x18\x01\x12W\n\x1aramping_deployment_version\x18\t \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1b\n\x0framping_version\x18\x02 \x01(\tB\x02\x18\x01\x12\"\n\x1aramping_version_percentage\x18\x03 \x01(\x02\x12/\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"W\n\x19TaskQueueVersionSelection\x12\x11\n\tbuild_ids\x18\x01 \x03(\t\x12\x13\n\x0bunversioned\x18\x02 \x01(\x08\x12\x12\n\nall_active\x18\x03 \x01(\x08\"\x95\x02\n\x14TaskQueueVersionInfo\x12R\n\ntypes_info\x18\x01 \x03(\x0b\x32>.temporal.api.taskqueue.v1.TaskQueueVersionInfo.TypesInfoEntry\x12I\n\x11task_reachability\x18\x02 \x01(\x0e\x32..temporal.api.enums.v1.BuildIdTaskReachability\x1a^\n\x0eTypesInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12;\n\x05value\x18\x02 \x01(\x0b\x32,.temporal.api.taskqueue.v1.TaskQueueTypeInfo:\x02\x38\x01\"\x85\x01\n\x11TaskQueueTypeInfo\x12\x36\n\x07pollers\x18\x01 \x03(\x0b\x32%.temporal.api.taskqueue.v1.PollerInfo\x12\x38\n\x05stats\x18\x02 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats\"\xa4\x01\n\x0eTaskQueueStats\x12!\n\x19\x61pproximate_backlog_count\x18\x01 \x01(\x03\x12:\n\x17\x61pproximate_backlog_age\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x16\n\x0etasks_add_rate\x18\x03 \x01(\x02\x12\x1b\n\x13tasks_dispatch_rate\x18\x04 \x01(\x02\"\xac\x01\n\x0fTaskQueueStatus\x12\x1a\n\x12\x62\x61\x63klog_count_hint\x18\x01 \x01(\x03\x12\x12\n\nread_level\x18\x02 \x01(\x03\x12\x11\n\tack_level\x18\x03 \x01(\x03\x12\x17\n\x0frate_per_second\x18\x04 \x01(\x01\x12=\n\rtask_id_block\x18\x05 \x01(\x0b\x32&.temporal.api.taskqueue.v1.TaskIdBlock\"/\n\x0bTaskIdBlock\x12\x10\n\x08start_id\x18\x01 \x01(\x03\x12\x0e\n\x06\x65nd_id\x18\x02 \x01(\x03\"B\n\x1aTaskQueuePartitionMetadata\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x17\n\x0fowner_host_name\x18\x02 \x01(\t\"\x9a\x02\n\nPollerInfo\x12\x34\n\x10last_access_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x17\n\x0frate_per_second\x18\x03 \x01(\x01\x12Z\n\x1bworker_version_capabilities\x18\x04 \x01(\x0b\x32\x31.temporal.api.common.v1.WorkerVersionCapabilitiesB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x05 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\"\x9a\x01\n\x19StickyExecutionAttributes\x12?\n\x11worker_task_queue\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12<\n\x19schedule_to_start_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\")\n\x14\x43ompatibleVersionSet\x12\x11\n\tbuild_ids\x18\x01 \x03(\t\"j\n\x15TaskQueueReachability\x12\x12\n\ntask_queue\x18\x01 \x01(\t\x12=\n\x0creachability\x18\x02 \x03(\x0e\x32\'.temporal.api.enums.v1.TaskReachability\"z\n\x13\x42uildIdReachability\x12\x10\n\x08\x62uild_id\x18\x01 \x01(\t\x12Q\n\x17task_queue_reachability\x18\x02 \x03(\x0b\x32\x30.temporal.api.taskqueue.v1.TaskQueueReachability\"+\n\x10RampByPercentage\x12\x17\n\x0framp_percentage\x18\x01 \x01(\x02\"\x80\x01\n\x15\x42uildIdAssignmentRule\x12\x17\n\x0ftarget_build_id\x18\x01 \x01(\t\x12\x46\n\x0fpercentage_ramp\x18\x03 \x01(\x0b\x32+.temporal.api.taskqueue.v1.RampByPercentageH\x00\x42\x06\n\x04ramp\"Q\n\x1d\x43ompatibleBuildIdRedirectRule\x12\x17\n\x0fsource_build_id\x18\x01 \x01(\t\x12\x17\n\x0ftarget_build_id\x18\x02 \x01(\t\"\x93\x01\n TimestampedBuildIdAssignmentRule\x12>\n\x04rule\x18\x01 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.BuildIdAssignmentRule\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xa3\x01\n(TimestampedCompatibleBuildIdRedirectRule\x12\x46\n\x04rule\x18\x01 \x01(\x0b\x32\x38.temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRule\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"-\n\x0fPollerGroupInfo\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0e\n\x06weight\x18\x02 \x01(\x02\">\n\x15PollerScalingDecision\x12%\n\x1dpoll_request_delta_suggestion\x18\x01 \x01(\x05\"(\n\tRateLimit\x12\x1b\n\x13requests_per_second\x18\x01 \x01(\x02\"j\n\x0e\x43onfigMetadata\x12\x0e\n\x06reason\x18\x01 \x01(\t\x12\x17\n\x0fupdate_identity\x18\x02 \x01(\t\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x88\x01\n\x0fRateLimitConfig\x12\x38\n\nrate_limit\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.RateLimit\x12;\n\x08metadata\x18\x02 \x01(\x0b\x32).temporal.api.taskqueue.v1.ConfigMetadata\"\xd9\x02\n\x0fTaskQueueConfig\x12\x44\n\x10queue_rate_limit\x18\x01 \x01(\x0b\x32*.temporal.api.taskqueue.v1.RateLimitConfig\x12T\n fairness_keys_rate_limit_default\x18\x02 \x01(\x0b\x32*.temporal.api.taskqueue.v1.RateLimitConfig\x12j\n\x19\x66\x61irness_weight_overrides\x18\x03 \x03(\x0b\x32G.temporal.api.taskqueue.v1.TaskQueueConfig.FairnessWeightOverridesEntry\x1a>\n\x1c\x46\x61irnessWeightOverridesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x42\x98\x01\n\x1cio.temporal.api.taskqueue.v1B\x0cMessageProtoP\x01Z)go.temporal.io/api/taskqueue/v1;taskqueue\xaa\x02\x1bTemporalio.Api.TaskQueue.V1\xea\x02\x1eTemporalio::Api::TaskQueue::V1b\x06proto3" pool = ::Google::Protobuf::DescriptorPool.generated_pool pool.add_serialized_file(descriptor_data) @@ -41,6 +41,7 @@ module V1 CompatibleBuildIdRedirectRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRule").msgclass TimestampedBuildIdAssignmentRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.TimestampedBuildIdAssignmentRule").msgclass TimestampedCompatibleBuildIdRedirectRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.TimestampedCompatibleBuildIdRedirectRule").msgclass + PollerGroupInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.PollerGroupInfo").msgclass PollerScalingDecision = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.PollerScalingDecision").msgclass RateLimit = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.RateLimit").msgclass ConfigMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.ConfigMetadata").msgclass diff --git a/temporalio/lib/temporalio/api/worker/v1/message.rb b/temporalio/lib/temporalio/api/worker/v1/message.rb index af4a75aa..e42977e9 100644 --- a/temporalio/lib/temporalio/api/worker/v1/message.rb +++ b/temporalio/lib/temporalio/api/worker/v1/message.rb @@ -10,7 +10,7 @@ require 'temporalio/api/enums/v1/common' -descriptor_data = "\n$temporal/api/worker/v1/message.proto\x12\x16temporal.api.worker.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a(temporal/api/deployment/v1/message.proto\x1a\"temporal/api/enums/v1/common.proto\"\x82\x01\n\x10WorkerPollerInfo\x12\x17\n\x0f\x63urrent_pollers\x18\x01 \x01(\x05\x12=\n\x19last_successful_poll_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0eis_autoscaling\x18\x03 \x01(\x08\"\xf1\x01\n\x0fWorkerSlotsInfo\x12\x1f\n\x17\x63urrent_available_slots\x18\x01 \x01(\x05\x12\x1a\n\x12\x63urrent_used_slots\x18\x02 \x01(\x05\x12\x1a\n\x12slot_supplier_kind\x18\x03 \x01(\t\x12\x1d\n\x15total_processed_tasks\x18\x04 \x01(\x05\x12\x1a\n\x12total_failed_tasks\x18\x05 \x01(\x05\x12%\n\x1dlast_interval_processed_tasks\x18\x06 \x01(\x05\x12#\n\x1blast_interval_failure_tasks\x18\x07 \x01(\x05\"\x94\x01\n\x0eWorkerHostInfo\x12\x11\n\thost_name\x18\x01 \x01(\t\x12\x1b\n\x13worker_grouping_key\x18\x05 \x01(\t\x12\x12\n\nprocess_id\x18\x02 \x01(\t\x12\x1e\n\x16\x63urrent_host_cpu_usage\x18\x03 \x01(\x02\x12\x1e\n\x16\x63urrent_host_mem_usage\x18\x04 \x01(\x02\"\x8b\n\n\x0fWorkerHeartbeat\x12\x1b\n\x13worker_instance_key\x18\x01 \x01(\t\x12\x17\n\x0fworker_identity\x18\x02 \x01(\t\x12\x39\n\thost_info\x18\x03 \x01(\x0b\x32&.temporal.api.worker.v1.WorkerHostInfo\x12\x12\n\ntask_queue\x18\x04 \x01(\t\x12O\n\x12\x64\x65ployment_version\x18\x05 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x10\n\x08sdk_name\x18\x06 \x01(\t\x12\x13\n\x0bsdk_version\x18\x07 \x01(\t\x12\x33\n\x06status\x18\x08 \x01(\x0e\x32#.temporal.api.enums.v1.WorkerStatus\x12.\n\nstart_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x0eheartbeat_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12?\n\x1c\x65lapsed_since_last_heartbeat\x18\x0b \x01(\x0b\x32\x19.google.protobuf.Duration\x12I\n\x18workflow_task_slots_info\x18\x0c \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerSlotsInfo\x12I\n\x18\x61\x63tivity_task_slots_info\x18\r \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerSlotsInfo\x12\x46\n\x15nexus_task_slots_info\x18\x0e \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerSlotsInfo\x12J\n\x19local_activity_slots_info\x18\x0f \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerSlotsInfo\x12\x46\n\x14workflow_poller_info\x18\x10 \x01(\x0b\x32(.temporal.api.worker.v1.WorkerPollerInfo\x12M\n\x1bworkflow_sticky_poller_info\x18\x11 \x01(\x0b\x32(.temporal.api.worker.v1.WorkerPollerInfo\x12\x46\n\x14\x61\x63tivity_poller_info\x18\x12 \x01(\x0b\x32(.temporal.api.worker.v1.WorkerPollerInfo\x12\x43\n\x11nexus_poller_info\x18\x13 \x01(\x0b\x32(.temporal.api.worker.v1.WorkerPollerInfo\x12\x1e\n\x16total_sticky_cache_hit\x18\x14 \x01(\x05\x12\x1f\n\x17total_sticky_cache_miss\x18\x15 \x01(\x05\x12!\n\x19\x63urrent_sticky_cache_size\x18\x16 \x01(\x05\x12\x33\n\x07plugins\x18\x17 \x03(\x0b\x32\".temporal.api.worker.v1.PluginInfo\x12:\n\x07\x64rivers\x18\x18 \x03(\x0b\x32).temporal.api.worker.v1.StorageDriverInfo\"O\n\nWorkerInfo\x12\x41\n\x10worker_heartbeat\x18\x01 \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat\"\xec\x03\n\x0eWorkerListInfo\x12\x1b\n\x13worker_instance_key\x18\x01 \x01(\t\x12\x17\n\x0fworker_identity\x18\x02 \x01(\t\x12\x12\n\ntask_queue\x18\x03 \x01(\t\x12O\n\x12\x64\x65ployment_version\x18\x04 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x10\n\x08sdk_name\x18\x05 \x01(\t\x12\x13\n\x0bsdk_version\x18\x06 \x01(\t\x12\x33\n\x06status\x18\x07 \x01(\x0e\x32#.temporal.api.enums.v1.WorkerStatus\x12.\n\nstart_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x11\n\thost_name\x18\t \x01(\t\x12\x1b\n\x13worker_grouping_key\x18\n \x01(\t\x12\x12\n\nprocess_id\x18\x0b \x01(\t\x12\x33\n\x07plugins\x18\x0c \x03(\x0b\x32\".temporal.api.worker.v1.PluginInfo\x12:\n\x07\x64rivers\x18\r \x03(\x0b\x32).temporal.api.worker.v1.StorageDriverInfo\"+\n\nPluginInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\"!\n\x11StorageDriverInfo\x12\x0c\n\x04type\x18\x01 \x01(\tB\x89\x01\n\x19io.temporal.api.worker.v1B\x0cMessageProtoP\x01Z#go.temporal.io/api/worker/v1;worker\xaa\x02\x18Temporalio.Api.Worker.V1\xea\x02\x1bTemporalio::Api::Worker::V1b\x06proto3" +descriptor_data = "\n$temporal/api/worker/v1/message.proto\x12\x16temporal.api.worker.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a(temporal/api/deployment/v1/message.proto\x1a\"temporal/api/enums/v1/common.proto\"\x82\x01\n\x10WorkerPollerInfo\x12\x17\n\x0f\x63urrent_pollers\x18\x01 \x01(\x05\x12=\n\x19last_successful_poll_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0eis_autoscaling\x18\x03 \x01(\x08\"\xf1\x01\n\x0fWorkerSlotsInfo\x12\x1f\n\x17\x63urrent_available_slots\x18\x01 \x01(\x05\x12\x1a\n\x12\x63urrent_used_slots\x18\x02 \x01(\x05\x12\x1a\n\x12slot_supplier_kind\x18\x03 \x01(\t\x12\x1d\n\x15total_processed_tasks\x18\x04 \x01(\x05\x12\x1a\n\x12total_failed_tasks\x18\x05 \x01(\x05\x12%\n\x1dlast_interval_processed_tasks\x18\x06 \x01(\x05\x12#\n\x1blast_interval_failure_tasks\x18\x07 \x01(\x05\"\x94\x01\n\x0eWorkerHostInfo\x12\x11\n\thost_name\x18\x01 \x01(\t\x12\x1b\n\x13worker_grouping_key\x18\x05 \x01(\t\x12\x12\n\nprocess_id\x18\x02 \x01(\t\x12\x1e\n\x16\x63urrent_host_cpu_usage\x18\x03 \x01(\x02\x12\x1e\n\x16\x63urrent_host_mem_usage\x18\x04 \x01(\x02\"\x8b\n\n\x0fWorkerHeartbeat\x12\x1b\n\x13worker_instance_key\x18\x01 \x01(\t\x12\x17\n\x0fworker_identity\x18\x02 \x01(\t\x12\x39\n\thost_info\x18\x03 \x01(\x0b\x32&.temporal.api.worker.v1.WorkerHostInfo\x12\x12\n\ntask_queue\x18\x04 \x01(\t\x12O\n\x12\x64\x65ployment_version\x18\x05 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x10\n\x08sdk_name\x18\x06 \x01(\t\x12\x13\n\x0bsdk_version\x18\x07 \x01(\t\x12\x33\n\x06status\x18\x08 \x01(\x0e\x32#.temporal.api.enums.v1.WorkerStatus\x12.\n\nstart_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x0eheartbeat_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12?\n\x1c\x65lapsed_since_last_heartbeat\x18\x0b \x01(\x0b\x32\x19.google.protobuf.Duration\x12I\n\x18workflow_task_slots_info\x18\x0c \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerSlotsInfo\x12I\n\x18\x61\x63tivity_task_slots_info\x18\r \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerSlotsInfo\x12\x46\n\x15nexus_task_slots_info\x18\x0e \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerSlotsInfo\x12J\n\x19local_activity_slots_info\x18\x0f \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerSlotsInfo\x12\x46\n\x14workflow_poller_info\x18\x10 \x01(\x0b\x32(.temporal.api.worker.v1.WorkerPollerInfo\x12M\n\x1bworkflow_sticky_poller_info\x18\x11 \x01(\x0b\x32(.temporal.api.worker.v1.WorkerPollerInfo\x12\x46\n\x14\x61\x63tivity_poller_info\x18\x12 \x01(\x0b\x32(.temporal.api.worker.v1.WorkerPollerInfo\x12\x43\n\x11nexus_poller_info\x18\x13 \x01(\x0b\x32(.temporal.api.worker.v1.WorkerPollerInfo\x12\x1e\n\x16total_sticky_cache_hit\x18\x14 \x01(\x05\x12\x1f\n\x17total_sticky_cache_miss\x18\x15 \x01(\x05\x12!\n\x19\x63urrent_sticky_cache_size\x18\x16 \x01(\x05\x12\x33\n\x07plugins\x18\x17 \x03(\x0b\x32\".temporal.api.worker.v1.PluginInfo\x12:\n\x07\x64rivers\x18\x18 \x03(\x0b\x32).temporal.api.worker.v1.StorageDriverInfo\"O\n\nWorkerInfo\x12\x41\n\x10worker_heartbeat\x18\x01 \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat\"\xec\x03\n\x0eWorkerListInfo\x12\x1b\n\x13worker_instance_key\x18\x01 \x01(\t\x12\x17\n\x0fworker_identity\x18\x02 \x01(\t\x12\x12\n\ntask_queue\x18\x03 \x01(\t\x12O\n\x12\x64\x65ployment_version\x18\x04 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x10\n\x08sdk_name\x18\x05 \x01(\t\x12\x13\n\x0bsdk_version\x18\x06 \x01(\t\x12\x33\n\x06status\x18\x07 \x01(\x0e\x32#.temporal.api.enums.v1.WorkerStatus\x12.\n\nstart_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x11\n\thost_name\x18\t \x01(\t\x12\x1b\n\x13worker_grouping_key\x18\n \x01(\t\x12\x12\n\nprocess_id\x18\x0b \x01(\t\x12\x33\n\x07plugins\x18\x0c \x03(\x0b\x32\".temporal.api.worker.v1.PluginInfo\x12:\n\x07\x64rivers\x18\r \x03(\x0b\x32).temporal.api.worker.v1.StorageDriverInfo\"+\n\nPluginInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\"!\n\x11StorageDriverInfo\x12\x0c\n\x04type\x18\x01 \x01(\t\"a\n\rWorkerCommand\x12H\n\x0f\x63\x61ncel_activity\x18\x01 \x01(\x0b\x32-.temporal.api.worker.v1.CancelActivityCommandH\x00\x42\x06\n\x04type\"+\n\x15\x43\x61ncelActivityCommand\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\"f\n\x13WorkerCommandResult\x12G\n\x0f\x63\x61ncel_activity\x18\x01 \x01(\x0b\x32,.temporal.api.worker.v1.CancelActivityResultH\x00\x42\x06\n\x04type\"\x16\n\x14\x43\x61ncelActivityResultB\x89\x01\n\x19io.temporal.api.worker.v1B\x0cMessageProtoP\x01Z#go.temporal.io/api/worker/v1;worker\xaa\x02\x18Temporalio.Api.Worker.V1\xea\x02\x1bTemporalio::Api::Worker::V1b\x06proto3" pool = ::Google::Protobuf::DescriptorPool.generated_pool pool.add_serialized_file(descriptor_data) @@ -27,6 +27,10 @@ module V1 WorkerListInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.worker.v1.WorkerListInfo").msgclass PluginInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.worker.v1.PluginInfo").msgclass StorageDriverInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.worker.v1.StorageDriverInfo").msgclass + WorkerCommand = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.worker.v1.WorkerCommand").msgclass + CancelActivityCommand = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.worker.v1.CancelActivityCommand").msgclass + WorkerCommandResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.worker.v1.WorkerCommandResult").msgclass + CancelActivityResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.worker.v1.CancelActivityResult").msgclass end end end diff --git a/temporalio/lib/temporalio/api/workflow/v1/message.rb b/temporalio/lib/temporalio/api/workflow/v1/message.rb index e66cb22c..3b7d01eb 100644 --- a/temporalio/lib/temporalio/api/workflow/v1/message.rb +++ b/temporalio/lib/temporalio/api/workflow/v1/message.rb @@ -19,7 +19,7 @@ require 'temporalio/api/sdk/v1/user_metadata' -descriptor_data = "\n&temporal/api/workflow/v1/message.proto\x12\x18temporal.api.workflow.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a google/protobuf/field_mask.proto\x1a&temporal/api/activity/v1/message.proto\x1a\"temporal/api/enums/v1/common.proto\x1a&temporal/api/enums/v1/event_type.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a$temporal/api/common/v1/message.proto\x1a(temporal/api/deployment/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto\"\xf0\t\n\x15WorkflowExecutionInfo\x12<\n\texecution\x18\x01 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x32\n\x04type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nclose_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x06status\x18\x05 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowExecutionStatus\x12\x16\n\x0ehistory_length\x18\x06 \x01(\x03\x12\x1b\n\x13parent_namespace_id\x18\x07 \x01(\t\x12\x43\n\x10parent_execution\x18\x08 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x32\n\x0e\x65xecution_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12*\n\x04memo\x18\n \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0b \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12@\n\x11\x61uto_reset_points\x18\x0c \x01(\x0b\x32%.temporal.api.workflow.v1.ResetPoints\x12\x12\n\ntask_queue\x18\r \x01(\t\x12\x1e\n\x16state_transition_count\x18\x0e \x01(\x03\x12\x1a\n\x12history_size_bytes\x18\x0f \x01(\x03\x12X\n most_recent_worker_version_stamp\x18\x10 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12\x35\n\x12\x65xecution_duration\x18\x11 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x41\n\x0eroot_execution\x18\x12 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1d\n\x11\x61ssigned_build_id\x18\x13 \x01(\tB\x02\x18\x01\x12\x1e\n\x12inherited_build_id\x18\x14 \x01(\tB\x02\x18\x01\x12\x14\n\x0c\x66irst_run_id\x18\x15 \x01(\t\x12R\n\x0fversioning_info\x18\x16 \x01(\x0b\x32\x39.temporal.api.workflow.v1.WorkflowExecutionVersioningInfo\x12\x1e\n\x16worker_deployment_name\x18\x17 \x01(\t\x12\x32\n\x08priority\x18\x18 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12#\n\x1b\x65xternal_payload_size_bytes\x18\x19 \x01(\x03\x12\x1e\n\x16\x65xternal_payload_count\x18\x1a \x01(\x03\"\xc6\x04\n\x1dWorkflowExecutionExtendedInfo\x12=\n\x19\x65xecution_expiration_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x13run_expiration_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x18\n\x10\x63\x61ncel_requested\x18\x03 \x01(\x08\x12\x33\n\x0flast_reset_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x13original_start_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0creset_run_id\x18\x06 \x01(\t\x12\x65\n\x10request_id_infos\x18\x07 \x03(\x0b\x32K.temporal.api.workflow.v1.WorkflowExecutionExtendedInfo.RequestIdInfosEntry\x12H\n\npause_info\x18\x08 \x01(\x0b\x32\x34.temporal.api.workflow.v1.WorkflowExecutionPauseInfo\x1a^\n\x13RequestIdInfosEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.temporal.api.workflow.v1.RequestIdInfo:\x02\x38\x01\"\x8e\x04\n\x1fWorkflowExecutionVersioningInfo\x12;\n\x08\x62\x65havior\x18\x01 \x01(\x0e\x32).temporal.api.enums.v1.VersioningBehavior\x12>\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12\x13\n\x07version\x18\x05 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12I\n\x13versioning_override\x18\x03 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12Q\n\x15\x64\x65ployment_transition\x18\x04 \x01(\x0b\x32..temporal.api.workflow.v1.DeploymentTransitionB\x02\x18\x01\x12Q\n\x12version_transition\x18\x06 \x01(\x0b\x32\x35.temporal.api.workflow.v1.DeploymentVersionTransition\x12\x17\n\x0frevision_number\x18\x08 \x01(\x03\"R\n\x14\x44\x65ploymentTransition\x12:\n\ndeployment\x18\x01 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment\"\x83\x01\n\x1b\x44\x65ploymentVersionTransition\x12\x13\n\x07version\x18\x01 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x02 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\"\xc7\x02\n\x17WorkflowExecutionConfig\x12\x38\n\ntask_queue\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12=\n\x1aworkflow_execution_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12@\n\x1d\x64\x65\x66\x61ult_workflow_task_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\ruser_metadata\x18\x05 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\"\xbd\r\n\x13PendingActivityInfo\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12;\n\ractivity_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12:\n\x05state\x18\x03 \x01(\x0e\x32+.temporal.api.enums.v1.PendingActivityState\x12;\n\x11heartbeat_details\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x37\n\x13last_heartbeat_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_started_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x61ttempt\x18\x07 \x01(\x05\x12\x18\n\x10maximum_attempts\x18\x08 \x01(\x05\x12\x32\n\x0escheduled_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x0f\x65xpiration_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x0clast_failure\x18\x0b \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x1c\n\x14last_worker_identity\x18\x0c \x01(\t\x12;\n\x15use_workflow_build_id\x18\r \x01(\x0b\x32\x16.google.protobuf.EmptyB\x02\x18\x01H\x00\x12\x32\n$last_independently_assigned_build_id\x18\x0e \x01(\tB\x02\x18\x01H\x00\x12Q\n\x19last_worker_version_stamp\x18\x0f \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12\x39\n\x16\x63urrent_retry_interval\x18\x10 \x01(\x0b\x32\x19.google.protobuf.Duration\x12>\n\x1alast_attempt_complete_time\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x1anext_attempt_schedule_time\x18\x12 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06paused\x18\x13 \x01(\x08\x12\x43\n\x0flast_deployment\x18\x14 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12*\n\x1elast_worker_deployment_version\x18\x15 \x01(\tB\x02\x18\x01\x12T\n\x17last_deployment_version\x18\x19 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x32\n\x08priority\x18\x16 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12K\n\npause_info\x18\x17 \x01(\x0b\x32\x37.temporal.api.workflow.v1.PendingActivityInfo.PauseInfo\x12\x43\n\x10\x61\x63tivity_options\x18\x18 \x01(\x0b\x32).temporal.api.activity.v1.ActivityOptions\x1a\xcf\x02\n\tPauseInfo\x12.\n\npause_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12P\n\x06manual\x18\x02 \x01(\x0b\x32>.temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.ManualH\x00\x12L\n\x04rule\x18\x04 \x01(\x0b\x32<.temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.RuleH\x00\x1a*\n\x06Manual\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0e\n\x06reason\x18\x02 \x01(\t\x1a\x39\n\x04Rule\x12\x0f\n\x07rule_id\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\tB\x0b\n\tpaused_byB\x13\n\x11\x61ssigned_build_id\"\xb9\x01\n\x19PendingChildExecutionInfo\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\x12\x1a\n\x12workflow_type_name\x18\x03 \x01(\t\x12\x14\n\x0cinitiated_id\x18\x04 \x01(\x03\x12\x45\n\x13parent_close_policy\x18\x05 \x01(\x0e\x32(.temporal.api.enums.v1.ParentClosePolicy\"\x8d\x02\n\x17PendingWorkflowTaskInfo\x12>\n\x05state\x18\x01 \x01(\x0e\x32/.temporal.api.enums.v1.PendingWorkflowTaskState\x12\x32\n\x0escheduled_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12;\n\x17original_scheduled_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cstarted_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x61ttempt\x18\x05 \x01(\x05\"G\n\x0bResetPoints\x12\x38\n\x06points\x18\x01 \x03(\x0b\x32(.temporal.api.workflow.v1.ResetPointInfo\"\xef\x01\n\x0eResetPointInfo\x12\x10\n\x08\x62uild_id\x18\x07 \x01(\t\x12\x1b\n\x0f\x62inary_checksum\x18\x01 \x01(\tB\x02\x18\x01\x12\x0e\n\x06run_id\x18\x02 \x01(\t\x12(\n first_workflow_task_completed_id\x18\x03 \x01(\x03\x12/\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x65xpire_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nresettable\x18\x06 \x01(\x08\"\x85\x07\n\x18NewWorkflowExecutionInfo\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\t\x12;\n\rworkflow_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x03 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12N\n\x18workflow_id_reuse_policy\x18\x08 \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12\x39\n\x0cretry_policy\x18\t \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\n \x01(\t\x12*\n\x04memo\x18\x0b \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0c \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\x06header\x18\r \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x38\n\ruser_metadata\x18\x0e \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12I\n\x13versioning_override\x18\x0f \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12\x32\n\x08priority\x18\x10 \x01(\x0b\x32 .temporal.api.common.v1.Priority\"\xd2\x04\n\x0c\x43\x61llbackInfo\x12\x32\n\x08\x63\x61llback\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Callback\x12?\n\x07trigger\x18\x02 \x01(\x0b\x32..temporal.api.workflow.v1.CallbackInfo.Trigger\x12\x35\n\x11registration_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x05state\x18\x04 \x01(\x0e\x32$.temporal.api.enums.v1.CallbackState\x12\x0f\n\x07\x61ttempt\x18\x05 \x01(\x05\x12>\n\x1alast_attempt_complete_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x14last_attempt_failure\x18\x07 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12>\n\x1anext_attempt_schedule_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0e\x62locked_reason\x18\t \x01(\t\x1a\x10\n\x0eWorkflowClosed\x1a\x66\n\x07Trigger\x12P\n\x0fworkflow_closed\x18\x01 \x01(\x0b\x32\x35.temporal.api.workflow.v1.CallbackInfo.WorkflowClosedH\x00\x42\t\n\x07variant\"\x8b\x06\n\x19PendingNexusOperationInfo\x12\x10\n\x08\x65ndpoint\x18\x01 \x01(\t\x12\x0f\n\x07service\x18\x02 \x01(\t\x12\x11\n\toperation\x18\x03 \x01(\t\x12\x18\n\x0coperation_id\x18\x04 \x01(\tB\x02\x18\x01\x12<\n\x19schedule_to_close_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x32\n\x0escheduled_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12@\n\x05state\x18\x07 \x01(\x0e\x32\x31.temporal.api.enums.v1.PendingNexusOperationState\x12\x0f\n\x07\x61ttempt\x18\x08 \x01(\x05\x12>\n\x1alast_attempt_complete_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x14last_attempt_failure\x18\n \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12>\n\x1anext_attempt_schedule_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12S\n\x11\x63\x61ncellation_info\x18\x0c \x01(\x0b\x32\x38.temporal.api.workflow.v1.NexusOperationCancellationInfo\x12\x1a\n\x12scheduled_event_id\x18\r \x01(\x03\x12\x16\n\x0e\x62locked_reason\x18\x0e \x01(\t\x12\x17\n\x0foperation_token\x18\x0f \x01(\t\x12<\n\x19schedule_to_start_timeout\x18\x10 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\x11 \x01(\x0b\x32\x19.google.protobuf.Duration\"\x84\x03\n\x1eNexusOperationCancellationInfo\x12\x32\n\x0erequested_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x45\n\x05state\x18\x02 \x01(\x0e\x32\x36.temporal.api.enums.v1.NexusOperationCancellationState\x12\x0f\n\x07\x61ttempt\x18\x03 \x01(\x05\x12>\n\x1alast_attempt_complete_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x14last_attempt_failure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12>\n\x1anext_attempt_schedule_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0e\x62locked_reason\x18\x07 \x01(\t\"\x99\x01\n\x18WorkflowExecutionOptions\x12I\n\x13versioning_override\x18\x01 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12\x32\n\x08priority\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Priority\"\xbd\x04\n\x12VersioningOverride\x12M\n\x06pinned\x18\x03 \x01(\x0b\x32;.temporal.api.workflow.v1.VersioningOverride.PinnedOverrideH\x00\x12\x16\n\x0c\x61uto_upgrade\x18\x04 \x01(\x08H\x00\x12?\n\x08\x62\x65havior\x18\x01 \x01(\x0e\x32).temporal.api.enums.v1.VersioningBehaviorB\x02\x18\x01\x12>\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12\x1a\n\x0epinned_version\x18\t \x01(\tB\x02\x18\x01\x1a\xad\x01\n\x0ePinnedOverride\x12U\n\x08\x62\x65havior\x18\x01 \x01(\x0e\x32\x43.temporal.api.workflow.v1.VersioningOverride.PinnedOverrideBehavior\x12\x44\n\x07version\x18\x02 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\"g\n\x16PinnedOverrideBehavior\x12(\n$PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED\x10\x00\x12#\n\x1fPINNED_OVERRIDE_BEHAVIOR_PINNED\x10\x01\x42\n\n\x08override\"i\n\x11OnConflictOptions\x12\x19\n\x11\x61ttach_request_id\x18\x01 \x01(\x08\x12#\n\x1b\x61ttach_completion_callbacks\x18\x02 \x01(\x08\x12\x14\n\x0c\x61ttach_links\x18\x03 \x01(\x08\"i\n\rRequestIdInfo\x12\x34\n\nevent_type\x18\x01 \x01(\x0e\x32 .temporal.api.enums.v1.EventType\x12\x10\n\x08\x65vent_id\x18\x02 \x01(\x03\x12\x10\n\x08\x62uffered\x18\x03 \x01(\x08\"\xb7\x04\n\x12PostResetOperation\x12V\n\x0fsignal_workflow\x18\x01 \x01(\x0b\x32;.temporal.api.workflow.v1.PostResetOperation.SignalWorkflowH\x00\x12\x65\n\x17update_workflow_options\x18\x02 \x01(\x0b\x32\x42.temporal.api.workflow.v1.PostResetOperation.UpdateWorkflowOptionsH\x00\x1a\xb3\x01\n\x0eSignalWorkflow\x12\x13\n\x0bsignal_name\x18\x01 \x01(\t\x12/\n\x05input\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12.\n\x06header\x18\x03 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12+\n\x05links\x18\x04 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x1a\xa0\x01\n\x15UpdateWorkflowOptions\x12V\n\x1aworkflow_execution_options\x18\x01 \x01(\x0b\x32\x32.temporal.api.workflow.v1.WorkflowExecutionOptions\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\t\n\x07variant\"o\n\x1aWorkflowExecutionPauseInfo\x12\x10\n\x08identity\x18\x01 \x01(\t\x12/\n\x0bpaused_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06reason\x18\x03 \x01(\tB\x93\x01\n\x1bio.temporal.api.workflow.v1B\x0cMessageProtoP\x01Z\'go.temporal.io/api/workflow/v1;workflow\xaa\x02\x1aTemporalio.Api.Workflow.V1\xea\x02\x1dTemporalio::Api::Workflow::V1b\x06proto3" +descriptor_data = "\n&temporal/api/workflow/v1/message.proto\x12\x18temporal.api.workflow.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a google/protobuf/field_mask.proto\x1a&temporal/api/activity/v1/message.proto\x1a\"temporal/api/enums/v1/common.proto\x1a&temporal/api/enums/v1/event_type.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a$temporal/api/common/v1/message.proto\x1a(temporal/api/deployment/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto\"\xf0\t\n\x15WorkflowExecutionInfo\x12<\n\texecution\x18\x01 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x32\n\x04type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nclose_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x06status\x18\x05 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowExecutionStatus\x12\x16\n\x0ehistory_length\x18\x06 \x01(\x03\x12\x1b\n\x13parent_namespace_id\x18\x07 \x01(\t\x12\x43\n\x10parent_execution\x18\x08 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x32\n\x0e\x65xecution_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12*\n\x04memo\x18\n \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0b \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12@\n\x11\x61uto_reset_points\x18\x0c \x01(\x0b\x32%.temporal.api.workflow.v1.ResetPoints\x12\x12\n\ntask_queue\x18\r \x01(\t\x12\x1e\n\x16state_transition_count\x18\x0e \x01(\x03\x12\x1a\n\x12history_size_bytes\x18\x0f \x01(\x03\x12X\n most_recent_worker_version_stamp\x18\x10 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12\x35\n\x12\x65xecution_duration\x18\x11 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x41\n\x0eroot_execution\x18\x12 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1d\n\x11\x61ssigned_build_id\x18\x13 \x01(\tB\x02\x18\x01\x12\x1e\n\x12inherited_build_id\x18\x14 \x01(\tB\x02\x18\x01\x12\x14\n\x0c\x66irst_run_id\x18\x15 \x01(\t\x12R\n\x0fversioning_info\x18\x16 \x01(\x0b\x32\x39.temporal.api.workflow.v1.WorkflowExecutionVersioningInfo\x12\x1e\n\x16worker_deployment_name\x18\x17 \x01(\t\x12\x32\n\x08priority\x18\x18 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12#\n\x1b\x65xternal_payload_size_bytes\x18\x19 \x01(\x03\x12\x1e\n\x16\x65xternal_payload_count\x18\x1a \x01(\x03\"\xc6\x04\n\x1dWorkflowExecutionExtendedInfo\x12=\n\x19\x65xecution_expiration_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x13run_expiration_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x18\n\x10\x63\x61ncel_requested\x18\x03 \x01(\x08\x12\x33\n\x0flast_reset_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x13original_start_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0creset_run_id\x18\x06 \x01(\t\x12\x65\n\x10request_id_infos\x18\x07 \x03(\x0b\x32K.temporal.api.workflow.v1.WorkflowExecutionExtendedInfo.RequestIdInfosEntry\x12H\n\npause_info\x18\x08 \x01(\x0b\x32\x34.temporal.api.workflow.v1.WorkflowExecutionPauseInfo\x1a^\n\x13RequestIdInfosEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.temporal.api.workflow.v1.RequestIdInfo:\x02\x38\x01\"\xfb\x04\n\x1fWorkflowExecutionVersioningInfo\x12;\n\x08\x62\x65havior\x18\x01 \x01(\x0e\x32).temporal.api.enums.v1.VersioningBehavior\x12>\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12\x13\n\x07version\x18\x05 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12I\n\x13versioning_override\x18\x03 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12Q\n\x15\x64\x65ployment_transition\x18\x04 \x01(\x0b\x32..temporal.api.workflow.v1.DeploymentTransitionB\x02\x18\x01\x12Q\n\x12version_transition\x18\x06 \x01(\x0b\x32\x35.temporal.api.workflow.v1.DeploymentVersionTransition\x12\x17\n\x0frevision_number\x18\x08 \x01(\x03\x12k\n+continue_as_new_initial_versioning_behavior\x18\t \x01(\x0e\x32\x36.temporal.api.enums.v1.ContinueAsNewVersioningBehavior\"R\n\x14\x44\x65ploymentTransition\x12:\n\ndeployment\x18\x01 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment\"\x83\x01\n\x1b\x44\x65ploymentVersionTransition\x12\x13\n\x07version\x18\x01 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x02 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\"\xc7\x02\n\x17WorkflowExecutionConfig\x12\x38\n\ntask_queue\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12=\n\x1aworkflow_execution_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12@\n\x1d\x64\x65\x66\x61ult_workflow_task_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\ruser_metadata\x18\x05 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\"\xbd\r\n\x13PendingActivityInfo\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12;\n\ractivity_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12:\n\x05state\x18\x03 \x01(\x0e\x32+.temporal.api.enums.v1.PendingActivityState\x12;\n\x11heartbeat_details\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x37\n\x13last_heartbeat_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_started_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x61ttempt\x18\x07 \x01(\x05\x12\x18\n\x10maximum_attempts\x18\x08 \x01(\x05\x12\x32\n\x0escheduled_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x0f\x65xpiration_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x0clast_failure\x18\x0b \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x1c\n\x14last_worker_identity\x18\x0c \x01(\t\x12;\n\x15use_workflow_build_id\x18\r \x01(\x0b\x32\x16.google.protobuf.EmptyB\x02\x18\x01H\x00\x12\x32\n$last_independently_assigned_build_id\x18\x0e \x01(\tB\x02\x18\x01H\x00\x12Q\n\x19last_worker_version_stamp\x18\x0f \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12\x39\n\x16\x63urrent_retry_interval\x18\x10 \x01(\x0b\x32\x19.google.protobuf.Duration\x12>\n\x1alast_attempt_complete_time\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x1anext_attempt_schedule_time\x18\x12 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06paused\x18\x13 \x01(\x08\x12\x43\n\x0flast_deployment\x18\x14 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12*\n\x1elast_worker_deployment_version\x18\x15 \x01(\tB\x02\x18\x01\x12T\n\x17last_deployment_version\x18\x19 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x32\n\x08priority\x18\x16 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12K\n\npause_info\x18\x17 \x01(\x0b\x32\x37.temporal.api.workflow.v1.PendingActivityInfo.PauseInfo\x12\x43\n\x10\x61\x63tivity_options\x18\x18 \x01(\x0b\x32).temporal.api.activity.v1.ActivityOptions\x1a\xcf\x02\n\tPauseInfo\x12.\n\npause_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12P\n\x06manual\x18\x02 \x01(\x0b\x32>.temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.ManualH\x00\x12L\n\x04rule\x18\x04 \x01(\x0b\x32<.temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.RuleH\x00\x1a*\n\x06Manual\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0e\n\x06reason\x18\x02 \x01(\t\x1a\x39\n\x04Rule\x12\x0f\n\x07rule_id\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\tB\x0b\n\tpaused_byB\x13\n\x11\x61ssigned_build_id\"\xb9\x01\n\x19PendingChildExecutionInfo\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\x12\x1a\n\x12workflow_type_name\x18\x03 \x01(\t\x12\x14\n\x0cinitiated_id\x18\x04 \x01(\x03\x12\x45\n\x13parent_close_policy\x18\x05 \x01(\x0e\x32(.temporal.api.enums.v1.ParentClosePolicy\"\x8d\x02\n\x17PendingWorkflowTaskInfo\x12>\n\x05state\x18\x01 \x01(\x0e\x32/.temporal.api.enums.v1.PendingWorkflowTaskState\x12\x32\n\x0escheduled_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12;\n\x17original_scheduled_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cstarted_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x61ttempt\x18\x05 \x01(\x05\"G\n\x0bResetPoints\x12\x38\n\x06points\x18\x01 \x03(\x0b\x32(.temporal.api.workflow.v1.ResetPointInfo\"\xef\x01\n\x0eResetPointInfo\x12\x10\n\x08\x62uild_id\x18\x07 \x01(\t\x12\x1b\n\x0f\x62inary_checksum\x18\x01 \x01(\tB\x02\x18\x01\x12\x0e\n\x06run_id\x18\x02 \x01(\t\x12(\n first_workflow_task_completed_id\x18\x03 \x01(\x03\x12/\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x65xpire_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nresettable\x18\x06 \x01(\x08\"\x85\x07\n\x18NewWorkflowExecutionInfo\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\t\x12;\n\rworkflow_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x03 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12N\n\x18workflow_id_reuse_policy\x18\x08 \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12\x39\n\x0cretry_policy\x18\t \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\n \x01(\t\x12*\n\x04memo\x18\x0b \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0c \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\x06header\x18\r \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x38\n\ruser_metadata\x18\x0e \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12I\n\x13versioning_override\x18\x0f \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12\x32\n\x08priority\x18\x10 \x01(\x0b\x32 .temporal.api.common.v1.Priority\"\xd2\x04\n\x0c\x43\x61llbackInfo\x12\x32\n\x08\x63\x61llback\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Callback\x12?\n\x07trigger\x18\x02 \x01(\x0b\x32..temporal.api.workflow.v1.CallbackInfo.Trigger\x12\x35\n\x11registration_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x05state\x18\x04 \x01(\x0e\x32$.temporal.api.enums.v1.CallbackState\x12\x0f\n\x07\x61ttempt\x18\x05 \x01(\x05\x12>\n\x1alast_attempt_complete_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x14last_attempt_failure\x18\x07 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12>\n\x1anext_attempt_schedule_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0e\x62locked_reason\x18\t \x01(\t\x1a\x10\n\x0eWorkflowClosed\x1a\x66\n\x07Trigger\x12P\n\x0fworkflow_closed\x18\x01 \x01(\x0b\x32\x35.temporal.api.workflow.v1.CallbackInfo.WorkflowClosedH\x00\x42\t\n\x07variant\"\x8b\x06\n\x19PendingNexusOperationInfo\x12\x10\n\x08\x65ndpoint\x18\x01 \x01(\t\x12\x0f\n\x07service\x18\x02 \x01(\t\x12\x11\n\toperation\x18\x03 \x01(\t\x12\x18\n\x0coperation_id\x18\x04 \x01(\tB\x02\x18\x01\x12<\n\x19schedule_to_close_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x32\n\x0escheduled_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12@\n\x05state\x18\x07 \x01(\x0e\x32\x31.temporal.api.enums.v1.PendingNexusOperationState\x12\x0f\n\x07\x61ttempt\x18\x08 \x01(\x05\x12>\n\x1alast_attempt_complete_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x14last_attempt_failure\x18\n \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12>\n\x1anext_attempt_schedule_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12S\n\x11\x63\x61ncellation_info\x18\x0c \x01(\x0b\x32\x38.temporal.api.workflow.v1.NexusOperationCancellationInfo\x12\x1a\n\x12scheduled_event_id\x18\r \x01(\x03\x12\x16\n\x0e\x62locked_reason\x18\x0e \x01(\t\x12\x17\n\x0foperation_token\x18\x0f \x01(\t\x12<\n\x19schedule_to_start_timeout\x18\x10 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\x11 \x01(\x0b\x32\x19.google.protobuf.Duration\"\x84\x03\n\x1eNexusOperationCancellationInfo\x12\x32\n\x0erequested_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x45\n\x05state\x18\x02 \x01(\x0e\x32\x36.temporal.api.enums.v1.NexusOperationCancellationState\x12\x0f\n\x07\x61ttempt\x18\x03 \x01(\x05\x12>\n\x1alast_attempt_complete_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x14last_attempt_failure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12>\n\x1anext_attempt_schedule_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0e\x62locked_reason\x18\x07 \x01(\t\"\xe5\x01\n\x18WorkflowExecutionOptions\x12I\n\x13versioning_override\x18\x01 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12\x32\n\x08priority\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12J\n\x14time_skipping_config\x18\x03 \x01(\x0b\x32,.temporal.api.workflow.v1.TimeSkippingConfig\"\xd6\x01\n\x12TimeSkippingConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x39\n\x14max_skipped_duration\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x39\n\x14max_elapsed_duration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x42\x07\n\x05\x62oundJ\x04\x08\x02\x10\x03J\x04\x08\x06\x10\x07R\x13\x64isable_propagationR\x0fmax_target_time\"\xbd\x04\n\x12VersioningOverride\x12M\n\x06pinned\x18\x03 \x01(\x0b\x32;.temporal.api.workflow.v1.VersioningOverride.PinnedOverrideH\x00\x12\x16\n\x0c\x61uto_upgrade\x18\x04 \x01(\x08H\x00\x12?\n\x08\x62\x65havior\x18\x01 \x01(\x0e\x32).temporal.api.enums.v1.VersioningBehaviorB\x02\x18\x01\x12>\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12\x1a\n\x0epinned_version\x18\t \x01(\tB\x02\x18\x01\x1a\xad\x01\n\x0ePinnedOverride\x12U\n\x08\x62\x65havior\x18\x01 \x01(\x0e\x32\x43.temporal.api.workflow.v1.VersioningOverride.PinnedOverrideBehavior\x12\x44\n\x07version\x18\x02 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\"g\n\x16PinnedOverrideBehavior\x12(\n$PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED\x10\x00\x12#\n\x1fPINNED_OVERRIDE_BEHAVIOR_PINNED\x10\x01\x42\n\n\x08override\"i\n\x11OnConflictOptions\x12\x19\n\x11\x61ttach_request_id\x18\x01 \x01(\x08\x12#\n\x1b\x61ttach_completion_callbacks\x18\x02 \x01(\x08\x12\x14\n\x0c\x61ttach_links\x18\x03 \x01(\x08\"i\n\rRequestIdInfo\x12\x34\n\nevent_type\x18\x01 \x01(\x0e\x32 .temporal.api.enums.v1.EventType\x12\x10\n\x08\x65vent_id\x18\x02 \x01(\x03\x12\x10\n\x08\x62uffered\x18\x03 \x01(\x08\"\xb7\x04\n\x12PostResetOperation\x12V\n\x0fsignal_workflow\x18\x01 \x01(\x0b\x32;.temporal.api.workflow.v1.PostResetOperation.SignalWorkflowH\x00\x12\x65\n\x17update_workflow_options\x18\x02 \x01(\x0b\x32\x42.temporal.api.workflow.v1.PostResetOperation.UpdateWorkflowOptionsH\x00\x1a\xb3\x01\n\x0eSignalWorkflow\x12\x13\n\x0bsignal_name\x18\x01 \x01(\t\x12/\n\x05input\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12.\n\x06header\x18\x03 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12+\n\x05links\x18\x04 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x1a\xa0\x01\n\x15UpdateWorkflowOptions\x12V\n\x1aworkflow_execution_options\x18\x01 \x01(\x0b\x32\x32.temporal.api.workflow.v1.WorkflowExecutionOptions\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\t\n\x07variant\"o\n\x1aWorkflowExecutionPauseInfo\x12\x10\n\x08identity\x18\x01 \x01(\t\x12/\n\x0bpaused_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06reason\x18\x03 \x01(\tB\x93\x01\n\x1bio.temporal.api.workflow.v1B\x0cMessageProtoP\x01Z\'go.temporal.io/api/workflow/v1;workflow\xaa\x02\x1aTemporalio.Api.Workflow.V1\xea\x02\x1dTemporalio::Api::Workflow::V1b\x06proto3" pool = ::Google::Protobuf::DescriptorPool.generated_pool pool.add_serialized_file(descriptor_data) @@ -49,6 +49,7 @@ module V1 PendingNexusOperationInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.PendingNexusOperationInfo").msgclass NexusOperationCancellationInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.NexusOperationCancellationInfo").msgclass WorkflowExecutionOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.WorkflowExecutionOptions").msgclass + TimeSkippingConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.TimeSkippingConfig").msgclass VersioningOverride = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.VersioningOverride").msgclass VersioningOverride::PinnedOverride = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.VersioningOverride.PinnedOverride").msgclass VersioningOverride::PinnedOverrideBehavior = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.VersioningOverride.PinnedOverrideBehavior").enummodule diff --git a/temporalio/lib/temporalio/api/workflowservice/v1/request_response.rb b/temporalio/lib/temporalio/api/workflowservice/v1/request_response.rb index 6b9d3cd5..3ede542c 100644 --- a/temporalio/lib/temporalio/api/workflowservice/v1/request_response.rb +++ b/temporalio/lib/temporalio/api/workflowservice/v1/request_response.rb @@ -15,11 +15,13 @@ require 'temporalio/api/enums/v1/deployment' require 'temporalio/api/enums/v1/update' require 'temporalio/api/enums/v1/activity' +require 'temporalio/api/enums/v1/nexus' require 'temporalio/api/activity/v1/message' require 'temporalio/api/common/v1/message' require 'temporalio/api/history/v1/message' require 'temporalio/api/workflow/v1/message' require 'temporalio/api/command/v1/message' +require 'temporalio/api/compute/v1/config' require 'temporalio/api/deployment/v1/message' require 'temporalio/api/failure/v1/message' require 'temporalio/api/filter/v1/message' @@ -43,7 +45,7 @@ require 'google/protobuf/timestamp_pb' -descriptor_data = "\n6temporal/api/workflowservice/v1/request_response.proto\x12\x1ftemporal.api.workflowservice.v1\x1a+temporal/api/enums/v1/batch_operation.proto\x1a\"temporal/api/enums/v1/common.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a%temporal/api/enums/v1/namespace.proto\x1a(temporal/api/enums/v1/failed_cause.proto\x1a!temporal/api/enums/v1/query.proto\x1a!temporal/api/enums/v1/reset.proto\x1a&temporal/api/enums/v1/task_queue.proto\x1a&temporal/api/enums/v1/deployment.proto\x1a\"temporal/api/enums/v1/update.proto\x1a$temporal/api/enums/v1/activity.proto\x1a&temporal/api/activity/v1/message.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/history/v1/message.proto\x1a&temporal/api/workflow/v1/message.proto\x1a%temporal/api/command/v1/message.proto\x1a(temporal/api/deployment/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a$temporal/api/filter/v1/message.proto\x1a&temporal/api/protocol/v1/message.proto\x1a\'temporal/api/namespace/v1/message.proto\x1a#temporal/api/query/v1/message.proto\x1a)temporal/api/replication/v1/message.proto\x1a#temporal/api/rules/v1/message.proto\x1a\'temporal/api/sdk/v1/worker_config.proto\x1a&temporal/api/schedule/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a$temporal/api/update/v1/message.proto\x1a%temporal/api/version/v1/message.proto\x1a#temporal/api/batch/v1/message.proto\x1a\x30temporal/api/sdk/v1/task_complete_metadata.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto\x1a#temporal/api/nexus/v1/message.proto\x1a$temporal/api/worker/v1/message.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x88\x05\n\x18RegisterNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x13\n\x0bowner_email\x18\x03 \x01(\t\x12\x46\n#workflow_execution_retention_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12G\n\x08\x63lusters\x18\x05 \x03(\x0b\x32\x35.temporal.api.replication.v1.ClusterReplicationConfig\x12\x1b\n\x13\x61\x63tive_cluster_name\x18\x06 \x01(\t\x12Q\n\x04\x64\x61ta\x18\x07 \x03(\x0b\x32\x43.temporal.api.workflowservice.v1.RegisterNamespaceRequest.DataEntry\x12\x16\n\x0esecurity_token\x18\x08 \x01(\t\x12\x1b\n\x13is_global_namespace\x18\t \x01(\x08\x12\x44\n\x16history_archival_state\x18\n \x01(\x0e\x32$.temporal.api.enums.v1.ArchivalState\x12\x1c\n\x14history_archival_uri\x18\x0b \x01(\t\x12G\n\x19visibility_archival_state\x18\x0c \x01(\x0e\x32$.temporal.api.enums.v1.ArchivalState\x12\x1f\n\x17visibility_archival_uri\x18\r \x01(\t\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x1b\n\x19RegisterNamespaceResponse\"\x89\x01\n\x15ListNamespacesRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\x12\x44\n\x10namespace_filter\x18\x03 \x01(\x0b\x32*.temporal.api.namespace.v1.NamespaceFilter\"\x81\x01\n\x16ListNamespacesResponse\x12N\n\nnamespaces\x18\x01 \x03(\x0b\x32:.temporal.api.workflowservice.v1.DescribeNamespaceResponse\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"9\n\x18\x44\x65scribeNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\"\xec\x02\n\x19\x44\x65scribeNamespaceResponse\x12@\n\x0enamespace_info\x18\x01 \x01(\x0b\x32(.temporal.api.namespace.v1.NamespaceInfo\x12:\n\x06\x63onfig\x18\x02 \x01(\x0b\x32*.temporal.api.namespace.v1.NamespaceConfig\x12S\n\x12replication_config\x18\x03 \x01(\x0b\x32\x37.temporal.api.replication.v1.NamespaceReplicationConfig\x12\x18\n\x10\x66\x61ilover_version\x18\x04 \x01(\x03\x12\x1b\n\x13is_global_namespace\x18\x05 \x01(\x08\x12\x45\n\x10\x66\x61ilover_history\x18\x06 \x03(\x0b\x32+.temporal.api.replication.v1.FailoverStatus\"\xcf\x02\n\x16UpdateNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x43\n\x0bupdate_info\x18\x02 \x01(\x0b\x32..temporal.api.namespace.v1.UpdateNamespaceInfo\x12:\n\x06\x63onfig\x18\x03 \x01(\x0b\x32*.temporal.api.namespace.v1.NamespaceConfig\x12S\n\x12replication_config\x18\x04 \x01(\x0b\x32\x37.temporal.api.replication.v1.NamespaceReplicationConfig\x12\x16\n\x0esecurity_token\x18\x05 \x01(\t\x12\x19\n\x11\x64\x65lete_bad_binary\x18\x06 \x01(\t\x12\x19\n\x11promote_namespace\x18\x07 \x01(\x08\"\xa3\x02\n\x17UpdateNamespaceResponse\x12@\n\x0enamespace_info\x18\x01 \x01(\x0b\x32(.temporal.api.namespace.v1.NamespaceInfo\x12:\n\x06\x63onfig\x18\x02 \x01(\x0b\x32*.temporal.api.namespace.v1.NamespaceConfig\x12S\n\x12replication_config\x18\x03 \x01(\x0b\x32\x37.temporal.api.replication.v1.NamespaceReplicationConfig\x12\x18\n\x10\x66\x61ilover_version\x18\x04 \x01(\x03\x12\x1b\n\x13is_global_namespace\x18\x05 \x01(\x08\"F\n\x19\x44\x65precateNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x16\n\x0esecurity_token\x18\x02 \x01(\t\"\x1c\n\x1a\x44\x65precateNamespaceResponse\"\x87\x0c\n\x1dStartWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x10\n\x08identity\x18\t \x01(\t\x12\x12\n\nrequest_id\x18\n \x01(\t\x12N\n\x18workflow_id_reuse_policy\x18\x0b \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12T\n\x1bworkflow_id_conflict_policy\x18\x16 \x01(\x0e\x32/.temporal.api.enums.v1.WorkflowIdConflictPolicy\x12\x39\n\x0cretry_policy\x18\x0c \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\r \x01(\t\x12*\n\x04memo\x18\x0e \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0f \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\x06header\x18\x10 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x1f\n\x17request_eager_execution\x18\x11 \x01(\x08\x12;\n\x11\x63ontinued_failure\x18\x12 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12@\n\x16last_completion_result\x18\x13 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x37\n\x14workflow_start_delay\x18\x14 \x01(\x0b\x32\x19.google.protobuf.Duration\x12>\n\x14\x63ompletion_callbacks\x18\x15 \x03(\x0b\x32 .temporal.api.common.v1.Callback\x12\x38\n\ruser_metadata\x18\x17 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12+\n\x05links\x18\x18 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x12I\n\x13versioning_override\x18\x19 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12H\n\x13on_conflict_options\x18\x1a \x01(\x0b\x32+.temporal.api.workflow.v1.OnConflictOptions\x12\x32\n\x08priority\x18\x1b \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12\\\n\x1f\x65\x61ger_worker_deployment_options\x18\x1c \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\"\x8a\x02\n\x1eStartWorkflowExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x0f\n\x07started\x18\x03 \x01(\x08\x12>\n\x06status\x18\x05 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowExecutionStatus\x12[\n\x13\x65\x61ger_workflow_task\x18\x02 \x01(\x0b\x32>.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse\x12*\n\x04link\x18\x04 \x01(\x0b\x32\x1c.temporal.api.common.v1.Link\"\xaa\x02\n\"GetWorkflowExecutionHistoryRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x19\n\x11maximum_page_size\x18\x03 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x04 \x01(\x0c\x12\x16\n\x0ewait_new_event\x18\x05 \x01(\x08\x12P\n\x19history_event_filter_type\x18\x06 \x01(\x0e\x32-.temporal.api.enums.v1.HistoryEventFilterType\x12\x15\n\rskip_archival\x18\x07 \x01(\x08\"\xba\x01\n#GetWorkflowExecutionHistoryResponse\x12\x31\n\x07history\x18\x01 \x01(\x0b\x32 .temporal.api.history.v1.History\x12\x35\n\x0braw_history\x18\x02 \x03(\x0b\x32 .temporal.api.common.v1.DataBlob\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\x10\n\x08\x61rchived\x18\x04 \x01(\x08\"\xb0\x01\n)GetWorkflowExecutionHistoryReverseRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x19\n\x11maximum_page_size\x18\x03 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x04 \x01(\x0c\"x\n*GetWorkflowExecutionHistoryReverseResponse\x12\x31\n\x07history\x18\x01 \x01(\x0b\x32 .temporal.api.history.v1.History\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\"\xfc\x02\n\x1cPollWorkflowTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x1b\n\x13worker_instance_key\x18\x08 \x01(\t\x12\x1b\n\x0f\x62inary_checksum\x18\x04 \x01(\tB\x02\x18\x01\x12Z\n\x1bworker_version_capabilities\x18\x05 \x01(\x0b\x32\x31.temporal.api.common.v1.WorkerVersionCapabilitiesB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x06 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptionsJ\x04\x08\x07\x10\x08R\x10worker_heartbeat\"\x91\x07\n\x1dPollWorkflowTaskQueueResponse\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12!\n\x19previous_started_event_id\x18\x04 \x01(\x03\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03\x12\x0f\n\x07\x61ttempt\x18\x06 \x01(\x05\x12\x1a\n\x12\x62\x61\x63klog_count_hint\x18\x07 \x01(\x03\x12\x31\n\x07history\x18\x08 \x01(\x0b\x32 .temporal.api.history.v1.History\x12\x17\n\x0fnext_page_token\x18\t \x01(\x0c\x12\x33\n\x05query\x18\n \x01(\x0b\x32$.temporal.api.query.v1.WorkflowQuery\x12K\n\x1dworkflow_execution_task_queue\x18\x0b \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x32\n\x0escheduled_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cstarted_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\\\n\x07queries\x18\x0e \x03(\x0b\x32K.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse.QueriesEntry\x12\x33\n\x08messages\x18\x0f \x03(\x0b\x32!.temporal.api.protocol.v1.Message\x12Q\n\x17poller_scaling_decision\x18\x10 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.PollerScalingDecision\x1aT\n\x0cQueriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x33\n\x05value\x18\x02 \x01(\x0b\x32$.temporal.api.query.v1.WorkflowQuery:\x02\x38\x01\"\xca\t\n#RespondWorkflowTaskCompletedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x32\n\x08\x63ommands\x18\x02 \x03(\x0b\x32 .temporal.api.command.v1.Command\x12\x10\n\x08identity\x18\x03 \x01(\t\x12O\n\x11sticky_attributes\x18\x04 \x01(\x0b\x32\x34.temporal.api.taskqueue.v1.StickyExecutionAttributes\x12 \n\x18return_new_workflow_task\x18\x05 \x01(\x08\x12&\n\x1e\x66orce_create_new_workflow_task\x18\x06 \x01(\x08\x12\x1b\n\x0f\x62inary_checksum\x18\x07 \x01(\tB\x02\x18\x01\x12m\n\rquery_results\x18\x08 \x03(\x0b\x32V.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.QueryResultsEntry\x12\x11\n\tnamespace\x18\t \x01(\t\x12\x13\n\x0bresource_id\x18\x12 \x01(\t\x12L\n\x14worker_version_stamp\x18\n \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12\x33\n\x08messages\x18\x0b \x03(\x0b\x32!.temporal.api.protocol.v1.Message\x12H\n\x0csdk_metadata\x18\x0c \x01(\x0b\x32\x32.temporal.api.sdk.v1.WorkflowTaskCompletedMetadata\x12\x43\n\x11metering_metadata\x18\r \x01(\x0b\x32(.temporal.api.common.v1.MeteringMetadata\x12g\n\x0c\x63\x61pabilities\x18\x0e \x01(\x0b\x32Q.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.Capabilities\x12>\n\ndeployment\x18\x0f \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12\x46\n\x13versioning_behavior\x18\x10 \x01(\x0e\x32).temporal.api.enums.v1.VersioningBehavior\x12O\n\x12\x64\x65ployment_options\x18\x11 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\x1a_\n\x11QueryResultsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x39\n\x05value\x18\x02 \x01(\x0b\x32*.temporal.api.query.v1.WorkflowQueryResult:\x02\x38\x01\x1a\x45\n\x0c\x43\x61pabilities\x12\x35\n-discard_speculative_workflow_task_with_events\x18\x01 \x01(\x08\"\xf5\x01\n$RespondWorkflowTaskCompletedResponse\x12U\n\rworkflow_task\x18\x01 \x01(\x0b\x32>.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse\x12V\n\x0e\x61\x63tivity_tasks\x18\x02 \x03(\x0b\x32>.temporal.api.workflowservice.v1.PollActivityTaskQueueResponse\x12\x1e\n\x16reset_history_event_id\x18\x03 \x01(\x03\"\x8d\x04\n RespondWorkflowTaskFailedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12=\n\x05\x63\x61use\x18\x02 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowTaskFailedCause\x12\x31\n\x07\x66\x61ilure\x18\x03 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x1b\n\x0f\x62inary_checksum\x18\x05 \x01(\tB\x02\x18\x01\x12\x11\n\tnamespace\x18\x06 \x01(\t\x12\x13\n\x0bresource_id\x18\x0b \x01(\t\x12\x33\n\x08messages\x18\x07 \x03(\x0b\x32!.temporal.api.protocol.v1.Message\x12\x46\n\x0eworker_version\x18\x08 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\ndeployment\x18\t \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\n \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\"#\n!RespondWorkflowTaskFailedResponse\"\xaa\x03\n\x1cPollActivityTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x1b\n\x13worker_instance_key\x18\x08 \x01(\t\x12I\n\x13task_queue_metadata\x18\x04 \x01(\x0b\x32,.temporal.api.taskqueue.v1.TaskQueueMetadata\x12Z\n\x1bworker_version_capabilities\x18\x05 \x01(\x0b\x32\x31.temporal.api.common.v1.WorkerVersionCapabilitiesB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x06 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptionsJ\x04\x08\x07\x10\x08R\x10worker_heartbeat\"\x88\x08\n\x1dPollActivityTaskQueueResponse\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x1a\n\x12workflow_namespace\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x45\n\x12workflow_execution\x18\x04 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\ractivity_type\x18\x05 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x13\n\x0b\x61\x63tivity_id\x18\x06 \x01(\t\x12.\n\x06header\x18\x07 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12/\n\x05input\x18\x08 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12;\n\x11heartbeat_details\x18\t \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x32\n\x0escheduled_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x42\n\x1e\x63urrent_attempt_scheduled_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cstarted_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x61ttempt\x18\r \x01(\x05\x12<\n\x19schedule_to_close_timeout\x18\x0e \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\x0f \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\x10 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x11 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12Q\n\x17poller_scaling_decision\x18\x12 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.PollerScalingDecision\x12\x32\n\x08priority\x18\x13 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12\x17\n\x0f\x61\x63tivity_run_id\x18\x14 \x01(\t\"\xa5\x01\n\"RecordActivityTaskHeartbeatRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x31\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\x12\x13\n\x0bresource_id\x18\x05 \x01(\t\"p\n#RecordActivityTaskHeartbeatResponse\x12\x18\n\x10\x63\x61ncel_requested\x18\x01 \x01(\x08\x12\x17\n\x0f\x61\x63tivity_paused\x18\x02 \x01(\x08\x12\x16\n\x0e\x61\x63tivity_reset\x18\x03 \x01(\x08\"\xcf\x01\n&RecordActivityTaskHeartbeatByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x31\n\x07\x64\x65tails\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x06 \x01(\t\x12\x13\n\x0bresource_id\x18\x07 \x01(\t\"t\n\'RecordActivityTaskHeartbeatByIdResponse\x12\x18\n\x10\x63\x61ncel_requested\x18\x01 \x01(\x08\x12\x17\n\x0f\x61\x63tivity_paused\x18\x02 \x01(\x08\x12\x16\n\x0e\x61\x63tivity_reset\x18\x03 \x01(\x08\"\xfe\x02\n#RespondActivityTaskCompletedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x30\n\x06result\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\x12\x13\n\x0bresource_id\x18\x08 \x01(\t\x12\x46\n\x0eworker_version\x18\x05 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\ndeployment\x18\x06 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\"&\n$RespondActivityTaskCompletedResponse\"\xcf\x01\n\'RespondActivityTaskCompletedByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x30\n\x06result\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x06 \x01(\t\x12\x13\n\x0bresource_id\x18\x07 \x01(\t\"*\n(RespondActivityTaskCompletedByIdResponse\"\xbe\x03\n RespondActivityTaskFailedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\x12\x13\n\x0bresource_id\x18\t \x01(\t\x12@\n\x16last_heartbeat_details\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\ndeployment\x18\x07 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x08 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\"W\n!RespondActivityTaskFailedResponse\x12\x32\n\x08\x66\x61ilures\x18\x01 \x03(\x0b\x32 .temporal.api.failure.v1.Failure\"\x8f\x02\n$RespondActivityTaskFailedByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x31\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x10\n\x08identity\x18\x06 \x01(\t\x12@\n\x16last_heartbeat_details\x18\x07 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x13\n\x0bresource_id\x18\x08 \x01(\t\"[\n%RespondActivityTaskFailedByIdResponse\x12\x32\n\x08\x66\x61ilures\x18\x01 \x03(\x0b\x32 .temporal.api.failure.v1.Failure\"\xfe\x02\n\"RespondActivityTaskCanceledRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x31\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\x12\x13\n\x0bresource_id\x18\x08 \x01(\t\x12\x46\n\x0eworker_version\x18\x05 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\ndeployment\x18\x06 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\"%\n#RespondActivityTaskCanceledResponse\"\xa0\x02\n&RespondActivityTaskCanceledByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x31\n\x07\x64\x65tails\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x06 \x01(\t\x12O\n\x12\x64\x65ployment_options\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\x12\x13\n\x0bresource_id\x18\x08 \x01(\t\")\n\'RespondActivityTaskCanceledByIdResponse\"\x84\x02\n%RequestCancelWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x12\n\nrequest_id\x18\x04 \x01(\t\x12\x1e\n\x16\x66irst_execution_run_id\x18\x05 \x01(\t\x12\x0e\n\x06reason\x18\x06 \x01(\t\x12+\n\x05links\x18\x07 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\"(\n&RequestCancelWorkflowExecutionResponse\"\xde\x02\n\x1eSignalWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x0bsignal_name\x18\x03 \x01(\t\x12/\n\x05input\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t\x12\x13\n\x07\x63ontrol\x18\x07 \x01(\tB\x02\x18\x01\x12.\n\x06header\x18\x08 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12+\n\x05links\x18\n \x03(\x0b\x32\x1c.temporal.api.common.v1.LinkJ\x04\x08\t\x10\n\"!\n\x1fSignalWorkflowExecutionResponse\"\xf1\t\n\'SignalWithStartWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x10\n\x08identity\x18\t \x01(\t\x12\x12\n\nrequest_id\x18\n \x01(\t\x12N\n\x18workflow_id_reuse_policy\x18\x0b \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12T\n\x1bworkflow_id_conflict_policy\x18\x16 \x01(\x0e\x32/.temporal.api.enums.v1.WorkflowIdConflictPolicy\x12\x13\n\x0bsignal_name\x18\x0c \x01(\t\x12\x36\n\x0csignal_input\x18\r \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x13\n\x07\x63ontrol\x18\x0e \x01(\tB\x02\x18\x01\x12\x39\n\x0cretry_policy\x18\x0f \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\x10 \x01(\t\x12*\n\x04memo\x18\x11 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x12 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\x06header\x18\x13 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x37\n\x14workflow_start_delay\x18\x14 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\ruser_metadata\x18\x17 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12+\n\x05links\x18\x18 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x12I\n\x13versioning_override\x18\x19 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12\x32\n\x08priority\x18\x1a \x01(\x0b\x32 .temporal.api.common.v1.PriorityJ\x04\x08\x15\x10\x16\"K\n(SignalWithStartWorkflowExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x0f\n\x07started\x18\x02 \x01(\x08\"\xc1\x03\n\x1dResetWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12%\n\x1dworkflow_task_finish_event_id\x18\x04 \x01(\x03\x12\x12\n\nrequest_id\x18\x05 \x01(\t\x12G\n\x12reset_reapply_type\x18\x06 \x01(\x0e\x32\'.temporal.api.enums.v1.ResetReapplyTypeB\x02\x18\x01\x12S\n\x1breset_reapply_exclude_types\x18\x07 \x03(\x0e\x32..temporal.api.enums.v1.ResetReapplyExcludeType\x12K\n\x15post_reset_operations\x18\x08 \x03(\x0b\x32,.temporal.api.workflow.v1.PostResetOperation\x12\x10\n\x08identity\x18\t \x01(\t\"0\n\x1eResetWorkflowExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\"\x9f\x02\n!TerminateWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x31\n\x07\x64\x65tails\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x1e\n\x16\x66irst_execution_run_id\x18\x06 \x01(\t\x12+\n\x05links\x18\x07 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\"$\n\"TerminateWorkflowExecutionResponse\"z\n\x1e\x44\x65leteWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\"!\n\x1f\x44\x65leteWorkflowExecutionResponse\"\xc9\x02\n!ListOpenWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x19\n\x11maximum_page_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\x42\n\x11start_time_filter\x18\x04 \x01(\x0b\x32\'.temporal.api.filter.v1.StartTimeFilter\x12K\n\x10\x65xecution_filter\x18\x05 \x01(\x0b\x32/.temporal.api.filter.v1.WorkflowExecutionFilterH\x00\x12\x41\n\x0btype_filter\x18\x06 \x01(\x0b\x32*.temporal.api.filter.v1.WorkflowTypeFilterH\x00\x42\t\n\x07\x66ilters\"\x82\x01\n\"ListOpenWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"\x8a\x03\n#ListClosedWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x19\n\x11maximum_page_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\x42\n\x11start_time_filter\x18\x04 \x01(\x0b\x32\'.temporal.api.filter.v1.StartTimeFilter\x12K\n\x10\x65xecution_filter\x18\x05 \x01(\x0b\x32/.temporal.api.filter.v1.WorkflowExecutionFilterH\x00\x12\x41\n\x0btype_filter\x18\x06 \x01(\x0b\x32*.temporal.api.filter.v1.WorkflowTypeFilterH\x00\x12=\n\rstatus_filter\x18\x07 \x01(\x0b\x32$.temporal.api.filter.v1.StatusFilterH\x00\x42\t\n\x07\x66ilters\"\x84\x01\n$ListClosedWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"m\n\x1dListWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t\"~\n\x1eListWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"u\n%ListArchivedWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t\"\x86\x01\n&ListArchivedWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"m\n\x1dScanWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t\"~\n\x1eScanWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"B\n\x1e\x43ountWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\r\n\x05query\x18\x02 \x01(\t\"\xed\x01\n\x1f\x43ountWorkflowExecutionsResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12\x61\n\x06groups\x18\x02 \x03(\x0b\x32Q.temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse.AggregationGroup\x1aX\n\x10\x41ggregationGroup\x12\x35\n\x0cgroup_values\x18\x01 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\r\n\x05\x63ount\x18\x02 \x01(\x03\"\x1c\n\x1aGetSearchAttributesRequest\"\xc9\x01\n\x1bGetSearchAttributesResponse\x12T\n\x04keys\x18\x01 \x03(\x0b\x32\x46.temporal.api.workflowservice.v1.GetSearchAttributesResponse.KeysEntry\x1aT\n\tKeysEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0e\x32\'.temporal.api.enums.v1.IndexedValueType:\x02\x38\x01\"\xd0\x02\n RespondQueryTaskCompletedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12>\n\x0e\x63ompleted_type\x18\x02 \x01(\x0e\x32&.temporal.api.enums.v1.QueryResultType\x12\x36\n\x0cquery_result\x18\x03 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x15\n\rerror_message\x18\x04 \x01(\t\x12\x11\n\tnamespace\x18\x06 \x01(\t\x12\x31\n\x07\x66\x61ilure\x18\x07 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12=\n\x05\x63\x61use\x18\x08 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowTaskFailedCauseJ\x04\x08\x05\x10\x06\"#\n!RespondQueryTaskCompletedResponse\"n\n\x1bResetStickyTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\"\x1e\n\x1cResetStickyTaskQueueResponse\"\x9b\x02\n\x15ShutdownWorkerRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x19\n\x11sticky_task_queue\x18\x02 \x01(\t\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x0e\n\x06reason\x18\x04 \x01(\t\x12\x41\n\x10worker_heartbeat\x18\x05 \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat\x12\x1b\n\x13worker_instance_key\x18\x06 \x01(\t\x12\x12\n\ntask_queue\x18\x07 \x01(\t\x12>\n\x10task_queue_types\x18\x08 \x03(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\"\x18\n\x16ShutdownWorkerResponse\"\xe9\x01\n\x14QueryWorkflowRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x33\n\x05query\x18\x03 \x01(\x0b\x32$.temporal.api.query.v1.WorkflowQuery\x12K\n\x16query_reject_condition\x18\x04 \x01(\x0e\x32+.temporal.api.enums.v1.QueryRejectCondition\"\x8d\x01\n\x15QueryWorkflowResponse\x12\x36\n\x0cquery_result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12<\n\x0equery_rejected\x18\x02 \x01(\x0b\x32$.temporal.api.query.v1.QueryRejected\"s\n DescribeWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\"\x99\x05\n!DescribeWorkflowExecutionResponse\x12K\n\x10\x65xecution_config\x18\x01 \x01(\x0b\x32\x31.temporal.api.workflow.v1.WorkflowExecutionConfig\x12P\n\x17workflow_execution_info\x18\x02 \x01(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12I\n\x12pending_activities\x18\x03 \x03(\x0b\x32-.temporal.api.workflow.v1.PendingActivityInfo\x12M\n\x10pending_children\x18\x04 \x03(\x0b\x32\x33.temporal.api.workflow.v1.PendingChildExecutionInfo\x12P\n\x15pending_workflow_task\x18\x05 \x01(\x0b\x32\x31.temporal.api.workflow.v1.PendingWorkflowTaskInfo\x12\x39\n\tcallbacks\x18\x06 \x03(\x0b\x32&.temporal.api.workflow.v1.CallbackInfo\x12U\n\x18pending_nexus_operations\x18\x07 \x03(\x0b\x32\x33.temporal.api.workflow.v1.PendingNexusOperationInfo\x12W\n\x16workflow_extended_info\x18\x08 \x01(\x0b\x32\x37.temporal.api.workflow.v1.WorkflowExecutionExtendedInfo\"\x90\x04\n\x18\x44\x65scribeTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12=\n\x0ftask_queue_type\x18\x03 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12\x14\n\x0creport_stats\x18\x08 \x01(\x08\x12\x15\n\rreport_config\x18\x0b \x01(\x08\x12%\n\x19include_task_queue_status\x18\x04 \x01(\x08\x42\x02\x18\x01\x12\x42\n\x08\x61pi_mode\x18\x05 \x01(\x0e\x32,.temporal.api.enums.v1.DescribeTaskQueueModeB\x02\x18\x01\x12J\n\x08versions\x18\x06 \x01(\x0b\x32\x34.temporal.api.taskqueue.v1.TaskQueueVersionSelectionB\x02\x18\x01\x12\x42\n\x10task_queue_types\x18\x07 \x03(\x0e\x32$.temporal.api.enums.v1.TaskQueueTypeB\x02\x18\x01\x12\x1a\n\x0ereport_pollers\x18\t \x01(\x08\x42\x02\x18\x01\x12$\n\x18report_task_reachability\x18\n \x01(\x08\x42\x02\x18\x01\"\xec\x07\n\x19\x44\x65scribeTaskQueueResponse\x12\x36\n\x07pollers\x18\x01 \x03(\x0b\x32%.temporal.api.taskqueue.v1.PollerInfo\x12\x38\n\x05stats\x18\x05 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats\x12q\n\x15stats_by_priority_key\x18\x08 \x03(\x0b\x32R.temporal.api.workflowservice.v1.DescribeTaskQueueResponse.StatsByPriorityKeyEntry\x12K\n\x0fversioning_info\x18\x04 \x01(\x0b\x32\x32.temporal.api.taskqueue.v1.TaskQueueVersioningInfo\x12:\n\x06\x63onfig\x18\x06 \x01(\x0b\x32*.temporal.api.taskqueue.v1.TaskQueueConfig\x12k\n\x14\x65\x66\x66\x65\x63tive_rate_limit\x18\x07 \x01(\x0b\x32M.temporal.api.workflowservice.v1.DescribeTaskQueueResponse.EffectiveRateLimit\x12I\n\x11task_queue_status\x18\x02 \x01(\x0b\x32*.temporal.api.taskqueue.v1.TaskQueueStatusB\x02\x18\x01\x12g\n\rversions_info\x18\x03 \x03(\x0b\x32L.temporal.api.workflowservice.v1.DescribeTaskQueueResponse.VersionsInfoEntryB\x02\x18\x01\x1a\x64\n\x17StatsByPriorityKeyEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats:\x02\x38\x01\x1at\n\x12\x45\x66\x66\x65\x63tiveRateLimit\x12\x1b\n\x13requests_per_second\x18\x01 \x01(\x02\x12\x41\n\x11rate_limit_source\x18\x02 \x01(\x0e\x32&.temporal.api.enums.v1.RateLimitSource\x1a\x64\n\x11VersionsInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12>\n\x05value\x18\x02 \x01(\x0b\x32/.temporal.api.taskqueue.v1.TaskQueueVersionInfo:\x02\x38\x01\"\x17\n\x15GetClusterInfoRequest\"\xd1\x03\n\x16GetClusterInfoResponse\x12h\n\x11supported_clients\x18\x01 \x03(\x0b\x32M.temporal.api.workflowservice.v1.GetClusterInfoResponse.SupportedClientsEntry\x12\x16\n\x0eserver_version\x18\x02 \x01(\t\x12\x12\n\ncluster_id\x18\x03 \x01(\t\x12:\n\x0cversion_info\x18\x04 \x01(\x0b\x32$.temporal.api.version.v1.VersionInfo\x12\x14\n\x0c\x63luster_name\x18\x05 \x01(\t\x12\x1b\n\x13history_shard_count\x18\x06 \x01(\x05\x12\x19\n\x11persistence_store\x18\x07 \x01(\t\x12\x18\n\x10visibility_store\x18\x08 \x01(\t\x12 \n\x18initial_failover_version\x18\t \x01(\x03\x12\"\n\x1a\x66\x61ilover_version_increment\x18\n \x01(\x03\x1a\x37\n\x15SupportedClientsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x16\n\x14GetSystemInfoRequest\"\xf4\x03\n\x15GetSystemInfoResponse\x12\x16\n\x0eserver_version\x18\x01 \x01(\t\x12Y\n\x0c\x63\x61pabilities\x18\x02 \x01(\x0b\x32\x43.temporal.api.workflowservice.v1.GetSystemInfoResponse.Capabilities\x1a\xe7\x02\n\x0c\x43\x61pabilities\x12\x1f\n\x17signal_and_query_header\x18\x01 \x01(\x08\x12&\n\x1einternal_error_differentiation\x18\x02 \x01(\x08\x12*\n\"activity_failure_include_heartbeat\x18\x03 \x01(\x08\x12\x1a\n\x12supports_schedules\x18\x04 \x01(\x08\x12\"\n\x1a\x65ncoded_failure_attributes\x18\x05 \x01(\x08\x12!\n\x19\x62uild_id_based_versioning\x18\x06 \x01(\x08\x12\x13\n\x0bupsert_memo\x18\x07 \x01(\x08\x12\x1c\n\x14\x65\x61ger_workflow_start\x18\x08 \x01(\x08\x12\x14\n\x0csdk_metadata\x18\t \x01(\x08\x12\'\n\x1f\x63ount_group_by_execution_status\x18\n \x01(\x08\x12\r\n\x05nexus\x18\x0b \x01(\x08\"m\n\x1eListTaskQueuePartitionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\"\xdf\x01\n\x1fListTaskQueuePartitionsResponse\x12]\n\x1e\x61\x63tivity_task_queue_partitions\x18\x01 \x03(\x0b\x32\x35.temporal.api.taskqueue.v1.TaskQueuePartitionMetadata\x12]\n\x1eworkflow_task_queue_partitions\x18\x02 \x03(\x0b\x32\x35.temporal.api.taskqueue.v1.TaskQueuePartitionMetadata\"\xcc\x02\n\x15\x43reateScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12\x34\n\x08schedule\x18\x03 \x01(\x0b\x32\".temporal.api.schedule.v1.Schedule\x12>\n\rinitial_patch\x18\x04 \x01(\x0b\x32\'.temporal.api.schedule.v1.SchedulePatch\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t\x12*\n\x04memo\x18\x07 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x08 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\"0\n\x16\x43reateScheduleResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\"A\n\x17\x44\x65scribeScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\"\x8f\x02\n\x18\x44\x65scribeScheduleResponse\x12\x34\n\x08schedule\x18\x01 \x01(\x0b\x32\".temporal.api.schedule.v1.Schedule\x12\x34\n\x04info\x18\x02 \x01(\x0b\x32&.temporal.api.schedule.v1.ScheduleInfo\x12*\n\x04memo\x18\x03 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x04 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x16\n\x0e\x63onflict_token\x18\x05 \x01(\x0c\"\xf8\x01\n\x15UpdateScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12\x34\n\x08schedule\x18\x03 \x01(\x0b\x32\".temporal.api.schedule.v1.Schedule\x12\x16\n\x0e\x63onflict_token\x18\x04 \x01(\x0c\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t\x12\x43\n\x11search_attributes\x18\x07 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\"\x18\n\x16UpdateScheduleResponse\"\x9c\x01\n\x14PatchScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12\x36\n\x05patch\x18\x03 \x01(\x0b\x32\'.temporal.api.schedule.v1.SchedulePatch\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t\"\x17\n\x15PatchScheduleResponse\"\xa8\x01\n ListScheduleMatchingTimesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"S\n!ListScheduleMatchingTimesResponse\x12.\n\nstart_time\x18\x01 \x03(\x0b\x32\x1a.google.protobuf.Timestamp\"Q\n\x15\x44\x65leteScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12\x10\n\x08identity\x18\x03 \x01(\t\"\x18\n\x16\x44\x65leteScheduleResponse\"l\n\x14ListSchedulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x19\n\x11maximum_page_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t\"p\n\x15ListSchedulesResponse\x12>\n\tschedules\x18\x01 \x03(\x0b\x32+.temporal.api.schedule.v1.ScheduleListEntry\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"9\n\x15\x43ountSchedulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\r\n\x05query\x18\x02 \x01(\t\"\xdb\x01\n\x16\x43ountSchedulesResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12X\n\x06groups\x18\x02 \x03(\x0b\x32H.temporal.api.workflowservice.v1.CountSchedulesResponse.AggregationGroup\x1aX\n\x10\x41ggregationGroup\x12\x35\n\x0cgroup_values\x18\x01 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\r\n\x05\x63ount\x18\x02 \x01(\x03\"\x86\x05\n\'UpdateWorkerBuildIdCompatibilityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x12-\n#add_new_build_id_in_new_default_set\x18\x03 \x01(\tH\x00\x12\x87\x01\n\x1b\x61\x64\x64_new_compatible_build_id\x18\x04 \x01(\x0b\x32`.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersionH\x00\x12!\n\x17promote_set_by_build_id\x18\x05 \x01(\tH\x00\x12%\n\x1bpromote_build_id_within_set\x18\x06 \x01(\tH\x00\x12h\n\nmerge_sets\x18\x07 \x01(\x0b\x32R.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.MergeSetsH\x00\x1ao\n\x17\x41\x64\x64NewCompatibleVersion\x12\x14\n\x0cnew_build_id\x18\x01 \x01(\t\x12$\n\x1c\x65xisting_compatible_build_id\x18\x02 \x01(\t\x12\x18\n\x10make_set_default\x18\x03 \x01(\x08\x1aI\n\tMergeSets\x12\x1c\n\x14primary_set_build_id\x18\x01 \x01(\t\x12\x1e\n\x16secondary_set_build_id\x18\x02 \x01(\tB\x0b\n\toperation\"@\n(UpdateWorkerBuildIdCompatibilityResponseJ\x04\x08\x01\x10\x02R\x0eversion_set_id\"_\n$GetWorkerBuildIdCompatibilityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x12\x10\n\x08max_sets\x18\x03 \x01(\x05\"t\n%GetWorkerBuildIdCompatibilityResponse\x12K\n\x12major_version_sets\x18\x01 \x03(\x0b\x32/.temporal.api.taskqueue.v1.CompatibleVersionSet\"\xb5\r\n\"UpdateWorkerVersioningRulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x12\x16\n\x0e\x63onflict_token\x18\x03 \x01(\x0c\x12\x81\x01\n\x16insert_assignment_rule\x18\x04 \x01(\x0b\x32_.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.InsertBuildIdAssignmentRuleH\x00\x12\x83\x01\n\x17replace_assignment_rule\x18\x05 \x01(\x0b\x32`.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.ReplaceBuildIdAssignmentRuleH\x00\x12\x81\x01\n\x16\x64\x65lete_assignment_rule\x18\x06 \x01(\x0b\x32_.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.DeleteBuildIdAssignmentRuleH\x00\x12\x8c\x01\n\x1c\x61\x64\x64_compatible_redirect_rule\x18\x07 \x01(\x0b\x32\x64.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.AddCompatibleBuildIdRedirectRuleH\x00\x12\x94\x01\n replace_compatible_redirect_rule\x18\x08 \x01(\x0b\x32h.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.ReplaceCompatibleBuildIdRedirectRuleH\x00\x12\x92\x01\n\x1f\x64\x65lete_compatible_redirect_rule\x18\t \x01(\x0b\x32g.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.DeleteCompatibleBuildIdRedirectRuleH\x00\x12l\n\x0f\x63ommit_build_id\x18\n \x01(\x0b\x32Q.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.CommitBuildIdH\x00\x1aq\n\x1bInsertBuildIdAssignmentRule\x12\x12\n\nrule_index\x18\x01 \x01(\x05\x12>\n\x04rule\x18\x02 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.BuildIdAssignmentRule\x1a\x81\x01\n\x1cReplaceBuildIdAssignmentRule\x12\x12\n\nrule_index\x18\x01 \x01(\x05\x12>\n\x04rule\x18\x02 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.BuildIdAssignmentRule\x12\r\n\x05\x66orce\x18\x03 \x01(\x08\x1a@\n\x1b\x44\x65leteBuildIdAssignmentRule\x12\x12\n\nrule_index\x18\x01 \x01(\x05\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\x1aj\n AddCompatibleBuildIdRedirectRule\x12\x46\n\x04rule\x18\x01 \x01(\x0b\x32\x38.temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRule\x1an\n$ReplaceCompatibleBuildIdRedirectRule\x12\x46\n\x04rule\x18\x01 \x01(\x0b\x32\x38.temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRule\x1a>\n#DeleteCompatibleBuildIdRedirectRule\x12\x17\n\x0fsource_build_id\x18\x01 \x01(\t\x1a\x37\n\rCommitBuildId\x12\x17\n\x0ftarget_build_id\x18\x01 \x01(\t\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\x42\x0b\n\toperation\"\xfc\x01\n#UpdateWorkerVersioningRulesResponse\x12U\n\x10\x61ssignment_rules\x18\x01 \x03(\x0b\x32;.temporal.api.taskqueue.v1.TimestampedBuildIdAssignmentRule\x12\x66\n\x19\x63ompatible_redirect_rules\x18\x02 \x03(\x0b\x32\x43.temporal.api.taskqueue.v1.TimestampedCompatibleBuildIdRedirectRule\x12\x16\n\x0e\x63onflict_token\x18\x03 \x01(\x0c\"H\n\x1fGetWorkerVersioningRulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\"\xf9\x01\n GetWorkerVersioningRulesResponse\x12U\n\x10\x61ssignment_rules\x18\x01 \x03(\x0b\x32;.temporal.api.taskqueue.v1.TimestampedBuildIdAssignmentRule\x12\x66\n\x19\x63ompatible_redirect_rules\x18\x02 \x03(\x0b\x32\x43.temporal.api.taskqueue.v1.TimestampedCompatibleBuildIdRedirectRule\x12\x16\n\x0e\x63onflict_token\x18\x03 \x01(\x0c\"\x9c\x01\n GetWorkerTaskReachabilityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tbuild_ids\x18\x02 \x03(\t\x12\x13\n\x0btask_queues\x18\x03 \x03(\t\x12=\n\x0creachability\x18\x04 \x01(\x0e\x32\'.temporal.api.enums.v1.TaskReachability\"r\n!GetWorkerTaskReachabilityResponse\x12M\n\x15\x62uild_id_reachability\x18\x01 \x03(\x0b\x32..temporal.api.taskqueue.v1.BuildIdReachability\"\x85\x02\n\x1eUpdateWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1e\n\x16\x66irst_execution_run_id\x18\x03 \x01(\t\x12\x37\n\x0bwait_policy\x18\x04 \x01(\x0b\x32\".temporal.api.update.v1.WaitPolicy\x12\x30\n\x07request\x18\x05 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request\"\xd7\x01\n\x1fUpdateWorkflowExecutionResponse\x12\x35\n\nupdate_ref\x18\x01 \x01(\x0b\x32!.temporal.api.update.v1.UpdateRef\x12\x30\n\x07outcome\x18\x02 \x01(\x0b\x32\x1f.temporal.api.update.v1.Outcome\x12K\n\x05stage\x18\x03 \x01(\x0e\x32<.temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage\"\xf4\x07\n\x1aStartBatchOperationRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x18\n\x10visibility_query\x18\x02 \x01(\t\x12\x0e\n\x06job_id\x18\x03 \x01(\t\x12\x0e\n\x06reason\x18\x04 \x01(\t\x12=\n\nexecutions\x18\x05 \x03(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12!\n\x19max_operations_per_second\x18\x06 \x01(\x02\x12Q\n\x15termination_operation\x18\n \x01(\x0b\x32\x30.temporal.api.batch.v1.BatchOperationTerminationH\x00\x12G\n\x10signal_operation\x18\x0b \x01(\x0b\x32+.temporal.api.batch.v1.BatchOperationSignalH\x00\x12S\n\x16\x63\x61ncellation_operation\x18\x0c \x01(\x0b\x32\x31.temporal.api.batch.v1.BatchOperationCancellationH\x00\x12K\n\x12\x64\x65letion_operation\x18\r \x01(\x0b\x32-.temporal.api.batch.v1.BatchOperationDeletionH\x00\x12\x45\n\x0freset_operation\x18\x0e \x01(\x0b\x32*.temporal.api.batch.v1.BatchOperationResetH\x00\x12p\n!update_workflow_options_operation\x18\x0f \x01(\x0b\x32\x43.temporal.api.batch.v1.BatchOperationUpdateWorkflowExecutionOptionsH\x00\x12^\n\x1cunpause_activities_operation\x18\x10 \x01(\x0b\x32\x36.temporal.api.batch.v1.BatchOperationUnpauseActivitiesH\x00\x12Z\n\x1areset_activities_operation\x18\x11 \x01(\x0b\x32\x34.temporal.api.batch.v1.BatchOperationResetActivitiesH\x00\x12g\n!update_activity_options_operation\x18\x12 \x01(\x0b\x32:.temporal.api.batch.v1.BatchOperationUpdateActivityOptionsH\x00\x42\x0b\n\toperation\"\x1d\n\x1bStartBatchOperationResponse\"`\n\x19StopBatchOperationRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0e\n\x06job_id\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t\"\x1c\n\x1aStopBatchOperationResponse\"B\n\x1d\x44\x65scribeBatchOperationRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0e\n\x06job_id\x18\x02 \x01(\t\"\x92\x03\n\x1e\x44\x65scribeBatchOperationResponse\x12\x41\n\x0eoperation_type\x18\x01 \x01(\x0e\x32).temporal.api.enums.v1.BatchOperationType\x12\x0e\n\x06job_id\x18\x02 \x01(\t\x12\x39\n\x05state\x18\x03 \x01(\x0e\x32*.temporal.api.enums.v1.BatchOperationState\x12.\n\nstart_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nclose_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1d\n\x15total_operation_count\x18\x06 \x01(\x03\x12 \n\x18\x63omplete_operation_count\x18\x07 \x01(\x03\x12\x1f\n\x17\x66\x61ilure_operation_count\x18\x08 \x01(\x03\x12\x10\n\x08identity\x18\t \x01(\t\x12\x0e\n\x06reason\x18\n \x01(\t\"[\n\x1aListBatchOperationsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\"y\n\x1bListBatchOperationsResponse\x12\x41\n\x0eoperation_info\x18\x01 \x03(\x0b\x32).temporal.api.batch.v1.BatchOperationInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"\xb9\x01\n\"PollWorkflowExecutionUpdateRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x35\n\nupdate_ref\x18\x02 \x01(\x0b\x32!.temporal.api.update.v1.UpdateRef\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x37\n\x0bwait_policy\x18\x04 \x01(\x0b\x32\".temporal.api.update.v1.WaitPolicy\"\xdb\x01\n#PollWorkflowExecutionUpdateResponse\x12\x30\n\x07outcome\x18\x01 \x01(\x0b\x32\x1f.temporal.api.update.v1.Outcome\x12K\n\x05stage\x18\x02 \x01(\x0e\x32<.temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage\x12\x35\n\nupdate_ref\x18\x03 \x01(\x0b\x32!.temporal.api.update.v1.UpdateRef\"\x87\x03\n\x19PollNexusTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x1b\n\x13worker_instance_key\x18\x08 \x01(\t\x12\x38\n\ntask_queue\x18\x03 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12Z\n\x1bworker_version_capabilities\x18\x04 \x01(\x0b\x32\x31.temporal.api.common.v1.WorkerVersionCapabilitiesB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x06 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\x12\x41\n\x10worker_heartbeat\x18\x07 \x03(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat\"\xb4\x01\n\x1aPollNexusTaskQueueResponse\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12/\n\x07request\x18\x02 \x01(\x0b\x32\x1e.temporal.api.nexus.v1.Request\x12Q\n\x17poller_scaling_decision\x18\x03 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.PollerScalingDecision\"\x8e\x01\n RespondNexusTaskCompletedRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\ntask_token\x18\x03 \x01(\x0c\x12\x31\n\x08response\x18\x04 \x01(\x0b\x32\x1f.temporal.api.nexus.v1.Response\"#\n!RespondNexusTaskCompletedResponse\"\xc3\x01\n\x1dRespondNexusTaskFailedRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\ntask_token\x18\x03 \x01(\x0c\x12\x36\n\x05\x65rror\x18\x04 \x01(\x0b\x32#.temporal.api.nexus.v1.HandlerErrorB\x02\x18\x01\x12\x31\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\" \n\x1eRespondNexusTaskFailedResponse\"\xf4\x02\n\x1c\x45xecuteMultiOperationRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12[\n\noperations\x18\x02 \x03(\x0b\x32G.temporal.api.workflowservice.v1.ExecuteMultiOperationRequest.Operation\x12\x13\n\x0bresource_id\x18\x03 \x01(\t\x1a\xce\x01\n\tOperation\x12X\n\x0estart_workflow\x18\x01 \x01(\x0b\x32>.temporal.api.workflowservice.v1.StartWorkflowExecutionRequestH\x00\x12Z\n\x0fupdate_workflow\x18\x02 \x01(\x0b\x32?.temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequestH\x00\x42\x0b\n\toperation\"\xcc\x02\n\x1d\x45xecuteMultiOperationResponse\x12Z\n\tresponses\x18\x01 \x03(\x0b\x32G.temporal.api.workflowservice.v1.ExecuteMultiOperationResponse.Response\x1a\xce\x01\n\x08Response\x12Y\n\x0estart_workflow\x18\x01 \x01(\x0b\x32?.temporal.api.workflowservice.v1.StartWorkflowExecutionResponseH\x00\x12[\n\x0fupdate_workflow\x18\x02 \x01(\x0b\x32@.temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponseH\x00\x42\n\n\x08response\"\xd0\x02\n\x1cUpdateActivityOptionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x43\n\x10\x61\x63tivity_options\x18\x04 \x01(\x0b\x32).temporal.api.activity.v1.ActivityOptions\x12/\n\x0bupdate_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x0c\n\x02id\x18\x06 \x01(\tH\x00\x12\x0e\n\x04type\x18\x07 \x01(\tH\x00\x12\x13\n\tmatch_all\x18\t \x01(\x08H\x00\x12\x18\n\x10restore_original\x18\x08 \x01(\x08\x42\n\n\x08\x61\x63tivity\"d\n\x1dUpdateActivityOptionsResponse\x12\x43\n\x10\x61\x63tivity_options\x18\x01 \x01(\x0b\x32).temporal.api.activity.v1.ActivityOptions\"\xb3\x01\n\x14PauseActivityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x0c\n\x02id\x18\x04 \x01(\tH\x00\x12\x0e\n\x04type\x18\x05 \x01(\tH\x00\x12\x0e\n\x06reason\x18\x06 \x01(\tB\n\n\x08\x61\x63tivity\"\x17\n\x15PauseActivityResponse\"\x98\x02\n\x16UnpauseActivityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x0c\n\x02id\x18\x04 \x01(\tH\x00\x12\x0e\n\x04type\x18\x05 \x01(\tH\x00\x12\x15\n\x0bunpause_all\x18\x06 \x01(\x08H\x00\x12\x16\n\x0ereset_attempts\x18\x07 \x01(\x08\x12\x17\n\x0freset_heartbeat\x18\x08 \x01(\x08\x12)\n\x06jitter\x18\t \x01(\x0b\x32\x19.google.protobuf.DurationB\n\n\x08\x61\x63tivity\"\x19\n\x17UnpauseActivityResponse\"\xb3\x02\n\x14ResetActivityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x0c\n\x02id\x18\x04 \x01(\tH\x00\x12\x0e\n\x04type\x18\x05 \x01(\tH\x00\x12\x13\n\tmatch_all\x18\n \x01(\x08H\x00\x12\x17\n\x0freset_heartbeat\x18\x06 \x01(\x08\x12\x13\n\x0bkeep_paused\x18\x07 \x01(\x08\x12)\n\x06jitter\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12 \n\x18restore_original_options\x18\t \x01(\x08\x42\n\n\x08\x61\x63tivity\"\x17\n\x15ResetActivityResponse\"\x9c\x02\n%UpdateWorkflowExecutionOptionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12V\n\x1aworkflow_execution_options\x18\x03 \x01(\x0b\x32\x32.temporal.api.workflow.v1.WorkflowExecutionOptions\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x10\n\x08identity\x18\x05 \x01(\t\"\x80\x01\n&UpdateWorkflowExecutionOptionsResponse\x12V\n\x1aworkflow_execution_options\x18\x01 \x01(\x0b\x32\x32.temporal.api.workflow.v1.WorkflowExecutionOptions\"j\n\x19\x44\x65scribeDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12:\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment\"a\n\x1a\x44\x65scribeDeploymentResponse\x12\x43\n\x0f\x64\x65ployment_info\x18\x01 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo\"\xc2\x01\n&DescribeWorkerDeploymentVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x07version\x18\x02 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x03 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1f\n\x17report_task_queue_stats\x18\x04 \x01(\x08\"\x8c\x05\n\'DescribeWorkerDeploymentVersionResponse\x12_\n\x1eworker_deployment_version_info\x18\x01 \x01(\x0b\x32\x37.temporal.api.deployment.v1.WorkerDeploymentVersionInfo\x12v\n\x13version_task_queues\x18\x02 \x03(\x0b\x32Y.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse.VersionTaskQueue\x1a\x87\x03\n\x10VersionTaskQueue\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x32\n\x04type\x18\x02 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12\x38\n\x05stats\x18\x03 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats\x12\x90\x01\n\x15stats_by_priority_key\x18\x04 \x03(\x0b\x32q.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse.VersionTaskQueue.StatsByPriorityKeyEntry\x1a\x64\n\x17StatsByPriorityKeyEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats:\x02\x38\x01\"M\n\x1f\x44\x65scribeWorkerDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\"\x8c\x01\n DescribeWorkerDeploymentResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\x12P\n\x16worker_deployment_info\x18\x02 \x01(\x0b\x32\x30.temporal.api.deployment.v1.WorkerDeploymentInfo\"l\n\x16ListDeploymentsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\x13\n\x0bseries_name\x18\x04 \x01(\t\"w\n\x17ListDeploymentsResponse\x12\x17\n\x0fnext_page_token\x18\x01 \x01(\x0c\x12\x43\n\x0b\x64\x65ployments\x18\x02 \x03(\x0b\x32..temporal.api.deployment.v1.DeploymentListInfo\"\xcd\x01\n\x1bSetCurrentDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12:\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment\x12\x10\n\x08identity\x18\x03 \x01(\t\x12M\n\x0fupdate_metadata\x18\x04 \x01(\x0b\x32\x34.temporal.api.deployment.v1.UpdateDeploymentMetadata\"\xb9\x01\n\x1cSetCurrentDeploymentResponse\x12K\n\x17\x63urrent_deployment_info\x18\x01 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo\x12L\n\x18previous_deployment_info\x18\x02 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo\"\xe5\x01\n(SetWorkerDeploymentCurrentVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x13\n\x07version\x18\x03 \x01(\tB\x02\x18\x01\x12\x10\n\x08\x62uild_id\x18\x07 \x01(\t\x12\x16\n\x0e\x63onflict_token\x18\x04 \x01(\x0c\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\"\n\x1aignore_missing_task_queues\x18\x06 \x01(\x08\x12\x18\n\x10\x61llow_no_pollers\x18\t \x01(\x08\"\xbf\x01\n)SetWorkerDeploymentCurrentVersionResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\x12\x1c\n\x10previous_version\x18\x02 \x01(\tB\x02\x18\x01\x12\\\n\x1bprevious_deployment_version\x18\x03 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersionB\x02\x18\x01\"\xf9\x01\n(SetWorkerDeploymentRampingVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x13\n\x07version\x18\x03 \x01(\tB\x02\x18\x01\x12\x10\n\x08\x62uild_id\x18\x08 \x01(\t\x12\x12\n\npercentage\x18\x04 \x01(\x02\x12\x16\n\x0e\x63onflict_token\x18\x05 \x01(\x0c\x12\x10\n\x08identity\x18\x06 \x01(\t\x12\"\n\x1aignore_missing_task_queues\x18\x07 \x01(\x08\x12\x18\n\x10\x61llow_no_pollers\x18\n \x01(\x08\"\xe0\x01\n)SetWorkerDeploymentRampingVersionResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\x12\x1c\n\x10previous_version\x18\x02 \x01(\tB\x02\x18\x01\x12\\\n\x1bprevious_deployment_version\x18\x04 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersionB\x02\x18\x01\x12\x1f\n\x13previous_percentage\x18\x03 \x01(\x02\x42\x02\x18\x01\"]\n\x1cListWorkerDeploymentsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\"\x9f\x05\n\x1dListWorkerDeploymentsResponse\x12\x17\n\x0fnext_page_token\x18\x01 \x01(\x0c\x12r\n\x12worker_deployments\x18\x02 \x03(\x0b\x32V.temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse.WorkerDeploymentSummary\x1a\xf0\x03\n\x17WorkerDeploymentSummary\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x41\n\x0erouting_config\x18\x03 \x01(\x0b\x32).temporal.api.deployment.v1.RoutingConfig\x12o\n\x16latest_version_summary\x18\x04 \x01(\x0b\x32O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary\x12p\n\x17\x63urrent_version_summary\x18\x05 \x01(\x0b\x32O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary\x12p\n\x17ramping_version_summary\x18\x06 \x01(\x0b\x32O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary\"\xc8\x01\n$DeleteWorkerDeploymentVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x07version\x18\x02 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x05 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x15\n\rskip_drainage\x18\x03 \x01(\x08\x12\x10\n\x08identity\x18\x04 \x01(\t\"\'\n%DeleteWorkerDeploymentVersionResponse\"]\n\x1d\x44\x65leteWorkerDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x10\n\x08identity\x18\x03 \x01(\t\" \n\x1e\x44\x65leteWorkerDeploymentResponse\"\xa2\x03\n,UpdateWorkerDeploymentVersionMetadataRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x07version\x18\x02 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x05 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12x\n\x0eupsert_entries\x18\x03 \x03(\x0b\x32`.temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataRequest.UpsertEntriesEntry\x12\x16\n\x0eremove_entries\x18\x04 \x03(\t\x12\x10\n\x08identity\x18\x06 \x01(\t\x1aU\n\x12UpsertEntriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"n\n-UpdateWorkerDeploymentVersionMetadataResponse\x12=\n\x08metadata\x18\x01 \x01(\x0b\x32+.temporal.api.deployment.v1.VersionMetadata\"\xbd\x01\n!SetWorkerDeploymentManagerRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x1a\n\x10manager_identity\x18\x03 \x01(\tH\x00\x12\x0e\n\x04self\x18\x04 \x01(\x08H\x00\x12\x16\n\x0e\x63onflict_token\x18\x05 \x01(\x0c\x12\x10\n\x08identity\x18\x06 \x01(\tB\x16\n\x14new_manager_identity\"c\n\"SetWorkerDeploymentManagerResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\x12%\n\x19previous_manager_identity\x18\x02 \x01(\tB\x02\x18\x01\"E\n\x1bGetCurrentDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bseries_name\x18\x02 \x01(\t\"k\n\x1cGetCurrentDeploymentResponse\x12K\n\x17\x63urrent_deployment_info\x18\x01 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo\"q\n GetDeploymentReachabilityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12:\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment\"\xe3\x01\n!GetDeploymentReachabilityResponse\x12\x43\n\x0f\x64\x65ployment_info\x18\x01 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo\x12\x43\n\x0creachability\x18\x02 \x01(\x0e\x32-.temporal.api.enums.v1.DeploymentReachability\x12\x34\n\x10last_update_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xb4\x01\n\x19\x43reateWorkflowRuleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x35\n\x04spec\x18\x02 \x01(\x0b\x32\'.temporal.api.rules.v1.WorkflowRuleSpec\x12\x12\n\nforce_scan\x18\x03 \x01(\x08\x12\x12\n\nrequest_id\x18\x04 \x01(\t\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\"_\n\x1a\x43reateWorkflowRuleResponse\x12\x31\n\x04rule\x18\x01 \x01(\x0b\x32#.temporal.api.rules.v1.WorkflowRule\x12\x0e\n\x06job_id\x18\x02 \x01(\t\"A\n\x1b\x44\x65scribeWorkflowRuleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0f\n\x07rule_id\x18\x02 \x01(\t\"Q\n\x1c\x44\x65scribeWorkflowRuleResponse\x12\x31\n\x04rule\x18\x01 \x01(\x0b\x32#.temporal.api.rules.v1.WorkflowRule\"?\n\x19\x44\x65leteWorkflowRuleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0f\n\x07rule_id\x18\x02 \x01(\t\"\x1c\n\x1a\x44\x65leteWorkflowRuleResponse\"F\n\x18ListWorkflowRulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"h\n\x19ListWorkflowRulesResponse\x12\x32\n\x05rules\x18\x01 \x03(\x0b\x32#.temporal.api.rules.v1.WorkflowRule\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"\xce\x01\n\x1aTriggerWorkflowRuleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x0c\n\x02id\x18\x04 \x01(\tH\x00\x12\x37\n\x04spec\x18\x05 \x01(\x0b\x32\'.temporal.api.rules.v1.WorkflowRuleSpecH\x00\x12\x10\n\x08identity\x18\x03 \x01(\tB\x06\n\x04rule\".\n\x1bTriggerWorkflowRuleResponse\x12\x0f\n\x07\x61pplied\x18\x01 \x01(\x08\"\x9b\x01\n\x1cRecordWorkerHeartbeatRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x41\n\x10worker_heartbeat\x18\x03 \x03(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat\x12\x13\n\x0bresource_id\x18\x04 \x01(\t\"\x1f\n\x1dRecordWorkerHeartbeatResponse\"b\n\x12ListWorkersRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t\"\xa5\x01\n\x13ListWorkersResponse\x12<\n\x0cworkers_info\x18\x01 \x03(\x0b\x32\".temporal.api.worker.v1.WorkerInfoB\x02\x18\x01\x12\x37\n\x07workers\x18\x03 \x03(\x0b\x32&.temporal.api.worker.v1.WorkerListInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"\xd5\x05\n\x1cUpdateTaskQueueConfigRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\ntask_queue\x18\x03 \x01(\t\x12=\n\x0ftask_queue_type\x18\x04 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12n\n\x17update_queue_rate_limit\x18\x05 \x01(\x0b\x32M.temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdate\x12}\n&update_fairness_key_rate_limit_default\x18\x06 \x01(\x0b\x32M.temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdate\x12\x84\x01\n\x1dset_fairness_weight_overrides\x18\x07 \x03(\x0b\x32].temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.SetFairnessWeightOverridesEntry\x12\'\n\x1funset_fairness_weight_overrides\x18\x08 \x03(\t\x1a[\n\x0fRateLimitUpdate\x12\x38\n\nrate_limit\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.RateLimit\x12\x0e\n\x06reason\x18\x02 \x01(\t\x1a\x41\n\x1fSetFairnessWeightOverridesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\"[\n\x1dUpdateTaskQueueConfigResponse\x12:\n\x06\x63onfig\x18\x01 \x01(\x0b\x32*.temporal.api.taskqueue.v1.TaskQueueConfig\"\x9e\x01\n\x18\x46\x65tchWorkerConfigRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x38\n\x08selector\x18\x06 \x01(\x0b\x32&.temporal.api.common.v1.WorkerSelector\x12\x13\n\x0bresource_id\x18\x07 \x01(\t\"U\n\x19\x46\x65tchWorkerConfigResponse\x12\x38\n\rworker_config\x18\x01 \x01(\x0b\x32!.temporal.api.sdk.v1.WorkerConfig\"\x8a\x02\n\x19UpdateWorkerConfigRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x38\n\rworker_config\x18\x04 \x01(\x0b\x32!.temporal.api.sdk.v1.WorkerConfig\x12/\n\x0bupdate_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x38\n\x08selector\x18\x06 \x01(\x0b\x32&.temporal.api.common.v1.WorkerSelector\x12\x13\n\x0bresource_id\x18\x07 \x01(\t\"d\n\x1aUpdateWorkerConfigResponse\x12:\n\rworker_config\x18\x01 \x01(\x0b\x32!.temporal.api.sdk.v1.WorkerConfigH\x00\x42\n\n\x08response\"G\n\x15\x44\x65scribeWorkerRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x1b\n\x13worker_instance_key\x18\x02 \x01(\t\"Q\n\x16\x44\x65scribeWorkerResponse\x12\x37\n\x0bworker_info\x18\x01 \x01(\x0b\x32\".temporal.api.worker.v1.WorkerInfo\"\x8d\x01\n\x1dPauseWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x0e\n\x06reason\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t\" \n\x1ePauseWorkflowExecutionResponse\"\x8f\x01\n\x1fUnpauseWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x0e\n\x06reason\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t\"\"\n UnpauseWorkflowExecutionResponse\"\xb4\x07\n\x1dStartActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12;\n\ractivity_type\x18\x05 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x38\n\ntask_queue\x18\x06 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12<\n\x19schedule_to_close_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x0b \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12/\n\x05input\x18\x0c \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x45\n\x0fid_reuse_policy\x18\r \x01(\x0e\x32,.temporal.api.enums.v1.ActivityIdReusePolicy\x12K\n\x12id_conflict_policy\x18\x0e \x01(\x0e\x32/.temporal.api.enums.v1.ActivityIdConflictPolicy\x12\x43\n\x11search_attributes\x18\x0f \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\x06header\x18\x10 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x38\n\ruser_metadata\x18\x11 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12\x32\n\x08priority\x18\x12 \x01(\x0b\x32 .temporal.api.common.v1.Priority\"A\n\x1eStartActivityExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x0f\n\x07started\x18\x02 \x01(\x08\"\xa3\x01\n DescribeActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x15\n\rinclude_input\x18\x04 \x01(\x08\x12\x17\n\x0finclude_outcome\x18\x05 \x01(\x08\x12\x17\n\x0flong_poll_token\x18\x06 \x01(\x0c\"\x81\x02\n!DescribeActivityExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12=\n\x04info\x18\x02 \x01(\x0b\x32/.temporal.api.activity.v1.ActivityExecutionInfo\x12/\n\x05input\x18\x03 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x43\n\x07outcome\x18\x04 \x01(\x0b\x32\x32.temporal.api.activity.v1.ActivityExecutionOutcome\x12\x17\n\x0flong_poll_token\x18\x05 \x01(\x0c\"V\n\x1cPollActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\"t\n\x1dPollActivityExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x43\n\x07outcome\x18\x02 \x01(\x0b\x32\x32.temporal.api.activity.v1.ActivityExecutionOutcome\"m\n\x1dListActivityExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t\"\x82\x01\n\x1eListActivityExecutionsResponse\x12G\n\nexecutions\x18\x01 \x03(\x0b\x32\x33.temporal.api.activity.v1.ActivityExecutionListInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"B\n\x1e\x43ountActivityExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\r\n\x05query\x18\x02 \x01(\t\"\xed\x01\n\x1f\x43ountActivityExecutionsResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12\x61\n\x06groups\x18\x02 \x03(\x0b\x32Q.temporal.api.workflowservice.v1.CountActivityExecutionsResponse.AggregationGroup\x1aX\n\x10\x41ggregationGroup\x12\x35\n\x0cgroup_values\x18\x01 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\r\n\x05\x63ount\x18\x02 \x01(\x03\"\x95\x01\n%RequestCancelActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t\x12\x0e\n\x06reason\x18\x06 \x01(\t\"(\n&RequestCancelActivityExecutionResponse\"\x91\x01\n!TerminateActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t\x12\x0e\n\x06reason\x18\x06 \x01(\t\"$\n\"TerminateActivityExecutionResponse\"X\n\x1e\x44\x65leteActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\"!\n\x1f\x44\x65leteActivityExecutionResponseB\xbe\x01\n\"io.temporal.api.workflowservice.v1B\x14RequestResponseProtoP\x01Z5go.temporal.io/api/workflowservice/v1;workflowservice\xaa\x02!Temporalio.Api.WorkflowService.V1\xea\x02$Temporalio::Api::WorkflowService::V1b\x06proto3" +descriptor_data = "\n6temporal/api/workflowservice/v1/request_response.proto\x12\x1ftemporal.api.workflowservice.v1\x1a+temporal/api/enums/v1/batch_operation.proto\x1a\"temporal/api/enums/v1/common.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a%temporal/api/enums/v1/namespace.proto\x1a(temporal/api/enums/v1/failed_cause.proto\x1a!temporal/api/enums/v1/query.proto\x1a!temporal/api/enums/v1/reset.proto\x1a&temporal/api/enums/v1/task_queue.proto\x1a&temporal/api/enums/v1/deployment.proto\x1a\"temporal/api/enums/v1/update.proto\x1a$temporal/api/enums/v1/activity.proto\x1a!temporal/api/enums/v1/nexus.proto\x1a&temporal/api/activity/v1/message.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/history/v1/message.proto\x1a&temporal/api/workflow/v1/message.proto\x1a%temporal/api/command/v1/message.proto\x1a$temporal/api/compute/v1/config.proto\x1a(temporal/api/deployment/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a$temporal/api/filter/v1/message.proto\x1a&temporal/api/protocol/v1/message.proto\x1a\'temporal/api/namespace/v1/message.proto\x1a#temporal/api/query/v1/message.proto\x1a)temporal/api/replication/v1/message.proto\x1a#temporal/api/rules/v1/message.proto\x1a\'temporal/api/sdk/v1/worker_config.proto\x1a&temporal/api/schedule/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a$temporal/api/update/v1/message.proto\x1a%temporal/api/version/v1/message.proto\x1a#temporal/api/batch/v1/message.proto\x1a\x30temporal/api/sdk/v1/task_complete_metadata.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto\x1a#temporal/api/nexus/v1/message.proto\x1a$temporal/api/worker/v1/message.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x88\x05\n\x18RegisterNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x13\n\x0bowner_email\x18\x03 \x01(\t\x12\x46\n#workflow_execution_retention_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12G\n\x08\x63lusters\x18\x05 \x03(\x0b\x32\x35.temporal.api.replication.v1.ClusterReplicationConfig\x12\x1b\n\x13\x61\x63tive_cluster_name\x18\x06 \x01(\t\x12Q\n\x04\x64\x61ta\x18\x07 \x03(\x0b\x32\x43.temporal.api.workflowservice.v1.RegisterNamespaceRequest.DataEntry\x12\x16\n\x0esecurity_token\x18\x08 \x01(\t\x12\x1b\n\x13is_global_namespace\x18\t \x01(\x08\x12\x44\n\x16history_archival_state\x18\n \x01(\x0e\x32$.temporal.api.enums.v1.ArchivalState\x12\x1c\n\x14history_archival_uri\x18\x0b \x01(\t\x12G\n\x19visibility_archival_state\x18\x0c \x01(\x0e\x32$.temporal.api.enums.v1.ArchivalState\x12\x1f\n\x17visibility_archival_uri\x18\r \x01(\t\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x1b\n\x19RegisterNamespaceResponse\"\x89\x01\n\x15ListNamespacesRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\x12\x44\n\x10namespace_filter\x18\x03 \x01(\x0b\x32*.temporal.api.namespace.v1.NamespaceFilter\"\x81\x01\n\x16ListNamespacesResponse\x12N\n\nnamespaces\x18\x01 \x03(\x0b\x32:.temporal.api.workflowservice.v1.DescribeNamespaceResponse\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"9\n\x18\x44\x65scribeNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\"\xec\x02\n\x19\x44\x65scribeNamespaceResponse\x12@\n\x0enamespace_info\x18\x01 \x01(\x0b\x32(.temporal.api.namespace.v1.NamespaceInfo\x12:\n\x06\x63onfig\x18\x02 \x01(\x0b\x32*.temporal.api.namespace.v1.NamespaceConfig\x12S\n\x12replication_config\x18\x03 \x01(\x0b\x32\x37.temporal.api.replication.v1.NamespaceReplicationConfig\x12\x18\n\x10\x66\x61ilover_version\x18\x04 \x01(\x03\x12\x1b\n\x13is_global_namespace\x18\x05 \x01(\x08\x12\x45\n\x10\x66\x61ilover_history\x18\x06 \x03(\x0b\x32+.temporal.api.replication.v1.FailoverStatus\"\xcf\x02\n\x16UpdateNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x43\n\x0bupdate_info\x18\x02 \x01(\x0b\x32..temporal.api.namespace.v1.UpdateNamespaceInfo\x12:\n\x06\x63onfig\x18\x03 \x01(\x0b\x32*.temporal.api.namespace.v1.NamespaceConfig\x12S\n\x12replication_config\x18\x04 \x01(\x0b\x32\x37.temporal.api.replication.v1.NamespaceReplicationConfig\x12\x16\n\x0esecurity_token\x18\x05 \x01(\t\x12\x19\n\x11\x64\x65lete_bad_binary\x18\x06 \x01(\t\x12\x19\n\x11promote_namespace\x18\x07 \x01(\x08\"\xa3\x02\n\x17UpdateNamespaceResponse\x12@\n\x0enamespace_info\x18\x01 \x01(\x0b\x32(.temporal.api.namespace.v1.NamespaceInfo\x12:\n\x06\x63onfig\x18\x02 \x01(\x0b\x32*.temporal.api.namespace.v1.NamespaceConfig\x12S\n\x12replication_config\x18\x03 \x01(\x0b\x32\x37.temporal.api.replication.v1.NamespaceReplicationConfig\x12\x18\n\x10\x66\x61ilover_version\x18\x04 \x01(\x03\x12\x1b\n\x13is_global_namespace\x18\x05 \x01(\x08\"F\n\x19\x44\x65precateNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x16\n\x0esecurity_token\x18\x02 \x01(\t\"\x1c\n\x1a\x44\x65precateNamespaceResponse\"\xd3\x0c\n\x1dStartWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x10\n\x08identity\x18\t \x01(\t\x12\x12\n\nrequest_id\x18\n \x01(\t\x12N\n\x18workflow_id_reuse_policy\x18\x0b \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12T\n\x1bworkflow_id_conflict_policy\x18\x16 \x01(\x0e\x32/.temporal.api.enums.v1.WorkflowIdConflictPolicy\x12\x39\n\x0cretry_policy\x18\x0c \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\r \x01(\t\x12*\n\x04memo\x18\x0e \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0f \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\x06header\x18\x10 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x1f\n\x17request_eager_execution\x18\x11 \x01(\x08\x12;\n\x11\x63ontinued_failure\x18\x12 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12@\n\x16last_completion_result\x18\x13 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x37\n\x14workflow_start_delay\x18\x14 \x01(\x0b\x32\x19.google.protobuf.Duration\x12>\n\x14\x63ompletion_callbacks\x18\x15 \x03(\x0b\x32 .temporal.api.common.v1.Callback\x12\x38\n\ruser_metadata\x18\x17 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12+\n\x05links\x18\x18 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x12I\n\x13versioning_override\x18\x19 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12H\n\x13on_conflict_options\x18\x1a \x01(\x0b\x32+.temporal.api.workflow.v1.OnConflictOptions\x12\x32\n\x08priority\x18\x1b \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12\\\n\x1f\x65\x61ger_worker_deployment_options\x18\x1c \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\x12J\n\x14time_skipping_config\x18\x1d \x01(\x0b\x32,.temporal.api.workflow.v1.TimeSkippingConfig\"\x8a\x02\n\x1eStartWorkflowExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x0f\n\x07started\x18\x03 \x01(\x08\x12>\n\x06status\x18\x05 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowExecutionStatus\x12[\n\x13\x65\x61ger_workflow_task\x18\x02 \x01(\x0b\x32>.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse\x12*\n\x04link\x18\x04 \x01(\x0b\x32\x1c.temporal.api.common.v1.Link\"\xaa\x02\n\"GetWorkflowExecutionHistoryRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x19\n\x11maximum_page_size\x18\x03 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x04 \x01(\x0c\x12\x16\n\x0ewait_new_event\x18\x05 \x01(\x08\x12P\n\x19history_event_filter_type\x18\x06 \x01(\x0e\x32-.temporal.api.enums.v1.HistoryEventFilterType\x12\x15\n\rskip_archival\x18\x07 \x01(\x08\"\xba\x01\n#GetWorkflowExecutionHistoryResponse\x12\x31\n\x07history\x18\x01 \x01(\x0b\x32 .temporal.api.history.v1.History\x12\x35\n\x0braw_history\x18\x02 \x03(\x0b\x32 .temporal.api.common.v1.DataBlob\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\x10\n\x08\x61rchived\x18\x04 \x01(\x08\"\xb0\x01\n)GetWorkflowExecutionHistoryReverseRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x19\n\x11maximum_page_size\x18\x03 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x04 \x01(\x0c\"x\n*GetWorkflowExecutionHistoryReverseResponse\x12\x31\n\x07history\x18\x01 \x01(\x0b\x32 .temporal.api.history.v1.History\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\"\xb8\x03\n\x1cPollWorkflowTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x17\n\x0fpoller_group_id\x18\n \x01(\t\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x1b\n\x13worker_instance_key\x18\x08 \x01(\t\x12!\n\x19worker_control_task_queue\x18\t \x01(\t\x12\x1b\n\x0f\x62inary_checksum\x18\x04 \x01(\tB\x02\x18\x01\x12Z\n\x1bworker_version_capabilities\x18\x05 \x01(\x0b\x32\x31.temporal.api.common.v1.WorkerVersionCapabilitiesB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x06 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptionsJ\x04\x08\x07\x10\x08R\x10worker_heartbeat\"\xf2\x07\n\x1dPollWorkflowTaskQueueResponse\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12!\n\x19previous_started_event_id\x18\x04 \x01(\x03\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03\x12\x0f\n\x07\x61ttempt\x18\x06 \x01(\x05\x12\x1a\n\x12\x62\x61\x63klog_count_hint\x18\x07 \x01(\x03\x12\x31\n\x07history\x18\x08 \x01(\x0b\x32 .temporal.api.history.v1.History\x12\x17\n\x0fnext_page_token\x18\t \x01(\x0c\x12\x33\n\x05query\x18\n \x01(\x0b\x32$.temporal.api.query.v1.WorkflowQuery\x12K\n\x1dworkflow_execution_task_queue\x18\x0b \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x32\n\x0escheduled_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cstarted_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\\\n\x07queries\x18\x0e \x03(\x0b\x32K.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse.QueriesEntry\x12\x33\n\x08messages\x18\x0f \x03(\x0b\x32!.temporal.api.protocol.v1.Message\x12Q\n\x17poller_scaling_decision\x18\x10 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.PollerScalingDecision\x12\x17\n\x0fpoller_group_id\x18\x11 \x01(\t\x12\x46\n\x12poller_group_infos\x18\x12 \x03(\x0b\x32*.temporal.api.taskqueue.v1.PollerGroupInfo\x1aT\n\x0cQueriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x33\n\x05value\x18\x02 \x01(\x0b\x32$.temporal.api.query.v1.WorkflowQuery:\x02\x38\x01\"\x8a\n\n#RespondWorkflowTaskCompletedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x32\n\x08\x63ommands\x18\x02 \x03(\x0b\x32 .temporal.api.command.v1.Command\x12\x10\n\x08identity\x18\x03 \x01(\t\x12O\n\x11sticky_attributes\x18\x04 \x01(\x0b\x32\x34.temporal.api.taskqueue.v1.StickyExecutionAttributes\x12 \n\x18return_new_workflow_task\x18\x05 \x01(\x08\x12&\n\x1e\x66orce_create_new_workflow_task\x18\x06 \x01(\x08\x12\x1b\n\x0f\x62inary_checksum\x18\x07 \x01(\tB\x02\x18\x01\x12m\n\rquery_results\x18\x08 \x03(\x0b\x32V.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.QueryResultsEntry\x12\x11\n\tnamespace\x18\t \x01(\t\x12\x13\n\x0bresource_id\x18\x12 \x01(\t\x12L\n\x14worker_version_stamp\x18\n \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12\x33\n\x08messages\x18\x0b \x03(\x0b\x32!.temporal.api.protocol.v1.Message\x12H\n\x0csdk_metadata\x18\x0c \x01(\x0b\x32\x32.temporal.api.sdk.v1.WorkflowTaskCompletedMetadata\x12\x43\n\x11metering_metadata\x18\r \x01(\x0b\x32(.temporal.api.common.v1.MeteringMetadata\x12g\n\x0c\x63\x61pabilities\x18\x0e \x01(\x0b\x32Q.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.Capabilities\x12>\n\ndeployment\x18\x0f \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12\x46\n\x13versioning_behavior\x18\x10 \x01(\x0e\x32).temporal.api.enums.v1.VersioningBehavior\x12O\n\x12\x64\x65ployment_options\x18\x11 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\x12\x1b\n\x13worker_instance_key\x18\x13 \x01(\t\x12!\n\x19worker_control_task_queue\x18\x14 \x01(\t\x1a_\n\x11QueryResultsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x39\n\x05value\x18\x02 \x01(\x0b\x32*.temporal.api.query.v1.WorkflowQueryResult:\x02\x38\x01\x1a\x45\n\x0c\x43\x61pabilities\x12\x35\n-discard_speculative_workflow_task_with_events\x18\x01 \x01(\x08\"\xf5\x01\n$RespondWorkflowTaskCompletedResponse\x12U\n\rworkflow_task\x18\x01 \x01(\x0b\x32>.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse\x12V\n\x0e\x61\x63tivity_tasks\x18\x02 \x03(\x0b\x32>.temporal.api.workflowservice.v1.PollActivityTaskQueueResponse\x12\x1e\n\x16reset_history_event_id\x18\x03 \x01(\x03\"\x8d\x04\n RespondWorkflowTaskFailedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12=\n\x05\x63\x61use\x18\x02 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowTaskFailedCause\x12\x31\n\x07\x66\x61ilure\x18\x03 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x1b\n\x0f\x62inary_checksum\x18\x05 \x01(\tB\x02\x18\x01\x12\x11\n\tnamespace\x18\x06 \x01(\t\x12\x13\n\x0bresource_id\x18\x0b \x01(\t\x12\x33\n\x08messages\x18\x07 \x03(\x0b\x32!.temporal.api.protocol.v1.Message\x12\x46\n\x0eworker_version\x18\x08 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\ndeployment\x18\t \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\n \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\"#\n!RespondWorkflowTaskFailedResponse\"\xe6\x03\n\x1cPollActivityTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x17\n\x0fpoller_group_id\x18\n \x01(\t\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x1b\n\x13worker_instance_key\x18\x08 \x01(\t\x12!\n\x19worker_control_task_queue\x18\t \x01(\t\x12I\n\x13task_queue_metadata\x18\x04 \x01(\x0b\x32,.temporal.api.taskqueue.v1.TaskQueueMetadata\x12Z\n\x1bworker_version_capabilities\x18\x05 \x01(\x0b\x32\x31.temporal.api.common.v1.WorkerVersionCapabilitiesB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x06 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptionsJ\x04\x08\x07\x10\x08R\x10worker_heartbeat\"\xd0\x08\n\x1dPollActivityTaskQueueResponse\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x1a\n\x12workflow_namespace\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x45\n\x12workflow_execution\x18\x04 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\ractivity_type\x18\x05 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x13\n\x0b\x61\x63tivity_id\x18\x06 \x01(\t\x12.\n\x06header\x18\x07 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12/\n\x05input\x18\x08 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12;\n\x11heartbeat_details\x18\t \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x32\n\x0escheduled_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x42\n\x1e\x63urrent_attempt_scheduled_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cstarted_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x61ttempt\x18\r \x01(\x05\x12<\n\x19schedule_to_close_timeout\x18\x0e \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\x0f \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\x10 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x11 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12Q\n\x17poller_scaling_decision\x18\x12 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.PollerScalingDecision\x12\x32\n\x08priority\x18\x13 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12\x17\n\x0f\x61\x63tivity_run_id\x18\x14 \x01(\t\x12\x46\n\x12poller_group_infos\x18\x15 \x03(\x0b\x32*.temporal.api.taskqueue.v1.PollerGroupInfo\"\xa5\x01\n\"RecordActivityTaskHeartbeatRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x31\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\x12\x13\n\x0bresource_id\x18\x05 \x01(\t\"p\n#RecordActivityTaskHeartbeatResponse\x12\x18\n\x10\x63\x61ncel_requested\x18\x01 \x01(\x08\x12\x17\n\x0f\x61\x63tivity_paused\x18\x02 \x01(\x08\x12\x16\n\x0e\x61\x63tivity_reset\x18\x03 \x01(\x08\"\xcf\x01\n&RecordActivityTaskHeartbeatByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x31\n\x07\x64\x65tails\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x06 \x01(\t\x12\x13\n\x0bresource_id\x18\x07 \x01(\t\"t\n\'RecordActivityTaskHeartbeatByIdResponse\x12\x18\n\x10\x63\x61ncel_requested\x18\x01 \x01(\x08\x12\x17\n\x0f\x61\x63tivity_paused\x18\x02 \x01(\x08\x12\x16\n\x0e\x61\x63tivity_reset\x18\x03 \x01(\x08\"\xfe\x02\n#RespondActivityTaskCompletedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x30\n\x06result\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\x12\x13\n\x0bresource_id\x18\x08 \x01(\t\x12\x46\n\x0eworker_version\x18\x05 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\ndeployment\x18\x06 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\"&\n$RespondActivityTaskCompletedResponse\"\xcf\x01\n\'RespondActivityTaskCompletedByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x30\n\x06result\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x06 \x01(\t\x12\x13\n\x0bresource_id\x18\x07 \x01(\t\"*\n(RespondActivityTaskCompletedByIdResponse\"\xbe\x03\n RespondActivityTaskFailedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\x12\x13\n\x0bresource_id\x18\t \x01(\t\x12@\n\x16last_heartbeat_details\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\ndeployment\x18\x07 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x08 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\"W\n!RespondActivityTaskFailedResponse\x12\x32\n\x08\x66\x61ilures\x18\x01 \x03(\x0b\x32 .temporal.api.failure.v1.Failure\"\x8f\x02\n$RespondActivityTaskFailedByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x31\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x10\n\x08identity\x18\x06 \x01(\t\x12@\n\x16last_heartbeat_details\x18\x07 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x13\n\x0bresource_id\x18\x08 \x01(\t\"[\n%RespondActivityTaskFailedByIdResponse\x12\x32\n\x08\x66\x61ilures\x18\x01 \x03(\x0b\x32 .temporal.api.failure.v1.Failure\"\xfe\x02\n\"RespondActivityTaskCanceledRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x31\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\x12\x13\n\x0bresource_id\x18\x08 \x01(\t\x12\x46\n\x0eworker_version\x18\x05 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\ndeployment\x18\x06 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\"%\n#RespondActivityTaskCanceledResponse\"\xa0\x02\n&RespondActivityTaskCanceledByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x31\n\x07\x64\x65tails\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x06 \x01(\t\x12O\n\x12\x64\x65ployment_options\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\x12\x13\n\x0bresource_id\x18\x08 \x01(\t\")\n\'RespondActivityTaskCanceledByIdResponse\"\x84\x02\n%RequestCancelWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x12\n\nrequest_id\x18\x04 \x01(\t\x12\x1e\n\x16\x66irst_execution_run_id\x18\x05 \x01(\t\x12\x0e\n\x06reason\x18\x06 \x01(\t\x12+\n\x05links\x18\x07 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\"(\n&RequestCancelWorkflowExecutionResponse\"\xde\x02\n\x1eSignalWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x0bsignal_name\x18\x03 \x01(\t\x12/\n\x05input\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t\x12\x13\n\x07\x63ontrol\x18\x07 \x01(\tB\x02\x18\x01\x12.\n\x06header\x18\x08 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12+\n\x05links\x18\n \x03(\x0b\x32\x1c.temporal.api.common.v1.LinkJ\x04\x08\t\x10\n\"M\n\x1fSignalWorkflowExecutionResponse\x12*\n\x04link\x18\x01 \x01(\x0b\x32\x1c.temporal.api.common.v1.Link\"\xbd\n\n\'SignalWithStartWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x10\n\x08identity\x18\t \x01(\t\x12\x12\n\nrequest_id\x18\n \x01(\t\x12N\n\x18workflow_id_reuse_policy\x18\x0b \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12T\n\x1bworkflow_id_conflict_policy\x18\x16 \x01(\x0e\x32/.temporal.api.enums.v1.WorkflowIdConflictPolicy\x12\x13\n\x0bsignal_name\x18\x0c \x01(\t\x12\x36\n\x0csignal_input\x18\r \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x13\n\x07\x63ontrol\x18\x0e \x01(\tB\x02\x18\x01\x12\x39\n\x0cretry_policy\x18\x0f \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\x10 \x01(\t\x12*\n\x04memo\x18\x11 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x12 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\x06header\x18\x13 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x37\n\x14workflow_start_delay\x18\x14 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\ruser_metadata\x18\x17 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12+\n\x05links\x18\x18 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x12I\n\x13versioning_override\x18\x19 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12\x32\n\x08priority\x18\x1a \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12J\n\x14time_skipping_config\x18\x1b \x01(\x0b\x32,.temporal.api.workflow.v1.TimeSkippingConfigJ\x04\x08\x15\x10\x16\"~\n(SignalWithStartWorkflowExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x0f\n\x07started\x18\x02 \x01(\x08\x12\x31\n\x0bsignal_link\x18\x03 \x01(\x0b\x32\x1c.temporal.api.common.v1.Link\"\xc1\x03\n\x1dResetWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12%\n\x1dworkflow_task_finish_event_id\x18\x04 \x01(\x03\x12\x12\n\nrequest_id\x18\x05 \x01(\t\x12G\n\x12reset_reapply_type\x18\x06 \x01(\x0e\x32\'.temporal.api.enums.v1.ResetReapplyTypeB\x02\x18\x01\x12S\n\x1breset_reapply_exclude_types\x18\x07 \x03(\x0e\x32..temporal.api.enums.v1.ResetReapplyExcludeType\x12K\n\x15post_reset_operations\x18\x08 \x03(\x0b\x32,.temporal.api.workflow.v1.PostResetOperation\x12\x10\n\x08identity\x18\t \x01(\t\"0\n\x1eResetWorkflowExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\"\x9f\x02\n!TerminateWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x31\n\x07\x64\x65tails\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x1e\n\x16\x66irst_execution_run_id\x18\x06 \x01(\t\x12+\n\x05links\x18\x07 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\"$\n\"TerminateWorkflowExecutionResponse\"z\n\x1e\x44\x65leteWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\"!\n\x1f\x44\x65leteWorkflowExecutionResponse\"\xc9\x02\n!ListOpenWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x19\n\x11maximum_page_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\x42\n\x11start_time_filter\x18\x04 \x01(\x0b\x32\'.temporal.api.filter.v1.StartTimeFilter\x12K\n\x10\x65xecution_filter\x18\x05 \x01(\x0b\x32/.temporal.api.filter.v1.WorkflowExecutionFilterH\x00\x12\x41\n\x0btype_filter\x18\x06 \x01(\x0b\x32*.temporal.api.filter.v1.WorkflowTypeFilterH\x00\x42\t\n\x07\x66ilters\"\x82\x01\n\"ListOpenWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"\x8a\x03\n#ListClosedWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x19\n\x11maximum_page_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\x42\n\x11start_time_filter\x18\x04 \x01(\x0b\x32\'.temporal.api.filter.v1.StartTimeFilter\x12K\n\x10\x65xecution_filter\x18\x05 \x01(\x0b\x32/.temporal.api.filter.v1.WorkflowExecutionFilterH\x00\x12\x41\n\x0btype_filter\x18\x06 \x01(\x0b\x32*.temporal.api.filter.v1.WorkflowTypeFilterH\x00\x12=\n\rstatus_filter\x18\x07 \x01(\x0b\x32$.temporal.api.filter.v1.StatusFilterH\x00\x42\t\n\x07\x66ilters\"\x84\x01\n$ListClosedWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"m\n\x1dListWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t\"~\n\x1eListWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"u\n%ListArchivedWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t\"\x86\x01\n&ListArchivedWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"m\n\x1dScanWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t\"~\n\x1eScanWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"B\n\x1e\x43ountWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\r\n\x05query\x18\x02 \x01(\t\"\xed\x01\n\x1f\x43ountWorkflowExecutionsResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12\x61\n\x06groups\x18\x02 \x03(\x0b\x32Q.temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse.AggregationGroup\x1aX\n\x10\x41ggregationGroup\x12\x35\n\x0cgroup_values\x18\x01 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\r\n\x05\x63ount\x18\x02 \x01(\x03\"\x1c\n\x1aGetSearchAttributesRequest\"\xc9\x01\n\x1bGetSearchAttributesResponse\x12T\n\x04keys\x18\x01 \x03(\x0b\x32\x46.temporal.api.workflowservice.v1.GetSearchAttributesResponse.KeysEntry\x1aT\n\tKeysEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0e\x32\'.temporal.api.enums.v1.IndexedValueType:\x02\x38\x01\"\xe9\x02\n RespondQueryTaskCompletedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12>\n\x0e\x63ompleted_type\x18\x02 \x01(\x0e\x32&.temporal.api.enums.v1.QueryResultType\x12\x36\n\x0cquery_result\x18\x03 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x15\n\rerror_message\x18\x04 \x01(\t\x12\x11\n\tnamespace\x18\x06 \x01(\t\x12\x31\n\x07\x66\x61ilure\x18\x07 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12=\n\x05\x63\x61use\x18\x08 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowTaskFailedCause\x12\x17\n\x0fpoller_group_id\x18\t \x01(\tJ\x04\x08\x05\x10\x06\"#\n!RespondQueryTaskCompletedResponse\"n\n\x1bResetStickyTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\"\x1e\n\x1cResetStickyTaskQueueResponse\"\x9b\x02\n\x15ShutdownWorkerRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x19\n\x11sticky_task_queue\x18\x02 \x01(\t\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x0e\n\x06reason\x18\x04 \x01(\t\x12\x41\n\x10worker_heartbeat\x18\x05 \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat\x12\x1b\n\x13worker_instance_key\x18\x06 \x01(\t\x12\x12\n\ntask_queue\x18\x07 \x01(\t\x12>\n\x10task_queue_types\x18\x08 \x03(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\"\x18\n\x16ShutdownWorkerResponse\"\xe9\x01\n\x14QueryWorkflowRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x33\n\x05query\x18\x03 \x01(\x0b\x32$.temporal.api.query.v1.WorkflowQuery\x12K\n\x16query_reject_condition\x18\x04 \x01(\x0e\x32+.temporal.api.enums.v1.QueryRejectCondition\"\x8d\x01\n\x15QueryWorkflowResponse\x12\x36\n\x0cquery_result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12<\n\x0equery_rejected\x18\x02 \x01(\x0b\x32$.temporal.api.query.v1.QueryRejected\"s\n DescribeWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\"\x99\x05\n!DescribeWorkflowExecutionResponse\x12K\n\x10\x65xecution_config\x18\x01 \x01(\x0b\x32\x31.temporal.api.workflow.v1.WorkflowExecutionConfig\x12P\n\x17workflow_execution_info\x18\x02 \x01(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12I\n\x12pending_activities\x18\x03 \x03(\x0b\x32-.temporal.api.workflow.v1.PendingActivityInfo\x12M\n\x10pending_children\x18\x04 \x03(\x0b\x32\x33.temporal.api.workflow.v1.PendingChildExecutionInfo\x12P\n\x15pending_workflow_task\x18\x05 \x01(\x0b\x32\x31.temporal.api.workflow.v1.PendingWorkflowTaskInfo\x12\x39\n\tcallbacks\x18\x06 \x03(\x0b\x32&.temporal.api.workflow.v1.CallbackInfo\x12U\n\x18pending_nexus_operations\x18\x07 \x03(\x0b\x32\x33.temporal.api.workflow.v1.PendingNexusOperationInfo\x12W\n\x16workflow_extended_info\x18\x08 \x01(\x0b\x32\x37.temporal.api.workflow.v1.WorkflowExecutionExtendedInfo\"\x90\x04\n\x18\x44\x65scribeTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12=\n\x0ftask_queue_type\x18\x03 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12\x14\n\x0creport_stats\x18\x08 \x01(\x08\x12\x15\n\rreport_config\x18\x0b \x01(\x08\x12%\n\x19include_task_queue_status\x18\x04 \x01(\x08\x42\x02\x18\x01\x12\x42\n\x08\x61pi_mode\x18\x05 \x01(\x0e\x32,.temporal.api.enums.v1.DescribeTaskQueueModeB\x02\x18\x01\x12J\n\x08versions\x18\x06 \x01(\x0b\x32\x34.temporal.api.taskqueue.v1.TaskQueueVersionSelectionB\x02\x18\x01\x12\x42\n\x10task_queue_types\x18\x07 \x03(\x0e\x32$.temporal.api.enums.v1.TaskQueueTypeB\x02\x18\x01\x12\x1a\n\x0ereport_pollers\x18\t \x01(\x08\x42\x02\x18\x01\x12$\n\x18report_task_reachability\x18\n \x01(\x08\x42\x02\x18\x01\"\xec\x07\n\x19\x44\x65scribeTaskQueueResponse\x12\x36\n\x07pollers\x18\x01 \x03(\x0b\x32%.temporal.api.taskqueue.v1.PollerInfo\x12\x38\n\x05stats\x18\x05 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats\x12q\n\x15stats_by_priority_key\x18\x08 \x03(\x0b\x32R.temporal.api.workflowservice.v1.DescribeTaskQueueResponse.StatsByPriorityKeyEntry\x12K\n\x0fversioning_info\x18\x04 \x01(\x0b\x32\x32.temporal.api.taskqueue.v1.TaskQueueVersioningInfo\x12:\n\x06\x63onfig\x18\x06 \x01(\x0b\x32*.temporal.api.taskqueue.v1.TaskQueueConfig\x12k\n\x14\x65\x66\x66\x65\x63tive_rate_limit\x18\x07 \x01(\x0b\x32M.temporal.api.workflowservice.v1.DescribeTaskQueueResponse.EffectiveRateLimit\x12I\n\x11task_queue_status\x18\x02 \x01(\x0b\x32*.temporal.api.taskqueue.v1.TaskQueueStatusB\x02\x18\x01\x12g\n\rversions_info\x18\x03 \x03(\x0b\x32L.temporal.api.workflowservice.v1.DescribeTaskQueueResponse.VersionsInfoEntryB\x02\x18\x01\x1a\x64\n\x17StatsByPriorityKeyEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats:\x02\x38\x01\x1at\n\x12\x45\x66\x66\x65\x63tiveRateLimit\x12\x1b\n\x13requests_per_second\x18\x01 \x01(\x02\x12\x41\n\x11rate_limit_source\x18\x02 \x01(\x0e\x32&.temporal.api.enums.v1.RateLimitSource\x1a\x64\n\x11VersionsInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12>\n\x05value\x18\x02 \x01(\x0b\x32/.temporal.api.taskqueue.v1.TaskQueueVersionInfo:\x02\x38\x01\"\x17\n\x15GetClusterInfoRequest\"\xd1\x03\n\x16GetClusterInfoResponse\x12h\n\x11supported_clients\x18\x01 \x03(\x0b\x32M.temporal.api.workflowservice.v1.GetClusterInfoResponse.SupportedClientsEntry\x12\x16\n\x0eserver_version\x18\x02 \x01(\t\x12\x12\n\ncluster_id\x18\x03 \x01(\t\x12:\n\x0cversion_info\x18\x04 \x01(\x0b\x32$.temporal.api.version.v1.VersionInfo\x12\x14\n\x0c\x63luster_name\x18\x05 \x01(\t\x12\x1b\n\x13history_shard_count\x18\x06 \x01(\x05\x12\x19\n\x11persistence_store\x18\x07 \x01(\t\x12\x18\n\x10visibility_store\x18\x08 \x01(\t\x12 \n\x18initial_failover_version\x18\t \x01(\x03\x12\"\n\x1a\x66\x61ilover_version_increment\x18\n \x01(\x03\x1a\x37\n\x15SupportedClientsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x16\n\x14GetSystemInfoRequest\"\x97\x04\n\x15GetSystemInfoResponse\x12\x16\n\x0eserver_version\x18\x01 \x01(\t\x12Y\n\x0c\x63\x61pabilities\x18\x02 \x01(\x0b\x32\x43.temporal.api.workflowservice.v1.GetSystemInfoResponse.Capabilities\x1a\x8a\x03\n\x0c\x43\x61pabilities\x12\x1f\n\x17signal_and_query_header\x18\x01 \x01(\x08\x12&\n\x1einternal_error_differentiation\x18\x02 \x01(\x08\x12*\n\"activity_failure_include_heartbeat\x18\x03 \x01(\x08\x12\x1a\n\x12supports_schedules\x18\x04 \x01(\x08\x12\"\n\x1a\x65ncoded_failure_attributes\x18\x05 \x01(\x08\x12!\n\x19\x62uild_id_based_versioning\x18\x06 \x01(\x08\x12\x13\n\x0bupsert_memo\x18\x07 \x01(\x08\x12\x1c\n\x14\x65\x61ger_workflow_start\x18\x08 \x01(\x08\x12\x14\n\x0csdk_metadata\x18\t \x01(\x08\x12\'\n\x1f\x63ount_group_by_execution_status\x18\n \x01(\x08\x12\r\n\x05nexus\x18\x0b \x01(\x08\x12!\n\x19server_scaled_deployments\x18\x0c \x01(\x08\"m\n\x1eListTaskQueuePartitionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\"\xdf\x01\n\x1fListTaskQueuePartitionsResponse\x12]\n\x1e\x61\x63tivity_task_queue_partitions\x18\x01 \x03(\x0b\x32\x35.temporal.api.taskqueue.v1.TaskQueuePartitionMetadata\x12]\n\x1eworkflow_task_queue_partitions\x18\x02 \x03(\x0b\x32\x35.temporal.api.taskqueue.v1.TaskQueuePartitionMetadata\"\xcc\x02\n\x15\x43reateScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12\x34\n\x08schedule\x18\x03 \x01(\x0b\x32\".temporal.api.schedule.v1.Schedule\x12>\n\rinitial_patch\x18\x04 \x01(\x0b\x32\'.temporal.api.schedule.v1.SchedulePatch\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t\x12*\n\x04memo\x18\x07 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x08 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\"0\n\x16\x43reateScheduleResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\"A\n\x17\x44\x65scribeScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\"\x8f\x02\n\x18\x44\x65scribeScheduleResponse\x12\x34\n\x08schedule\x18\x01 \x01(\x0b\x32\".temporal.api.schedule.v1.Schedule\x12\x34\n\x04info\x18\x02 \x01(\x0b\x32&.temporal.api.schedule.v1.ScheduleInfo\x12*\n\x04memo\x18\x03 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x04 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x16\n\x0e\x63onflict_token\x18\x05 \x01(\x0c\"\xa4\x02\n\x15UpdateScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12\x34\n\x08schedule\x18\x03 \x01(\x0b\x32\".temporal.api.schedule.v1.Schedule\x12\x16\n\x0e\x63onflict_token\x18\x04 \x01(\x0c\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t\x12\x43\n\x11search_attributes\x18\x07 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12*\n\x04memo\x18\x08 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\"\x18\n\x16UpdateScheduleResponse\"\x9c\x01\n\x14PatchScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12\x36\n\x05patch\x18\x03 \x01(\x0b\x32\'.temporal.api.schedule.v1.SchedulePatch\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t\"\x17\n\x15PatchScheduleResponse\"\xa8\x01\n ListScheduleMatchingTimesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"S\n!ListScheduleMatchingTimesResponse\x12.\n\nstart_time\x18\x01 \x03(\x0b\x32\x1a.google.protobuf.Timestamp\"Q\n\x15\x44\x65leteScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12\x10\n\x08identity\x18\x03 \x01(\t\"\x18\n\x16\x44\x65leteScheduleResponse\"l\n\x14ListSchedulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x19\n\x11maximum_page_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t\"p\n\x15ListSchedulesResponse\x12>\n\tschedules\x18\x01 \x03(\x0b\x32+.temporal.api.schedule.v1.ScheduleListEntry\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"9\n\x15\x43ountSchedulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\r\n\x05query\x18\x02 \x01(\t\"\xdb\x01\n\x16\x43ountSchedulesResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12X\n\x06groups\x18\x02 \x03(\x0b\x32H.temporal.api.workflowservice.v1.CountSchedulesResponse.AggregationGroup\x1aX\n\x10\x41ggregationGroup\x12\x35\n\x0cgroup_values\x18\x01 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\r\n\x05\x63ount\x18\x02 \x01(\x03\"\x86\x05\n\'UpdateWorkerBuildIdCompatibilityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x12-\n#add_new_build_id_in_new_default_set\x18\x03 \x01(\tH\x00\x12\x87\x01\n\x1b\x61\x64\x64_new_compatible_build_id\x18\x04 \x01(\x0b\x32`.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersionH\x00\x12!\n\x17promote_set_by_build_id\x18\x05 \x01(\tH\x00\x12%\n\x1bpromote_build_id_within_set\x18\x06 \x01(\tH\x00\x12h\n\nmerge_sets\x18\x07 \x01(\x0b\x32R.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.MergeSetsH\x00\x1ao\n\x17\x41\x64\x64NewCompatibleVersion\x12\x14\n\x0cnew_build_id\x18\x01 \x01(\t\x12$\n\x1c\x65xisting_compatible_build_id\x18\x02 \x01(\t\x12\x18\n\x10make_set_default\x18\x03 \x01(\x08\x1aI\n\tMergeSets\x12\x1c\n\x14primary_set_build_id\x18\x01 \x01(\t\x12\x1e\n\x16secondary_set_build_id\x18\x02 \x01(\tB\x0b\n\toperation\"@\n(UpdateWorkerBuildIdCompatibilityResponseJ\x04\x08\x01\x10\x02R\x0eversion_set_id\"_\n$GetWorkerBuildIdCompatibilityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x12\x10\n\x08max_sets\x18\x03 \x01(\x05\"t\n%GetWorkerBuildIdCompatibilityResponse\x12K\n\x12major_version_sets\x18\x01 \x03(\x0b\x32/.temporal.api.taskqueue.v1.CompatibleVersionSet\"\xb5\r\n\"UpdateWorkerVersioningRulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x12\x16\n\x0e\x63onflict_token\x18\x03 \x01(\x0c\x12\x81\x01\n\x16insert_assignment_rule\x18\x04 \x01(\x0b\x32_.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.InsertBuildIdAssignmentRuleH\x00\x12\x83\x01\n\x17replace_assignment_rule\x18\x05 \x01(\x0b\x32`.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.ReplaceBuildIdAssignmentRuleH\x00\x12\x81\x01\n\x16\x64\x65lete_assignment_rule\x18\x06 \x01(\x0b\x32_.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.DeleteBuildIdAssignmentRuleH\x00\x12\x8c\x01\n\x1c\x61\x64\x64_compatible_redirect_rule\x18\x07 \x01(\x0b\x32\x64.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.AddCompatibleBuildIdRedirectRuleH\x00\x12\x94\x01\n replace_compatible_redirect_rule\x18\x08 \x01(\x0b\x32h.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.ReplaceCompatibleBuildIdRedirectRuleH\x00\x12\x92\x01\n\x1f\x64\x65lete_compatible_redirect_rule\x18\t \x01(\x0b\x32g.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.DeleteCompatibleBuildIdRedirectRuleH\x00\x12l\n\x0f\x63ommit_build_id\x18\n \x01(\x0b\x32Q.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.CommitBuildIdH\x00\x1aq\n\x1bInsertBuildIdAssignmentRule\x12\x12\n\nrule_index\x18\x01 \x01(\x05\x12>\n\x04rule\x18\x02 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.BuildIdAssignmentRule\x1a\x81\x01\n\x1cReplaceBuildIdAssignmentRule\x12\x12\n\nrule_index\x18\x01 \x01(\x05\x12>\n\x04rule\x18\x02 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.BuildIdAssignmentRule\x12\r\n\x05\x66orce\x18\x03 \x01(\x08\x1a@\n\x1b\x44\x65leteBuildIdAssignmentRule\x12\x12\n\nrule_index\x18\x01 \x01(\x05\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\x1aj\n AddCompatibleBuildIdRedirectRule\x12\x46\n\x04rule\x18\x01 \x01(\x0b\x32\x38.temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRule\x1an\n$ReplaceCompatibleBuildIdRedirectRule\x12\x46\n\x04rule\x18\x01 \x01(\x0b\x32\x38.temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRule\x1a>\n#DeleteCompatibleBuildIdRedirectRule\x12\x17\n\x0fsource_build_id\x18\x01 \x01(\t\x1a\x37\n\rCommitBuildId\x12\x17\n\x0ftarget_build_id\x18\x01 \x01(\t\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\x42\x0b\n\toperation\"\xfc\x01\n#UpdateWorkerVersioningRulesResponse\x12U\n\x10\x61ssignment_rules\x18\x01 \x03(\x0b\x32;.temporal.api.taskqueue.v1.TimestampedBuildIdAssignmentRule\x12\x66\n\x19\x63ompatible_redirect_rules\x18\x02 \x03(\x0b\x32\x43.temporal.api.taskqueue.v1.TimestampedCompatibleBuildIdRedirectRule\x12\x16\n\x0e\x63onflict_token\x18\x03 \x01(\x0c\"H\n\x1fGetWorkerVersioningRulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\"\xf9\x01\n GetWorkerVersioningRulesResponse\x12U\n\x10\x61ssignment_rules\x18\x01 \x03(\x0b\x32;.temporal.api.taskqueue.v1.TimestampedBuildIdAssignmentRule\x12\x66\n\x19\x63ompatible_redirect_rules\x18\x02 \x03(\x0b\x32\x43.temporal.api.taskqueue.v1.TimestampedCompatibleBuildIdRedirectRule\x12\x16\n\x0e\x63onflict_token\x18\x03 \x01(\x0c\"\x9c\x01\n GetWorkerTaskReachabilityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tbuild_ids\x18\x02 \x03(\t\x12\x13\n\x0btask_queues\x18\x03 \x03(\t\x12=\n\x0creachability\x18\x04 \x01(\x0e\x32\'.temporal.api.enums.v1.TaskReachability\"r\n!GetWorkerTaskReachabilityResponse\x12M\n\x15\x62uild_id_reachability\x18\x01 \x03(\x0b\x32..temporal.api.taskqueue.v1.BuildIdReachability\"\x85\x02\n\x1eUpdateWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1e\n\x16\x66irst_execution_run_id\x18\x03 \x01(\t\x12\x37\n\x0bwait_policy\x18\x04 \x01(\x0b\x32\".temporal.api.update.v1.WaitPolicy\x12\x30\n\x07request\x18\x05 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request\"\xd7\x01\n\x1fUpdateWorkflowExecutionResponse\x12\x35\n\nupdate_ref\x18\x01 \x01(\x0b\x32!.temporal.api.update.v1.UpdateRef\x12\x30\n\x07outcome\x18\x02 \x01(\x0b\x32\x1f.temporal.api.update.v1.Outcome\x12K\n\x05stage\x18\x03 \x01(\x0e\x32<.temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage\"\xf4\x07\n\x1aStartBatchOperationRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x18\n\x10visibility_query\x18\x02 \x01(\t\x12\x0e\n\x06job_id\x18\x03 \x01(\t\x12\x0e\n\x06reason\x18\x04 \x01(\t\x12=\n\nexecutions\x18\x05 \x03(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12!\n\x19max_operations_per_second\x18\x06 \x01(\x02\x12Q\n\x15termination_operation\x18\n \x01(\x0b\x32\x30.temporal.api.batch.v1.BatchOperationTerminationH\x00\x12G\n\x10signal_operation\x18\x0b \x01(\x0b\x32+.temporal.api.batch.v1.BatchOperationSignalH\x00\x12S\n\x16\x63\x61ncellation_operation\x18\x0c \x01(\x0b\x32\x31.temporal.api.batch.v1.BatchOperationCancellationH\x00\x12K\n\x12\x64\x65letion_operation\x18\r \x01(\x0b\x32-.temporal.api.batch.v1.BatchOperationDeletionH\x00\x12\x45\n\x0freset_operation\x18\x0e \x01(\x0b\x32*.temporal.api.batch.v1.BatchOperationResetH\x00\x12p\n!update_workflow_options_operation\x18\x0f \x01(\x0b\x32\x43.temporal.api.batch.v1.BatchOperationUpdateWorkflowExecutionOptionsH\x00\x12^\n\x1cunpause_activities_operation\x18\x10 \x01(\x0b\x32\x36.temporal.api.batch.v1.BatchOperationUnpauseActivitiesH\x00\x12Z\n\x1areset_activities_operation\x18\x11 \x01(\x0b\x32\x34.temporal.api.batch.v1.BatchOperationResetActivitiesH\x00\x12g\n!update_activity_options_operation\x18\x12 \x01(\x0b\x32:.temporal.api.batch.v1.BatchOperationUpdateActivityOptionsH\x00\x42\x0b\n\toperation\"\x1d\n\x1bStartBatchOperationResponse\"`\n\x19StopBatchOperationRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0e\n\x06job_id\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t\"\x1c\n\x1aStopBatchOperationResponse\"B\n\x1d\x44\x65scribeBatchOperationRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0e\n\x06job_id\x18\x02 \x01(\t\"\x92\x03\n\x1e\x44\x65scribeBatchOperationResponse\x12\x41\n\x0eoperation_type\x18\x01 \x01(\x0e\x32).temporal.api.enums.v1.BatchOperationType\x12\x0e\n\x06job_id\x18\x02 \x01(\t\x12\x39\n\x05state\x18\x03 \x01(\x0e\x32*.temporal.api.enums.v1.BatchOperationState\x12.\n\nstart_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nclose_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1d\n\x15total_operation_count\x18\x06 \x01(\x03\x12 \n\x18\x63omplete_operation_count\x18\x07 \x01(\x03\x12\x1f\n\x17\x66\x61ilure_operation_count\x18\x08 \x01(\x03\x12\x10\n\x08identity\x18\t \x01(\t\x12\x0e\n\x06reason\x18\n \x01(\t\"[\n\x1aListBatchOperationsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\"y\n\x1bListBatchOperationsResponse\x12\x41\n\x0eoperation_info\x18\x01 \x03(\x0b\x32).temporal.api.batch.v1.BatchOperationInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"\xb9\x01\n\"PollWorkflowExecutionUpdateRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x35\n\nupdate_ref\x18\x02 \x01(\x0b\x32!.temporal.api.update.v1.UpdateRef\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x37\n\x0bwait_policy\x18\x04 \x01(\x0b\x32\".temporal.api.update.v1.WaitPolicy\"\xdb\x01\n#PollWorkflowExecutionUpdateResponse\x12\x30\n\x07outcome\x18\x01 \x01(\x0b\x32\x1f.temporal.api.update.v1.Outcome\x12K\n\x05stage\x18\x02 \x01(\x0e\x32<.temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage\x12\x35\n\nupdate_ref\x18\x03 \x01(\x0b\x32!.temporal.api.update.v1.UpdateRef\"\xa0\x03\n\x19PollNexusTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x03 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x17\n\x0fpoller_group_id\x18\t \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x1b\n\x13worker_instance_key\x18\x08 \x01(\t\x12Z\n\x1bworker_version_capabilities\x18\x04 \x01(\x0b\x32\x31.temporal.api.common.v1.WorkerVersionCapabilitiesB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x06 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\x12\x41\n\x10worker_heartbeat\x18\x07 \x03(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat\"\x95\x02\n\x1aPollNexusTaskQueueResponse\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12/\n\x07request\x18\x02 \x01(\x0b\x32\x1e.temporal.api.nexus.v1.Request\x12Q\n\x17poller_scaling_decision\x18\x03 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.PollerScalingDecision\x12\x17\n\x0fpoller_group_id\x18\x04 \x01(\t\x12\x46\n\x12poller_group_infos\x18\x05 \x03(\x0b\x32*.temporal.api.taskqueue.v1.PollerGroupInfo\"\xa7\x01\n RespondNexusTaskCompletedRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\ntask_token\x18\x03 \x01(\x0c\x12\x31\n\x08response\x18\x04 \x01(\x0b\x32\x1f.temporal.api.nexus.v1.Response\x12\x17\n\x0fpoller_group_id\x18\x05 \x01(\t\"#\n!RespondNexusTaskCompletedResponse\"\xdc\x01\n\x1dRespondNexusTaskFailedRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\ntask_token\x18\x03 \x01(\x0c\x12\x36\n\x05\x65rror\x18\x04 \x01(\x0b\x32#.temporal.api.nexus.v1.HandlerErrorB\x02\x18\x01\x12\x31\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x17\n\x0fpoller_group_id\x18\x06 \x01(\t\" \n\x1eRespondNexusTaskFailedResponse\"\xf4\x02\n\x1c\x45xecuteMultiOperationRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12[\n\noperations\x18\x02 \x03(\x0b\x32G.temporal.api.workflowservice.v1.ExecuteMultiOperationRequest.Operation\x12\x13\n\x0bresource_id\x18\x03 \x01(\t\x1a\xce\x01\n\tOperation\x12X\n\x0estart_workflow\x18\x01 \x01(\x0b\x32>.temporal.api.workflowservice.v1.StartWorkflowExecutionRequestH\x00\x12Z\n\x0fupdate_workflow\x18\x02 \x01(\x0b\x32?.temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequestH\x00\x42\x0b\n\toperation\"\xcc\x02\n\x1d\x45xecuteMultiOperationResponse\x12Z\n\tresponses\x18\x01 \x03(\x0b\x32G.temporal.api.workflowservice.v1.ExecuteMultiOperationResponse.Response\x1a\xce\x01\n\x08Response\x12Y\n\x0estart_workflow\x18\x01 \x01(\x0b\x32?.temporal.api.workflowservice.v1.StartWorkflowExecutionResponseH\x00\x12[\n\x0fupdate_workflow\x18\x02 \x01(\x0b\x32@.temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponseH\x00\x42\n\n\x08response\"\xd0\x02\n\x1cUpdateActivityOptionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x43\n\x10\x61\x63tivity_options\x18\x04 \x01(\x0b\x32).temporal.api.activity.v1.ActivityOptions\x12/\n\x0bupdate_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x0c\n\x02id\x18\x06 \x01(\tH\x00\x12\x0e\n\x04type\x18\x07 \x01(\tH\x00\x12\x13\n\tmatch_all\x18\t \x01(\x08H\x00\x12\x18\n\x10restore_original\x18\x08 \x01(\x08\x42\n\n\x08\x61\x63tivity\"d\n\x1dUpdateActivityOptionsResponse\x12\x43\n\x10\x61\x63tivity_options\x18\x01 \x01(\x0b\x32).temporal.api.activity.v1.ActivityOptions\"\xb3\x01\n\x14PauseActivityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x0c\n\x02id\x18\x04 \x01(\tH\x00\x12\x0e\n\x04type\x18\x05 \x01(\tH\x00\x12\x0e\n\x06reason\x18\x06 \x01(\tB\n\n\x08\x61\x63tivity\"\x17\n\x15PauseActivityResponse\"\x98\x02\n\x16UnpauseActivityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x0c\n\x02id\x18\x04 \x01(\tH\x00\x12\x0e\n\x04type\x18\x05 \x01(\tH\x00\x12\x15\n\x0bunpause_all\x18\x06 \x01(\x08H\x00\x12\x16\n\x0ereset_attempts\x18\x07 \x01(\x08\x12\x17\n\x0freset_heartbeat\x18\x08 \x01(\x08\x12)\n\x06jitter\x18\t \x01(\x0b\x32\x19.google.protobuf.DurationB\n\n\x08\x61\x63tivity\"\x19\n\x17UnpauseActivityResponse\"\xb3\x02\n\x14ResetActivityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x0c\n\x02id\x18\x04 \x01(\tH\x00\x12\x0e\n\x04type\x18\x05 \x01(\tH\x00\x12\x13\n\tmatch_all\x18\n \x01(\x08H\x00\x12\x17\n\x0freset_heartbeat\x18\x06 \x01(\x08\x12\x13\n\x0bkeep_paused\x18\x07 \x01(\x08\x12)\n\x06jitter\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12 \n\x18restore_original_options\x18\t \x01(\x08\x42\n\n\x08\x61\x63tivity\"\x17\n\x15ResetActivityResponse\"\x9c\x02\n%UpdateWorkflowExecutionOptionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12V\n\x1aworkflow_execution_options\x18\x03 \x01(\x0b\x32\x32.temporal.api.workflow.v1.WorkflowExecutionOptions\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x10\n\x08identity\x18\x05 \x01(\t\"\x80\x01\n&UpdateWorkflowExecutionOptionsResponse\x12V\n\x1aworkflow_execution_options\x18\x01 \x01(\x0b\x32\x32.temporal.api.workflow.v1.WorkflowExecutionOptions\"j\n\x19\x44\x65scribeDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12:\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment\"a\n\x1a\x44\x65scribeDeploymentResponse\x12\x43\n\x0f\x64\x65ployment_info\x18\x01 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo\"\xc2\x01\n&DescribeWorkerDeploymentVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x07version\x18\x02 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x03 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1f\n\x17report_task_queue_stats\x18\x04 \x01(\x08\"\x8c\x05\n\'DescribeWorkerDeploymentVersionResponse\x12_\n\x1eworker_deployment_version_info\x18\x01 \x01(\x0b\x32\x37.temporal.api.deployment.v1.WorkerDeploymentVersionInfo\x12v\n\x13version_task_queues\x18\x02 \x03(\x0b\x32Y.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse.VersionTaskQueue\x1a\x87\x03\n\x10VersionTaskQueue\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x32\n\x04type\x18\x02 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12\x38\n\x05stats\x18\x03 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats\x12\x90\x01\n\x15stats_by_priority_key\x18\x04 \x03(\x0b\x32q.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse.VersionTaskQueue.StatsByPriorityKeyEntry\x1a\x64\n\x17StatsByPriorityKeyEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats:\x02\x38\x01\"M\n\x1f\x44\x65scribeWorkerDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\"\x8c\x01\n DescribeWorkerDeploymentResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\x12P\n\x16worker_deployment_info\x18\x02 \x01(\x0b\x32\x30.temporal.api.deployment.v1.WorkerDeploymentInfo\"l\n\x16ListDeploymentsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\x13\n\x0bseries_name\x18\x04 \x01(\t\"w\n\x17ListDeploymentsResponse\x12\x17\n\x0fnext_page_token\x18\x01 \x01(\x0c\x12\x43\n\x0b\x64\x65ployments\x18\x02 \x03(\x0b\x32..temporal.api.deployment.v1.DeploymentListInfo\"\xcd\x01\n\x1bSetCurrentDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12:\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment\x12\x10\n\x08identity\x18\x03 \x01(\t\x12M\n\x0fupdate_metadata\x18\x04 \x01(\x0b\x32\x34.temporal.api.deployment.v1.UpdateDeploymentMetadata\"\xb9\x01\n\x1cSetCurrentDeploymentResponse\x12K\n\x17\x63urrent_deployment_info\x18\x01 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo\x12L\n\x18previous_deployment_info\x18\x02 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo\"\xe5\x01\n(SetWorkerDeploymentCurrentVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x13\n\x07version\x18\x03 \x01(\tB\x02\x18\x01\x12\x10\n\x08\x62uild_id\x18\x07 \x01(\t\x12\x16\n\x0e\x63onflict_token\x18\x04 \x01(\x0c\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\"\n\x1aignore_missing_task_queues\x18\x06 \x01(\x08\x12\x18\n\x10\x61llow_no_pollers\x18\t \x01(\x08\"\xbf\x01\n)SetWorkerDeploymentCurrentVersionResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\x12\x1c\n\x10previous_version\x18\x02 \x01(\tB\x02\x18\x01\x12\\\n\x1bprevious_deployment_version\x18\x03 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersionB\x02\x18\x01\"\xf9\x01\n(SetWorkerDeploymentRampingVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x13\n\x07version\x18\x03 \x01(\tB\x02\x18\x01\x12\x10\n\x08\x62uild_id\x18\x08 \x01(\t\x12\x12\n\npercentage\x18\x04 \x01(\x02\x12\x16\n\x0e\x63onflict_token\x18\x05 \x01(\x0c\x12\x10\n\x08identity\x18\x06 \x01(\t\x12\"\n\x1aignore_missing_task_queues\x18\x07 \x01(\x08\x12\x18\n\x10\x61llow_no_pollers\x18\n \x01(\x08\"\xe0\x01\n)SetWorkerDeploymentRampingVersionResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\x12\x1c\n\x10previous_version\x18\x02 \x01(\tB\x02\x18\x01\x12\\\n\x1bprevious_deployment_version\x18\x04 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersionB\x02\x18\x01\x12\x1f\n\x13previous_percentage\x18\x03 \x01(\x02\x42\x02\x18\x01\"q\n\x1d\x43reateWorkerDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t\"8\n\x1e\x43reateWorkerDeploymentResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\"]\n\x1cListWorkerDeploymentsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\"\x9f\x05\n\x1dListWorkerDeploymentsResponse\x12\x17\n\x0fnext_page_token\x18\x01 \x01(\x0c\x12r\n\x12worker_deployments\x18\x02 \x03(\x0b\x32V.temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse.WorkerDeploymentSummary\x1a\xf0\x03\n\x17WorkerDeploymentSummary\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x41\n\x0erouting_config\x18\x03 \x01(\x0b\x32).temporal.api.deployment.v1.RoutingConfig\x12o\n\x16latest_version_summary\x18\x04 \x01(\x0b\x32O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary\x12p\n\x17\x63urrent_version_summary\x18\x05 \x01(\x0b\x32O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary\x12p\n\x17ramping_version_summary\x18\x06 \x01(\x0b\x32O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary\"\xf0\x01\n$CreateWorkerDeploymentVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12O\n\x12\x64\x65ployment_version\x18\x02 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12>\n\x0e\x63ompute_config\x18\x04 \x01(\x0b\x32&.temporal.api.compute.v1.ComputeConfig\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t\"\'\n%CreateWorkerDeploymentVersionResponse\"\xc8\x01\n$DeleteWorkerDeploymentVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x07version\x18\x02 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x05 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x15\n\rskip_drainage\x18\x03 \x01(\x08\x12\x10\n\x08identity\x18\x04 \x01(\t\"\'\n%DeleteWorkerDeploymentVersionResponse\"]\n\x1d\x44\x65leteWorkerDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x10\n\x08identity\x18\x03 \x01(\t\" \n\x1e\x44\x65leteWorkerDeploymentResponse\"\x84\x04\n1UpdateWorkerDeploymentVersionComputeConfigRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12O\n\x12\x64\x65ployment_version\x18\x02 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x99\x01\n\x1d\x63ompute_config_scaling_groups\x18\x06 \x03(\x0b\x32r.temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionComputeConfigRequest.ComputeConfigScalingGroupsEntry\x12,\n$remove_compute_config_scaling_groups\x18\x07 \x03(\t\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x12\n\nrequest_id\x18\x04 \x01(\t\x1a{\n\x1f\x43omputeConfigScalingGroupsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12G\n\x05value\x18\x02 \x01(\x0b\x32\x38.temporal.api.compute.v1.ComputeConfigScalingGroupUpdate:\x02\x38\x01\"4\n2UpdateWorkerDeploymentVersionComputeConfigResponse\"\xf4\x03\n3ValidateWorkerDeploymentVersionComputeConfigRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12O\n\x12\x64\x65ployment_version\x18\x02 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x9b\x01\n\x1d\x63ompute_config_scaling_groups\x18\x06 \x03(\x0b\x32t.temporal.api.workflowservice.v1.ValidateWorkerDeploymentVersionComputeConfigRequest.ComputeConfigScalingGroupsEntry\x12,\n$remove_compute_config_scaling_groups\x18\x07 \x03(\t\x12\x10\n\x08identity\x18\x03 \x01(\t\x1a{\n\x1f\x43omputeConfigScalingGroupsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12G\n\x05value\x18\x02 \x01(\x0b\x32\x38.temporal.api.compute.v1.ComputeConfigScalingGroupUpdate:\x02\x38\x01\"6\n4ValidateWorkerDeploymentVersionComputeConfigResponse\"\xa2\x03\n,UpdateWorkerDeploymentVersionMetadataRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x07version\x18\x02 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x05 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12x\n\x0eupsert_entries\x18\x03 \x03(\x0b\x32`.temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataRequest.UpsertEntriesEntry\x12\x16\n\x0eremove_entries\x18\x04 \x03(\t\x12\x10\n\x08identity\x18\x06 \x01(\t\x1aU\n\x12UpsertEntriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"n\n-UpdateWorkerDeploymentVersionMetadataResponse\x12=\n\x08metadata\x18\x01 \x01(\x0b\x32+.temporal.api.deployment.v1.VersionMetadata\"\xbd\x01\n!SetWorkerDeploymentManagerRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x1a\n\x10manager_identity\x18\x03 \x01(\tH\x00\x12\x0e\n\x04self\x18\x04 \x01(\x08H\x00\x12\x16\n\x0e\x63onflict_token\x18\x05 \x01(\x0c\x12\x10\n\x08identity\x18\x06 \x01(\tB\x16\n\x14new_manager_identity\"c\n\"SetWorkerDeploymentManagerResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\x12%\n\x19previous_manager_identity\x18\x02 \x01(\tB\x02\x18\x01\"E\n\x1bGetCurrentDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bseries_name\x18\x02 \x01(\t\"k\n\x1cGetCurrentDeploymentResponse\x12K\n\x17\x63urrent_deployment_info\x18\x01 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo\"q\n GetDeploymentReachabilityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12:\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment\"\xe3\x01\n!GetDeploymentReachabilityResponse\x12\x43\n\x0f\x64\x65ployment_info\x18\x01 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo\x12\x43\n\x0creachability\x18\x02 \x01(\x0e\x32-.temporal.api.enums.v1.DeploymentReachability\x12\x34\n\x10last_update_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xb4\x01\n\x19\x43reateWorkflowRuleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x35\n\x04spec\x18\x02 \x01(\x0b\x32\'.temporal.api.rules.v1.WorkflowRuleSpec\x12\x12\n\nforce_scan\x18\x03 \x01(\x08\x12\x12\n\nrequest_id\x18\x04 \x01(\t\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\"_\n\x1a\x43reateWorkflowRuleResponse\x12\x31\n\x04rule\x18\x01 \x01(\x0b\x32#.temporal.api.rules.v1.WorkflowRule\x12\x0e\n\x06job_id\x18\x02 \x01(\t\"A\n\x1b\x44\x65scribeWorkflowRuleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0f\n\x07rule_id\x18\x02 \x01(\t\"Q\n\x1c\x44\x65scribeWorkflowRuleResponse\x12\x31\n\x04rule\x18\x01 \x01(\x0b\x32#.temporal.api.rules.v1.WorkflowRule\"?\n\x19\x44\x65leteWorkflowRuleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0f\n\x07rule_id\x18\x02 \x01(\t\"\x1c\n\x1a\x44\x65leteWorkflowRuleResponse\"F\n\x18ListWorkflowRulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"h\n\x19ListWorkflowRulesResponse\x12\x32\n\x05rules\x18\x01 \x03(\x0b\x32#.temporal.api.rules.v1.WorkflowRule\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"\xce\x01\n\x1aTriggerWorkflowRuleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x0c\n\x02id\x18\x04 \x01(\tH\x00\x12\x37\n\x04spec\x18\x05 \x01(\x0b\x32\'.temporal.api.rules.v1.WorkflowRuleSpecH\x00\x12\x10\n\x08identity\x18\x03 \x01(\tB\x06\n\x04rule\".\n\x1bTriggerWorkflowRuleResponse\x12\x0f\n\x07\x61pplied\x18\x01 \x01(\x08\"\x9b\x01\n\x1cRecordWorkerHeartbeatRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x41\n\x10worker_heartbeat\x18\x03 \x03(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat\x12\x13\n\x0bresource_id\x18\x04 \x01(\t\"\x1f\n\x1dRecordWorkerHeartbeatResponse\"b\n\x12ListWorkersRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t\"\xa5\x01\n\x13ListWorkersResponse\x12<\n\x0cworkers_info\x18\x01 \x03(\x0b\x32\".temporal.api.worker.v1.WorkerInfoB\x02\x18\x01\x12\x37\n\x07workers\x18\x03 \x03(\x0b\x32&.temporal.api.worker.v1.WorkerListInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"\xd5\x05\n\x1cUpdateTaskQueueConfigRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\ntask_queue\x18\x03 \x01(\t\x12=\n\x0ftask_queue_type\x18\x04 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12n\n\x17update_queue_rate_limit\x18\x05 \x01(\x0b\x32M.temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdate\x12}\n&update_fairness_key_rate_limit_default\x18\x06 \x01(\x0b\x32M.temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdate\x12\x84\x01\n\x1dset_fairness_weight_overrides\x18\x07 \x03(\x0b\x32].temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.SetFairnessWeightOverridesEntry\x12\'\n\x1funset_fairness_weight_overrides\x18\x08 \x03(\t\x1a[\n\x0fRateLimitUpdate\x12\x38\n\nrate_limit\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.RateLimit\x12\x0e\n\x06reason\x18\x02 \x01(\t\x1a\x41\n\x1fSetFairnessWeightOverridesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\"[\n\x1dUpdateTaskQueueConfigResponse\x12:\n\x06\x63onfig\x18\x01 \x01(\x0b\x32*.temporal.api.taskqueue.v1.TaskQueueConfig\"\x9e\x01\n\x18\x46\x65tchWorkerConfigRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x38\n\x08selector\x18\x06 \x01(\x0b\x32&.temporal.api.common.v1.WorkerSelector\x12\x13\n\x0bresource_id\x18\x07 \x01(\t\"U\n\x19\x46\x65tchWorkerConfigResponse\x12\x38\n\rworker_config\x18\x01 \x01(\x0b\x32!.temporal.api.sdk.v1.WorkerConfig\"\x8a\x02\n\x19UpdateWorkerConfigRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x38\n\rworker_config\x18\x04 \x01(\x0b\x32!.temporal.api.sdk.v1.WorkerConfig\x12/\n\x0bupdate_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x38\n\x08selector\x18\x06 \x01(\x0b\x32&.temporal.api.common.v1.WorkerSelector\x12\x13\n\x0bresource_id\x18\x07 \x01(\t\"d\n\x1aUpdateWorkerConfigResponse\x12:\n\rworker_config\x18\x01 \x01(\x0b\x32!.temporal.api.sdk.v1.WorkerConfigH\x00\x42\n\n\x08response\"G\n\x15\x44\x65scribeWorkerRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x1b\n\x13worker_instance_key\x18\x02 \x01(\t\"Q\n\x16\x44\x65scribeWorkerResponse\x12\x37\n\x0bworker_info\x18\x01 \x01(\x0b\x32\".temporal.api.worker.v1.WorkerInfo\"\x8d\x01\n\x1dPauseWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x0e\n\x06reason\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t\" \n\x1ePauseWorkflowExecutionResponse\"\x8f\x01\n\x1fUnpauseWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x0e\n\x06reason\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t\"\"\n UnpauseWorkflowExecutionResponse\"\x99\t\n\x1dStartActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12;\n\ractivity_type\x18\x05 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x38\n\ntask_queue\x18\x06 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12<\n\x19schedule_to_close_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x0b \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12/\n\x05input\x18\x0c \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x45\n\x0fid_reuse_policy\x18\r \x01(\x0e\x32,.temporal.api.enums.v1.ActivityIdReusePolicy\x12K\n\x12id_conflict_policy\x18\x0e \x01(\x0e\x32/.temporal.api.enums.v1.ActivityIdConflictPolicy\x12\x43\n\x11search_attributes\x18\x0f \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\x06header\x18\x10 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x38\n\ruser_metadata\x18\x11 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12\x32\n\x08priority\x18\x12 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12>\n\x14\x63ompletion_callbacks\x18\x13 \x03(\x0b\x32 .temporal.api.common.v1.Callback\x12+\n\x05links\x18\x14 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x12\x46\n\x13on_conflict_options\x18\x15 \x01(\x0b\x32).temporal.api.common.v1.OnConflictOptions\x12.\n\x0bstart_delay\x18\x16 \x01(\x0b\x32\x19.google.protobuf.Duration\"m\n\x1eStartActivityExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x0f\n\x07started\x18\x02 \x01(\x08\x12*\n\x04link\x18\x03 \x01(\x0b\x32\x1c.temporal.api.common.v1.Link\"\xa3\x01\n DescribeActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x15\n\rinclude_input\x18\x04 \x01(\x08\x12\x17\n\x0finclude_outcome\x18\x05 \x01(\x08\x12\x17\n\x0flong_poll_token\x18\x06 \x01(\x0c\"\xbc\x02\n!DescribeActivityExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12=\n\x04info\x18\x02 \x01(\x0b\x32/.temporal.api.activity.v1.ActivityExecutionInfo\x12/\n\x05input\x18\x03 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x43\n\x07outcome\x18\x04 \x01(\x0b\x32\x32.temporal.api.activity.v1.ActivityExecutionOutcome\x12\x17\n\x0flong_poll_token\x18\x05 \x01(\x0c\x12\x39\n\tcallbacks\x18\x06 \x03(\x0b\x32&.temporal.api.activity.v1.CallbackInfo\"V\n\x1cPollActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\"t\n\x1dPollActivityExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x43\n\x07outcome\x18\x02 \x01(\x0b\x32\x32.temporal.api.activity.v1.ActivityExecutionOutcome\"m\n\x1dListActivityExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t\"\x82\x01\n\x1eListActivityExecutionsResponse\x12G\n\nexecutions\x18\x01 \x03(\x0b\x32\x33.temporal.api.activity.v1.ActivityExecutionListInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"\xd1\x06\n#StartNexusOperationExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12\x14\n\x0coperation_id\x18\x04 \x01(\t\x12\x10\n\x08\x65ndpoint\x18\x05 \x01(\t\x12\x0f\n\x07service\x18\x06 \x01(\t\x12\x11\n\toperation\x18\x07 \x01(\t\x12<\n\x19schedule_to_close_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12.\n\x05input\x18\x0b \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12K\n\x0fid_reuse_policy\x18\x0c \x01(\x0e\x32\x32.temporal.api.enums.v1.NexusOperationIdReusePolicy\x12Q\n\x12id_conflict_policy\x18\r \x01(\x0e\x32\x35.temporal.api.enums.v1.NexusOperationIdConflictPolicy\x12\x43\n\x11search_attributes\x18\x0e \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12k\n\x0cnexus_header\x18\x0f \x03(\x0b\x32U.temporal.api.workflowservice.v1.StartNexusOperationExecutionRequest.NexusHeaderEntry\x12\x38\n\ruser_metadata\x18\x10 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x1a\x32\n\x10NexusHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"G\n$StartNexusOperationExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x0f\n\x07started\x18\x02 \x01(\x08\"\xaa\x01\n&DescribeNexusOperationExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0coperation_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x15\n\rinclude_input\x18\x04 \x01(\x08\x12\x17\n\x0finclude_outcome\x18\x05 \x01(\x08\x12\x17\n\x0flong_poll_token\x18\x06 \x01(\x0c\"\xb7\x02\n\'DescribeNexusOperationExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12@\n\x04info\x18\x02 \x01(\x0b\x32\x32.temporal.api.nexus.v1.NexusOperationExecutionInfo\x12.\n\x05input\x18\x03 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x31\n\x06result\x18\x04 \x01(\x0b\x32\x1f.temporal.api.common.v1.PayloadH\x00\x12\x33\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x12\x17\n\x0flong_poll_token\x18\x06 \x01(\x0c\x42\t\n\x07outcome\"\xa1\x01\n\"PollNexusOperationExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0coperation_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x42\n\nwait_stage\x18\x04 \x01(\x0e\x32..temporal.api.enums.v1.NexusOperationWaitStage\"\x85\x02\n#PollNexusOperationExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x42\n\nwait_stage\x18\x02 \x01(\x0e\x32..temporal.api.enums.v1.NexusOperationWaitStage\x12\x17\n\x0foperation_token\x18\x03 \x01(\t\x12\x31\n\x06result\x18\x04 \x01(\x0b\x32\x1f.temporal.api.common.v1.PayloadH\x00\x12\x33\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x42\t\n\x07outcome\"s\n#ListNexusOperationExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t\"\x8b\x01\n$ListNexusOperationExecutionsResponse\x12J\n\noperations\x18\x01 \x03(\x0b\x32\x36.temporal.api.nexus.v1.NexusOperationExecutionListInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"B\n\x1e\x43ountActivityExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\r\n\x05query\x18\x02 \x01(\t\"\xed\x01\n\x1f\x43ountActivityExecutionsResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12\x61\n\x06groups\x18\x02 \x03(\x0b\x32Q.temporal.api.workflowservice.v1.CountActivityExecutionsResponse.AggregationGroup\x1aX\n\x10\x41ggregationGroup\x12\x35\n\x0cgroup_values\x18\x01 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\r\n\x05\x63ount\x18\x02 \x01(\x03\"H\n$CountNexusOperationExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\r\n\x05query\x18\x02 \x01(\t\"\xf9\x01\n%CountNexusOperationExecutionsResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12g\n\x06groups\x18\x02 \x03(\x0b\x32W.temporal.api.workflowservice.v1.CountNexusOperationExecutionsResponse.AggregationGroup\x1aX\n\x10\x41ggregationGroup\x12\x35\n\x0cgroup_values\x18\x01 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\r\n\x05\x63ount\x18\x02 \x01(\x03\"\x95\x01\n%RequestCancelActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t\x12\x0e\n\x06reason\x18\x06 \x01(\t\"(\n&RequestCancelActivityExecutionResponse\"\x91\x01\n!TerminateActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t\x12\x0e\n\x06reason\x18\x06 \x01(\t\"$\n\"TerminateActivityExecutionResponse\"X\n\x1e\x44\x65leteActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\"!\n\x1f\x44\x65leteActivityExecutionResponse\"\x9c\x01\n+RequestCancelNexusOperationExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0coperation_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t\x12\x0e\n\x06reason\x18\x06 \x01(\t\".\n,RequestCancelNexusOperationExecutionResponse\"\x98\x01\n\'TerminateNexusOperationExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0coperation_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t\x12\x0e\n\x06reason\x18\x06 \x01(\t\"*\n(TerminateNexusOperationExecutionResponse\"_\n$DeleteNexusOperationExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0coperation_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\"\'\n%DeleteNexusOperationExecutionResponseB\xbe\x01\n\"io.temporal.api.workflowservice.v1B\x14RequestResponseProtoP\x01Z5go.temporal.io/api/workflowservice/v1;workflowservice\xaa\x02!Temporalio.Api.WorkflowService.V1\xea\x02$Temporalio::Api::WorkflowService::V1b\x06proto3" pool = ::Google::Protobuf::DescriptorPool.generated_pool pool.add_serialized_file(descriptor_data) @@ -223,13 +225,21 @@ module V1 SetWorkerDeploymentCurrentVersionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionResponse").msgclass SetWorkerDeploymentRampingVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.SetWorkerDeploymentRampingVersionRequest").msgclass SetWorkerDeploymentRampingVersionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.SetWorkerDeploymentRampingVersionResponse").msgclass + CreateWorkerDeploymentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.CreateWorkerDeploymentRequest").msgclass + CreateWorkerDeploymentResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.CreateWorkerDeploymentResponse").msgclass ListWorkerDeploymentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ListWorkerDeploymentsRequest").msgclass ListWorkerDeploymentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse").msgclass ListWorkerDeploymentsResponse::WorkerDeploymentSummary = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse.WorkerDeploymentSummary").msgclass + CreateWorkerDeploymentVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.CreateWorkerDeploymentVersionRequest").msgclass + CreateWorkerDeploymentVersionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.CreateWorkerDeploymentVersionResponse").msgclass DeleteWorkerDeploymentVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.DeleteWorkerDeploymentVersionRequest").msgclass DeleteWorkerDeploymentVersionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.DeleteWorkerDeploymentVersionResponse").msgclass DeleteWorkerDeploymentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.DeleteWorkerDeploymentRequest").msgclass DeleteWorkerDeploymentResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.DeleteWorkerDeploymentResponse").msgclass + UpdateWorkerDeploymentVersionComputeConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionComputeConfigRequest").msgclass + UpdateWorkerDeploymentVersionComputeConfigResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionComputeConfigResponse").msgclass + ValidateWorkerDeploymentVersionComputeConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ValidateWorkerDeploymentVersionComputeConfigRequest").msgclass + ValidateWorkerDeploymentVersionComputeConfigResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ValidateWorkerDeploymentVersionComputeConfigResponse").msgclass UpdateWorkerDeploymentVersionMetadataRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataRequest").msgclass UpdateWorkerDeploymentVersionMetadataResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataResponse").msgclass SetWorkerDeploymentManagerRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.SetWorkerDeploymentManagerRequest").msgclass @@ -273,15 +283,32 @@ module V1 PollActivityExecutionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.PollActivityExecutionResponse").msgclass ListActivityExecutionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ListActivityExecutionsRequest").msgclass ListActivityExecutionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ListActivityExecutionsResponse").msgclass + StartNexusOperationExecutionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.StartNexusOperationExecutionRequest").msgclass + StartNexusOperationExecutionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.StartNexusOperationExecutionResponse").msgclass + DescribeNexusOperationExecutionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.DescribeNexusOperationExecutionRequest").msgclass + DescribeNexusOperationExecutionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.DescribeNexusOperationExecutionResponse").msgclass + PollNexusOperationExecutionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.PollNexusOperationExecutionRequest").msgclass + PollNexusOperationExecutionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.PollNexusOperationExecutionResponse").msgclass + ListNexusOperationExecutionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ListNexusOperationExecutionsRequest").msgclass + ListNexusOperationExecutionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ListNexusOperationExecutionsResponse").msgclass CountActivityExecutionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.CountActivityExecutionsRequest").msgclass CountActivityExecutionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.CountActivityExecutionsResponse").msgclass CountActivityExecutionsResponse::AggregationGroup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.CountActivityExecutionsResponse.AggregationGroup").msgclass + CountNexusOperationExecutionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.CountNexusOperationExecutionsRequest").msgclass + CountNexusOperationExecutionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.CountNexusOperationExecutionsResponse").msgclass + CountNexusOperationExecutionsResponse::AggregationGroup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.CountNexusOperationExecutionsResponse.AggregationGroup").msgclass RequestCancelActivityExecutionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.RequestCancelActivityExecutionRequest").msgclass RequestCancelActivityExecutionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.RequestCancelActivityExecutionResponse").msgclass TerminateActivityExecutionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.TerminateActivityExecutionRequest").msgclass TerminateActivityExecutionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.TerminateActivityExecutionResponse").msgclass DeleteActivityExecutionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.DeleteActivityExecutionRequest").msgclass DeleteActivityExecutionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.DeleteActivityExecutionResponse").msgclass + RequestCancelNexusOperationExecutionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.RequestCancelNexusOperationExecutionRequest").msgclass + RequestCancelNexusOperationExecutionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.RequestCancelNexusOperationExecutionResponse").msgclass + TerminateNexusOperationExecutionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.TerminateNexusOperationExecutionRequest").msgclass + TerminateNexusOperationExecutionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.TerminateNexusOperationExecutionResponse").msgclass + DeleteNexusOperationExecutionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.DeleteNexusOperationExecutionRequest").msgclass + DeleteNexusOperationExecutionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.DeleteNexusOperationExecutionResponse").msgclass end end end diff --git a/temporalio/lib/temporalio/api/workflowservice/v1/service.rb b/temporalio/lib/temporalio/api/workflowservice/v1/service.rb index 42a5f471..f1caec19 100644 --- a/temporalio/lib/temporalio/api/workflowservice/v1/service.rb +++ b/temporalio/lib/temporalio/api/workflowservice/v1/service.rb @@ -9,7 +9,7 @@ require 'temporalio/api/protometa/v1/annotations' -descriptor_data = "\n-temporal/api/workflowservice/v1/service.proto\x12\x1ftemporal.api.workflowservice.v1\x1a\x36temporal/api/workflowservice/v1/request_response.proto\x1a\x1cgoogle/api/annotations.proto\x1a+temporal/api/protometa/v1/annotations.proto2\xfb\xf7\x01\n\x0fWorkflowService\x12\xc3\x01\n\x11RegisterNamespace\x12\x39.temporal.api.workflowservice.v1.RegisterNamespaceRequest\x1a:.temporal.api.workflowservice.v1.RegisterNamespaceResponse\"7\x82\xd3\xe4\x93\x02\x31\"\x13/cluster/namespaces:\x01*Z\x17\"\x12/api/v1/namespaces:\x01*\x12\xd5\x01\n\x11\x44\x65scribeNamespace\x12\x39.temporal.api.workflowservice.v1.DescribeNamespaceRequest\x1a:.temporal.api.workflowservice.v1.DescribeNamespaceResponse\"I\x82\xd3\xe4\x93\x02\x43\x12\x1f/cluster/namespaces/{namespace}Z \x12\x1e/api/v1/namespaces/{namespace}\x12\xb4\x01\n\x0eListNamespaces\x12\x36.temporal.api.workflowservice.v1.ListNamespacesRequest\x1a\x37.temporal.api.workflowservice.v1.ListNamespacesResponse\"1\x82\xd3\xe4\x93\x02+\x12\x13/cluster/namespacesZ\x14\x12\x12/api/v1/namespaces\x12\xe3\x01\n\x0fUpdateNamespace\x12\x37.temporal.api.workflowservice.v1.UpdateNamespaceRequest\x1a\x38.temporal.api.workflowservice.v1.UpdateNamespaceResponse\"]\x82\xd3\xe4\x93\x02W\"&/cluster/namespaces/{namespace}/update:\x01*Z*\"%/api/v1/namespaces/{namespace}/update:\x01*\x12\x8f\x01\n\x12\x44\x65precateNamespace\x12:.temporal.api.workflowservice.v1.DeprecateNamespaceRequest\x1a;.temporal.api.workflowservice.v1.DeprecateNamespaceResponse\"\x00\x12\xc6\x02\n\x16StartWorkflowExecution\x12>.temporal.api.workflowservice.v1.StartWorkflowExecutionRequest\x1a?.temporal.api.workflowservice.v1.StartWorkflowExecutionResponse\"\xaa\x01\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16workflow:{workflow_id}\x82\xd3\xe4\x93\x02q\"//namespaces/{namespace}/workflows/{workflow_id}:\x01*Z;\"6/api/v1/namespaces/{namespace}/workflows/{workflow_id}:\x01*\x12\xcb\x01\n\x15\x45xecuteMultiOperation\x12=.temporal.api.workflowservice.v1.ExecuteMultiOperationRequest\x1a>.temporal.api.workflowservice.v1.ExecuteMultiOperationResponse\"3\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16workflow:{resource_id}\x12\xfe\x02\n\x1bGetWorkflowExecutionHistory\x12\x43.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest\x1a\x44.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse\"\xd3\x01\x8a\x9d\xcc\x1b\x38\n\x14temporal-resource-id\x12 workflow:{execution.workflow_id}\x82\xd3\xe4\x93\x02\x8f\x01\x12\x41/namespaces/{namespace}/workflows/{execution.workflow_id}/historyZJ\x12H/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/history\x12\xa3\x03\n\"GetWorkflowExecutionHistoryReverse\x12J.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseRequest\x1aK.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseResponse\"\xe3\x01\x8a\x9d\xcc\x1b\x38\n\x14temporal-resource-id\x12 workflow:{execution.workflow_id}\x82\xd3\xe4\x93\x02\x9f\x01\x12I/namespaces/{namespace}/workflows/{execution.workflow_id}/history-reverseZR\x12P/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/history-reverse\x12\x98\x01\n\x15PollWorkflowTaskQueue\x12=.temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest\x1a>.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse\"\x00\x12\xe0\x01\n\x1cRespondWorkflowTaskCompleted\x12\x44.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest\x1a\x45.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedResponse\"3\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16workflow:{resource_id}\x12\xd7\x01\n\x19RespondWorkflowTaskFailed\x12\x41.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedResponse\"3\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16workflow:{resource_id}\x12\x98\x01\n\x15PollActivityTaskQueue\x12=.temporal.api.workflowservice.v1.PollActivityTaskQueueRequest\x1a>.temporal.api.workflowservice.v1.PollActivityTaskQueueResponse\"\x00\x12\xc2\x02\n\x1bRecordActivityTaskHeartbeat\x12\x43.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatRequest\x1a\x44.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatResponse\"\x97\x01\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02g\"*/namespaces/{namespace}/activity-heartbeat:\x01*Z6\"1/api/v1/namespaces/{namespace}/activity-heartbeat:\x01*\x12\xa8\x04\n\x1fRecordActivityTaskHeartbeatById\x12G.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdRequest\x1aH.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdResponse\"\xf1\x02\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02\xc0\x02\":/namespaces/{namespace}/activities/{activity_id}/heartbeat:\x01*ZF\"A/api/v1/namespaces/{namespace}/activities/{activity_id}/heartbeat:\x01*ZW\"R/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/heartbeat:\x01*Z^\"Y/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/heartbeat:\x01*\x12\xc3\x02\n\x1cRespondActivityTaskCompleted\x12\x44.temporal.api.workflowservice.v1.RespondActivityTaskCompletedRequest\x1a\x45.temporal.api.workflowservice.v1.RespondActivityTaskCompletedResponse\"\x95\x01\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02\x65\")/namespaces/{namespace}/activity-complete:\x01*Z5\"0/api/v1/namespaces/{namespace}/activity-complete:\x01*\x12\xa7\x04\n RespondActivityTaskCompletedById\x12H.temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdRequest\x1aI.temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdResponse\"\xed\x02\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02\xbc\x02\"9/namespaces/{namespace}/activities/{activity_id}/complete:\x01*ZE\"@/api/v1/namespaces/{namespace}/activities/{activity_id}/complete:\x01*ZV\"Q/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/complete:\x01*Z]\"X/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/complete:\x01*\x12\xb2\x02\n\x19RespondActivityTaskFailed\x12\x41.temporal.api.workflowservice.v1.RespondActivityTaskFailedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondActivityTaskFailedResponse\"\x8d\x01\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02]\"%/namespaces/{namespace}/activity-fail:\x01*Z1\",/api/v1/namespaces/{namespace}/activity-fail:\x01*\x12\x8e\x04\n\x1dRespondActivityTaskFailedById\x12\x45.temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdRequest\x1a\x46.temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdResponse\"\xdd\x02\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02\xac\x02\"5/namespaces/{namespace}/activities/{activity_id}/fail:\x01*ZA\".temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest\x1a?.temporal.api.workflowservice.v1.ResetWorkflowExecutionResponse\"\xf0\x01\x8a\x9d\xcc\x1b\x41\n\x14temporal-resource-id\x12)workflow:{workflow_execution.workflow_id}\x82\xd3\xe4\x93\x02\xa3\x01\"H/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/reset:\x01*ZT\"O/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/reset:\x01*\x12\xa0\x03\n\x1aTerminateWorkflowExecution\x12\x42.temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest\x1a\x43.temporal.api.workflowservice.v1.TerminateWorkflowExecutionResponse\"\xf8\x01\x8a\x9d\xcc\x1b\x41\n\x14temporal-resource-id\x12)workflow:{workflow_execution.workflow_id}\x82\xd3\xe4\x93\x02\xab\x01\"L/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/terminate:\x01*ZX\"S/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/terminate:\x01*\x12\xe4\x01\n\x17\x44\x65leteWorkflowExecution\x12?.temporal.api.workflowservice.v1.DeleteWorkflowExecutionRequest\x1a@.temporal.api.workflowservice.v1.DeleteWorkflowExecutionResponse\"F\x8a\x9d\xcc\x1b\x41\n\x14temporal-resource-id\x12)workflow:{workflow_execution.workflow_id}\x12\xa7\x01\n\x1aListOpenWorkflowExecutions\x12\x42.temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsRequest\x1a\x43.temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsResponse\"\x00\x12\xad\x01\n\x1cListClosedWorkflowExecutions\x12\x44.temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsRequest\x1a\x45.temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsResponse\"\x00\x12\xf0\x01\n\x16ListWorkflowExecutions\x12>.temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest\x1a?.temporal.api.workflowservice.v1.ListWorkflowExecutionsResponse\"U\x82\xd3\xe4\x93\x02O\x12!/namespaces/{namespace}/workflowsZ*\x12(/api/v1/namespaces/{namespace}/workflows\x12\x9a\x02\n\x1eListArchivedWorkflowExecutions\x12\x46.temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsRequest\x1aG.temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsResponse\"g\x82\xd3\xe4\x93\x02\x61\x12*/namespaces/{namespace}/archived-workflowsZ3\x12\x31/api/v1/namespaces/{namespace}/archived-workflows\x12\x9b\x01\n\x16ScanWorkflowExecutions\x12>.temporal.api.workflowservice.v1.ScanWorkflowExecutionsRequest\x1a?.temporal.api.workflowservice.v1.ScanWorkflowExecutionsResponse\"\x00\x12\xfd\x01\n\x17\x43ountWorkflowExecutions\x12?.temporal.api.workflowservice.v1.CountWorkflowExecutionsRequest\x1a@.temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse\"_\x82\xd3\xe4\x93\x02Y\x12&/namespaces/{namespace}/workflow-countZ/\x12-/api/v1/namespaces/{namespace}/workflow-count\x12\x92\x01\n\x13GetSearchAttributes\x12;.temporal.api.workflowservice.v1.GetSearchAttributesRequest\x1a<.temporal.api.workflowservice.v1.GetSearchAttributesResponse\"\x00\x12\xa4\x01\n\x19RespondQueryTaskCompleted\x12\x41.temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondQueryTaskCompletedResponse\"\x00\x12\xd2\x01\n\x14ResetStickyTaskQueue\x12<.temporal.api.workflowservice.v1.ResetStickyTaskQueueRequest\x1a=.temporal.api.workflowservice.v1.ResetStickyTaskQueueResponse\"=\x8a\x9d\xcc\x1b\x38\n\x14temporal-resource-id\x12 workflow:{execution.workflow_id}\x12\x83\x01\n\x0eShutdownWorker\x12\x36.temporal.api.workflowservice.v1.ShutdownWorkerRequest\x1a\x37.temporal.api.workflowservice.v1.ShutdownWorkerResponse\"\x00\x12\xfc\x02\n\rQueryWorkflow\x12\x35.temporal.api.workflowservice.v1.QueryWorkflowRequest\x1a\x36.temporal.api.workflowservice.v1.QueryWorkflowResponse\"\xfb\x01\x8a\x9d\xcc\x1b\x38\n\x14temporal-resource-id\x12 workflow:{execution.workflow_id}\x82\xd3\xe4\x93\x02\xb7\x01\"R/namespaces/{namespace}/workflows/{execution.workflow_id}/query/{query.query_type}:\x01*Z^\"Y/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/query/{query.query_type}:\x01*\x12\xe7\x02\n\x19\x44\x65scribeWorkflowExecution\x12\x41.temporal.api.workflowservice.v1.DescribeWorkflowExecutionRequest\x1a\x42.temporal.api.workflowservice.v1.DescribeWorkflowExecutionResponse\"\xc2\x01\x8a\x9d\xcc\x1b\x38\n\x14temporal-resource-id\x12 workflow:{execution.workflow_id}\x82\xd3\xe4\x93\x02\x7f\x12\x39/namespaces/{namespace}/workflows/{execution.workflow_id}ZB\x12@/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}\x12\xc2\x02\n\x11\x44\x65scribeTaskQueue\x12\x39.temporal.api.workflowservice.v1.DescribeTaskQueueRequest\x1a:.temporal.api.workflowservice.v1.DescribeTaskQueueResponse\"\xb5\x01\x8a\x9d\xcc\x1b\x33\n\x14temporal-resource-id\x12\x1btaskqueue:{task_queue.name}\x82\xd3\xe4\x93\x02w\x12\x35/namespaces/{namespace}/task-queues/{task_queue.name}Z>\x12/namespaces/{namespace}/schedules/{schedule_id}/matching-timesZG\x12\x45/api/v1/namespaces/{namespace}/schedules/{schedule_id}/matching-times\x12\xa8\x02\n\x0e\x44\x65leteSchedule\x12\x36.temporal.api.workflowservice.v1.DeleteScheduleRequest\x1a\x37.temporal.api.workflowservice.v1.DeleteScheduleResponse\"\xa4\x01\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16schedule:{schedule_id}\x82\xd3\xe4\x93\x02k*//namespaces/{namespace}/schedules/{schedule_id}Z8*6/api/v1/namespaces/{namespace}/schedules/{schedule_id}\x12\xd5\x01\n\rListSchedules\x12\x35.temporal.api.workflowservice.v1.ListSchedulesRequest\x1a\x36.temporal.api.workflowservice.v1.ListSchedulesResponse\"U\x82\xd3\xe4\x93\x02O\x12!/namespaces/{namespace}/schedulesZ*\x12(/api/v1/namespaces/{namespace}/schedules\x12\xe2\x01\n\x0e\x43ountSchedules\x12\x36.temporal.api.workflowservice.v1.CountSchedulesRequest\x1a\x37.temporal.api.workflowservice.v1.CountSchedulesResponse\"_\x82\xd3\xe4\x93\x02Y\x12&/namespaces/{namespace}/schedule-countZ/\x12-/api/v1/namespaces/{namespace}/schedule-count\x12\xb9\x01\n UpdateWorkerBuildIdCompatibility\x12H.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest\x1aI.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityResponse\"\x00\x12\xe1\x02\n\x1dGetWorkerBuildIdCompatibility\x12\x45.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityRequest\x1a\x46.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityResponse\"\xb0\x01\x82\xd3\xe4\x93\x02\xa9\x01\x12N/namespaces/{namespace}/task-queues/{task_queue}/worker-build-id-compatibilityZW\x12U/api/v1/namespaces/{namespace}/task-queues/{task_queue}/worker-build-id-compatibility\x12\xaa\x01\n\x1bUpdateWorkerVersioningRules\x12\x43.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest\x1a\x44.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesResponse\"\x00\x12\xc6\x02\n\x18GetWorkerVersioningRules\x12@.temporal.api.workflowservice.v1.GetWorkerVersioningRulesRequest\x1a\x41.temporal.api.workflowservice.v1.GetWorkerVersioningRulesResponse\"\xa4\x01\x82\xd3\xe4\x93\x02\x9d\x01\x12H/namespaces/{namespace}/task-queues/{task_queue}/worker-versioning-rulesZQ\x12O/api/v1/namespaces/{namespace}/task-queues/{task_queue}/worker-versioning-rules\x12\x97\x02\n\x19GetWorkerTaskReachability\x12\x41.temporal.api.workflowservice.v1.GetWorkerTaskReachabilityRequest\x1a\x42.temporal.api.workflowservice.v1.GetWorkerTaskReachabilityResponse\"s\x82\xd3\xe4\x93\x02m\x12\x30/namespaces/{namespace}/worker-task-reachabilityZ9\x12\x37/api/v1/namespaces/{namespace}/worker-task-reachability\x12\xc8\x02\n\x12\x44\x65scribeDeployment\x12:.temporal.api.workflowservice.v1.DescribeDeploymentRequest\x1a;.temporal.api.workflowservice.v1.DescribeDeploymentResponse\"\xb8\x01\x82\xd3\xe4\x93\x02\xb1\x01\x12R/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}Z[\x12Y/api/v1/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}\x12\x81\x04\n\x1f\x44\x65scribeWorkerDeploymentVersion\x12G.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionRequest\x1aH.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse\"\xca\x02\x8a\x9d\xcc\x1bG\n\x14temporal-resource-id\x12/deployment:{deployment_version.deployment_name}\x82\xd3\xe4\x93\x02\xf7\x01\x12u/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}Z~\x12|/api/v1/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}\x12\xdf\x01\n\x0fListDeployments\x12\x37.temporal.api.workflowservice.v1.ListDeploymentsRequest\x1a\x38.temporal.api.workflowservice.v1.ListDeploymentsResponse\"Y\x82\xd3\xe4\x93\x02S\x12#/namespaces/{namespace}/deploymentsZ,\x12*/api/v1/namespaces/{namespace}/deployments\x12\xf7\x02\n\x19GetDeploymentReachability\x12\x41.temporal.api.workflowservice.v1.GetDeploymentReachabilityRequest\x1a\x42.temporal.api.workflowservice.v1.GetDeploymentReachabilityResponse\"\xd2\x01\x82\xd3\xe4\x93\x02\xcb\x01\x12_/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}/reachabilityZh\x12\x66/api/v1/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}/reachability\x12\x99\x02\n\x14GetCurrentDeployment\x12<.temporal.api.workflowservice.v1.GetCurrentDeploymentRequest\x1a=.temporal.api.workflowservice.v1.GetCurrentDeploymentResponse\"\x83\x01\x82\xd3\xe4\x93\x02}\x12\x38/namespaces/{namespace}/current-deployment/{series_name}ZA\x12?/api/v1/namespaces/{namespace}/current-deployment/{series_name}\x12\xb6\x02\n\x14SetCurrentDeployment\x12<.temporal.api.workflowservice.v1.SetCurrentDeploymentRequest\x1a=.temporal.api.workflowservice.v1.SetCurrentDeploymentResponse\"\xa0\x01\x82\xd3\xe4\x93\x02\x99\x01\"C/namespaces/{namespace}/current-deployment/{deployment.series_name}:\x01*ZO\"J/api/v1/namespaces/{namespace}/current-deployment/{deployment.series_name}:\x01*\x12\xb0\x03\n!SetWorkerDeploymentCurrentVersion\x12I.temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionRequest\x1aJ.temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionResponse\"\xf3\x01\x8a\x9d\xcc\x1b\x34\n\x14temporal-resource-id\x12\x1c\x64\x65ployment:{deployment_name}\x82\xd3\xe4\x93\x02\xb3\x01\"P/namespaces/{namespace}/worker-deployments/{deployment_name}/set-current-version:\x01*Z\\\"W/api/v1/namespaces/{namespace}/worker-deployments/{deployment_name}/set-current-version:\x01*\x12\xe7\x02\n\x18\x44\x65scribeWorkerDeployment\x12@.temporal.api.workflowservice.v1.DescribeWorkerDeploymentRequest\x1a\x41.temporal.api.workflowservice.v1.DescribeWorkerDeploymentResponse\"\xc5\x01\x8a\x9d\xcc\x1b\x34\n\x14temporal-resource-id\x12\x1c\x64\x65ployment:{deployment_name}\x82\xd3\xe4\x93\x02\x85\x01\x12.temporal.api.workflowservice.v1.DeleteWorkerDeploymentRequest\x1a?.temporal.api.workflowservice.v1.DeleteWorkerDeploymentResponse\"\xc5\x01\x8a\x9d\xcc\x1b\x34\n\x14temporal-resource-id\x12\x1c\x64\x65ployment:{deployment_name}\x82\xd3\xe4\x93\x02\x85\x01*.temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse\"g\x82\xd3\xe4\x93\x02\x61\x12*/namespaces/{namespace}/worker-deploymentsZ3\x12\x31/api/v1/namespaces/{namespace}/worker-deployments\x12\xbc\x04\n%UpdateWorkerDeploymentVersionMetadata\x12M.temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataRequest\x1aN.temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataResponse\"\xf3\x02\x8a\x9d\xcc\x1bG\n\x14temporal-resource-id\x12/deployment:{deployment_version.deployment_name}\x82\xd3\xe4\x93\x02\xa0\x02\"\x85\x01/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}/update-metadata:\x01*Z\x92\x01\"\x8c\x01/api/v1/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}/update-metadata:\x01*\x12\x8b\x03\n\x1aSetWorkerDeploymentManager\x12\x42.temporal.api.workflowservice.v1.SetWorkerDeploymentManagerRequest\x1a\x43.temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse\"\xe3\x01\x8a\x9d\xcc\x1b\x34\n\x14temporal-resource-id\x12\x1c\x64\x65ployment:{deployment_name}\x82\xd3\xe4\x93\x02\xa3\x01\"H/namespaces/{namespace}/worker-deployments/{deployment_name}/set-manager:\x01*ZT\"O/api/v1/namespaces/{namespace}/worker-deployments/{deployment_name}/set-manager:\x01*\x12\xbb\x03\n\x17UpdateWorkflowExecution\x12?.temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest\x1a@.temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponse\"\x9c\x02\x8a\x9d\xcc\x1b\x41\n\x14temporal-resource-id\x12)workflow:{workflow_execution.workflow_id}\x82\xd3\xe4\x93\x02\xcf\x01\"^/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/update/{request.input.name}:\x01*Zj\"e/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/update/{request.input.name}:\x01*\x12\xfb\x01\n\x1bPollWorkflowExecutionUpdate\x12\x43.temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateRequest\x1a\x44.temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateResponse\"Q\x8a\x9d\xcc\x1bL\n\x14temporal-resource-id\x12\x34workflow:{update_ref.workflow_execution.workflow_id}\x12\xb9\x02\n\x13StartBatchOperation\x12;.temporal.api.workflowservice.v1.StartBatchOperationRequest\x1a<.temporal.api.workflowservice.v1.StartBatchOperationResponse\"\xa6\x01\x8a\x9d\xcc\x1b&\n\x14temporal-resource-id\x12\x0e\x62\x61tch:{job_id}\x82\xd3\xe4\x93\x02u\"1/namespaces/{namespace}/batch-operations/{job_id}:\x01*Z=\"8/api/v1/namespaces/{namespace}/batch-operations/{job_id}:\x01*\x12\xc0\x02\n\x12StopBatchOperation\x12:.temporal.api.workflowservice.v1.StopBatchOperationRequest\x1a;.temporal.api.workflowservice.v1.StopBatchOperationResponse\"\xb0\x01\x8a\x9d\xcc\x1b&\n\x14temporal-resource-id\x12\x0e\x62\x61tch:{job_id}\x82\xd3\xe4\x93\x02\x7f\"6/namespaces/{namespace}/batch-operations/{job_id}/stop:\x01*ZB\"=/api/v1/namespaces/{namespace}/batch-operations/{job_id}/stop:\x01*\x12\xbc\x02\n\x16\x44\x65scribeBatchOperation\x12>.temporal.api.workflowservice.v1.DescribeBatchOperationRequest\x1a?.temporal.api.workflowservice.v1.DescribeBatchOperationResponse\"\xa0\x01\x8a\x9d\xcc\x1b&\n\x14temporal-resource-id\x12\x0e\x62\x61tch:{job_id}\x82\xd3\xe4\x93\x02o\x12\x31/namespaces/{namespace}/batch-operations/{job_id}Z:\x12\x38/api/v1/namespaces/{namespace}/batch-operations/{job_id}\x12\xf5\x01\n\x13ListBatchOperations\x12;.temporal.api.workflowservice.v1.ListBatchOperationsRequest\x1a<.temporal.api.workflowservice.v1.ListBatchOperationsResponse\"c\x82\xd3\xe4\x93\x02]\x12(/namespaces/{namespace}/batch-operationsZ1\x12//api/v1/namespaces/{namespace}/batch-operations\x12\x8f\x01\n\x12PollNexusTaskQueue\x12:.temporal.api.workflowservice.v1.PollNexusTaskQueueRequest\x1a;.temporal.api.workflowservice.v1.PollNexusTaskQueueResponse\"\x00\x12\xa4\x01\n\x19RespondNexusTaskCompleted\x12\x41.temporal.api.workflowservice.v1.RespondNexusTaskCompletedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondNexusTaskCompletedResponse\"\x00\x12\x9b\x01\n\x16RespondNexusTaskFailed\x12>.temporal.api.workflowservice.v1.RespondNexusTaskFailedRequest\x1a?.temporal.api.workflowservice.v1.RespondNexusTaskFailedResponse\"\x00\x12\xe8\x02\n\x15UpdateActivityOptions\x12=.temporal.api.workflowservice.v1.UpdateActivityOptionsRequest\x1a>.temporal.api.workflowservice.v1.UpdateActivityOptionsResponse\"\xcf\x01\x8a\x9d\xcc\x1b\x38\n\x14temporal-resource-id\x12 workflow:{execution.workflow_id}\x82\xd3\xe4\x93\x02\x8b\x01\".temporal.api.workflowservice.v1.RecordWorkerHeartbeatResponse\"\x9c\x01\x8a\x9d\xcc\x1b,\n\x14temporal-resource-id\x12\x14worker:{resource_id}\x82\xd3\xe4\x93\x02\x65\")/namespaces/{namespace}/workers/heartbeat:\x01*Z5\"0/api/v1/namespaces/{namespace}/workers/heartbeat:\x01*\x12\xcb\x01\n\x0bListWorkers\x12\x33.temporal.api.workflowservice.v1.ListWorkersRequest\x1a\x34.temporal.api.workflowservice.v1.ListWorkersResponse\"Q\x82\xd3\xe4\x93\x02K\x12\x1f/namespaces/{namespace}/workersZ(\x12&/api/v1/namespaces/{namespace}/workers\x12\xe2\x02\n\x15UpdateTaskQueueConfig\x12=.temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest\x1a>.temporal.api.workflowservice.v1.UpdateTaskQueueConfigResponse\"\xc9\x01\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16taskqueue:{task_queue}\x82\xd3\xe4\x93\x02\x8f\x01\">/namespaces/{namespace}/task-queues/{task_queue}/update-config:\x01*ZJ\"E/api/v1/namespaces/{namespace}/task-queues/{task_queue}/update-config:\x01*\x12\xaf\x02\n\x11\x46\x65tchWorkerConfig\x12\x39.temporal.api.workflowservice.v1.FetchWorkerConfigRequest\x1a:.temporal.api.workflowservice.v1.FetchWorkerConfigResponse\"\xa2\x01\x8a\x9d\xcc\x1b,\n\x14temporal-resource-id\x12\x14worker:{resource_id}\x82\xd3\xe4\x93\x02k\",/namespaces/{namespace}/workers/fetch-config:\x01*Z8\"3/api/v1/namespaces/{namespace}/workers/fetch-config:\x01*\x12\xb4\x02\n\x12UpdateWorkerConfig\x12:.temporal.api.workflowservice.v1.UpdateWorkerConfigRequest\x1a;.temporal.api.workflowservice.v1.UpdateWorkerConfigResponse\"\xa4\x01\x8a\x9d\xcc\x1b,\n\x14temporal-resource-id\x12\x14worker:{resource_id}\x82\xd3\xe4\x93\x02m\"-/namespaces/{namespace}/workers/update-config:\x01*Z9\"4/api/v1/namespaces/{namespace}/workers/update-config:\x01*\x12\xcd\x02\n\x0e\x44\x65scribeWorker\x12\x36.temporal.api.workflowservice.v1.DescribeWorkerRequest\x1a\x37.temporal.api.workflowservice.v1.DescribeWorkerResponse\"\xc9\x01\x8a\x9d\xcc\x1b\x34\n\x14temporal-resource-id\x12\x1cworker:{worker_instance_key}\x82\xd3\xe4\x93\x02\x89\x01\x12>/namespaces/{namespace}/workers/describe/{worker_instance_key}ZG\x12\x45/api/v1/namespaces/{namespace}/workers/describe/{worker_instance_key}\x12\xd2\x02\n\x16PauseWorkflowExecution\x12>.temporal.api.workflowservice.v1.PauseWorkflowExecutionRequest\x1a?.temporal.api.workflowservice.v1.PauseWorkflowExecutionResponse\"\xb6\x01\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16workflow:{workflow_id}\x82\xd3\xe4\x93\x02}\"5/namespaces/{namespace}/workflows/{workflow_id}/pause:\x01*ZA\"/api/v1/namespaces/{namespace}/workflows/{workflow_id}/unpause:\x01*\x12\x94\x02\n\x16StartActivityExecution\x12>.temporal.api.workflowservice.v1.StartActivityExecutionRequest\x1a?.temporal.api.workflowservice.v1.StartActivityExecutionResponse\"y\x82\xd3\xe4\x93\x02s\"0/namespaces/{namespace}/activities/{activity_id}:\x01*Z<\"7/api/v1/namespaces/{namespace}/activities/{activity_id}:\x01*\x12\x97\x02\n\x19\x44\x65scribeActivityExecution\x12\x41.temporal.api.workflowservice.v1.DescribeActivityExecutionRequest\x1a\x42.temporal.api.workflowservice.v1.DescribeActivityExecutionResponse\"s\x82\xd3\xe4\x93\x02m\x12\x30/namespaces/{namespace}/activities/{activity_id}Z9\x12\x37/api/v1/namespaces/{namespace}/activities/{activity_id}\x12\x9c\x02\n\x15PollActivityExecution\x12=.temporal.api.workflowservice.v1.PollActivityExecutionRequest\x1a>.temporal.api.workflowservice.v1.PollActivityExecutionResponse\"\x83\x01\x82\xd3\xe4\x93\x02}\x12\x38/namespaces/{namespace}/activities/{activity_id}/outcomeZA\x12?/api/v1/namespaces/{namespace}/activities/{activity_id}/outcome\x12\xf2\x01\n\x16ListActivityExecutions\x12>.temporal.api.workflowservice.v1.ListActivityExecutionsRequest\x1a?.temporal.api.workflowservice.v1.ListActivityExecutionsResponse\"W\x82\xd3\xe4\x93\x02Q\x12\"/namespaces/{namespace}/activitiesZ+\x12)/api/v1/namespaces/{namespace}/activities\x12\xfd\x01\n\x17\x43ountActivityExecutions\x12?.temporal.api.workflowservice.v1.CountActivityExecutionsRequest\x1a@.temporal.api.workflowservice.v1.CountActivityExecutionsResponse\"_\x82\xd3\xe4\x93\x02Y\x12&/namespaces/{namespace}/activity-countZ/\x12-/api/v1/namespaces/{namespace}/activity-count\x12\xbc\x02\n\x1eRequestCancelActivityExecution\x12\x46.temporal.api.workflowservice.v1.RequestCancelActivityExecutionRequest\x1aG.temporal.api.workflowservice.v1.RequestCancelActivityExecutionResponse\"\x88\x01\x82\xd3\xe4\x93\x02\x81\x01\"7/namespaces/{namespace}/activities/{activity_id}/cancel:\x01*ZC\">/api/v1/namespaces/{namespace}/activities/{activity_id}/cancel:\x01*\x12\xb6\x02\n\x1aTerminateActivityExecution\x12\x42.temporal.api.workflowservice.v1.TerminateActivityExecutionRequest\x1a\x43.temporal.api.workflowservice.v1.TerminateActivityExecutionResponse\"\x8e\x01\x82\xd3\xe4\x93\x02\x87\x01\":/namespaces/{namespace}/activities/{activity_id}/terminate:\x01*ZF\"A/api/v1/namespaces/{namespace}/activities/{activity_id}/terminate:\x01*\x12\x9e\x01\n\x17\x44\x65leteActivityExecution\x12?.temporal.api.workflowservice.v1.DeleteActivityExecutionRequest\x1a@.temporal.api.workflowservice.v1.DeleteActivityExecutionResponse\"\x00\x42\xb6\x01\n\"io.temporal.api.workflowservice.v1B\x0cServiceProtoP\x01Z5go.temporal.io/api/workflowservice/v1;workflowservice\xaa\x02!Temporalio.Api.WorkflowService.V1\xea\x02$Temporalio::Api::WorkflowService::V1b\x06proto3" +descriptor_data = "\n-temporal/api/workflowservice/v1/service.proto\x12\x1ftemporal.api.workflowservice.v1\x1a\x36temporal/api/workflowservice/v1/request_response.proto\x1a\x1cgoogle/api/annotations.proto\x1a+temporal/api/protometa/v1/annotations.proto2\xa9\x9c\x02\n\x0fWorkflowService\x12\xc3\x01\n\x11RegisterNamespace\x12\x39.temporal.api.workflowservice.v1.RegisterNamespaceRequest\x1a:.temporal.api.workflowservice.v1.RegisterNamespaceResponse\"7\x82\xd3\xe4\x93\x02\x31\"\x13/cluster/namespaces:\x01*Z\x17\"\x12/api/v1/namespaces:\x01*\x12\xd5\x01\n\x11\x44\x65scribeNamespace\x12\x39.temporal.api.workflowservice.v1.DescribeNamespaceRequest\x1a:.temporal.api.workflowservice.v1.DescribeNamespaceResponse\"I\x82\xd3\xe4\x93\x02\x43\x12\x1f/cluster/namespaces/{namespace}Z \x12\x1e/api/v1/namespaces/{namespace}\x12\xb4\x01\n\x0eListNamespaces\x12\x36.temporal.api.workflowservice.v1.ListNamespacesRequest\x1a\x37.temporal.api.workflowservice.v1.ListNamespacesResponse\"1\x82\xd3\xe4\x93\x02+\x12\x13/cluster/namespacesZ\x14\x12\x12/api/v1/namespaces\x12\xe3\x01\n\x0fUpdateNamespace\x12\x37.temporal.api.workflowservice.v1.UpdateNamespaceRequest\x1a\x38.temporal.api.workflowservice.v1.UpdateNamespaceResponse\"]\x82\xd3\xe4\x93\x02W\"&/cluster/namespaces/{namespace}/update:\x01*Z*\"%/api/v1/namespaces/{namespace}/update:\x01*\x12\x8f\x01\n\x12\x44\x65precateNamespace\x12:.temporal.api.workflowservice.v1.DeprecateNamespaceRequest\x1a;.temporal.api.workflowservice.v1.DeprecateNamespaceResponse\"\x00\x12\xc6\x02\n\x16StartWorkflowExecution\x12>.temporal.api.workflowservice.v1.StartWorkflowExecutionRequest\x1a?.temporal.api.workflowservice.v1.StartWorkflowExecutionResponse\"\xaa\x01\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16workflow:{workflow_id}\x82\xd3\xe4\x93\x02q\"//namespaces/{namespace}/workflows/{workflow_id}:\x01*Z;\"6/api/v1/namespaces/{namespace}/workflows/{workflow_id}:\x01*\x12\xc2\x01\n\x15\x45xecuteMultiOperation\x12=.temporal.api.workflowservice.v1.ExecuteMultiOperationRequest\x1a>.temporal.api.workflowservice.v1.ExecuteMultiOperationResponse\"*\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x12\xfe\x02\n\x1bGetWorkflowExecutionHistory\x12\x43.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest\x1a\x44.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse\"\xd3\x01\x8a\x9d\xcc\x1b\x38\n\x14temporal-resource-id\x12 workflow:{execution.workflow_id}\x82\xd3\xe4\x93\x02\x8f\x01\x12\x41/namespaces/{namespace}/workflows/{execution.workflow_id}/historyZJ\x12H/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/history\x12\xa3\x03\n\"GetWorkflowExecutionHistoryReverse\x12J.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseRequest\x1aK.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseResponse\"\xe3\x01\x8a\x9d\xcc\x1b\x38\n\x14temporal-resource-id\x12 workflow:{execution.workflow_id}\x82\xd3\xe4\x93\x02\x9f\x01\x12I/namespaces/{namespace}/workflows/{execution.workflow_id}/history-reverseZR\x12P/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/history-reverse\x12\xcd\x01\n\x15PollWorkflowTaskQueue\x12=.temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest\x1a>.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse\"5\x8a\x9d\xcc\x1b\x30\n\x14temporal-resource-id\x12\x18poller:{poller_group_id}\x12\xd7\x01\n\x1cRespondWorkflowTaskCompleted\x12\x44.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest\x1a\x45.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedResponse\"*\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x12\xce\x01\n\x19RespondWorkflowTaskFailed\x12\x41.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedResponse\"*\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x12\xcd\x01\n\x15PollActivityTaskQueue\x12=.temporal.api.workflowservice.v1.PollActivityTaskQueueRequest\x1a>.temporal.api.workflowservice.v1.PollActivityTaskQueueResponse\"5\x8a\x9d\xcc\x1b\x30\n\x14temporal-resource-id\x12\x18poller:{poller_group_id}\x12\xc2\x02\n\x1bRecordActivityTaskHeartbeat\x12\x43.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatRequest\x1a\x44.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatResponse\"\x97\x01\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02g\"*/namespaces/{namespace}/activity-heartbeat:\x01*Z6\"1/api/v1/namespaces/{namespace}/activity-heartbeat:\x01*\x12\xa8\x04\n\x1fRecordActivityTaskHeartbeatById\x12G.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdRequest\x1aH.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdResponse\"\xf1\x02\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02\xc0\x02\":/namespaces/{namespace}/activities/{activity_id}/heartbeat:\x01*ZF\"A/api/v1/namespaces/{namespace}/activities/{activity_id}/heartbeat:\x01*ZW\"R/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/heartbeat:\x01*Z^\"Y/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/heartbeat:\x01*\x12\xc3\x02\n\x1cRespondActivityTaskCompleted\x12\x44.temporal.api.workflowservice.v1.RespondActivityTaskCompletedRequest\x1a\x45.temporal.api.workflowservice.v1.RespondActivityTaskCompletedResponse\"\x95\x01\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02\x65\")/namespaces/{namespace}/activity-complete:\x01*Z5\"0/api/v1/namespaces/{namespace}/activity-complete:\x01*\x12\xa7\x04\n RespondActivityTaskCompletedById\x12H.temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdRequest\x1aI.temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdResponse\"\xed\x02\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02\xbc\x02\"9/namespaces/{namespace}/activities/{activity_id}/complete:\x01*ZE\"@/api/v1/namespaces/{namespace}/activities/{activity_id}/complete:\x01*ZV\"Q/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/complete:\x01*Z]\"X/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/complete:\x01*\x12\xb2\x02\n\x19RespondActivityTaskFailed\x12\x41.temporal.api.workflowservice.v1.RespondActivityTaskFailedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondActivityTaskFailedResponse\"\x8d\x01\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02]\"%/namespaces/{namespace}/activity-fail:\x01*Z1\",/api/v1/namespaces/{namespace}/activity-fail:\x01*\x12\x8e\x04\n\x1dRespondActivityTaskFailedById\x12\x45.temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdRequest\x1a\x46.temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdResponse\"\xdd\x02\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02\xac\x02\"5/namespaces/{namespace}/activities/{activity_id}/fail:\x01*ZA\".temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest\x1a?.temporal.api.workflowservice.v1.ResetWorkflowExecutionResponse\"\xf0\x01\x8a\x9d\xcc\x1b\x41\n\x14temporal-resource-id\x12)workflow:{workflow_execution.workflow_id}\x82\xd3\xe4\x93\x02\xa3\x01\"H/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/reset:\x01*ZT\"O/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/reset:\x01*\x12\xa0\x03\n\x1aTerminateWorkflowExecution\x12\x42.temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest\x1a\x43.temporal.api.workflowservice.v1.TerminateWorkflowExecutionResponse\"\xf8\x01\x8a\x9d\xcc\x1b\x41\n\x14temporal-resource-id\x12)workflow:{workflow_execution.workflow_id}\x82\xd3\xe4\x93\x02\xab\x01\"L/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/terminate:\x01*ZX\"S/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/terminate:\x01*\x12\xe4\x01\n\x17\x44\x65leteWorkflowExecution\x12?.temporal.api.workflowservice.v1.DeleteWorkflowExecutionRequest\x1a@.temporal.api.workflowservice.v1.DeleteWorkflowExecutionResponse\"F\x8a\x9d\xcc\x1b\x41\n\x14temporal-resource-id\x12)workflow:{workflow_execution.workflow_id}\x12\xa7\x01\n\x1aListOpenWorkflowExecutions\x12\x42.temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsRequest\x1a\x43.temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsResponse\"\x00\x12\xad\x01\n\x1cListClosedWorkflowExecutions\x12\x44.temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsRequest\x1a\x45.temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsResponse\"\x00\x12\xf0\x01\n\x16ListWorkflowExecutions\x12>.temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest\x1a?.temporal.api.workflowservice.v1.ListWorkflowExecutionsResponse\"U\x82\xd3\xe4\x93\x02O\x12!/namespaces/{namespace}/workflowsZ*\x12(/api/v1/namespaces/{namespace}/workflows\x12\x9a\x02\n\x1eListArchivedWorkflowExecutions\x12\x46.temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsRequest\x1aG.temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsResponse\"g\x82\xd3\xe4\x93\x02\x61\x12*/namespaces/{namespace}/archived-workflowsZ3\x12\x31/api/v1/namespaces/{namespace}/archived-workflows\x12\x9b\x01\n\x16ScanWorkflowExecutions\x12>.temporal.api.workflowservice.v1.ScanWorkflowExecutionsRequest\x1a?.temporal.api.workflowservice.v1.ScanWorkflowExecutionsResponse\"\x00\x12\xfd\x01\n\x17\x43ountWorkflowExecutions\x12?.temporal.api.workflowservice.v1.CountWorkflowExecutionsRequest\x1a@.temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse\"_\x82\xd3\xe4\x93\x02Y\x12&/namespaces/{namespace}/workflow-countZ/\x12-/api/v1/namespaces/{namespace}/workflow-count\x12\x92\x01\n\x13GetSearchAttributes\x12;.temporal.api.workflowservice.v1.GetSearchAttributesRequest\x1a<.temporal.api.workflowservice.v1.GetSearchAttributesResponse\"\x00\x12\xd9\x01\n\x19RespondQueryTaskCompleted\x12\x41.temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondQueryTaskCompletedResponse\"5\x8a\x9d\xcc\x1b\x30\n\x14temporal-resource-id\x12\x18poller:{poller_group_id}\x12\xd2\x01\n\x14ResetStickyTaskQueue\x12<.temporal.api.workflowservice.v1.ResetStickyTaskQueueRequest\x1a=.temporal.api.workflowservice.v1.ResetStickyTaskQueueResponse\"=\x8a\x9d\xcc\x1b\x38\n\x14temporal-resource-id\x12 workflow:{execution.workflow_id}\x12\x83\x01\n\x0eShutdownWorker\x12\x36.temporal.api.workflowservice.v1.ShutdownWorkerRequest\x1a\x37.temporal.api.workflowservice.v1.ShutdownWorkerResponse\"\x00\x12\xfc\x02\n\rQueryWorkflow\x12\x35.temporal.api.workflowservice.v1.QueryWorkflowRequest\x1a\x36.temporal.api.workflowservice.v1.QueryWorkflowResponse\"\xfb\x01\x8a\x9d\xcc\x1b\x38\n\x14temporal-resource-id\x12 workflow:{execution.workflow_id}\x82\xd3\xe4\x93\x02\xb7\x01\"R/namespaces/{namespace}/workflows/{execution.workflow_id}/query/{query.query_type}:\x01*Z^\"Y/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/query/{query.query_type}:\x01*\x12\xe7\x02\n\x19\x44\x65scribeWorkflowExecution\x12\x41.temporal.api.workflowservice.v1.DescribeWorkflowExecutionRequest\x1a\x42.temporal.api.workflowservice.v1.DescribeWorkflowExecutionResponse\"\xc2\x01\x8a\x9d\xcc\x1b\x38\n\x14temporal-resource-id\x12 workflow:{execution.workflow_id}\x82\xd3\xe4\x93\x02\x7f\x12\x39/namespaces/{namespace}/workflows/{execution.workflow_id}ZB\x12@/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}\x12\xc2\x02\n\x11\x44\x65scribeTaskQueue\x12\x39.temporal.api.workflowservice.v1.DescribeTaskQueueRequest\x1a:.temporal.api.workflowservice.v1.DescribeTaskQueueResponse\"\xb5\x01\x8a\x9d\xcc\x1b\x33\n\x14temporal-resource-id\x12\x1btaskqueue:{task_queue.name}\x82\xd3\xe4\x93\x02w\x12\x35/namespaces/{namespace}/task-queues/{task_queue.name}Z>\x12/namespaces/{namespace}/schedules/{schedule_id}/matching-timesZG\x12\x45/api/v1/namespaces/{namespace}/schedules/{schedule_id}/matching-times\x12\xa8\x02\n\x0e\x44\x65leteSchedule\x12\x36.temporal.api.workflowservice.v1.DeleteScheduleRequest\x1a\x37.temporal.api.workflowservice.v1.DeleteScheduleResponse\"\xa4\x01\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16schedule:{schedule_id}\x82\xd3\xe4\x93\x02k*//namespaces/{namespace}/schedules/{schedule_id}Z8*6/api/v1/namespaces/{namespace}/schedules/{schedule_id}\x12\xd5\x01\n\rListSchedules\x12\x35.temporal.api.workflowservice.v1.ListSchedulesRequest\x1a\x36.temporal.api.workflowservice.v1.ListSchedulesResponse\"U\x82\xd3\xe4\x93\x02O\x12!/namespaces/{namespace}/schedulesZ*\x12(/api/v1/namespaces/{namespace}/schedules\x12\xe2\x01\n\x0e\x43ountSchedules\x12\x36.temporal.api.workflowservice.v1.CountSchedulesRequest\x1a\x37.temporal.api.workflowservice.v1.CountSchedulesResponse\"_\x82\xd3\xe4\x93\x02Y\x12&/namespaces/{namespace}/schedule-countZ/\x12-/api/v1/namespaces/{namespace}/schedule-count\x12\xb9\x01\n UpdateWorkerBuildIdCompatibility\x12H.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest\x1aI.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityResponse\"\x00\x12\xe1\x02\n\x1dGetWorkerBuildIdCompatibility\x12\x45.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityRequest\x1a\x46.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityResponse\"\xb0\x01\x82\xd3\xe4\x93\x02\xa9\x01\x12N/namespaces/{namespace}/task-queues/{task_queue}/worker-build-id-compatibilityZW\x12U/api/v1/namespaces/{namespace}/task-queues/{task_queue}/worker-build-id-compatibility\x12\xaa\x01\n\x1bUpdateWorkerVersioningRules\x12\x43.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest\x1a\x44.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesResponse\"\x00\x12\xc6\x02\n\x18GetWorkerVersioningRules\x12@.temporal.api.workflowservice.v1.GetWorkerVersioningRulesRequest\x1a\x41.temporal.api.workflowservice.v1.GetWorkerVersioningRulesResponse\"\xa4\x01\x82\xd3\xe4\x93\x02\x9d\x01\x12H/namespaces/{namespace}/task-queues/{task_queue}/worker-versioning-rulesZQ\x12O/api/v1/namespaces/{namespace}/task-queues/{task_queue}/worker-versioning-rules\x12\x97\x02\n\x19GetWorkerTaskReachability\x12\x41.temporal.api.workflowservice.v1.GetWorkerTaskReachabilityRequest\x1a\x42.temporal.api.workflowservice.v1.GetWorkerTaskReachabilityResponse\"s\x82\xd3\xe4\x93\x02m\x12\x30/namespaces/{namespace}/worker-task-reachabilityZ9\x12\x37/api/v1/namespaces/{namespace}/worker-task-reachability\x12\xc8\x02\n\x12\x44\x65scribeDeployment\x12:.temporal.api.workflowservice.v1.DescribeDeploymentRequest\x1a;.temporal.api.workflowservice.v1.DescribeDeploymentResponse\"\xb8\x01\x82\xd3\xe4\x93\x02\xb1\x01\x12R/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}Z[\x12Y/api/v1/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}\x12\x81\x04\n\x1f\x44\x65scribeWorkerDeploymentVersion\x12G.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionRequest\x1aH.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse\"\xca\x02\x8a\x9d\xcc\x1bG\n\x14temporal-resource-id\x12/deployment:{deployment_version.deployment_name}\x82\xd3\xe4\x93\x02\xf7\x01\x12u/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}Z~\x12|/api/v1/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}\x12\xdf\x01\n\x0fListDeployments\x12\x37.temporal.api.workflowservice.v1.ListDeploymentsRequest\x1a\x38.temporal.api.workflowservice.v1.ListDeploymentsResponse\"Y\x82\xd3\xe4\x93\x02S\x12#/namespaces/{namespace}/deploymentsZ,\x12*/api/v1/namespaces/{namespace}/deployments\x12\xf7\x02\n\x19GetDeploymentReachability\x12\x41.temporal.api.workflowservice.v1.GetDeploymentReachabilityRequest\x1a\x42.temporal.api.workflowservice.v1.GetDeploymentReachabilityResponse\"\xd2\x01\x82\xd3\xe4\x93\x02\xcb\x01\x12_/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}/reachabilityZh\x12\x66/api/v1/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}/reachability\x12\x99\x02\n\x14GetCurrentDeployment\x12<.temporal.api.workflowservice.v1.GetCurrentDeploymentRequest\x1a=.temporal.api.workflowservice.v1.GetCurrentDeploymentResponse\"\x83\x01\x82\xd3\xe4\x93\x02}\x12\x38/namespaces/{namespace}/current-deployment/{series_name}ZA\x12?/api/v1/namespaces/{namespace}/current-deployment/{series_name}\x12\xb6\x02\n\x14SetCurrentDeployment\x12<.temporal.api.workflowservice.v1.SetCurrentDeploymentRequest\x1a=.temporal.api.workflowservice.v1.SetCurrentDeploymentResponse\"\xa0\x01\x82\xd3\xe4\x93\x02\x99\x01\"C/namespaces/{namespace}/current-deployment/{deployment.series_name}:\x01*ZO\"J/api/v1/namespaces/{namespace}/current-deployment/{deployment.series_name}:\x01*\x12\xb0\x03\n!SetWorkerDeploymentCurrentVersion\x12I.temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionRequest\x1aJ.temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionResponse\"\xf3\x01\x8a\x9d\xcc\x1b\x34\n\x14temporal-resource-id\x12\x1c\x64\x65ployment:{deployment_name}\x82\xd3\xe4\x93\x02\xb3\x01\"P/namespaces/{namespace}/worker-deployments/{deployment_name}/set-current-version:\x01*Z\\\"W/api/v1/namespaces/{namespace}/worker-deployments/{deployment_name}/set-current-version:\x01*\x12\xe7\x02\n\x18\x44\x65scribeWorkerDeployment\x12@.temporal.api.workflowservice.v1.DescribeWorkerDeploymentRequest\x1a\x41.temporal.api.workflowservice.v1.DescribeWorkerDeploymentResponse\"\xc5\x01\x8a\x9d\xcc\x1b\x34\n\x14temporal-resource-id\x12\x1c\x64\x65ployment:{deployment_name}\x82\xd3\xe4\x93\x02\x85\x01\x12.temporal.api.workflowservice.v1.DeleteWorkerDeploymentRequest\x1a?.temporal.api.workflowservice.v1.DeleteWorkerDeploymentResponse\"\xc5\x01\x8a\x9d\xcc\x1b\x34\n\x14temporal-resource-id\x12\x1c\x64\x65ployment:{deployment_name}\x82\xd3\xe4\x93\x02\x85\x01*.temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse\"g\x82\xd3\xe4\x93\x02\x61\x12*/namespaces/{namespace}/worker-deploymentsZ3\x12\x31/api/v1/namespaces/{namespace}/worker-deployments\x12\xae\x02\n\x16\x43reateWorkerDeployment\x12>.temporal.api.workflowservice.v1.CreateWorkerDeploymentRequest\x1a?.temporal.api.workflowservice.v1.CreateWorkerDeploymentResponse\"\x92\x01\x82\xd3\xe4\x93\x02\x8b\x01\".temporal.api.workflowservice.v1.DescribeBatchOperationRequest\x1a?.temporal.api.workflowservice.v1.DescribeBatchOperationResponse\"\xa0\x01\x8a\x9d\xcc\x1b&\n\x14temporal-resource-id\x12\x0e\x62\x61tch:{job_id}\x82\xd3\xe4\x93\x02o\x12\x31/namespaces/{namespace}/batch-operations/{job_id}Z:\x12\x38/api/v1/namespaces/{namespace}/batch-operations/{job_id}\x12\xf5\x01\n\x13ListBatchOperations\x12;.temporal.api.workflowservice.v1.ListBatchOperationsRequest\x1a<.temporal.api.workflowservice.v1.ListBatchOperationsResponse\"c\x82\xd3\xe4\x93\x02]\x12(/namespaces/{namespace}/batch-operationsZ1\x12//api/v1/namespaces/{namespace}/batch-operations\x12\xc4\x01\n\x12PollNexusTaskQueue\x12:.temporal.api.workflowservice.v1.PollNexusTaskQueueRequest\x1a;.temporal.api.workflowservice.v1.PollNexusTaskQueueResponse\"5\x8a\x9d\xcc\x1b\x30\n\x14temporal-resource-id\x12\x18poller:{poller_group_id}\x12\xd9\x01\n\x19RespondNexusTaskCompleted\x12\x41.temporal.api.workflowservice.v1.RespondNexusTaskCompletedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondNexusTaskCompletedResponse\"5\x8a\x9d\xcc\x1b\x30\n\x14temporal-resource-id\x12\x18poller:{poller_group_id}\x12\xd0\x01\n\x16RespondNexusTaskFailed\x12>.temporal.api.workflowservice.v1.RespondNexusTaskFailedRequest\x1a?.temporal.api.workflowservice.v1.RespondNexusTaskFailedResponse\"5\x8a\x9d\xcc\x1b\x30\n\x14temporal-resource-id\x12\x18poller:{poller_group_id}\x12\xe8\x02\n\x15UpdateActivityOptions\x12=.temporal.api.workflowservice.v1.UpdateActivityOptionsRequest\x1a>.temporal.api.workflowservice.v1.UpdateActivityOptionsResponse\"\xcf\x01\x8a\x9d\xcc\x1b\x38\n\x14temporal-resource-id\x12 workflow:{execution.workflow_id}\x82\xd3\xe4\x93\x02\x8b\x01\".temporal.api.workflowservice.v1.RecordWorkerHeartbeatResponse\"\x95\x01\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02\x65\")/namespaces/{namespace}/workers/heartbeat:\x01*Z5\"0/api/v1/namespaces/{namespace}/workers/heartbeat:\x01*\x12\xcb\x01\n\x0bListWorkers\x12\x33.temporal.api.workflowservice.v1.ListWorkersRequest\x1a\x34.temporal.api.workflowservice.v1.ListWorkersResponse\"Q\x82\xd3\xe4\x93\x02K\x12\x1f/namespaces/{namespace}/workersZ(\x12&/api/v1/namespaces/{namespace}/workers\x12\xe2\x02\n\x15UpdateTaskQueueConfig\x12=.temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest\x1a>.temporal.api.workflowservice.v1.UpdateTaskQueueConfigResponse\"\xc9\x01\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16taskqueue:{task_queue}\x82\xd3\xe4\x93\x02\x8f\x01\">/namespaces/{namespace}/task-queues/{task_queue}/update-config:\x01*ZJ\"E/api/v1/namespaces/{namespace}/task-queues/{task_queue}/update-config:\x01*\x12\xa8\x02\n\x11\x46\x65tchWorkerConfig\x12\x39.temporal.api.workflowservice.v1.FetchWorkerConfigRequest\x1a:.temporal.api.workflowservice.v1.FetchWorkerConfigResponse\"\x9b\x01\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02k\",/namespaces/{namespace}/workers/fetch-config:\x01*Z8\"3/api/v1/namespaces/{namespace}/workers/fetch-config:\x01*\x12\xad\x02\n\x12UpdateWorkerConfig\x12:.temporal.api.workflowservice.v1.UpdateWorkerConfigRequest\x1a;.temporal.api.workflowservice.v1.UpdateWorkerConfigResponse\"\x9d\x01\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02m\"-/namespaces/{namespace}/workers/update-config:\x01*Z9\"4/api/v1/namespaces/{namespace}/workers/update-config:\x01*\x12\xcd\x02\n\x0e\x44\x65scribeWorker\x12\x36.temporal.api.workflowservice.v1.DescribeWorkerRequest\x1a\x37.temporal.api.workflowservice.v1.DescribeWorkerResponse\"\xc9\x01\x8a\x9d\xcc\x1b\x34\n\x14temporal-resource-id\x12\x1cworker:{worker_instance_key}\x82\xd3\xe4\x93\x02\x89\x01\x12>/namespaces/{namespace}/workers/describe/{worker_instance_key}ZG\x12\x45/api/v1/namespaces/{namespace}/workers/describe/{worker_instance_key}\x12\xd2\x02\n\x16PauseWorkflowExecution\x12>.temporal.api.workflowservice.v1.PauseWorkflowExecutionRequest\x1a?.temporal.api.workflowservice.v1.PauseWorkflowExecutionResponse\"\xb6\x01\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16workflow:{workflow_id}\x82\xd3\xe4\x93\x02}\"5/namespaces/{namespace}/workflows/{workflow_id}/pause:\x01*ZA\"/api/v1/namespaces/{namespace}/workflows/{workflow_id}/unpause:\x01*\x12\xc8\x02\n\x16StartActivityExecution\x12>.temporal.api.workflowservice.v1.StartActivityExecutionRequest\x1a?.temporal.api.workflowservice.v1.StartActivityExecutionResponse\"\xac\x01\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16\x61\x63tivity:{activity_id}\x82\xd3\xe4\x93\x02s\"0/namespaces/{namespace}/activities/{activity_id}:\x01*Z<\"7/api/v1/namespaces/{namespace}/activities/{activity_id}:\x01*\x12\xb6\x02\n\x1cStartNexusOperationExecution\x12\x44.temporal.api.workflowservice.v1.StartNexusOperationExecutionRequest\x1a\x45.temporal.api.workflowservice.v1.StartNexusOperationExecutionResponse\"\x88\x01\x82\xd3\xe4\x93\x02\x81\x01\"7/namespaces/{namespace}/nexus-operations/{operation_id}:\x01*ZC\">/api/v1/namespaces/{namespace}/nexus-operations/{operation_id}:\x01*\x12\xcb\x02\n\x19\x44\x65scribeActivityExecution\x12\x41.temporal.api.workflowservice.v1.DescribeActivityExecutionRequest\x1a\x42.temporal.api.workflowservice.v1.DescribeActivityExecutionResponse\"\xa6\x01\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16\x61\x63tivity:{activity_id}\x82\xd3\xe4\x93\x02m\x12\x30/namespaces/{namespace}/activities/{activity_id}Z9\x12\x37/api/v1/namespaces/{namespace}/activities/{activity_id}\x12\xb8\x02\n\x1f\x44\x65scribeNexusOperationExecution\x12G.temporal.api.workflowservice.v1.DescribeNexusOperationExecutionRequest\x1aH.temporal.api.workflowservice.v1.DescribeNexusOperationExecutionResponse\"\x81\x01\x82\xd3\xe4\x93\x02{\x12\x37/namespaces/{namespace}/nexus-operations/{operation_id}Z@\x12>/api/v1/namespaces/{namespace}/nexus-operations/{operation_id}\x12\xcf\x02\n\x15PollActivityExecution\x12=.temporal.api.workflowservice.v1.PollActivityExecutionRequest\x1a>.temporal.api.workflowservice.v1.PollActivityExecutionResponse\"\xb6\x01\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16\x61\x63tivity:{activity_id}\x82\xd3\xe4\x93\x02}\x12\x38/namespaces/{namespace}/activities/{activity_id}/outcomeZA\x12?/api/v1/namespaces/{namespace}/activities/{activity_id}/outcome\x12\xb7\x02\n\x1bPollNexusOperationExecution\x12\x43.temporal.api.workflowservice.v1.PollNexusOperationExecutionRequest\x1a\x44.temporal.api.workflowservice.v1.PollNexusOperationExecutionResponse\"\x8c\x01\x82\xd3\xe4\x93\x02\x85\x01\x12.temporal.api.workflowservice.v1.ListActivityExecutionsRequest\x1a?.temporal.api.workflowservice.v1.ListActivityExecutionsResponse\"W\x82\xd3\xe4\x93\x02Q\x12\"/namespaces/{namespace}/activitiesZ+\x12)/api/v1/namespaces/{namespace}/activities\x12\x90\x02\n\x1cListNexusOperationExecutions\x12\x44.temporal.api.workflowservice.v1.ListNexusOperationExecutionsRequest\x1a\x45.temporal.api.workflowservice.v1.ListNexusOperationExecutionsResponse\"c\x82\xd3\xe4\x93\x02]\x12(/namespaces/{namespace}/nexus-operationsZ1\x12//api/v1/namespaces/{namespace}/nexus-operations\x12\xfd\x01\n\x17\x43ountActivityExecutions\x12?.temporal.api.workflowservice.v1.CountActivityExecutionsRequest\x1a@.temporal.api.workflowservice.v1.CountActivityExecutionsResponse\"_\x82\xd3\xe4\x93\x02Y\x12&/namespaces/{namespace}/activity-countZ/\x12-/api/v1/namespaces/{namespace}/activity-count\x12\x9d\x02\n\x1d\x43ountNexusOperationExecutions\x12\x45.temporal.api.workflowservice.v1.CountNexusOperationExecutionsRequest\x1a\x46.temporal.api.workflowservice.v1.CountNexusOperationExecutionsResponse\"m\x82\xd3\xe4\x93\x02g\x12-/namespaces/{namespace}/nexus-operation-countZ6\x12\x34/api/v1/namespaces/{namespace}/nexus-operation-count\x12\xef\x02\n\x1eRequestCancelActivityExecution\x12\x46.temporal.api.workflowservice.v1.RequestCancelActivityExecutionRequest\x1aG.temporal.api.workflowservice.v1.RequestCancelActivityExecutionResponse\"\xbb\x01\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16\x61\x63tivity:{activity_id}\x82\xd3\xe4\x93\x02\x81\x01\"7/namespaces/{namespace}/activities/{activity_id}/cancel:\x01*ZC\">/api/v1/namespaces/{namespace}/activities/{activity_id}/cancel:\x01*\x12\xdc\x02\n$RequestCancelNexusOperationExecution\x12L.temporal.api.workflowservice.v1.RequestCancelNexusOperationExecutionRequest\x1aM.temporal.api.workflowservice.v1.RequestCancelNexusOperationExecutionResponse\"\x96\x01\x82\xd3\xe4\x93\x02\x8f\x01\">/namespaces/{namespace}/nexus-operations/{operation_id}/cancel:\x01*ZJ\"E/api/v1/namespaces/{namespace}/nexus-operations/{operation_id}/cancel:\x01*\x12\xe9\x02\n\x1aTerminateActivityExecution\x12\x42.temporal.api.workflowservice.v1.TerminateActivityExecutionRequest\x1a\x43.temporal.api.workflowservice.v1.TerminateActivityExecutionResponse\"\xc1\x01\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16\x61\x63tivity:{activity_id}\x82\xd3\xe4\x93\x02\x87\x01\":/namespaces/{namespace}/activities/{activity_id}/terminate:\x01*ZF\"A/api/v1/namespaces/{namespace}/activities/{activity_id}/terminate:\x01*\x12\x9e\x01\n\x17\x44\x65leteActivityExecution\x12?.temporal.api.workflowservice.v1.DeleteActivityExecutionRequest\x1a@.temporal.api.workflowservice.v1.DeleteActivityExecutionResponse\"\x00\x12\xd6\x02\n TerminateNexusOperationExecution\x12H.temporal.api.workflowservice.v1.TerminateNexusOperationExecutionRequest\x1aI.temporal.api.workflowservice.v1.TerminateNexusOperationExecutionResponse\"\x9c\x01\x82\xd3\xe4\x93\x02\x95\x01\"A/namespaces/{namespace}/nexus-operations/{operation_id}/terminate:\x01*ZM\"H/api/v1/namespaces/{namespace}/nexus-operations/{operation_id}/terminate:\x01*\x12\xb0\x01\n\x1d\x44\x65leteNexusOperationExecution\x12\x45.temporal.api.workflowservice.v1.DeleteNexusOperationExecutionRequest\x1a\x46.temporal.api.workflowservice.v1.DeleteNexusOperationExecutionResponse\"\x00\x42\xb6\x01\n\"io.temporal.api.workflowservice.v1B\x0cServiceProtoP\x01Z5go.temporal.io/api/workflowservice/v1;workflowservice\xaa\x02!Temporalio.Api.WorkflowService.V1\xea\x02$Temporalio::Api::WorkflowService::V1b\x06proto3" pool = ::Google::Protobuf::DescriptorPool.generated_pool pool.add_serialized_file(descriptor_data) diff --git a/temporalio/lib/temporalio/client/connection/cloud_service.rb b/temporalio/lib/temporalio/client/connection/cloud_service.rb index d275221f..572a10ed 100644 --- a/temporalio/lib/temporalio/client/connection/cloud_service.rb +++ b/temporalio/lib/temporalio/client/connection/cloud_service.rb @@ -16,6 +16,21 @@ def initialize(connection) super(connection, Internal::Bridge::Client::SERVICE_CLOUD) end + # Calls CloudService.GetCurrentIdentity API call. + # + # @param request [Temporalio::Api::Cloud::CloudService::V1::GetCurrentIdentityRequest] API request. + # @param rpc_options [RPCOptions, nil] Advanced RPC options. + # @return [Temporalio::Api::Cloud::CloudService::V1::GetCurrentIdentityResponse] API response. + def get_current_identity(request, rpc_options: nil) + invoke_rpc( + rpc: 'get_current_identity', + request_class: Temporalio::Api::Cloud::CloudService::V1::GetCurrentIdentityRequest, + response_class: Temporalio::Api::Cloud::CloudService::V1::GetCurrentIdentityResponse, + request:, + rpc_options: + ) + end + # Calls CloudService.GetUsers API call. # # @param request [Temporalio::Api::Cloud::CloudService::V1::GetUsersRequest] API request. @@ -871,6 +886,21 @@ def delete_connectivity_rule(request, rpc_options: nil) ) end + # Calls CloudService.GetAuditLogs API call. + # + # @param request [Temporalio::Api::Cloud::CloudService::V1::GetAuditLogsRequest] API request. + # @param rpc_options [RPCOptions, nil] Advanced RPC options. + # @return [Temporalio::Api::Cloud::CloudService::V1::GetAuditLogsResponse] API response. + def get_audit_logs(request, rpc_options: nil) + invoke_rpc( + rpc: 'get_audit_logs', + request_class: Temporalio::Api::Cloud::CloudService::V1::GetAuditLogsRequest, + response_class: Temporalio::Api::Cloud::CloudService::V1::GetAuditLogsResponse, + request:, + rpc_options: + ) + end + # Calls CloudService.ValidateAccountAuditLogSink API call. # # @param request [Temporalio::Api::Cloud::CloudService::V1::ValidateAccountAuditLogSinkRequest] API request. @@ -885,6 +915,126 @@ def validate_account_audit_log_sink(request, rpc_options: nil) rpc_options: ) end + + # Calls CloudService.CreateAccountAuditLogSink API call. + # + # @param request [Temporalio::Api::Cloud::CloudService::V1::CreateAccountAuditLogSinkRequest] API request. + # @param rpc_options [RPCOptions, nil] Advanced RPC options. + # @return [Temporalio::Api::Cloud::CloudService::V1::CreateAccountAuditLogSinkResponse] API response. + def create_account_audit_log_sink(request, rpc_options: nil) + invoke_rpc( + rpc: 'create_account_audit_log_sink', + request_class: Temporalio::Api::Cloud::CloudService::V1::CreateAccountAuditLogSinkRequest, + response_class: Temporalio::Api::Cloud::CloudService::V1::CreateAccountAuditLogSinkResponse, + request:, + rpc_options: + ) + end + + # Calls CloudService.GetAccountAuditLogSink API call. + # + # @param request [Temporalio::Api::Cloud::CloudService::V1::GetAccountAuditLogSinkRequest] API request. + # @param rpc_options [RPCOptions, nil] Advanced RPC options. + # @return [Temporalio::Api::Cloud::CloudService::V1::GetAccountAuditLogSinkResponse] API response. + def get_account_audit_log_sink(request, rpc_options: nil) + invoke_rpc( + rpc: 'get_account_audit_log_sink', + request_class: Temporalio::Api::Cloud::CloudService::V1::GetAccountAuditLogSinkRequest, + response_class: Temporalio::Api::Cloud::CloudService::V1::GetAccountAuditLogSinkResponse, + request:, + rpc_options: + ) + end + + # Calls CloudService.GetAccountAuditLogSinks API call. + # + # @param request [Temporalio::Api::Cloud::CloudService::V1::GetAccountAuditLogSinksRequest] API request. + # @param rpc_options [RPCOptions, nil] Advanced RPC options. + # @return [Temporalio::Api::Cloud::CloudService::V1::GetAccountAuditLogSinksResponse] API response. + def get_account_audit_log_sinks(request, rpc_options: nil) + invoke_rpc( + rpc: 'get_account_audit_log_sinks', + request_class: Temporalio::Api::Cloud::CloudService::V1::GetAccountAuditLogSinksRequest, + response_class: Temporalio::Api::Cloud::CloudService::V1::GetAccountAuditLogSinksResponse, + request:, + rpc_options: + ) + end + + # Calls CloudService.UpdateAccountAuditLogSink API call. + # + # @param request [Temporalio::Api::Cloud::CloudService::V1::UpdateAccountAuditLogSinkRequest] API request. + # @param rpc_options [RPCOptions, nil] Advanced RPC options. + # @return [Temporalio::Api::Cloud::CloudService::V1::UpdateAccountAuditLogSinkResponse] API response. + def update_account_audit_log_sink(request, rpc_options: nil) + invoke_rpc( + rpc: 'update_account_audit_log_sink', + request_class: Temporalio::Api::Cloud::CloudService::V1::UpdateAccountAuditLogSinkRequest, + response_class: Temporalio::Api::Cloud::CloudService::V1::UpdateAccountAuditLogSinkResponse, + request:, + rpc_options: + ) + end + + # Calls CloudService.DeleteAccountAuditLogSink API call. + # + # @param request [Temporalio::Api::Cloud::CloudService::V1::DeleteAccountAuditLogSinkRequest] API request. + # @param rpc_options [RPCOptions, nil] Advanced RPC options. + # @return [Temporalio::Api::Cloud::CloudService::V1::DeleteAccountAuditLogSinkResponse] API response. + def delete_account_audit_log_sink(request, rpc_options: nil) + invoke_rpc( + rpc: 'delete_account_audit_log_sink', + request_class: Temporalio::Api::Cloud::CloudService::V1::DeleteAccountAuditLogSinkRequest, + response_class: Temporalio::Api::Cloud::CloudService::V1::DeleteAccountAuditLogSinkResponse, + request:, + rpc_options: + ) + end + + # Calls CloudService.GetNamespaceCapacityInfo API call. + # + # @param request [Temporalio::Api::Cloud::CloudService::V1::GetNamespaceCapacityInfoRequest] API request. + # @param rpc_options [RPCOptions, nil] Advanced RPC options. + # @return [Temporalio::Api::Cloud::CloudService::V1::GetNamespaceCapacityInfoResponse] API response. + def get_namespace_capacity_info(request, rpc_options: nil) + invoke_rpc( + rpc: 'get_namespace_capacity_info', + request_class: Temporalio::Api::Cloud::CloudService::V1::GetNamespaceCapacityInfoRequest, + response_class: Temporalio::Api::Cloud::CloudService::V1::GetNamespaceCapacityInfoResponse, + request:, + rpc_options: + ) + end + + # Calls CloudService.CreateBillingReport API call. + # + # @param request [Temporalio::Api::Cloud::CloudService::V1::CreateBillingReportRequest] API request. + # @param rpc_options [RPCOptions, nil] Advanced RPC options. + # @return [Temporalio::Api::Cloud::CloudService::V1::CreateBillingReportResponse] API response. + def create_billing_report(request, rpc_options: nil) + invoke_rpc( + rpc: 'create_billing_report', + request_class: Temporalio::Api::Cloud::CloudService::V1::CreateBillingReportRequest, + response_class: Temporalio::Api::Cloud::CloudService::V1::CreateBillingReportResponse, + request:, + rpc_options: + ) + end + + # Calls CloudService.GetBillingReport API call. + # + # @param request [Temporalio::Api::Cloud::CloudService::V1::GetBillingReportRequest] API request. + # @param rpc_options [RPCOptions, nil] Advanced RPC options. + # @return [Temporalio::Api::Cloud::CloudService::V1::GetBillingReportResponse] API response. + def get_billing_report(request, rpc_options: nil) + invoke_rpc( + rpc: 'get_billing_report', + request_class: Temporalio::Api::Cloud::CloudService::V1::GetBillingReportRequest, + response_class: Temporalio::Api::Cloud::CloudService::V1::GetBillingReportResponse, + request:, + rpc_options: + ) + end end end end diff --git a/temporalio/lib/temporalio/client/connection/workflow_service.rb b/temporalio/lib/temporalio/client/connection/workflow_service.rb index 2cb3eb64..5f2e2a08 100644 --- a/temporalio/lib/temporalio/client/connection/workflow_service.rb +++ b/temporalio/lib/temporalio/client/connection/workflow_service.rb @@ -1036,6 +1036,66 @@ def list_worker_deployments(request, rpc_options: nil) ) end + # Calls WorkflowService.CreateWorkerDeployment API call. + # + # @param request [Temporalio::Api::WorkflowService::V1::CreateWorkerDeploymentRequest] API request. + # @param rpc_options [RPCOptions, nil] Advanced RPC options. + # @return [Temporalio::Api::WorkflowService::V1::CreateWorkerDeploymentResponse] API response. + def create_worker_deployment(request, rpc_options: nil) + invoke_rpc( + rpc: 'create_worker_deployment', + request_class: Temporalio::Api::WorkflowService::V1::CreateWorkerDeploymentRequest, + response_class: Temporalio::Api::WorkflowService::V1::CreateWorkerDeploymentResponse, + request:, + rpc_options: + ) + end + + # Calls WorkflowService.CreateWorkerDeploymentVersion API call. + # + # @param request [Temporalio::Api::WorkflowService::V1::CreateWorkerDeploymentVersionRequest] API request. + # @param rpc_options [RPCOptions, nil] Advanced RPC options. + # @return [Temporalio::Api::WorkflowService::V1::CreateWorkerDeploymentVersionResponse] API response. + def create_worker_deployment_version(request, rpc_options: nil) + invoke_rpc( + rpc: 'create_worker_deployment_version', + request_class: Temporalio::Api::WorkflowService::V1::CreateWorkerDeploymentVersionRequest, + response_class: Temporalio::Api::WorkflowService::V1::CreateWorkerDeploymentVersionResponse, + request:, + rpc_options: + ) + end + + # Calls WorkflowService.UpdateWorkerDeploymentVersionComputeConfig API call. + # + # @param request [Temporalio::Api::WorkflowService::V1::UpdateWorkerDeploymentVersionComputeConfigRequest] API request. + # @param rpc_options [RPCOptions, nil] Advanced RPC options. + # @return [Temporalio::Api::WorkflowService::V1::UpdateWorkerDeploymentVersionComputeConfigResponse] API response. + def update_worker_deployment_version_compute_config(request, rpc_options: nil) + invoke_rpc( + rpc: 'update_worker_deployment_version_compute_config', + request_class: Temporalio::Api::WorkflowService::V1::UpdateWorkerDeploymentVersionComputeConfigRequest, + response_class: Temporalio::Api::WorkflowService::V1::UpdateWorkerDeploymentVersionComputeConfigResponse, + request:, + rpc_options: + ) + end + + # Calls WorkflowService.ValidateWorkerDeploymentVersionComputeConfig API call. + # + # @param request [Temporalio::Api::WorkflowService::V1::ValidateWorkerDeploymentVersionComputeConfigRequest] API request. + # @param rpc_options [RPCOptions, nil] Advanced RPC options. + # @return [Temporalio::Api::WorkflowService::V1::ValidateWorkerDeploymentVersionComputeConfigResponse] API response. + def validate_worker_deployment_version_compute_config(request, rpc_options: nil) + invoke_rpc( + rpc: 'validate_worker_deployment_version_compute_config', + request_class: Temporalio::Api::WorkflowService::V1::ValidateWorkerDeploymentVersionComputeConfigRequest, + response_class: Temporalio::Api::WorkflowService::V1::ValidateWorkerDeploymentVersionComputeConfigResponse, + request:, + rpc_options: + ) + end + # Calls WorkflowService.UpdateWorkerDeploymentVersionMetadata API call. # # @param request [Temporalio::Api::WorkflowService::V1::UpdateWorkerDeploymentVersionMetadataRequest] API request. @@ -1486,6 +1546,21 @@ def start_activity_execution(request, rpc_options: nil) ) end + # Calls WorkflowService.StartNexusOperationExecution API call. + # + # @param request [Temporalio::Api::WorkflowService::V1::StartNexusOperationExecutionRequest] API request. + # @param rpc_options [RPCOptions, nil] Advanced RPC options. + # @return [Temporalio::Api::WorkflowService::V1::StartNexusOperationExecutionResponse] API response. + def start_nexus_operation_execution(request, rpc_options: nil) + invoke_rpc( + rpc: 'start_nexus_operation_execution', + request_class: Temporalio::Api::WorkflowService::V1::StartNexusOperationExecutionRequest, + response_class: Temporalio::Api::WorkflowService::V1::StartNexusOperationExecutionResponse, + request:, + rpc_options: + ) + end + # Calls WorkflowService.DescribeActivityExecution API call. # # @param request [Temporalio::Api::WorkflowService::V1::DescribeActivityExecutionRequest] API request. @@ -1501,6 +1576,21 @@ def describe_activity_execution(request, rpc_options: nil) ) end + # Calls WorkflowService.DescribeNexusOperationExecution API call. + # + # @param request [Temporalio::Api::WorkflowService::V1::DescribeNexusOperationExecutionRequest] API request. + # @param rpc_options [RPCOptions, nil] Advanced RPC options. + # @return [Temporalio::Api::WorkflowService::V1::DescribeNexusOperationExecutionResponse] API response. + def describe_nexus_operation_execution(request, rpc_options: nil) + invoke_rpc( + rpc: 'describe_nexus_operation_execution', + request_class: Temporalio::Api::WorkflowService::V1::DescribeNexusOperationExecutionRequest, + response_class: Temporalio::Api::WorkflowService::V1::DescribeNexusOperationExecutionResponse, + request:, + rpc_options: + ) + end + # Calls WorkflowService.PollActivityExecution API call. # # @param request [Temporalio::Api::WorkflowService::V1::PollActivityExecutionRequest] API request. @@ -1516,6 +1606,21 @@ def poll_activity_execution(request, rpc_options: nil) ) end + # Calls WorkflowService.PollNexusOperationExecution API call. + # + # @param request [Temporalio::Api::WorkflowService::V1::PollNexusOperationExecutionRequest] API request. + # @param rpc_options [RPCOptions, nil] Advanced RPC options. + # @return [Temporalio::Api::WorkflowService::V1::PollNexusOperationExecutionResponse] API response. + def poll_nexus_operation_execution(request, rpc_options: nil) + invoke_rpc( + rpc: 'poll_nexus_operation_execution', + request_class: Temporalio::Api::WorkflowService::V1::PollNexusOperationExecutionRequest, + response_class: Temporalio::Api::WorkflowService::V1::PollNexusOperationExecutionResponse, + request:, + rpc_options: + ) + end + # Calls WorkflowService.ListActivityExecutions API call. # # @param request [Temporalio::Api::WorkflowService::V1::ListActivityExecutionsRequest] API request. @@ -1531,6 +1636,21 @@ def list_activity_executions(request, rpc_options: nil) ) end + # Calls WorkflowService.ListNexusOperationExecutions API call. + # + # @param request [Temporalio::Api::WorkflowService::V1::ListNexusOperationExecutionsRequest] API request. + # @param rpc_options [RPCOptions, nil] Advanced RPC options. + # @return [Temporalio::Api::WorkflowService::V1::ListNexusOperationExecutionsResponse] API response. + def list_nexus_operation_executions(request, rpc_options: nil) + invoke_rpc( + rpc: 'list_nexus_operation_executions', + request_class: Temporalio::Api::WorkflowService::V1::ListNexusOperationExecutionsRequest, + response_class: Temporalio::Api::WorkflowService::V1::ListNexusOperationExecutionsResponse, + request:, + rpc_options: + ) + end + # Calls WorkflowService.CountActivityExecutions API call. # # @param request [Temporalio::Api::WorkflowService::V1::CountActivityExecutionsRequest] API request. @@ -1546,6 +1666,21 @@ def count_activity_executions(request, rpc_options: nil) ) end + # Calls WorkflowService.CountNexusOperationExecutions API call. + # + # @param request [Temporalio::Api::WorkflowService::V1::CountNexusOperationExecutionsRequest] API request. + # @param rpc_options [RPCOptions, nil] Advanced RPC options. + # @return [Temporalio::Api::WorkflowService::V1::CountNexusOperationExecutionsResponse] API response. + def count_nexus_operation_executions(request, rpc_options: nil) + invoke_rpc( + rpc: 'count_nexus_operation_executions', + request_class: Temporalio::Api::WorkflowService::V1::CountNexusOperationExecutionsRequest, + response_class: Temporalio::Api::WorkflowService::V1::CountNexusOperationExecutionsResponse, + request:, + rpc_options: + ) + end + # Calls WorkflowService.RequestCancelActivityExecution API call. # # @param request [Temporalio::Api::WorkflowService::V1::RequestCancelActivityExecutionRequest] API request. @@ -1561,6 +1696,21 @@ def request_cancel_activity_execution(request, rpc_options: nil) ) end + # Calls WorkflowService.RequestCancelNexusOperationExecution API call. + # + # @param request [Temporalio::Api::WorkflowService::V1::RequestCancelNexusOperationExecutionRequest] API request. + # @param rpc_options [RPCOptions, nil] Advanced RPC options. + # @return [Temporalio::Api::WorkflowService::V1::RequestCancelNexusOperationExecutionResponse] API response. + def request_cancel_nexus_operation_execution(request, rpc_options: nil) + invoke_rpc( + rpc: 'request_cancel_nexus_operation_execution', + request_class: Temporalio::Api::WorkflowService::V1::RequestCancelNexusOperationExecutionRequest, + response_class: Temporalio::Api::WorkflowService::V1::RequestCancelNexusOperationExecutionResponse, + request:, + rpc_options: + ) + end + # Calls WorkflowService.TerminateActivityExecution API call. # # @param request [Temporalio::Api::WorkflowService::V1::TerminateActivityExecutionRequest] API request. @@ -1590,6 +1740,36 @@ def delete_activity_execution(request, rpc_options: nil) rpc_options: ) end + + # Calls WorkflowService.TerminateNexusOperationExecution API call. + # + # @param request [Temporalio::Api::WorkflowService::V1::TerminateNexusOperationExecutionRequest] API request. + # @param rpc_options [RPCOptions, nil] Advanced RPC options. + # @return [Temporalio::Api::WorkflowService::V1::TerminateNexusOperationExecutionResponse] API response. + def terminate_nexus_operation_execution(request, rpc_options: nil) + invoke_rpc( + rpc: 'terminate_nexus_operation_execution', + request_class: Temporalio::Api::WorkflowService::V1::TerminateNexusOperationExecutionRequest, + response_class: Temporalio::Api::WorkflowService::V1::TerminateNexusOperationExecutionResponse, + request:, + rpc_options: + ) + end + + # Calls WorkflowService.DeleteNexusOperationExecution API call. + # + # @param request [Temporalio::Api::WorkflowService::V1::DeleteNexusOperationExecutionRequest] API request. + # @param rpc_options [RPCOptions, nil] Advanced RPC options. + # @return [Temporalio::Api::WorkflowService::V1::DeleteNexusOperationExecutionResponse] API response. + def delete_nexus_operation_execution(request, rpc_options: nil) + invoke_rpc( + rpc: 'delete_nexus_operation_execution', + request_class: Temporalio::Api::WorkflowService::V1::DeleteNexusOperationExecutionRequest, + response_class: Temporalio::Api::WorkflowService::V1::DeleteNexusOperationExecutionResponse, + request:, + rpc_options: + ) + end end end end diff --git a/temporalio/lib/temporalio/internal/bridge/api/activity_task/activity_task.rb b/temporalio/lib/temporalio/internal/bridge/api/activity_task/activity_task.rb index 2dfca3ba..1ed4b0a2 100644 --- a/temporalio/lib/temporalio/internal/bridge/api/activity_task/activity_task.rb +++ b/temporalio/lib/temporalio/internal/bridge/api/activity_task/activity_task.rb @@ -10,7 +10,7 @@ require 'temporalio/internal/bridge/api/common/common' -descriptor_data = "\n3temporal/sdk/core/activity_task/activity_task.proto\x12\x15\x63oresdk.activity_task\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/sdk/core/common/common.proto\"\x8d\x01\n\x0c\x41\x63tivityTask\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12-\n\x05start\x18\x03 \x01(\x0b\x32\x1c.coresdk.activity_task.StartH\x00\x12/\n\x06\x63\x61ncel\x18\x04 \x01(\x0b\x32\x1d.coresdk.activity_task.CancelH\x00\x42\t\n\x07variant\"\xa1\x07\n\x05Start\x12\x1a\n\x12workflow_namespace\x18\x01 \x01(\t\x12\x15\n\rworkflow_type\x18\x02 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x15\n\ractivity_type\x18\x05 \x01(\t\x12\x45\n\rheader_fields\x18\x06 \x03(\x0b\x32..coresdk.activity_task.Start.HeaderFieldsEntry\x12.\n\x05input\x18\x07 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12:\n\x11heartbeat_details\x18\x08 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x32\n\x0escheduled_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x42\n\x1e\x63urrent_attempt_scheduled_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cstarted_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x61ttempt\x18\x0c \x01(\r\x12<\n\x19schedule_to_close_timeout\x18\r \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\x0e \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\x0f \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x10 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x32\n\x08priority\x18\x12 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12\x10\n\x08is_local\x18\x11 \x01(\x08\x1aT\n\x11HeaderFieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"\x8a\x01\n\x06\x43\x61ncel\x12;\n\x06reason\x18\x01 \x01(\x0e\x32+.coresdk.activity_task.ActivityCancelReason\x12\x43\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32\x32.coresdk.activity_task.ActivityCancellationDetails\"\xa0\x01\n\x1b\x41\x63tivityCancellationDetails\x12\x14\n\x0cis_not_found\x18\x01 \x01(\x08\x12\x14\n\x0cis_cancelled\x18\x02 \x01(\x08\x12\x11\n\tis_paused\x18\x03 \x01(\x08\x12\x14\n\x0cis_timed_out\x18\x04 \x01(\x08\x12\x1a\n\x12is_worker_shutdown\x18\x05 \x01(\x08\x12\x10\n\x08is_reset\x18\x06 \x01(\x08*o\n\x14\x41\x63tivityCancelReason\x12\r\n\tNOT_FOUND\x10\x00\x12\r\n\tCANCELLED\x10\x01\x12\r\n\tTIMED_OUT\x10\x02\x12\x13\n\x0fWORKER_SHUTDOWN\x10\x03\x12\n\n\x06PAUSED\x10\x04\x12\t\n\x05RESET\x10\x05\x42\x32\xea\x02/Temporalio::Internal::Bridge::Api::ActivityTaskb\x06proto3" +descriptor_data = "\n3temporal/sdk/core/activity_task/activity_task.proto\x12\x15\x63oresdk.activity_task\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/sdk/core/common/common.proto\"\x8d\x01\n\x0c\x41\x63tivityTask\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12-\n\x05start\x18\x03 \x01(\x0b\x32\x1c.coresdk.activity_task.StartH\x00\x12/\n\x06\x63\x61ncel\x18\x04 \x01(\x0b\x32\x1d.coresdk.activity_task.CancelH\x00\x42\t\n\x07variant\"\xb1\x07\n\x05Start\x12\x1a\n\x12workflow_namespace\x18\x01 \x01(\t\x12\x15\n\rworkflow_type\x18\x02 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x15\n\ractivity_type\x18\x05 \x01(\t\x12\x45\n\rheader_fields\x18\x06 \x03(\x0b\x32..coresdk.activity_task.Start.HeaderFieldsEntry\x12.\n\x05input\x18\x07 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12:\n\x11heartbeat_details\x18\x08 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x32\n\x0escheduled_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x42\n\x1e\x63urrent_attempt_scheduled_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cstarted_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x61ttempt\x18\x0c \x01(\r\x12<\n\x19schedule_to_close_timeout\x18\r \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\x0e \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\x0f \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x10 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x32\n\x08priority\x18\x12 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12\x10\n\x08is_local\x18\x11 \x01(\x08\x12\x0e\n\x06run_id\x18\x13 \x01(\t\x1aT\n\x11HeaderFieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"\x8a\x01\n\x06\x43\x61ncel\x12;\n\x06reason\x18\x01 \x01(\x0e\x32+.coresdk.activity_task.ActivityCancelReason\x12\x43\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32\x32.coresdk.activity_task.ActivityCancellationDetails\"\xa0\x01\n\x1b\x41\x63tivityCancellationDetails\x12\x14\n\x0cis_not_found\x18\x01 \x01(\x08\x12\x14\n\x0cis_cancelled\x18\x02 \x01(\x08\x12\x11\n\tis_paused\x18\x03 \x01(\x08\x12\x14\n\x0cis_timed_out\x18\x04 \x01(\x08\x12\x1a\n\x12is_worker_shutdown\x18\x05 \x01(\x08\x12\x10\n\x08is_reset\x18\x06 \x01(\x08*o\n\x14\x41\x63tivityCancelReason\x12\r\n\tNOT_FOUND\x10\x00\x12\r\n\tCANCELLED\x10\x01\x12\r\n\tTIMED_OUT\x10\x02\x12\x13\n\x0fWORKER_SHUTDOWN\x10\x03\x12\n\n\x06PAUSED\x10\x04\x12\t\n\x05RESET\x10\x05\x42\x32\xea\x02/Temporalio::Internal::Bridge::Api::ActivityTaskb\x06proto3" pool = ::Google::Protobuf::DescriptorPool.generated_pool pool.add_serialized_file(descriptor_data) diff --git a/temporalio/lib/temporalio/internal/bridge/api/nexus/nexus.rb b/temporalio/lib/temporalio/internal/bridge/api/nexus/nexus.rb index 5504be18..cf7e728e 100644 --- a/temporalio/lib/temporalio/internal/bridge/api/nexus/nexus.rb +++ b/temporalio/lib/temporalio/internal/bridge/api/nexus/nexus.rb @@ -12,7 +12,7 @@ require 'temporalio/internal/bridge/api/common/common' -descriptor_data = "\n#temporal/sdk/core/nexus/nexus.proto\x12\rcoresdk.nexus\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a#temporal/api/nexus/v1/message.proto\x1a\x36temporal/api/workflowservice/v1/request_response.proto\x1a%temporal/sdk/core/common/common.proto\"\xf8\x01\n\x14NexusOperationResult\x12\x34\n\tcompleted\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.PayloadH\x00\x12\x32\n\x06\x66\x61iled\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x12\x35\n\tcancelled\x18\x03 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x12\x35\n\ttimed_out\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x42\x08\n\x06status\"\xee\x01\n\x13NexusTaskCompletion\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x34\n\tcompleted\x18\x02 \x01(\x0b\x32\x1f.temporal.api.nexus.v1.ResponseH\x00\x12\x38\n\x05\x65rror\x18\x03 \x01(\x0b\x32#.temporal.api.nexus.v1.HandlerErrorB\x02\x18\x01H\x00\x12\x14\n\nack_cancel\x18\x04 \x01(\x08H\x00\x12\x33\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x42\x08\n\x06status\"\xd0\x01\n\tNexusTask\x12K\n\x04task\x18\x01 \x01(\x0b\x32;.temporal.api.workflowservice.v1.PollNexusTaskQueueResponseH\x00\x12\x35\n\x0b\x63\x61ncel_task\x18\x02 \x01(\x0b\x32\x1e.coresdk.nexus.CancelNexusTaskH\x00\x12\x34\n\x10request_deadline\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\t\n\x07variant\"[\n\x0f\x43\x61ncelNexusTask\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x34\n\x06reason\x18\x02 \x01(\x0e\x32$.coresdk.nexus.NexusTaskCancelReason*;\n\x15NexusTaskCancelReason\x12\r\n\tTIMED_OUT\x10\x00\x12\x13\n\x0fWORKER_SHUTDOWN\x10\x01*\x7f\n\x1eNexusOperationCancellationType\x12\x1f\n\x1bWAIT_CANCELLATION_COMPLETED\x10\x00\x12\x0b\n\x07\x41\x42\x41NDON\x10\x01\x12\x0e\n\nTRY_CANCEL\x10\x02\x12\x1f\n\x1bWAIT_CANCELLATION_REQUESTED\x10\x03\x42+\xea\x02(Temporalio::Internal::Bridge::Api::Nexusb\x06proto3" +descriptor_data = "\n#temporal/sdk/core/nexus/nexus.proto\x12\rcoresdk.nexus\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a#temporal/api/nexus/v1/message.proto\x1a\x36temporal/api/workflowservice/v1/request_response.proto\x1a%temporal/sdk/core/common/common.proto\"\xf8\x01\n\x14NexusOperationResult\x12\x34\n\tcompleted\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.PayloadH\x00\x12\x32\n\x06\x66\x61iled\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x12\x35\n\tcancelled\x18\x03 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x12\x35\n\ttimed_out\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x42\x08\n\x06status\"\xee\x01\n\x13NexusTaskCompletion\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x34\n\tcompleted\x18\x02 \x01(\x0b\x32\x1f.temporal.api.nexus.v1.ResponseH\x00\x12\x38\n\x05\x65rror\x18\x03 \x01(\x0b\x32#.temporal.api.nexus.v1.HandlerErrorB\x02\x18\x01H\x00\x12\x14\n\nack_cancel\x18\x04 \x01(\x08H\x00\x12\x33\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x42\x08\n\x06status\"\xe2\x01\n\tNexusTask\x12K\n\x04task\x18\x01 \x01(\x0b\x32;.temporal.api.workflowservice.v1.PollNexusTaskQueueResponseH\x00\x12\x35\n\x0b\x63\x61ncel_task\x18\x02 \x01(\x0b\x32\x1e.coresdk.nexus.CancelNexusTaskH\x00\x12\x34\n\x10request_deadline\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x10\n\x08\x65ndpoint\x18\x04 \x01(\tB\t\n\x07variant\"[\n\x0f\x43\x61ncelNexusTask\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x34\n\x06reason\x18\x02 \x01(\x0e\x32$.coresdk.nexus.NexusTaskCancelReason*;\n\x15NexusTaskCancelReason\x12\r\n\tTIMED_OUT\x10\x00\x12\x13\n\x0fWORKER_SHUTDOWN\x10\x01*\x7f\n\x1eNexusOperationCancellationType\x12\x1f\n\x1bWAIT_CANCELLATION_COMPLETED\x10\x00\x12\x0b\n\x07\x41\x42\x41NDON\x10\x01\x12\x0e\n\nTRY_CANCEL\x10\x02\x12\x1f\n\x1bWAIT_CANCELLATION_REQUESTED\x10\x03\x42+\xea\x02(Temporalio::Internal::Bridge::Api::Nexusb\x06proto3" pool = ::Google::Protobuf::DescriptorPool.generated_pool pool.add_serialized_file(descriptor_data) diff --git a/temporalio/rbs_collection.lock.yaml b/temporalio/rbs_collection.lock.yaml index 2836aa82..9ef1f71a 100644 --- a/temporalio/rbs_collection.lock.yaml +++ b/temporalio/rbs_collection.lock.yaml @@ -61,6 +61,10 @@ gems: version: '0' source: type: stdlib +- name: dbm + version: '0' + source: + type: stdlib - name: delegate version: '0' source: @@ -149,6 +153,14 @@ gems: version: 1.9.0 source: type: rubygems +- name: pstore + version: '0' + source: + type: stdlib +- name: psych + version: '0' + source: + type: stdlib - name: rbs version: 3.10.4 source: diff --git a/temporalio/sig/temporalio/api/activity/v1/message.rbs b/temporalio/sig/temporalio/api/activity/v1/message.rbs index f1a3c181..f419776c 100644 --- a/temporalio/sig/temporalio/api/activity/v1/message.rbs +++ b/temporalio/sig/temporalio/api/activity/v1/message.rbs @@ -325,6 +325,15 @@ module Temporalio attr_writer canceled_reason(): ::String | ::Symbol def clear_canceled_reason: () -> void + # Links to related entities, such as the entity that started this activity. + attr_accessor links(): ::Google::Protobuf::RepeatedField + def clear_links: () -> void + + # Total number of heartbeats recorded across all attempts of this activity, including retries. + attr_reader total_heartbeat_count(): ::Integer + attr_writer total_heartbeat_count(): ::Integer | ::Float + def clear_total_heartbeat_count: () -> void + type init_map = { activity_id: (::String | ::Symbol)?, "activity_id" => (::String | ::Symbol)?, @@ -390,6 +399,10 @@ module Temporalio "user_metadata" => (::Temporalio::Api::Sdk::V1::UserMetadata | ::Temporalio::Api::Sdk::V1::UserMetadata::init_map)?, canceled_reason: (::String | ::Symbol)?, "canceled_reason" => (::String | ::Symbol)?, + links: ::Array[::Temporalio::Api::Common::V1::Link]?, + "links" => ::Array[::Temporalio::Api::Common::V1::Link]?, + total_heartbeat_count: (::Integer | ::Float)?, + "total_heartbeat_count" => (::Integer | ::Float)?, } def initialize: (?init_map initial_value) -> void @@ -427,6 +440,8 @@ module Temporalio | ("header" name) -> ::Temporalio::Api::Common::V1::Header? | ("user_metadata" name) -> ::Temporalio::Api::Sdk::V1::UserMetadata? | ("canceled_reason" name) -> ::String + | ("links" name) -> ::Google::Protobuf::RepeatedField + | ("total_heartbeat_count" name) -> ::Integer def []=: ("activity_id" name, (::String | ::Symbol) value) -> void @@ -461,6 +476,8 @@ module Temporalio | ("header" name, ::Temporalio::Api::Common::V1::Header? value) -> void | ("user_metadata" name, ::Temporalio::Api::Sdk::V1::UserMetadata? value) -> void | ("canceled_reason" name, (::String | ::Symbol) value) -> void + | ("links" name, ::Google::Protobuf::RepeatedField value) -> void + | ("total_heartbeat_count" name, (::Integer | ::Float) value) -> void end # Limited activity information returned in the list response. @@ -582,6 +599,69 @@ module Temporalio | ("state_size_bytes" name, (::Integer | ::Float) value) -> void | ("execution_duration" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void end + + # CallbackInfo contains the state of an attached activity callback. + class CallbackInfo < ::Google::Protobuf::AbstractMessage + # Trigger for when the activity is closed. + class ActivityClosed < ::Google::Protobuf::AbstractMessage + + type init_map = { + } + + def initialize: (?init_map initial_value) -> void + end + + class Trigger < ::Google::Protobuf::AbstractMessage + + attr_accessor activity_closed(): ::Temporalio::Api::Activity::V1::CallbackInfo::ActivityClosed? + def has_activity_closed?: () -> bool + def clear_activity_closed: () -> void + + attr_reader variant(): ::Temporalio::Api::Activity::V1::CallbackInfo::ActivityClosed? + def has_variant?: () -> bool + def clear_variant: () -> void + + type init_map = { + activity_closed: (::Temporalio::Api::Activity::V1::CallbackInfo::ActivityClosed | ::Temporalio::Api::Activity::V1::CallbackInfo::ActivityClosed::init_map)?, + "activity_closed" => (::Temporalio::Api::Activity::V1::CallbackInfo::ActivityClosed | ::Temporalio::Api::Activity::V1::CallbackInfo::ActivityClosed::init_map)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("activity_closed" name) -> ::Temporalio::Api::Activity::V1::CallbackInfo::ActivityClosed? + + def []=: + ("activity_closed" name, ::Temporalio::Api::Activity::V1::CallbackInfo::ActivityClosed? value) -> void + end + + # Trigger for this callback. + attr_accessor trigger(): ::Temporalio::Api::Activity::V1::CallbackInfo::Trigger? + def has_trigger?: () -> bool + def clear_trigger: () -> void + + # Common callback info. + attr_accessor info(): ::Temporalio::Api::Callback::V1::CallbackInfo? + def has_info?: () -> bool + def clear_info: () -> void + + type init_map = { + trigger: (::Temporalio::Api::Activity::V1::CallbackInfo::Trigger | ::Temporalio::Api::Activity::V1::CallbackInfo::Trigger::init_map)?, + "trigger" => (::Temporalio::Api::Activity::V1::CallbackInfo::Trigger | ::Temporalio::Api::Activity::V1::CallbackInfo::Trigger::init_map)?, + info: (::Temporalio::Api::Callback::V1::CallbackInfo | ::Temporalio::Api::Callback::V1::CallbackInfo::init_map)?, + "info" => (::Temporalio::Api::Callback::V1::CallbackInfo | ::Temporalio::Api::Callback::V1::CallbackInfo::init_map)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("trigger" name) -> ::Temporalio::Api::Activity::V1::CallbackInfo::Trigger? + | ("info" name) -> ::Temporalio::Api::Callback::V1::CallbackInfo? + + def []=: + ("trigger" name, ::Temporalio::Api::Activity::V1::CallbackInfo::Trigger? value) -> void + | ("info" name, ::Temporalio::Api::Callback::V1::CallbackInfo? value) -> void + end end end end diff --git a/temporalio/sig/temporalio/api/callback/v1/message.rbs b/temporalio/sig/temporalio/api/callback/v1/message.rbs new file mode 100644 index 00000000..0d705650 --- /dev/null +++ b/temporalio/sig/temporalio/api/callback/v1/message.rbs @@ -0,0 +1,112 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# This RBS interface is provided for convenience, on a best-effort basis. +# The library is the definitive source for the API contract; if the RBS file +# and the library's behavior differ, the library behavior is authoritative. +# We welcome fixes to change the RBS file to match. +# source: temporal/api/callback/v1/message.proto + +module Temporalio + module Api + module Callback + module V1 + # Common callback information. Specific CallbackInfo messages should embed this and may include additional fields. + class CallbackInfo < ::Google::Protobuf::AbstractMessage + + # Information on how this callback should be invoked (e.g. its URL and type). + attr_accessor callback(): ::Temporalio::Api::Common::V1::Callback? + def has_callback?: () -> bool + def clear_callback: () -> void + + # The time when the callback was registered. + attr_reader registration_time(): ::Google::Protobuf::Timestamp? + attr_writer registration_time(): (::Google::Protobuf::Timestamp | ::Time)? + def has_registration_time?: () -> bool + def clear_registration_time: () -> void + + # The current state of the callback. + attr_reader state(): ::Temporalio::Api::Enums::V1::CallbackState::names | ::Integer + attr_writer state(): ::Temporalio::Api::Enums::V1::CallbackState::names | ::Temporalio::Api::Enums::V1::CallbackState::strings | ::Integer | ::Float + attr_reader state_const(): ::Integer + def clear_state: () -> void + + # The number of attempts made to deliver the callback. + # This number represents a minimum bound since the attempt is incremented after the callback request completes. + attr_reader attempt(): ::Integer + attr_writer attempt(): ::Integer | ::Float + def clear_attempt: () -> void + + # The time when the last attempt completed. + attr_reader last_attempt_complete_time(): ::Google::Protobuf::Timestamp? + attr_writer last_attempt_complete_time(): (::Google::Protobuf::Timestamp | ::Time)? + def has_last_attempt_complete_time?: () -> bool + def clear_last_attempt_complete_time: () -> void + + # The last attempt's failure, if any. + attr_accessor last_attempt_failure(): ::Temporalio::Api::Failure::V1::Failure? + def has_last_attempt_failure?: () -> bool + def clear_last_attempt_failure: () -> void + + # The time when the next attempt is scheduled. + attr_reader next_attempt_schedule_time(): ::Google::Protobuf::Timestamp? + attr_writer next_attempt_schedule_time(): (::Google::Protobuf::Timestamp | ::Time)? + def has_next_attempt_schedule_time?: () -> bool + def clear_next_attempt_schedule_time: () -> void + + # If the state is BLOCKED, blocked reason provides additional information. + attr_reader blocked_reason(): ::String + attr_writer blocked_reason(): ::String | ::Symbol + def clear_blocked_reason: () -> void + + type init_map = { + callback: (::Temporalio::Api::Common::V1::Callback | ::Temporalio::Api::Common::V1::Callback::init_map)?, + "callback" => (::Temporalio::Api::Common::V1::Callback | ::Temporalio::Api::Common::V1::Callback::init_map)?, + registration_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + "registration_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + state: (::Temporalio::Api::Enums::V1::CallbackState::names | ::Temporalio::Api::Enums::V1::CallbackState::strings | ::Integer | ::Float)?, + "state" => (::Temporalio::Api::Enums::V1::CallbackState::names | ::Temporalio::Api::Enums::V1::CallbackState::strings | ::Integer | ::Float)?, + attempt: (::Integer | ::Float)?, + "attempt" => (::Integer | ::Float)?, + last_attempt_complete_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + "last_attempt_complete_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + last_attempt_failure: (::Temporalio::Api::Failure::V1::Failure | ::Temporalio::Api::Failure::V1::Failure::init_map)?, + "last_attempt_failure" => (::Temporalio::Api::Failure::V1::Failure | ::Temporalio::Api::Failure::V1::Failure::init_map)?, + next_attempt_schedule_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + "next_attempt_schedule_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + blocked_reason: (::String | ::Symbol)?, + "blocked_reason" => (::String | ::Symbol)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("callback" name) -> ::Temporalio::Api::Common::V1::Callback? + | ("registration_time" name) -> ::Google::Protobuf::Timestamp? + | ("state" name) -> (::Temporalio::Api::Enums::V1::CallbackState::names | ::Integer) + | ("attempt" name) -> ::Integer + | ("last_attempt_complete_time" name) -> ::Google::Protobuf::Timestamp? + | ("last_attempt_failure" name) -> ::Temporalio::Api::Failure::V1::Failure? + | ("next_attempt_schedule_time" name) -> ::Google::Protobuf::Timestamp? + | ("blocked_reason" name) -> ::String + + def []=: + ("callback" name, ::Temporalio::Api::Common::V1::Callback? value) -> void + | ("registration_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void + | ("state" name, (::Temporalio::Api::Enums::V1::CallbackState::names | ::Temporalio::Api::Enums::V1::CallbackState::strings | ::Integer | ::Float) value) -> void + | ("attempt" name, (::Integer | ::Float) value) -> void + | ("last_attempt_complete_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void + | ("last_attempt_failure" name, ::Temporalio::Api::Failure::V1::Failure? value) -> void + | ("next_attempt_schedule_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void + | ("blocked_reason" name, (::String | ::Symbol) value) -> void + end + end + end + end +end + +module Google + module Protobuf + class DescriptorPool + def lookup: (::String name) -> ::Google::Protobuf::Descriptor + end + end +end diff --git a/temporalio/sig/temporalio/api/cloud/account/v1/message.rbs b/temporalio/sig/temporalio/api/cloud/account/v1/message.rbs index 2cb93264..532d7808 100644 --- a/temporalio/sig/temporalio/api/cloud/account/v1/message.rbs +++ b/temporalio/sig/temporalio/api/cloud/account/v1/message.rbs @@ -194,6 +194,111 @@ module Temporalio | ("pub_sub_sink" name, ::Temporalio::Api::Cloud::Sink::V1::PubSubSpec? value) -> void | ("enabled" name, bool value) -> void end + + # AuditLogSink is only used by Audit Log + class AuditLogSink < ::Google::Protobuf::AbstractMessage + # The health status of the audit log sink. + module Health + + HEALTH_UNSPECIFIED: 0 + + # The audit log sink is healthy and functioning correctly. + HEALTH_OK: 1 + + # The audit log sink has an internal error. + HEALTH_ERROR_INTERNAL: 2 + + # The audit log sink has a configuration error. + HEALTH_ERROR_USER_CONFIGURATION: 3 + + def self.lookup: (::Integer number) -> ::Symbol + + + def self.resolve: (::Symbol name) -> ::Integer + + + type names = :HEALTH_UNSPECIFIED | :HEALTH_OK | :HEALTH_ERROR_INTERNAL | :HEALTH_ERROR_USER_CONFIGURATION + + type strings = "HEALTH_UNSPECIFIED" | "HEALTH_OK" | "HEALTH_ERROR_INTERNAL" | "HEALTH_ERROR_USER_CONFIGURATION" + + type numbers = 0 | 1 | 2 | 3 + end + + # Name of the sink e.g. "audit_log_01" + attr_reader name(): ::String + attr_writer name(): ::String | ::Symbol + def clear_name: () -> void + + # The version of the audit log sink resource. + attr_reader resource_version(): ::String + attr_writer resource_version(): ::String | ::Symbol + def clear_resource_version: () -> void + + # The current state of the audit log sink. + attr_reader state(): ::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Integer + attr_writer state(): ::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Temporalio::Api::Cloud::Resource::V1::ResourceState::strings | ::Integer | ::Float + attr_reader state_const(): ::Integer + def clear_state: () -> void + + # The specification details of the audit log sink. + attr_accessor spec(): ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec? + def has_spec?: () -> bool + def clear_spec: () -> void + + # The health status of the audit log sink. + attr_reader health(): ::Temporalio::Api::Cloud::Account::V1::AuditLogSink::Health::names | ::Integer + attr_writer health(): ::Temporalio::Api::Cloud::Account::V1::AuditLogSink::Health::names | ::Temporalio::Api::Cloud::Account::V1::AuditLogSink::Health::strings | ::Integer | ::Float + attr_reader health_const(): ::Integer + def clear_health: () -> void + + # An error message describing any issues with the audit log sink, if applicable. + attr_reader error_message(): ::String + attr_writer error_message(): ::String | ::Symbol + def clear_error_message: () -> void + + # The last succeeded timestamp for the internal workflow responsible for adding data to the sink. + attr_reader last_succeeded_time(): ::Google::Protobuf::Timestamp? + attr_writer last_succeeded_time(): (::Google::Protobuf::Timestamp | ::Time)? + def has_last_succeeded_time?: () -> bool + def clear_last_succeeded_time: () -> void + + type init_map = { + name: (::String | ::Symbol)?, + "name" => (::String | ::Symbol)?, + resource_version: (::String | ::Symbol)?, + "resource_version" => (::String | ::Symbol)?, + state: (::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Temporalio::Api::Cloud::Resource::V1::ResourceState::strings | ::Integer | ::Float)?, + "state" => (::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Temporalio::Api::Cloud::Resource::V1::ResourceState::strings | ::Integer | ::Float)?, + spec: (::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec | ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec::init_map)?, + "spec" => (::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec | ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec::init_map)?, + health: (::Temporalio::Api::Cloud::Account::V1::AuditLogSink::Health::names | ::Temporalio::Api::Cloud::Account::V1::AuditLogSink::Health::strings | ::Integer | ::Float)?, + "health" => (::Temporalio::Api::Cloud::Account::V1::AuditLogSink::Health::names | ::Temporalio::Api::Cloud::Account::V1::AuditLogSink::Health::strings | ::Integer | ::Float)?, + error_message: (::String | ::Symbol)?, + "error_message" => (::String | ::Symbol)?, + last_succeeded_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + "last_succeeded_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("name" name) -> ::String + | ("resource_version" name) -> ::String + | ("state" name) -> (::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Integer) + | ("spec" name) -> ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec? + | ("health" name) -> (::Temporalio::Api::Cloud::Account::V1::AuditLogSink::Health::names | ::Integer) + | ("error_message" name) -> ::String + | ("last_succeeded_time" name) -> ::Google::Protobuf::Timestamp? + + def []=: + ("name" name, (::String | ::Symbol) value) -> void + | ("resource_version" name, (::String | ::Symbol) value) -> void + | ("state" name, (::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Temporalio::Api::Cloud::Resource::V1::ResourceState::strings | ::Integer | ::Float) value) -> void + | ("spec" name, ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec? value) -> void + | ("health" name, (::Temporalio::Api::Cloud::Account::V1::AuditLogSink::Health::names | ::Temporalio::Api::Cloud::Account::V1::AuditLogSink::Health::strings | ::Integer | ::Float) value) -> void + | ("error_message" name, (::String | ::Symbol) value) -> void + | ("last_succeeded_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void + end end end end diff --git a/temporalio/sig/temporalio/api/cloud/auditlog/v1/message.rbs b/temporalio/sig/temporalio/api/cloud/auditlog/v1/message.rbs new file mode 100644 index 00000000..6ba072fb --- /dev/null +++ b/temporalio/sig/temporalio/api/cloud/auditlog/v1/message.rbs @@ -0,0 +1,168 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# This RBS interface is provided for convenience, on a best-effort basis. +# The library is the definitive source for the API contract; if the RBS file +# and the library's behavior differ, the library behavior is authoritative. +# We welcome fixes to change the RBS file to match. +# source: temporal/api/cloud/auditlog/v1/message.proto + +module Temporalio + module Api + module Cloud + module AuditLog + module V1 + # LogRecord represents an audit log entry from Temporal, structured for easy parsing and analysis. + class LogRecord < ::Google::Protobuf::AbstractMessage + + # Time when the log was emitted. + attr_reader emit_time(): ::Google::Protobuf::Timestamp? + attr_writer emit_time(): (::Google::Protobuf::Timestamp | ::Time)? + def has_emit_time?: () -> bool + def clear_emit_time: () -> void + + # The operation performed. + attr_reader operation(): ::String + attr_writer operation(): ::String | ::Symbol + def clear_operation: () -> void + + # The status of the operation. + attr_reader status(): ::String + attr_writer status(): ::String | ::Symbol + def clear_status: () -> void + + # The internal version of the log message. Can be used in deduplication if needed. + attr_reader version(): ::Integer + attr_writer version(): ::Integer | ::Float + def clear_version: () -> void + + # Unique ID for the log record. + attr_reader log_id(): ::String + attr_writer log_id(): ::String | ::Symbol + def clear_log_id: () -> void + + # The principal that performed the operation. + attr_accessor principal(): ::Temporalio::Api::Cloud::AuditLog::V1::Principal? + def has_principal?: () -> bool + def clear_principal: () -> void + + # The raw details of the operation. + attr_accessor raw_details(): ::Google::Protobuf::Struct[::String, ::Google::Protobuf::Value]? + def has_raw_details?: () -> bool + def clear_raw_details: () -> void + + # The originating IP address of the request. + attr_reader x_forwarded_for(): ::String + attr_writer x_forwarded_for(): ::String | ::Symbol + def clear_x_forwarded_for: () -> void + + # The ID of the async operation. + attr_reader async_operation_id(): ::String + attr_writer async_operation_id(): ::String | ::Symbol + def clear_async_operation_id: () -> void + + type init_map = { + emit_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + "emit_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + operation: (::String | ::Symbol)?, + "operation" => (::String | ::Symbol)?, + status: (::String | ::Symbol)?, + "status" => (::String | ::Symbol)?, + version: (::Integer | ::Float)?, + "version" => (::Integer | ::Float)?, + log_id: (::String | ::Symbol)?, + "log_id" => (::String | ::Symbol)?, + principal: (::Temporalio::Api::Cloud::AuditLog::V1::Principal | ::Temporalio::Api::Cloud::AuditLog::V1::Principal::init_map)?, + "principal" => (::Temporalio::Api::Cloud::AuditLog::V1::Principal | ::Temporalio::Api::Cloud::AuditLog::V1::Principal::init_map)?, + raw_details: (::Google::Protobuf::Struct[::String, ::Google::Protobuf::Value] | ::Google::Protobuf::Struct[::String, ::Google::Protobuf::Value])?, + "raw_details" => (::Google::Protobuf::Struct[::String, ::Google::Protobuf::Value] | ::Google::Protobuf::Struct[::String, ::Google::Protobuf::Value])?, + x_forwarded_for: (::String | ::Symbol)?, + "x_forwarded_for" => (::String | ::Symbol)?, + async_operation_id: (::String | ::Symbol)?, + "async_operation_id" => (::String | ::Symbol)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("emit_time" name) -> ::Google::Protobuf::Timestamp? + | ("operation" name) -> ::String + | ("status" name) -> ::String + | ("version" name) -> ::Integer + | ("log_id" name) -> ::String + | ("principal" name) -> ::Temporalio::Api::Cloud::AuditLog::V1::Principal? + | ("raw_details" name) -> ::Google::Protobuf::Struct[::String, ::Google::Protobuf::Value]? + | ("x_forwarded_for" name) -> ::String + | ("async_operation_id" name) -> ::String + + def []=: + ("emit_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void + | ("operation" name, (::String | ::Symbol) value) -> void + | ("status" name, (::String | ::Symbol) value) -> void + | ("version" name, (::Integer | ::Float) value) -> void + | ("log_id" name, (::String | ::Symbol) value) -> void + | ("principal" name, ::Temporalio::Api::Cloud::AuditLog::V1::Principal? value) -> void + | ("raw_details" name, ::Google::Protobuf::Struct[::String, ::Google::Protobuf::Value]? value) -> void + | ("x_forwarded_for" name, (::String | ::Symbol) value) -> void + | ("async_operation_id" name, (::String | ::Symbol) value) -> void + end + + class Principal < ::Google::Protobuf::AbstractMessage + + # The type of the principal. + # Possible type values: user, serviceaccount. + attr_reader type(): ::String + attr_writer type(): ::String | ::Symbol + def clear_type: () -> void + + # The id of the principal. + attr_reader id(): ::String + attr_writer id(): ::String | ::Symbol + def clear_id: () -> void + + # The name of the principal. + attr_reader name(): ::String + attr_writer name(): ::String | ::Symbol + def clear_name: () -> void + + # The api key id of the principal if provided. + attr_reader api_key_id(): ::String + attr_writer api_key_id(): ::String | ::Symbol + def clear_api_key_id: () -> void + + type init_map = { + type: (::String | ::Symbol)?, + "type" => (::String | ::Symbol)?, + id: (::String | ::Symbol)?, + "id" => (::String | ::Symbol)?, + name: (::String | ::Symbol)?, + "name" => (::String | ::Symbol)?, + api_key_id: (::String | ::Symbol)?, + "api_key_id" => (::String | ::Symbol)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("type" name) -> ::String + | ("id" name) -> ::String + | ("name" name) -> ::String + | ("api_key_id" name) -> ::String + + def []=: + ("type" name, (::String | ::Symbol) value) -> void + | ("id" name, (::String | ::Symbol) value) -> void + | ("name" name, (::String | ::Symbol) value) -> void + | ("api_key_id" name, (::String | ::Symbol) value) -> void + end + end + end + end + end +end + +module Google + module Protobuf + class DescriptorPool + def lookup: (::String name) -> ::Google::Protobuf::Descriptor + end + end +end diff --git a/temporalio/sig/temporalio/api/cloud/billing/v1/message.rbs b/temporalio/sig/temporalio/api/cloud/billing/v1/message.rbs new file mode 100644 index 00000000..1261326c --- /dev/null +++ b/temporalio/sig/temporalio/api/cloud/billing/v1/message.rbs @@ -0,0 +1,245 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# This RBS interface is provided for convenience, on a best-effort basis. +# The library is the definitive source for the API contract; if the RBS file +# and the library's behavior differ, the library behavior is authoritative. +# We welcome fixes to change the RBS file to match. +# source: temporal/api/cloud/billing/v1/message.proto + +module Temporalio + module Api + module Cloud + module Billing + module V1 + class BillingReportSpec < ::Google::Protobuf::AbstractMessage + + # The start time of the billing report (in UTC). + attr_reader start_time_inclusive(): ::Google::Protobuf::Timestamp? + attr_writer start_time_inclusive(): (::Google::Protobuf::Timestamp | ::Time)? + def has_start_time_inclusive?: () -> bool + def clear_start_time_inclusive: () -> void + + # The end time of the billing report (in UTC). + attr_reader end_time_exclusive(): ::Google::Protobuf::Timestamp? + attr_writer end_time_exclusive(): (::Google::Protobuf::Timestamp | ::Time)? + def has_end_time_exclusive?: () -> bool + def clear_end_time_exclusive: () -> void + + # The duration after which the download url will expire. + # Optional, default is 5 minutes and maximum is 1 hour. + attr_reader download_url_expiration_duration(): ::Google::Protobuf::Duration? + attr_writer download_url_expiration_duration(): (::Google::Protobuf::Duration | ::int)? + def has_download_url_expiration_duration?: () -> bool + def clear_download_url_expiration_duration: () -> void + + # The description for the billing report. + # Optional, default is empty. + attr_reader description(): ::String + attr_writer description(): ::String | ::Symbol + def clear_description: () -> void + + type init_map = { + start_time_inclusive: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + "start_time_inclusive" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + end_time_exclusive: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + "end_time_exclusive" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + download_url_expiration_duration: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?, + "download_url_expiration_duration" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?, + description: (::String | ::Symbol)?, + "description" => (::String | ::Symbol)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("start_time_inclusive" name) -> ::Google::Protobuf::Timestamp? + | ("end_time_exclusive" name) -> ::Google::Protobuf::Timestamp? + | ("download_url_expiration_duration" name) -> ::Google::Protobuf::Duration? + | ("description" name) -> ::String + + def []=: + ("start_time_inclusive" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void + | ("end_time_exclusive" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void + | ("download_url_expiration_duration" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void + | ("description" name, (::String | ::Symbol) value) -> void + end + + class BillingReport < ::Google::Protobuf::AbstractMessage + class Download < ::Google::Protobuf::AbstractMessage + module FileFormat + + FILE_FORMAT_UNSPECIFIED: 0 + + FILE_FORMAT_CSV: 1 + + def self.lookup: (::Integer number) -> ::Symbol + + + def self.resolve: (::Symbol name) -> ::Integer + + + type names = :FILE_FORMAT_UNSPECIFIED | :FILE_FORMAT_CSV + + type strings = "FILE_FORMAT_UNSPECIFIED" | "FILE_FORMAT_CSV" + + type numbers = 0 | 1 + end + + # The download url. + attr_reader url(): ::String + attr_writer url(): ::String | ::Symbol + def clear_url: () -> void + + # The time when the download url will expire. + attr_reader url_expiration_time(): ::Google::Protobuf::Timestamp? + attr_writer url_expiration_time(): (::Google::Protobuf::Timestamp | ::Time)? + def has_url_expiration_time?: () -> bool + def clear_url_expiration_time: () -> void + + # The file format of the billing report + attr_reader file_format(): ::Temporalio::Api::Cloud::Billing::V1::BillingReport::Download::FileFormat::names | ::Integer + attr_writer file_format(): ::Temporalio::Api::Cloud::Billing::V1::BillingReport::Download::FileFormat::names | ::Temporalio::Api::Cloud::Billing::V1::BillingReport::Download::FileFormat::strings | ::Integer | ::Float + attr_reader file_format_const(): ::Integer + def clear_file_format: () -> void + + # The size of the file in bytes. Useful for pre-allocating space, progress indicators, etc. + attr_reader file_size_bytes(): ::Integer + attr_writer file_size_bytes(): ::Integer | ::Float + def clear_file_size_bytes: () -> void + + type init_map = { + url: (::String | ::Symbol)?, + "url" => (::String | ::Symbol)?, + url_expiration_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + "url_expiration_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + file_format: (::Temporalio::Api::Cloud::Billing::V1::BillingReport::Download::FileFormat::names | ::Temporalio::Api::Cloud::Billing::V1::BillingReport::Download::FileFormat::strings | ::Integer | ::Float)?, + "file_format" => (::Temporalio::Api::Cloud::Billing::V1::BillingReport::Download::FileFormat::names | ::Temporalio::Api::Cloud::Billing::V1::BillingReport::Download::FileFormat::strings | ::Integer | ::Float)?, + file_size_bytes: (::Integer | ::Float)?, + "file_size_bytes" => (::Integer | ::Float)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("url" name) -> ::String + | ("url_expiration_time" name) -> ::Google::Protobuf::Timestamp? + | ("file_format" name) -> (::Temporalio::Api::Cloud::Billing::V1::BillingReport::Download::FileFormat::names | ::Integer) + | ("file_size_bytes" name) -> ::Integer + + def []=: + ("url" name, (::String | ::Symbol) value) -> void + | ("url_expiration_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void + | ("file_format" name, (::Temporalio::Api::Cloud::Billing::V1::BillingReport::Download::FileFormat::names | ::Temporalio::Api::Cloud::Billing::V1::BillingReport::Download::FileFormat::strings | ::Integer | ::Float) value) -> void + | ("file_size_bytes" name, (::Integer | ::Float) value) -> void + end + + module BillingReportState + + BILLING_REPORT_STATE_UNSPECIFIED: 0 + + BILLING_REPORT_STATE_IN_PROGRESS: 1 + + BILLING_REPORT_STATE_GENERATED: 2 + + BILLING_REPORT_STATE_FAILED: 3 + + def self.lookup: (::Integer number) -> ::Symbol + + + def self.resolve: (::Symbol name) -> ::Integer + + + type names = :BILLING_REPORT_STATE_UNSPECIFIED | :BILLING_REPORT_STATE_IN_PROGRESS | :BILLING_REPORT_STATE_GENERATED | :BILLING_REPORT_STATE_FAILED + + type strings = "BILLING_REPORT_STATE_UNSPECIFIED" | "BILLING_REPORT_STATE_IN_PROGRESS" | "BILLING_REPORT_STATE_GENERATED" | "BILLING_REPORT_STATE_FAILED" + + type numbers = 0 | 1 | 2 | 3 + end + + # The id of the billing report. + attr_reader id(): ::String + attr_writer id(): ::String | ::Symbol + def clear_id: () -> void + + # The current state of the billing report. + attr_reader state(): ::Temporalio::Api::Cloud::Billing::V1::BillingReport::BillingReportState::names | ::Integer + attr_writer state(): ::Temporalio::Api::Cloud::Billing::V1::BillingReport::BillingReportState::names | ::Temporalio::Api::Cloud::Billing::V1::BillingReport::BillingReportState::strings | ::Integer | ::Float + attr_reader state_const(): ::Integer + def clear_state: () -> void + + # The spec used to generate this billing report. + attr_accessor spec(): ::Temporalio::Api::Cloud::Billing::V1::BillingReportSpec? + def has_spec?: () -> bool + def clear_spec: () -> void + + # The download information for the billing report. + # For future-proofness this is repeated as we may return multiple files (e.g. csv+meta/json, split by size/date, etc.) + attr_accessor download_info(): ::Google::Protobuf::RepeatedField + def clear_download_info: () -> void + + # The date and time when the billing report was requested. + attr_reader requested_time(): ::Google::Protobuf::Timestamp? + attr_writer requested_time(): (::Google::Protobuf::Timestamp | ::Time)? + def has_requested_time?: () -> bool + def clear_requested_time: () -> void + + # The date and time when the billing report generation completed. + attr_reader generated_time(): ::Google::Protobuf::Timestamp? + attr_writer generated_time(): (::Google::Protobuf::Timestamp | ::Time)? + def has_generated_time?: () -> bool + def clear_generated_time: () -> void + + # The async operation id associated with the billing report generation. + attr_reader async_operation_id(): ::String + attr_writer async_operation_id(): ::String | ::Symbol + def clear_async_operation_id: () -> void + + type init_map = { + id: (::String | ::Symbol)?, + "id" => (::String | ::Symbol)?, + state: (::Temporalio::Api::Cloud::Billing::V1::BillingReport::BillingReportState::names | ::Temporalio::Api::Cloud::Billing::V1::BillingReport::BillingReportState::strings | ::Integer | ::Float)?, + "state" => (::Temporalio::Api::Cloud::Billing::V1::BillingReport::BillingReportState::names | ::Temporalio::Api::Cloud::Billing::V1::BillingReport::BillingReportState::strings | ::Integer | ::Float)?, + spec: (::Temporalio::Api::Cloud::Billing::V1::BillingReportSpec | ::Temporalio::Api::Cloud::Billing::V1::BillingReportSpec::init_map)?, + "spec" => (::Temporalio::Api::Cloud::Billing::V1::BillingReportSpec | ::Temporalio::Api::Cloud::Billing::V1::BillingReportSpec::init_map)?, + download_info: ::Array[::Temporalio::Api::Cloud::Billing::V1::BillingReport::Download]?, + "download_info" => ::Array[::Temporalio::Api::Cloud::Billing::V1::BillingReport::Download]?, + requested_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + "requested_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + generated_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + "generated_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + async_operation_id: (::String | ::Symbol)?, + "async_operation_id" => (::String | ::Symbol)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("id" name) -> ::String + | ("state" name) -> (::Temporalio::Api::Cloud::Billing::V1::BillingReport::BillingReportState::names | ::Integer) + | ("spec" name) -> ::Temporalio::Api::Cloud::Billing::V1::BillingReportSpec? + | ("download_info" name) -> ::Google::Protobuf::RepeatedField + | ("requested_time" name) -> ::Google::Protobuf::Timestamp? + | ("generated_time" name) -> ::Google::Protobuf::Timestamp? + | ("async_operation_id" name) -> ::String + + def []=: + ("id" name, (::String | ::Symbol) value) -> void + | ("state" name, (::Temporalio::Api::Cloud::Billing::V1::BillingReport::BillingReportState::names | ::Temporalio::Api::Cloud::Billing::V1::BillingReport::BillingReportState::strings | ::Integer | ::Float) value) -> void + | ("spec" name, ::Temporalio::Api::Cloud::Billing::V1::BillingReportSpec? value) -> void + | ("download_info" name, ::Google::Protobuf::RepeatedField value) -> void + | ("requested_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void + | ("generated_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void + | ("async_operation_id" name, (::String | ::Symbol) value) -> void + end + end + end + end + end +end + +module Google + module Protobuf + class DescriptorPool + def lookup: (::String name) -> ::Google::Protobuf::Descriptor + end + end +end diff --git a/temporalio/sig/temporalio/api/cloud/cloudservice/v1/request_response.rbs b/temporalio/sig/temporalio/api/cloud/cloudservice/v1/request_response.rbs index caf1b3d9..bdec7894 100644 --- a/temporalio/sig/temporalio/api/cloud/cloudservice/v1/request_response.rbs +++ b/temporalio/sig/temporalio/api/cloud/cloudservice/v1/request_response.rbs @@ -10,6 +10,58 @@ module Temporalio module Cloud module CloudService module V1 + class GetCurrentIdentityRequest < ::Google::Protobuf::AbstractMessage + + type init_map = { + } + + def initialize: (?init_map initial_value) -> void + end + + class GetCurrentIdentityResponse < ::Google::Protobuf::AbstractMessage + + # The user is a regular user + attr_accessor user(): ::Temporalio::Api::Cloud::Identity::V1::User? + def has_user?: () -> bool + def clear_user: () -> void + + # The user is a service account + attr_accessor service_account(): ::Temporalio::Api::Cloud::Identity::V1::ServiceAccount? + def has_service_account?: () -> bool + def clear_service_account: () -> void + + # The API key info used to authenticate the request, if any + attr_accessor principal_api_key(): ::Temporalio::Api::Cloud::Identity::V1::ApiKey? + def has_principal_api_key?: () -> bool + def clear_principal_api_key: () -> void + + # The authenticated principal making the request + attr_reader principal(): (::Temporalio::Api::Cloud::Identity::V1::User | ::Temporalio::Api::Cloud::Identity::V1::ServiceAccount)? + def has_principal?: () -> bool + def clear_principal: () -> void + + type init_map = { + user: (::Temporalio::Api::Cloud::Identity::V1::User | ::Temporalio::Api::Cloud::Identity::V1::User::init_map)?, + "user" => (::Temporalio::Api::Cloud::Identity::V1::User | ::Temporalio::Api::Cloud::Identity::V1::User::init_map)?, + service_account: (::Temporalio::Api::Cloud::Identity::V1::ServiceAccount | ::Temporalio::Api::Cloud::Identity::V1::ServiceAccount::init_map)?, + "service_account" => (::Temporalio::Api::Cloud::Identity::V1::ServiceAccount | ::Temporalio::Api::Cloud::Identity::V1::ServiceAccount::init_map)?, + principal_api_key: (::Temporalio::Api::Cloud::Identity::V1::ApiKey | ::Temporalio::Api::Cloud::Identity::V1::ApiKey::init_map)?, + "principal_api_key" => (::Temporalio::Api::Cloud::Identity::V1::ApiKey | ::Temporalio::Api::Cloud::Identity::V1::ApiKey::init_map)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("user" name) -> ::Temporalio::Api::Cloud::Identity::V1::User? + | ("service_account" name) -> ::Temporalio::Api::Cloud::Identity::V1::ServiceAccount? + | ("principal_api_key" name) -> ::Temporalio::Api::Cloud::Identity::V1::ApiKey? + + def []=: + ("user" name, ::Temporalio::Api::Cloud::Identity::V1::User? value) -> void + | ("service_account" name, ::Temporalio::Api::Cloud::Identity::V1::ServiceAccount? value) -> void + | ("principal_api_key" name, ::Temporalio::Api::Cloud::Identity::V1::ApiKey? value) -> void + end + class GetUsersRequest < ::Google::Protobuf::AbstractMessage # The requested size of the page to retrieve - optional. @@ -1134,6 +1186,7 @@ module Temporalio # Filter api keys by owner type - optional. # Possible values: user, service-account + # temporal:versioning:max_version=v0.3.0 # @deprecated attr_reader owner_type_deprecated(): ::String attr_writer owner_type_deprecated(): ::String | ::Symbol @@ -3627,6 +3680,86 @@ module Temporalio ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void end + class GetAuditLogsRequest < ::Google::Protobuf::AbstractMessage + + # The requested size of the page to retrieve - optional. + # Cannot exceed 1000. Defaults to 100. + attr_reader page_size(): ::Integer + attr_writer page_size(): ::Integer | ::Float + def clear_page_size: () -> void + + # The page token if this is continuing from another response - optional. + attr_reader page_token(): ::String + attr_writer page_token(): ::String | ::Symbol + def clear_page_token: () -> void + + # Filter for UTC time >= (defaults to 30 days ago) - optional. + attr_reader start_time_inclusive(): ::Google::Protobuf::Timestamp? + attr_writer start_time_inclusive(): (::Google::Protobuf::Timestamp | ::Time)? + def has_start_time_inclusive?: () -> bool + def clear_start_time_inclusive: () -> void + + # Filter for UTC time < (defaults to current time) - optional. + attr_reader end_time_exclusive(): ::Google::Protobuf::Timestamp? + attr_writer end_time_exclusive(): (::Google::Protobuf::Timestamp | ::Time)? + def has_end_time_exclusive?: () -> bool + def clear_end_time_exclusive: () -> void + + type init_map = { + page_size: (::Integer | ::Float)?, + "page_size" => (::Integer | ::Float)?, + page_token: (::String | ::Symbol)?, + "page_token" => (::String | ::Symbol)?, + start_time_inclusive: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + "start_time_inclusive" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + end_time_exclusive: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + "end_time_exclusive" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("page_size" name) -> ::Integer + | ("page_token" name) -> ::String + | ("start_time_inclusive" name) -> ::Google::Protobuf::Timestamp? + | ("end_time_exclusive" name) -> ::Google::Protobuf::Timestamp? + + def []=: + ("page_size" name, (::Integer | ::Float) value) -> void + | ("page_token" name, (::String | ::Symbol) value) -> void + | ("start_time_inclusive" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void + | ("end_time_exclusive" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void + end + + class GetAuditLogsResponse < ::Google::Protobuf::AbstractMessage + + # The list of audit logs ordered by emit time, log_id + attr_accessor logs(): ::Google::Protobuf::RepeatedField + def clear_logs: () -> void + + # The next page's token. + attr_reader next_page_token(): ::String + attr_writer next_page_token(): ::String | ::Symbol + def clear_next_page_token: () -> void + + type init_map = { + logs: ::Array[::Temporalio::Api::Cloud::AuditLog::V1::LogRecord]?, + "logs" => ::Array[::Temporalio::Api::Cloud::AuditLog::V1::LogRecord]?, + next_page_token: (::String | ::Symbol)?, + "next_page_token" => (::String | ::Symbol)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("logs" name) -> ::Google::Protobuf::RepeatedField + | ("next_page_token" name) -> ::String + + def []=: + ("logs" name, ::Google::Protobuf::RepeatedField value) -> void + | ("next_page_token" name, (::String | ::Symbol) value) -> void + end + class ValidateAccountAuditLogSinkRequest < ::Google::Protobuf::AbstractMessage # The audit log sink spec that will be validated @@ -3655,6 +3788,426 @@ module Temporalio def initialize: (?init_map initial_value) -> void end + + class CreateAccountAuditLogSinkRequest < ::Google::Protobuf::AbstractMessage + + # The specification for the audit log sink. + attr_accessor spec(): ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec? + def has_spec?: () -> bool + def clear_spec: () -> void + + # Optional. The ID to use for this async operation. + attr_reader async_operation_id(): ::String + attr_writer async_operation_id(): ::String | ::Symbol + def clear_async_operation_id: () -> void + + type init_map = { + spec: (::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec | ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec::init_map)?, + "spec" => (::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec | ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec::init_map)?, + async_operation_id: (::String | ::Symbol)?, + "async_operation_id" => (::String | ::Symbol)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("spec" name) -> ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec? + | ("async_operation_id" name) -> ::String + + def []=: + ("spec" name, ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec? value) -> void + | ("async_operation_id" name, (::String | ::Symbol) value) -> void + end + + class CreateAccountAuditLogSinkResponse < ::Google::Protobuf::AbstractMessage + + # The async operation. + attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? + def has_async_operation?: () -> bool + def clear_async_operation: () -> void + + type init_map = { + async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?, + "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? + + def []=: + ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void + end + + class GetAccountAuditLogSinkRequest < ::Google::Protobuf::AbstractMessage + + # The name of the sink to retrieve. + attr_reader name(): ::String + attr_writer name(): ::String | ::Symbol + def clear_name: () -> void + + type init_map = { + name: (::String | ::Symbol)?, + "name" => (::String | ::Symbol)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("name" name) -> ::String + + def []=: + ("name" name, (::String | ::Symbol) value) -> void + end + + class GetAccountAuditLogSinkResponse < ::Google::Protobuf::AbstractMessage + + # The audit log sink retrieved. + attr_accessor sink(): ::Temporalio::Api::Cloud::Account::V1::AuditLogSink? + def has_sink?: () -> bool + def clear_sink: () -> void + + type init_map = { + sink: (::Temporalio::Api::Cloud::Account::V1::AuditLogSink | ::Temporalio::Api::Cloud::Account::V1::AuditLogSink::init_map)?, + "sink" => (::Temporalio::Api::Cloud::Account::V1::AuditLogSink | ::Temporalio::Api::Cloud::Account::V1::AuditLogSink::init_map)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("sink" name) -> ::Temporalio::Api::Cloud::Account::V1::AuditLogSink? + + def []=: + ("sink" name, ::Temporalio::Api::Cloud::Account::V1::AuditLogSink? value) -> void + end + + class GetAccountAuditLogSinksRequest < ::Google::Protobuf::AbstractMessage + + # The requested size of the page to retrieve. Cannot exceed 1000. + # Defaults to 100 if not specified. + attr_reader page_size(): ::Integer + attr_writer page_size(): ::Integer | ::Float + def clear_page_size: () -> void + + # The page token if this is continuing from another response - optional. + attr_reader page_token(): ::String + attr_writer page_token(): ::String | ::Symbol + def clear_page_token: () -> void + + type init_map = { + page_size: (::Integer | ::Float)?, + "page_size" => (::Integer | ::Float)?, + page_token: (::String | ::Symbol)?, + "page_token" => (::String | ::Symbol)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("page_size" name) -> ::Integer + | ("page_token" name) -> ::String + + def []=: + ("page_size" name, (::Integer | ::Float) value) -> void + | ("page_token" name, (::String | ::Symbol) value) -> void + end + + class GetAccountAuditLogSinksResponse < ::Google::Protobuf::AbstractMessage + + # The list of audit log sinks retrieved. + attr_accessor sinks(): ::Google::Protobuf::RepeatedField + def clear_sinks: () -> void + + # The next page token, set if there is another page. + attr_reader next_page_token(): ::String + attr_writer next_page_token(): ::String | ::Symbol + def clear_next_page_token: () -> void + + type init_map = { + sinks: ::Array[::Temporalio::Api::Cloud::Account::V1::AuditLogSink]?, + "sinks" => ::Array[::Temporalio::Api::Cloud::Account::V1::AuditLogSink]?, + next_page_token: (::String | ::Symbol)?, + "next_page_token" => (::String | ::Symbol)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("sinks" name) -> ::Google::Protobuf::RepeatedField + | ("next_page_token" name) -> ::String + + def []=: + ("sinks" name, ::Google::Protobuf::RepeatedField value) -> void + | ("next_page_token" name, (::String | ::Symbol) value) -> void + end + + class UpdateAccountAuditLogSinkRequest < ::Google::Protobuf::AbstractMessage + + # The updated audit log sink specification. + attr_accessor spec(): ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec? + def has_spec?: () -> bool + def clear_spec: () -> void + + # The version of the audit log sink to update. The latest version can be + # retrieved using the GetAuditLogSink call. + attr_reader resource_version(): ::String + attr_writer resource_version(): ::String | ::Symbol + def clear_resource_version: () -> void + + # The ID to use for this async operation - optional. + attr_reader async_operation_id(): ::String + attr_writer async_operation_id(): ::String | ::Symbol + def clear_async_operation_id: () -> void + + type init_map = { + spec: (::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec | ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec::init_map)?, + "spec" => (::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec | ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec::init_map)?, + resource_version: (::String | ::Symbol)?, + "resource_version" => (::String | ::Symbol)?, + async_operation_id: (::String | ::Symbol)?, + "async_operation_id" => (::String | ::Symbol)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("spec" name) -> ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec? + | ("resource_version" name) -> ::String + | ("async_operation_id" name) -> ::String + + def []=: + ("spec" name, ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec? value) -> void + | ("resource_version" name, (::String | ::Symbol) value) -> void + | ("async_operation_id" name, (::String | ::Symbol) value) -> void + end + + class UpdateAccountAuditLogSinkResponse < ::Google::Protobuf::AbstractMessage + + # The async operation. + attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? + def has_async_operation?: () -> bool + def clear_async_operation: () -> void + + type init_map = { + async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?, + "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? + + def []=: + ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void + end + + class DeleteAccountAuditLogSinkRequest < ::Google::Protobuf::AbstractMessage + + # The name of the sink to delete. + attr_reader name(): ::String + attr_writer name(): ::String | ::Symbol + def clear_name: () -> void + + # The version of the sink to delete. The latest version can be + # retrieved using the GetAccountAuditLogSink call. + attr_reader resource_version(): ::String + attr_writer resource_version(): ::String | ::Symbol + def clear_resource_version: () -> void + + # The ID to use for this async operation - optional. + attr_reader async_operation_id(): ::String + attr_writer async_operation_id(): ::String | ::Symbol + def clear_async_operation_id: () -> void + + type init_map = { + name: (::String | ::Symbol)?, + "name" => (::String | ::Symbol)?, + resource_version: (::String | ::Symbol)?, + "resource_version" => (::String | ::Symbol)?, + async_operation_id: (::String | ::Symbol)?, + "async_operation_id" => (::String | ::Symbol)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("name" name) -> ::String + | ("resource_version" name) -> ::String + | ("async_operation_id" name) -> ::String + + def []=: + ("name" name, (::String | ::Symbol) value) -> void + | ("resource_version" name, (::String | ::Symbol) value) -> void + | ("async_operation_id" name, (::String | ::Symbol) value) -> void + end + + class DeleteAccountAuditLogSinkResponse < ::Google::Protobuf::AbstractMessage + + # The async operation. + attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? + def has_async_operation?: () -> bool + def clear_async_operation: () -> void + + type init_map = { + async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?, + "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? + + def []=: + ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void + end + + class GetNamespaceCapacityInfoRequest < ::Google::Protobuf::AbstractMessage + + # The namespace identifier. + # Required. + attr_reader namespace(): ::String + attr_writer namespace(): ::String | ::Symbol + def clear_namespace: () -> void + + type init_map = { + namespace: (::String | ::Symbol)?, + "namespace" => (::String | ::Symbol)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("namespace" name) -> ::String + + def []=: + ("namespace" name, (::String | ::Symbol) value) -> void + end + + class GetNamespaceCapacityInfoResponse < ::Google::Protobuf::AbstractMessage + + # Capacity information for the namespace. + attr_accessor capacity_info(): ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo? + def has_capacity_info?: () -> bool + def clear_capacity_info: () -> void + + type init_map = { + capacity_info: (::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo | ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::init_map)?, + "capacity_info" => (::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo | ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::init_map)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("capacity_info" name) -> ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo? + + def []=: + ("capacity_info" name, ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo? value) -> void + end + + class CreateBillingReportRequest < ::Google::Protobuf::AbstractMessage + + # The specification for the billing report. + attr_accessor spec(): ::Temporalio::Api::Cloud::Billing::V1::BillingReportSpec? + def has_spec?: () -> bool + def clear_spec: () -> void + + # Optional, if not provided a random id will be generated. + attr_reader async_operation_id(): ::String + attr_writer async_operation_id(): ::String | ::Symbol + def clear_async_operation_id: () -> void + + type init_map = { + spec: (::Temporalio::Api::Cloud::Billing::V1::BillingReportSpec | ::Temporalio::Api::Cloud::Billing::V1::BillingReportSpec::init_map)?, + "spec" => (::Temporalio::Api::Cloud::Billing::V1::BillingReportSpec | ::Temporalio::Api::Cloud::Billing::V1::BillingReportSpec::init_map)?, + async_operation_id: (::String | ::Symbol)?, + "async_operation_id" => (::String | ::Symbol)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("spec" name) -> ::Temporalio::Api::Cloud::Billing::V1::BillingReportSpec? + | ("async_operation_id" name) -> ::String + + def []=: + ("spec" name, ::Temporalio::Api::Cloud::Billing::V1::BillingReportSpec? value) -> void + | ("async_operation_id" name, (::String | ::Symbol) value) -> void + end + + class CreateBillingReportResponse < ::Google::Protobuf::AbstractMessage + + # The id of the billing report created. + attr_reader billing_report_id(): ::String + attr_writer billing_report_id(): ::String | ::Symbol + def clear_billing_report_id: () -> void + + # The async operation. + attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? + def has_async_operation?: () -> bool + def clear_async_operation: () -> void + + type init_map = { + billing_report_id: (::String | ::Symbol)?, + "billing_report_id" => (::String | ::Symbol)?, + async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?, + "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("billing_report_id" name) -> ::String + | ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? + + def []=: + ("billing_report_id" name, (::String | ::Symbol) value) -> void + | ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void + end + + class GetBillingReportRequest < ::Google::Protobuf::AbstractMessage + + # The id of the billing report to retrieve. + attr_reader billing_report_id(): ::String + attr_writer billing_report_id(): ::String | ::Symbol + def clear_billing_report_id: () -> void + + type init_map = { + billing_report_id: (::String | ::Symbol)?, + "billing_report_id" => (::String | ::Symbol)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("billing_report_id" name) -> ::String + + def []=: + ("billing_report_id" name, (::String | ::Symbol) value) -> void + end + + class GetBillingReportResponse < ::Google::Protobuf::AbstractMessage + + # The billing report retrieved. + attr_accessor billing_report(): ::Temporalio::Api::Cloud::Billing::V1::BillingReport? + def has_billing_report?: () -> bool + def clear_billing_report: () -> void + + type init_map = { + billing_report: (::Temporalio::Api::Cloud::Billing::V1::BillingReport | ::Temporalio::Api::Cloud::Billing::V1::BillingReport::init_map)?, + "billing_report" => (::Temporalio::Api::Cloud::Billing::V1::BillingReport | ::Temporalio::Api::Cloud::Billing::V1::BillingReport::init_map)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("billing_report" name) -> ::Temporalio::Api::Cloud::Billing::V1::BillingReport? + + def []=: + ("billing_report" name, ::Temporalio::Api::Cloud::Billing::V1::BillingReport? value) -> void + end end end end diff --git a/temporalio/sig/temporalio/api/cloud/namespace/v1/message.rbs b/temporalio/sig/temporalio/api/cloud/namespace/v1/message.rbs index 739dc8ce..fd5ce8b4 100644 --- a/temporalio/sig/temporalio/api/cloud/namespace/v1/message.rbs +++ b/temporalio/sig/temporalio/api/cloud/namespace/v1/message.rbs @@ -69,6 +69,7 @@ module Temporalio # (-- api-linter: core::0140::base64=disabled --) # Deprecated: Not supported after v0.2.0 api version. Use accepted_client_ca instead. # temporal:versioning:max_version=v0.2.0 + # @deprecated attr_reader accepted_client_ca_deprecated(): ::String attr_writer accepted_client_ca_deprecated(): ::String | ::Symbol def clear_accepted_client_ca_deprecated: () -> void @@ -138,6 +139,26 @@ module Temporalio ("enabled" name, bool value) -> void end + class LifecycleSpec < ::Google::Protobuf::AbstractMessage + + # Flag to enable delete protection for the namespace. + attr_accessor enable_delete_protection(): bool + def clear_enable_delete_protection: () -> void + + type init_map = { + enable_delete_protection: bool?, + "enable_delete_protection" => bool?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("enable_delete_protection" name) -> bool + + def []=: + ("enable_delete_protection" name, bool value) -> void + end + class CodecServerSpec < ::Google::Protobuf::AbstractMessage class CustomErrorMessage < ::Google::Protobuf::AbstractMessage class ErrorMessage < ::Google::Protobuf::AbstractMessage @@ -234,44 +255,242 @@ module Temporalio | ("custom_error_message" name, ::Temporalio::Api::Cloud::Namespace::V1::CodecServerSpec::CustomErrorMessage? value) -> void end - class LifecycleSpec < ::Google::Protobuf::AbstractMessage + class HighAvailabilitySpec < ::Google::Protobuf::AbstractMessage - # Flag to enable delete protection for the namespace. - attr_accessor enable_delete_protection(): bool - def clear_enable_delete_protection: () -> void + # Flag to disable managed failover for the namespace. + attr_accessor disable_managed_failover(): bool + def clear_disable_managed_failover: () -> void type init_map = { - enable_delete_protection: bool?, - "enable_delete_protection" => bool?, + disable_managed_failover: bool?, + "disable_managed_failover" => bool?, } def initialize: (?init_map initial_value) -> void def []: - ("enable_delete_protection" name) -> bool + ("disable_managed_failover" name) -> bool def []=: - ("enable_delete_protection" name, bool value) -> void + ("disable_managed_failover" name, bool value) -> void end - class HighAvailabilitySpec < ::Google::Protobuf::AbstractMessage + # temporal:versioning:min_version=v0.10.0 + class CapacitySpec < ::Google::Protobuf::AbstractMessage + class OnDemand < ::Google::Protobuf::AbstractMessage - # Flag to disable managed failover for the namespace. - attr_accessor disable_managed_failover(): bool - def clear_disable_managed_failover: () -> void + type init_map = { + } + + def initialize: (?init_map initial_value) -> void + end + + class Provisioned < ::Google::Protobuf::AbstractMessage + + # The units of provisioned capacity in TRU (Temporal Resource Units). + # Each TRU unit assigned to the namespace will entitle it with additional APS limits as specified in the documentation. + attr_reader value(): ::Float + attr_writer value(): ::Float | ::Integer + def clear_value: () -> void + + type init_map = { + value: (::Float | ::Integer)?, + "value" => (::Float | ::Integer)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("value" name) -> ::Float + + def []=: + ("value" name, (::Float | ::Integer) value) -> void + end + + # The on-demand capacity mode configuration. + attr_accessor on_demand(): ::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::OnDemand? + def has_on_demand?: () -> bool + def clear_on_demand: () -> void + + # The provisioned capacity mode configuration. + attr_accessor provisioned(): ::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::Provisioned? + def has_provisioned?: () -> bool + def clear_provisioned: () -> void + + attr_reader spec(): (::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::OnDemand | ::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::Provisioned)? + def has_spec?: () -> bool + def clear_spec: () -> void type init_map = { - disable_managed_failover: bool?, - "disable_managed_failover" => bool?, + on_demand: (::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::OnDemand | ::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::OnDemand::init_map)?, + "on_demand" => (::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::OnDemand | ::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::OnDemand::init_map)?, + provisioned: (::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::Provisioned | ::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::Provisioned::init_map)?, + "provisioned" => (::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::Provisioned | ::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::Provisioned::init_map)?, } def initialize: (?init_map initial_value) -> void def []: - ("disable_managed_failover" name) -> bool + ("on_demand" name) -> ::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::OnDemand? + | ("provisioned" name) -> ::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::Provisioned? def []=: - ("disable_managed_failover" name, bool value) -> void + ("on_demand" name, ::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::OnDemand? value) -> void + | ("provisioned" name, ::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::Provisioned? value) -> void + end + + class Capacity < ::Google::Protobuf::AbstractMessage + class OnDemand < ::Google::Protobuf::AbstractMessage + + type init_map = { + } + + def initialize: (?init_map initial_value) -> void + end + + class Provisioned < ::Google::Protobuf::AbstractMessage + + # The current provisioned capacity for the namespace in Temporal Resource Units. + # Can be different from the requested capacity in latest_request if the request is still in progress. + attr_reader current_value(): ::Float + attr_writer current_value(): ::Float | ::Integer + def clear_current_value: () -> void + + type init_map = { + current_value: (::Float | ::Integer)?, + "current_value" => (::Float | ::Integer)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("current_value" name) -> ::Float + + def []=: + ("current_value" name, (::Float | ::Integer) value) -> void + end + + class Request < ::Google::Protobuf::AbstractMessage + module State + + STATE_CAPACITY_REQUEST_UNSPECIFIED: 0 + + STATE_CAPACITY_REQUEST_COMPLETED: 1 + + STATE_CAPACITY_REQUEST_IN_PROGRESS: 2 + + STATE_CAPACITY_REQUEST_FAILED: 3 + + def self.lookup: (::Integer number) -> ::Symbol + + + def self.resolve: (::Symbol name) -> ::Integer + + + type names = :STATE_CAPACITY_REQUEST_UNSPECIFIED | :STATE_CAPACITY_REQUEST_COMPLETED | :STATE_CAPACITY_REQUEST_IN_PROGRESS | :STATE_CAPACITY_REQUEST_FAILED + + type strings = "STATE_CAPACITY_REQUEST_UNSPECIFIED" | "STATE_CAPACITY_REQUEST_COMPLETED" | "STATE_CAPACITY_REQUEST_IN_PROGRESS" | "STATE_CAPACITY_REQUEST_FAILED" + + type numbers = 0 | 1 | 2 | 3 + end + + # The current state of the capacity request (e.g. in-progress, completed, failed). + attr_reader state(): ::Temporalio::Api::Cloud::Namespace::V1::Capacity::Request::State::names | ::Integer + attr_writer state(): ::Temporalio::Api::Cloud::Namespace::V1::Capacity::Request::State::names | ::Temporalio::Api::Cloud::Namespace::V1::Capacity::Request::State::strings | ::Integer | ::Float + attr_reader state_const(): ::Integer + def clear_state: () -> void + + # The date and time when the capacity request was created. + attr_reader start_time(): ::Google::Protobuf::Timestamp? + attr_writer start_time(): (::Google::Protobuf::Timestamp | ::Time)? + def has_start_time?: () -> bool + def clear_start_time: () -> void + + # The date and time when the capacity request was completed or failed. + attr_reader end_time(): ::Google::Protobuf::Timestamp? + attr_writer end_time(): (::Google::Protobuf::Timestamp | ::Time)? + def has_end_time?: () -> bool + def clear_end_time: () -> void + + # The id of the async operation that is creating/updating/deleting the capacity, if any. + attr_reader async_operation_id(): ::String + attr_writer async_operation_id(): ::String | ::Symbol + def clear_async_operation_id: () -> void + + # The requested capacity specification. + attr_accessor spec(): ::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec? + def has_spec?: () -> bool + def clear_spec: () -> void + + type init_map = { + state: (::Temporalio::Api::Cloud::Namespace::V1::Capacity::Request::State::names | ::Temporalio::Api::Cloud::Namespace::V1::Capacity::Request::State::strings | ::Integer | ::Float)?, + "state" => (::Temporalio::Api::Cloud::Namespace::V1::Capacity::Request::State::names | ::Temporalio::Api::Cloud::Namespace::V1::Capacity::Request::State::strings | ::Integer | ::Float)?, + start_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + "start_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + end_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + "end_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + async_operation_id: (::String | ::Symbol)?, + "async_operation_id" => (::String | ::Symbol)?, + spec: (::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec | ::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::init_map)?, + "spec" => (::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec | ::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::init_map)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("state" name) -> (::Temporalio::Api::Cloud::Namespace::V1::Capacity::Request::State::names | ::Integer) + | ("start_time" name) -> ::Google::Protobuf::Timestamp? + | ("end_time" name) -> ::Google::Protobuf::Timestamp? + | ("async_operation_id" name) -> ::String + | ("spec" name) -> ::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec? + + def []=: + ("state" name, (::Temporalio::Api::Cloud::Namespace::V1::Capacity::Request::State::names | ::Temporalio::Api::Cloud::Namespace::V1::Capacity::Request::State::strings | ::Integer | ::Float) value) -> void + | ("start_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void + | ("end_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void + | ("async_operation_id" name, (::String | ::Symbol) value) -> void + | ("spec" name, ::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec? value) -> void + end + + # The status of on-demand capacity mode. + attr_accessor on_demand(): ::Temporalio::Api::Cloud::Namespace::V1::Capacity::OnDemand? + def has_on_demand?: () -> bool + def clear_on_demand: () -> void + + # The status of provisioned capacity mode. + attr_accessor provisioned(): ::Temporalio::Api::Cloud::Namespace::V1::Capacity::Provisioned? + def has_provisioned?: () -> bool + def clear_provisioned: () -> void + + # The latest requested capacity for the namespace, if any. + attr_accessor latest_request(): ::Temporalio::Api::Cloud::Namespace::V1::Capacity::Request? + def has_latest_request?: () -> bool + def clear_latest_request: () -> void + + attr_reader current_mode(): (::Temporalio::Api::Cloud::Namespace::V1::Capacity::OnDemand | ::Temporalio::Api::Cloud::Namespace::V1::Capacity::Provisioned)? + def has_current_mode?: () -> bool + def clear_current_mode: () -> void + + type init_map = { + on_demand: (::Temporalio::Api::Cloud::Namespace::V1::Capacity::OnDemand | ::Temporalio::Api::Cloud::Namespace::V1::Capacity::OnDemand::init_map)?, + "on_demand" => (::Temporalio::Api::Cloud::Namespace::V1::Capacity::OnDemand | ::Temporalio::Api::Cloud::Namespace::V1::Capacity::OnDemand::init_map)?, + provisioned: (::Temporalio::Api::Cloud::Namespace::V1::Capacity::Provisioned | ::Temporalio::Api::Cloud::Namespace::V1::Capacity::Provisioned::init_map)?, + "provisioned" => (::Temporalio::Api::Cloud::Namespace::V1::Capacity::Provisioned | ::Temporalio::Api::Cloud::Namespace::V1::Capacity::Provisioned::init_map)?, + latest_request: (::Temporalio::Api::Cloud::Namespace::V1::Capacity::Request | ::Temporalio::Api::Cloud::Namespace::V1::Capacity::Request::init_map)?, + "latest_request" => (::Temporalio::Api::Cloud::Namespace::V1::Capacity::Request | ::Temporalio::Api::Cloud::Namespace::V1::Capacity::Request::init_map)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("on_demand" name) -> ::Temporalio::Api::Cloud::Namespace::V1::Capacity::OnDemand? + | ("provisioned" name) -> ::Temporalio::Api::Cloud::Namespace::V1::Capacity::Provisioned? + | ("latest_request" name) -> ::Temporalio::Api::Cloud::Namespace::V1::Capacity::Request? + + def []=: + ("on_demand" name, ::Temporalio::Api::Cloud::Namespace::V1::Capacity::OnDemand? value) -> void + | ("provisioned" name, ::Temporalio::Api::Cloud::Namespace::V1::Capacity::Provisioned? value) -> void + | ("latest_request" name, ::Temporalio::Api::Cloud::Namespace::V1::Capacity::Request? value) -> void end class NamespaceSpec < ::Google::Protobuf::AbstractMessage @@ -388,6 +607,16 @@ module Temporalio attr_accessor connectivity_rule_ids(): ::Google::Protobuf::RepeatedField def clear_connectivity_rule_ids: () -> void + # The capacity configuration for the namespace. + # There are two capacity modes: on-demand and provisioned. + # On-demand capacity mode allows the namespace to scale automatically based on usage. + # Provisioned capacity mode allows the user to specify a fixed amount of capacity (in TRUs) for the namespace. + # Can be changed only when the last capacity request is not in progress. + # temporal:versioning:min_version=v0.10.0 + attr_accessor capacity_spec(): ::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec? + def has_capacity_spec?: () -> bool + def clear_capacity_spec: () -> void + type init_map = { name: (::String | ::Symbol)?, "name" => (::String | ::Symbol)?, @@ -411,6 +640,8 @@ module Temporalio "high_availability" => (::Temporalio::Api::Cloud::Namespace::V1::HighAvailabilitySpec | ::Temporalio::Api::Cloud::Namespace::V1::HighAvailabilitySpec::init_map)?, connectivity_rule_ids: ::Array[::String | ::Symbol]?, "connectivity_rule_ids" => ::Array[::String | ::Symbol]?, + capacity_spec: (::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec | ::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::init_map)?, + "capacity_spec" => (::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec | ::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::init_map)?, } def initialize: (?init_map initial_value) -> void @@ -427,6 +658,7 @@ module Temporalio | ("lifecycle" name) -> ::Temporalio::Api::Cloud::Namespace::V1::LifecycleSpec? | ("high_availability" name) -> ::Temporalio::Api::Cloud::Namespace::V1::HighAvailabilitySpec? | ("connectivity_rule_ids" name) -> (::Google::Protobuf::RepeatedField) + | ("capacity_spec" name) -> ::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec? def []=: ("name" name, (::String | ::Symbol) value) -> void @@ -440,6 +672,7 @@ module Temporalio | ("lifecycle" name, ::Temporalio::Api::Cloud::Namespace::V1::LifecycleSpec? value) -> void | ("high_availability" name, ::Temporalio::Api::Cloud::Namespace::V1::HighAvailabilitySpec? value) -> void | ("connectivity_rule_ids" name, (::Google::Protobuf::RepeatedField) value) -> void + | ("capacity_spec" name, ::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec? value) -> void end class Endpoints < ::Google::Protobuf::AbstractMessage @@ -647,6 +880,11 @@ module Temporalio attr_accessor tags(): ::Google::Protobuf::Map[::String, ::String] def clear_tags: () -> void + # The status of namespace's capacity, if any. + attr_accessor capacity(): ::Temporalio::Api::Cloud::Namespace::V1::Capacity? + def has_capacity?: () -> bool + def clear_capacity: () -> void + type init_map = { namespace: (::String | ::Symbol)?, "namespace" => (::String | ::Symbol)?, @@ -678,6 +916,8 @@ module Temporalio "connectivity_rules" => ::Array[::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRule]?, tags: ::Hash[::String | ::Symbol, ::String | ::Symbol]?, "tags" => ::Hash[::String | ::Symbol, ::String | ::Symbol]?, + capacity: (::Temporalio::Api::Cloud::Namespace::V1::Capacity | ::Temporalio::Api::Cloud::Namespace::V1::Capacity::init_map)?, + "capacity" => (::Temporalio::Api::Cloud::Namespace::V1::Capacity | ::Temporalio::Api::Cloud::Namespace::V1::Capacity::init_map)?, } def initialize: (?init_map initial_value) -> void @@ -698,6 +938,7 @@ module Temporalio | ("region_status" name) -> (::Google::Protobuf::Map[::String, ::Temporalio::Api::Cloud::Namespace::V1::NamespaceRegionStatus]) | ("connectivity_rules" name) -> ::Google::Protobuf::RepeatedField | ("tags" name) -> (::Google::Protobuf::Map[::String, ::String]) + | ("capacity" name) -> ::Temporalio::Api::Cloud::Namespace::V1::Capacity? def []=: ("namespace" name, (::String | ::Symbol) value) -> void @@ -715,6 +956,7 @@ module Temporalio | ("region_status" name, (::Google::Protobuf::Map[::String, ::Temporalio::Api::Cloud::Namespace::V1::NamespaceRegionStatus]) value) -> void | ("connectivity_rules" name, ::Google::Protobuf::RepeatedField value) -> void | ("tags" name, (::Google::Protobuf::Map[::String, ::String]) value) -> void + | ("capacity" name, ::Temporalio::Api::Cloud::Namespace::V1::Capacity? value) -> void end class NamespaceRegionStatus < ::Google::Protobuf::AbstractMessage @@ -792,7 +1034,7 @@ module Temporalio class ExportSinkSpec < ::Google::Protobuf::AbstractMessage - # The unique name of the export sink, it can't be changed once set. + # The unique name of the export sink, it can't be changed once set. attr_reader name(): ::String attr_writer name(): ::String | ::Symbol def clear_name: () -> void @@ -806,7 +1048,8 @@ module Temporalio def has_s3?: () -> bool def clear_s3: () -> void - # The GCS configuration details when destination_type is GCS. + # This is a feature under development. We will allow GCS sink support for GCP Namespaces. + # The GCS configuration details when destination_type is GCS. attr_accessor gcs(): ::Temporalio::Api::Cloud::Sink::V1::GCSSpec? def has_gcs?: () -> bool def clear_gcs: () -> void @@ -861,7 +1104,7 @@ module Temporalio type numbers = 0 | 1 | 2 | 3 end - # The unique name of the export sink. + # The unique name of the export sink, once set it can't be changed attr_reader name(): ::String attr_writer name(): ::String | ::Symbol def clear_name: () -> void @@ -946,6 +1189,205 @@ module Temporalio | ("latest_data_export_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void | ("last_health_check_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void end + + # NamespaceCapacityInfo contains detailed capacity information for a namespace. + class NamespaceCapacityInfo < ::Google::Protobuf::AbstractMessage + class CapacityModeOptions < ::Google::Protobuf::AbstractMessage + class Provisioned < ::Google::Protobuf::AbstractMessage + + # The valid TRU (Temporal Resource Unit) values that can be set. + # These are the discrete capacity tiers available for selection. + attr_accessor valid_tru_values(): ::Google::Protobuf::RepeatedField + def clear_valid_tru_values: () -> void + + # The maximum TRU value that can currently be set for this namespace. + # This may be lower than the highest value in valid_tru_values due to + # inventory constraints. + attr_reader max_available_tru_value(): ::Float + attr_writer max_available_tru_value(): ::Float | ::Integer + def clear_max_available_tru_value: () -> void + + type init_map = { + valid_tru_values: ::Array[::Float | ::Integer]?, + "valid_tru_values" => ::Array[::Float | ::Integer]?, + max_available_tru_value: (::Float | ::Integer)?, + "max_available_tru_value" => (::Float | ::Integer)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("valid_tru_values" name) -> (::Google::Protobuf::RepeatedField) + | ("max_available_tru_value" name) -> ::Float + + def []=: + ("valid_tru_values" name, (::Google::Protobuf::RepeatedField) value) -> void + | ("max_available_tru_value" name, (::Float | ::Integer) value) -> void + end + + class OnDemand < ::Google::Protobuf::AbstractMessage + + # The APS limit that would apply to this namespace in on-demand mode. + # See: https://docs.temporal.io/cloud/limits#actions-per-second + attr_reader aps_limit(): ::Float + attr_writer aps_limit(): ::Float | ::Integer + def clear_aps_limit: () -> void + + type init_map = { + aps_limit: (::Float | ::Integer)?, + "aps_limit" => (::Float | ::Integer)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("aps_limit" name) -> ::Float + + def []=: + ("aps_limit" name, (::Float | ::Integer) value) -> void + end + + # Provisioned capacity options and entitlements. + attr_accessor provisioned(): ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::Provisioned? + def has_provisioned?: () -> bool + def clear_provisioned: () -> void + + # On-Demand capacity information. + attr_accessor on_demand(): ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::OnDemand? + def has_on_demand?: () -> bool + def clear_on_demand: () -> void + + type init_map = { + provisioned: (::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::Provisioned | ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::Provisioned::init_map)?, + "provisioned" => (::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::Provisioned | ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::Provisioned::init_map)?, + on_demand: (::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::OnDemand | ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::OnDemand::init_map)?, + "on_demand" => (::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::OnDemand | ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::OnDemand::init_map)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("provisioned" name) -> ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::Provisioned? + | ("on_demand" name) -> ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::OnDemand? + + def []=: + ("provisioned" name, ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::Provisioned? value) -> void + | ("on_demand" name, ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::OnDemand? value) -> void + end + + class Stats < ::Google::Protobuf::AbstractMessage + class Summary < ::Google::Protobuf::AbstractMessage + + attr_reader mean(): ::Float + attr_writer mean(): ::Float | ::Integer + def clear_mean: () -> void + + attr_reader p90(): ::Float + attr_writer p90(): ::Float | ::Integer + def clear_p90: () -> void + + attr_reader p99(): ::Float + attr_writer p99(): ::Float | ::Integer + def clear_p99: () -> void + + type init_map = { + mean: (::Float | ::Integer)?, + "mean" => (::Float | ::Integer)?, + p90: (::Float | ::Integer)?, + "p90" => (::Float | ::Integer)?, + p99: (::Float | ::Integer)?, + "p99" => (::Float | ::Integer)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("mean" name) -> ::Float + | ("p90" name) -> ::Float + | ("p99" name) -> ::Float + + def []=: + ("mean" name, (::Float | ::Integer) value) -> void + | ("p90" name, (::Float | ::Integer) value) -> void + | ("p99" name, (::Float | ::Integer) value) -> void + end + + # Actions-per-second measurements summarized over the last 7 days. + attr_accessor aps(): ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::Stats::Summary? + def has_aps?: () -> bool + def clear_aps: () -> void + + type init_map = { + aps: (::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::Stats::Summary | ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::Stats::Summary::init_map)?, + "aps" => (::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::Stats::Summary | ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::Stats::Summary::init_map)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("aps" name) -> ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::Stats::Summary? + + def []=: + ("aps" name, ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::Stats::Summary? value) -> void + end + + # The namespace identifier. + attr_reader namespace(): ::String + attr_writer namespace(): ::String | ::Symbol + def clear_namespace: () -> void + + # Whether the namespace's APS limit was set by Temporal Support. + # When true, adjusting the namespace's capacity will reset this limit. + attr_accessor has_legacy_limits(): bool + def clear_has_legacy_limits: () -> void + + # The current capacity of the namespace. + # Includes the current mode (on-demand or provisioned) and latest request status. + attr_accessor current_capacity(): ::Temporalio::Api::Cloud::Namespace::V1::Capacity? + def has_current_capacity?: () -> bool + def clear_current_capacity: () -> void + + # Available capacity mode options for this namespace. + # Contains configuration limits for both provisioned and on-demand modes. + attr_accessor mode_options(): ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions? + def has_mode_options?: () -> bool + def clear_mode_options: () -> void + + # Usage statistics for the namespace over the last 7 days. + # Used to calculate On-Demand capacity limits, also useful for capacity planning. + attr_accessor stats(): ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::Stats? + def has_stats?: () -> bool + def clear_stats: () -> void + + type init_map = { + namespace: (::String | ::Symbol)?, + "namespace" => (::String | ::Symbol)?, + has_legacy_limits: bool?, + "has_legacy_limits" => bool?, + current_capacity: (::Temporalio::Api::Cloud::Namespace::V1::Capacity | ::Temporalio::Api::Cloud::Namespace::V1::Capacity::init_map)?, + "current_capacity" => (::Temporalio::Api::Cloud::Namespace::V1::Capacity | ::Temporalio::Api::Cloud::Namespace::V1::Capacity::init_map)?, + mode_options: (::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions | ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::init_map)?, + "mode_options" => (::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions | ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::init_map)?, + stats: (::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::Stats | ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::Stats::init_map)?, + "stats" => (::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::Stats | ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::Stats::init_map)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("namespace" name) -> ::String + | ("has_legacy_limits" name) -> bool + | ("current_capacity" name) -> ::Temporalio::Api::Cloud::Namespace::V1::Capacity? + | ("mode_options" name) -> ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions? + | ("stats" name) -> ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::Stats? + + def []=: + ("namespace" name, (::String | ::Symbol) value) -> void + | ("has_legacy_limits" name, bool value) -> void + | ("current_capacity" name, ::Temporalio::Api::Cloud::Namespace::V1::Capacity? value) -> void + | ("mode_options" name, ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions? value) -> void + | ("stats" name, ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::Stats? value) -> void + end end end end diff --git a/temporalio/sig/temporalio/api/command/v1/message.rbs b/temporalio/sig/temporalio/api/command/v1/message.rbs index ab42d9af..eb1e8885 100644 --- a/temporalio/sig/temporalio/api/command/v1/message.rbs +++ b/temporalio/sig/temporalio/api/command/v1/message.rbs @@ -294,6 +294,8 @@ module Temporalio class RequestCancelExternalWorkflowExecutionCommandAttributes < ::Google::Protobuf::AbstractMessage + # Deprecated. Cross-namespace operations are disabled by default as of server 1.30.1. + # @deprecated attr_reader namespace(): ::String attr_writer namespace(): ::String | ::Symbol def clear_namespace: () -> void @@ -359,6 +361,8 @@ module Temporalio class SignalExternalWorkflowExecutionCommandAttributes < ::Google::Protobuf::AbstractMessage + # Deprecated. Cross-namespace operations are disabled by default as of server 1.30.1. + # @deprecated attr_reader namespace(): ::String attr_writer namespace(): ::String | ::Symbol def clear_namespace: () -> void @@ -679,6 +683,8 @@ module Temporalio class StartChildWorkflowExecutionCommandAttributes < ::Google::Protobuf::AbstractMessage + # Deprecated. Cross-namespace operations are disabled by default as of server 1.30.1. + # @deprecated attr_reader namespace(): ::String attr_writer namespace(): ::String | ::Symbol def clear_namespace: () -> void diff --git a/temporalio/sig/temporalio/api/common/v1/message.rbs b/temporalio/sig/temporalio/api/common/v1/message.rbs index eb241e2f..1eced95f 100644 --- a/temporalio/sig/temporalio/api/common/v1/message.rbs +++ b/temporalio/sig/temporalio/api/common/v1/message.rbs @@ -750,6 +750,80 @@ module Temporalio ("job_id" name, (::String | ::Symbol) value) -> void end + # A link to an activity. + class Activity < ::Google::Protobuf::AbstractMessage + + attr_reader namespace(): ::String + attr_writer namespace(): ::String | ::Symbol + def clear_namespace: () -> void + + attr_reader activity_id(): ::String + attr_writer activity_id(): ::String | ::Symbol + def clear_activity_id: () -> void + + attr_reader run_id(): ::String + attr_writer run_id(): ::String | ::Symbol + def clear_run_id: () -> void + + type init_map = { + namespace: (::String | ::Symbol)?, + "namespace" => (::String | ::Symbol)?, + activity_id: (::String | ::Symbol)?, + "activity_id" => (::String | ::Symbol)?, + run_id: (::String | ::Symbol)?, + "run_id" => (::String | ::Symbol)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("namespace" name) -> ::String + | ("activity_id" name) -> ::String + | ("run_id" name) -> ::String + + def []=: + ("namespace" name, (::String | ::Symbol) value) -> void + | ("activity_id" name, (::String | ::Symbol) value) -> void + | ("run_id" name, (::String | ::Symbol) value) -> void + end + + # A link to a standalone Nexus operation. + class NexusOperation < ::Google::Protobuf::AbstractMessage + + attr_reader namespace(): ::String + attr_writer namespace(): ::String | ::Symbol + def clear_namespace: () -> void + + attr_reader operation_id(): ::String + attr_writer operation_id(): ::String | ::Symbol + def clear_operation_id: () -> void + + attr_reader run_id(): ::String + attr_writer run_id(): ::String | ::Symbol + def clear_run_id: () -> void + + type init_map = { + namespace: (::String | ::Symbol)?, + "namespace" => (::String | ::Symbol)?, + operation_id: (::String | ::Symbol)?, + "operation_id" => (::String | ::Symbol)?, + run_id: (::String | ::Symbol)?, + "run_id" => (::String | ::Symbol)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("namespace" name) -> ::String + | ("operation_id" name) -> ::String + | ("run_id" name) -> ::String + + def []=: + ("namespace" name, (::String | ::Symbol) value) -> void + | ("operation_id" name, (::String | ::Symbol) value) -> void + | ("run_id" name, (::String | ::Symbol) value) -> void + end + attr_accessor workflow_event(): ::Temporalio::Api::Common::V1::Link::WorkflowEvent? def has_workflow_event?: () -> bool def clear_workflow_event: () -> void @@ -758,7 +832,15 @@ module Temporalio def has_batch_job?: () -> bool def clear_batch_job: () -> void - attr_reader variant(): (::Temporalio::Api::Common::V1::Link::WorkflowEvent | ::Temporalio::Api::Common::V1::Link::BatchJob)? + attr_accessor activity(): ::Temporalio::Api::Common::V1::Link::Activity? + def has_activity?: () -> bool + def clear_activity: () -> void + + attr_accessor nexus_operation(): ::Temporalio::Api::Common::V1::Link::NexusOperation? + def has_nexus_operation?: () -> bool + def clear_nexus_operation: () -> void + + attr_reader variant(): (::Temporalio::Api::Common::V1::Link::WorkflowEvent | ::Temporalio::Api::Common::V1::Link::BatchJob | ::Temporalio::Api::Common::V1::Link::Activity | ::Temporalio::Api::Common::V1::Link::NexusOperation)? def has_variant?: () -> bool def clear_variant: () -> void @@ -767,6 +849,10 @@ module Temporalio "workflow_event" => (::Temporalio::Api::Common::V1::Link::WorkflowEvent | ::Temporalio::Api::Common::V1::Link::WorkflowEvent::init_map)?, batch_job: (::Temporalio::Api::Common::V1::Link::BatchJob | ::Temporalio::Api::Common::V1::Link::BatchJob::init_map)?, "batch_job" => (::Temporalio::Api::Common::V1::Link::BatchJob | ::Temporalio::Api::Common::V1::Link::BatchJob::init_map)?, + activity: (::Temporalio::Api::Common::V1::Link::Activity | ::Temporalio::Api::Common::V1::Link::Activity::init_map)?, + "activity" => (::Temporalio::Api::Common::V1::Link::Activity | ::Temporalio::Api::Common::V1::Link::Activity::init_map)?, + nexus_operation: (::Temporalio::Api::Common::V1::Link::NexusOperation | ::Temporalio::Api::Common::V1::Link::NexusOperation::init_map)?, + "nexus_operation" => (::Temporalio::Api::Common::V1::Link::NexusOperation | ::Temporalio::Api::Common::V1::Link::NexusOperation::init_map)?, } def initialize: (?init_map initial_value) -> void @@ -774,10 +860,46 @@ module Temporalio def []: ("workflow_event" name) -> ::Temporalio::Api::Common::V1::Link::WorkflowEvent? | ("batch_job" name) -> ::Temporalio::Api::Common::V1::Link::BatchJob? + | ("activity" name) -> ::Temporalio::Api::Common::V1::Link::Activity? + | ("nexus_operation" name) -> ::Temporalio::Api::Common::V1::Link::NexusOperation? def []=: ("workflow_event" name, ::Temporalio::Api::Common::V1::Link::WorkflowEvent? value) -> void | ("batch_job" name, ::Temporalio::Api::Common::V1::Link::BatchJob? value) -> void + | ("activity" name, ::Temporalio::Api::Common::V1::Link::Activity? value) -> void + | ("nexus_operation" name, ::Temporalio::Api::Common::V1::Link::NexusOperation? value) -> void + end + + # Principal is an authenticated caller identity computed by the server from trusted + # authentication context. + class Principal < ::Google::Protobuf::AbstractMessage + + # Low-cardinality category of the principal (e.g., "jwt", "users"). + attr_reader type(): ::String + attr_writer type(): ::String | ::Symbol + def clear_type: () -> void + + # Identifier within that category (e.g., sub JWT claim, email address). + attr_reader name(): ::String + attr_writer name(): ::String | ::Symbol + def clear_name: () -> void + + type init_map = { + type: (::String | ::Symbol)?, + "type" => (::String | ::Symbol)?, + name: (::String | ::Symbol)?, + "name" => (::String | ::Symbol)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("type" name) -> ::String + | ("name" name) -> ::String + + def []=: + ("type" name, (::String | ::Symbol) value) -> void + | ("name" name, (::String | ::Symbol) value) -> void end # Priority contains metadata that controls relative ordering of task processing @@ -912,6 +1034,44 @@ module Temporalio def []=: ("worker_instance_key" name, ((::String | ::Symbol)?) value) -> void end + + # When starting an execution with a conflict policy that uses an existing execution and there is already an existing + # running execution, OnConflictOptions defines actions to be taken on the existing running execution. + class OnConflictOptions < ::Google::Protobuf::AbstractMessage + + # Attaches the request ID to the running execution. + attr_accessor attach_request_id(): bool + def clear_attach_request_id: () -> void + + # Attaches the completion callbacks to the running execution. + attr_accessor attach_completion_callbacks(): bool + def clear_attach_completion_callbacks: () -> void + + # Attaches the links to the running execution. + attr_accessor attach_links(): bool + def clear_attach_links: () -> void + + type init_map = { + attach_request_id: bool?, + "attach_request_id" => bool?, + attach_completion_callbacks: bool?, + "attach_completion_callbacks" => bool?, + attach_links: bool?, + "attach_links" => bool?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("attach_request_id" name) -> bool + | ("attach_completion_callbacks" name) -> bool + | ("attach_links" name) -> bool + + def []=: + ("attach_request_id" name, bool value) -> void + | ("attach_completion_callbacks" name, bool value) -> void + | ("attach_links" name, bool value) -> void + end end end end diff --git a/temporalio/sig/temporalio/api/compute/v1/config.rbs b/temporalio/sig/temporalio/api/compute/v1/config.rbs new file mode 100644 index 00000000..51b5acc1 --- /dev/null +++ b/temporalio/sig/temporalio/api/compute/v1/config.rbs @@ -0,0 +1,176 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# This RBS interface is provided for convenience, on a best-effort basis. +# The library is the definitive source for the API contract; if the RBS file +# and the library's behavior differ, the library behavior is authoritative. +# We welcome fixes to change the RBS file to match. +# source: temporal/api/compute/v1/config.proto + +module Temporalio + module Api + module Compute + module V1 + class ComputeConfigScalingGroup < ::Google::Protobuf::AbstractMessage + + # Optional. The set of task queue types this scaling group serves. + # If not provided, this scaling group serves all not otherwise defined + # task types. + attr_accessor task_queue_types(): ::Google::Protobuf::RepeatedField + attr_reader task_queue_types_const(): ::Array[::Integer] + def clear_task_queue_types: () -> void + + # Stores instructions for a worker control plane controller how to respond + # to worker lifeycle events. + attr_accessor provider(): ::Temporalio::Api::Compute::V1::ComputeProvider? + def has_provider?: () -> bool + def clear_provider: () -> void + + # Informs a worker lifecycle controller *when* and *how often* to perform + # certain worker lifecycle actions like starting a serverless worker. + attr_accessor scaler(): ::Temporalio::Api::Compute::V1::ComputeScaler? + def has_scaler?: () -> bool + def clear_scaler: () -> void + + type init_map = { + task_queue_types: ::Array[::Temporalio::Api::Enums::V1::TaskQueueType::names | ::Temporalio::Api::Enums::V1::TaskQueueType::strings | ::Integer | ::Float]?, + "task_queue_types" => ::Array[::Temporalio::Api::Enums::V1::TaskQueueType::names | ::Temporalio::Api::Enums::V1::TaskQueueType::strings | ::Integer | ::Float]?, + provider: (::Temporalio::Api::Compute::V1::ComputeProvider | ::Temporalio::Api::Compute::V1::ComputeProvider::init_map)?, + "provider" => (::Temporalio::Api::Compute::V1::ComputeProvider | ::Temporalio::Api::Compute::V1::ComputeProvider::init_map)?, + scaler: (::Temporalio::Api::Compute::V1::ComputeScaler | ::Temporalio::Api::Compute::V1::ComputeScaler::init_map)?, + "scaler" => (::Temporalio::Api::Compute::V1::ComputeScaler | ::Temporalio::Api::Compute::V1::ComputeScaler::init_map)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("task_queue_types" name) -> (::Google::Protobuf::RepeatedField) + | ("provider" name) -> ::Temporalio::Api::Compute::V1::ComputeProvider? + | ("scaler" name) -> ::Temporalio::Api::Compute::V1::ComputeScaler? + + def []=: + ("task_queue_types" name, (::Google::Protobuf::RepeatedField) value) -> void + | ("provider" name, ::Temporalio::Api::Compute::V1::ComputeProvider? value) -> void + | ("scaler" name, ::Temporalio::Api::Compute::V1::ComputeScaler? value) -> void + end + + # ComputeConfig stores configuration that helps a worker control plane + # controller understand *when* and *how* to respond to worker lifecycle + # events. + class ComputeConfig < ::Google::Protobuf::AbstractMessage + + # Each scaling group describes a compute config for a specific subset of the worker + # deployment version: covering a specific set of task types and/or regions. + # Having different configurations for different task types, allows independent + # tuning of activity and workflow task processing (for example). + # The key of the map is the ID of the scaling group used to reference it in subsequent + # update calls. + attr_accessor scaling_groups(): ::Google::Protobuf::Map[::String, ::Temporalio::Api::Compute::V1::ComputeConfigScalingGroup] + def clear_scaling_groups: () -> void + + type init_map = { + scaling_groups: ::Hash[::String | ::Symbol, ::Temporalio::Api::Compute::V1::ComputeConfigScalingGroup]?, + "scaling_groups" => ::Hash[::String | ::Symbol, ::Temporalio::Api::Compute::V1::ComputeConfigScalingGroup]?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("scaling_groups" name) -> (::Google::Protobuf::Map[::String, ::Temporalio::Api::Compute::V1::ComputeConfigScalingGroup]) + + def []=: + ("scaling_groups" name, (::Google::Protobuf::Map[::String, ::Temporalio::Api::Compute::V1::ComputeConfigScalingGroup]) value) -> void + end + + class ComputeConfigScalingGroupUpdate < ::Google::Protobuf::AbstractMessage + + attr_accessor scaling_group(): ::Temporalio::Api::Compute::V1::ComputeConfigScalingGroup? + def has_scaling_group?: () -> bool + def clear_scaling_group: () -> void + + # Controls which fields from `scaling_group` will be applied. Semantics: + # - Mask is ignored for new scaling groups (only applicable when scaling group already exists). + # - Empty mask for an existing scaling group is no-op: no change. + # - Non-empty mask for an existing scaling group will update/unset only to the fields + # mentioned in the mask. + # - Accepted paths: "task_queue_types", "provider", "provider.type", "provider.details", + # "provider.nexus_endpoint", "scaler", "scaler.type", "scaler.details" + attr_accessor update_mask(): ::Google::Protobuf::FieldMask? + def has_update_mask?: () -> bool + def clear_update_mask: () -> void + + type init_map = { + scaling_group: (::Temporalio::Api::Compute::V1::ComputeConfigScalingGroup | ::Temporalio::Api::Compute::V1::ComputeConfigScalingGroup::init_map)?, + "scaling_group" => (::Temporalio::Api::Compute::V1::ComputeConfigScalingGroup | ::Temporalio::Api::Compute::V1::ComputeConfigScalingGroup::init_map)?, + update_mask: (::Google::Protobuf::FieldMask | ::Google::Protobuf::FieldMask)?, + "update_mask" => (::Google::Protobuf::FieldMask | ::Google::Protobuf::FieldMask)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("scaling_group" name) -> ::Temporalio::Api::Compute::V1::ComputeConfigScalingGroup? + | ("update_mask" name) -> ::Google::Protobuf::FieldMask? + + def []=: + ("scaling_group" name, ::Temporalio::Api::Compute::V1::ComputeConfigScalingGroup? value) -> void + | ("update_mask" name, ::Google::Protobuf::FieldMask? value) -> void + end + + # A subset of information in ComputeConfig optimized for list views. + class ComputeConfigSummary < ::Google::Protobuf::AbstractMessage + + attr_accessor scaling_groups(): ::Google::Protobuf::Map[::String, ::Temporalio::Api::Compute::V1::ComputeConfigScalingGroupSummary] + def clear_scaling_groups: () -> void + + type init_map = { + scaling_groups: ::Hash[::String | ::Symbol, ::Temporalio::Api::Compute::V1::ComputeConfigScalingGroupSummary]?, + "scaling_groups" => ::Hash[::String | ::Symbol, ::Temporalio::Api::Compute::V1::ComputeConfigScalingGroupSummary]?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("scaling_groups" name) -> (::Google::Protobuf::Map[::String, ::Temporalio::Api::Compute::V1::ComputeConfigScalingGroupSummary]) + + def []=: + ("scaling_groups" name, (::Google::Protobuf::Map[::String, ::Temporalio::Api::Compute::V1::ComputeConfigScalingGroupSummary]) value) -> void + end + + class ComputeConfigScalingGroupSummary < ::Google::Protobuf::AbstractMessage + + attr_accessor task_queue_types(): ::Google::Protobuf::RepeatedField + attr_reader task_queue_types_const(): ::Array[::Integer] + def clear_task_queue_types: () -> void + + attr_reader provider_type(): ::String + attr_writer provider_type(): ::String | ::Symbol + def clear_provider_type: () -> void + + type init_map = { + task_queue_types: ::Array[::Temporalio::Api::Enums::V1::TaskQueueType::names | ::Temporalio::Api::Enums::V1::TaskQueueType::strings | ::Integer | ::Float]?, + "task_queue_types" => ::Array[::Temporalio::Api::Enums::V1::TaskQueueType::names | ::Temporalio::Api::Enums::V1::TaskQueueType::strings | ::Integer | ::Float]?, + provider_type: (::String | ::Symbol)?, + "provider_type" => (::String | ::Symbol)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("task_queue_types" name) -> (::Google::Protobuf::RepeatedField) + | ("provider_type" name) -> ::String + + def []=: + ("task_queue_types" name, (::Google::Protobuf::RepeatedField) value) -> void + | ("provider_type" name, (::String | ::Symbol) value) -> void + end + end + end + end +end + +module Google + module Protobuf + class DescriptorPool + def lookup: (::String name) -> ::Google::Protobuf::Descriptor + end + end +end diff --git a/temporalio/sig/temporalio/api/compute/v1/provider.rbs b/temporalio/sig/temporalio/api/compute/v1/provider.rbs new file mode 100644 index 00000000..50f2aef6 --- /dev/null +++ b/temporalio/sig/temporalio/api/compute/v1/provider.rbs @@ -0,0 +1,73 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# This RBS interface is provided for convenience, on a best-effort basis. +# The library is the definitive source for the API contract; if the RBS file +# and the library's behavior differ, the library behavior is authoritative. +# We welcome fixes to change the RBS file to match. +# source: temporal/api/compute/v1/provider.proto + +module Temporalio + module Api + module Compute + module V1 + # ComputeProvider stores information used by a worker control plane controller + # to respond to worker lifecycle events. For example, when a Task is received + # on a TaskQueue that has no active pollers, a serverless worker lifecycle + # controller might need to invoke an AWS Lambda Function that itself ends up + # calling the SDK's worker.New() function. + class ComputeProvider < ::Google::Protobuf::AbstractMessage + + # Type of the compute provider. This string is implementation-specific and + # can be used by implementations to understand how to interpret the + # contents of the provider_details field. + attr_reader type(): ::String + attr_writer type(): ::String | ::Symbol + def clear_type: () -> void + + # Contains provider-specific instructions and configuration. + # For server-implemented providers, use the SDK's default content + # converter to ensure the server can understand it. + # For remote-implemented providers, you might use your own content + # converters according to what the remote endpoints understand. + attr_accessor details(): ::Temporalio::Api::Common::V1::Payload? + def has_details?: () -> bool + def clear_details: () -> void + + # Optional. If the compute provider is a Nexus service, this should point + # there. + attr_reader nexus_endpoint(): ::String + attr_writer nexus_endpoint(): ::String | ::Symbol + def clear_nexus_endpoint: () -> void + + type init_map = { + type: (::String | ::Symbol)?, + "type" => (::String | ::Symbol)?, + details: (::Temporalio::Api::Common::V1::Payload | ::Temporalio::Api::Common::V1::Payload::init_map)?, + "details" => (::Temporalio::Api::Common::V1::Payload | ::Temporalio::Api::Common::V1::Payload::init_map)?, + nexus_endpoint: (::String | ::Symbol)?, + "nexus_endpoint" => (::String | ::Symbol)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("type" name) -> ::String + | ("details" name) -> ::Temporalio::Api::Common::V1::Payload? + | ("nexus_endpoint" name) -> ::String + + def []=: + ("type" name, (::String | ::Symbol) value) -> void + | ("details" name, ::Temporalio::Api::Common::V1::Payload? value) -> void + | ("nexus_endpoint" name, (::String | ::Symbol) value) -> void + end + end + end + end +end + +module Google + module Protobuf + class DescriptorPool + def lookup: (::String name) -> ::Google::Protobuf::Descriptor + end + end +end diff --git a/temporalio/sig/temporalio/api/compute/v1/scaler.rbs b/temporalio/sig/temporalio/api/compute/v1/scaler.rbs new file mode 100644 index 00000000..60e3f63b --- /dev/null +++ b/temporalio/sig/temporalio/api/compute/v1/scaler.rbs @@ -0,0 +1,60 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# This RBS interface is provided for convenience, on a best-effort basis. +# The library is the definitive source for the API contract; if the RBS file +# and the library's behavior differ, the library behavior is authoritative. +# We welcome fixes to change the RBS file to match. +# source: temporal/api/compute/v1/scaler.proto + +module Temporalio + module Api + module Compute + module V1 + # ComputeScaler instructs the Temporal Service when to scale up or down the number of + # Workers that comprise a WorkerDeployment. + class ComputeScaler < ::Google::Protobuf::AbstractMessage + + # Type of the compute scaler. this string is implementation-specific and + # can be used by implementations to understand how to interpret the + # contents of the scaler_details field. + attr_reader type(): ::String + attr_writer type(): ::String | ::Symbol + def clear_type: () -> void + + # Contains scaler-specific instructions and configuration. + # For server-implemented scalers, use the SDK's default data + # converter to ensure the server can understand it. + # For remote-implemented scalers, you might use your own data + # converters according to what the remote endpoints understand. + attr_accessor details(): ::Temporalio::Api::Common::V1::Payload? + def has_details?: () -> bool + def clear_details: () -> void + + type init_map = { + type: (::String | ::Symbol)?, + "type" => (::String | ::Symbol)?, + details: (::Temporalio::Api::Common::V1::Payload | ::Temporalio::Api::Common::V1::Payload::init_map)?, + "details" => (::Temporalio::Api::Common::V1::Payload | ::Temporalio::Api::Common::V1::Payload::init_map)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("type" name) -> ::String + | ("details" name) -> ::Temporalio::Api::Common::V1::Payload? + + def []=: + ("type" name, (::String | ::Symbol) value) -> void + | ("details" name, ::Temporalio::Api::Common::V1::Payload? value) -> void + end + end + end + end +end + +module Google + module Protobuf + class DescriptorPool + def lookup: (::String name) -> ::Google::Protobuf::Descriptor + end + end +end diff --git a/temporalio/sig/temporalio/api/deployment/v1/message.rbs b/temporalio/sig/temporalio/api/deployment/v1/message.rbs index 23884687..36da18d1 100644 --- a/temporalio/sig/temporalio/api/deployment/v1/message.rbs +++ b/temporalio/sig/temporalio/api/deployment/v1/message.rbs @@ -10,7 +10,6 @@ module Temporalio module Deployment module V1 # Worker Deployment options set in SDK that need to be sent to server in every poll. - # Experimental. Worker Deployments are experimental and might significantly change in the future. class WorkerDeploymentOptions < ::Google::Protobuf::AbstractMessage # Required when `worker_versioning_mode==VERSIONED`. @@ -257,13 +256,12 @@ module Temporalio | ("is_current" name, bool value) -> void end - # A Worker Deployment Version (Version, for short) represents all workers of the same - # code and config within a Deployment. Workers of the same Version are expected to - # behave exactly the same so when executions move between them there are no + # A Worker Deployment Version (Version, for short) represents all workers of the same + # code and config within a Deployment. Workers of the same Version are expected to + # behave exactly the same so when executions move between them there are no # non-determinism issues. - # Worker Deployment Versions are created in Temporal server automatically when + # Worker Deployment Versions are created in Temporal server automatically when # their first poller arrives to the server. - # Experimental. Worker Deployments are experimental and might significantly change in the future. class WorkerDeploymentVersionInfo < ::Google::Protobuf::AbstractMessage class VersionTaskQueueInfo < ::Google::Protobuf::AbstractMessage @@ -311,6 +309,7 @@ module Temporalio def has_deployment_version?: () -> bool def clear_deployment_version: () -> void + # Deprecated. User deployment_version.deployment_name. attr_reader deployment_name(): ::String attr_writer deployment_name(): ::String | ::Symbol def clear_deployment_name: () -> void @@ -395,6 +394,21 @@ module Temporalio def has_metadata?: () -> bool def clear_metadata: () -> void + # Optional. Contains the new worker compute configuration for the Worker + # Deployment. Used for worker scale management. + attr_accessor compute_config(): ::Temporalio::Api::Compute::V1::ComputeConfig? + def has_compute_config?: () -> bool + def clear_compute_config: () -> void + + # Identity of the last client who modified the configuration of this Version. + # As of now, this field only covers changes through the following APIs: + # - `CreateWorkerDeploymentVersion` + # - `UpdateWorkerDeploymentVersionComputeConfig` + # - `UpdateWorkerDeploymentVersionMetadata` + attr_reader last_modifier_identity(): ::String + attr_writer last_modifier_identity(): ::String | ::Symbol + def clear_last_modifier_identity: () -> void + type init_map = { version: (::String | ::Symbol)?, "version" => (::String | ::Symbol)?, @@ -426,6 +440,10 @@ module Temporalio "drainage_info" => (::Temporalio::Api::Deployment::V1::VersionDrainageInfo | ::Temporalio::Api::Deployment::V1::VersionDrainageInfo::init_map)?, metadata: (::Temporalio::Api::Deployment::V1::VersionMetadata | ::Temporalio::Api::Deployment::V1::VersionMetadata::init_map)?, "metadata" => (::Temporalio::Api::Deployment::V1::VersionMetadata | ::Temporalio::Api::Deployment::V1::VersionMetadata::init_map)?, + compute_config: (::Temporalio::Api::Compute::V1::ComputeConfig | ::Temporalio::Api::Compute::V1::ComputeConfig::init_map)?, + "compute_config" => (::Temporalio::Api::Compute::V1::ComputeConfig | ::Temporalio::Api::Compute::V1::ComputeConfig::init_map)?, + last_modifier_identity: (::String | ::Symbol)?, + "last_modifier_identity" => (::String | ::Symbol)?, } def initialize: (?init_map initial_value) -> void @@ -446,6 +464,8 @@ module Temporalio | ("task_queue_infos" name) -> ::Google::Protobuf::RepeatedField | ("drainage_info" name) -> ::Temporalio::Api::Deployment::V1::VersionDrainageInfo? | ("metadata" name) -> ::Temporalio::Api::Deployment::V1::VersionMetadata? + | ("compute_config" name) -> ::Temporalio::Api::Compute::V1::ComputeConfig? + | ("last_modifier_identity" name) -> ::String def []=: ("version" name, (::String | ::Symbol) value) -> void @@ -463,11 +483,12 @@ module Temporalio | ("task_queue_infos" name, ::Google::Protobuf::RepeatedField value) -> void | ("drainage_info" name, ::Temporalio::Api::Deployment::V1::VersionDrainageInfo? value) -> void | ("metadata" name, ::Temporalio::Api::Deployment::V1::VersionMetadata? value) -> void + | ("compute_config" name, ::Temporalio::Api::Compute::V1::ComputeConfig? value) -> void + | ("last_modifier_identity" name, (::String | ::Symbol) value) -> void end # Information about workflow drainage to help the user determine when it is safe # to decommission a Version. Not present while version is current or ramping. - # Experimental. Worker Deployments are experimental and might significantly change in the future. class VersionDrainageInfo < ::Google::Protobuf::AbstractMessage # Set to DRAINING when the version first stops accepting new executions (is no longer current or ramping). @@ -511,14 +532,13 @@ module Temporalio | ("last_checked_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void end - # A Worker Deployment (Deployment, for short) represents all workers serving - # a shared set of Task Queues. Typically, a Deployment represents one service or + # A Worker Deployment (Deployment, for short) represents all workers serving + # a shared set of Task Queues. Typically, a Deployment represents one service or # application. - # A Deployment contains multiple Deployment Versions, each representing a different + # A Deployment contains multiple Deployment Versions, each representing a different # version of workers. (see documentation of WorkerDeploymentVersionInfo) # Deployment records are created in Temporal server automatically when their # first poller arrives to the server. - # Experimental. Worker Deployments are experimental and might significantly change in the future. class WorkerDeploymentInfo < ::Google::Protobuf::AbstractMessage class WorkerDeploymentVersionSummary < ::Google::Protobuf::AbstractMessage @@ -598,6 +618,10 @@ module Temporalio def has_last_deactivation_time?: () -> bool def clear_last_deactivation_time: () -> void + attr_accessor compute_config(): ::Temporalio::Api::Compute::V1::ComputeConfigSummary? + def has_compute_config?: () -> bool + def clear_compute_config: () -> void + type init_map = { version: (::String | ::Symbol)?, "version" => (::String | ::Symbol)?, @@ -623,6 +647,8 @@ module Temporalio "last_current_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, last_deactivation_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, "last_deactivation_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + compute_config: (::Temporalio::Api::Compute::V1::ComputeConfigSummary | ::Temporalio::Api::Compute::V1::ComputeConfigSummary::init_map)?, + "compute_config" => (::Temporalio::Api::Compute::V1::ComputeConfigSummary | ::Temporalio::Api::Compute::V1::ComputeConfigSummary::init_map)?, } def initialize: (?init_map initial_value) -> void @@ -640,6 +666,7 @@ module Temporalio | ("first_activation_time" name) -> ::Google::Protobuf::Timestamp? | ("last_current_time" name) -> ::Google::Protobuf::Timestamp? | ("last_deactivation_time" name) -> ::Google::Protobuf::Timestamp? + | ("compute_config" name) -> ::Temporalio::Api::Compute::V1::ComputeConfigSummary? def []=: ("version" name, (::String | ::Symbol) value) -> void @@ -654,6 +681,7 @@ module Temporalio | ("first_activation_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void | ("last_current_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void | ("last_deactivation_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void + | ("compute_config" name, ::Temporalio::Api::Compute::V1::ComputeConfigSummary? value) -> void end # Identifies a Worker Deployment. Must be unique within the namespace. @@ -664,8 +692,8 @@ module Temporalio # Deployment Versions that are currently tracked in this Deployment. A DeploymentVersion will be # cleaned up automatically if all the following conditions meet: # - It does not receive new executions (is not current or ramping) - # - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status) - # - It is drained (see WorkerDeploymentVersionInfo.drainage_status) + # - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status) + # - It is drained (see WorkerDeploymentVersionInfo.drainage_status) attr_accessor version_summaries(): ::Google::Protobuf::RepeatedField def clear_version_summaries: () -> void @@ -800,7 +828,7 @@ module Temporalio # Specifies which Deployment Version should receive new workflow executions and tasks of # existing unversioned or AutoUpgrade workflows. - # Nil value means no Version in this Deployment (except Ramping Version, if present) receives traffic other than tasks of previously Pinned workflows. In absence of a Current Version, remaining traffic after any ramp (if set) goes to unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.). + # Nil value means no Version in this Deployment (except Ramping Version, if present) receives traffic other than tasks of previously Pinned workflows. In absence of a Current Version, remaining traffic after any ramp (if set) goes to unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.). # Note: Current Version is overridden by the Ramping Version for a portion of traffic when ramp percentage # is non-zero (see `ramping_deployment_version` and `ramping_version_percentage`). attr_accessor current_deployment_version(): ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion? @@ -855,7 +883,7 @@ module Temporalio def has_ramping_version_percentage_changed_time?: () -> bool def clear_ramping_version_percentage_changed_time: () -> void - # Monotonically increasing value which is incremented on every mutation + # Monotonically increasing value which is incremented on every mutation # to any field of this message to achieve eventual consistency between task queues and their partitions. attr_reader revision_number(): ::Integer attr_writer revision_number(): ::Integer | ::Float @@ -907,8 +935,9 @@ module Temporalio | ("revision_number" name, (::Integer | ::Float) value) -> void end - # Used as part of WorkflowExecutionStartedEventAttributes to pass down the AutoUpgrade behavior and source deployment version + # Used as part of WorkflowExecutionStartedEventAttributes to pass down the AutoUpgrade behavior and source deployment version # to a workflow execution whose parent/previous workflow has an AutoUpgrade behavior. + # Also used for Upgrade-on-CaN behaviors AutoUpgrade and UseRampingVersion. class InheritedAutoUpgradeInfo < ::Google::Protobuf::AbstractMessage # The source deployment version of the parent/previous workflow. @@ -921,11 +950,27 @@ module Temporalio attr_writer source_deployment_revision_number(): ::Integer | ::Float def clear_source_deployment_revision_number: () -> void + # Experimental. + # If this workflow is the result of a continue-as-new, this field is set to the initial_versioning_behavior + # specified in that command. + # Only used for the initial task of this run and the initial task of any retries of this run. + # Not passed to children or to future continue-as-new. + # Note: In the first release of Upgrade-on-CaN, when the only ContinueAsNewVersioningBehavior was AutoUpgrade, + # a non-empty InheritedAutoUpgradeInfo meant that the workflow should start as AutoUpgrade. So for compatibility + # with history events generated during that time, know that an UNSPECIFIED value here is equivalent to AutoUpgrade + # value if the InheritedAutoUpgradeInfo is non-empty. + attr_reader continue_as_new_initial_versioning_behavior(): ::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::names | ::Integer + attr_writer continue_as_new_initial_versioning_behavior(): ::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::names | ::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::strings | ::Integer | ::Float + attr_reader continue_as_new_initial_versioning_behavior_const(): ::Integer + def clear_continue_as_new_initial_versioning_behavior: () -> void + type init_map = { source_deployment_version: (::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion | ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion::init_map)?, "source_deployment_version" => (::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion | ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion::init_map)?, source_deployment_revision_number: (::Integer | ::Float)?, "source_deployment_revision_number" => (::Integer | ::Float)?, + continue_as_new_initial_versioning_behavior: (::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::names | ::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::strings | ::Integer | ::Float)?, + "continue_as_new_initial_versioning_behavior" => (::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::names | ::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::strings | ::Integer | ::Float)?, } def initialize: (?init_map initial_value) -> void @@ -933,10 +978,12 @@ module Temporalio def []: ("source_deployment_version" name) -> ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion? | ("source_deployment_revision_number" name) -> ::Integer + | ("continue_as_new_initial_versioning_behavior" name) -> (::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::names | ::Integer) def []=: ("source_deployment_version" name, ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion? value) -> void | ("source_deployment_revision_number" name, (::Integer | ::Float) value) -> void + | ("continue_as_new_initial_versioning_behavior" name, (::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::names | ::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::strings | ::Integer | ::Float) value) -> void end end end diff --git a/temporalio/sig/temporalio/api/enums/v1/deployment.rbs b/temporalio/sig/temporalio/api/enums/v1/deployment.rbs index e4b13010..1a32c7a3 100644 --- a/temporalio/sig/temporalio/api/enums/v1/deployment.rbs +++ b/temporalio/sig/temporalio/api/enums/v1/deployment.rbs @@ -46,7 +46,6 @@ module Temporalio # aip.dev/not-precedent: Call this status because it is . --) # Specify the drainage status for a Worker Deployment Version so users can decide whether they # can safely decommission the version. - # Experimental. Worker Deployments are experimental and might significantly change in the future. module VersionDrainageStatus # Drainage Status is not specified. @@ -80,7 +79,6 @@ module Temporalio # - Whether or not Temporal Server considers this worker's version (Build ID) when dispatching # tasks to it. # - Whether or not the workflows processed by this worker are versioned using the worker's version. - # Experimental. Worker Deployments are experimental and might significantly change in the future. module WorkerVersioningMode WORKER_VERSIONING_MODE_UNSPECIFIED: 0 @@ -122,7 +120,6 @@ module Temporalio # (-- api-linter: core::0216::synonyms=disabled # aip.dev/not-precedent: Call this status because it is . --) # Specify the status of a Worker Deployment Version. - # Experimental. Worker Deployments are experimental and might significantly change in the future. module WorkerDeploymentVersionStatus WORKER_DEPLOYMENT_VERSION_STATUS_UNSPECIFIED: 0 @@ -150,17 +147,21 @@ module Temporalio # workflows are closed, they should decommission the version after it has been drained for that duration. WORKER_DEPLOYMENT_VERSION_STATUS_DRAINED: 5 + # The Worker Deployment Version is created by user (via `CreateWorkerDeploymentVersion` API) + # but server has not seen any poller for it yet. + WORKER_DEPLOYMENT_VERSION_STATUS_CREATED: 6 + def self.lookup: (::Integer number) -> ::Symbol def self.resolve: (::Symbol name) -> ::Integer - type names = :WORKER_DEPLOYMENT_VERSION_STATUS_UNSPECIFIED | :WORKER_DEPLOYMENT_VERSION_STATUS_INACTIVE | :WORKER_DEPLOYMENT_VERSION_STATUS_CURRENT | :WORKER_DEPLOYMENT_VERSION_STATUS_RAMPING | :WORKER_DEPLOYMENT_VERSION_STATUS_DRAINING | :WORKER_DEPLOYMENT_VERSION_STATUS_DRAINED + type names = :WORKER_DEPLOYMENT_VERSION_STATUS_UNSPECIFIED | :WORKER_DEPLOYMENT_VERSION_STATUS_INACTIVE | :WORKER_DEPLOYMENT_VERSION_STATUS_CURRENT | :WORKER_DEPLOYMENT_VERSION_STATUS_RAMPING | :WORKER_DEPLOYMENT_VERSION_STATUS_DRAINING | :WORKER_DEPLOYMENT_VERSION_STATUS_DRAINED | :WORKER_DEPLOYMENT_VERSION_STATUS_CREATED - type strings = "WORKER_DEPLOYMENT_VERSION_STATUS_UNSPECIFIED" | "WORKER_DEPLOYMENT_VERSION_STATUS_INACTIVE" | "WORKER_DEPLOYMENT_VERSION_STATUS_CURRENT" | "WORKER_DEPLOYMENT_VERSION_STATUS_RAMPING" | "WORKER_DEPLOYMENT_VERSION_STATUS_DRAINING" | "WORKER_DEPLOYMENT_VERSION_STATUS_DRAINED" + type strings = "WORKER_DEPLOYMENT_VERSION_STATUS_UNSPECIFIED" | "WORKER_DEPLOYMENT_VERSION_STATUS_INACTIVE" | "WORKER_DEPLOYMENT_VERSION_STATUS_CURRENT" | "WORKER_DEPLOYMENT_VERSION_STATUS_RAMPING" | "WORKER_DEPLOYMENT_VERSION_STATUS_DRAINING" | "WORKER_DEPLOYMENT_VERSION_STATUS_DRAINED" | "WORKER_DEPLOYMENT_VERSION_STATUS_CREATED" - type numbers = 0 | 1 | 2 | 3 | 4 | 5 + type numbers = 0 | 1 | 2 | 3 | 4 | 5 | 6 end end end diff --git a/temporalio/sig/temporalio/api/enums/v1/event_type.rbs b/temporalio/sig/temporalio/api/enums/v1/event_type.rbs index 190e5bac..00231a53 100644 --- a/temporalio/sig/temporalio/api/enums/v1/event_type.rbs +++ b/temporalio/sig/temporalio/api/enums/v1/event_type.rbs @@ -234,17 +234,20 @@ module Temporalio # An event that indicates that the previously paused workflow execution has been unpaused. EVENT_TYPE_WORKFLOW_EXECUTION_UNPAUSED: 59 + # An event that indicates time skipping advanced time or was disabled automatically after a bound was reached. + EVENT_TYPE_WORKFLOW_EXECUTION_TIME_SKIPPING_TRANSITIONED: 60 + def self.lookup: (::Integer number) -> ::Symbol def self.resolve: (::Symbol name) -> ::Integer - type names = :EVENT_TYPE_UNSPECIFIED | :EVENT_TYPE_WORKFLOW_EXECUTION_STARTED | :EVENT_TYPE_WORKFLOW_EXECUTION_COMPLETED | :EVENT_TYPE_WORKFLOW_EXECUTION_FAILED | :EVENT_TYPE_WORKFLOW_EXECUTION_TIMED_OUT | :EVENT_TYPE_WORKFLOW_TASK_SCHEDULED | :EVENT_TYPE_WORKFLOW_TASK_STARTED | :EVENT_TYPE_WORKFLOW_TASK_COMPLETED | :EVENT_TYPE_WORKFLOW_TASK_TIMED_OUT | :EVENT_TYPE_WORKFLOW_TASK_FAILED | :EVENT_TYPE_ACTIVITY_TASK_SCHEDULED | :EVENT_TYPE_ACTIVITY_TASK_STARTED | :EVENT_TYPE_ACTIVITY_TASK_COMPLETED | :EVENT_TYPE_ACTIVITY_TASK_FAILED | :EVENT_TYPE_ACTIVITY_TASK_TIMED_OUT | :EVENT_TYPE_ACTIVITY_TASK_CANCEL_REQUESTED | :EVENT_TYPE_ACTIVITY_TASK_CANCELED | :EVENT_TYPE_TIMER_STARTED | :EVENT_TYPE_TIMER_FIRED | :EVENT_TYPE_TIMER_CANCELED | :EVENT_TYPE_WORKFLOW_EXECUTION_CANCEL_REQUESTED | :EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED | :EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED | :EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED | :EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_CANCEL_REQUESTED | :EVENT_TYPE_MARKER_RECORDED | :EVENT_TYPE_WORKFLOW_EXECUTION_SIGNALED | :EVENT_TYPE_WORKFLOW_EXECUTION_TERMINATED | :EVENT_TYPE_WORKFLOW_EXECUTION_CONTINUED_AS_NEW | :EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_INITIATED | :EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_FAILED | :EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_STARTED | :EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_COMPLETED | :EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_FAILED | :EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_CANCELED | :EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TIMED_OUT | :EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TERMINATED | :EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED | :EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED | :EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_SIGNALED | :EVENT_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES | :EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ADMITTED | :EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ACCEPTED | :EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_REJECTED | :EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_COMPLETED | :EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED_EXTERNALLY | :EVENT_TYPE_ACTIVITY_PROPERTIES_MODIFIED_EXTERNALLY | :EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED | :EVENT_TYPE_NEXUS_OPERATION_SCHEDULED | :EVENT_TYPE_NEXUS_OPERATION_STARTED | :EVENT_TYPE_NEXUS_OPERATION_COMPLETED | :EVENT_TYPE_NEXUS_OPERATION_FAILED | :EVENT_TYPE_NEXUS_OPERATION_CANCELED | :EVENT_TYPE_NEXUS_OPERATION_TIMED_OUT | :EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUESTED | :EVENT_TYPE_WORKFLOW_EXECUTION_OPTIONS_UPDATED | :EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUEST_COMPLETED | :EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUEST_FAILED | :EVENT_TYPE_WORKFLOW_EXECUTION_PAUSED | :EVENT_TYPE_WORKFLOW_EXECUTION_UNPAUSED + type names = :EVENT_TYPE_UNSPECIFIED | :EVENT_TYPE_WORKFLOW_EXECUTION_STARTED | :EVENT_TYPE_WORKFLOW_EXECUTION_COMPLETED | :EVENT_TYPE_WORKFLOW_EXECUTION_FAILED | :EVENT_TYPE_WORKFLOW_EXECUTION_TIMED_OUT | :EVENT_TYPE_WORKFLOW_TASK_SCHEDULED | :EVENT_TYPE_WORKFLOW_TASK_STARTED | :EVENT_TYPE_WORKFLOW_TASK_COMPLETED | :EVENT_TYPE_WORKFLOW_TASK_TIMED_OUT | :EVENT_TYPE_WORKFLOW_TASK_FAILED | :EVENT_TYPE_ACTIVITY_TASK_SCHEDULED | :EVENT_TYPE_ACTIVITY_TASK_STARTED | :EVENT_TYPE_ACTIVITY_TASK_COMPLETED | :EVENT_TYPE_ACTIVITY_TASK_FAILED | :EVENT_TYPE_ACTIVITY_TASK_TIMED_OUT | :EVENT_TYPE_ACTIVITY_TASK_CANCEL_REQUESTED | :EVENT_TYPE_ACTIVITY_TASK_CANCELED | :EVENT_TYPE_TIMER_STARTED | :EVENT_TYPE_TIMER_FIRED | :EVENT_TYPE_TIMER_CANCELED | :EVENT_TYPE_WORKFLOW_EXECUTION_CANCEL_REQUESTED | :EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED | :EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED | :EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED | :EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_CANCEL_REQUESTED | :EVENT_TYPE_MARKER_RECORDED | :EVENT_TYPE_WORKFLOW_EXECUTION_SIGNALED | :EVENT_TYPE_WORKFLOW_EXECUTION_TERMINATED | :EVENT_TYPE_WORKFLOW_EXECUTION_CONTINUED_AS_NEW | :EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_INITIATED | :EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_FAILED | :EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_STARTED | :EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_COMPLETED | :EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_FAILED | :EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_CANCELED | :EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TIMED_OUT | :EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TERMINATED | :EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED | :EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED | :EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_SIGNALED | :EVENT_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES | :EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ADMITTED | :EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ACCEPTED | :EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_REJECTED | :EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_COMPLETED | :EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED_EXTERNALLY | :EVENT_TYPE_ACTIVITY_PROPERTIES_MODIFIED_EXTERNALLY | :EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED | :EVENT_TYPE_NEXUS_OPERATION_SCHEDULED | :EVENT_TYPE_NEXUS_OPERATION_STARTED | :EVENT_TYPE_NEXUS_OPERATION_COMPLETED | :EVENT_TYPE_NEXUS_OPERATION_FAILED | :EVENT_TYPE_NEXUS_OPERATION_CANCELED | :EVENT_TYPE_NEXUS_OPERATION_TIMED_OUT | :EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUESTED | :EVENT_TYPE_WORKFLOW_EXECUTION_OPTIONS_UPDATED | :EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUEST_COMPLETED | :EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUEST_FAILED | :EVENT_TYPE_WORKFLOW_EXECUTION_PAUSED | :EVENT_TYPE_WORKFLOW_EXECUTION_UNPAUSED | :EVENT_TYPE_WORKFLOW_EXECUTION_TIME_SKIPPING_TRANSITIONED - type strings = "EVENT_TYPE_UNSPECIFIED" | "EVENT_TYPE_WORKFLOW_EXECUTION_STARTED" | "EVENT_TYPE_WORKFLOW_EXECUTION_COMPLETED" | "EVENT_TYPE_WORKFLOW_EXECUTION_FAILED" | "EVENT_TYPE_WORKFLOW_EXECUTION_TIMED_OUT" | "EVENT_TYPE_WORKFLOW_TASK_SCHEDULED" | "EVENT_TYPE_WORKFLOW_TASK_STARTED" | "EVENT_TYPE_WORKFLOW_TASK_COMPLETED" | "EVENT_TYPE_WORKFLOW_TASK_TIMED_OUT" | "EVENT_TYPE_WORKFLOW_TASK_FAILED" | "EVENT_TYPE_ACTIVITY_TASK_SCHEDULED" | "EVENT_TYPE_ACTIVITY_TASK_STARTED" | "EVENT_TYPE_ACTIVITY_TASK_COMPLETED" | "EVENT_TYPE_ACTIVITY_TASK_FAILED" | "EVENT_TYPE_ACTIVITY_TASK_TIMED_OUT" | "EVENT_TYPE_ACTIVITY_TASK_CANCEL_REQUESTED" | "EVENT_TYPE_ACTIVITY_TASK_CANCELED" | "EVENT_TYPE_TIMER_STARTED" | "EVENT_TYPE_TIMER_FIRED" | "EVENT_TYPE_TIMER_CANCELED" | "EVENT_TYPE_WORKFLOW_EXECUTION_CANCEL_REQUESTED" | "EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED" | "EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED" | "EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED" | "EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_CANCEL_REQUESTED" | "EVENT_TYPE_MARKER_RECORDED" | "EVENT_TYPE_WORKFLOW_EXECUTION_SIGNALED" | "EVENT_TYPE_WORKFLOW_EXECUTION_TERMINATED" | "EVENT_TYPE_WORKFLOW_EXECUTION_CONTINUED_AS_NEW" | "EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_INITIATED" | "EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_FAILED" | "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_STARTED" | "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_COMPLETED" | "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_FAILED" | "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_CANCELED" | "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TIMED_OUT" | "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TERMINATED" | "EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED" | "EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED" | "EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_SIGNALED" | "EVENT_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES" | "EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ADMITTED" | "EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ACCEPTED" | "EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_REJECTED" | "EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_COMPLETED" | "EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED_EXTERNALLY" | "EVENT_TYPE_ACTIVITY_PROPERTIES_MODIFIED_EXTERNALLY" | "EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED" | "EVENT_TYPE_NEXUS_OPERATION_SCHEDULED" | "EVENT_TYPE_NEXUS_OPERATION_STARTED" | "EVENT_TYPE_NEXUS_OPERATION_COMPLETED" | "EVENT_TYPE_NEXUS_OPERATION_FAILED" | "EVENT_TYPE_NEXUS_OPERATION_CANCELED" | "EVENT_TYPE_NEXUS_OPERATION_TIMED_OUT" | "EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUESTED" | "EVENT_TYPE_WORKFLOW_EXECUTION_OPTIONS_UPDATED" | "EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUEST_COMPLETED" | "EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUEST_FAILED" | "EVENT_TYPE_WORKFLOW_EXECUTION_PAUSED" | "EVENT_TYPE_WORKFLOW_EXECUTION_UNPAUSED" + type strings = "EVENT_TYPE_UNSPECIFIED" | "EVENT_TYPE_WORKFLOW_EXECUTION_STARTED" | "EVENT_TYPE_WORKFLOW_EXECUTION_COMPLETED" | "EVENT_TYPE_WORKFLOW_EXECUTION_FAILED" | "EVENT_TYPE_WORKFLOW_EXECUTION_TIMED_OUT" | "EVENT_TYPE_WORKFLOW_TASK_SCHEDULED" | "EVENT_TYPE_WORKFLOW_TASK_STARTED" | "EVENT_TYPE_WORKFLOW_TASK_COMPLETED" | "EVENT_TYPE_WORKFLOW_TASK_TIMED_OUT" | "EVENT_TYPE_WORKFLOW_TASK_FAILED" | "EVENT_TYPE_ACTIVITY_TASK_SCHEDULED" | "EVENT_TYPE_ACTIVITY_TASK_STARTED" | "EVENT_TYPE_ACTIVITY_TASK_COMPLETED" | "EVENT_TYPE_ACTIVITY_TASK_FAILED" | "EVENT_TYPE_ACTIVITY_TASK_TIMED_OUT" | "EVENT_TYPE_ACTIVITY_TASK_CANCEL_REQUESTED" | "EVENT_TYPE_ACTIVITY_TASK_CANCELED" | "EVENT_TYPE_TIMER_STARTED" | "EVENT_TYPE_TIMER_FIRED" | "EVENT_TYPE_TIMER_CANCELED" | "EVENT_TYPE_WORKFLOW_EXECUTION_CANCEL_REQUESTED" | "EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED" | "EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED" | "EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED" | "EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_CANCEL_REQUESTED" | "EVENT_TYPE_MARKER_RECORDED" | "EVENT_TYPE_WORKFLOW_EXECUTION_SIGNALED" | "EVENT_TYPE_WORKFLOW_EXECUTION_TERMINATED" | "EVENT_TYPE_WORKFLOW_EXECUTION_CONTINUED_AS_NEW" | "EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_INITIATED" | "EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_FAILED" | "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_STARTED" | "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_COMPLETED" | "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_FAILED" | "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_CANCELED" | "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TIMED_OUT" | "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TERMINATED" | "EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED" | "EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED" | "EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_SIGNALED" | "EVENT_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES" | "EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ADMITTED" | "EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ACCEPTED" | "EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_REJECTED" | "EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_COMPLETED" | "EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED_EXTERNALLY" | "EVENT_TYPE_ACTIVITY_PROPERTIES_MODIFIED_EXTERNALLY" | "EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED" | "EVENT_TYPE_NEXUS_OPERATION_SCHEDULED" | "EVENT_TYPE_NEXUS_OPERATION_STARTED" | "EVENT_TYPE_NEXUS_OPERATION_COMPLETED" | "EVENT_TYPE_NEXUS_OPERATION_FAILED" | "EVENT_TYPE_NEXUS_OPERATION_CANCELED" | "EVENT_TYPE_NEXUS_OPERATION_TIMED_OUT" | "EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUESTED" | "EVENT_TYPE_WORKFLOW_EXECUTION_OPTIONS_UPDATED" | "EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUEST_COMPLETED" | "EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUEST_FAILED" | "EVENT_TYPE_WORKFLOW_EXECUTION_PAUSED" | "EVENT_TYPE_WORKFLOW_EXECUTION_UNPAUSED" | "EVENT_TYPE_WORKFLOW_EXECUTION_TIME_SKIPPING_TRANSITIONED" - type numbers = 0 | 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 | 47 | 41 | 42 | 43 | 44 | 45 | 46 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 + type numbers = 0 | 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 | 47 | 41 | 42 | 43 | 44 | 45 | 46 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 end end end diff --git a/temporalio/sig/temporalio/api/enums/v1/nexus.rbs b/temporalio/sig/temporalio/api/enums/v1/nexus.rbs index 5ac70e2a..93f1b49c 100644 --- a/temporalio/sig/temporalio/api/enums/v1/nexus.rbs +++ b/temporalio/sig/temporalio/api/enums/v1/nexus.rbs @@ -34,6 +34,130 @@ module Temporalio type numbers = 0 | 1 | 2 end + + # Status of a standalone Nexus operation execution. + # The status is updated once, when the operation is originally scheduled, and again when the + # operation reaches a terminal status. + # (-- api-linter: core::0216::synonyms=disabled + # aip.dev/not-precedent: Named consistently with WorkflowExecutionStatus. --) + module NexusOperationExecutionStatus + + NEXUS_OPERATION_EXECUTION_STATUS_UNSPECIFIED: 0 + + # The operation is not in a terminal status. The operation may be attempting to start, + # backing off between attempts, or already started. + NEXUS_OPERATION_EXECUTION_STATUS_RUNNING: 1 + + # The operation completed successfully. + NEXUS_OPERATION_EXECUTION_STATUS_COMPLETED: 2 + + # The operation completed with failure. + NEXUS_OPERATION_EXECUTION_STATUS_FAILED: 3 + + # The operation completed as canceled. + # Requesting to cancel an operation does not automatically transition the operation to canceled status, depending + # on the current operation status and the cancelation type used. + NEXUS_OPERATION_EXECUTION_STATUS_CANCELED: 4 + + # The operation was terminated. Termination happens immediately without notifying the handler. + NEXUS_OPERATION_EXECUTION_STATUS_TERMINATED: 5 + + # The operation has timed out by reaching one of the specified timeouts. + NEXUS_OPERATION_EXECUTION_STATUS_TIMED_OUT: 6 + + def self.lookup: (::Integer number) -> ::Symbol + + + def self.resolve: (::Symbol name) -> ::Integer + + + type names = :NEXUS_OPERATION_EXECUTION_STATUS_UNSPECIFIED | :NEXUS_OPERATION_EXECUTION_STATUS_RUNNING | :NEXUS_OPERATION_EXECUTION_STATUS_COMPLETED | :NEXUS_OPERATION_EXECUTION_STATUS_FAILED | :NEXUS_OPERATION_EXECUTION_STATUS_CANCELED | :NEXUS_OPERATION_EXECUTION_STATUS_TERMINATED | :NEXUS_OPERATION_EXECUTION_STATUS_TIMED_OUT + + type strings = "NEXUS_OPERATION_EXECUTION_STATUS_UNSPECIFIED" | "NEXUS_OPERATION_EXECUTION_STATUS_RUNNING" | "NEXUS_OPERATION_EXECUTION_STATUS_COMPLETED" | "NEXUS_OPERATION_EXECUTION_STATUS_FAILED" | "NEXUS_OPERATION_EXECUTION_STATUS_CANCELED" | "NEXUS_OPERATION_EXECUTION_STATUS_TERMINATED" | "NEXUS_OPERATION_EXECUTION_STATUS_TIMED_OUT" + + type numbers = 0 | 1 | 2 | 3 | 4 | 5 | 6 + end + + # Stage that can be specified when waiting on a nexus operation. + module NexusOperationWaitStage + + NEXUS_OPERATION_WAIT_STAGE_UNSPECIFIED: 0 + + # Wait for the operation to be started. + NEXUS_OPERATION_WAIT_STAGE_STARTED: 1 + + # Wait for the operation to be in a terminal state, either successful or unsuccessful. + NEXUS_OPERATION_WAIT_STAGE_CLOSED: 2 + + def self.lookup: (::Integer number) -> ::Symbol + + + def self.resolve: (::Symbol name) -> ::Integer + + + type names = :NEXUS_OPERATION_WAIT_STAGE_UNSPECIFIED | :NEXUS_OPERATION_WAIT_STAGE_STARTED | :NEXUS_OPERATION_WAIT_STAGE_CLOSED + + type strings = "NEXUS_OPERATION_WAIT_STAGE_UNSPECIFIED" | "NEXUS_OPERATION_WAIT_STAGE_STARTED" | "NEXUS_OPERATION_WAIT_STAGE_CLOSED" + + type numbers = 0 | 1 | 2 + end + + # Defines whether to allow re-using an operation ID from a previously *closed* Nexus operation. + # If the request is denied, the server returns a `NexusOperationAlreadyStarted` error. + # See `NexusOperationIdConflictPolicy` for handling ID duplication with a *running* operation. + module NexusOperationIdReusePolicy + + NEXUS_OPERATION_ID_REUSE_POLICY_UNSPECIFIED: 0 + + # Always allow starting an operation using the same operation ID. + NEXUS_OPERATION_ID_REUSE_POLICY_ALLOW_DUPLICATE: 1 + + # Allow starting an operation using the same ID only when the last operation's final state is one + # of {failed, canceled, terminated, timed out}. + NEXUS_OPERATION_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY: 2 + + # Do not permit re-use of the ID for this operation. Future start requests could potentially change the policy, + # allowing re-use of the ID. + NEXUS_OPERATION_ID_REUSE_POLICY_REJECT_DUPLICATE: 3 + + def self.lookup: (::Integer number) -> ::Symbol + + + def self.resolve: (::Symbol name) -> ::Integer + + + type names = :NEXUS_OPERATION_ID_REUSE_POLICY_UNSPECIFIED | :NEXUS_OPERATION_ID_REUSE_POLICY_ALLOW_DUPLICATE | :NEXUS_OPERATION_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY | :NEXUS_OPERATION_ID_REUSE_POLICY_REJECT_DUPLICATE + + type strings = "NEXUS_OPERATION_ID_REUSE_POLICY_UNSPECIFIED" | "NEXUS_OPERATION_ID_REUSE_POLICY_ALLOW_DUPLICATE" | "NEXUS_OPERATION_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY" | "NEXUS_OPERATION_ID_REUSE_POLICY_REJECT_DUPLICATE" + + type numbers = 0 | 1 | 2 | 3 + end + + # Defines what to do when trying to start a Nexus operation with the same ID as a *running* operation. + # Note that it is *never* valid to have two running instances of the same operation ID. + # See `NexusOperationIdReusePolicy` for handling operation ID duplication with a *closed* operation. + module NexusOperationIdConflictPolicy + + NEXUS_OPERATION_ID_CONFLICT_POLICY_UNSPECIFIED: 0 + + # Don't start a new operation; instead return `NexusOperationAlreadyStarted` error. + NEXUS_OPERATION_ID_CONFLICT_POLICY_FAIL: 1 + + # Don't start a new operation; instead return a handle for the running operation. + NEXUS_OPERATION_ID_CONFLICT_POLICY_USE_EXISTING: 2 + + def self.lookup: (::Integer number) -> ::Symbol + + + def self.resolve: (::Symbol name) -> ::Integer + + + type names = :NEXUS_OPERATION_ID_CONFLICT_POLICY_UNSPECIFIED | :NEXUS_OPERATION_ID_CONFLICT_POLICY_FAIL | :NEXUS_OPERATION_ID_CONFLICT_POLICY_USE_EXISTING + + type strings = "NEXUS_OPERATION_ID_CONFLICT_POLICY_UNSPECIFIED" | "NEXUS_OPERATION_ID_CONFLICT_POLICY_FAIL" | "NEXUS_OPERATION_ID_CONFLICT_POLICY_USE_EXISTING" + + type numbers = 0 | 1 | 2 + end end end end diff --git a/temporalio/sig/temporalio/api/enums/v1/task_queue.rbs b/temporalio/sig/temporalio/api/enums/v1/task_queue.rbs index 5949fbda..818180f2 100644 --- a/temporalio/sig/temporalio/api/enums/v1/task_queue.rbs +++ b/temporalio/sig/temporalio/api/enums/v1/task_queue.rbs @@ -31,17 +31,23 @@ module Temporalio # Sticky queues are only for workflow tasks. There are no sticky task queues for activities. TASK_QUEUE_KIND_STICKY: 2 + # A worker-commands task queue is used for server-to-worker communication (e.g. activity + # cancellations). These queues are ephemeral and per-worker-process — they exist only for + # the lifetime of the worker process. Used with TASK_QUEUE_TYPE_NEXUS and polled via + # PollNexusTaskQueue. + TASK_QUEUE_KIND_WORKER_COMMANDS: 3 + def self.lookup: (::Integer number) -> ::Symbol def self.resolve: (::Symbol name) -> ::Integer - type names = :TASK_QUEUE_KIND_UNSPECIFIED | :TASK_QUEUE_KIND_NORMAL | :TASK_QUEUE_KIND_STICKY + type names = :TASK_QUEUE_KIND_UNSPECIFIED | :TASK_QUEUE_KIND_NORMAL | :TASK_QUEUE_KIND_STICKY | :TASK_QUEUE_KIND_WORKER_COMMANDS - type strings = "TASK_QUEUE_KIND_UNSPECIFIED" | "TASK_QUEUE_KIND_NORMAL" | "TASK_QUEUE_KIND_STICKY" + type strings = "TASK_QUEUE_KIND_UNSPECIFIED" | "TASK_QUEUE_KIND_NORMAL" | "TASK_QUEUE_KIND_STICKY" | "TASK_QUEUE_KIND_WORKER_COMMANDS" - type numbers = 0 | 1 | 2 + type numbers = 0 | 1 | 2 | 3 end module TaskQueueType diff --git a/temporalio/sig/temporalio/api/enums/v1/workflow.rbs b/temporalio/sig/temporalio/api/enums/v1/workflow.rbs index 93df754f..bb74da9b 100644 --- a/temporalio/sig/temporalio/api/enums/v1/workflow.rbs +++ b/temporalio/sig/temporalio/api/enums/v1/workflow.rbs @@ -297,7 +297,6 @@ module Temporalio # Versions. The Versioning Behavior of a workflow execution is typically specified by the worker # who completes the first task of the execution, but is also overridable manually for new and # existing workflows (see VersioningOverride). - # Experimental. Worker Deployments are experimental and might significantly change in the future. module VersioningBehavior # Workflow execution does not have a Versioning Behavior and is called Unversioned. This is the @@ -360,27 +359,40 @@ module Temporalio CONTINUE_AS_NEW_VERSIONING_BEHAVIOR_UNSPECIFIED: 0 + # Experimental. # Start the new run with AutoUpgrade behavior. Use the Target Version of the workflow's task queue at # start-time, as AutoUpgrade workflows do. After the first workflow task completes, use whatever # Versioning Behavior the workflow is annotated with in the workflow code. - # Note that if the previous workflow had a Pinned override, that override will be inherited by the + # Note that if the workflow being continued has a Pinned override, that override will be inherited by the # new workflow run regardless of the ContinueAsNewVersioningBehavior specified in the continue-as-new - # command. If a Pinned override is inherited by the new run, and the new run starts with AutoUpgrade - # behavior, the base version of the new run will be the Target Version as described above, but the - # effective version will be whatever is specified by the Versioning Override until the override is removed. + # command. Versioning Override always takes precedence until it's removed manually via UpdateWorkflowExecutionOptions. CONTINUE_AS_NEW_VERSIONING_BEHAVIOR_AUTO_UPGRADE: 1 + # Experimental. + # Use the Ramping Version of the workflow's task queue at start time, regardless of the workflow's + # Target Version (according to f(workflow_id, ramp_percentage)). After the first workflow task completes, + # the workflow will use whatever Versioning Behavior it is annotated with. If there is no Ramping + # Version by the time that the first workflow task is dispatched, it will be sent to the Current Version. + # It is highly discouraged to use this if the workflow is annotated with AutoUpgrade behavior, because + # this setting ONLY applies to the first task of the workflow. If, after the first task, the workflow + # is AutoUpgrade, it will behave like a normal AutoUpgrade workflow and go to the Target Version, which + # may be the Current Version instead of the Ramping Version. + # Note that if the workflow being continued has a Pinned override, that override will be inherited by the + # new workflow run regardless of the ContinueAsNewVersioningBehavior specified in the continue-as-new + # command. Versioning Override always takes precedence until it's removed manually via UpdateWorkflowExecutionOptions. + CONTINUE_AS_NEW_VERSIONING_BEHAVIOR_USE_RAMPING_VERSION: 2 + def self.lookup: (::Integer number) -> ::Symbol def self.resolve: (::Symbol name) -> ::Integer - type names = :CONTINUE_AS_NEW_VERSIONING_BEHAVIOR_UNSPECIFIED | :CONTINUE_AS_NEW_VERSIONING_BEHAVIOR_AUTO_UPGRADE + type names = :CONTINUE_AS_NEW_VERSIONING_BEHAVIOR_UNSPECIFIED | :CONTINUE_AS_NEW_VERSIONING_BEHAVIOR_AUTO_UPGRADE | :CONTINUE_AS_NEW_VERSIONING_BEHAVIOR_USE_RAMPING_VERSION - type strings = "CONTINUE_AS_NEW_VERSIONING_BEHAVIOR_UNSPECIFIED" | "CONTINUE_AS_NEW_VERSIONING_BEHAVIOR_AUTO_UPGRADE" + type strings = "CONTINUE_AS_NEW_VERSIONING_BEHAVIOR_UNSPECIFIED" | "CONTINUE_AS_NEW_VERSIONING_BEHAVIOR_AUTO_UPGRADE" | "CONTINUE_AS_NEW_VERSIONING_BEHAVIOR_USE_RAMPING_VERSION" - type numbers = 0 | 1 + type numbers = 0 | 1 | 2 end # SuggestContinueAsNewReason specifies why SuggestContinueAsNew is true. diff --git a/temporalio/sig/temporalio/api/errordetails/v1/message.rbs b/temporalio/sig/temporalio/api/errordetails/v1/message.rbs index 15514b98..adfd1995 100644 --- a/temporalio/sig/temporalio/api/errordetails/v1/message.rbs +++ b/temporalio/sig/temporalio/api/errordetails/v1/message.rbs @@ -487,6 +487,37 @@ module Temporalio ("start_request_id" name, (::String | ::Symbol) value) -> void | ("run_id" name, (::String | ::Symbol) value) -> void end + + # An error indicating that a Nexus operation failed to start. Returned when there is an existing operation with the + # given operation ID, and the given ID reuse and conflict policies do not permit starting a new one or attaching to an + # existing one. + class NexusOperationExecutionAlreadyStartedFailure < ::Google::Protobuf::AbstractMessage + + attr_reader start_request_id(): ::String + attr_writer start_request_id(): ::String | ::Symbol + def clear_start_request_id: () -> void + + attr_reader run_id(): ::String + attr_writer run_id(): ::String | ::Symbol + def clear_run_id: () -> void + + type init_map = { + start_request_id: (::String | ::Symbol)?, + "start_request_id" => (::String | ::Symbol)?, + run_id: (::String | ::Symbol)?, + "run_id" => (::String | ::Symbol)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("start_request_id" name) -> ::String + | ("run_id" name) -> ::String + + def []=: + ("start_request_id" name, (::String | ::Symbol) value) -> void + | ("run_id" name, (::String | ::Symbol) value) -> void + end end end end diff --git a/temporalio/sig/temporalio/api/failure/v1/message.rbs b/temporalio/sig/temporalio/api/failure/v1/message.rbs index d3968a0b..a0fdcf5b 100644 --- a/temporalio/sig/temporalio/api/failure/v1/message.rbs +++ b/temporalio/sig/temporalio/api/failure/v1/message.rbs @@ -101,26 +101,48 @@ module Temporalio def has_details?: () -> bool def clear_details: () -> void + # The identity of the worker or client that requested the cancellation. + attr_reader identity(): ::String + attr_writer identity(): ::String | ::Symbol + def clear_identity: () -> void + type init_map = { details: (::Temporalio::Api::Common::V1::Payloads | ::Temporalio::Api::Common::V1::Payloads::init_map)?, "details" => (::Temporalio::Api::Common::V1::Payloads | ::Temporalio::Api::Common::V1::Payloads::init_map)?, + identity: (::String | ::Symbol)?, + "identity" => (::String | ::Symbol)?, } def initialize: (?init_map initial_value) -> void def []: ("details" name) -> ::Temporalio::Api::Common::V1::Payloads? + | ("identity" name) -> ::String def []=: ("details" name, ::Temporalio::Api::Common::V1::Payloads? value) -> void + | ("identity" name, (::String | ::Symbol) value) -> void end class TerminatedFailureInfo < ::Google::Protobuf::AbstractMessage + # The identity of the worker or client that requested the termination. + attr_reader identity(): ::String + attr_writer identity(): ::String | ::Symbol + def clear_identity: () -> void + type init_map = { + identity: (::String | ::Symbol)?, + "identity" => (::String | ::Symbol)?, } def initialize: (?init_map initial_value) -> void + + def []: + ("identity" name) -> ::String + + def []=: + ("identity" name, (::String | ::Symbol) value) -> void end class ServerFailureInfo < ::Google::Protobuf::AbstractMessage diff --git a/temporalio/sig/temporalio/api/history/v1/message.rbs b/temporalio/sig/temporalio/api/history/v1/message.rbs index f7096f6b..b8a3632f 100644 --- a/temporalio/sig/temporalio/api/history/v1/message.rbs +++ b/temporalio/sig/temporalio/api/history/v1/message.rbs @@ -284,6 +284,22 @@ module Temporalio def has_declined_target_version_upgrade?: () -> bool def clear_declined_target_version_upgrade: () -> void + # Initial time-skipping configuration for this workflow execution, recorded at start time. + # This may have been set explicitly via the start workflow request, or propagated from a + # parent/previous execution. + # The configuration may be updated after start via UpdateWorkflowExecutionOptions, which + # will be reflected in the WorkflowExecutionOptionsUpdatedEvent. + attr_accessor time_skipping_config(): ::Temporalio::Api::Workflow::V1::TimeSkippingConfig? + def has_time_skipping_config?: () -> bool + def clear_time_skipping_config: () -> void + + # The time skipped by the previous execution that started this workflow. + # It can happen in cases of child workflows and continue-as-new workflows. + attr_reader initial_skipped_duration(): ::Google::Protobuf::Duration? + attr_writer initial_skipped_duration(): (::Google::Protobuf::Duration | ::int)? + def has_initial_skipped_duration?: () -> bool + def clear_initial_skipped_duration: () -> void + type init_map = { workflow_type: (::Temporalio::Api::Common::V1::WorkflowType | ::Temporalio::Api::Common::V1::WorkflowType::init_map)?, "workflow_type" => (::Temporalio::Api::Common::V1::WorkflowType | ::Temporalio::Api::Common::V1::WorkflowType::init_map)?, @@ -363,6 +379,10 @@ module Temporalio "eager_execution_accepted" => bool?, declined_target_version_upgrade: (::Temporalio::Api::History::V1::DeclinedTargetVersionUpgrade | ::Temporalio::Api::History::V1::DeclinedTargetVersionUpgrade::init_map)?, "declined_target_version_upgrade" => (::Temporalio::Api::History::V1::DeclinedTargetVersionUpgrade | ::Temporalio::Api::History::V1::DeclinedTargetVersionUpgrade::init_map)?, + time_skipping_config: (::Temporalio::Api::Workflow::V1::TimeSkippingConfig | ::Temporalio::Api::Workflow::V1::TimeSkippingConfig::init_map)?, + "time_skipping_config" => (::Temporalio::Api::Workflow::V1::TimeSkippingConfig | ::Temporalio::Api::Workflow::V1::TimeSkippingConfig::init_map)?, + initial_skipped_duration: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?, + "initial_skipped_duration" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?, } def initialize: (?init_map initial_value) -> void @@ -407,6 +427,8 @@ module Temporalio | ("inherited_auto_upgrade_info" name) -> ::Temporalio::Api::Deployment::V1::InheritedAutoUpgradeInfo? | ("eager_execution_accepted" name) -> bool | ("declined_target_version_upgrade" name) -> ::Temporalio::Api::History::V1::DeclinedTargetVersionUpgrade? + | ("time_skipping_config" name) -> ::Temporalio::Api::Workflow::V1::TimeSkippingConfig? + | ("initial_skipped_duration" name) -> ::Google::Protobuf::Duration? def []=: ("workflow_type" name, ::Temporalio::Api::Common::V1::WorkflowType? value) -> void @@ -448,6 +470,8 @@ module Temporalio | ("inherited_auto_upgrade_info" name, ::Temporalio::Api::Deployment::V1::InheritedAutoUpgradeInfo? value) -> void | ("eager_execution_accepted" name, bool value) -> void | ("declined_target_version_upgrade" name, ::Temporalio::Api::History::V1::DeclinedTargetVersionUpgrade? value) -> void + | ("time_skipping_config" name, ::Temporalio::Api::Workflow::V1::TimeSkippingConfig? value) -> void + | ("initial_skipped_duration" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void end # Wrapper for a target deployment version that the SDK declined to upgrade to. @@ -458,18 +482,30 @@ module Temporalio def has_deployment_version?: () -> bool def clear_deployment_version: () -> void + # Revision number of the task queue routing config at the time the target + # was declined. If an incoming target's revision is <= this value, it is + # not newer and is not used for deciding whether or not to suppress the + # upgrade signal. + attr_reader revision_number(): ::Integer + attr_writer revision_number(): ::Integer | ::Float + def clear_revision_number: () -> void + type init_map = { deployment_version: (::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion | ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion::init_map)?, "deployment_version" => (::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion | ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion::init_map)?, + revision_number: (::Integer | ::Float)?, + "revision_number" => (::Integer | ::Float)?, } def initialize: (?init_map initial_value) -> void def []: ("deployment_version" name) -> ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion? + | ("revision_number" name) -> ::Integer def []=: ("deployment_version" name, ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion? value) -> void + | ("revision_number" name, (::Integer | ::Float) value) -> void end class WorkflowExecutionCompletedEventAttributes < ::Google::Protobuf::AbstractMessage @@ -964,7 +1000,6 @@ module Temporalio # The Worker Deployment Version that completed this task. Must be set if `versioning_behavior` # is set. This value updates workflow execution's `versioning_info.version`. - # Experimental. Worker Deployments are experimental and might significantly change in the future. # Deprecated. Replaced with `deployment_version`. # @deprecated attr_reader worker_deployment_version(): ::String @@ -973,14 +1008,12 @@ module Temporalio # The name of Worker Deployment that completed this task. Must be set if `versioning_behavior` # is set. This value updates workflow execution's `worker_deployment_name`. - # Experimental. Worker Deployments are experimental and might significantly change in the future. attr_reader worker_deployment_name(): ::String attr_writer worker_deployment_name(): ::String | ::Symbol def clear_worker_deployment_name: () -> void # The Worker Deployment Version that completed this task. Must be set if `versioning_behavior` # is set. This value updates workflow execution's `versioning_info.deployment_version`. - # Experimental. Worker Deployments are experimental and might significantly change in the future. attr_accessor deployment_version(): ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion? def has_deployment_version?: () -> bool def clear_deployment_version: () -> void @@ -1984,6 +2017,12 @@ module Temporalio def has_external_workflow_execution?: () -> bool def clear_external_workflow_execution: () -> void + # The request ID of the Signal request, used by the server to attach this to + # the correct Event ID when generating link. + attr_reader request_id(): ::String + attr_writer request_id(): ::String | ::Symbol + def clear_request_id: () -> void + type init_map = { signal_name: (::String | ::Symbol)?, "signal_name" => (::String | ::Symbol)?, @@ -1997,6 +2036,8 @@ module Temporalio "skip_generate_workflow_task" => bool?, external_workflow_execution: (::Temporalio::Api::Common::V1::WorkflowExecution | ::Temporalio::Api::Common::V1::WorkflowExecution::init_map)?, "external_workflow_execution" => (::Temporalio::Api::Common::V1::WorkflowExecution | ::Temporalio::Api::Common::V1::WorkflowExecution::init_map)?, + request_id: (::String | ::Symbol)?, + "request_id" => (::String | ::Symbol)?, } def initialize: (?init_map initial_value) -> void @@ -2008,6 +2049,7 @@ module Temporalio | ("header" name) -> ::Temporalio::Api::Common::V1::Header? | ("skip_generate_workflow_task" name) -> bool | ("external_workflow_execution" name) -> ::Temporalio::Api::Common::V1::WorkflowExecution? + | ("request_id" name) -> ::String def []=: ("signal_name" name, (::String | ::Symbol) value) -> void @@ -2016,6 +2058,7 @@ module Temporalio | ("header" name, ::Temporalio::Api::Common::V1::Header? value) -> void | ("skip_generate_workflow_task" name, bool value) -> void | ("external_workflow_execution" name, ::Temporalio::Api::Common::V1::WorkflowExecution? value) -> void + | ("request_id" name, (::String | ::Symbol) value) -> void end class WorkflowExecutionTerminatedEventAttributes < ::Google::Protobuf::AbstractMessage @@ -2641,6 +2684,17 @@ module Temporalio def has_priority?: () -> bool def clear_priority: () -> void + # The propagated time-skipping configuration for the child workflow. + attr_accessor time_skipping_config(): ::Temporalio::Api::Workflow::V1::TimeSkippingConfig? + def has_time_skipping_config?: () -> bool + def clear_time_skipping_config: () -> void + + # Propagate the duration skipped to the child workflow. + attr_reader initial_skipped_duration(): ::Google::Protobuf::Duration? + attr_writer initial_skipped_duration(): (::Google::Protobuf::Duration | ::int)? + def has_initial_skipped_duration?: () -> bool + def clear_initial_skipped_duration: () -> void + type init_map = { namespace: (::String | ::Symbol)?, "namespace" => (::String | ::Symbol)?, @@ -2682,6 +2736,10 @@ module Temporalio "inherit_build_id" => bool?, priority: (::Temporalio::Api::Common::V1::Priority | ::Temporalio::Api::Common::V1::Priority::init_map)?, "priority" => (::Temporalio::Api::Common::V1::Priority | ::Temporalio::Api::Common::V1::Priority::init_map)?, + time_skipping_config: (::Temporalio::Api::Workflow::V1::TimeSkippingConfig | ::Temporalio::Api::Workflow::V1::TimeSkippingConfig::init_map)?, + "time_skipping_config" => (::Temporalio::Api::Workflow::V1::TimeSkippingConfig | ::Temporalio::Api::Workflow::V1::TimeSkippingConfig::init_map)?, + initial_skipped_duration: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?, + "initial_skipped_duration" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?, } def initialize: (?init_map initial_value) -> void @@ -2707,6 +2765,8 @@ module Temporalio | ("search_attributes" name) -> ::Temporalio::Api::Common::V1::SearchAttributes? | ("inherit_build_id" name) -> bool | ("priority" name) -> ::Temporalio::Api::Common::V1::Priority? + | ("time_skipping_config" name) -> ::Temporalio::Api::Workflow::V1::TimeSkippingConfig? + | ("initial_skipped_duration" name) -> ::Google::Protobuf::Duration? def []=: ("namespace" name, (::String | ::Symbol) value) -> void @@ -2729,6 +2789,8 @@ module Temporalio | ("search_attributes" name, ::Temporalio::Api::Common::V1::SearchAttributes? value) -> void | ("inherit_build_id" name, bool value) -> void | ("priority" name, ::Temporalio::Api::Common::V1::Priority? value) -> void + | ("time_skipping_config" name, ::Temporalio::Api::Workflow::V1::TimeSkippingConfig? value) -> void + | ("initial_skipped_duration" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void end class StartChildWorkflowExecutionFailedEventAttributes < ::Google::Protobuf::AbstractMessage @@ -3272,6 +3334,11 @@ module Temporalio def has_priority?: () -> bool def clear_priority: () -> void + # If set, the time-skipping configuration was changed. Contains the full updated configuration. + attr_accessor time_skipping_config(): ::Temporalio::Api::Workflow::V1::TimeSkippingConfig? + def has_time_skipping_config?: () -> bool + def clear_time_skipping_config: () -> void + type init_map = { versioning_override: (::Temporalio::Api::Workflow::V1::VersioningOverride | ::Temporalio::Api::Workflow::V1::VersioningOverride::init_map)?, "versioning_override" => (::Temporalio::Api::Workflow::V1::VersioningOverride | ::Temporalio::Api::Workflow::V1::VersioningOverride::init_map)?, @@ -3285,6 +3352,8 @@ module Temporalio "identity" => (::String | ::Symbol)?, priority: (::Temporalio::Api::Common::V1::Priority | ::Temporalio::Api::Common::V1::Priority::init_map)?, "priority" => (::Temporalio::Api::Common::V1::Priority | ::Temporalio::Api::Common::V1::Priority::init_map)?, + time_skipping_config: (::Temporalio::Api::Workflow::V1::TimeSkippingConfig | ::Temporalio::Api::Workflow::V1::TimeSkippingConfig::init_map)?, + "time_skipping_config" => (::Temporalio::Api::Workflow::V1::TimeSkippingConfig | ::Temporalio::Api::Workflow::V1::TimeSkippingConfig::init_map)?, } def initialize: (?init_map initial_value) -> void @@ -3296,6 +3365,7 @@ module Temporalio | ("attached_completion_callbacks" name) -> ::Google::Protobuf::RepeatedField | ("identity" name) -> ::String | ("priority" name) -> ::Temporalio::Api::Common::V1::Priority? + | ("time_skipping_config" name) -> ::Temporalio::Api::Workflow::V1::TimeSkippingConfig? def []=: ("versioning_override" name, ::Temporalio::Api::Workflow::V1::VersioningOverride? value) -> void @@ -3304,6 +3374,7 @@ module Temporalio | ("attached_completion_callbacks" name, ::Google::Protobuf::RepeatedField value) -> void | ("identity" name, (::String | ::Symbol) value) -> void | ("priority" name, ::Temporalio::Api::Common::V1::Priority? value) -> void + | ("time_skipping_config" name, ::Temporalio::Api::Workflow::V1::TimeSkippingConfig? value) -> void end # Not used anywhere. Use case is replaced by WorkflowExecutionOptionsUpdatedEventAttributes @@ -3659,6 +3730,51 @@ module Temporalio | ("request_id" name, (::String | ::Symbol) value) -> void end + # Attributes for an event indicating that time skipping state changed for a workflow execution, + # either time was advanced or time skipping was disabled automatically due to a bound being reached. + # The worker_may_ignore field in HistoryEvent should always be set true for this event. + class WorkflowExecutionTimeSkippingTransitionedEventAttributes < ::Google::Protobuf::AbstractMessage + + # The virtual time after time skipping was applied. + attr_reader target_time(): ::Google::Protobuf::Timestamp? + attr_writer target_time(): (::Google::Protobuf::Timestamp | ::Time)? + def has_target_time?: () -> bool + def clear_target_time: () -> void + + # when true, time skipping was disabled automatically due to a bound being reached. + # (-- api-linter: core::0140::prepositions=disabled + # aip.dev/not-precedent: "after" is used to indicate temporal ordering. --) + attr_accessor disabled_after_bound(): bool + def clear_disabled_after_bound: () -> void + + # The wall-clock time when the time-skipping state changed event was generated. + attr_reader wall_clock_time(): ::Google::Protobuf::Timestamp? + attr_writer wall_clock_time(): (::Google::Protobuf::Timestamp | ::Time)? + def has_wall_clock_time?: () -> bool + def clear_wall_clock_time: () -> void + + type init_map = { + target_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + "target_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + disabled_after_bound: bool?, + "disabled_after_bound" => bool?, + wall_clock_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + "wall_clock_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("target_time" name) -> ::Google::Protobuf::Timestamp? + | ("disabled_after_bound" name) -> bool + | ("wall_clock_time" name) -> ::Google::Protobuf::Timestamp? + + def []=: + ("target_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void + | ("disabled_after_bound" name, bool value) -> void + | ("wall_clock_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void + end + # Event marking that an operation was scheduled by a workflow via the ScheduleNexusOperation command. class NexusOperationScheduledEventAttributes < ::Google::Protobuf::AbstractMessage @@ -3689,6 +3805,8 @@ module Temporalio # Calls are retried internally by the server. # (-- api-linter: core::0140::prepositions=disabled # aip.dev/not-precedent: "to" is used to indicate interval. --) + # (-- api-linter: core::0142::time-field-names=disabled + # aip.dev/not-precedent: "timeout" is an acceptable suffix for duration fields in this API. --) attr_reader schedule_to_close_timeout(): ::Google::Protobuf::Duration? attr_writer schedule_to_close_timeout(): (::Google::Protobuf::Duration | ::int)? def has_schedule_to_close_timeout?: () -> bool @@ -4176,10 +4294,15 @@ module Temporalio def has_user_metadata?: () -> bool def clear_user_metadata: () -> void - # Links associated with the event. + # Links to related entities, such as the entity that started this event's workflow. attr_accessor links(): ::Google::Protobuf::RepeatedField def clear_links: () -> void + # Server-computed authenticated caller identity associated with this event. + attr_accessor principal(): ::Temporalio::Api::Common::V1::Principal? + def has_principal?: () -> bool + def clear_principal: () -> void + attr_accessor workflow_execution_started_event_attributes(): ::Temporalio::Api::History::V1::WorkflowExecutionStartedEventAttributes? def has_workflow_execution_started_event_attributes?: () -> bool def clear_workflow_execution_started_event_attributes: () -> void @@ -4416,8 +4539,12 @@ module Temporalio def has_workflow_execution_unpaused_event_attributes?: () -> bool def clear_workflow_execution_unpaused_event_attributes: () -> void + attr_accessor workflow_execution_time_skipping_transitioned_event_attributes(): ::Temporalio::Api::History::V1::WorkflowExecutionTimeSkippingTransitionedEventAttributes? + def has_workflow_execution_time_skipping_transitioned_event_attributes?: () -> bool + def clear_workflow_execution_time_skipping_transitioned_event_attributes: () -> void + # The event details. The type must match that in `event_type`. - attr_reader attributes(): (::Temporalio::Api::History::V1::WorkflowExecutionStartedEventAttributes | ::Temporalio::Api::History::V1::WorkflowExecutionCompletedEventAttributes | ::Temporalio::Api::History::V1::WorkflowExecutionFailedEventAttributes | ::Temporalio::Api::History::V1::WorkflowExecutionTimedOutEventAttributes | ::Temporalio::Api::History::V1::WorkflowTaskScheduledEventAttributes | ::Temporalio::Api::History::V1::WorkflowTaskStartedEventAttributes | ::Temporalio::Api::History::V1::WorkflowTaskCompletedEventAttributes | ::Temporalio::Api::History::V1::WorkflowTaskTimedOutEventAttributes | ::Temporalio::Api::History::V1::WorkflowTaskFailedEventAttributes | ::Temporalio::Api::History::V1::ActivityTaskScheduledEventAttributes | ::Temporalio::Api::History::V1::ActivityTaskStartedEventAttributes | ::Temporalio::Api::History::V1::ActivityTaskCompletedEventAttributes | ::Temporalio::Api::History::V1::ActivityTaskFailedEventAttributes | ::Temporalio::Api::History::V1::ActivityTaskTimedOutEventAttributes | ::Temporalio::Api::History::V1::TimerStartedEventAttributes | ::Temporalio::Api::History::V1::TimerFiredEventAttributes | ::Temporalio::Api::History::V1::ActivityTaskCancelRequestedEventAttributes | ::Temporalio::Api::History::V1::ActivityTaskCanceledEventAttributes | ::Temporalio::Api::History::V1::TimerCanceledEventAttributes | ::Temporalio::Api::History::V1::MarkerRecordedEventAttributes | ::Temporalio::Api::History::V1::WorkflowExecutionSignaledEventAttributes | ::Temporalio::Api::History::V1::WorkflowExecutionTerminatedEventAttributes | ::Temporalio::Api::History::V1::WorkflowExecutionCancelRequestedEventAttributes | ::Temporalio::Api::History::V1::WorkflowExecutionCanceledEventAttributes | ::Temporalio::Api::History::V1::RequestCancelExternalWorkflowExecutionInitiatedEventAttributes | ::Temporalio::Api::History::V1::RequestCancelExternalWorkflowExecutionFailedEventAttributes | ::Temporalio::Api::History::V1::ExternalWorkflowExecutionCancelRequestedEventAttributes | ::Temporalio::Api::History::V1::WorkflowExecutionContinuedAsNewEventAttributes | ::Temporalio::Api::History::V1::StartChildWorkflowExecutionInitiatedEventAttributes | ::Temporalio::Api::History::V1::StartChildWorkflowExecutionFailedEventAttributes | ::Temporalio::Api::History::V1::ChildWorkflowExecutionStartedEventAttributes | ::Temporalio::Api::History::V1::ChildWorkflowExecutionCompletedEventAttributes | ::Temporalio::Api::History::V1::ChildWorkflowExecutionFailedEventAttributes | ::Temporalio::Api::History::V1::ChildWorkflowExecutionCanceledEventAttributes | ::Temporalio::Api::History::V1::ChildWorkflowExecutionTimedOutEventAttributes | ::Temporalio::Api::History::V1::ChildWorkflowExecutionTerminatedEventAttributes | ::Temporalio::Api::History::V1::SignalExternalWorkflowExecutionInitiatedEventAttributes | ::Temporalio::Api::History::V1::SignalExternalWorkflowExecutionFailedEventAttributes | ::Temporalio::Api::History::V1::ExternalWorkflowExecutionSignaledEventAttributes | ::Temporalio::Api::History::V1::UpsertWorkflowSearchAttributesEventAttributes | ::Temporalio::Api::History::V1::WorkflowExecutionUpdateAcceptedEventAttributes | ::Temporalio::Api::History::V1::WorkflowExecutionUpdateRejectedEventAttributes | ::Temporalio::Api::History::V1::WorkflowExecutionUpdateCompletedEventAttributes | ::Temporalio::Api::History::V1::WorkflowPropertiesModifiedExternallyEventAttributes | ::Temporalio::Api::History::V1::ActivityPropertiesModifiedExternallyEventAttributes | ::Temporalio::Api::History::V1::WorkflowPropertiesModifiedEventAttributes | ::Temporalio::Api::History::V1::WorkflowExecutionUpdateAdmittedEventAttributes | ::Temporalio::Api::History::V1::NexusOperationScheduledEventAttributes | ::Temporalio::Api::History::V1::NexusOperationStartedEventAttributes | ::Temporalio::Api::History::V1::NexusOperationCompletedEventAttributes | ::Temporalio::Api::History::V1::NexusOperationFailedEventAttributes | ::Temporalio::Api::History::V1::NexusOperationCanceledEventAttributes | ::Temporalio::Api::History::V1::NexusOperationTimedOutEventAttributes | ::Temporalio::Api::History::V1::NexusOperationCancelRequestedEventAttributes | ::Temporalio::Api::History::V1::WorkflowExecutionOptionsUpdatedEventAttributes | ::Temporalio::Api::History::V1::NexusOperationCancelRequestCompletedEventAttributes | ::Temporalio::Api::History::V1::NexusOperationCancelRequestFailedEventAttributes | ::Temporalio::Api::History::V1::WorkflowExecutionPausedEventAttributes | ::Temporalio::Api::History::V1::WorkflowExecutionUnpausedEventAttributes)? + attr_reader attributes(): (::Temporalio::Api::History::V1::WorkflowExecutionStartedEventAttributes | ::Temporalio::Api::History::V1::WorkflowExecutionCompletedEventAttributes | ::Temporalio::Api::History::V1::WorkflowExecutionFailedEventAttributes | ::Temporalio::Api::History::V1::WorkflowExecutionTimedOutEventAttributes | ::Temporalio::Api::History::V1::WorkflowTaskScheduledEventAttributes | ::Temporalio::Api::History::V1::WorkflowTaskStartedEventAttributes | ::Temporalio::Api::History::V1::WorkflowTaskCompletedEventAttributes | ::Temporalio::Api::History::V1::WorkflowTaskTimedOutEventAttributes | ::Temporalio::Api::History::V1::WorkflowTaskFailedEventAttributes | ::Temporalio::Api::History::V1::ActivityTaskScheduledEventAttributes | ::Temporalio::Api::History::V1::ActivityTaskStartedEventAttributes | ::Temporalio::Api::History::V1::ActivityTaskCompletedEventAttributes | ::Temporalio::Api::History::V1::ActivityTaskFailedEventAttributes | ::Temporalio::Api::History::V1::ActivityTaskTimedOutEventAttributes | ::Temporalio::Api::History::V1::TimerStartedEventAttributes | ::Temporalio::Api::History::V1::TimerFiredEventAttributes | ::Temporalio::Api::History::V1::ActivityTaskCancelRequestedEventAttributes | ::Temporalio::Api::History::V1::ActivityTaskCanceledEventAttributes | ::Temporalio::Api::History::V1::TimerCanceledEventAttributes | ::Temporalio::Api::History::V1::MarkerRecordedEventAttributes | ::Temporalio::Api::History::V1::WorkflowExecutionSignaledEventAttributes | ::Temporalio::Api::History::V1::WorkflowExecutionTerminatedEventAttributes | ::Temporalio::Api::History::V1::WorkflowExecutionCancelRequestedEventAttributes | ::Temporalio::Api::History::V1::WorkflowExecutionCanceledEventAttributes | ::Temporalio::Api::History::V1::RequestCancelExternalWorkflowExecutionInitiatedEventAttributes | ::Temporalio::Api::History::V1::RequestCancelExternalWorkflowExecutionFailedEventAttributes | ::Temporalio::Api::History::V1::ExternalWorkflowExecutionCancelRequestedEventAttributes | ::Temporalio::Api::History::V1::WorkflowExecutionContinuedAsNewEventAttributes | ::Temporalio::Api::History::V1::StartChildWorkflowExecutionInitiatedEventAttributes | ::Temporalio::Api::History::V1::StartChildWorkflowExecutionFailedEventAttributes | ::Temporalio::Api::History::V1::ChildWorkflowExecutionStartedEventAttributes | ::Temporalio::Api::History::V1::ChildWorkflowExecutionCompletedEventAttributes | ::Temporalio::Api::History::V1::ChildWorkflowExecutionFailedEventAttributes | ::Temporalio::Api::History::V1::ChildWorkflowExecutionCanceledEventAttributes | ::Temporalio::Api::History::V1::ChildWorkflowExecutionTimedOutEventAttributes | ::Temporalio::Api::History::V1::ChildWorkflowExecutionTerminatedEventAttributes | ::Temporalio::Api::History::V1::SignalExternalWorkflowExecutionInitiatedEventAttributes | ::Temporalio::Api::History::V1::SignalExternalWorkflowExecutionFailedEventAttributes | ::Temporalio::Api::History::V1::ExternalWorkflowExecutionSignaledEventAttributes | ::Temporalio::Api::History::V1::UpsertWorkflowSearchAttributesEventAttributes | ::Temporalio::Api::History::V1::WorkflowExecutionUpdateAcceptedEventAttributes | ::Temporalio::Api::History::V1::WorkflowExecutionUpdateRejectedEventAttributes | ::Temporalio::Api::History::V1::WorkflowExecutionUpdateCompletedEventAttributes | ::Temporalio::Api::History::V1::WorkflowPropertiesModifiedExternallyEventAttributes | ::Temporalio::Api::History::V1::ActivityPropertiesModifiedExternallyEventAttributes | ::Temporalio::Api::History::V1::WorkflowPropertiesModifiedEventAttributes | ::Temporalio::Api::History::V1::WorkflowExecutionUpdateAdmittedEventAttributes | ::Temporalio::Api::History::V1::NexusOperationScheduledEventAttributes | ::Temporalio::Api::History::V1::NexusOperationStartedEventAttributes | ::Temporalio::Api::History::V1::NexusOperationCompletedEventAttributes | ::Temporalio::Api::History::V1::NexusOperationFailedEventAttributes | ::Temporalio::Api::History::V1::NexusOperationCanceledEventAttributes | ::Temporalio::Api::History::V1::NexusOperationTimedOutEventAttributes | ::Temporalio::Api::History::V1::NexusOperationCancelRequestedEventAttributes | ::Temporalio::Api::History::V1::WorkflowExecutionOptionsUpdatedEventAttributes | ::Temporalio::Api::History::V1::NexusOperationCancelRequestCompletedEventAttributes | ::Temporalio::Api::History::V1::NexusOperationCancelRequestFailedEventAttributes | ::Temporalio::Api::History::V1::WorkflowExecutionPausedEventAttributes | ::Temporalio::Api::History::V1::WorkflowExecutionUnpausedEventAttributes | ::Temporalio::Api::History::V1::WorkflowExecutionTimeSkippingTransitionedEventAttributes)? def has_attributes?: () -> bool def clear_attributes: () -> void @@ -4438,6 +4565,8 @@ module Temporalio "user_metadata" => (::Temporalio::Api::Sdk::V1::UserMetadata | ::Temporalio::Api::Sdk::V1::UserMetadata::init_map)?, links: ::Array[::Temporalio::Api::Common::V1::Link]?, "links" => ::Array[::Temporalio::Api::Common::V1::Link]?, + principal: (::Temporalio::Api::Common::V1::Principal | ::Temporalio::Api::Common::V1::Principal::init_map)?, + "principal" => (::Temporalio::Api::Common::V1::Principal | ::Temporalio::Api::Common::V1::Principal::init_map)?, workflow_execution_started_event_attributes: (::Temporalio::Api::History::V1::WorkflowExecutionStartedEventAttributes | ::Temporalio::Api::History::V1::WorkflowExecutionStartedEventAttributes::init_map)?, "workflow_execution_started_event_attributes" => (::Temporalio::Api::History::V1::WorkflowExecutionStartedEventAttributes | ::Temporalio::Api::History::V1::WorkflowExecutionStartedEventAttributes::init_map)?, workflow_execution_completed_event_attributes: (::Temporalio::Api::History::V1::WorkflowExecutionCompletedEventAttributes | ::Temporalio::Api::History::V1::WorkflowExecutionCompletedEventAttributes::init_map)?, @@ -4556,6 +4685,8 @@ module Temporalio "workflow_execution_paused_event_attributes" => (::Temporalio::Api::History::V1::WorkflowExecutionPausedEventAttributes | ::Temporalio::Api::History::V1::WorkflowExecutionPausedEventAttributes::init_map)?, workflow_execution_unpaused_event_attributes: (::Temporalio::Api::History::V1::WorkflowExecutionUnpausedEventAttributes | ::Temporalio::Api::History::V1::WorkflowExecutionUnpausedEventAttributes::init_map)?, "workflow_execution_unpaused_event_attributes" => (::Temporalio::Api::History::V1::WorkflowExecutionUnpausedEventAttributes | ::Temporalio::Api::History::V1::WorkflowExecutionUnpausedEventAttributes::init_map)?, + workflow_execution_time_skipping_transitioned_event_attributes: (::Temporalio::Api::History::V1::WorkflowExecutionTimeSkippingTransitionedEventAttributes | ::Temporalio::Api::History::V1::WorkflowExecutionTimeSkippingTransitionedEventAttributes::init_map)?, + "workflow_execution_time_skipping_transitioned_event_attributes" => (::Temporalio::Api::History::V1::WorkflowExecutionTimeSkippingTransitionedEventAttributes | ::Temporalio::Api::History::V1::WorkflowExecutionTimeSkippingTransitionedEventAttributes::init_map)?, } def initialize: (?init_map initial_value) -> void @@ -4569,6 +4700,7 @@ module Temporalio | ("worker_may_ignore" name) -> bool | ("user_metadata" name) -> ::Temporalio::Api::Sdk::V1::UserMetadata? | ("links" name) -> ::Google::Protobuf::RepeatedField + | ("principal" name) -> ::Temporalio::Api::Common::V1::Principal? | ("workflow_execution_started_event_attributes" name) -> ::Temporalio::Api::History::V1::WorkflowExecutionStartedEventAttributes? | ("workflow_execution_completed_event_attributes" name) -> ::Temporalio::Api::History::V1::WorkflowExecutionCompletedEventAttributes? | ("workflow_execution_failed_event_attributes" name) -> ::Temporalio::Api::History::V1::WorkflowExecutionFailedEventAttributes? @@ -4628,6 +4760,7 @@ module Temporalio | ("nexus_operation_cancel_request_failed_event_attributes" name) -> ::Temporalio::Api::History::V1::NexusOperationCancelRequestFailedEventAttributes? | ("workflow_execution_paused_event_attributes" name) -> ::Temporalio::Api::History::V1::WorkflowExecutionPausedEventAttributes? | ("workflow_execution_unpaused_event_attributes" name) -> ::Temporalio::Api::History::V1::WorkflowExecutionUnpausedEventAttributes? + | ("workflow_execution_time_skipping_transitioned_event_attributes" name) -> ::Temporalio::Api::History::V1::WorkflowExecutionTimeSkippingTransitionedEventAttributes? def []=: ("event_id" name, (::Integer | ::Float) value) -> void @@ -4638,6 +4771,7 @@ module Temporalio | ("worker_may_ignore" name, bool value) -> void | ("user_metadata" name, ::Temporalio::Api::Sdk::V1::UserMetadata? value) -> void | ("links" name, ::Google::Protobuf::RepeatedField value) -> void + | ("principal" name, ::Temporalio::Api::Common::V1::Principal? value) -> void | ("workflow_execution_started_event_attributes" name, ::Temporalio::Api::History::V1::WorkflowExecutionStartedEventAttributes? value) -> void | ("workflow_execution_completed_event_attributes" name, ::Temporalio::Api::History::V1::WorkflowExecutionCompletedEventAttributes? value) -> void | ("workflow_execution_failed_event_attributes" name, ::Temporalio::Api::History::V1::WorkflowExecutionFailedEventAttributes? value) -> void @@ -4697,6 +4831,7 @@ module Temporalio | ("nexus_operation_cancel_request_failed_event_attributes" name, ::Temporalio::Api::History::V1::NexusOperationCancelRequestFailedEventAttributes? value) -> void | ("workflow_execution_paused_event_attributes" name, ::Temporalio::Api::History::V1::WorkflowExecutionPausedEventAttributes? value) -> void | ("workflow_execution_unpaused_event_attributes" name, ::Temporalio::Api::History::V1::WorkflowExecutionUnpausedEventAttributes? value) -> void + | ("workflow_execution_time_skipping_transitioned_event_attributes" name, ::Temporalio::Api::History::V1::WorkflowExecutionTimeSkippingTransitionedEventAttributes? value) -> void end class History < ::Google::Protobuf::AbstractMessage diff --git a/temporalio/sig/temporalio/api/nexus/v1/message.rbs b/temporalio/sig/temporalio/api/nexus/v1/message.rbs index 698c745e..2a31317f 100644 --- a/temporalio/sig/temporalio/api/nexus/v1/message.rbs +++ b/temporalio/sig/temporalio/api/nexus/v1/message.rbs @@ -744,6 +744,498 @@ module Temporalio ("worker" name, ::Temporalio::Api::Nexus::V1::EndpointTarget::Worker? value) -> void | ("external" name, ::Temporalio::Api::Nexus::V1::EndpointTarget::External? value) -> void end + + # NexusOperationExecutionCancellationInfo contains the state of a Nexus operation cancellation. + class NexusOperationExecutionCancellationInfo < ::Google::Protobuf::AbstractMessage + + # The time when cancellation was requested. + attr_reader requested_time(): ::Google::Protobuf::Timestamp? + attr_writer requested_time(): (::Google::Protobuf::Timestamp | ::Time)? + def has_requested_time?: () -> bool + def clear_requested_time: () -> void + + attr_reader state(): ::Temporalio::Api::Enums::V1::NexusOperationCancellationState::names | ::Integer + attr_writer state(): ::Temporalio::Api::Enums::V1::NexusOperationCancellationState::names | ::Temporalio::Api::Enums::V1::NexusOperationCancellationState::strings | ::Integer | ::Float + attr_reader state_const(): ::Integer + def clear_state: () -> void + + # The number of attempts made to deliver the cancel operation request. + # This number represents a minimum bound since the attempt is incremented after the request completes. + attr_reader attempt(): ::Integer + attr_writer attempt(): ::Integer | ::Float + def clear_attempt: () -> void + + # The time when the last attempt completed. + attr_reader last_attempt_complete_time(): ::Google::Protobuf::Timestamp? + attr_writer last_attempt_complete_time(): (::Google::Protobuf::Timestamp | ::Time)? + def has_last_attempt_complete_time?: () -> bool + def clear_last_attempt_complete_time: () -> void + + # The last attempt's failure, if any. + attr_accessor last_attempt_failure(): ::Temporalio::Api::Failure::V1::Failure? + def has_last_attempt_failure?: () -> bool + def clear_last_attempt_failure: () -> void + + # The time when the next attempt is scheduled. + attr_reader next_attempt_schedule_time(): ::Google::Protobuf::Timestamp? + attr_writer next_attempt_schedule_time(): (::Google::Protobuf::Timestamp | ::Time)? + def has_next_attempt_schedule_time?: () -> bool + def clear_next_attempt_schedule_time: () -> void + + # If the state is BLOCKED, blocked reason provides additional information. + attr_reader blocked_reason(): ::String + attr_writer blocked_reason(): ::String | ::Symbol + def clear_blocked_reason: () -> void + + # A reason that may be specified in the CancelNexusOperationRequest. + attr_reader reason(): ::String + attr_writer reason(): ::String | ::Symbol + def clear_reason: () -> void + + type init_map = { + requested_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + "requested_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + state: (::Temporalio::Api::Enums::V1::NexusOperationCancellationState::names | ::Temporalio::Api::Enums::V1::NexusOperationCancellationState::strings | ::Integer | ::Float)?, + "state" => (::Temporalio::Api::Enums::V1::NexusOperationCancellationState::names | ::Temporalio::Api::Enums::V1::NexusOperationCancellationState::strings | ::Integer | ::Float)?, + attempt: (::Integer | ::Float)?, + "attempt" => (::Integer | ::Float)?, + last_attempt_complete_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + "last_attempt_complete_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + last_attempt_failure: (::Temporalio::Api::Failure::V1::Failure | ::Temporalio::Api::Failure::V1::Failure::init_map)?, + "last_attempt_failure" => (::Temporalio::Api::Failure::V1::Failure | ::Temporalio::Api::Failure::V1::Failure::init_map)?, + next_attempt_schedule_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + "next_attempt_schedule_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + blocked_reason: (::String | ::Symbol)?, + "blocked_reason" => (::String | ::Symbol)?, + reason: (::String | ::Symbol)?, + "reason" => (::String | ::Symbol)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("requested_time" name) -> ::Google::Protobuf::Timestamp? + | ("state" name) -> (::Temporalio::Api::Enums::V1::NexusOperationCancellationState::names | ::Integer) + | ("attempt" name) -> ::Integer + | ("last_attempt_complete_time" name) -> ::Google::Protobuf::Timestamp? + | ("last_attempt_failure" name) -> ::Temporalio::Api::Failure::V1::Failure? + | ("next_attempt_schedule_time" name) -> ::Google::Protobuf::Timestamp? + | ("blocked_reason" name) -> ::String + | ("reason" name) -> ::String + + def []=: + ("requested_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void + | ("state" name, (::Temporalio::Api::Enums::V1::NexusOperationCancellationState::names | ::Temporalio::Api::Enums::V1::NexusOperationCancellationState::strings | ::Integer | ::Float) value) -> void + | ("attempt" name, (::Integer | ::Float) value) -> void + | ("last_attempt_complete_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void + | ("last_attempt_failure" name, ::Temporalio::Api::Failure::V1::Failure? value) -> void + | ("next_attempt_schedule_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void + | ("blocked_reason" name, (::String | ::Symbol) value) -> void + | ("reason" name, (::String | ::Symbol) value) -> void + end + + # Full current state of a standalone Nexus operation, as of the time of the request. + class NexusOperationExecutionInfo < ::Google::Protobuf::AbstractMessage + + # Unique identifier of this Nexus operation within its namespace along with run ID (below). + attr_reader operation_id(): ::String + attr_writer operation_id(): ::String | ::Symbol + def clear_operation_id: () -> void + + attr_reader run_id(): ::String + attr_writer run_id(): ::String | ::Symbol + def clear_run_id: () -> void + + # Endpoint name, resolved to a URL via the cluster's endpoint registry. + attr_reader endpoint(): ::String + attr_writer endpoint(): ::String | ::Symbol + def clear_endpoint: () -> void + + # Service name. + attr_reader service(): ::String + attr_writer service(): ::String | ::Symbol + def clear_service: () -> void + + # Operation name. + attr_reader operation(): ::String + attr_writer operation(): ::String | ::Symbol + def clear_operation: () -> void + + # A general status for this operation, indicates whether it is currently running or in one of the terminal statuses. + # Updated once when the operation is originally scheduled, and again when it reaches a terminal status. + attr_reader status(): ::Temporalio::Api::Enums::V1::NexusOperationExecutionStatus::names | ::Integer + attr_writer status(): ::Temporalio::Api::Enums::V1::NexusOperationExecutionStatus::names | ::Temporalio::Api::Enums::V1::NexusOperationExecutionStatus::strings | ::Integer | ::Float + attr_reader status_const(): ::Integer + def clear_status: () -> void + + # More detailed breakdown of NEXUS_OPERATION_EXECUTION_STATUS_RUNNING. + attr_reader state(): ::Temporalio::Api::Enums::V1::PendingNexusOperationState::names | ::Integer + attr_writer state(): ::Temporalio::Api::Enums::V1::PendingNexusOperationState::names | ::Temporalio::Api::Enums::V1::PendingNexusOperationState::strings | ::Integer | ::Float + attr_reader state_const(): ::Integer + def clear_state: () -> void + + # Schedule-to-close timeout for this operation. + # (-- api-linter: core::0140::prepositions=disabled + # aip.dev/not-precedent: "to" is used to indicate interval. --) + attr_reader schedule_to_close_timeout(): ::Google::Protobuf::Duration? + attr_writer schedule_to_close_timeout(): (::Google::Protobuf::Duration | ::int)? + def has_schedule_to_close_timeout?: () -> bool + def clear_schedule_to_close_timeout: () -> void + + # Schedule-to-start timeout for this operation. + # (-- api-linter: core::0140::prepositions=disabled + # aip.dev/not-precedent: "to" is used to indicate interval. --) + attr_reader schedule_to_start_timeout(): ::Google::Protobuf::Duration? + attr_writer schedule_to_start_timeout(): (::Google::Protobuf::Duration | ::int)? + def has_schedule_to_start_timeout?: () -> bool + def clear_schedule_to_start_timeout: () -> void + + # Start-to-close timeout for this operation. + # (-- api-linter: core::0140::prepositions=disabled + # aip.dev/not-precedent: "to" is used to indicate interval. --) + attr_reader start_to_close_timeout(): ::Google::Protobuf::Duration? + attr_writer start_to_close_timeout(): (::Google::Protobuf::Duration | ::int)? + def has_start_to_close_timeout?: () -> bool + def clear_start_to_close_timeout: () -> void + + # The number of attempts made to deliver the start operation request. + # This number is approximate, it is incremented when a task is added to the history queue. + # In practice, there could be more attempts if a task is executed but fails to commit, or less attempts if a task + # was never executed. + attr_reader attempt(): ::Integer + attr_writer attempt(): ::Integer | ::Float + def clear_attempt: () -> void + + # Time the operation was originally scheduled via a StartNexusOperation request. + attr_reader schedule_time(): ::Google::Protobuf::Timestamp? + attr_writer schedule_time(): (::Google::Protobuf::Timestamp | ::Time)? + def has_schedule_time?: () -> bool + def clear_schedule_time: () -> void + + # Scheduled time + schedule to close timeout. + attr_reader expiration_time(): ::Google::Protobuf::Timestamp? + attr_writer expiration_time(): (::Google::Protobuf::Timestamp | ::Time)? + def has_expiration_time?: () -> bool + def clear_expiration_time: () -> void + + # Time when the operation transitioned to a closed state. + attr_reader close_time(): ::Google::Protobuf::Timestamp? + attr_writer close_time(): (::Google::Protobuf::Timestamp | ::Time)? + def has_close_time?: () -> bool + def clear_close_time: () -> void + + # The time when the last attempt completed. + attr_reader last_attempt_complete_time(): ::Google::Protobuf::Timestamp? + attr_writer last_attempt_complete_time(): (::Google::Protobuf::Timestamp | ::Time)? + def has_last_attempt_complete_time?: () -> bool + def clear_last_attempt_complete_time: () -> void + + # The last attempt's failure, if any. + attr_accessor last_attempt_failure(): ::Temporalio::Api::Failure::V1::Failure? + def has_last_attempt_failure?: () -> bool + def clear_last_attempt_failure: () -> void + + # The time when the next attempt is scheduled. + attr_reader next_attempt_schedule_time(): ::Google::Protobuf::Timestamp? + attr_writer next_attempt_schedule_time(): (::Google::Protobuf::Timestamp | ::Time)? + def has_next_attempt_schedule_time?: () -> bool + def clear_next_attempt_schedule_time: () -> void + + # Elapsed time from schedule_time to now for running operations or to close_time for closed + # operations, including all attempts and backoff between attempts. + attr_reader execution_duration(): ::Google::Protobuf::Duration? + attr_writer execution_duration(): (::Google::Protobuf::Duration | ::int)? + def has_execution_duration?: () -> bool + def clear_execution_duration: () -> void + + attr_accessor cancellation_info(): ::Temporalio::Api::Nexus::V1::NexusOperationExecutionCancellationInfo? + def has_cancellation_info?: () -> bool + def clear_cancellation_info: () -> void + + # If the state is BLOCKED, blocked reason provides additional information. + attr_reader blocked_reason(): ::String + attr_writer blocked_reason(): ::String | ::Symbol + def clear_blocked_reason: () -> void + + # Server-generated request ID used as an idempotency token when submitting start requests to + # the handler. Distinct from the request_id in StartNexusOperationRequest, which is the + # caller-side idempotency key for the StartNexusOperation RPC itself. + attr_reader request_id(): ::String + attr_writer request_id(): ::String | ::Symbol + def clear_request_id: () -> void + + # Operation token. Only set for asynchronous operations after a successful StartOperation call. + attr_reader operation_token(): ::String + attr_writer operation_token(): ::String | ::Symbol + def clear_operation_token: () -> void + + # Incremented each time the operation's state is mutated in persistence. + attr_reader state_transition_count(): ::Integer + attr_writer state_transition_count(): ::Integer | ::Float + def clear_state_transition_count: () -> void + + attr_accessor search_attributes(): ::Temporalio::Api::Common::V1::SearchAttributes? + def has_search_attributes?: () -> bool + def clear_search_attributes: () -> void + + # Header for context propagation and tracing purposes. + attr_accessor nexus_header(): ::Google::Protobuf::Map[::String, ::String] + def clear_nexus_header: () -> void + + # Metadata for use by user interfaces to display the fixed as-of-start summary and details of the operation. + attr_accessor user_metadata(): ::Temporalio::Api::Sdk::V1::UserMetadata? + def has_user_metadata?: () -> bool + def clear_user_metadata: () -> void + + # Links attached by the handler of this operation on start or completion. + attr_accessor links(): ::Google::Protobuf::RepeatedField + def clear_links: () -> void + + # The identity of the client who started this operation. + attr_reader identity(): ::String + attr_writer identity(): ::String | ::Symbol + def clear_identity: () -> void + + type init_map = { + operation_id: (::String | ::Symbol)?, + "operation_id" => (::String | ::Symbol)?, + run_id: (::String | ::Symbol)?, + "run_id" => (::String | ::Symbol)?, + endpoint: (::String | ::Symbol)?, + "endpoint" => (::String | ::Symbol)?, + service: (::String | ::Symbol)?, + "service" => (::String | ::Symbol)?, + operation: (::String | ::Symbol)?, + "operation" => (::String | ::Symbol)?, + status: (::Temporalio::Api::Enums::V1::NexusOperationExecutionStatus::names | ::Temporalio::Api::Enums::V1::NexusOperationExecutionStatus::strings | ::Integer | ::Float)?, + "status" => (::Temporalio::Api::Enums::V1::NexusOperationExecutionStatus::names | ::Temporalio::Api::Enums::V1::NexusOperationExecutionStatus::strings | ::Integer | ::Float)?, + state: (::Temporalio::Api::Enums::V1::PendingNexusOperationState::names | ::Temporalio::Api::Enums::V1::PendingNexusOperationState::strings | ::Integer | ::Float)?, + "state" => (::Temporalio::Api::Enums::V1::PendingNexusOperationState::names | ::Temporalio::Api::Enums::V1::PendingNexusOperationState::strings | ::Integer | ::Float)?, + schedule_to_close_timeout: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?, + "schedule_to_close_timeout" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?, + schedule_to_start_timeout: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?, + "schedule_to_start_timeout" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?, + start_to_close_timeout: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?, + "start_to_close_timeout" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?, + attempt: (::Integer | ::Float)?, + "attempt" => (::Integer | ::Float)?, + schedule_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + "schedule_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + expiration_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + "expiration_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + close_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + "close_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + last_attempt_complete_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + "last_attempt_complete_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + last_attempt_failure: (::Temporalio::Api::Failure::V1::Failure | ::Temporalio::Api::Failure::V1::Failure::init_map)?, + "last_attempt_failure" => (::Temporalio::Api::Failure::V1::Failure | ::Temporalio::Api::Failure::V1::Failure::init_map)?, + next_attempt_schedule_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + "next_attempt_schedule_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + execution_duration: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?, + "execution_duration" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?, + cancellation_info: (::Temporalio::Api::Nexus::V1::NexusOperationExecutionCancellationInfo | ::Temporalio::Api::Nexus::V1::NexusOperationExecutionCancellationInfo::init_map)?, + "cancellation_info" => (::Temporalio::Api::Nexus::V1::NexusOperationExecutionCancellationInfo | ::Temporalio::Api::Nexus::V1::NexusOperationExecutionCancellationInfo::init_map)?, + blocked_reason: (::String | ::Symbol)?, + "blocked_reason" => (::String | ::Symbol)?, + request_id: (::String | ::Symbol)?, + "request_id" => (::String | ::Symbol)?, + operation_token: (::String | ::Symbol)?, + "operation_token" => (::String | ::Symbol)?, + state_transition_count: (::Integer | ::Float)?, + "state_transition_count" => (::Integer | ::Float)?, + search_attributes: (::Temporalio::Api::Common::V1::SearchAttributes | ::Temporalio::Api::Common::V1::SearchAttributes::init_map)?, + "search_attributes" => (::Temporalio::Api::Common::V1::SearchAttributes | ::Temporalio::Api::Common::V1::SearchAttributes::init_map)?, + nexus_header: ::Hash[::String | ::Symbol, ::String | ::Symbol]?, + "nexus_header" => ::Hash[::String | ::Symbol, ::String | ::Symbol]?, + user_metadata: (::Temporalio::Api::Sdk::V1::UserMetadata | ::Temporalio::Api::Sdk::V1::UserMetadata::init_map)?, + "user_metadata" => (::Temporalio::Api::Sdk::V1::UserMetadata | ::Temporalio::Api::Sdk::V1::UserMetadata::init_map)?, + links: ::Array[::Temporalio::Api::Common::V1::Link]?, + "links" => ::Array[::Temporalio::Api::Common::V1::Link]?, + identity: (::String | ::Symbol)?, + "identity" => (::String | ::Symbol)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("operation_id" name) -> ::String + | ("run_id" name) -> ::String + | ("endpoint" name) -> ::String + | ("service" name) -> ::String + | ("operation" name) -> ::String + | ("status" name) -> (::Temporalio::Api::Enums::V1::NexusOperationExecutionStatus::names | ::Integer) + | ("state" name) -> (::Temporalio::Api::Enums::V1::PendingNexusOperationState::names | ::Integer) + | ("schedule_to_close_timeout" name) -> ::Google::Protobuf::Duration? + | ("schedule_to_start_timeout" name) -> ::Google::Protobuf::Duration? + | ("start_to_close_timeout" name) -> ::Google::Protobuf::Duration? + | ("attempt" name) -> ::Integer + | ("schedule_time" name) -> ::Google::Protobuf::Timestamp? + | ("expiration_time" name) -> ::Google::Protobuf::Timestamp? + | ("close_time" name) -> ::Google::Protobuf::Timestamp? + | ("last_attempt_complete_time" name) -> ::Google::Protobuf::Timestamp? + | ("last_attempt_failure" name) -> ::Temporalio::Api::Failure::V1::Failure? + | ("next_attempt_schedule_time" name) -> ::Google::Protobuf::Timestamp? + | ("execution_duration" name) -> ::Google::Protobuf::Duration? + | ("cancellation_info" name) -> ::Temporalio::Api::Nexus::V1::NexusOperationExecutionCancellationInfo? + | ("blocked_reason" name) -> ::String + | ("request_id" name) -> ::String + | ("operation_token" name) -> ::String + | ("state_transition_count" name) -> ::Integer + | ("search_attributes" name) -> ::Temporalio::Api::Common::V1::SearchAttributes? + | ("nexus_header" name) -> (::Google::Protobuf::Map[::String, ::String]) + | ("user_metadata" name) -> ::Temporalio::Api::Sdk::V1::UserMetadata? + | ("links" name) -> ::Google::Protobuf::RepeatedField + | ("identity" name) -> ::String + + def []=: + ("operation_id" name, (::String | ::Symbol) value) -> void + | ("run_id" name, (::String | ::Symbol) value) -> void + | ("endpoint" name, (::String | ::Symbol) value) -> void + | ("service" name, (::String | ::Symbol) value) -> void + | ("operation" name, (::String | ::Symbol) value) -> void + | ("status" name, (::Temporalio::Api::Enums::V1::NexusOperationExecutionStatus::names | ::Temporalio::Api::Enums::V1::NexusOperationExecutionStatus::strings | ::Integer | ::Float) value) -> void + | ("state" name, (::Temporalio::Api::Enums::V1::PendingNexusOperationState::names | ::Temporalio::Api::Enums::V1::PendingNexusOperationState::strings | ::Integer | ::Float) value) -> void + | ("schedule_to_close_timeout" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void + | ("schedule_to_start_timeout" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void + | ("start_to_close_timeout" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void + | ("attempt" name, (::Integer | ::Float) value) -> void + | ("schedule_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void + | ("expiration_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void + | ("close_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void + | ("last_attempt_complete_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void + | ("last_attempt_failure" name, ::Temporalio::Api::Failure::V1::Failure? value) -> void + | ("next_attempt_schedule_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void + | ("execution_duration" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void + | ("cancellation_info" name, ::Temporalio::Api::Nexus::V1::NexusOperationExecutionCancellationInfo? value) -> void + | ("blocked_reason" name, (::String | ::Symbol) value) -> void + | ("request_id" name, (::String | ::Symbol) value) -> void + | ("operation_token" name, (::String | ::Symbol) value) -> void + | ("state_transition_count" name, (::Integer | ::Float) value) -> void + | ("search_attributes" name, ::Temporalio::Api::Common::V1::SearchAttributes? value) -> void + | ("nexus_header" name, (::Google::Protobuf::Map[::String, ::String]) value) -> void + | ("user_metadata" name, ::Temporalio::Api::Sdk::V1::UserMetadata? value) -> void + | ("links" name, ::Google::Protobuf::RepeatedField value) -> void + | ("identity" name, (::String | ::Symbol) value) -> void + end + + # Limited Nexus operation information returned in the list response. + # When adding fields here, ensure that it is also present in NexusOperationExecutionInfo (note that it may already be present in + # NexusOperationExecutionInfo but not at the top-level). + class NexusOperationExecutionListInfo < ::Google::Protobuf::AbstractMessage + + # A unique identifier of this operation within its namespace along with run ID (below). + attr_reader operation_id(): ::String + attr_writer operation_id(): ::String | ::Symbol + def clear_operation_id: () -> void + + # The run ID of the standalone Nexus operation. + attr_reader run_id(): ::String + attr_writer run_id(): ::String | ::Symbol + def clear_run_id: () -> void + + # Endpoint name. + attr_reader endpoint(): ::String + attr_writer endpoint(): ::String | ::Symbol + def clear_endpoint: () -> void + + # Service name. + attr_reader service(): ::String + attr_writer service(): ::String | ::Symbol + def clear_service: () -> void + + # Operation name. + attr_reader operation(): ::String + attr_writer operation(): ::String | ::Symbol + def clear_operation: () -> void + + # Time the operation was originally scheduled via a StartNexusOperation request. + attr_reader schedule_time(): ::Google::Protobuf::Timestamp? + attr_writer schedule_time(): (::Google::Protobuf::Timestamp | ::Time)? + def has_schedule_time?: () -> bool + def clear_schedule_time: () -> void + + # If the operation is in a terminal status, this field represents the time the operation transitioned to that status. + attr_reader close_time(): ::Google::Protobuf::Timestamp? + attr_writer close_time(): (::Google::Protobuf::Timestamp | ::Time)? + def has_close_time?: () -> bool + def clear_close_time: () -> void + + # The status is updated once, when the operation is originally scheduled, and again when the operation reaches a terminal status. + attr_reader status(): ::Temporalio::Api::Enums::V1::NexusOperationExecutionStatus::names | ::Integer + attr_writer status(): ::Temporalio::Api::Enums::V1::NexusOperationExecutionStatus::names | ::Temporalio::Api::Enums::V1::NexusOperationExecutionStatus::strings | ::Integer | ::Float + attr_reader status_const(): ::Integer + def clear_status: () -> void + + # Search attributes from the start request. + attr_accessor search_attributes(): ::Temporalio::Api::Common::V1::SearchAttributes? + def has_search_attributes?: () -> bool + def clear_search_attributes: () -> void + + # Updated on terminal status. + attr_reader state_transition_count(): ::Integer + attr_writer state_transition_count(): ::Integer | ::Float + def clear_state_transition_count: () -> void + + # The difference between close time and scheduled time. + # This field is only populated if the operation is closed. + attr_reader execution_duration(): ::Google::Protobuf::Duration? + attr_writer execution_duration(): (::Google::Protobuf::Duration | ::int)? + def has_execution_duration?: () -> bool + def clear_execution_duration: () -> void + + type init_map = { + operation_id: (::String | ::Symbol)?, + "operation_id" => (::String | ::Symbol)?, + run_id: (::String | ::Symbol)?, + "run_id" => (::String | ::Symbol)?, + endpoint: (::String | ::Symbol)?, + "endpoint" => (::String | ::Symbol)?, + service: (::String | ::Symbol)?, + "service" => (::String | ::Symbol)?, + operation: (::String | ::Symbol)?, + "operation" => (::String | ::Symbol)?, + schedule_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + "schedule_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + close_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + "close_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + status: (::Temporalio::Api::Enums::V1::NexusOperationExecutionStatus::names | ::Temporalio::Api::Enums::V1::NexusOperationExecutionStatus::strings | ::Integer | ::Float)?, + "status" => (::Temporalio::Api::Enums::V1::NexusOperationExecutionStatus::names | ::Temporalio::Api::Enums::V1::NexusOperationExecutionStatus::strings | ::Integer | ::Float)?, + search_attributes: (::Temporalio::Api::Common::V1::SearchAttributes | ::Temporalio::Api::Common::V1::SearchAttributes::init_map)?, + "search_attributes" => (::Temporalio::Api::Common::V1::SearchAttributes | ::Temporalio::Api::Common::V1::SearchAttributes::init_map)?, + state_transition_count: (::Integer | ::Float)?, + "state_transition_count" => (::Integer | ::Float)?, + execution_duration: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?, + "execution_duration" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("operation_id" name) -> ::String + | ("run_id" name) -> ::String + | ("endpoint" name) -> ::String + | ("service" name) -> ::String + | ("operation" name) -> ::String + | ("schedule_time" name) -> ::Google::Protobuf::Timestamp? + | ("close_time" name) -> ::Google::Protobuf::Timestamp? + | ("status" name) -> (::Temporalio::Api::Enums::V1::NexusOperationExecutionStatus::names | ::Integer) + | ("search_attributes" name) -> ::Temporalio::Api::Common::V1::SearchAttributes? + | ("state_transition_count" name) -> ::Integer + | ("execution_duration" name) -> ::Google::Protobuf::Duration? + + def []=: + ("operation_id" name, (::String | ::Symbol) value) -> void + | ("run_id" name, (::String | ::Symbol) value) -> void + | ("endpoint" name, (::String | ::Symbol) value) -> void + | ("service" name, (::String | ::Symbol) value) -> void + | ("operation" name, (::String | ::Symbol) value) -> void + | ("schedule_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void + | ("close_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void + | ("status" name, (::Temporalio::Api::Enums::V1::NexusOperationExecutionStatus::names | ::Temporalio::Api::Enums::V1::NexusOperationExecutionStatus::strings | ::Integer | ::Float) value) -> void + | ("search_attributes" name, ::Temporalio::Api::Common::V1::SearchAttributes? value) -> void + | ("state_transition_count" name, (::Integer | ::Float) value) -> void + | ("execution_duration" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void + end end end end diff --git a/temporalio/sig/temporalio/api/nexusservices/workerservice/v1/request_response.rbs b/temporalio/sig/temporalio/api/nexusservices/workerservice/v1/request_response.rbs new file mode 100644 index 00000000..3b87c864 --- /dev/null +++ b/temporalio/sig/temporalio/api/nexusservices/workerservice/v1/request_response.rbs @@ -0,0 +1,65 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# This RBS interface is provided for convenience, on a best-effort basis. +# The library is the definitive source for the API contract; if the RBS file +# and the library's behavior differ, the library behavior is authoritative. +# We welcome fixes to change the RBS file to match. +# source: temporal/api/nexusservices/workerservice/v1/request_response.proto + +module Temporalio + module Api + module Nexusservices + module Workerservice + module V1 + # Request payload for the "ExecuteCommands" Nexus operation. + class ExecuteCommandsRequest < ::Google::Protobuf::AbstractMessage + + attr_accessor commands(): ::Google::Protobuf::RepeatedField + def clear_commands: () -> void + + type init_map = { + commands: ::Array[::Temporalio::Api::Worker::V1::WorkerCommand]?, + "commands" => ::Array[::Temporalio::Api::Worker::V1::WorkerCommand]?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("commands" name) -> ::Google::Protobuf::RepeatedField + + def []=: + ("commands" name, ::Google::Protobuf::RepeatedField value) -> void + end + + # Response payload for the "ExecuteCommands" Nexus operation. + # The results list must be 1:1 with the commands list in the request (same size and order). + class ExecuteCommandsResponse < ::Google::Protobuf::AbstractMessage + + attr_accessor results(): ::Google::Protobuf::RepeatedField + def clear_results: () -> void + + type init_map = { + results: ::Array[::Temporalio::Api::Worker::V1::WorkerCommandResult]?, + "results" => ::Array[::Temporalio::Api::Worker::V1::WorkerCommandResult]?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("results" name) -> ::Google::Protobuf::RepeatedField + + def []=: + ("results" name, ::Google::Protobuf::RepeatedField value) -> void + end + end + end + end + end +end + +module Google + module Protobuf + class DescriptorPool + def lookup: (::String name) -> ::Google::Protobuf::Descriptor + end + end +end diff --git a/temporalio/sig/temporalio/api/payload_visitor.rbs b/temporalio/sig/temporalio/api/payload_visitor.rbs index 00398b87..02bdd2e4 100644 --- a/temporalio/sig/temporalio/api/payload_visitor.rbs +++ b/temporalio/sig/temporalio/api/payload_visitor.rbs @@ -20,12 +20,16 @@ module Temporalio def api_activity_v1_activity_execution_info: (untyped value) -> void def api_activity_v1_activity_execution_list_info: (untyped value) -> void def api_activity_v1_activity_execution_outcome: (untyped value) -> void + def api_activity_v1_callback_info: (untyped value) -> void def api_batch_v1_batch_operation_reset: (untyped value) -> void def api_batch_v1_batch_operation_signal: (untyped value) -> void def api_batch_v1_batch_operation_termination: (untyped value) -> void + def api_callback_v1_callback_info: (untyped value) -> void def api_cloud_cloudservice_v1_add_namespace_region_response: (untyped value) -> void def api_cloud_cloudservice_v1_add_user_group_member_response: (untyped value) -> void + def api_cloud_cloudservice_v1_create_account_audit_log_sink_response: (untyped value) -> void def api_cloud_cloudservice_v1_create_api_key_response: (untyped value) -> void + def api_cloud_cloudservice_v1_create_billing_report_response: (untyped value) -> void def api_cloud_cloudservice_v1_create_connectivity_rule_response: (untyped value) -> void def api_cloud_cloudservice_v1_create_namespace_export_sink_response: (untyped value) -> void def api_cloud_cloudservice_v1_create_namespace_response: (untyped value) -> void @@ -34,6 +38,7 @@ def api_activity_v1_activity_execution_info: (untyped value) -> void def api_cloud_cloudservice_v1_create_service_account_response: (untyped value) -> void def api_cloud_cloudservice_v1_create_user_group_response: (untyped value) -> void def api_cloud_cloudservice_v1_create_user_response: (untyped value) -> void + def api_cloud_cloudservice_v1_delete_account_audit_log_sink_response: (untyped value) -> void def api_cloud_cloudservice_v1_delete_api_key_response: (untyped value) -> void def api_cloud_cloudservice_v1_delete_connectivity_rule_response: (untyped value) -> void def api_cloud_cloudservice_v1_delete_namespace_export_sink_response: (untyped value) -> void @@ -52,6 +57,7 @@ def api_activity_v1_activity_execution_info: (untyped value) -> void def api_cloud_cloudservice_v1_set_service_account_namespace_access_response: (untyped value) -> void def api_cloud_cloudservice_v1_set_user_group_namespace_access_response: (untyped value) -> void def api_cloud_cloudservice_v1_set_user_namespace_access_response: (untyped value) -> void + def api_cloud_cloudservice_v1_update_account_audit_log_sink_response: (untyped value) -> void def api_cloud_cloudservice_v1_update_account_response: (untyped value) -> void def api_cloud_cloudservice_v1_update_api_key_response: (untyped value) -> void def api_cloud_cloudservice_v1_update_namespace_export_sink_response: (untyped value) -> void @@ -81,6 +87,11 @@ def api_activity_v1_activity_execution_info: (untyped value) -> void def api_common_v1_memo: (untyped value) -> void def api_common_v1_payloads: (untyped value) -> void def api_common_v1_search_attributes: (untyped value) -> void + def api_compute_v1_compute_config: (untyped value) -> void + def api_compute_v1_compute_config_scaling_group: (untyped value) -> void + def api_compute_v1_compute_config_scaling_group_update: (untyped value) -> void + def api_compute_v1_compute_provider: (untyped value) -> void + def api_compute_v1_compute_scaler: (untyped value) -> void def api_deployment_v1_deployment_info: (untyped value) -> void def api_deployment_v1_update_deployment_metadata: (untyped value) -> void def api_deployment_v1_version_metadata: (untyped value) -> void @@ -130,6 +141,9 @@ def api_activity_v1_activity_execution_info: (untyped value) -> void def api_history_v1_workflow_task_failed_event_attributes: (untyped value) -> void def api_nexus_v1_endpoint: (untyped value) -> void def api_nexus_v1_endpoint_spec: (untyped value) -> void + def api_nexus_v1_nexus_operation_execution_cancellation_info: (untyped value) -> void + def api_nexus_v1_nexus_operation_execution_info: (untyped value) -> void + def api_nexus_v1_nexus_operation_execution_list_info: (untyped value) -> void def api_nexus_v1_request: (untyped value) -> void def api_nexus_v1_response: (untyped value) -> void def api_nexus_v1_start_operation_request: (untyped value) -> void @@ -162,13 +176,17 @@ def api_activity_v1_activity_execution_info: (untyped value) -> void def api_workflow_v1_workflow_execution_info: (untyped value) -> void def api_workflowservice_v1_count_activity_executions_response: (untyped value) -> void def api_workflowservice_v1_count_activity_executions_response_aggregation_group: (untyped value) -> void + def api_workflowservice_v1_count_nexus_operation_executions_response: (untyped value) -> void + def api_workflowservice_v1_count_nexus_operation_executions_response_aggregation_group: (untyped value) -> void def api_workflowservice_v1_count_schedules_response: (untyped value) -> void def api_workflowservice_v1_count_schedules_response_aggregation_group: (untyped value) -> void def api_workflowservice_v1_count_workflow_executions_response: (untyped value) -> void def api_workflowservice_v1_count_workflow_executions_response_aggregation_group: (untyped value) -> void def api_workflowservice_v1_create_schedule_request: (untyped value) -> void + def api_workflowservice_v1_create_worker_deployment_version_request: (untyped value) -> void def api_workflowservice_v1_describe_activity_execution_response: (untyped value) -> void def api_workflowservice_v1_describe_deployment_response: (untyped value) -> void + def api_workflowservice_v1_describe_nexus_operation_execution_response: (untyped value) -> void def api_workflowservice_v1_describe_schedule_response: (untyped value) -> void def api_workflowservice_v1_describe_worker_deployment_version_response: (untyped value) -> void def api_workflowservice_v1_describe_workflow_execution_response: (untyped value) -> void @@ -183,11 +201,13 @@ def api_activity_v1_activity_execution_info: (untyped value) -> void def api_workflowservice_v1_list_activity_executions_response: (untyped value) -> void def api_workflowservice_v1_list_archived_workflow_executions_response: (untyped value) -> void def api_workflowservice_v1_list_closed_workflow_executions_response: (untyped value) -> void + def api_workflowservice_v1_list_nexus_operation_executions_response: (untyped value) -> void def api_workflowservice_v1_list_open_workflow_executions_response: (untyped value) -> void def api_workflowservice_v1_list_schedules_response: (untyped value) -> void def api_workflowservice_v1_list_workflow_executions_response: (untyped value) -> void def api_workflowservice_v1_poll_activity_execution_response: (untyped value) -> void def api_workflowservice_v1_poll_activity_task_queue_response: (untyped value) -> void + def api_workflowservice_v1_poll_nexus_operation_execution_response: (untyped value) -> void def api_workflowservice_v1_poll_nexus_task_queue_response: (untyped value) -> void def api_workflowservice_v1_poll_workflow_execution_update_response: (untyped value) -> void def api_workflowservice_v1_poll_workflow_task_queue_response: (untyped value) -> void @@ -217,14 +237,17 @@ def api_activity_v1_activity_execution_info: (untyped value) -> void def api_workflowservice_v1_signal_workflow_execution_request: (untyped value) -> void def api_workflowservice_v1_start_activity_execution_request: (untyped value) -> void def api_workflowservice_v1_start_batch_operation_request: (untyped value) -> void + def api_workflowservice_v1_start_nexus_operation_execution_request: (untyped value) -> void def api_workflowservice_v1_start_workflow_execution_request: (untyped value) -> void def api_workflowservice_v1_start_workflow_execution_response: (untyped value) -> void def api_workflowservice_v1_terminate_workflow_execution_request: (untyped value) -> void def api_workflowservice_v1_update_schedule_request: (untyped value) -> void + def api_workflowservice_v1_update_worker_deployment_version_compute_config_request: (untyped value) -> void def api_workflowservice_v1_update_worker_deployment_version_metadata_request: (untyped value) -> void def api_workflowservice_v1_update_worker_deployment_version_metadata_response: (untyped value) -> void def api_workflowservice_v1_update_workflow_execution_request: (untyped value) -> void def api_workflowservice_v1_update_workflow_execution_response: (untyped value) -> void + def api_workflowservice_v1_validate_worker_deployment_version_compute_config_request: (untyped value) -> void def coresdk_activity_result_activity_resolution: (untyped value) -> void def coresdk_activity_result_cancellation: (untyped value) -> void def coresdk_activity_result_failure: (untyped value) -> void diff --git a/temporalio/sig/temporalio/api/protoc_gen_openapiv2/options/annotations.rbs b/temporalio/sig/temporalio/api/protoc_gen_openapiv2/options/annotations.rbs new file mode 100644 index 00000000..0ad4b7a4 --- /dev/null +++ b/temporalio/sig/temporalio/api/protoc_gen_openapiv2/options/annotations.rbs @@ -0,0 +1,23 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# This RBS interface is provided for convenience, on a best-effort basis. +# The library is the definitive source for the API contract; if the RBS file +# and the library's behavior differ, the library behavior is authoritative. +# We welcome fixes to change the RBS file to match. +# source: protoc-gen-openapiv2/options/annotations.proto + +module Grpc + module Gateway + module ProtocGenOpenapiv2 + module Options + end + end + end +end + +module Google + module Protobuf + class DescriptorPool + def lookup: (::String name) -> ::Google::Protobuf::Descriptor + end + end +end diff --git a/temporalio/sig/temporalio/api/protoc_gen_openapiv2/options/openapiv2.rbs b/temporalio/sig/temporalio/api/protoc_gen_openapiv2/options/openapiv2.rbs new file mode 100644 index 00000000..f3e822f5 --- /dev/null +++ b/temporalio/sig/temporalio/api/protoc_gen_openapiv2/options/openapiv2.rbs @@ -0,0 +1,1691 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# This RBS interface is provided for convenience, on a best-effort basis. +# The library is the definitive source for the API contract; if the RBS file +# and the library's behavior differ, the library behavior is authoritative. +# We welcome fixes to change the RBS file to match. +# source: protoc-gen-openapiv2/options/openapiv2.proto + +module Grpc + module Gateway + module ProtocGenOpenapiv2 + module Options + # `Swagger` is a representation of OpenAPI v2 specification's Swagger object. + # See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#swaggerObject + # Example: + # option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { + # info: { + # title: "Echo API"; + # version: "1.0"; + # description: ""; + # contact: { + # name: "gRPC-Gateway project"; + # url: "https://github.com/grpc-ecosystem/grpc-gateway"; + # email: "none@example.com"; + # }; + # license: { + # name: "BSD 3-Clause License"; + # url: "https://github.com/grpc-ecosystem/grpc-gateway/blob/main/LICENSE"; + # }; + # }; + # schemes: HTTPS; + # consumes: "application/json"; + # produces: "application/json"; + # }; + class Swagger < ::Google::Protobuf::AbstractMessage + + # Specifies the OpenAPI Specification version being used. It can be + # used by the OpenAPI UI and other clients to interpret the API listing. The + # value MUST be "2.0". + attr_reader swagger(): ::String + attr_writer swagger(): ::String | ::Symbol + def clear_swagger: () -> void + + # Provides metadata about the API. The metadata can be used by the + # clients if needed. + attr_accessor info(): ::Grpc::Gateway::ProtocGenOpenapiv2::Options::Info? + def has_info?: () -> bool + def clear_info: () -> void + + # The host (name or ip) serving the API. This MUST be the host only and does + # not include the scheme nor sub-paths. It MAY include a port. If the host is + # not included, the host serving the documentation is to be used (including + # the port). The host does not support path templating. + attr_reader host(): ::String + attr_writer host(): ::String | ::Symbol + def clear_host: () -> void + + # The base path on which the API is served, which is relative to the host. If + # it is not included, the API is served directly under the host. The value + # MUST start with a leading slash (/). The basePath does not support path + # templating. + # Note that using `base_path` does not change the endpoint paths that are + # generated in the resulting OpenAPI file. If you wish to use `base_path` + # with relatively generated OpenAPI paths, the `base_path` prefix must be + # manually removed from your `google.api.http` paths and your code changed to + # serve the API from the `base_path`. + attr_reader base_path(): ::String + attr_writer base_path(): ::String | ::Symbol + def clear_base_path: () -> void + + # The transfer protocol of the API. Values MUST be from the list: "http", + # "https", "ws", "wss". If the schemes is not included, the default scheme to + # be used is the one used to access the OpenAPI definition itself. + attr_accessor schemes(): ::Google::Protobuf::RepeatedField + attr_reader schemes_const(): ::Array[::Integer] + def clear_schemes: () -> void + + # A list of MIME types the APIs can consume. This is global to all APIs but + # can be overridden on specific API calls. Value MUST be as described under + # Mime Types. + attr_accessor consumes(): ::Google::Protobuf::RepeatedField + def clear_consumes: () -> void + + # A list of MIME types the APIs can produce. This is global to all APIs but + # can be overridden on specific API calls. Value MUST be as described under + # Mime Types. + attr_accessor produces(): ::Google::Protobuf::RepeatedField + def clear_produces: () -> void + + # An object to hold responses that can be used across operations. This + # property does not define global responses for all operations. + attr_accessor responses(): ::Google::Protobuf::Map[::String, ::Grpc::Gateway::ProtocGenOpenapiv2::Options::Response] + def clear_responses: () -> void + + # Security scheme definitions that can be used across the specification. + attr_accessor security_definitions(): ::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityDefinitions? + def has_security_definitions?: () -> bool + def clear_security_definitions: () -> void + + # A declaration of which security schemes are applied for the API as a whole. + # The list of values describes alternative security schemes that can be used + # (that is, there is a logical OR between the security requirements). + # Individual operations can override this definition. + attr_accessor security(): ::Google::Protobuf::RepeatedField + def clear_security: () -> void + + # A list of tags for API documentation control. Tags can be used for logical + # grouping of operations by resources or any other qualifier. + attr_accessor tags(): ::Google::Protobuf::RepeatedField + def clear_tags: () -> void + + # Additional external documentation. + attr_accessor external_docs(): ::Grpc::Gateway::ProtocGenOpenapiv2::Options::ExternalDocumentation? + def has_external_docs?: () -> bool + def clear_external_docs: () -> void + + # Custom properties that start with "x-" such as "x-foo" used to describe + # extra functionality that is not covered by the standard OpenAPI Specification. + # See: https://swagger.io/docs/specification/2-0/swagger-extensions/ + attr_accessor extensions(): ::Google::Protobuf::Map[::String, ::Google::Protobuf::Value] + def clear_extensions: () -> void + + type init_map = { + swagger: (::String | ::Symbol)?, + "swagger" => (::String | ::Symbol)?, + info: (::Grpc::Gateway::ProtocGenOpenapiv2::Options::Info | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::Info::init_map)?, + "info" => (::Grpc::Gateway::ProtocGenOpenapiv2::Options::Info | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::Info::init_map)?, + host: (::String | ::Symbol)?, + "host" => (::String | ::Symbol)?, + base_path: (::String | ::Symbol)?, + "base_path" => (::String | ::Symbol)?, + schemes: ::Array[::Grpc::Gateway::ProtocGenOpenapiv2::Options::Scheme::names | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::Scheme::strings | ::Integer | ::Float]?, + "schemes" => ::Array[::Grpc::Gateway::ProtocGenOpenapiv2::Options::Scheme::names | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::Scheme::strings | ::Integer | ::Float]?, + consumes: ::Array[::String | ::Symbol]?, + "consumes" => ::Array[::String | ::Symbol]?, + produces: ::Array[::String | ::Symbol]?, + "produces" => ::Array[::String | ::Symbol]?, + responses: ::Hash[::String | ::Symbol, ::Grpc::Gateway::ProtocGenOpenapiv2::Options::Response]?, + "responses" => ::Hash[::String | ::Symbol, ::Grpc::Gateway::ProtocGenOpenapiv2::Options::Response]?, + security_definitions: (::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityDefinitions | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityDefinitions::init_map)?, + "security_definitions" => (::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityDefinitions | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityDefinitions::init_map)?, + security: ::Array[::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityRequirement]?, + "security" => ::Array[::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityRequirement]?, + tags: ::Array[::Grpc::Gateway::ProtocGenOpenapiv2::Options::Tag]?, + "tags" => ::Array[::Grpc::Gateway::ProtocGenOpenapiv2::Options::Tag]?, + external_docs: (::Grpc::Gateway::ProtocGenOpenapiv2::Options::ExternalDocumentation | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::ExternalDocumentation::init_map)?, + "external_docs" => (::Grpc::Gateway::ProtocGenOpenapiv2::Options::ExternalDocumentation | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::ExternalDocumentation::init_map)?, + extensions: ::Hash[::String | ::Symbol, ::Google::Protobuf::Value]?, + "extensions" => ::Hash[::String | ::Symbol, ::Google::Protobuf::Value]?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("swagger" name) -> ::String + | ("info" name) -> ::Grpc::Gateway::ProtocGenOpenapiv2::Options::Info? + | ("host" name) -> ::String + | ("base_path" name) -> ::String + | ("schemes" name) -> (::Google::Protobuf::RepeatedField) + | ("consumes" name) -> (::Google::Protobuf::RepeatedField) + | ("produces" name) -> (::Google::Protobuf::RepeatedField) + | ("responses" name) -> (::Google::Protobuf::Map[::String, ::Grpc::Gateway::ProtocGenOpenapiv2::Options::Response]) + | ("security_definitions" name) -> ::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityDefinitions? + | ("security" name) -> ::Google::Protobuf::RepeatedField + | ("tags" name) -> ::Google::Protobuf::RepeatedField + | ("external_docs" name) -> ::Grpc::Gateway::ProtocGenOpenapiv2::Options::ExternalDocumentation? + | ("extensions" name) -> (::Google::Protobuf::Map[::String, ::Google::Protobuf::Value]) + + def []=: + ("swagger" name, (::String | ::Symbol) value) -> void + | ("info" name, ::Grpc::Gateway::ProtocGenOpenapiv2::Options::Info? value) -> void + | ("host" name, (::String | ::Symbol) value) -> void + | ("base_path" name, (::String | ::Symbol) value) -> void + | ("schemes" name, (::Google::Protobuf::RepeatedField) value) -> void + | ("consumes" name, (::Google::Protobuf::RepeatedField) value) -> void + | ("produces" name, (::Google::Protobuf::RepeatedField) value) -> void + | ("responses" name, (::Google::Protobuf::Map[::String, ::Grpc::Gateway::ProtocGenOpenapiv2::Options::Response]) value) -> void + | ("security_definitions" name, ::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityDefinitions? value) -> void + | ("security" name, ::Google::Protobuf::RepeatedField value) -> void + | ("tags" name, ::Google::Protobuf::RepeatedField value) -> void + | ("external_docs" name, ::Grpc::Gateway::ProtocGenOpenapiv2::Options::ExternalDocumentation? value) -> void + | ("extensions" name, (::Google::Protobuf::Map[::String, ::Google::Protobuf::Value]) value) -> void + end + + # `Operation` is a representation of OpenAPI v2 specification's Operation object. + # See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#operationObject + # Example: + # service EchoService { + # rpc Echo(SimpleMessage) returns (SimpleMessage) { + # option (google.api.http) = { + # get: "/v1/example/echo/{id}" + # }; + # option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + # summary: "Get a message."; + # operation_id: "getMessage"; + # tags: "echo"; + # responses: { + # key: "200" + # value: { + # description: "OK"; + # } + # } + # }; + # } + # } + class Operation < ::Google::Protobuf::AbstractMessage + + # A list of tags for API documentation control. Tags can be used for logical + # grouping of operations by resources or any other qualifier. + attr_accessor tags(): ::Google::Protobuf::RepeatedField + def clear_tags: () -> void + + # A short summary of what the operation does. For maximum readability in the + # swagger-ui, this field SHOULD be less than 120 characters. + attr_reader summary(): ::String + attr_writer summary(): ::String | ::Symbol + def clear_summary: () -> void + + # A verbose explanation of the operation behavior. GFM syntax can be used for + # rich text representation. + attr_reader description(): ::String + attr_writer description(): ::String | ::Symbol + def clear_description: () -> void + + # Additional external documentation for this operation. + attr_accessor external_docs(): ::Grpc::Gateway::ProtocGenOpenapiv2::Options::ExternalDocumentation? + def has_external_docs?: () -> bool + def clear_external_docs: () -> void + + # Unique string used to identify the operation. The id MUST be unique among + # all operations described in the API. Tools and libraries MAY use the + # operationId to uniquely identify an operation, therefore, it is recommended + # to follow common programming naming conventions. + attr_reader operation_id(): ::String + attr_writer operation_id(): ::String | ::Symbol + def clear_operation_id: () -> void + + # A list of MIME types the operation can consume. This overrides the consumes + # definition at the OpenAPI Object. An empty value MAY be used to clear the + # global definition. Value MUST be as described under Mime Types. + attr_accessor consumes(): ::Google::Protobuf::RepeatedField + def clear_consumes: () -> void + + # A list of MIME types the operation can produce. This overrides the produces + # definition at the OpenAPI Object. An empty value MAY be used to clear the + # global definition. Value MUST be as described under Mime Types. + attr_accessor produces(): ::Google::Protobuf::RepeatedField + def clear_produces: () -> void + + # The list of possible responses as they are returned from executing this + # operation. + attr_accessor responses(): ::Google::Protobuf::Map[::String, ::Grpc::Gateway::ProtocGenOpenapiv2::Options::Response] + def clear_responses: () -> void + + # The transfer protocol for the operation. Values MUST be from the list: + # "http", "https", "ws", "wss". The value overrides the OpenAPI Object + # schemes definition. + attr_accessor schemes(): ::Google::Protobuf::RepeatedField + attr_reader schemes_const(): ::Array[::Integer] + def clear_schemes: () -> void + + # Declares this operation to be deprecated. Usage of the declared operation + # should be refrained. Default value is false. + attr_accessor deprecated(): bool + def clear_deprecated: () -> void + + # A declaration of which security schemes are applied for this operation. The + # list of values describes alternative security schemes that can be used + # (that is, there is a logical OR between the security requirements). This + # definition overrides any declared top-level security. To remove a top-level + # security declaration, an empty array can be used. + attr_accessor security(): ::Google::Protobuf::RepeatedField + def clear_security: () -> void + + # Custom properties that start with "x-" such as "x-foo" used to describe + # extra functionality that is not covered by the standard OpenAPI Specification. + # See: https://swagger.io/docs/specification/2-0/swagger-extensions/ + attr_accessor extensions(): ::Google::Protobuf::Map[::String, ::Google::Protobuf::Value] + def clear_extensions: () -> void + + # Custom parameters such as HTTP request headers. + # See: https://swagger.io/docs/specification/2-0/describing-parameters/ + # and https://swagger.io/specification/v2/#parameter-object. + attr_accessor parameters(): ::Grpc::Gateway::ProtocGenOpenapiv2::Options::Parameters? + def has_parameters?: () -> bool + def clear_parameters: () -> void + + type init_map = { + tags: ::Array[::String | ::Symbol]?, + "tags" => ::Array[::String | ::Symbol]?, + summary: (::String | ::Symbol)?, + "summary" => (::String | ::Symbol)?, + description: (::String | ::Symbol)?, + "description" => (::String | ::Symbol)?, + external_docs: (::Grpc::Gateway::ProtocGenOpenapiv2::Options::ExternalDocumentation | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::ExternalDocumentation::init_map)?, + "external_docs" => (::Grpc::Gateway::ProtocGenOpenapiv2::Options::ExternalDocumentation | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::ExternalDocumentation::init_map)?, + operation_id: (::String | ::Symbol)?, + "operation_id" => (::String | ::Symbol)?, + consumes: ::Array[::String | ::Symbol]?, + "consumes" => ::Array[::String | ::Symbol]?, + produces: ::Array[::String | ::Symbol]?, + "produces" => ::Array[::String | ::Symbol]?, + responses: ::Hash[::String | ::Symbol, ::Grpc::Gateway::ProtocGenOpenapiv2::Options::Response]?, + "responses" => ::Hash[::String | ::Symbol, ::Grpc::Gateway::ProtocGenOpenapiv2::Options::Response]?, + schemes: ::Array[::Grpc::Gateway::ProtocGenOpenapiv2::Options::Scheme::names | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::Scheme::strings | ::Integer | ::Float]?, + "schemes" => ::Array[::Grpc::Gateway::ProtocGenOpenapiv2::Options::Scheme::names | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::Scheme::strings | ::Integer | ::Float]?, + deprecated: bool?, + "deprecated" => bool?, + security: ::Array[::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityRequirement]?, + "security" => ::Array[::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityRequirement]?, + extensions: ::Hash[::String | ::Symbol, ::Google::Protobuf::Value]?, + "extensions" => ::Hash[::String | ::Symbol, ::Google::Protobuf::Value]?, + parameters: (::Grpc::Gateway::ProtocGenOpenapiv2::Options::Parameters | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::Parameters::init_map)?, + "parameters" => (::Grpc::Gateway::ProtocGenOpenapiv2::Options::Parameters | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::Parameters::init_map)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("tags" name) -> (::Google::Protobuf::RepeatedField) + | ("summary" name) -> ::String + | ("description" name) -> ::String + | ("external_docs" name) -> ::Grpc::Gateway::ProtocGenOpenapiv2::Options::ExternalDocumentation? + | ("operation_id" name) -> ::String + | ("consumes" name) -> (::Google::Protobuf::RepeatedField) + | ("produces" name) -> (::Google::Protobuf::RepeatedField) + | ("responses" name) -> (::Google::Protobuf::Map[::String, ::Grpc::Gateway::ProtocGenOpenapiv2::Options::Response]) + | ("schemes" name) -> (::Google::Protobuf::RepeatedField) + | ("deprecated" name) -> bool + | ("security" name) -> ::Google::Protobuf::RepeatedField + | ("extensions" name) -> (::Google::Protobuf::Map[::String, ::Google::Protobuf::Value]) + | ("parameters" name) -> ::Grpc::Gateway::ProtocGenOpenapiv2::Options::Parameters? + + def []=: + ("tags" name, (::Google::Protobuf::RepeatedField) value) -> void + | ("summary" name, (::String | ::Symbol) value) -> void + | ("description" name, (::String | ::Symbol) value) -> void + | ("external_docs" name, ::Grpc::Gateway::ProtocGenOpenapiv2::Options::ExternalDocumentation? value) -> void + | ("operation_id" name, (::String | ::Symbol) value) -> void + | ("consumes" name, (::Google::Protobuf::RepeatedField) value) -> void + | ("produces" name, (::Google::Protobuf::RepeatedField) value) -> void + | ("responses" name, (::Google::Protobuf::Map[::String, ::Grpc::Gateway::ProtocGenOpenapiv2::Options::Response]) value) -> void + | ("schemes" name, (::Google::Protobuf::RepeatedField) value) -> void + | ("deprecated" name, bool value) -> void + | ("security" name, ::Google::Protobuf::RepeatedField value) -> void + | ("extensions" name, (::Google::Protobuf::Map[::String, ::Google::Protobuf::Value]) value) -> void + | ("parameters" name, ::Grpc::Gateway::ProtocGenOpenapiv2::Options::Parameters? value) -> void + end + + # `Parameters` is a representation of OpenAPI v2 specification's parameters object. + # Note: This technically breaks compatibility with the OpenAPI 2 definition structure as we only + # allow header parameters to be set here since we do not want users specifying custom non-header + # parameters beyond those inferred from the Protobuf schema. + # See: https://swagger.io/specification/v2/#parameter-object + class Parameters < ::Google::Protobuf::AbstractMessage + + # `Headers` is one or more HTTP header parameter. + # See: https://swagger.io/docs/specification/2-0/describing-parameters/#header-parameters + attr_accessor headers(): ::Google::Protobuf::RepeatedField + def clear_headers: () -> void + + type init_map = { + headers: ::Array[::Grpc::Gateway::ProtocGenOpenapiv2::Options::HeaderParameter]?, + "headers" => ::Array[::Grpc::Gateway::ProtocGenOpenapiv2::Options::HeaderParameter]?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("headers" name) -> ::Google::Protobuf::RepeatedField + + def []=: + ("headers" name, ::Google::Protobuf::RepeatedField value) -> void + end + + # `HeaderParameter` a HTTP header parameter. + # See: https://swagger.io/specification/v2/#parameter-object + class HeaderParameter < ::Google::Protobuf::AbstractMessage + # `Type` is a supported HTTP header type. + # See https://swagger.io/specification/v2/#parameterType. + module Type + + UNKNOWN: 0 + + STRING: 1 + + NUMBER: 2 + + INTEGER: 3 + + BOOLEAN: 4 + + def self.lookup: (::Integer number) -> ::Symbol + + + def self.resolve: (::Symbol name) -> ::Integer + + + type names = :UNKNOWN | :STRING | :NUMBER | :INTEGER | :BOOLEAN + + type strings = "UNKNOWN" | "STRING" | "NUMBER" | "INTEGER" | "BOOLEAN" + + type numbers = 0 | 1 | 2 | 3 | 4 + end + + # `Name` is the header name. + attr_reader name(): ::String + attr_writer name(): ::String | ::Symbol + def clear_name: () -> void + + # `Description` is a short description of the header. + attr_reader description(): ::String + attr_writer description(): ::String | ::Symbol + def clear_description: () -> void + + # `Type` is the type of the object. The value MUST be one of "string", "number", "integer", or "boolean". The "array" type is not supported. + # See: https://swagger.io/specification/v2/#parameterType. + attr_reader type(): ::Grpc::Gateway::ProtocGenOpenapiv2::Options::HeaderParameter::Type::names | ::Integer + attr_writer type(): ::Grpc::Gateway::ProtocGenOpenapiv2::Options::HeaderParameter::Type::names | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::HeaderParameter::Type::strings | ::Integer | ::Float + attr_reader type_const(): ::Integer + def clear_type: () -> void + + # `Format` The extending format for the previously mentioned type. + attr_reader format(): ::String + attr_writer format(): ::String | ::Symbol + def clear_format: () -> void + + # `Required` indicates if the header is optional + attr_accessor required(): bool + def clear_required: () -> void + + type init_map = { + name: (::String | ::Symbol)?, + "name" => (::String | ::Symbol)?, + description: (::String | ::Symbol)?, + "description" => (::String | ::Symbol)?, + type: (::Grpc::Gateway::ProtocGenOpenapiv2::Options::HeaderParameter::Type::names | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::HeaderParameter::Type::strings | ::Integer | ::Float)?, + "type" => (::Grpc::Gateway::ProtocGenOpenapiv2::Options::HeaderParameter::Type::names | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::HeaderParameter::Type::strings | ::Integer | ::Float)?, + format: (::String | ::Symbol)?, + "format" => (::String | ::Symbol)?, + required: bool?, + "required" => bool?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("name" name) -> ::String + | ("description" name) -> ::String + | ("type" name) -> (::Grpc::Gateway::ProtocGenOpenapiv2::Options::HeaderParameter::Type::names | ::Integer) + | ("format" name) -> ::String + | ("required" name) -> bool + + def []=: + ("name" name, (::String | ::Symbol) value) -> void + | ("description" name, (::String | ::Symbol) value) -> void + | ("type" name, (::Grpc::Gateway::ProtocGenOpenapiv2::Options::HeaderParameter::Type::names | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::HeaderParameter::Type::strings | ::Integer | ::Float) value) -> void + | ("format" name, (::String | ::Symbol) value) -> void + | ("required" name, bool value) -> void + end + + # `Header` is a representation of OpenAPI v2 specification's Header object. + # See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#headerObject + class Header < ::Google::Protobuf::AbstractMessage + + # `Description` is a short description of the header. + attr_reader description(): ::String + attr_writer description(): ::String | ::Symbol + def clear_description: () -> void + + # The type of the object. The value MUST be one of "string", "number", "integer", or "boolean". The "array" type is not supported. + attr_reader type(): ::String + attr_writer type(): ::String | ::Symbol + def clear_type: () -> void + + # `Format` The extending format for the previously mentioned type. + attr_reader format(): ::String + attr_writer format(): ::String | ::Symbol + def clear_format: () -> void + + # `Default` Declares the value of the header that the server will use if none is provided. + # See: https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-6.2. + # Unlike JSON Schema this value MUST conform to the defined type for the header. + attr_reader default(): ::String + attr_writer default(): ::String | ::Symbol + def clear_default: () -> void + + # 'Pattern' See https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-5.2.3. + attr_reader pattern(): ::String + attr_writer pattern(): ::String | ::Symbol + def clear_pattern: () -> void + + type init_map = { + description: (::String | ::Symbol)?, + "description" => (::String | ::Symbol)?, + type: (::String | ::Symbol)?, + "type" => (::String | ::Symbol)?, + format: (::String | ::Symbol)?, + "format" => (::String | ::Symbol)?, + default: (::String | ::Symbol)?, + "default" => (::String | ::Symbol)?, + pattern: (::String | ::Symbol)?, + "pattern" => (::String | ::Symbol)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("description" name) -> ::String + | ("type" name) -> ::String + | ("format" name) -> ::String + | ("default" name) -> ::String + | ("pattern" name) -> ::String + + def []=: + ("description" name, (::String | ::Symbol) value) -> void + | ("type" name, (::String | ::Symbol) value) -> void + | ("format" name, (::String | ::Symbol) value) -> void + | ("default" name, (::String | ::Symbol) value) -> void + | ("pattern" name, (::String | ::Symbol) value) -> void + end + + # `Response` is a representation of OpenAPI v2 specification's Response object. + # See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#responseObject + class Response < ::Google::Protobuf::AbstractMessage + + # `Description` is a short description of the response. + # GFM syntax can be used for rich text representation. + attr_reader description(): ::String + attr_writer description(): ::String | ::Symbol + def clear_description: () -> void + + # `Schema` optionally defines the structure of the response. + # If `Schema` is not provided, it means there is no content to the response. + attr_accessor schema(): ::Grpc::Gateway::ProtocGenOpenapiv2::Options::Schema? + def has_schema?: () -> bool + def clear_schema: () -> void + + # `Headers` A list of headers that are sent with the response. + # `Header` name is expected to be a string in the canonical format of the MIME header key + # See: https://golang.org/pkg/net/textproto/#CanonicalMIMEHeaderKey + attr_accessor headers(): ::Google::Protobuf::Map[::String, ::Grpc::Gateway::ProtocGenOpenapiv2::Options::Header] + def clear_headers: () -> void + + # `Examples` gives per-mimetype response examples. + # See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#example-object + attr_accessor examples(): ::Google::Protobuf::Map[::String, ::String] + def clear_examples: () -> void + + # Custom properties that start with "x-" such as "x-foo" used to describe + # extra functionality that is not covered by the standard OpenAPI Specification. + # See: https://swagger.io/docs/specification/2-0/swagger-extensions/ + attr_accessor extensions(): ::Google::Protobuf::Map[::String, ::Google::Protobuf::Value] + def clear_extensions: () -> void + + type init_map = { + description: (::String | ::Symbol)?, + "description" => (::String | ::Symbol)?, + schema: (::Grpc::Gateway::ProtocGenOpenapiv2::Options::Schema | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::Schema::init_map)?, + "schema" => (::Grpc::Gateway::ProtocGenOpenapiv2::Options::Schema | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::Schema::init_map)?, + headers: ::Hash[::String | ::Symbol, ::Grpc::Gateway::ProtocGenOpenapiv2::Options::Header]?, + "headers" => ::Hash[::String | ::Symbol, ::Grpc::Gateway::ProtocGenOpenapiv2::Options::Header]?, + examples: ::Hash[::String | ::Symbol, ::String | ::Symbol]?, + "examples" => ::Hash[::String | ::Symbol, ::String | ::Symbol]?, + extensions: ::Hash[::String | ::Symbol, ::Google::Protobuf::Value]?, + "extensions" => ::Hash[::String | ::Symbol, ::Google::Protobuf::Value]?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("description" name) -> ::String + | ("schema" name) -> ::Grpc::Gateway::ProtocGenOpenapiv2::Options::Schema? + | ("headers" name) -> (::Google::Protobuf::Map[::String, ::Grpc::Gateway::ProtocGenOpenapiv2::Options::Header]) + | ("examples" name) -> (::Google::Protobuf::Map[::String, ::String]) + | ("extensions" name) -> (::Google::Protobuf::Map[::String, ::Google::Protobuf::Value]) + + def []=: + ("description" name, (::String | ::Symbol) value) -> void + | ("schema" name, ::Grpc::Gateway::ProtocGenOpenapiv2::Options::Schema? value) -> void + | ("headers" name, (::Google::Protobuf::Map[::String, ::Grpc::Gateway::ProtocGenOpenapiv2::Options::Header]) value) -> void + | ("examples" name, (::Google::Protobuf::Map[::String, ::String]) value) -> void + | ("extensions" name, (::Google::Protobuf::Map[::String, ::Google::Protobuf::Value]) value) -> void + end + + # `Info` is a representation of OpenAPI v2 specification's Info object. + # See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#infoObject + # Example: + # option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { + # info: { + # title: "Echo API"; + # version: "1.0"; + # description: ""; + # contact: { + # name: "gRPC-Gateway project"; + # url: "https://github.com/grpc-ecosystem/grpc-gateway"; + # email: "none@example.com"; + # }; + # license: { + # name: "BSD 3-Clause License"; + # url: "https://github.com/grpc-ecosystem/grpc-gateway/blob/main/LICENSE"; + # }; + # }; + # ... + # }; + class Info < ::Google::Protobuf::AbstractMessage + + # The title of the application. + attr_reader title(): ::String + attr_writer title(): ::String | ::Symbol + def clear_title: () -> void + + # A short description of the application. GFM syntax can be used for rich + # text representation. + attr_reader description(): ::String + attr_writer description(): ::String | ::Symbol + def clear_description: () -> void + + # The Terms of Service for the API. + attr_reader terms_of_service(): ::String + attr_writer terms_of_service(): ::String | ::Symbol + def clear_terms_of_service: () -> void + + # The contact information for the exposed API. + attr_accessor contact(): ::Grpc::Gateway::ProtocGenOpenapiv2::Options::Contact? + def has_contact?: () -> bool + def clear_contact: () -> void + + # The license information for the exposed API. + attr_accessor license(): ::Grpc::Gateway::ProtocGenOpenapiv2::Options::License? + def has_license?: () -> bool + def clear_license: () -> void + + # Provides the version of the application API (not to be confused + # with the specification version). + attr_reader version(): ::String + attr_writer version(): ::String | ::Symbol + def clear_version: () -> void + + # Custom properties that start with "x-" such as "x-foo" used to describe + # extra functionality that is not covered by the standard OpenAPI Specification. + # See: https://swagger.io/docs/specification/2-0/swagger-extensions/ + attr_accessor extensions(): ::Google::Protobuf::Map[::String, ::Google::Protobuf::Value] + def clear_extensions: () -> void + + type init_map = { + title: (::String | ::Symbol)?, + "title" => (::String | ::Symbol)?, + description: (::String | ::Symbol)?, + "description" => (::String | ::Symbol)?, + terms_of_service: (::String | ::Symbol)?, + "terms_of_service" => (::String | ::Symbol)?, + contact: (::Grpc::Gateway::ProtocGenOpenapiv2::Options::Contact | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::Contact::init_map)?, + "contact" => (::Grpc::Gateway::ProtocGenOpenapiv2::Options::Contact | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::Contact::init_map)?, + license: (::Grpc::Gateway::ProtocGenOpenapiv2::Options::License | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::License::init_map)?, + "license" => (::Grpc::Gateway::ProtocGenOpenapiv2::Options::License | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::License::init_map)?, + version: (::String | ::Symbol)?, + "version" => (::String | ::Symbol)?, + extensions: ::Hash[::String | ::Symbol, ::Google::Protobuf::Value]?, + "extensions" => ::Hash[::String | ::Symbol, ::Google::Protobuf::Value]?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("title" name) -> ::String + | ("description" name) -> ::String + | ("terms_of_service" name) -> ::String + | ("contact" name) -> ::Grpc::Gateway::ProtocGenOpenapiv2::Options::Contact? + | ("license" name) -> ::Grpc::Gateway::ProtocGenOpenapiv2::Options::License? + | ("version" name) -> ::String + | ("extensions" name) -> (::Google::Protobuf::Map[::String, ::Google::Protobuf::Value]) + + def []=: + ("title" name, (::String | ::Symbol) value) -> void + | ("description" name, (::String | ::Symbol) value) -> void + | ("terms_of_service" name, (::String | ::Symbol) value) -> void + | ("contact" name, ::Grpc::Gateway::ProtocGenOpenapiv2::Options::Contact? value) -> void + | ("license" name, ::Grpc::Gateway::ProtocGenOpenapiv2::Options::License? value) -> void + | ("version" name, (::String | ::Symbol) value) -> void + | ("extensions" name, (::Google::Protobuf::Map[::String, ::Google::Protobuf::Value]) value) -> void + end + + # `Contact` is a representation of OpenAPI v2 specification's Contact object. + # See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#contactObject + # Example: + # option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { + # info: { + # ... + # contact: { + # name: "gRPC-Gateway project"; + # url: "https://github.com/grpc-ecosystem/grpc-gateway"; + # email: "none@example.com"; + # }; + # ... + # }; + # ... + # }; + class Contact < ::Google::Protobuf::AbstractMessage + + # The identifying name of the contact person/organization. + attr_reader name(): ::String + attr_writer name(): ::String | ::Symbol + def clear_name: () -> void + + # The URL pointing to the contact information. MUST be in the format of a + # URL. + attr_reader url(): ::String + attr_writer url(): ::String | ::Symbol + def clear_url: () -> void + + # The email address of the contact person/organization. MUST be in the format + # of an email address. + attr_reader email(): ::String + attr_writer email(): ::String | ::Symbol + def clear_email: () -> void + + type init_map = { + name: (::String | ::Symbol)?, + "name" => (::String | ::Symbol)?, + url: (::String | ::Symbol)?, + "url" => (::String | ::Symbol)?, + email: (::String | ::Symbol)?, + "email" => (::String | ::Symbol)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("name" name) -> ::String + | ("url" name) -> ::String + | ("email" name) -> ::String + + def []=: + ("name" name, (::String | ::Symbol) value) -> void + | ("url" name, (::String | ::Symbol) value) -> void + | ("email" name, (::String | ::Symbol) value) -> void + end + + # `License` is a representation of OpenAPI v2 specification's License object. + # See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#licenseObject + # Example: + # option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { + # info: { + # ... + # license: { + # name: "BSD 3-Clause License"; + # url: "https://github.com/grpc-ecosystem/grpc-gateway/blob/main/LICENSE"; + # }; + # ... + # }; + # ... + # }; + class License < ::Google::Protobuf::AbstractMessage + + # The license name used for the API. + attr_reader name(): ::String + attr_writer name(): ::String | ::Symbol + def clear_name: () -> void + + # A URL to the license used for the API. MUST be in the format of a URL. + attr_reader url(): ::String + attr_writer url(): ::String | ::Symbol + def clear_url: () -> void + + type init_map = { + name: (::String | ::Symbol)?, + "name" => (::String | ::Symbol)?, + url: (::String | ::Symbol)?, + "url" => (::String | ::Symbol)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("name" name) -> ::String + | ("url" name) -> ::String + + def []=: + ("name" name, (::String | ::Symbol) value) -> void + | ("url" name, (::String | ::Symbol) value) -> void + end + + # `ExternalDocumentation` is a representation of OpenAPI v2 specification's + # ExternalDocumentation object. + # See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#externalDocumentationObject + # Example: + # option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { + # ... + # external_docs: { + # description: "More about gRPC-Gateway"; + # url: "https://github.com/grpc-ecosystem/grpc-gateway"; + # } + # ... + # }; + class ExternalDocumentation < ::Google::Protobuf::AbstractMessage + + # A short description of the target documentation. GFM syntax can be used for + # rich text representation. + attr_reader description(): ::String + attr_writer description(): ::String | ::Symbol + def clear_description: () -> void + + # The URL for the target documentation. Value MUST be in the format + # of a URL. + attr_reader url(): ::String + attr_writer url(): ::String | ::Symbol + def clear_url: () -> void + + type init_map = { + description: (::String | ::Symbol)?, + "description" => (::String | ::Symbol)?, + url: (::String | ::Symbol)?, + "url" => (::String | ::Symbol)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("description" name) -> ::String + | ("url" name) -> ::String + + def []=: + ("description" name, (::String | ::Symbol) value) -> void + | ("url" name, (::String | ::Symbol) value) -> void + end + + # `Schema` is a representation of OpenAPI v2 specification's Schema object. + # See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#schemaObject + class Schema < ::Google::Protobuf::AbstractMessage + + attr_accessor json_schema(): ::Grpc::Gateway::ProtocGenOpenapiv2::Options::JSONSchema? + def has_json_schema?: () -> bool + def clear_json_schema: () -> void + + # Adds support for polymorphism. The discriminator is the schema property + # name that is used to differentiate between other schema that inherit this + # schema. The property name used MUST be defined at this schema and it MUST + # be in the required property list. When used, the value MUST be the name of + # this schema or any schema that inherits it. + attr_reader discriminator(): ::String + attr_writer discriminator(): ::String | ::Symbol + def clear_discriminator: () -> void + + # Relevant only for Schema "properties" definitions. Declares the property as + # "read only". This means that it MAY be sent as part of a response but MUST + # NOT be sent as part of the request. Properties marked as readOnly being + # true SHOULD NOT be in the required list of the defined schema. Default + # value is false. + attr_accessor read_only(): bool + def clear_read_only: () -> void + + # Additional external documentation for this schema. + attr_accessor external_docs(): ::Grpc::Gateway::ProtocGenOpenapiv2::Options::ExternalDocumentation? + def has_external_docs?: () -> bool + def clear_external_docs: () -> void + + # A free-form property to include an example of an instance for this schema in JSON. + # This is copied verbatim to the output. + attr_reader example(): ::String + attr_writer example(): ::String | ::Symbol + def clear_example: () -> void + + type init_map = { + json_schema: (::Grpc::Gateway::ProtocGenOpenapiv2::Options::JSONSchema | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::JSONSchema::init_map)?, + "json_schema" => (::Grpc::Gateway::ProtocGenOpenapiv2::Options::JSONSchema | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::JSONSchema::init_map)?, + discriminator: (::String | ::Symbol)?, + "discriminator" => (::String | ::Symbol)?, + read_only: bool?, + "read_only" => bool?, + external_docs: (::Grpc::Gateway::ProtocGenOpenapiv2::Options::ExternalDocumentation | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::ExternalDocumentation::init_map)?, + "external_docs" => (::Grpc::Gateway::ProtocGenOpenapiv2::Options::ExternalDocumentation | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::ExternalDocumentation::init_map)?, + example: (::String | ::Symbol)?, + "example" => (::String | ::Symbol)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("json_schema" name) -> ::Grpc::Gateway::ProtocGenOpenapiv2::Options::JSONSchema? + | ("discriminator" name) -> ::String + | ("read_only" name) -> bool + | ("external_docs" name) -> ::Grpc::Gateway::ProtocGenOpenapiv2::Options::ExternalDocumentation? + | ("example" name) -> ::String + + def []=: + ("json_schema" name, ::Grpc::Gateway::ProtocGenOpenapiv2::Options::JSONSchema? value) -> void + | ("discriminator" name, (::String | ::Symbol) value) -> void + | ("read_only" name, bool value) -> void + | ("external_docs" name, ::Grpc::Gateway::ProtocGenOpenapiv2::Options::ExternalDocumentation? value) -> void + | ("example" name, (::String | ::Symbol) value) -> void + end + + # `EnumSchema` is subset of fields from the OpenAPI v2 specification's Schema object. + # Only fields that are applicable to Enums are included + # See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#schemaObject + # Example: + # option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_enum) = { + # ... + # title: "MyEnum"; + # description:"This is my nice enum"; + # example: "ZERO"; + # required: true; + # ... + # }; + class EnumSchema < ::Google::Protobuf::AbstractMessage + + # A short description of the schema. + attr_reader description(): ::String + attr_writer description(): ::String | ::Symbol + def clear_description: () -> void + + attr_reader default(): ::String + attr_writer default(): ::String | ::Symbol + def clear_default: () -> void + + # The title of the schema. + attr_reader title(): ::String + attr_writer title(): ::String | ::Symbol + def clear_title: () -> void + + attr_accessor required(): bool + def clear_required: () -> void + + attr_accessor read_only(): bool + def clear_read_only: () -> void + + # Additional external documentation for this schema. + attr_accessor external_docs(): ::Grpc::Gateway::ProtocGenOpenapiv2::Options::ExternalDocumentation? + def has_external_docs?: () -> bool + def clear_external_docs: () -> void + + attr_reader example(): ::String + attr_writer example(): ::String | ::Symbol + def clear_example: () -> void + + # Ref is used to define an external reference to include in the message. + # This could be a fully qualified proto message reference, and that type must + # be imported into the protofile. If no message is identified, the Ref will + # be used verbatim in the output. + # For example: + # `ref: ".google.protobuf.Timestamp"`. + attr_reader ref(): ::String + attr_writer ref(): ::String | ::Symbol + def clear_ref: () -> void + + # Custom properties that start with "x-" such as "x-foo" used to describe + # extra functionality that is not covered by the standard OpenAPI Specification. + # See: https://swagger.io/docs/specification/2-0/swagger-extensions/ + attr_accessor extensions(): ::Google::Protobuf::Map[::String, ::Google::Protobuf::Value] + def clear_extensions: () -> void + + type init_map = { + description: (::String | ::Symbol)?, + "description" => (::String | ::Symbol)?, + default: (::String | ::Symbol)?, + "default" => (::String | ::Symbol)?, + title: (::String | ::Symbol)?, + "title" => (::String | ::Symbol)?, + required: bool?, + "required" => bool?, + read_only: bool?, + "read_only" => bool?, + external_docs: (::Grpc::Gateway::ProtocGenOpenapiv2::Options::ExternalDocumentation | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::ExternalDocumentation::init_map)?, + "external_docs" => (::Grpc::Gateway::ProtocGenOpenapiv2::Options::ExternalDocumentation | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::ExternalDocumentation::init_map)?, + example: (::String | ::Symbol)?, + "example" => (::String | ::Symbol)?, + ref: (::String | ::Symbol)?, + "ref" => (::String | ::Symbol)?, + extensions: ::Hash[::String | ::Symbol, ::Google::Protobuf::Value]?, + "extensions" => ::Hash[::String | ::Symbol, ::Google::Protobuf::Value]?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("description" name) -> ::String + | ("default" name) -> ::String + | ("title" name) -> ::String + | ("required" name) -> bool + | ("read_only" name) -> bool + | ("external_docs" name) -> ::Grpc::Gateway::ProtocGenOpenapiv2::Options::ExternalDocumentation? + | ("example" name) -> ::String + | ("ref" name) -> ::String + | ("extensions" name) -> (::Google::Protobuf::Map[::String, ::Google::Protobuf::Value]) + + def []=: + ("description" name, (::String | ::Symbol) value) -> void + | ("default" name, (::String | ::Symbol) value) -> void + | ("title" name, (::String | ::Symbol) value) -> void + | ("required" name, bool value) -> void + | ("read_only" name, bool value) -> void + | ("external_docs" name, ::Grpc::Gateway::ProtocGenOpenapiv2::Options::ExternalDocumentation? value) -> void + | ("example" name, (::String | ::Symbol) value) -> void + | ("ref" name, (::String | ::Symbol) value) -> void + | ("extensions" name, (::Google::Protobuf::Map[::String, ::Google::Protobuf::Value]) value) -> void + end + + # `JSONSchema` represents properties from JSON Schema taken, and as used, in + # the OpenAPI v2 spec. + # This includes changes made by OpenAPI v2. + # See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#schemaObject + # See also: https://cswr.github.io/JsonSchema/spec/basic_types/, + # https://github.com/json-schema-org/json-schema-spec/blob/master/schema.json + # Example: + # message SimpleMessage { + # option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = { + # json_schema: { + # title: "SimpleMessage" + # description: "A simple message." + # required: ["id"] + # } + # }; + # // Id represents the message identifier. + # string id = 1; [ + # (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { + # description: "The unique identifier of the simple message." + # }]; + # } + class JSONSchema < ::Google::Protobuf::AbstractMessage + # 'FieldConfiguration' provides additional field level properties used when generating the OpenAPI v2 file. + # These properties are not defined by OpenAPIv2, but they are used to control the generation. + class FieldConfiguration < ::Google::Protobuf::AbstractMessage + + # Alternative parameter name when used as path parameter. If set, this will + # be used as the complete parameter name when this field is used as a path + # parameter. Use this to avoid having auto generated path parameter names + # for overlapping paths. + attr_reader path_param_name(): ::String + attr_writer path_param_name(): ::String | ::Symbol + def clear_path_param_name: () -> void + + type init_map = { + path_param_name: (::String | ::Symbol)?, + "path_param_name" => (::String | ::Symbol)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("path_param_name" name) -> ::String + + def []=: + ("path_param_name" name, (::String | ::Symbol) value) -> void + end + + module JSONSchemaSimpleTypes + + UNKNOWN: 0 + + ARRAY: 1 + + BOOLEAN: 2 + + INTEGER: 3 + + NULL: 4 + + NUMBER: 5 + + OBJECT: 6 + + STRING: 7 + + def self.lookup: (::Integer number) -> ::Symbol + + + def self.resolve: (::Symbol name) -> ::Integer + + + type names = :UNKNOWN | :ARRAY | :BOOLEAN | :INTEGER | :NULL | :NUMBER | :OBJECT | :STRING + + type strings = "UNKNOWN" | "ARRAY" | "BOOLEAN" | "INTEGER" | "NULL" | "NUMBER" | "OBJECT" | "STRING" + + type numbers = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 + end + + # Ref is used to define an external reference to include in the message. + # This could be a fully qualified proto message reference, and that type must + # be imported into the protofile. If no message is identified, the Ref will + # be used verbatim in the output. + # For example: + # `ref: ".google.protobuf.Timestamp"`. + attr_reader ref(): ::String + attr_writer ref(): ::String | ::Symbol + def clear_ref: () -> void + + # The title of the schema. + attr_reader title(): ::String + attr_writer title(): ::String | ::Symbol + def clear_title: () -> void + + # A short description of the schema. + attr_reader description(): ::String + attr_writer description(): ::String | ::Symbol + def clear_description: () -> void + + attr_reader default(): ::String + attr_writer default(): ::String | ::Symbol + def clear_default: () -> void + + attr_accessor read_only(): bool + def clear_read_only: () -> void + + # A free-form property to include a JSON example of this field. This is copied + # verbatim to the output swagger.json. Quotes must be escaped. + # This property is the same for 2.0 and 3.0.0 https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/3.0.0.md#schemaObject https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#schemaObject + attr_reader example(): ::String + attr_writer example(): ::String | ::Symbol + def clear_example: () -> void + + attr_reader multiple_of(): ::Float + attr_writer multiple_of(): ::Float | ::Integer + def clear_multiple_of: () -> void + + # Maximum represents an inclusive upper limit for a numeric instance. The + # value of MUST be a number, + attr_reader maximum(): ::Float + attr_writer maximum(): ::Float | ::Integer + def clear_maximum: () -> void + + attr_accessor exclusive_maximum(): bool + def clear_exclusive_maximum: () -> void + + # minimum represents an inclusive lower limit for a numeric instance. The + # value of MUST be a number, + attr_reader minimum(): ::Float + attr_writer minimum(): ::Float | ::Integer + def clear_minimum: () -> void + + attr_accessor exclusive_minimum(): bool + def clear_exclusive_minimum: () -> void + + attr_reader max_length(): ::Integer + attr_writer max_length(): ::Integer | ::Float + def clear_max_length: () -> void + + attr_reader min_length(): ::Integer + attr_writer min_length(): ::Integer | ::Float + def clear_min_length: () -> void + + attr_reader pattern(): ::String + attr_writer pattern(): ::String | ::Symbol + def clear_pattern: () -> void + + attr_reader max_items(): ::Integer + attr_writer max_items(): ::Integer | ::Float + def clear_max_items: () -> void + + attr_reader min_items(): ::Integer + attr_writer min_items(): ::Integer | ::Float + def clear_min_items: () -> void + + attr_accessor unique_items(): bool + def clear_unique_items: () -> void + + attr_reader max_properties(): ::Integer + attr_writer max_properties(): ::Integer | ::Float + def clear_max_properties: () -> void + + attr_reader min_properties(): ::Integer + attr_writer min_properties(): ::Integer | ::Float + def clear_min_properties: () -> void + + attr_accessor required(): ::Google::Protobuf::RepeatedField + def clear_required: () -> void + + # Items in 'array' must be unique. + attr_accessor array(): ::Google::Protobuf::RepeatedField + def clear_array: () -> void + + attr_accessor type(): ::Google::Protobuf::RepeatedField + attr_reader type_const(): ::Array[::Integer] + def clear_type: () -> void + + # `Format` + attr_reader format(): ::String + attr_writer format(): ::String | ::Symbol + def clear_format: () -> void + + # Items in `enum` must be unique https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-5.5.1 + attr_accessor enum(): ::Google::Protobuf::RepeatedField + def clear_enum: () -> void + + # Additional field level properties used when generating the OpenAPI v2 file. + attr_accessor field_configuration(): ::Grpc::Gateway::ProtocGenOpenapiv2::Options::JSONSchema::FieldConfiguration? + def has_field_configuration?: () -> bool + def clear_field_configuration: () -> void + + # Custom properties that start with "x-" such as "x-foo" used to describe + # extra functionality that is not covered by the standard OpenAPI Specification. + # See: https://swagger.io/docs/specification/2-0/swagger-extensions/ + attr_accessor extensions(): ::Google::Protobuf::Map[::String, ::Google::Protobuf::Value] + def clear_extensions: () -> void + + type init_map = { + ref: (::String | ::Symbol)?, + "ref" => (::String | ::Symbol)?, + title: (::String | ::Symbol)?, + "title" => (::String | ::Symbol)?, + description: (::String | ::Symbol)?, + "description" => (::String | ::Symbol)?, + default: (::String | ::Symbol)?, + "default" => (::String | ::Symbol)?, + read_only: bool?, + "read_only" => bool?, + example: (::String | ::Symbol)?, + "example" => (::String | ::Symbol)?, + multiple_of: (::Float | ::Integer)?, + "multiple_of" => (::Float | ::Integer)?, + maximum: (::Float | ::Integer)?, + "maximum" => (::Float | ::Integer)?, + exclusive_maximum: bool?, + "exclusive_maximum" => bool?, + minimum: (::Float | ::Integer)?, + "minimum" => (::Float | ::Integer)?, + exclusive_minimum: bool?, + "exclusive_minimum" => bool?, + max_length: (::Integer | ::Float)?, + "max_length" => (::Integer | ::Float)?, + min_length: (::Integer | ::Float)?, + "min_length" => (::Integer | ::Float)?, + pattern: (::String | ::Symbol)?, + "pattern" => (::String | ::Symbol)?, + max_items: (::Integer | ::Float)?, + "max_items" => (::Integer | ::Float)?, + min_items: (::Integer | ::Float)?, + "min_items" => (::Integer | ::Float)?, + unique_items: bool?, + "unique_items" => bool?, + max_properties: (::Integer | ::Float)?, + "max_properties" => (::Integer | ::Float)?, + min_properties: (::Integer | ::Float)?, + "min_properties" => (::Integer | ::Float)?, + required: ::Array[::String | ::Symbol]?, + "required" => ::Array[::String | ::Symbol]?, + array: ::Array[::String | ::Symbol]?, + "array" => ::Array[::String | ::Symbol]?, + type: ::Array[::Grpc::Gateway::ProtocGenOpenapiv2::Options::JSONSchema::JSONSchemaSimpleTypes::names | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::JSONSchema::JSONSchemaSimpleTypes::strings | ::Integer | ::Float]?, + "type" => ::Array[::Grpc::Gateway::ProtocGenOpenapiv2::Options::JSONSchema::JSONSchemaSimpleTypes::names | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::JSONSchema::JSONSchemaSimpleTypes::strings | ::Integer | ::Float]?, + format: (::String | ::Symbol)?, + "format" => (::String | ::Symbol)?, + enum: ::Array[::String | ::Symbol]?, + "enum" => ::Array[::String | ::Symbol]?, + field_configuration: (::Grpc::Gateway::ProtocGenOpenapiv2::Options::JSONSchema::FieldConfiguration | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::JSONSchema::FieldConfiguration::init_map)?, + "field_configuration" => (::Grpc::Gateway::ProtocGenOpenapiv2::Options::JSONSchema::FieldConfiguration | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::JSONSchema::FieldConfiguration::init_map)?, + extensions: ::Hash[::String | ::Symbol, ::Google::Protobuf::Value]?, + "extensions" => ::Hash[::String | ::Symbol, ::Google::Protobuf::Value]?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("ref" name) -> ::String + | ("title" name) -> ::String + | ("description" name) -> ::String + | ("default" name) -> ::String + | ("read_only" name) -> bool + | ("example" name) -> ::String + | ("multiple_of" name) -> ::Float + | ("maximum" name) -> ::Float + | ("exclusive_maximum" name) -> bool + | ("minimum" name) -> ::Float + | ("exclusive_minimum" name) -> bool + | ("max_length" name) -> ::Integer + | ("min_length" name) -> ::Integer + | ("pattern" name) -> ::String + | ("max_items" name) -> ::Integer + | ("min_items" name) -> ::Integer + | ("unique_items" name) -> bool + | ("max_properties" name) -> ::Integer + | ("min_properties" name) -> ::Integer + | ("required" name) -> (::Google::Protobuf::RepeatedField) + | ("array" name) -> (::Google::Protobuf::RepeatedField) + | ("type" name) -> (::Google::Protobuf::RepeatedField) + | ("format" name) -> ::String + | ("enum" name) -> (::Google::Protobuf::RepeatedField) + | ("field_configuration" name) -> ::Grpc::Gateway::ProtocGenOpenapiv2::Options::JSONSchema::FieldConfiguration? + | ("extensions" name) -> (::Google::Protobuf::Map[::String, ::Google::Protobuf::Value]) + + def []=: + ("ref" name, (::String | ::Symbol) value) -> void + | ("title" name, (::String | ::Symbol) value) -> void + | ("description" name, (::String | ::Symbol) value) -> void + | ("default" name, (::String | ::Symbol) value) -> void + | ("read_only" name, bool value) -> void + | ("example" name, (::String | ::Symbol) value) -> void + | ("multiple_of" name, (::Float | ::Integer) value) -> void + | ("maximum" name, (::Float | ::Integer) value) -> void + | ("exclusive_maximum" name, bool value) -> void + | ("minimum" name, (::Float | ::Integer) value) -> void + | ("exclusive_minimum" name, bool value) -> void + | ("max_length" name, (::Integer | ::Float) value) -> void + | ("min_length" name, (::Integer | ::Float) value) -> void + | ("pattern" name, (::String | ::Symbol) value) -> void + | ("max_items" name, (::Integer | ::Float) value) -> void + | ("min_items" name, (::Integer | ::Float) value) -> void + | ("unique_items" name, bool value) -> void + | ("max_properties" name, (::Integer | ::Float) value) -> void + | ("min_properties" name, (::Integer | ::Float) value) -> void + | ("required" name, (::Google::Protobuf::RepeatedField) value) -> void + | ("array" name, (::Google::Protobuf::RepeatedField) value) -> void + | ("type" name, (::Google::Protobuf::RepeatedField) value) -> void + | ("format" name, (::String | ::Symbol) value) -> void + | ("enum" name, (::Google::Protobuf::RepeatedField) value) -> void + | ("field_configuration" name, ::Grpc::Gateway::ProtocGenOpenapiv2::Options::JSONSchema::FieldConfiguration? value) -> void + | ("extensions" name, (::Google::Protobuf::Map[::String, ::Google::Protobuf::Value]) value) -> void + end + + # `Tag` is a representation of OpenAPI v2 specification's Tag object. + # See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#tagObject + class Tag < ::Google::Protobuf::AbstractMessage + + # The name of the tag. Use it to allow override of the name of a + # global Tag object, then use that name to reference the tag throughout the + # OpenAPI file. + attr_reader name(): ::String + attr_writer name(): ::String | ::Symbol + def clear_name: () -> void + + # A short description for the tag. GFM syntax can be used for rich text + # representation. + attr_reader description(): ::String + attr_writer description(): ::String | ::Symbol + def clear_description: () -> void + + # Additional external documentation for this tag. + attr_accessor external_docs(): ::Grpc::Gateway::ProtocGenOpenapiv2::Options::ExternalDocumentation? + def has_external_docs?: () -> bool + def clear_external_docs: () -> void + + # Custom properties that start with "x-" such as "x-foo" used to describe + # extra functionality that is not covered by the standard OpenAPI Specification. + # See: https://swagger.io/docs/specification/2-0/swagger-extensions/ + attr_accessor extensions(): ::Google::Protobuf::Map[::String, ::Google::Protobuf::Value] + def clear_extensions: () -> void + + type init_map = { + name: (::String | ::Symbol)?, + "name" => (::String | ::Symbol)?, + description: (::String | ::Symbol)?, + "description" => (::String | ::Symbol)?, + external_docs: (::Grpc::Gateway::ProtocGenOpenapiv2::Options::ExternalDocumentation | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::ExternalDocumentation::init_map)?, + "external_docs" => (::Grpc::Gateway::ProtocGenOpenapiv2::Options::ExternalDocumentation | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::ExternalDocumentation::init_map)?, + extensions: ::Hash[::String | ::Symbol, ::Google::Protobuf::Value]?, + "extensions" => ::Hash[::String | ::Symbol, ::Google::Protobuf::Value]?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("name" name) -> ::String + | ("description" name) -> ::String + | ("external_docs" name) -> ::Grpc::Gateway::ProtocGenOpenapiv2::Options::ExternalDocumentation? + | ("extensions" name) -> (::Google::Protobuf::Map[::String, ::Google::Protobuf::Value]) + + def []=: + ("name" name, (::String | ::Symbol) value) -> void + | ("description" name, (::String | ::Symbol) value) -> void + | ("external_docs" name, ::Grpc::Gateway::ProtocGenOpenapiv2::Options::ExternalDocumentation? value) -> void + | ("extensions" name, (::Google::Protobuf::Map[::String, ::Google::Protobuf::Value]) value) -> void + end + + # `SecurityDefinitions` is a representation of OpenAPI v2 specification's + # Security Definitions object. + # See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#securityDefinitionsObject + # A declaration of the security schemes available to be used in the + # specification. This does not enforce the security schemes on the operations + # and only serves to provide the relevant details for each scheme. + class SecurityDefinitions < ::Google::Protobuf::AbstractMessage + + # A single security scheme definition, mapping a "name" to the scheme it + # defines. + attr_accessor security(): ::Google::Protobuf::Map[::String, ::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityScheme] + def clear_security: () -> void + + type init_map = { + security: ::Hash[::String | ::Symbol, ::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityScheme]?, + "security" => ::Hash[::String | ::Symbol, ::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityScheme]?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("security" name) -> (::Google::Protobuf::Map[::String, ::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityScheme]) + + def []=: + ("security" name, (::Google::Protobuf::Map[::String, ::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityScheme]) value) -> void + end + + # `SecurityScheme` is a representation of OpenAPI v2 specification's + # Security Scheme object. + # See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#securitySchemeObject + # Allows the definition of a security scheme that can be used by the + # operations. Supported schemes are basic authentication, an API key (either as + # a header or as a query parameter) and OAuth2's common flows (implicit, + # password, application and access code). + class SecurityScheme < ::Google::Protobuf::AbstractMessage + # The type of the security scheme. Valid values are "basic", + # "apiKey" or "oauth2". + module Type + + TYPE_INVALID: 0 + + TYPE_BASIC: 1 + + TYPE_API_KEY: 2 + + TYPE_OAUTH2: 3 + + def self.lookup: (::Integer number) -> ::Symbol + + + def self.resolve: (::Symbol name) -> ::Integer + + + type names = :TYPE_INVALID | :TYPE_BASIC | :TYPE_API_KEY | :TYPE_OAUTH2 + + type strings = "TYPE_INVALID" | "TYPE_BASIC" | "TYPE_API_KEY" | "TYPE_OAUTH2" + + type numbers = 0 | 1 | 2 | 3 + end + + # The location of the API key. Valid values are "query" or "header". + module In + + IN_INVALID: 0 + + IN_QUERY: 1 + + IN_HEADER: 2 + + def self.lookup: (::Integer number) -> ::Symbol + + + def self.resolve: (::Symbol name) -> ::Integer + + + type names = :IN_INVALID | :IN_QUERY | :IN_HEADER + + type strings = "IN_INVALID" | "IN_QUERY" | "IN_HEADER" + + type numbers = 0 | 1 | 2 + end + + # The flow used by the OAuth2 security scheme. Valid values are + # "implicit", "password", "application" or "accessCode". + module Flow + + FLOW_INVALID: 0 + + FLOW_IMPLICIT: 1 + + FLOW_PASSWORD: 2 + + FLOW_APPLICATION: 3 + + FLOW_ACCESS_CODE: 4 + + def self.lookup: (::Integer number) -> ::Symbol + + + def self.resolve: (::Symbol name) -> ::Integer + + + type names = :FLOW_INVALID | :FLOW_IMPLICIT | :FLOW_PASSWORD | :FLOW_APPLICATION | :FLOW_ACCESS_CODE + + type strings = "FLOW_INVALID" | "FLOW_IMPLICIT" | "FLOW_PASSWORD" | "FLOW_APPLICATION" | "FLOW_ACCESS_CODE" + + type numbers = 0 | 1 | 2 | 3 | 4 + end + + # The type of the security scheme. Valid values are "basic", + # "apiKey" or "oauth2". + attr_reader type(): ::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityScheme::Type::names | ::Integer + attr_writer type(): ::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityScheme::Type::names | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityScheme::Type::strings | ::Integer | ::Float + attr_reader type_const(): ::Integer + def clear_type: () -> void + + # A short description for security scheme. + attr_reader description(): ::String + attr_writer description(): ::String | ::Symbol + def clear_description: () -> void + + # The name of the header or query parameter to be used. + # Valid for apiKey. + attr_reader name(): ::String + attr_writer name(): ::String | ::Symbol + def clear_name: () -> void + + # The location of the API key. Valid values are "query" or + # "header". + # Valid for apiKey. + attr_reader in(): ::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityScheme::In::names | ::Integer + attr_writer in(): ::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityScheme::In::names | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityScheme::In::strings | ::Integer | ::Float + attr_reader in_const(): ::Integer + def clear_in: () -> void + + # The flow used by the OAuth2 security scheme. Valid values are + # "implicit", "password", "application" or "accessCode". + # Valid for oauth2. + attr_reader flow(): ::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityScheme::Flow::names | ::Integer + attr_writer flow(): ::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityScheme::Flow::names | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityScheme::Flow::strings | ::Integer | ::Float + attr_reader flow_const(): ::Integer + def clear_flow: () -> void + + # The authorization URL to be used for this flow. This SHOULD be in + # the form of a URL. + # Valid for oauth2/implicit and oauth2/accessCode. + attr_reader authorization_url(): ::String + attr_writer authorization_url(): ::String | ::Symbol + def clear_authorization_url: () -> void + + # The token URL to be used for this flow. This SHOULD be in the + # form of a URL. + # Valid for oauth2/password, oauth2/application and oauth2/accessCode. + attr_reader token_url(): ::String + attr_writer token_url(): ::String | ::Symbol + def clear_token_url: () -> void + + # The available scopes for the OAuth2 security scheme. + # Valid for oauth2. + attr_accessor scopes(): ::Grpc::Gateway::ProtocGenOpenapiv2::Options::Scopes? + def has_scopes?: () -> bool + def clear_scopes: () -> void + + # Custom properties that start with "x-" such as "x-foo" used to describe + # extra functionality that is not covered by the standard OpenAPI Specification. + # See: https://swagger.io/docs/specification/2-0/swagger-extensions/ + attr_accessor extensions(): ::Google::Protobuf::Map[::String, ::Google::Protobuf::Value] + def clear_extensions: () -> void + + type init_map = { + type: (::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityScheme::Type::names | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityScheme::Type::strings | ::Integer | ::Float)?, + "type" => (::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityScheme::Type::names | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityScheme::Type::strings | ::Integer | ::Float)?, + description: (::String | ::Symbol)?, + "description" => (::String | ::Symbol)?, + name: (::String | ::Symbol)?, + "name" => (::String | ::Symbol)?, + in: (::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityScheme::In::names | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityScheme::In::strings | ::Integer | ::Float)?, + "in" => (::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityScheme::In::names | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityScheme::In::strings | ::Integer | ::Float)?, + flow: (::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityScheme::Flow::names | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityScheme::Flow::strings | ::Integer | ::Float)?, + "flow" => (::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityScheme::Flow::names | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityScheme::Flow::strings | ::Integer | ::Float)?, + authorization_url: (::String | ::Symbol)?, + "authorization_url" => (::String | ::Symbol)?, + token_url: (::String | ::Symbol)?, + "token_url" => (::String | ::Symbol)?, + scopes: (::Grpc::Gateway::ProtocGenOpenapiv2::Options::Scopes | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::Scopes::init_map)?, + "scopes" => (::Grpc::Gateway::ProtocGenOpenapiv2::Options::Scopes | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::Scopes::init_map)?, + extensions: ::Hash[::String | ::Symbol, ::Google::Protobuf::Value]?, + "extensions" => ::Hash[::String | ::Symbol, ::Google::Protobuf::Value]?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("type" name) -> (::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityScheme::Type::names | ::Integer) + | ("description" name) -> ::String + | ("name" name) -> ::String + | ("in" name) -> (::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityScheme::In::names | ::Integer) + | ("flow" name) -> (::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityScheme::Flow::names | ::Integer) + | ("authorization_url" name) -> ::String + | ("token_url" name) -> ::String + | ("scopes" name) -> ::Grpc::Gateway::ProtocGenOpenapiv2::Options::Scopes? + | ("extensions" name) -> (::Google::Protobuf::Map[::String, ::Google::Protobuf::Value]) + + def []=: + ("type" name, (::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityScheme::Type::names | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityScheme::Type::strings | ::Integer | ::Float) value) -> void + | ("description" name, (::String | ::Symbol) value) -> void + | ("name" name, (::String | ::Symbol) value) -> void + | ("in" name, (::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityScheme::In::names | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityScheme::In::strings | ::Integer | ::Float) value) -> void + | ("flow" name, (::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityScheme::Flow::names | ::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityScheme::Flow::strings | ::Integer | ::Float) value) -> void + | ("authorization_url" name, (::String | ::Symbol) value) -> void + | ("token_url" name, (::String | ::Symbol) value) -> void + | ("scopes" name, ::Grpc::Gateway::ProtocGenOpenapiv2::Options::Scopes? value) -> void + | ("extensions" name, (::Google::Protobuf::Map[::String, ::Google::Protobuf::Value]) value) -> void + end + + # `SecurityRequirement` is a representation of OpenAPI v2 specification's + # Security Requirement object. + # See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#securityRequirementObject + # Lists the required security schemes to execute this operation. The object can + # have multiple security schemes declared in it which are all required (that + # is, there is a logical AND between the schemes). + # The name used for each property MUST correspond to a security scheme + # declared in the Security Definitions. + class SecurityRequirement < ::Google::Protobuf::AbstractMessage + # If the security scheme is of type "oauth2", then the value is a list of + # scope names required for the execution. For other security scheme types, + # the array MUST be empty. + class SecurityRequirementValue < ::Google::Protobuf::AbstractMessage + + attr_accessor scope(): ::Google::Protobuf::RepeatedField + def clear_scope: () -> void + + type init_map = { + scope: ::Array[::String | ::Symbol]?, + "scope" => ::Array[::String | ::Symbol]?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("scope" name) -> (::Google::Protobuf::RepeatedField) + + def []=: + ("scope" name, (::Google::Protobuf::RepeatedField) value) -> void + end + + # Each name must correspond to a security scheme which is declared in + # the Security Definitions. If the security scheme is of type "oauth2", + # then the value is a list of scope names required for the execution. + # For other security scheme types, the array MUST be empty. + attr_accessor security_requirement(): ::Google::Protobuf::Map[::String, ::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityRequirement::SecurityRequirementValue] + def clear_security_requirement: () -> void + + type init_map = { + security_requirement: ::Hash[::String | ::Symbol, ::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityRequirement::SecurityRequirementValue]?, + "security_requirement" => ::Hash[::String | ::Symbol, ::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityRequirement::SecurityRequirementValue]?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("security_requirement" name) -> (::Google::Protobuf::Map[::String, ::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityRequirement::SecurityRequirementValue]) + + def []=: + ("security_requirement" name, (::Google::Protobuf::Map[::String, ::Grpc::Gateway::ProtocGenOpenapiv2::Options::SecurityRequirement::SecurityRequirementValue]) value) -> void + end + + # `Scopes` is a representation of OpenAPI v2 specification's Scopes object. + # See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#scopesObject + # Lists the available scopes for an OAuth2 security scheme. + class Scopes < ::Google::Protobuf::AbstractMessage + + # Maps between a name of a scope to a short description of it (as the value + # of the property). + attr_accessor scope(): ::Google::Protobuf::Map[::String, ::String] + def clear_scope: () -> void + + type init_map = { + scope: ::Hash[::String | ::Symbol, ::String | ::Symbol]?, + "scope" => ::Hash[::String | ::Symbol, ::String | ::Symbol]?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("scope" name) -> (::Google::Protobuf::Map[::String, ::String]) + + def []=: + ("scope" name, (::Google::Protobuf::Map[::String, ::String]) value) -> void + end + + # Scheme describes the schemes supported by the OpenAPI Swagger + # and Operation objects. + module Scheme + + UNKNOWN: 0 + + HTTP: 1 + + HTTPS: 2 + + WS: 3 + + WSS: 4 + + def self.lookup: (::Integer number) -> ::Symbol + + + def self.resolve: (::Symbol name) -> ::Integer + + + type names = :UNKNOWN | :HTTP | :HTTPS | :WS | :WSS + + type strings = "UNKNOWN" | "HTTP" | "HTTPS" | "WS" | "WSS" + + type numbers = 0 | 1 | 2 | 3 | 4 + end + end + end + end +end + +module Google + module Protobuf + class DescriptorPool + def lookup: (::String name) -> ::Google::Protobuf::Descriptor + end + end +end diff --git a/temporalio/sig/temporalio/api/sdk/v1/external_storage.rbs b/temporalio/sig/temporalio/api/sdk/v1/external_storage.rbs new file mode 100644 index 00000000..858a06cf --- /dev/null +++ b/temporalio/sig/temporalio/api/sdk/v1/external_storage.rbs @@ -0,0 +1,54 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# This RBS interface is provided for convenience, on a best-effort basis. +# The library is the definitive source for the API contract; if the RBS file +# and the library's behavior differ, the library behavior is authoritative. +# We welcome fixes to change the RBS file to match. +# source: temporal/api/sdk/v1/external_storage.proto + +module Temporalio + module Api + module Sdk + module V1 + # ExternalStorageReference identifies a payload stored in an external storage system. + # It is used as a claim-check token, allowing the actual payload data to be retrieved + # from the named driver using the provided claim data. + class ExternalStorageReference < ::Google::Protobuf::AbstractMessage + + # The name of the storage driver responsible for retrieving the payload. + attr_reader driver_name(): ::String + attr_writer driver_name(): ::String | ::Symbol + def clear_driver_name: () -> void + + # Driver-specific key-value pairs that identify and provide access to the stored payload. + attr_accessor claim_data(): ::Google::Protobuf::Map[::String, ::String] + def clear_claim_data: () -> void + + type init_map = { + driver_name: (::String | ::Symbol)?, + "driver_name" => (::String | ::Symbol)?, + claim_data: ::Hash[::String | ::Symbol, ::String | ::Symbol]?, + "claim_data" => ::Hash[::String | ::Symbol, ::String | ::Symbol]?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("driver_name" name) -> ::String + | ("claim_data" name) -> (::Google::Protobuf::Map[::String, ::String]) + + def []=: + ("driver_name" name, (::String | ::Symbol) value) -> void + | ("claim_data" name, (::Google::Protobuf::Map[::String, ::String]) value) -> void + end + end + end + end +end + +module Google + module Protobuf + class DescriptorPool + def lookup: (::String name) -> ::Google::Protobuf::Descriptor + end + end +end diff --git a/temporalio/sig/temporalio/api/taskqueue/v1/message.rbs b/temporalio/sig/temporalio/api/taskqueue/v1/message.rbs index 8331acc7..7a43362a 100644 --- a/temporalio/sig/temporalio/api/taskqueue/v1/message.rbs +++ b/temporalio/sig/temporalio/api/taskqueue/v1/message.rbs @@ -74,7 +74,6 @@ module Temporalio ("max_tasks_per_second" name, ::Google::Protobuf::DoubleValue? value) -> void end - # Experimental. Worker Deployments are experimental and might significantly change in the future. class TaskQueueVersioningInfo < ::Google::Protobuf::AbstractMessage # Specifies which Deployment Version should receive new workflow executions and tasks of @@ -818,6 +817,34 @@ module Temporalio | ("create_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void end + class PollerGroupInfo < ::Google::Protobuf::AbstractMessage + + attr_reader id(): ::String + attr_writer id(): ::String | ::Symbol + def clear_id: () -> void + + attr_reader weight(): ::Float + attr_writer weight(): ::Float | ::Integer + def clear_weight: () -> void + + type init_map = { + id: (::String | ::Symbol)?, + "id" => (::String | ::Symbol)?, + weight: (::Float | ::Integer)?, + "weight" => (::Float | ::Integer)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("id" name) -> ::String + | ("weight" name) -> ::Float + + def []=: + ("id" name, (::String | ::Symbol) value) -> void + | ("weight" name, (::Float | ::Integer) value) -> void + end + # Attached to task responses to give hints to the SDK about how it may adjust its number of # pollers. class PollerScalingDecision < ::Google::Protobuf::AbstractMessage diff --git a/temporalio/sig/temporalio/api/worker/v1/message.rbs b/temporalio/sig/temporalio/api/worker/v1/message.rbs index 323bd82f..e424023a 100644 --- a/temporalio/sig/temporalio/api/worker/v1/message.rbs +++ b/temporalio/sig/temporalio/api/worker/v1/message.rbs @@ -622,6 +622,86 @@ module Temporalio def []=: ("type" name, (::String | ::Symbol) value) -> void end + + # A command sent from the server to a worker. + class WorkerCommand < ::Google::Protobuf::AbstractMessage + + attr_accessor cancel_activity(): ::Temporalio::Api::Worker::V1::CancelActivityCommand? + def has_cancel_activity?: () -> bool + def clear_cancel_activity: () -> void + + attr_reader type(): ::Temporalio::Api::Worker::V1::CancelActivityCommand? + def has_type?: () -> bool + def clear_type: () -> void + + type init_map = { + cancel_activity: (::Temporalio::Api::Worker::V1::CancelActivityCommand | ::Temporalio::Api::Worker::V1::CancelActivityCommand::init_map)?, + "cancel_activity" => (::Temporalio::Api::Worker::V1::CancelActivityCommand | ::Temporalio::Api::Worker::V1::CancelActivityCommand::init_map)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("cancel_activity" name) -> ::Temporalio::Api::Worker::V1::CancelActivityCommand? + + def []=: + ("cancel_activity" name, ::Temporalio::Api::Worker::V1::CancelActivityCommand? value) -> void + end + + # Cancel an activity if it is still running. Otherwise, do nothing. + class CancelActivityCommand < ::Google::Protobuf::AbstractMessage + + attr_accessor task_token(): ::String + def clear_task_token: () -> void + + type init_map = { + task_token: ::String?, + "task_token" => ::String?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("task_token" name) -> ::String + + def []=: + ("task_token" name, ::String value) -> void + end + + # The result of executing a WorkerCommand. + class WorkerCommandResult < ::Google::Protobuf::AbstractMessage + + attr_accessor cancel_activity(): ::Temporalio::Api::Worker::V1::CancelActivityResult? + def has_cancel_activity?: () -> bool + def clear_cancel_activity: () -> void + + attr_reader type(): ::Temporalio::Api::Worker::V1::CancelActivityResult? + def has_type?: () -> bool + def clear_type: () -> void + + type init_map = { + cancel_activity: (::Temporalio::Api::Worker::V1::CancelActivityResult | ::Temporalio::Api::Worker::V1::CancelActivityResult::init_map)?, + "cancel_activity" => (::Temporalio::Api::Worker::V1::CancelActivityResult | ::Temporalio::Api::Worker::V1::CancelActivityResult::init_map)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("cancel_activity" name) -> ::Temporalio::Api::Worker::V1::CancelActivityResult? + + def []=: + ("cancel_activity" name, ::Temporalio::Api::Worker::V1::CancelActivityResult? value) -> void + end + + # Result of a CancelActivityCommand. + # Treat both successful cancellation and no-op (activity is no longer running) as success. + class CancelActivityResult < ::Google::Protobuf::AbstractMessage + + type init_map = { + } + + def initialize: (?init_map initial_value) -> void + end end end end diff --git a/temporalio/sig/temporalio/api/workflow/v1/message.rbs b/temporalio/sig/temporalio/api/workflow/v1/message.rbs index 3d150e5e..05777f7c 100644 --- a/temporalio/sig/temporalio/api/workflow/v1/message.rbs +++ b/temporalio/sig/temporalio/api/workflow/v1/message.rbs @@ -149,7 +149,6 @@ module Temporalio def clear_versioning_info: () -> void # The name of Worker Deployment that completed the most recent workflow task. - # Experimental. Worker Deployments are experimental and might change in the future. attr_reader worker_deployment_name(): ::String attr_writer worker_deployment_name(): ::String | ::Symbol def clear_worker_deployment_name: () -> void @@ -495,6 +494,20 @@ module Temporalio attr_writer revision_number(): ::Integer | ::Float def clear_revision_number: () -> void + # Experimental. + # If this workflow is the result of a continue-as-new, this field is set to the initial_versioning_behavior + # specified in that command. + # Only used for the initial task of this run and the initial task of any retries of this run. + # Not passed to children or to future continue-as-new. + # Note: In the first release of Upgrade-on-CaN, when the only ContinueAsNewVersioningBehavior was AutoUpgrade, + # a non-empty InheritedAutoUpgradeInfo meant that the workflow should start as AutoUpgrade. So for compatibility + # with ContinueAsNew history commands generated during that time, know that an UNSPECIFIED value here is equivalent + # to ContinueAsNewVersioningBehaviorAutoUpgrade if the behavior of the workflow is AutoUpgrade. + attr_reader continue_as_new_initial_versioning_behavior(): ::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::names | ::Integer + attr_writer continue_as_new_initial_versioning_behavior(): ::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::names | ::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::strings | ::Integer | ::Float + attr_reader continue_as_new_initial_versioning_behavior_const(): ::Integer + def clear_continue_as_new_initial_versioning_behavior: () -> void + type init_map = { behavior: (::Temporalio::Api::Enums::V1::VersioningBehavior::names | ::Temporalio::Api::Enums::V1::VersioningBehavior::strings | ::Integer | ::Float)?, "behavior" => (::Temporalio::Api::Enums::V1::VersioningBehavior::names | ::Temporalio::Api::Enums::V1::VersioningBehavior::strings | ::Integer | ::Float)?, @@ -512,6 +525,8 @@ module Temporalio "version_transition" => (::Temporalio::Api::Workflow::V1::DeploymentVersionTransition | ::Temporalio::Api::Workflow::V1::DeploymentVersionTransition::init_map)?, revision_number: (::Integer | ::Float)?, "revision_number" => (::Integer | ::Float)?, + continue_as_new_initial_versioning_behavior: (::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::names | ::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::strings | ::Integer | ::Float)?, + "continue_as_new_initial_versioning_behavior" => (::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::names | ::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::strings | ::Integer | ::Float)?, } def initialize: (?init_map initial_value) -> void @@ -525,6 +540,7 @@ module Temporalio | ("deployment_transition" name) -> ::Temporalio::Api::Workflow::V1::DeploymentTransition? | ("version_transition" name) -> ::Temporalio::Api::Workflow::V1::DeploymentVersionTransition? | ("revision_number" name) -> ::Integer + | ("continue_as_new_initial_versioning_behavior" name) -> (::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::names | ::Integer) def []=: ("behavior" name, (::Temporalio::Api::Enums::V1::VersioningBehavior::names | ::Temporalio::Api::Enums::V1::VersioningBehavior::strings | ::Integer | ::Float) value) -> void @@ -535,6 +551,7 @@ module Temporalio | ("deployment_transition" name, ::Temporalio::Api::Workflow::V1::DeploymentTransition? value) -> void | ("version_transition" name, ::Temporalio::Api::Workflow::V1::DeploymentVersionTransition? value) -> void | ("revision_number" name, (::Integer | ::Float) value) -> void + | ("continue_as_new_initial_versioning_behavior" name, (::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::names | ::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::strings | ::Integer | ::Float) value) -> void end # Holds information about ongoing transition of a workflow execution from one deployment to another. @@ -1571,7 +1588,9 @@ module Temporalio def clear_state: () -> void # The number of attempts made to deliver the start operation request. - # This number represents a minimum bound since the attempt is incremented after the request completes. + # This number is approximate, it is incremented when a task is added to the history queue. + # In practice, there could be more attempts if a task is executed but fails to commit, or less attempts if a task + # was never executed. attr_reader attempt(): ::Integer attr_writer attempt(): ::Integer | ::Float def clear_attempt: () -> void @@ -1799,11 +1818,20 @@ module Temporalio def has_priority?: () -> bool def clear_priority: () -> void + # Time-skipping configuration for this workflow execution. + # If not set, the time-skipping configuration is not updated by this request; + # the existing configuration is preserved. + attr_accessor time_skipping_config(): ::Temporalio::Api::Workflow::V1::TimeSkippingConfig? + def has_time_skipping_config?: () -> bool + def clear_time_skipping_config: () -> void + type init_map = { versioning_override: (::Temporalio::Api::Workflow::V1::VersioningOverride | ::Temporalio::Api::Workflow::V1::VersioningOverride::init_map)?, "versioning_override" => (::Temporalio::Api::Workflow::V1::VersioningOverride | ::Temporalio::Api::Workflow::V1::VersioningOverride::init_map)?, priority: (::Temporalio::Api::Common::V1::Priority | ::Temporalio::Api::Common::V1::Priority::init_map)?, "priority" => (::Temporalio::Api::Common::V1::Priority | ::Temporalio::Api::Common::V1::Priority::init_map)?, + time_skipping_config: (::Temporalio::Api::Workflow::V1::TimeSkippingConfig | ::Temporalio::Api::Workflow::V1::TimeSkippingConfig::init_map)?, + "time_skipping_config" => (::Temporalio::Api::Workflow::V1::TimeSkippingConfig | ::Temporalio::Api::Workflow::V1::TimeSkippingConfig::init_map)?, } def initialize: (?init_map initial_value) -> void @@ -1811,10 +1839,81 @@ module Temporalio def []: ("versioning_override" name) -> ::Temporalio::Api::Workflow::V1::VersioningOverride? | ("priority" name) -> ::Temporalio::Api::Common::V1::Priority? + | ("time_skipping_config" name) -> ::Temporalio::Api::Workflow::V1::TimeSkippingConfig? def []=: ("versioning_override" name, ::Temporalio::Api::Workflow::V1::VersioningOverride? value) -> void | ("priority" name, ::Temporalio::Api::Common::V1::Priority? value) -> void + | ("time_skipping_config" name, ::Temporalio::Api::Workflow::V1::TimeSkippingConfig? value) -> void + end + + # Configuration for time skipping during a workflow execution. + # When enabled, virtual time advances automatically whenever there is no in-flight work. + # In-flight work includes activities, child workflows, Nexus operations, signal/cancel external workflow operations, + # and possibly other features added in the future. + # User timers are not classified as in-flight work and will be skipped over. + # When time advances, it skips to the earlier of the next user timer or the configured bound, if either exists. + # + # Propagation behavior of time skipping: + # The enabled flag, bound fields, and accumulated skipped duration are propagated to related executions as follows: + # (1) Child workflows and continue-as-new: both the configuration and the accumulated skipped duration are + # inherited from the current execution. The configured bound is shared between the inherited skipped + # duration and any additional duration skipped by the new run. + # (2) Retry and cron: the configuration and accumulated skipped duration are inherited as recorded when the + # current workflow started; the accumulated skipped duration of the current run is not propagated. + # (3) Reset: the new run retains the time-skipping configuration of the current execution. Because reset replays + # all events up to the reset point and re-applies any UpdateWorkflowExecutionOptions changes made after that + # point, the resulting run ends up with the same final time-skipping configuration as the previous run. + class TimeSkippingConfig < ::Google::Protobuf::AbstractMessage + + # Enables or disables time skipping for this workflow execution. + attr_accessor enabled(): bool + def clear_enabled: () -> void + + # Maximum total virtual time that can be skipped. + attr_reader max_skipped_duration(): ::Google::Protobuf::Duration? + attr_writer max_skipped_duration(): (::Google::Protobuf::Duration | ::int)? + def has_max_skipped_duration?: () -> bool + def clear_max_skipped_duration: () -> void + + # Maximum elapsed time since time skipping was enabled. + # This includes both skipped time and real time elapsing. + # (-- api-linter: core::0142::time-field-names=disabled --) + attr_reader max_elapsed_duration(): ::Google::Protobuf::Duration? + attr_writer max_elapsed_duration(): (::Google::Protobuf::Duration | ::int)? + def has_max_elapsed_duration?: () -> bool + def clear_max_elapsed_duration: () -> void + + # Optional bound that limits the gap between the virtual time of this execution and wall-clock time. + # Once the bound is reached, time skipping is automatically disabled, + # but can be re-enabled by setting `enabled` to true via UpdateWorkflowExecutionOptions. + # This bound cannot be set to a value smaller than the execution's currently skipped duration. + # This is useful in testing scenarios where a workflow is expected to receive + # signals, updates, or other external events while timers are in progress. + attr_reader bound(): ::Google::Protobuf::Duration? + def has_bound?: () -> bool + def clear_bound: () -> void + + type init_map = { + enabled: bool?, + "enabled" => bool?, + max_skipped_duration: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?, + "max_skipped_duration" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?, + max_elapsed_duration: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?, + "max_elapsed_duration" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("enabled" name) -> bool + | ("max_skipped_duration" name) -> ::Google::Protobuf::Duration? + | ("max_elapsed_duration" name) -> ::Google::Protobuf::Duration? + + def []=: + ("enabled" name, bool value) -> void + | ("max_skipped_duration" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void + | ("max_elapsed_duration" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void end # Used to override the versioning behavior (and pinned deployment version, if applicable) of a diff --git a/temporalio/sig/temporalio/api/workflowservice/v1/request_response.rbs b/temporalio/sig/temporalio/api/workflowservice/v1/request_response.rbs index 70fde0be..16c1048b 100644 --- a/temporalio/sig/temporalio/api/workflowservice/v1/request_response.rbs +++ b/temporalio/sig/temporalio/api/workflowservice/v1/request_response.rbs @@ -599,6 +599,11 @@ module Temporalio def has_eager_worker_deployment_options?: () -> bool def clear_eager_worker_deployment_options: () -> void + # Time-skipping configuration. If not set, time skipping is disabled. + attr_accessor time_skipping_config(): ::Temporalio::Api::Workflow::V1::TimeSkippingConfig? + def has_time_skipping_config?: () -> bool + def clear_time_skipping_config: () -> void + type init_map = { namespace: (::String | ::Symbol)?, "namespace" => (::String | ::Symbol)?, @@ -656,6 +661,8 @@ module Temporalio "priority" => (::Temporalio::Api::Common::V1::Priority | ::Temporalio::Api::Common::V1::Priority::init_map)?, eager_worker_deployment_options: (::Temporalio::Api::Deployment::V1::WorkerDeploymentOptions | ::Temporalio::Api::Deployment::V1::WorkerDeploymentOptions::init_map)?, "eager_worker_deployment_options" => (::Temporalio::Api::Deployment::V1::WorkerDeploymentOptions | ::Temporalio::Api::Deployment::V1::WorkerDeploymentOptions::init_map)?, + time_skipping_config: (::Temporalio::Api::Workflow::V1::TimeSkippingConfig | ::Temporalio::Api::Workflow::V1::TimeSkippingConfig::init_map)?, + "time_skipping_config" => (::Temporalio::Api::Workflow::V1::TimeSkippingConfig | ::Temporalio::Api::Workflow::V1::TimeSkippingConfig::init_map)?, } def initialize: (?init_map initial_value) -> void @@ -689,6 +696,7 @@ module Temporalio | ("on_conflict_options" name) -> ::Temporalio::Api::Workflow::V1::OnConflictOptions? | ("priority" name) -> ::Temporalio::Api::Common::V1::Priority? | ("eager_worker_deployment_options" name) -> ::Temporalio::Api::Deployment::V1::WorkerDeploymentOptions? + | ("time_skipping_config" name) -> ::Temporalio::Api::Workflow::V1::TimeSkippingConfig? def []=: ("namespace" name, (::String | ::Symbol) value) -> void @@ -719,6 +727,7 @@ module Temporalio | ("on_conflict_options" name, ::Temporalio::Api::Workflow::V1::OnConflictOptions? value) -> void | ("priority" name, ::Temporalio::Api::Common::V1::Priority? value) -> void | ("eager_worker_deployment_options" name, ::Temporalio::Api::Deployment::V1::WorkerDeploymentOptions? value) -> void + | ("time_skipping_config" name, ::Temporalio::Api::Workflow::V1::TimeSkippingConfig? value) -> void end class StartWorkflowExecutionResponse < ::Google::Protobuf::AbstractMessage @@ -978,6 +987,14 @@ module Temporalio def has_task_queue?: () -> bool def clear_task_queue: () -> void + # Unless this is the first poll, the client must pass one of the poller group IDs received in + # `poller_group_infos` of the last the PollWorkflowTaskQueueResponse according to the + # instructions. If not set, the poll is routed randomly which can cause it being blocked + # without receiving a task while the queue actually has tasks in another server location. + attr_reader poller_group_id(): ::String + attr_writer poller_group_id(): ::String | ::Symbol + def clear_poller_group_id: () -> void + # The identity of the worker/client who is polling this task queue attr_reader identity(): ::String attr_writer identity(): ::String | ::Symbol @@ -989,6 +1006,12 @@ module Temporalio attr_writer worker_instance_key(): ::String | ::Symbol def clear_worker_instance_key: () -> void + # A dedicated per-worker Nexus task queue on which the server sends control + # tasks (e.g. activity cancellation) to this specific worker instance. + attr_reader worker_control_task_queue(): ::String + attr_writer worker_control_task_queue(): ::String | ::Symbol + def clear_worker_control_task_queue: () -> void + # Deprecated. Use deployment_options instead. # Each worker process should provide an ID unique to the specific set of code it is running # "checksum" in this field name isn't very accurate, it should be though of as an id. @@ -1006,7 +1029,6 @@ module Temporalio def clear_worker_version_capabilities: () -> void # Worker deployment options that user has set in the worker. - # Experimental. Worker Deployments are experimental and might significantly change in the future. attr_accessor deployment_options(): ::Temporalio::Api::Deployment::V1::WorkerDeploymentOptions? def has_deployment_options?: () -> bool def clear_deployment_options: () -> void @@ -1016,10 +1038,14 @@ module Temporalio "namespace" => (::String | ::Symbol)?, task_queue: (::Temporalio::Api::TaskQueue::V1::TaskQueue | ::Temporalio::Api::TaskQueue::V1::TaskQueue::init_map)?, "task_queue" => (::Temporalio::Api::TaskQueue::V1::TaskQueue | ::Temporalio::Api::TaskQueue::V1::TaskQueue::init_map)?, + poller_group_id: (::String | ::Symbol)?, + "poller_group_id" => (::String | ::Symbol)?, identity: (::String | ::Symbol)?, "identity" => (::String | ::Symbol)?, worker_instance_key: (::String | ::Symbol)?, "worker_instance_key" => (::String | ::Symbol)?, + worker_control_task_queue: (::String | ::Symbol)?, + "worker_control_task_queue" => (::String | ::Symbol)?, binary_checksum: (::String | ::Symbol)?, "binary_checksum" => (::String | ::Symbol)?, worker_version_capabilities: (::Temporalio::Api::Common::V1::WorkerVersionCapabilities | ::Temporalio::Api::Common::V1::WorkerVersionCapabilities::init_map)?, @@ -1033,8 +1059,10 @@ module Temporalio def []: ("namespace" name) -> ::String | ("task_queue" name) -> ::Temporalio::Api::TaskQueue::V1::TaskQueue? + | ("poller_group_id" name) -> ::String | ("identity" name) -> ::String | ("worker_instance_key" name) -> ::String + | ("worker_control_task_queue" name) -> ::String | ("binary_checksum" name) -> ::String | ("worker_version_capabilities" name) -> ::Temporalio::Api::Common::V1::WorkerVersionCapabilities? | ("deployment_options" name) -> ::Temporalio::Api::Deployment::V1::WorkerDeploymentOptions? @@ -1042,8 +1070,10 @@ module Temporalio def []=: ("namespace" name, (::String | ::Symbol) value) -> void | ("task_queue" name, ::Temporalio::Api::TaskQueue::V1::TaskQueue? value) -> void + | ("poller_group_id" name, (::String | ::Symbol) value) -> void | ("identity" name, (::String | ::Symbol) value) -> void | ("worker_instance_key" name, (::String | ::Symbol) value) -> void + | ("worker_control_task_queue" name, (::String | ::Symbol) value) -> void | ("binary_checksum" name, (::String | ::Symbol) value) -> void | ("worker_version_capabilities" name, ::Temporalio::Api::Common::V1::WorkerVersionCapabilities? value) -> void | ("deployment_options" name, ::Temporalio::Api::Deployment::V1::WorkerDeploymentOptions? value) -> void @@ -1147,6 +1177,21 @@ module Temporalio def has_poller_scaling_decision?: () -> bool def clear_poller_scaling_decision: () -> void + # This poller group ID identifies the owner of the workflow task awaiting for query response. + # Corresponding RespondQueryTaskCompleted should pass this value for proper routing. + attr_reader poller_group_id(): ::String + attr_writer poller_group_id(): ::String | ::Symbol + def clear_poller_group_id: () -> void + + # The weighted list of poller groups IDs that client should use for future polls to this task + # queue. Client is expected to: + # 1. Maintain minimum number of pollers no less than the number of groups. + # 2. Try to assign the next poll to a group without any pending polls, + # 3. If every group has some pending polls, assign the next poll to a group randomly + # according to the weights. + attr_accessor poller_group_infos(): ::Google::Protobuf::RepeatedField + def clear_poller_group_infos: () -> void + type init_map = { task_token: ::String?, "task_token" => ::String?, @@ -1180,6 +1225,10 @@ module Temporalio "messages" => ::Array[::Temporalio::Api::Protocol::V1::Message]?, poller_scaling_decision: (::Temporalio::Api::TaskQueue::V1::PollerScalingDecision | ::Temporalio::Api::TaskQueue::V1::PollerScalingDecision::init_map)?, "poller_scaling_decision" => (::Temporalio::Api::TaskQueue::V1::PollerScalingDecision | ::Temporalio::Api::TaskQueue::V1::PollerScalingDecision::init_map)?, + poller_group_id: (::String | ::Symbol)?, + "poller_group_id" => (::String | ::Symbol)?, + poller_group_infos: ::Array[::Temporalio::Api::TaskQueue::V1::PollerGroupInfo]?, + "poller_group_infos" => ::Array[::Temporalio::Api::TaskQueue::V1::PollerGroupInfo]?, } def initialize: (?init_map initial_value) -> void @@ -1201,6 +1250,8 @@ module Temporalio | ("queries" name) -> (::Google::Protobuf::Map[::String, ::Temporalio::Api::Query::V1::WorkflowQuery]) | ("messages" name) -> ::Google::Protobuf::RepeatedField | ("poller_scaling_decision" name) -> ::Temporalio::Api::TaskQueue::V1::PollerScalingDecision? + | ("poller_group_id" name) -> ::String + | ("poller_group_infos" name) -> ::Google::Protobuf::RepeatedField def []=: ("task_token" name, ::String value) -> void @@ -1219,6 +1270,8 @@ module Temporalio | ("queries" name, (::Google::Protobuf::Map[::String, ::Temporalio::Api::Query::V1::WorkflowQuery]) value) -> void | ("messages" name, ::Google::Protobuf::RepeatedField value) -> void | ("poller_scaling_decision" name, ::Temporalio::Api::TaskQueue::V1::PollerScalingDecision? value) -> void + | ("poller_group_id" name, (::String | ::Symbol) value) -> void + | ("poller_group_infos" name, ::Google::Protobuf::RepeatedField value) -> void end class RespondWorkflowTaskCompletedRequest < ::Google::Protobuf::AbstractMessage @@ -1347,6 +1400,18 @@ module Temporalio def has_deployment_options?: () -> bool def clear_deployment_options: () -> void + # A unique key for this worker instance, used for tracking worker lifecycle. + # This is guaranteed to be unique, whereas identity is not guaranteed to be unique. + attr_reader worker_instance_key(): ::String + attr_writer worker_instance_key(): ::String | ::Symbol + def clear_worker_instance_key: () -> void + + # A dedicated per-worker Nexus task queue on which the server sends control + # tasks (e.g. activity cancellation) to this specific worker instance. + attr_reader worker_control_task_queue(): ::String + attr_writer worker_control_task_queue(): ::String | ::Symbol + def clear_worker_control_task_queue: () -> void + type init_map = { task_token: ::String?, "task_token" => ::String?, @@ -1384,6 +1449,10 @@ module Temporalio "versioning_behavior" => (::Temporalio::Api::Enums::V1::VersioningBehavior::names | ::Temporalio::Api::Enums::V1::VersioningBehavior::strings | ::Integer | ::Float)?, deployment_options: (::Temporalio::Api::Deployment::V1::WorkerDeploymentOptions | ::Temporalio::Api::Deployment::V1::WorkerDeploymentOptions::init_map)?, "deployment_options" => (::Temporalio::Api::Deployment::V1::WorkerDeploymentOptions | ::Temporalio::Api::Deployment::V1::WorkerDeploymentOptions::init_map)?, + worker_instance_key: (::String | ::Symbol)?, + "worker_instance_key" => (::String | ::Symbol)?, + worker_control_task_queue: (::String | ::Symbol)?, + "worker_control_task_queue" => (::String | ::Symbol)?, } def initialize: (?init_map initial_value) -> void @@ -1407,6 +1476,8 @@ module Temporalio | ("deployment" name) -> ::Temporalio::Api::Deployment::V1::Deployment? | ("versioning_behavior" name) -> (::Temporalio::Api::Enums::V1::VersioningBehavior::names | ::Integer) | ("deployment_options" name) -> ::Temporalio::Api::Deployment::V1::WorkerDeploymentOptions? + | ("worker_instance_key" name) -> ::String + | ("worker_control_task_queue" name) -> ::String def []=: ("task_token" name, ::String value) -> void @@ -1427,6 +1498,8 @@ module Temporalio | ("deployment" name, ::Temporalio::Api::Deployment::V1::Deployment? value) -> void | ("versioning_behavior" name, (::Temporalio::Api::Enums::V1::VersioningBehavior::names | ::Temporalio::Api::Enums::V1::VersioningBehavior::strings | ::Integer | ::Float) value) -> void | ("deployment_options" name, ::Temporalio::Api::Deployment::V1::WorkerDeploymentOptions? value) -> void + | ("worker_instance_key" name, (::String | ::Symbol) value) -> void + | ("worker_control_task_queue" name, (::String | ::Symbol) value) -> void end class RespondWorkflowTaskCompletedResponse < ::Google::Protobuf::AbstractMessage @@ -1606,6 +1679,14 @@ module Temporalio def has_task_queue?: () -> bool def clear_task_queue: () -> void + # Unless this is the first poll, the client must pass one of the poller group IDs received in + # `poller_group_infos` of the last the PollActivityTaskQueueResponse according to the + # instructions. If not set, the poll is routed randomly which can cause it being blocked + # without receiving a task while the queue actually has tasks in another server location. + attr_reader poller_group_id(): ::String + attr_writer poller_group_id(): ::String | ::Symbol + def clear_poller_group_id: () -> void + # The identity of the worker/client attr_reader identity(): ::String attr_writer identity(): ::String | ::Symbol @@ -1617,6 +1698,12 @@ module Temporalio attr_writer worker_instance_key(): ::String | ::Symbol def clear_worker_instance_key: () -> void + # A dedicated per-worker Nexus task queue on which the server sends control + # tasks (e.g. activity cancellation) to this specific worker instance. + attr_reader worker_control_task_queue(): ::String + attr_writer worker_control_task_queue(): ::String | ::Symbol + def clear_worker_control_task_queue: () -> void + attr_accessor task_queue_metadata(): ::Temporalio::Api::TaskQueue::V1::TaskQueueMetadata? def has_task_queue_metadata?: () -> bool def clear_task_queue_metadata: () -> void @@ -1639,10 +1726,14 @@ module Temporalio "namespace" => (::String | ::Symbol)?, task_queue: (::Temporalio::Api::TaskQueue::V1::TaskQueue | ::Temporalio::Api::TaskQueue::V1::TaskQueue::init_map)?, "task_queue" => (::Temporalio::Api::TaskQueue::V1::TaskQueue | ::Temporalio::Api::TaskQueue::V1::TaskQueue::init_map)?, + poller_group_id: (::String | ::Symbol)?, + "poller_group_id" => (::String | ::Symbol)?, identity: (::String | ::Symbol)?, "identity" => (::String | ::Symbol)?, worker_instance_key: (::String | ::Symbol)?, "worker_instance_key" => (::String | ::Symbol)?, + worker_control_task_queue: (::String | ::Symbol)?, + "worker_control_task_queue" => (::String | ::Symbol)?, task_queue_metadata: (::Temporalio::Api::TaskQueue::V1::TaskQueueMetadata | ::Temporalio::Api::TaskQueue::V1::TaskQueueMetadata::init_map)?, "task_queue_metadata" => (::Temporalio::Api::TaskQueue::V1::TaskQueueMetadata | ::Temporalio::Api::TaskQueue::V1::TaskQueueMetadata::init_map)?, worker_version_capabilities: (::Temporalio::Api::Common::V1::WorkerVersionCapabilities | ::Temporalio::Api::Common::V1::WorkerVersionCapabilities::init_map)?, @@ -1656,8 +1747,10 @@ module Temporalio def []: ("namespace" name) -> ::String | ("task_queue" name) -> ::Temporalio::Api::TaskQueue::V1::TaskQueue? + | ("poller_group_id" name) -> ::String | ("identity" name) -> ::String | ("worker_instance_key" name) -> ::String + | ("worker_control_task_queue" name) -> ::String | ("task_queue_metadata" name) -> ::Temporalio::Api::TaskQueue::V1::TaskQueueMetadata? | ("worker_version_capabilities" name) -> ::Temporalio::Api::Common::V1::WorkerVersionCapabilities? | ("deployment_options" name) -> ::Temporalio::Api::Deployment::V1::WorkerDeploymentOptions? @@ -1665,8 +1758,10 @@ module Temporalio def []=: ("namespace" name, (::String | ::Symbol) value) -> void | ("task_queue" name, ::Temporalio::Api::TaskQueue::V1::TaskQueue? value) -> void + | ("poller_group_id" name, (::String | ::Symbol) value) -> void | ("identity" name, (::String | ::Symbol) value) -> void | ("worker_instance_key" name, (::String | ::Symbol) value) -> void + | ("worker_control_task_queue" name, (::String | ::Symbol) value) -> void | ("task_queue_metadata" name, ::Temporalio::Api::TaskQueue::V1::TaskQueueMetadata? value) -> void | ("worker_version_capabilities" name, ::Temporalio::Api::Common::V1::WorkerVersionCapabilities? value) -> void | ("deployment_options" name, ::Temporalio::Api::Deployment::V1::WorkerDeploymentOptions? value) -> void @@ -1791,6 +1886,15 @@ module Temporalio attr_writer activity_run_id(): ::String | ::Symbol def clear_activity_run_id: () -> void + # The weighted list of poller groups IDs that client should use for future polls to this task + # queue. Client is expected to: + # 1. Maintain minimum number of pollers no less than the number of groups. + # 2. Try to assign the next poll to a group without any pending polls, + # 3. If every group has some pending polls, assign the next poll to a group randomly + # according to the weights. + attr_accessor poller_group_infos(): ::Google::Protobuf::RepeatedField + def clear_poller_group_infos: () -> void + type init_map = { task_token: ::String?, "task_token" => ::String?, @@ -1832,6 +1936,8 @@ module Temporalio "priority" => (::Temporalio::Api::Common::V1::Priority | ::Temporalio::Api::Common::V1::Priority::init_map)?, activity_run_id: (::String | ::Symbol)?, "activity_run_id" => (::String | ::Symbol)?, + poller_group_infos: ::Array[::Temporalio::Api::TaskQueue::V1::PollerGroupInfo]?, + "poller_group_infos" => ::Array[::Temporalio::Api::TaskQueue::V1::PollerGroupInfo]?, } def initialize: (?init_map initial_value) -> void @@ -1857,6 +1963,7 @@ module Temporalio | ("poller_scaling_decision" name) -> ::Temporalio::Api::TaskQueue::V1::PollerScalingDecision? | ("priority" name) -> ::Temporalio::Api::Common::V1::Priority? | ("activity_run_id" name) -> ::String + | ("poller_group_infos" name) -> ::Google::Protobuf::RepeatedField def []=: ("task_token" name, ::String value) -> void @@ -1879,6 +1986,7 @@ module Temporalio | ("poller_scaling_decision" name, ::Temporalio::Api::TaskQueue::V1::PollerScalingDecision? value) -> void | ("priority" name, ::Temporalio::Api::Common::V1::Priority? value) -> void | ("activity_run_id" name, (::String | ::Symbol) value) -> void + | ("poller_group_infos" name, ::Google::Protobuf::RepeatedField value) -> void end class RecordActivityTaskHeartbeatRequest < ::Google::Protobuf::AbstractMessage @@ -2863,10 +2971,25 @@ module Temporalio class SignalWorkflowExecutionResponse < ::Google::Protobuf::AbstractMessage + # Link to be associated with the WorkflowExecutionSignaled event. + # Added on the response to propagate the backlink. + # Available from Temporal server 1.31 and up. + attr_accessor link(): ::Temporalio::Api::Common::V1::Link? + def has_link?: () -> bool + def clear_link: () -> void + type init_map = { + link: (::Temporalio::Api::Common::V1::Link | ::Temporalio::Api::Common::V1::Link::init_map)?, + "link" => (::Temporalio::Api::Common::V1::Link | ::Temporalio::Api::Common::V1::Link::init_map)?, } def initialize: (?init_map initial_value) -> void + + def []: + ("link" name) -> ::Temporalio::Api::Common::V1::Link? + + def []=: + ("link" name, ::Temporalio::Api::Common::V1::Link? value) -> void end class SignalWithStartWorkflowExecutionRequest < ::Google::Protobuf::AbstractMessage @@ -3008,6 +3131,11 @@ module Temporalio def has_priority?: () -> bool def clear_priority: () -> void + # Time-skipping configuration. If not set, time skipping is disabled. + attr_accessor time_skipping_config(): ::Temporalio::Api::Workflow::V1::TimeSkippingConfig? + def has_time_skipping_config?: () -> bool + def clear_time_skipping_config: () -> void + type init_map = { namespace: (::String | ::Symbol)?, "namespace" => (::String | ::Symbol)?, @@ -3059,6 +3187,8 @@ module Temporalio "versioning_override" => (::Temporalio::Api::Workflow::V1::VersioningOverride | ::Temporalio::Api::Workflow::V1::VersioningOverride::init_map)?, priority: (::Temporalio::Api::Common::V1::Priority | ::Temporalio::Api::Common::V1::Priority::init_map)?, "priority" => (::Temporalio::Api::Common::V1::Priority | ::Temporalio::Api::Common::V1::Priority::init_map)?, + time_skipping_config: (::Temporalio::Api::Workflow::V1::TimeSkippingConfig | ::Temporalio::Api::Workflow::V1::TimeSkippingConfig::init_map)?, + "time_skipping_config" => (::Temporalio::Api::Workflow::V1::TimeSkippingConfig | ::Temporalio::Api::Workflow::V1::TimeSkippingConfig::init_map)?, } def initialize: (?init_map initial_value) -> void @@ -3089,6 +3219,7 @@ module Temporalio | ("links" name) -> ::Google::Protobuf::RepeatedField | ("versioning_override" name) -> ::Temporalio::Api::Workflow::V1::VersioningOverride? | ("priority" name) -> ::Temporalio::Api::Common::V1::Priority? + | ("time_skipping_config" name) -> ::Temporalio::Api::Workflow::V1::TimeSkippingConfig? def []=: ("namespace" name, (::String | ::Symbol) value) -> void @@ -3116,6 +3247,7 @@ module Temporalio | ("links" name, ::Google::Protobuf::RepeatedField value) -> void | ("versioning_override" name, ::Temporalio::Api::Workflow::V1::VersioningOverride? value) -> void | ("priority" name, ::Temporalio::Api::Common::V1::Priority? value) -> void + | ("time_skipping_config" name, ::Temporalio::Api::Workflow::V1::TimeSkippingConfig? value) -> void end class SignalWithStartWorkflowExecutionResponse < ::Google::Protobuf::AbstractMessage @@ -3129,11 +3261,20 @@ module Temporalio attr_accessor started(): bool def clear_started: () -> void + # Link to be associated with the WorkflowExecutionSignaled event. + # Added on the response to propagate the backlink. + # Available from Temporal server 1.31 and up. + attr_accessor signal_link(): ::Temporalio::Api::Common::V1::Link? + def has_signal_link?: () -> bool + def clear_signal_link: () -> void + type init_map = { run_id: (::String | ::Symbol)?, "run_id" => (::String | ::Symbol)?, started: bool?, "started" => bool?, + signal_link: (::Temporalio::Api::Common::V1::Link | ::Temporalio::Api::Common::V1::Link::init_map)?, + "signal_link" => (::Temporalio::Api::Common::V1::Link | ::Temporalio::Api::Common::V1::Link::init_map)?, } def initialize: (?init_map initial_value) -> void @@ -3141,10 +3282,12 @@ module Temporalio def []: ("run_id" name) -> ::String | ("started" name) -> bool + | ("signal_link" name) -> ::Temporalio::Api::Common::V1::Link? def []=: ("run_id" name, (::String | ::Symbol) value) -> void | ("started" name, bool value) -> void + | ("signal_link" name, ::Temporalio::Api::Common::V1::Link? value) -> void end class ResetWorkflowExecutionRequest < ::Google::Protobuf::AbstractMessage @@ -3939,6 +4082,12 @@ module Temporalio attr_reader cause_const(): ::Integer def clear_cause: () -> void + # Client must forward the poller_group_id received in PollWorkflowTaskQueueResponse for proper + # routing of the response. + attr_reader poller_group_id(): ::String + attr_writer poller_group_id(): ::String | ::Symbol + def clear_poller_group_id: () -> void + type init_map = { task_token: ::String?, "task_token" => ::String?, @@ -3954,6 +4103,8 @@ module Temporalio "failure" => (::Temporalio::Api::Failure::V1::Failure | ::Temporalio::Api::Failure::V1::Failure::init_map)?, cause: (::Temporalio::Api::Enums::V1::WorkflowTaskFailedCause::names | ::Temporalio::Api::Enums::V1::WorkflowTaskFailedCause::strings | ::Integer | ::Float)?, "cause" => (::Temporalio::Api::Enums::V1::WorkflowTaskFailedCause::names | ::Temporalio::Api::Enums::V1::WorkflowTaskFailedCause::strings | ::Integer | ::Float)?, + poller_group_id: (::String | ::Symbol)?, + "poller_group_id" => (::String | ::Symbol)?, } def initialize: (?init_map initial_value) -> void @@ -3966,6 +4117,7 @@ module Temporalio | ("namespace" name) -> ::String | ("failure" name) -> ::Temporalio::Api::Failure::V1::Failure? | ("cause" name) -> (::Temporalio::Api::Enums::V1::WorkflowTaskFailedCause::names | ::Integer) + | ("poller_group_id" name) -> ::String def []=: ("task_token" name, ::String value) -> void @@ -3975,6 +4127,7 @@ module Temporalio | ("namespace" name, (::String | ::Symbol) value) -> void | ("failure" name, ::Temporalio::Api::Failure::V1::Failure? value) -> void | ("cause" name, (::Temporalio::Api::Enums::V1::WorkflowTaskFailedCause::names | ::Temporalio::Api::Enums::V1::WorkflowTaskFailedCause::strings | ::Integer | ::Float) value) -> void + | ("poller_group_id" name, (::String | ::Symbol) value) -> void end class RespondQueryTaskCompletedResponse < ::Google::Protobuf::AbstractMessage @@ -4713,6 +4866,12 @@ module Temporalio attr_accessor nexus(): bool def clear_nexus: () -> void + # True if the server supports server-scaled deployments. + # This flag is dependent both on server version and for server-scaled deployments + # to be enabled via server configuration. + attr_accessor server_scaled_deployments(): bool + def clear_server_scaled_deployments: () -> void + type init_map = { signal_and_query_header: bool?, "signal_and_query_header" => bool?, @@ -4736,6 +4895,8 @@ module Temporalio "count_group_by_execution_status" => bool?, nexus: bool?, "nexus" => bool?, + server_scaled_deployments: bool?, + "server_scaled_deployments" => bool?, } def initialize: (?init_map initial_value) -> void @@ -4752,6 +4913,7 @@ module Temporalio | ("sdk_metadata" name) -> bool | ("count_group_by_execution_status" name) -> bool | ("nexus" name) -> bool + | ("server_scaled_deployments" name) -> bool def []=: ("signal_and_query_header" name, bool value) -> void @@ -4765,6 +4927,7 @@ module Temporalio | ("sdk_metadata" name, bool value) -> void | ("count_group_by_execution_status" name, bool value) -> void | ("nexus" name, bool value) -> void + | ("server_scaled_deployments" name, bool value) -> void end # Version of the server. @@ -5090,6 +5253,13 @@ module Temporalio def has_search_attributes?: () -> bool def clear_search_attributes: () -> void + # Schedule memo to replace. If set, replaces the entire memo. + # Do not set this field if you do not want to update the memo. + # A non-null empty object will clear the memo. + attr_accessor memo(): ::Temporalio::Api::Common::V1::Memo? + def has_memo?: () -> bool + def clear_memo: () -> void + type init_map = { namespace: (::String | ::Symbol)?, "namespace" => (::String | ::Symbol)?, @@ -5105,6 +5275,8 @@ module Temporalio "request_id" => (::String | ::Symbol)?, search_attributes: (::Temporalio::Api::Common::V1::SearchAttributes | ::Temporalio::Api::Common::V1::SearchAttributes::init_map)?, "search_attributes" => (::Temporalio::Api::Common::V1::SearchAttributes | ::Temporalio::Api::Common::V1::SearchAttributes::init_map)?, + memo: (::Temporalio::Api::Common::V1::Memo | ::Temporalio::Api::Common::V1::Memo::init_map)?, + "memo" => (::Temporalio::Api::Common::V1::Memo | ::Temporalio::Api::Common::V1::Memo::init_map)?, } def initialize: (?init_map initial_value) -> void @@ -5117,6 +5289,7 @@ module Temporalio | ("identity" name) -> ::String | ("request_id" name) -> ::String | ("search_attributes" name) -> ::Temporalio::Api::Common::V1::SearchAttributes? + | ("memo" name) -> ::Temporalio::Api::Common::V1::Memo? def []=: ("namespace" name, (::String | ::Symbol) value) -> void @@ -5126,6 +5299,7 @@ module Temporalio | ("identity" name, (::String | ::Symbol) value) -> void | ("request_id" name, (::String | ::Symbol) value) -> void | ("search_attributes" name, ::Temporalio::Api::Common::V1::SearchAttributes? value) -> void + | ("memo" name, ::Temporalio::Api::Common::V1::Memo? value) -> void end class UpdateScheduleResponse < ::Google::Protobuf::AbstractMessage @@ -6866,6 +7040,18 @@ module Temporalio attr_writer namespace(): ::String | ::Symbol def clear_namespace: () -> void + attr_accessor task_queue(): ::Temporalio::Api::TaskQueue::V1::TaskQueue? + def has_task_queue?: () -> bool + def clear_task_queue: () -> void + + # Unless this is the first poll, the client must pass one of the poller group IDs received in + # `poller_group_infos` of the last the PollNexusTaskQueueResponse according to the + # instructions. If not set, the poll is routed randomly which can cause it being blocked + # without receiving a task while the queue actually has tasks in another server location. + attr_reader poller_group_id(): ::String + attr_writer poller_group_id(): ::String | ::Symbol + def clear_poller_group_id: () -> void + # The identity of the client who initiated this request. attr_reader identity(): ::String attr_writer identity(): ::String | ::Symbol @@ -6877,10 +7063,6 @@ module Temporalio attr_writer worker_instance_key(): ::String | ::Symbol def clear_worker_instance_key: () -> void - attr_accessor task_queue(): ::Temporalio::Api::TaskQueue::V1::TaskQueue? - def has_task_queue?: () -> bool - def clear_task_queue: () -> void - # Information about this worker's build identifier and if it is choosing to use the versioning # feature. See the `WorkerVersionCapabilities` docstring for more. # Deprecated. Replaced by deployment_options. @@ -6901,12 +7083,14 @@ module Temporalio type init_map = { namespace: (::String | ::Symbol)?, "namespace" => (::String | ::Symbol)?, + task_queue: (::Temporalio::Api::TaskQueue::V1::TaskQueue | ::Temporalio::Api::TaskQueue::V1::TaskQueue::init_map)?, + "task_queue" => (::Temporalio::Api::TaskQueue::V1::TaskQueue | ::Temporalio::Api::TaskQueue::V1::TaskQueue::init_map)?, + poller_group_id: (::String | ::Symbol)?, + "poller_group_id" => (::String | ::Symbol)?, identity: (::String | ::Symbol)?, "identity" => (::String | ::Symbol)?, worker_instance_key: (::String | ::Symbol)?, "worker_instance_key" => (::String | ::Symbol)?, - task_queue: (::Temporalio::Api::TaskQueue::V1::TaskQueue | ::Temporalio::Api::TaskQueue::V1::TaskQueue::init_map)?, - "task_queue" => (::Temporalio::Api::TaskQueue::V1::TaskQueue | ::Temporalio::Api::TaskQueue::V1::TaskQueue::init_map)?, worker_version_capabilities: (::Temporalio::Api::Common::V1::WorkerVersionCapabilities | ::Temporalio::Api::Common::V1::WorkerVersionCapabilities::init_map)?, "worker_version_capabilities" => (::Temporalio::Api::Common::V1::WorkerVersionCapabilities | ::Temporalio::Api::Common::V1::WorkerVersionCapabilities::init_map)?, deployment_options: (::Temporalio::Api::Deployment::V1::WorkerDeploymentOptions | ::Temporalio::Api::Deployment::V1::WorkerDeploymentOptions::init_map)?, @@ -6919,18 +7103,20 @@ module Temporalio def []: ("namespace" name) -> ::String + | ("task_queue" name) -> ::Temporalio::Api::TaskQueue::V1::TaskQueue? + | ("poller_group_id" name) -> ::String | ("identity" name) -> ::String | ("worker_instance_key" name) -> ::String - | ("task_queue" name) -> ::Temporalio::Api::TaskQueue::V1::TaskQueue? | ("worker_version_capabilities" name) -> ::Temporalio::Api::Common::V1::WorkerVersionCapabilities? | ("deployment_options" name) -> ::Temporalio::Api::Deployment::V1::WorkerDeploymentOptions? | ("worker_heartbeat" name) -> ::Google::Protobuf::RepeatedField def []=: ("namespace" name, (::String | ::Symbol) value) -> void + | ("task_queue" name, ::Temporalio::Api::TaskQueue::V1::TaskQueue? value) -> void + | ("poller_group_id" name, (::String | ::Symbol) value) -> void | ("identity" name, (::String | ::Symbol) value) -> void | ("worker_instance_key" name, (::String | ::Symbol) value) -> void - | ("task_queue" name, ::Temporalio::Api::TaskQueue::V1::TaskQueue? value) -> void | ("worker_version_capabilities" name, ::Temporalio::Api::Common::V1::WorkerVersionCapabilities? value) -> void | ("deployment_options" name, ::Temporalio::Api::Deployment::V1::WorkerDeploymentOptions? value) -> void | ("worker_heartbeat" name, ::Google::Protobuf::RepeatedField value) -> void @@ -6952,6 +7138,23 @@ module Temporalio def has_poller_scaling_decision?: () -> bool def clear_poller_scaling_decision: () -> void + # This poller group ID identifies the owner of the nexus task awaiting for synchronous + # response. + # Corresponding `RespondNexusTaskCompleted` and `RespondNexusTaskFailed` calls should pass this + # value for proper response routing. + attr_reader poller_group_id(): ::String + attr_writer poller_group_id(): ::String | ::Symbol + def clear_poller_group_id: () -> void + + # The weighted list of poller groups IDs that client should use for future polls to this task + # queue. Client is expected to: + # 1. Maintain minimum number of pollers no less than the number of groups. + # 2. Try to assign the next poll to a group without any pending polls, + # 3. If every group has some pending polls, assign the next poll to a group randomly + # according to the weights. + attr_accessor poller_group_infos(): ::Google::Protobuf::RepeatedField + def clear_poller_group_infos: () -> void + type init_map = { task_token: ::String?, "task_token" => ::String?, @@ -6959,6 +7162,10 @@ module Temporalio "request" => (::Temporalio::Api::Nexus::V1::Request | ::Temporalio::Api::Nexus::V1::Request::init_map)?, poller_scaling_decision: (::Temporalio::Api::TaskQueue::V1::PollerScalingDecision | ::Temporalio::Api::TaskQueue::V1::PollerScalingDecision::init_map)?, "poller_scaling_decision" => (::Temporalio::Api::TaskQueue::V1::PollerScalingDecision | ::Temporalio::Api::TaskQueue::V1::PollerScalingDecision::init_map)?, + poller_group_id: (::String | ::Symbol)?, + "poller_group_id" => (::String | ::Symbol)?, + poller_group_infos: ::Array[::Temporalio::Api::TaskQueue::V1::PollerGroupInfo]?, + "poller_group_infos" => ::Array[::Temporalio::Api::TaskQueue::V1::PollerGroupInfo]?, } def initialize: (?init_map initial_value) -> void @@ -6967,11 +7174,15 @@ module Temporalio ("task_token" name) -> ::String | ("request" name) -> ::Temporalio::Api::Nexus::V1::Request? | ("poller_scaling_decision" name) -> ::Temporalio::Api::TaskQueue::V1::PollerScalingDecision? + | ("poller_group_id" name) -> ::String + | ("poller_group_infos" name) -> ::Google::Protobuf::RepeatedField def []=: ("task_token" name, ::String value) -> void | ("request" name, ::Temporalio::Api::Nexus::V1::Request? value) -> void | ("poller_scaling_decision" name, ::Temporalio::Api::TaskQueue::V1::PollerScalingDecision? value) -> void + | ("poller_group_id" name, (::String | ::Symbol) value) -> void + | ("poller_group_infos" name, ::Google::Protobuf::RepeatedField value) -> void end class RespondNexusTaskCompletedRequest < ::Google::Protobuf::AbstractMessage @@ -6994,6 +7205,12 @@ module Temporalio def has_response?: () -> bool def clear_response: () -> void + # Client must forward the poller_group_id received in PollNexusTaskQueueResponse for proper + # routing of the response. + attr_reader poller_group_id(): ::String + attr_writer poller_group_id(): ::String | ::Symbol + def clear_poller_group_id: () -> void + type init_map = { namespace: (::String | ::Symbol)?, "namespace" => (::String | ::Symbol)?, @@ -7003,6 +7220,8 @@ module Temporalio "task_token" => ::String?, response: (::Temporalio::Api::Nexus::V1::Response | ::Temporalio::Api::Nexus::V1::Response::init_map)?, "response" => (::Temporalio::Api::Nexus::V1::Response | ::Temporalio::Api::Nexus::V1::Response::init_map)?, + poller_group_id: (::String | ::Symbol)?, + "poller_group_id" => (::String | ::Symbol)?, } def initialize: (?init_map initial_value) -> void @@ -7012,12 +7231,14 @@ module Temporalio | ("identity" name) -> ::String | ("task_token" name) -> ::String | ("response" name) -> ::Temporalio::Api::Nexus::V1::Response? + | ("poller_group_id" name) -> ::String def []=: ("namespace" name, (::String | ::Symbol) value) -> void | ("identity" name, (::String | ::Symbol) value) -> void | ("task_token" name, ::String value) -> void | ("response" name, ::Temporalio::Api::Nexus::V1::Response? value) -> void + | ("poller_group_id" name, (::String | ::Symbol) value) -> void end class RespondNexusTaskCompletedResponse < ::Google::Protobuf::AbstractMessage @@ -7054,6 +7275,12 @@ module Temporalio def has_failure?: () -> bool def clear_failure: () -> void + # Client must forward the poller_group_id received in PollNexusTaskQueueResponse for proper + # routing of the response. + attr_reader poller_group_id(): ::String + attr_writer poller_group_id(): ::String | ::Symbol + def clear_poller_group_id: () -> void + type init_map = { namespace: (::String | ::Symbol)?, "namespace" => (::String | ::Symbol)?, @@ -7065,6 +7292,8 @@ module Temporalio "error" => (::Temporalio::Api::Nexus::V1::HandlerError | ::Temporalio::Api::Nexus::V1::HandlerError::init_map)?, failure: (::Temporalio::Api::Failure::V1::Failure | ::Temporalio::Api::Failure::V1::Failure::init_map)?, "failure" => (::Temporalio::Api::Failure::V1::Failure | ::Temporalio::Api::Failure::V1::Failure::init_map)?, + poller_group_id: (::String | ::Symbol)?, + "poller_group_id" => (::String | ::Symbol)?, } def initialize: (?init_map initial_value) -> void @@ -7075,6 +7304,7 @@ module Temporalio | ("task_token" name) -> ::String | ("error" name) -> ::Temporalio::Api::Nexus::V1::HandlerError? | ("failure" name) -> ::Temporalio::Api::Failure::V1::Failure? + | ("poller_group_id" name) -> ::String def []=: ("namespace" name, (::String | ::Symbol) value) -> void @@ -7082,6 +7312,7 @@ module Temporalio | ("task_token" name, ::String value) -> void | ("error" name, ::Temporalio::Api::Nexus::V1::HandlerError? value) -> void | ("failure" name, ::Temporalio::Api::Failure::V1::Failure? value) -> void + | ("poller_group_id" name, (::String | ::Symbol) value) -> void end class RespondNexusTaskFailedResponse < ::Google::Protobuf::AbstractMessage @@ -8450,6 +8681,77 @@ module Temporalio | ("previous_percentage" name, (::Float | ::Integer) value) -> void end + # Creates a new WorkerDeployment. + class CreateWorkerDeploymentRequest < ::Google::Protobuf::AbstractMessage + + attr_reader namespace(): ::String + attr_writer namespace(): ::String | ::Symbol + def clear_namespace: () -> void + + # The name of the Worker Deployment to create. If a Worker Deployment with + # this name already exists, an error will be returned. + attr_reader deployment_name(): ::String + attr_writer deployment_name(): ::String | ::Symbol + def clear_deployment_name: () -> void + + # Optional. The identity of the client who initiated this request. + attr_reader identity(): ::String + attr_writer identity(): ::String | ::Symbol + def clear_identity: () -> void + + # A unique identifier for this create request for idempotence. Typically UUIDv4. + attr_reader request_id(): ::String + attr_writer request_id(): ::String | ::Symbol + def clear_request_id: () -> void + + type init_map = { + namespace: (::String | ::Symbol)?, + "namespace" => (::String | ::Symbol)?, + deployment_name: (::String | ::Symbol)?, + "deployment_name" => (::String | ::Symbol)?, + identity: (::String | ::Symbol)?, + "identity" => (::String | ::Symbol)?, + request_id: (::String | ::Symbol)?, + "request_id" => (::String | ::Symbol)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("namespace" name) -> ::String + | ("deployment_name" name) -> ::String + | ("identity" name) -> ::String + | ("request_id" name) -> ::String + + def []=: + ("namespace" name, (::String | ::Symbol) value) -> void + | ("deployment_name" name, (::String | ::Symbol) value) -> void + | ("identity" name, (::String | ::Symbol) value) -> void + | ("request_id" name, (::String | ::Symbol) value) -> void + end + + class CreateWorkerDeploymentResponse < ::Google::Protobuf::AbstractMessage + + # This value is returned so that it can be optionally passed to APIs that + # write to the WorkerDeployment state to ensure that the state did not + # change between this API call and a future write. + attr_accessor conflict_token(): ::String + def clear_conflict_token: () -> void + + type init_map = { + conflict_token: ::String?, + "conflict_token" => ::String?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("conflict_token" name) -> ::String + + def []=: + ("conflict_token" name, ::String value) -> void + end + class ListWorkerDeploymentsRequest < ::Google::Protobuf::AbstractMessage attr_reader namespace(): ::String @@ -8577,6 +8879,74 @@ module Temporalio | ("worker_deployments" name, ::Google::Protobuf::RepeatedField value) -> void end + # Creates a new WorkerDeploymentVersion. + class CreateWorkerDeploymentVersionRequest < ::Google::Protobuf::AbstractMessage + + attr_reader namespace(): ::String + attr_writer namespace(): ::String | ::Symbol + def clear_namespace: () -> void + + # Required. + attr_accessor deployment_version(): ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion? + def has_deployment_version?: () -> bool + def clear_deployment_version: () -> void + + # Optional. Contains the new worker compute configuration for the Worker + # Deployment. Used for worker scale management. + attr_accessor compute_config(): ::Temporalio::Api::Compute::V1::ComputeConfig? + def has_compute_config?: () -> bool + def clear_compute_config: () -> void + + # Optional. The identity of the client who initiated this request. + attr_reader identity(): ::String + attr_writer identity(): ::String | ::Symbol + def clear_identity: () -> void + + # A unique identifier for this create request for idempotence. Typically UUIDv4. + # If a second request with the same ID is recieved, it is considered a successful no-op. + # Retrying with a different request ID for the same deployment name + build ID is an error. + attr_reader request_id(): ::String + attr_writer request_id(): ::String | ::Symbol + def clear_request_id: () -> void + + type init_map = { + namespace: (::String | ::Symbol)?, + "namespace" => (::String | ::Symbol)?, + deployment_version: (::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion | ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion::init_map)?, + "deployment_version" => (::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion | ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion::init_map)?, + compute_config: (::Temporalio::Api::Compute::V1::ComputeConfig | ::Temporalio::Api::Compute::V1::ComputeConfig::init_map)?, + "compute_config" => (::Temporalio::Api::Compute::V1::ComputeConfig | ::Temporalio::Api::Compute::V1::ComputeConfig::init_map)?, + identity: (::String | ::Symbol)?, + "identity" => (::String | ::Symbol)?, + request_id: (::String | ::Symbol)?, + "request_id" => (::String | ::Symbol)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("namespace" name) -> ::String + | ("deployment_version" name) -> ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion? + | ("compute_config" name) -> ::Temporalio::Api::Compute::V1::ComputeConfig? + | ("identity" name) -> ::String + | ("request_id" name) -> ::String + + def []=: + ("namespace" name, (::String | ::Symbol) value) -> void + | ("deployment_version" name, ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion? value) -> void + | ("compute_config" name, ::Temporalio::Api::Compute::V1::ComputeConfig? value) -> void + | ("identity" name, (::String | ::Symbol) value) -> void + | ("request_id" name, (::String | ::Symbol) value) -> void + end + + class CreateWorkerDeploymentVersionResponse < ::Google::Protobuf::AbstractMessage + + type init_map = { + } + + def initialize: (?init_map initial_value) -> void + end + # Used for manual deletion of Versions. User can delete a Version only when all the # following conditions are met: # - It is not the Current or Ramping Version of its Deployment. @@ -8695,123 +9065,262 @@ module Temporalio def initialize: (?init_map initial_value) -> void end - # Used to update the user-defined metadata of a Worker Deployment Version. - class UpdateWorkerDeploymentVersionMetadataRequest < ::Google::Protobuf::AbstractMessage + # Used to update the compute config of a Worker Deployment Version. + class UpdateWorkerDeploymentVersionComputeConfigRequest < ::Google::Protobuf::AbstractMessage attr_reader namespace(): ::String attr_writer namespace(): ::String | ::Symbol def clear_namespace: () -> void - # Deprecated. Use `deployment_version`. - # @deprecated - attr_reader version(): ::String - attr_writer version(): ::String | ::Symbol - def clear_version: () -> void - # Required. attr_accessor deployment_version(): ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion? def has_deployment_version?: () -> bool def clear_deployment_version: () -> void - attr_accessor upsert_entries(): ::Google::Protobuf::Map[::String, ::Temporalio::Api::Common::V1::Payload] - def clear_upsert_entries: () -> void + # Optional. Contains the compute config scaling groups to add or update for the Worker + # Deployment. + attr_accessor compute_config_scaling_groups(): ::Google::Protobuf::Map[::String, ::Temporalio::Api::Compute::V1::ComputeConfigScalingGroupUpdate] + def clear_compute_config_scaling_groups: () -> void - # List of keys to remove from the metadata. - attr_accessor remove_entries(): ::Google::Protobuf::RepeatedField - def clear_remove_entries: () -> void + # Optional. Contains the compute config scaling groups to remove from the Worker Deployment. + attr_accessor remove_compute_config_scaling_groups(): ::Google::Protobuf::RepeatedField + def clear_remove_compute_config_scaling_groups: () -> void # Optional. The identity of the client who initiated this request. attr_reader identity(): ::String attr_writer identity(): ::String | ::Symbol def clear_identity: () -> void + # A unique identifier for this create request for idempotence. Typically UUIDv4. + # If a second request with the same ID is recieved, it is considered a successful no-op. + # Retrying with a different request ID for the same deployment name + build ID is an error. + attr_reader request_id(): ::String + attr_writer request_id(): ::String | ::Symbol + def clear_request_id: () -> void + type init_map = { namespace: (::String | ::Symbol)?, "namespace" => (::String | ::Symbol)?, - version: (::String | ::Symbol)?, - "version" => (::String | ::Symbol)?, deployment_version: (::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion | ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion::init_map)?, "deployment_version" => (::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion | ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion::init_map)?, - upsert_entries: ::Hash[::String | ::Symbol, ::Temporalio::Api::Common::V1::Payload]?, - "upsert_entries" => ::Hash[::String | ::Symbol, ::Temporalio::Api::Common::V1::Payload]?, - remove_entries: ::Array[::String | ::Symbol]?, - "remove_entries" => ::Array[::String | ::Symbol]?, + compute_config_scaling_groups: ::Hash[::String | ::Symbol, ::Temporalio::Api::Compute::V1::ComputeConfigScalingGroupUpdate]?, + "compute_config_scaling_groups" => ::Hash[::String | ::Symbol, ::Temporalio::Api::Compute::V1::ComputeConfigScalingGroupUpdate]?, + remove_compute_config_scaling_groups: ::Array[::String | ::Symbol]?, + "remove_compute_config_scaling_groups" => ::Array[::String | ::Symbol]?, identity: (::String | ::Symbol)?, "identity" => (::String | ::Symbol)?, + request_id: (::String | ::Symbol)?, + "request_id" => (::String | ::Symbol)?, } def initialize: (?init_map initial_value) -> void def []: ("namespace" name) -> ::String - | ("version" name) -> ::String | ("deployment_version" name) -> ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion? - | ("upsert_entries" name) -> (::Google::Protobuf::Map[::String, ::Temporalio::Api::Common::V1::Payload]) - | ("remove_entries" name) -> (::Google::Protobuf::RepeatedField) + | ("compute_config_scaling_groups" name) -> (::Google::Protobuf::Map[::String, ::Temporalio::Api::Compute::V1::ComputeConfigScalingGroupUpdate]) + | ("remove_compute_config_scaling_groups" name) -> (::Google::Protobuf::RepeatedField) | ("identity" name) -> ::String + | ("request_id" name) -> ::String def []=: ("namespace" name, (::String | ::Symbol) value) -> void - | ("version" name, (::String | ::Symbol) value) -> void | ("deployment_version" name, ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion? value) -> void - | ("upsert_entries" name, (::Google::Protobuf::Map[::String, ::Temporalio::Api::Common::V1::Payload]) value) -> void - | ("remove_entries" name, (::Google::Protobuf::RepeatedField) value) -> void + | ("compute_config_scaling_groups" name, (::Google::Protobuf::Map[::String, ::Temporalio::Api::Compute::V1::ComputeConfigScalingGroupUpdate]) value) -> void + | ("remove_compute_config_scaling_groups" name, (::Google::Protobuf::RepeatedField) value) -> void | ("identity" name, (::String | ::Symbol) value) -> void + | ("request_id" name, (::String | ::Symbol) value) -> void end - class UpdateWorkerDeploymentVersionMetadataResponse < ::Google::Protobuf::AbstractMessage - - # Full metadata after performing the update. - attr_accessor metadata(): ::Temporalio::Api::Deployment::V1::VersionMetadata? - def has_metadata?: () -> bool - def clear_metadata: () -> void + class UpdateWorkerDeploymentVersionComputeConfigResponse < ::Google::Protobuf::AbstractMessage type init_map = { - metadata: (::Temporalio::Api::Deployment::V1::VersionMetadata | ::Temporalio::Api::Deployment::V1::VersionMetadata::init_map)?, - "metadata" => (::Temporalio::Api::Deployment::V1::VersionMetadata | ::Temporalio::Api::Deployment::V1::VersionMetadata::init_map)?, } def initialize: (?init_map initial_value) -> void - - def []: - ("metadata" name) -> ::Temporalio::Api::Deployment::V1::VersionMetadata? - - def []=: - ("metadata" name, ::Temporalio::Api::Deployment::V1::VersionMetadata? value) -> void end - # Update the ManagerIdentity of a Worker Deployment. - class SetWorkerDeploymentManagerRequest < ::Google::Protobuf::AbstractMessage + # Used to validate the compute config without attaching it to a Worker Deployment Version. + class ValidateWorkerDeploymentVersionComputeConfigRequest < ::Google::Protobuf::AbstractMessage attr_reader namespace(): ::String attr_writer namespace(): ::String | ::Symbol def clear_namespace: () -> void - attr_reader deployment_name(): ::String - attr_writer deployment_name(): ::String | ::Symbol - def clear_deployment_name: () -> void - - # Arbitrary value for `manager_identity`. - # Empty will unset the field. - attr_reader manager_identity(): ::String - attr_writer manager_identity(): (::String | ::Symbol)? - def has_manager_identity?: () -> bool - def clear_manager_identity: () -> void + # Required. + attr_accessor deployment_version(): ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion? + def has_deployment_version?: () -> bool + def clear_deployment_version: () -> void - # True will set `manager_identity` to `identity`. - attr_reader self(): bool - attr_writer self(): bool? - def has_self?: () -> bool - def clear_self: () -> void + # Optional. Contains the compute config scaling groups to add or update for the Worker + # Deployment. + attr_accessor compute_config_scaling_groups(): ::Google::Protobuf::Map[::String, ::Temporalio::Api::Compute::V1::ComputeConfigScalingGroupUpdate] + def clear_compute_config_scaling_groups: () -> void - # Optional. This can be the value of conflict_token from a Describe, or another Worker - # Deployment API. Passing a non-nil conflict token will cause this request to fail if the - # Deployment's configuration has been modified between the API call that generated the - # token and this one. - attr_accessor conflict_token(): ::String - def clear_conflict_token: () -> void + # Optional. Contains the compute config scaling groups to remove from the Worker Deployment. + attr_accessor remove_compute_config_scaling_groups(): ::Google::Protobuf::RepeatedField + def clear_remove_compute_config_scaling_groups: () -> void - # Required. The identity of the client who initiated this request. + # Optional. The identity of the client who initiated this request. + attr_reader identity(): ::String + attr_writer identity(): ::String | ::Symbol + def clear_identity: () -> void + + type init_map = { + namespace: (::String | ::Symbol)?, + "namespace" => (::String | ::Symbol)?, + deployment_version: (::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion | ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion::init_map)?, + "deployment_version" => (::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion | ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion::init_map)?, + compute_config_scaling_groups: ::Hash[::String | ::Symbol, ::Temporalio::Api::Compute::V1::ComputeConfigScalingGroupUpdate]?, + "compute_config_scaling_groups" => ::Hash[::String | ::Symbol, ::Temporalio::Api::Compute::V1::ComputeConfigScalingGroupUpdate]?, + remove_compute_config_scaling_groups: ::Array[::String | ::Symbol]?, + "remove_compute_config_scaling_groups" => ::Array[::String | ::Symbol]?, + identity: (::String | ::Symbol)?, + "identity" => (::String | ::Symbol)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("namespace" name) -> ::String + | ("deployment_version" name) -> ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion? + | ("compute_config_scaling_groups" name) -> (::Google::Protobuf::Map[::String, ::Temporalio::Api::Compute::V1::ComputeConfigScalingGroupUpdate]) + | ("remove_compute_config_scaling_groups" name) -> (::Google::Protobuf::RepeatedField) + | ("identity" name) -> ::String + + def []=: + ("namespace" name, (::String | ::Symbol) value) -> void + | ("deployment_version" name, ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion? value) -> void + | ("compute_config_scaling_groups" name, (::Google::Protobuf::Map[::String, ::Temporalio::Api::Compute::V1::ComputeConfigScalingGroupUpdate]) value) -> void + | ("remove_compute_config_scaling_groups" name, (::Google::Protobuf::RepeatedField) value) -> void + | ("identity" name, (::String | ::Symbol) value) -> void + end + + class ValidateWorkerDeploymentVersionComputeConfigResponse < ::Google::Protobuf::AbstractMessage + + type init_map = { + } + + def initialize: (?init_map initial_value) -> void + end + + # Used to update the user-defined metadata of a Worker Deployment Version. + class UpdateWorkerDeploymentVersionMetadataRequest < ::Google::Protobuf::AbstractMessage + + attr_reader namespace(): ::String + attr_writer namespace(): ::String | ::Symbol + def clear_namespace: () -> void + + # Deprecated. Use `deployment_version`. + # @deprecated + attr_reader version(): ::String + attr_writer version(): ::String | ::Symbol + def clear_version: () -> void + + # Required. + attr_accessor deployment_version(): ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion? + def has_deployment_version?: () -> bool + def clear_deployment_version: () -> void + + attr_accessor upsert_entries(): ::Google::Protobuf::Map[::String, ::Temporalio::Api::Common::V1::Payload] + def clear_upsert_entries: () -> void + + # List of keys to remove from the metadata. + attr_accessor remove_entries(): ::Google::Protobuf::RepeatedField + def clear_remove_entries: () -> void + + # Optional. The identity of the client who initiated this request. + attr_reader identity(): ::String + attr_writer identity(): ::String | ::Symbol + def clear_identity: () -> void + + type init_map = { + namespace: (::String | ::Symbol)?, + "namespace" => (::String | ::Symbol)?, + version: (::String | ::Symbol)?, + "version" => (::String | ::Symbol)?, + deployment_version: (::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion | ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion::init_map)?, + "deployment_version" => (::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion | ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion::init_map)?, + upsert_entries: ::Hash[::String | ::Symbol, ::Temporalio::Api::Common::V1::Payload]?, + "upsert_entries" => ::Hash[::String | ::Symbol, ::Temporalio::Api::Common::V1::Payload]?, + remove_entries: ::Array[::String | ::Symbol]?, + "remove_entries" => ::Array[::String | ::Symbol]?, + identity: (::String | ::Symbol)?, + "identity" => (::String | ::Symbol)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("namespace" name) -> ::String + | ("version" name) -> ::String + | ("deployment_version" name) -> ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion? + | ("upsert_entries" name) -> (::Google::Protobuf::Map[::String, ::Temporalio::Api::Common::V1::Payload]) + | ("remove_entries" name) -> (::Google::Protobuf::RepeatedField) + | ("identity" name) -> ::String + + def []=: + ("namespace" name, (::String | ::Symbol) value) -> void + | ("version" name, (::String | ::Symbol) value) -> void + | ("deployment_version" name, ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion? value) -> void + | ("upsert_entries" name, (::Google::Protobuf::Map[::String, ::Temporalio::Api::Common::V1::Payload]) value) -> void + | ("remove_entries" name, (::Google::Protobuf::RepeatedField) value) -> void + | ("identity" name, (::String | ::Symbol) value) -> void + end + + class UpdateWorkerDeploymentVersionMetadataResponse < ::Google::Protobuf::AbstractMessage + + # Full metadata after performing the update. + attr_accessor metadata(): ::Temporalio::Api::Deployment::V1::VersionMetadata? + def has_metadata?: () -> bool + def clear_metadata: () -> void + + type init_map = { + metadata: (::Temporalio::Api::Deployment::V1::VersionMetadata | ::Temporalio::Api::Deployment::V1::VersionMetadata::init_map)?, + "metadata" => (::Temporalio::Api::Deployment::V1::VersionMetadata | ::Temporalio::Api::Deployment::V1::VersionMetadata::init_map)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("metadata" name) -> ::Temporalio::Api::Deployment::V1::VersionMetadata? + + def []=: + ("metadata" name, ::Temporalio::Api::Deployment::V1::VersionMetadata? value) -> void + end + + # Update the ManagerIdentity of a Worker Deployment. + class SetWorkerDeploymentManagerRequest < ::Google::Protobuf::AbstractMessage + + attr_reader namespace(): ::String + attr_writer namespace(): ::String | ::Symbol + def clear_namespace: () -> void + + attr_reader deployment_name(): ::String + attr_writer deployment_name(): ::String | ::Symbol + def clear_deployment_name: () -> void + + # Arbitrary value for `manager_identity`. + # Empty will unset the field. + attr_reader manager_identity(): ::String + attr_writer manager_identity(): (::String | ::Symbol)? + def has_manager_identity?: () -> bool + def clear_manager_identity: () -> void + + # True will set `manager_identity` to `identity`. + attr_reader self(): bool + attr_writer self(): bool? + def has_self?: () -> bool + def clear_self: () -> void + + # Optional. This can be the value of conflict_token from a Describe, or another Worker + # Deployment API. Passing a non-nil conflict token will cause this request to fail if the + # Deployment's configuration has been modified between the API call that generated the + # token and this one. + attr_accessor conflict_token(): ::String + def clear_conflict_token: () -> void + + # Required. The identity of the client who initiated this request. attr_reader identity(): ::String attr_writer identity(): ::String | ::Symbol def clear_identity: () -> void @@ -10105,6 +10614,27 @@ module Temporalio def has_priority?: () -> bool def clear_priority: () -> void + # Callbacks to be called by the server when this activity reaches a terminal state. + # Callback addresses must be whitelisted in the server's dynamic configuration. + attr_accessor completion_callbacks(): ::Google::Protobuf::RepeatedField + def clear_completion_callbacks: () -> void + + # Links to be associated with the activity. Callbacks may also have associated links; + # links already included with a callback should not be duplicated here. + attr_accessor links(): ::Google::Protobuf::RepeatedField + def clear_links: () -> void + + # Options for handling conflicts when using ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING. + attr_accessor on_conflict_options(): ::Temporalio::Api::Common::V1::OnConflictOptions? + def has_on_conflict_options?: () -> bool + def clear_on_conflict_options: () -> void + + # Time to wait before dispatching the first activity task. This delay is not applied to retry attempts. + attr_reader start_delay(): ::Google::Protobuf::Duration? + attr_writer start_delay(): (::Google::Protobuf::Duration | ::int)? + def has_start_delay?: () -> bool + def clear_start_delay: () -> void + type init_map = { namespace: (::String | ::Symbol)?, "namespace" => (::String | ::Symbol)?, @@ -10142,6 +10672,14 @@ module Temporalio "user_metadata" => (::Temporalio::Api::Sdk::V1::UserMetadata | ::Temporalio::Api::Sdk::V1::UserMetadata::init_map)?, priority: (::Temporalio::Api::Common::V1::Priority | ::Temporalio::Api::Common::V1::Priority::init_map)?, "priority" => (::Temporalio::Api::Common::V1::Priority | ::Temporalio::Api::Common::V1::Priority::init_map)?, + completion_callbacks: ::Array[::Temporalio::Api::Common::V1::Callback]?, + "completion_callbacks" => ::Array[::Temporalio::Api::Common::V1::Callback]?, + links: ::Array[::Temporalio::Api::Common::V1::Link]?, + "links" => ::Array[::Temporalio::Api::Common::V1::Link]?, + on_conflict_options: (::Temporalio::Api::Common::V1::OnConflictOptions | ::Temporalio::Api::Common::V1::OnConflictOptions::init_map)?, + "on_conflict_options" => (::Temporalio::Api::Common::V1::OnConflictOptions | ::Temporalio::Api::Common::V1::OnConflictOptions::init_map)?, + start_delay: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?, + "start_delay" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?, } def initialize: (?init_map initial_value) -> void @@ -10165,6 +10703,10 @@ module Temporalio | ("header" name) -> ::Temporalio::Api::Common::V1::Header? | ("user_metadata" name) -> ::Temporalio::Api::Sdk::V1::UserMetadata? | ("priority" name) -> ::Temporalio::Api::Common::V1::Priority? + | ("completion_callbacks" name) -> ::Google::Protobuf::RepeatedField + | ("links" name) -> ::Google::Protobuf::RepeatedField + | ("on_conflict_options" name) -> ::Temporalio::Api::Common::V1::OnConflictOptions? + | ("start_delay" name) -> ::Google::Protobuf::Duration? def []=: ("namespace" name, (::String | ::Symbol) value) -> void @@ -10185,6 +10727,10 @@ module Temporalio | ("header" name, ::Temporalio::Api::Common::V1::Header? value) -> void | ("user_metadata" name, ::Temporalio::Api::Sdk::V1::UserMetadata? value) -> void | ("priority" name, ::Temporalio::Api::Common::V1::Priority? value) -> void + | ("completion_callbacks" name, ::Google::Protobuf::RepeatedField value) -> void + | ("links" name, ::Google::Protobuf::RepeatedField value) -> void + | ("on_conflict_options" name, ::Temporalio::Api::Common::V1::OnConflictOptions? value) -> void + | ("start_delay" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void end class StartActivityExecutionResponse < ::Google::Protobuf::AbstractMessage @@ -10198,11 +10744,18 @@ module Temporalio attr_accessor started(): bool def clear_started: () -> void + # Link to the started activity. + attr_accessor link(): ::Temporalio::Api::Common::V1::Link? + def has_link?: () -> bool + def clear_link: () -> void + type init_map = { run_id: (::String | ::Symbol)?, "run_id" => (::String | ::Symbol)?, started: bool?, "started" => bool?, + link: (::Temporalio::Api::Common::V1::Link | ::Temporalio::Api::Common::V1::Link::init_map)?, + "link" => (::Temporalio::Api::Common::V1::Link | ::Temporalio::Api::Common::V1::Link::init_map)?, } def initialize: (?init_map initial_value) -> void @@ -10210,10 +10763,12 @@ module Temporalio def []: ("run_id" name) -> ::String | ("started" name) -> bool + | ("link" name) -> ::Temporalio::Api::Common::V1::Link? def []=: ("run_id" name, (::String | ::Symbol) value) -> void | ("started" name, bool value) -> void + | ("link" name, ::Temporalio::Api::Common::V1::Link? value) -> void end class DescribeActivityExecutionRequest < ::Google::Protobuf::AbstractMessage @@ -10309,6 +10864,10 @@ module Temporalio attr_accessor long_poll_token(): ::String def clear_long_poll_token: () -> void + # Callbacks attached to this activity execution and their current state. + attr_accessor callbacks(): ::Google::Protobuf::RepeatedField + def clear_callbacks: () -> void + type init_map = { run_id: (::String | ::Symbol)?, "run_id" => (::String | ::Symbol)?, @@ -10320,6 +10879,8 @@ module Temporalio "outcome" => (::Temporalio::Api::Activity::V1::ActivityExecutionOutcome | ::Temporalio::Api::Activity::V1::ActivityExecutionOutcome::init_map)?, long_poll_token: ::String?, "long_poll_token" => ::String?, + callbacks: ::Array[::Temporalio::Api::Activity::V1::CallbackInfo]?, + "callbacks" => ::Array[::Temporalio::Api::Activity::V1::CallbackInfo]?, } def initialize: (?init_map initial_value) -> void @@ -10330,6 +10891,7 @@ module Temporalio | ("input" name) -> ::Temporalio::Api::Common::V1::Payloads? | ("outcome" name) -> ::Temporalio::Api::Activity::V1::ActivityExecutionOutcome? | ("long_poll_token" name) -> ::String + | ("callbacks" name) -> ::Google::Protobuf::RepeatedField def []=: ("run_id" name, (::String | ::Symbol) value) -> void @@ -10337,6 +10899,7 @@ module Temporalio | ("input" name, ::Temporalio::Api::Common::V1::Payloads? value) -> void | ("outcome" name, ::Temporalio::Api::Activity::V1::ActivityExecutionOutcome? value) -> void | ("long_poll_token" name, ::String value) -> void + | ("callbacks" name, ::Google::Protobuf::RepeatedField value) -> void end class PollActivityExecutionRequest < ::Google::Protobuf::AbstractMessage @@ -10478,60 +11041,605 @@ module Temporalio | ("next_page_token" name, ::String value) -> void end - class CountActivityExecutionsRequest < ::Google::Protobuf::AbstractMessage + class StartNexusOperationExecutionRequest < ::Google::Protobuf::AbstractMessage attr_reader namespace(): ::String attr_writer namespace(): ::String | ::Symbol def clear_namespace: () -> void - # Visibility query, see https://docs.temporal.io/list-filter for the syntax. - attr_reader query(): ::String - attr_writer query(): ::String | ::Symbol - def clear_query: () -> void + # The identity of the client who initiated this request. + attr_reader identity(): ::String + attr_writer identity(): ::String | ::Symbol + def clear_identity: () -> void - type init_map = { - namespace: (::String | ::Symbol)?, - "namespace" => (::String | ::Symbol)?, - query: (::String | ::Symbol)?, - "query" => (::String | ::Symbol)?, - } + # A unique identifier for this caller-side start request. Typically UUIDv4. + # StartOperation requests sent to the handler will use a server-generated request ID. + attr_reader request_id(): ::String + attr_writer request_id(): ::String | ::Symbol + def clear_request_id: () -> void - def initialize: (?init_map initial_value) -> void + # Identifier for this operation. This is a caller-side ID, distinct from any internal + # operation identifiers generated by the handler. Must be unique among operations in the + # same namespace, subject to the rules imposed by id_reuse_policy and id_conflict_policy. + attr_reader operation_id(): ::String + attr_writer operation_id(): ::String | ::Symbol + def clear_operation_id: () -> void + + # Endpoint name, resolved to a URL via the cluster's endpoint registry. + attr_reader endpoint(): ::String + attr_writer endpoint(): ::String | ::Symbol + def clear_endpoint: () -> void + + # Service name. + attr_reader service(): ::String + attr_writer service(): ::String | ::Symbol + def clear_service: () -> void + + # Operation name. + attr_reader operation(): ::String + attr_writer operation(): ::String | ::Symbol + def clear_operation: () -> void - def []: - ("namespace" name) -> ::String - | ("query" name) -> ::String + # Schedule-to-close timeout for this operation. + # Indicates how long the caller is willing to wait for operation completion. + # Calls are retried internally by the server. + # (-- api-linter: core::0140::prepositions=disabled + # aip.dev/not-precedent: "to" is used to indicate interval. --) + attr_reader schedule_to_close_timeout(): ::Google::Protobuf::Duration? + attr_writer schedule_to_close_timeout(): (::Google::Protobuf::Duration | ::int)? + def has_schedule_to_close_timeout?: () -> bool + def clear_schedule_to_close_timeout: () -> void - def []=: - ("namespace" name, (::String | ::Symbol) value) -> void - | ("query" name, (::String | ::Symbol) value) -> void - end + # Schedule-to-start timeout for this operation. + # Indicates how long the caller is willing to wait for the operation to be started (or completed if synchronous) + # by the handler. + # If not set or zero, no schedule-to-start timeout is enforced. + # (-- api-linter: core::0140::prepositions=disabled + # aip.dev/not-precedent: "to" is used to indicate interval. --) + attr_reader schedule_to_start_timeout(): ::Google::Protobuf::Duration? + attr_writer schedule_to_start_timeout(): (::Google::Protobuf::Duration | ::int)? + def has_schedule_to_start_timeout?: () -> bool + def clear_schedule_to_start_timeout: () -> void - class CountActivityExecutionsResponse < ::Google::Protobuf::AbstractMessage - class AggregationGroup < ::Google::Protobuf::AbstractMessage + # Start-to-close timeout for this operation. + # Indicates how long the caller is willing to wait for an asynchronous operation to complete after it has been + # started. Synchronous operations ignore this timeout. + # If not set or zero, no start-to-close timeout is enforced. + # (-- api-linter: core::0140::prepositions=disabled + # aip.dev/not-precedent: "to" is used to indicate interval. --) + attr_reader start_to_close_timeout(): ::Google::Protobuf::Duration? + attr_writer start_to_close_timeout(): (::Google::Protobuf::Duration | ::int)? + def has_start_to_close_timeout?: () -> bool + def clear_start_to_close_timeout: () -> void - attr_accessor group_values(): ::Google::Protobuf::RepeatedField - def clear_group_values: () -> void + # Serialized input to the operation. Passed as the request payload. + attr_accessor input(): ::Temporalio::Api::Common::V1::Payload? + def has_input?: () -> bool + def clear_input: () -> void - attr_reader count(): ::Integer - attr_writer count(): ::Integer | ::Float - def clear_count: () -> void + # Defines whether to allow re-using the operation id from a previously *closed* operation. + # The default policy is NEXUS_OPERATION_ID_REUSE_POLICY_ALLOW_DUPLICATE. + attr_reader id_reuse_policy(): ::Temporalio::Api::Enums::V1::NexusOperationIdReusePolicy::names | ::Integer + attr_writer id_reuse_policy(): ::Temporalio::Api::Enums::V1::NexusOperationIdReusePolicy::names | ::Temporalio::Api::Enums::V1::NexusOperationIdReusePolicy::strings | ::Integer | ::Float + attr_reader id_reuse_policy_const(): ::Integer + def clear_id_reuse_policy: () -> void - type init_map = { - group_values: ::Array[::Temporalio::Api::Common::V1::Payload]?, - "group_values" => ::Array[::Temporalio::Api::Common::V1::Payload]?, - count: (::Integer | ::Float)?, - "count" => (::Integer | ::Float)?, - } + # Defines how to resolve an operation id conflict with a *running* operation. + # The default policy is NEXUS_OPERATION_ID_CONFLICT_POLICY_FAIL. + attr_reader id_conflict_policy(): ::Temporalio::Api::Enums::V1::NexusOperationIdConflictPolicy::names | ::Integer + attr_writer id_conflict_policy(): ::Temporalio::Api::Enums::V1::NexusOperationIdConflictPolicy::names | ::Temporalio::Api::Enums::V1::NexusOperationIdConflictPolicy::strings | ::Integer | ::Float + attr_reader id_conflict_policy_const(): ::Integer + def clear_id_conflict_policy: () -> void - def initialize: (?init_map initial_value) -> void + # Search attributes for indexing. + attr_accessor search_attributes(): ::Temporalio::Api::Common::V1::SearchAttributes? + def has_search_attributes?: () -> bool + def clear_search_attributes: () -> void - def []: - ("group_values" name) -> ::Google::Protobuf::RepeatedField - | ("count" name) -> ::Integer + # Header to attach to the Nexus request. + # Users are responsible for encrypting sensitive data in this header as it is stored in workflow history and + # transmitted to external services as-is. + # This is useful for propagating tracing information. + # Note these headers are not the same as Temporal headers on internal activities and child workflows, these are + # transmitted to Nexus operations that may be external and are not traditional payloads. + attr_accessor nexus_header(): ::Google::Protobuf::Map[::String, ::String] + def clear_nexus_header: () -> void - def []=: - ("group_values" name, ::Google::Protobuf::RepeatedField value) -> void + # Metadata for use by user interfaces to display the fixed as-of-start summary and details of the operation. + attr_accessor user_metadata(): ::Temporalio::Api::Sdk::V1::UserMetadata? + def has_user_metadata?: () -> bool + def clear_user_metadata: () -> void + + type init_map = { + namespace: (::String | ::Symbol)?, + "namespace" => (::String | ::Symbol)?, + identity: (::String | ::Symbol)?, + "identity" => (::String | ::Symbol)?, + request_id: (::String | ::Symbol)?, + "request_id" => (::String | ::Symbol)?, + operation_id: (::String | ::Symbol)?, + "operation_id" => (::String | ::Symbol)?, + endpoint: (::String | ::Symbol)?, + "endpoint" => (::String | ::Symbol)?, + service: (::String | ::Symbol)?, + "service" => (::String | ::Symbol)?, + operation: (::String | ::Symbol)?, + "operation" => (::String | ::Symbol)?, + schedule_to_close_timeout: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?, + "schedule_to_close_timeout" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?, + schedule_to_start_timeout: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?, + "schedule_to_start_timeout" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?, + start_to_close_timeout: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?, + "start_to_close_timeout" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?, + input: (::Temporalio::Api::Common::V1::Payload | ::Temporalio::Api::Common::V1::Payload::init_map)?, + "input" => (::Temporalio::Api::Common::V1::Payload | ::Temporalio::Api::Common::V1::Payload::init_map)?, + id_reuse_policy: (::Temporalio::Api::Enums::V1::NexusOperationIdReusePolicy::names | ::Temporalio::Api::Enums::V1::NexusOperationIdReusePolicy::strings | ::Integer | ::Float)?, + "id_reuse_policy" => (::Temporalio::Api::Enums::V1::NexusOperationIdReusePolicy::names | ::Temporalio::Api::Enums::V1::NexusOperationIdReusePolicy::strings | ::Integer | ::Float)?, + id_conflict_policy: (::Temporalio::Api::Enums::V1::NexusOperationIdConflictPolicy::names | ::Temporalio::Api::Enums::V1::NexusOperationIdConflictPolicy::strings | ::Integer | ::Float)?, + "id_conflict_policy" => (::Temporalio::Api::Enums::V1::NexusOperationIdConflictPolicy::names | ::Temporalio::Api::Enums::V1::NexusOperationIdConflictPolicy::strings | ::Integer | ::Float)?, + search_attributes: (::Temporalio::Api::Common::V1::SearchAttributes | ::Temporalio::Api::Common::V1::SearchAttributes::init_map)?, + "search_attributes" => (::Temporalio::Api::Common::V1::SearchAttributes | ::Temporalio::Api::Common::V1::SearchAttributes::init_map)?, + nexus_header: ::Hash[::String | ::Symbol, ::String | ::Symbol]?, + "nexus_header" => ::Hash[::String | ::Symbol, ::String | ::Symbol]?, + user_metadata: (::Temporalio::Api::Sdk::V1::UserMetadata | ::Temporalio::Api::Sdk::V1::UserMetadata::init_map)?, + "user_metadata" => (::Temporalio::Api::Sdk::V1::UserMetadata | ::Temporalio::Api::Sdk::V1::UserMetadata::init_map)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("namespace" name) -> ::String + | ("identity" name) -> ::String + | ("request_id" name) -> ::String + | ("operation_id" name) -> ::String + | ("endpoint" name) -> ::String + | ("service" name) -> ::String + | ("operation" name) -> ::String + | ("schedule_to_close_timeout" name) -> ::Google::Protobuf::Duration? + | ("schedule_to_start_timeout" name) -> ::Google::Protobuf::Duration? + | ("start_to_close_timeout" name) -> ::Google::Protobuf::Duration? + | ("input" name) -> ::Temporalio::Api::Common::V1::Payload? + | ("id_reuse_policy" name) -> (::Temporalio::Api::Enums::V1::NexusOperationIdReusePolicy::names | ::Integer) + | ("id_conflict_policy" name) -> (::Temporalio::Api::Enums::V1::NexusOperationIdConflictPolicy::names | ::Integer) + | ("search_attributes" name) -> ::Temporalio::Api::Common::V1::SearchAttributes? + | ("nexus_header" name) -> (::Google::Protobuf::Map[::String, ::String]) + | ("user_metadata" name) -> ::Temporalio::Api::Sdk::V1::UserMetadata? + + def []=: + ("namespace" name, (::String | ::Symbol) value) -> void + | ("identity" name, (::String | ::Symbol) value) -> void + | ("request_id" name, (::String | ::Symbol) value) -> void + | ("operation_id" name, (::String | ::Symbol) value) -> void + | ("endpoint" name, (::String | ::Symbol) value) -> void + | ("service" name, (::String | ::Symbol) value) -> void + | ("operation" name, (::String | ::Symbol) value) -> void + | ("schedule_to_close_timeout" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void + | ("schedule_to_start_timeout" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void + | ("start_to_close_timeout" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void + | ("input" name, ::Temporalio::Api::Common::V1::Payload? value) -> void + | ("id_reuse_policy" name, (::Temporalio::Api::Enums::V1::NexusOperationIdReusePolicy::names | ::Temporalio::Api::Enums::V1::NexusOperationIdReusePolicy::strings | ::Integer | ::Float) value) -> void + | ("id_conflict_policy" name, (::Temporalio::Api::Enums::V1::NexusOperationIdConflictPolicy::names | ::Temporalio::Api::Enums::V1::NexusOperationIdConflictPolicy::strings | ::Integer | ::Float) value) -> void + | ("search_attributes" name, ::Temporalio::Api::Common::V1::SearchAttributes? value) -> void + | ("nexus_header" name, (::Google::Protobuf::Map[::String, ::String]) value) -> void + | ("user_metadata" name, ::Temporalio::Api::Sdk::V1::UserMetadata? value) -> void + end + + class StartNexusOperationExecutionResponse < ::Google::Protobuf::AbstractMessage + + # The run ID of the operation that was started - or used (via NEXUS_OPERATION_ID_CONFLICT_POLICY_USE_EXISTING). + attr_reader run_id(): ::String + attr_writer run_id(): ::String | ::Symbol + def clear_run_id: () -> void + + # If true, a new operation was started. + attr_accessor started(): bool + def clear_started: () -> void + + type init_map = { + run_id: (::String | ::Symbol)?, + "run_id" => (::String | ::Symbol)?, + started: bool?, + "started" => bool?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("run_id" name) -> ::String + | ("started" name) -> bool + + def []=: + ("run_id" name, (::String | ::Symbol) value) -> void + | ("started" name, bool value) -> void + end + + class DescribeNexusOperationExecutionRequest < ::Google::Protobuf::AbstractMessage + + attr_reader namespace(): ::String + attr_writer namespace(): ::String | ::Symbol + def clear_namespace: () -> void + + attr_reader operation_id(): ::String + attr_writer operation_id(): ::String | ::Symbol + def clear_operation_id: () -> void + + # Operation run ID. If empty the request targets the latest run. + attr_reader run_id(): ::String + attr_writer run_id(): ::String | ::Symbol + def clear_run_id: () -> void + + # Include the input field in the response. + attr_accessor include_input(): bool + def clear_include_input: () -> void + + # Include the outcome (result/failure) in the response if the operation has completed. + attr_accessor include_outcome(): bool + def clear_include_outcome: () -> void + + # Token from a previous DescribeNexusOperationExecutionResponse. If present, this RPC will long-poll until operation + # state changes from the state encoded in this token. If absent, return current state immediately. + # If present, run_id must also be present. + # Note that operation state may change multiple times between requests, therefore it is not + # guaranteed that a client making a sequence of long-poll requests will see a complete + # sequence of state changes. + attr_accessor long_poll_token(): ::String + def clear_long_poll_token: () -> void + + type init_map = { + namespace: (::String | ::Symbol)?, + "namespace" => (::String | ::Symbol)?, + operation_id: (::String | ::Symbol)?, + "operation_id" => (::String | ::Symbol)?, + run_id: (::String | ::Symbol)?, + "run_id" => (::String | ::Symbol)?, + include_input: bool?, + "include_input" => bool?, + include_outcome: bool?, + "include_outcome" => bool?, + long_poll_token: ::String?, + "long_poll_token" => ::String?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("namespace" name) -> ::String + | ("operation_id" name) -> ::String + | ("run_id" name) -> ::String + | ("include_input" name) -> bool + | ("include_outcome" name) -> bool + | ("long_poll_token" name) -> ::String + + def []=: + ("namespace" name, (::String | ::Symbol) value) -> void + | ("operation_id" name, (::String | ::Symbol) value) -> void + | ("run_id" name, (::String | ::Symbol) value) -> void + | ("include_input" name, bool value) -> void + | ("include_outcome" name, bool value) -> void + | ("long_poll_token" name, ::String value) -> void + end + + class DescribeNexusOperationExecutionResponse < ::Google::Protobuf::AbstractMessage + + # The run ID of the operation, useful when run_id was not specified in the request. + attr_reader run_id(): ::String + attr_writer run_id(): ::String | ::Symbol + def clear_run_id: () -> void + + # Information about the operation. + attr_accessor info(): ::Temporalio::Api::Nexus::V1::NexusOperationExecutionInfo? + def has_info?: () -> bool + def clear_info: () -> void + + # Serialized operation input, passed as the request payload. + # Only set if include_input was true in the request. + attr_accessor input(): ::Temporalio::Api::Common::V1::Payload? + def has_input?: () -> bool + def clear_input: () -> void + + # The result if the operation completed successfully. + attr_accessor result(): ::Temporalio::Api::Common::V1::Payload? + def has_result?: () -> bool + def clear_result: () -> void + + # The failure if the operation completed unsuccessfully. + attr_accessor failure(): ::Temporalio::Api::Failure::V1::Failure? + def has_failure?: () -> bool + def clear_failure: () -> void + + # Token for follow-on long-poll requests. Absent only if the operation is complete. + attr_accessor long_poll_token(): ::String + def clear_long_poll_token: () -> void + + # Only set if the operation is completed and include_outcome was true in the request. + attr_reader outcome(): (::Temporalio::Api::Common::V1::Payload | ::Temporalio::Api::Failure::V1::Failure)? + def has_outcome?: () -> bool + def clear_outcome: () -> void + + type init_map = { + run_id: (::String | ::Symbol)?, + "run_id" => (::String | ::Symbol)?, + info: (::Temporalio::Api::Nexus::V1::NexusOperationExecutionInfo | ::Temporalio::Api::Nexus::V1::NexusOperationExecutionInfo::init_map)?, + "info" => (::Temporalio::Api::Nexus::V1::NexusOperationExecutionInfo | ::Temporalio::Api::Nexus::V1::NexusOperationExecutionInfo::init_map)?, + input: (::Temporalio::Api::Common::V1::Payload | ::Temporalio::Api::Common::V1::Payload::init_map)?, + "input" => (::Temporalio::Api::Common::V1::Payload | ::Temporalio::Api::Common::V1::Payload::init_map)?, + result: (::Temporalio::Api::Common::V1::Payload | ::Temporalio::Api::Common::V1::Payload::init_map)?, + "result" => (::Temporalio::Api::Common::V1::Payload | ::Temporalio::Api::Common::V1::Payload::init_map)?, + failure: (::Temporalio::Api::Failure::V1::Failure | ::Temporalio::Api::Failure::V1::Failure::init_map)?, + "failure" => (::Temporalio::Api::Failure::V1::Failure | ::Temporalio::Api::Failure::V1::Failure::init_map)?, + long_poll_token: ::String?, + "long_poll_token" => ::String?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("run_id" name) -> ::String + | ("info" name) -> ::Temporalio::Api::Nexus::V1::NexusOperationExecutionInfo? + | ("input" name) -> ::Temporalio::Api::Common::V1::Payload? + | ("result" name) -> ::Temporalio::Api::Common::V1::Payload? + | ("failure" name) -> ::Temporalio::Api::Failure::V1::Failure? + | ("long_poll_token" name) -> ::String + + def []=: + ("run_id" name, (::String | ::Symbol) value) -> void + | ("info" name, ::Temporalio::Api::Nexus::V1::NexusOperationExecutionInfo? value) -> void + | ("input" name, ::Temporalio::Api::Common::V1::Payload? value) -> void + | ("result" name, ::Temporalio::Api::Common::V1::Payload? value) -> void + | ("failure" name, ::Temporalio::Api::Failure::V1::Failure? value) -> void + | ("long_poll_token" name, ::String value) -> void + end + + class PollNexusOperationExecutionRequest < ::Google::Protobuf::AbstractMessage + + attr_reader namespace(): ::String + attr_writer namespace(): ::String | ::Symbol + def clear_namespace: () -> void + + attr_reader operation_id(): ::String + attr_writer operation_id(): ::String | ::Symbol + def clear_operation_id: () -> void + + # Operation run ID. If empty the request targets the latest run. + attr_reader run_id(): ::String + attr_writer run_id(): ::String | ::Symbol + def clear_run_id: () -> void + + # Stage to wait for. The operation may be in a more advanced stage when the poll is unblocked. + attr_reader wait_stage(): ::Temporalio::Api::Enums::V1::NexusOperationWaitStage::names | ::Integer + attr_writer wait_stage(): ::Temporalio::Api::Enums::V1::NexusOperationWaitStage::names | ::Temporalio::Api::Enums::V1::NexusOperationWaitStage::strings | ::Integer | ::Float + attr_reader wait_stage_const(): ::Integer + def clear_wait_stage: () -> void + + type init_map = { + namespace: (::String | ::Symbol)?, + "namespace" => (::String | ::Symbol)?, + operation_id: (::String | ::Symbol)?, + "operation_id" => (::String | ::Symbol)?, + run_id: (::String | ::Symbol)?, + "run_id" => (::String | ::Symbol)?, + wait_stage: (::Temporalio::Api::Enums::V1::NexusOperationWaitStage::names | ::Temporalio::Api::Enums::V1::NexusOperationWaitStage::strings | ::Integer | ::Float)?, + "wait_stage" => (::Temporalio::Api::Enums::V1::NexusOperationWaitStage::names | ::Temporalio::Api::Enums::V1::NexusOperationWaitStage::strings | ::Integer | ::Float)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("namespace" name) -> ::String + | ("operation_id" name) -> ::String + | ("run_id" name) -> ::String + | ("wait_stage" name) -> (::Temporalio::Api::Enums::V1::NexusOperationWaitStage::names | ::Integer) + + def []=: + ("namespace" name, (::String | ::Symbol) value) -> void + | ("operation_id" name, (::String | ::Symbol) value) -> void + | ("run_id" name, (::String | ::Symbol) value) -> void + | ("wait_stage" name, (::Temporalio::Api::Enums::V1::NexusOperationWaitStage::names | ::Temporalio::Api::Enums::V1::NexusOperationWaitStage::strings | ::Integer | ::Float) value) -> void + end + + class PollNexusOperationExecutionResponse < ::Google::Protobuf::AbstractMessage + + # The run ID of the operation, useful when run_id was not specified in the request. + attr_reader run_id(): ::String + attr_writer run_id(): ::String | ::Symbol + def clear_run_id: () -> void + + # The current stage of the operation. May be more advanced than the stage requested in the poll. + attr_reader wait_stage(): ::Temporalio::Api::Enums::V1::NexusOperationWaitStage::names | ::Integer + attr_writer wait_stage(): ::Temporalio::Api::Enums::V1::NexusOperationWaitStage::names | ::Temporalio::Api::Enums::V1::NexusOperationWaitStage::strings | ::Integer | ::Float + attr_reader wait_stage_const(): ::Integer + def clear_wait_stage: () -> void + + # Operation token. Only populated for asynchronous operations after a successful StartOperation call. + attr_reader operation_token(): ::String + attr_writer operation_token(): ::String | ::Symbol + def clear_operation_token: () -> void + + # The result if the operation completed successfully. + attr_accessor result(): ::Temporalio::Api::Common::V1::Payload? + def has_result?: () -> bool + def clear_result: () -> void + + # The failure if the operation completed unsuccessfully. + attr_accessor failure(): ::Temporalio::Api::Failure::V1::Failure? + def has_failure?: () -> bool + def clear_failure: () -> void + + # The operation outcome, available if the operation is in a closed state. + attr_reader outcome(): (::Temporalio::Api::Common::V1::Payload | ::Temporalio::Api::Failure::V1::Failure)? + def has_outcome?: () -> bool + def clear_outcome: () -> void + + type init_map = { + run_id: (::String | ::Symbol)?, + "run_id" => (::String | ::Symbol)?, + wait_stage: (::Temporalio::Api::Enums::V1::NexusOperationWaitStage::names | ::Temporalio::Api::Enums::V1::NexusOperationWaitStage::strings | ::Integer | ::Float)?, + "wait_stage" => (::Temporalio::Api::Enums::V1::NexusOperationWaitStage::names | ::Temporalio::Api::Enums::V1::NexusOperationWaitStage::strings | ::Integer | ::Float)?, + operation_token: (::String | ::Symbol)?, + "operation_token" => (::String | ::Symbol)?, + result: (::Temporalio::Api::Common::V1::Payload | ::Temporalio::Api::Common::V1::Payload::init_map)?, + "result" => (::Temporalio::Api::Common::V1::Payload | ::Temporalio::Api::Common::V1::Payload::init_map)?, + failure: (::Temporalio::Api::Failure::V1::Failure | ::Temporalio::Api::Failure::V1::Failure::init_map)?, + "failure" => (::Temporalio::Api::Failure::V1::Failure | ::Temporalio::Api::Failure::V1::Failure::init_map)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("run_id" name) -> ::String + | ("wait_stage" name) -> (::Temporalio::Api::Enums::V1::NexusOperationWaitStage::names | ::Integer) + | ("operation_token" name) -> ::String + | ("result" name) -> ::Temporalio::Api::Common::V1::Payload? + | ("failure" name) -> ::Temporalio::Api::Failure::V1::Failure? + + def []=: + ("run_id" name, (::String | ::Symbol) value) -> void + | ("wait_stage" name, (::Temporalio::Api::Enums::V1::NexusOperationWaitStage::names | ::Temporalio::Api::Enums::V1::NexusOperationWaitStage::strings | ::Integer | ::Float) value) -> void + | ("operation_token" name, (::String | ::Symbol) value) -> void + | ("result" name, ::Temporalio::Api::Common::V1::Payload? value) -> void + | ("failure" name, ::Temporalio::Api::Failure::V1::Failure? value) -> void + end + + class ListNexusOperationExecutionsRequest < ::Google::Protobuf::AbstractMessage + + attr_reader namespace(): ::String + attr_writer namespace(): ::String | ::Symbol + def clear_namespace: () -> void + + # Max number of operations to return per page. + attr_reader page_size(): ::Integer + attr_writer page_size(): ::Integer | ::Float + def clear_page_size: () -> void + + # Token returned in ListNexusOperationExecutionsResponse. + attr_accessor next_page_token(): ::String + def clear_next_page_token: () -> void + + # Visibility query, see https://docs.temporal.io/list-filter for the syntax. + # Search attributes that are avaialble for Nexus operations include: + # - OperationId + # - RunId + # - Endpoint + # - Service + # - Operation + # - RequestId + # - StartTime + # - ExecutionTime + # - CloseTime + # - ExecutionStatus + # - ExecutionDuration + # - StateTransitionCount + attr_reader query(): ::String + attr_writer query(): ::String | ::Symbol + def clear_query: () -> void + + type init_map = { + namespace: (::String | ::Symbol)?, + "namespace" => (::String | ::Symbol)?, + page_size: (::Integer | ::Float)?, + "page_size" => (::Integer | ::Float)?, + next_page_token: ::String?, + "next_page_token" => ::String?, + query: (::String | ::Symbol)?, + "query" => (::String | ::Symbol)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("namespace" name) -> ::String + | ("page_size" name) -> ::Integer + | ("next_page_token" name) -> ::String + | ("query" name) -> ::String + + def []=: + ("namespace" name, (::String | ::Symbol) value) -> void + | ("page_size" name, (::Integer | ::Float) value) -> void + | ("next_page_token" name, ::String value) -> void + | ("query" name, (::String | ::Symbol) value) -> void + end + + class ListNexusOperationExecutionsResponse < ::Google::Protobuf::AbstractMessage + + attr_accessor operations(): ::Google::Protobuf::RepeatedField + def clear_operations: () -> void + + # Token to use to fetch the next page. If empty, there is no next page. + attr_accessor next_page_token(): ::String + def clear_next_page_token: () -> void + + type init_map = { + operations: ::Array[::Temporalio::Api::Nexus::V1::NexusOperationExecutionListInfo]?, + "operations" => ::Array[::Temporalio::Api::Nexus::V1::NexusOperationExecutionListInfo]?, + next_page_token: ::String?, + "next_page_token" => ::String?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("operations" name) -> ::Google::Protobuf::RepeatedField + | ("next_page_token" name) -> ::String + + def []=: + ("operations" name, ::Google::Protobuf::RepeatedField value) -> void + | ("next_page_token" name, ::String value) -> void + end + + class CountActivityExecutionsRequest < ::Google::Protobuf::AbstractMessage + + attr_reader namespace(): ::String + attr_writer namespace(): ::String | ::Symbol + def clear_namespace: () -> void + + # Visibility query, see https://docs.temporal.io/list-filter for the syntax. + attr_reader query(): ::String + attr_writer query(): ::String | ::Symbol + def clear_query: () -> void + + type init_map = { + namespace: (::String | ::Symbol)?, + "namespace" => (::String | ::Symbol)?, + query: (::String | ::Symbol)?, + "query" => (::String | ::Symbol)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("namespace" name) -> ::String + | ("query" name) -> ::String + + def []=: + ("namespace" name, (::String | ::Symbol) value) -> void + | ("query" name, (::String | ::Symbol) value) -> void + end + + class CountActivityExecutionsResponse < ::Google::Protobuf::AbstractMessage + class AggregationGroup < ::Google::Protobuf::AbstractMessage + + attr_accessor group_values(): ::Google::Protobuf::RepeatedField + def clear_group_values: () -> void + + attr_reader count(): ::Integer + attr_writer count(): ::Integer | ::Float + def clear_count: () -> void + + type init_map = { + group_values: ::Array[::Temporalio::Api::Common::V1::Payload]?, + "group_values" => ::Array[::Temporalio::Api::Common::V1::Payload]?, + count: (::Integer | ::Float)?, + "count" => (::Integer | ::Float)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("group_values" name) -> ::Google::Protobuf::RepeatedField + | ("count" name) -> ::Integer + + def []=: + ("group_values" name, ::Google::Protobuf::RepeatedField value) -> void | ("count" name, (::Integer | ::Float) value) -> void end @@ -10567,6 +11675,96 @@ module Temporalio | ("groups" name, ::Google::Protobuf::RepeatedField value) -> void end + class CountNexusOperationExecutionsRequest < ::Google::Protobuf::AbstractMessage + + attr_reader namespace(): ::String + attr_writer namespace(): ::String | ::Symbol + def clear_namespace: () -> void + + # Visibility query, see https://docs.temporal.io/list-filter for the syntax. + # See also ListNexusOperationExecutionsRequest for search attributes available for Nexus operations. + attr_reader query(): ::String + attr_writer query(): ::String | ::Symbol + def clear_query: () -> void + + type init_map = { + namespace: (::String | ::Symbol)?, + "namespace" => (::String | ::Symbol)?, + query: (::String | ::Symbol)?, + "query" => (::String | ::Symbol)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("namespace" name) -> ::String + | ("query" name) -> ::String + + def []=: + ("namespace" name, (::String | ::Symbol) value) -> void + | ("query" name, (::String | ::Symbol) value) -> void + end + + class CountNexusOperationExecutionsResponse < ::Google::Protobuf::AbstractMessage + class AggregationGroup < ::Google::Protobuf::AbstractMessage + + attr_accessor group_values(): ::Google::Protobuf::RepeatedField + def clear_group_values: () -> void + + attr_reader count(): ::Integer + attr_writer count(): ::Integer | ::Float + def clear_count: () -> void + + type init_map = { + group_values: ::Array[::Temporalio::Api::Common::V1::Payload]?, + "group_values" => ::Array[::Temporalio::Api::Common::V1::Payload]?, + count: (::Integer | ::Float)?, + "count" => (::Integer | ::Float)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("group_values" name) -> ::Google::Protobuf::RepeatedField + | ("count" name) -> ::Integer + + def []=: + ("group_values" name, ::Google::Protobuf::RepeatedField value) -> void + | ("count" name, (::Integer | ::Float) value) -> void + end + + # If `query` is not grouping by any field, the count is an approximate number + # of operations that match the query. + # If `query` is grouping by a field, the count is simply the sum of the counts + # of the groups returned in the response. This number can be smaller than the + # total number of operations matching the query. + attr_reader count(): ::Integer + attr_writer count(): ::Integer | ::Float + def clear_count: () -> void + + # Contains the groups if the request is grouping by a field. + # The list might not be complete, and the counts of each group is approximate. + attr_accessor groups(): ::Google::Protobuf::RepeatedField + def clear_groups: () -> void + + type init_map = { + count: (::Integer | ::Float)?, + "count" => (::Integer | ::Float)?, + groups: ::Array[::Temporalio::Api::WorkflowService::V1::CountNexusOperationExecutionsResponse::AggregationGroup]?, + "groups" => ::Array[::Temporalio::Api::WorkflowService::V1::CountNexusOperationExecutionsResponse::AggregationGroup]?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("count" name) -> ::Integer + | ("groups" name) -> ::Google::Protobuf::RepeatedField + + def []=: + ("count" name, (::Integer | ::Float) value) -> void + | ("groups" name, ::Google::Protobuf::RepeatedField value) -> void + end + class RequestCancelActivityExecutionRequest < ::Google::Protobuf::AbstractMessage attr_reader namespace(): ::String @@ -10756,6 +11954,195 @@ module Temporalio def initialize: (?init_map initial_value) -> void end + + class RequestCancelNexusOperationExecutionRequest < ::Google::Protobuf::AbstractMessage + + attr_reader namespace(): ::String + attr_writer namespace(): ::String | ::Symbol + def clear_namespace: () -> void + + attr_reader operation_id(): ::String + attr_writer operation_id(): ::String | ::Symbol + def clear_operation_id: () -> void + + # Operation run ID, targets the latest run if empty. + attr_reader run_id(): ::String + attr_writer run_id(): ::String | ::Symbol + def clear_run_id: () -> void + + # The identity of the client who initiated this request. + attr_reader identity(): ::String + attr_writer identity(): ::String | ::Symbol + def clear_identity: () -> void + + # Used to de-dupe cancellation requests. + attr_reader request_id(): ::String + attr_writer request_id(): ::String | ::Symbol + def clear_request_id: () -> void + + # Reason for requesting the cancellation, recorded and available via the DescribeNexusOperationExecution API. + attr_reader reason(): ::String + attr_writer reason(): ::String | ::Symbol + def clear_reason: () -> void + + type init_map = { + namespace: (::String | ::Symbol)?, + "namespace" => (::String | ::Symbol)?, + operation_id: (::String | ::Symbol)?, + "operation_id" => (::String | ::Symbol)?, + run_id: (::String | ::Symbol)?, + "run_id" => (::String | ::Symbol)?, + identity: (::String | ::Symbol)?, + "identity" => (::String | ::Symbol)?, + request_id: (::String | ::Symbol)?, + "request_id" => (::String | ::Symbol)?, + reason: (::String | ::Symbol)?, + "reason" => (::String | ::Symbol)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("namespace" name) -> ::String + | ("operation_id" name) -> ::String + | ("run_id" name) -> ::String + | ("identity" name) -> ::String + | ("request_id" name) -> ::String + | ("reason" name) -> ::String + + def []=: + ("namespace" name, (::String | ::Symbol) value) -> void + | ("operation_id" name, (::String | ::Symbol) value) -> void + | ("run_id" name, (::String | ::Symbol) value) -> void + | ("identity" name, (::String | ::Symbol) value) -> void + | ("request_id" name, (::String | ::Symbol) value) -> void + | ("reason" name, (::String | ::Symbol) value) -> void + end + + class RequestCancelNexusOperationExecutionResponse < ::Google::Protobuf::AbstractMessage + + type init_map = { + } + + def initialize: (?init_map initial_value) -> void + end + + class TerminateNexusOperationExecutionRequest < ::Google::Protobuf::AbstractMessage + + attr_reader namespace(): ::String + attr_writer namespace(): ::String | ::Symbol + def clear_namespace: () -> void + + attr_reader operation_id(): ::String + attr_writer operation_id(): ::String | ::Symbol + def clear_operation_id: () -> void + + # Operation run ID, targets the latest run if empty. + attr_reader run_id(): ::String + attr_writer run_id(): ::String | ::Symbol + def clear_run_id: () -> void + + # The identity of the client who initiated this request. + attr_reader identity(): ::String + attr_writer identity(): ::String | ::Symbol + def clear_identity: () -> void + + # Used to de-dupe termination requests. + attr_reader request_id(): ::String + attr_writer request_id(): ::String | ::Symbol + def clear_request_id: () -> void + + # Reason for requesting the termination, recorded in the operation's result failure outcome. + attr_reader reason(): ::String + attr_writer reason(): ::String | ::Symbol + def clear_reason: () -> void + + type init_map = { + namespace: (::String | ::Symbol)?, + "namespace" => (::String | ::Symbol)?, + operation_id: (::String | ::Symbol)?, + "operation_id" => (::String | ::Symbol)?, + run_id: (::String | ::Symbol)?, + "run_id" => (::String | ::Symbol)?, + identity: (::String | ::Symbol)?, + "identity" => (::String | ::Symbol)?, + request_id: (::String | ::Symbol)?, + "request_id" => (::String | ::Symbol)?, + reason: (::String | ::Symbol)?, + "reason" => (::String | ::Symbol)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("namespace" name) -> ::String + | ("operation_id" name) -> ::String + | ("run_id" name) -> ::String + | ("identity" name) -> ::String + | ("request_id" name) -> ::String + | ("reason" name) -> ::String + + def []=: + ("namespace" name, (::String | ::Symbol) value) -> void + | ("operation_id" name, (::String | ::Symbol) value) -> void + | ("run_id" name, (::String | ::Symbol) value) -> void + | ("identity" name, (::String | ::Symbol) value) -> void + | ("request_id" name, (::String | ::Symbol) value) -> void + | ("reason" name, (::String | ::Symbol) value) -> void + end + + class TerminateNexusOperationExecutionResponse < ::Google::Protobuf::AbstractMessage + + type init_map = { + } + + def initialize: (?init_map initial_value) -> void + end + + class DeleteNexusOperationExecutionRequest < ::Google::Protobuf::AbstractMessage + + attr_reader namespace(): ::String + attr_writer namespace(): ::String | ::Symbol + def clear_namespace: () -> void + + attr_reader operation_id(): ::String + attr_writer operation_id(): ::String | ::Symbol + def clear_operation_id: () -> void + + # Operation run ID, targets the latest run if empty. + attr_reader run_id(): ::String + attr_writer run_id(): ::String | ::Symbol + def clear_run_id: () -> void + + type init_map = { + namespace: (::String | ::Symbol)?, + "namespace" => (::String | ::Symbol)?, + operation_id: (::String | ::Symbol)?, + "operation_id" => (::String | ::Symbol)?, + run_id: (::String | ::Symbol)?, + "run_id" => (::String | ::Symbol)?, + } + + def initialize: (?init_map initial_value) -> void + + def []: + ("namespace" name) -> ::String + | ("operation_id" name) -> ::String + | ("run_id" name) -> ::String + + def []=: + ("namespace" name, (::String | ::Symbol) value) -> void + | ("operation_id" name, (::String | ::Symbol) value) -> void + | ("run_id" name, (::String | ::Symbol) value) -> void + end + + class DeleteNexusOperationExecutionResponse < ::Google::Protobuf::AbstractMessage + + type init_map = { + } + + def initialize: (?init_map initial_value) -> void + end end end end diff --git a/temporalio/sig/temporalio/client/connection/cloud_service.rbs b/temporalio/sig/temporalio/client/connection/cloud_service.rbs index 1e99048c..2333e127 100644 --- a/temporalio/sig/temporalio/client/connection/cloud_service.rbs +++ b/temporalio/sig/temporalio/client/connection/cloud_service.rbs @@ -5,6 +5,10 @@ module Temporalio class Connection class CloudService < Service def initialize: (Connection) -> void + def get_current_identity: ( + Temporalio::Api::Cloud::CloudService::V1::GetCurrentIdentityRequest request, + ?rpc_options: RPCOptions? + ) -> Temporalio::Api::Cloud::CloudService::V1::GetCurrentIdentityResponse def get_users: ( Temporalio::Api::Cloud::CloudService::V1::GetUsersRequest request, ?rpc_options: RPCOptions? @@ -233,10 +237,46 @@ module Temporalio Temporalio::Api::Cloud::CloudService::V1::DeleteConnectivityRuleRequest request, ?rpc_options: RPCOptions? ) -> Temporalio::Api::Cloud::CloudService::V1::DeleteConnectivityRuleResponse + def get_audit_logs: ( + Temporalio::Api::Cloud::CloudService::V1::GetAuditLogsRequest request, + ?rpc_options: RPCOptions? + ) -> Temporalio::Api::Cloud::CloudService::V1::GetAuditLogsResponse def validate_account_audit_log_sink: ( Temporalio::Api::Cloud::CloudService::V1::ValidateAccountAuditLogSinkRequest request, ?rpc_options: RPCOptions? ) -> Temporalio::Api::Cloud::CloudService::V1::ValidateAccountAuditLogSinkResponse + def create_account_audit_log_sink: ( + Temporalio::Api::Cloud::CloudService::V1::CreateAccountAuditLogSinkRequest request, + ?rpc_options: RPCOptions? + ) -> Temporalio::Api::Cloud::CloudService::V1::CreateAccountAuditLogSinkResponse + def get_account_audit_log_sink: ( + Temporalio::Api::Cloud::CloudService::V1::GetAccountAuditLogSinkRequest request, + ?rpc_options: RPCOptions? + ) -> Temporalio::Api::Cloud::CloudService::V1::GetAccountAuditLogSinkResponse + def get_account_audit_log_sinks: ( + Temporalio::Api::Cloud::CloudService::V1::GetAccountAuditLogSinksRequest request, + ?rpc_options: RPCOptions? + ) -> Temporalio::Api::Cloud::CloudService::V1::GetAccountAuditLogSinksResponse + def update_account_audit_log_sink: ( + Temporalio::Api::Cloud::CloudService::V1::UpdateAccountAuditLogSinkRequest request, + ?rpc_options: RPCOptions? + ) -> Temporalio::Api::Cloud::CloudService::V1::UpdateAccountAuditLogSinkResponse + def delete_account_audit_log_sink: ( + Temporalio::Api::Cloud::CloudService::V1::DeleteAccountAuditLogSinkRequest request, + ?rpc_options: RPCOptions? + ) -> Temporalio::Api::Cloud::CloudService::V1::DeleteAccountAuditLogSinkResponse + def get_namespace_capacity_info: ( + Temporalio::Api::Cloud::CloudService::V1::GetNamespaceCapacityInfoRequest request, + ?rpc_options: RPCOptions? + ) -> Temporalio::Api::Cloud::CloudService::V1::GetNamespaceCapacityInfoResponse + def create_billing_report: ( + Temporalio::Api::Cloud::CloudService::V1::CreateBillingReportRequest request, + ?rpc_options: RPCOptions? + ) -> Temporalio::Api::Cloud::CloudService::V1::CreateBillingReportResponse + def get_billing_report: ( + Temporalio::Api::Cloud::CloudService::V1::GetBillingReportRequest request, + ?rpc_options: RPCOptions? + ) -> Temporalio::Api::Cloud::CloudService::V1::GetBillingReportResponse end end end diff --git a/temporalio/sig/temporalio/client/connection/workflow_service.rbs b/temporalio/sig/temporalio/client/connection/workflow_service.rbs index d2250e30..4589a5f2 100644 --- a/temporalio/sig/temporalio/client/connection/workflow_service.rbs +++ b/temporalio/sig/temporalio/client/connection/workflow_service.rbs @@ -277,6 +277,22 @@ module Temporalio Temporalio::Api::WorkflowService::V1::ListWorkerDeploymentsRequest request, ?rpc_options: RPCOptions? ) -> Temporalio::Api::WorkflowService::V1::ListWorkerDeploymentsResponse + def create_worker_deployment: ( + Temporalio::Api::WorkflowService::V1::CreateWorkerDeploymentRequest request, + ?rpc_options: RPCOptions? + ) -> Temporalio::Api::WorkflowService::V1::CreateWorkerDeploymentResponse + def create_worker_deployment_version: ( + Temporalio::Api::WorkflowService::V1::CreateWorkerDeploymentVersionRequest request, + ?rpc_options: RPCOptions? + ) -> Temporalio::Api::WorkflowService::V1::CreateWorkerDeploymentVersionResponse + def update_worker_deployment_version_compute_config: ( + Temporalio::Api::WorkflowService::V1::UpdateWorkerDeploymentVersionComputeConfigRequest request, + ?rpc_options: RPCOptions? + ) -> Temporalio::Api::WorkflowService::V1::UpdateWorkerDeploymentVersionComputeConfigResponse + def validate_worker_deployment_version_compute_config: ( + Temporalio::Api::WorkflowService::V1::ValidateWorkerDeploymentVersionComputeConfigRequest request, + ?rpc_options: RPCOptions? + ) -> Temporalio::Api::WorkflowService::V1::ValidateWorkerDeploymentVersionComputeConfigResponse def update_worker_deployment_version_metadata: ( Temporalio::Api::WorkflowService::V1::UpdateWorkerDeploymentVersionMetadataRequest request, ?rpc_options: RPCOptions? @@ -397,26 +413,50 @@ module Temporalio Temporalio::Api::WorkflowService::V1::StartActivityExecutionRequest request, ?rpc_options: RPCOptions? ) -> Temporalio::Api::WorkflowService::V1::StartActivityExecutionResponse + def start_nexus_operation_execution: ( + Temporalio::Api::WorkflowService::V1::StartNexusOperationExecutionRequest request, + ?rpc_options: RPCOptions? + ) -> Temporalio::Api::WorkflowService::V1::StartNexusOperationExecutionResponse def describe_activity_execution: ( Temporalio::Api::WorkflowService::V1::DescribeActivityExecutionRequest request, ?rpc_options: RPCOptions? ) -> Temporalio::Api::WorkflowService::V1::DescribeActivityExecutionResponse + def describe_nexus_operation_execution: ( + Temporalio::Api::WorkflowService::V1::DescribeNexusOperationExecutionRequest request, + ?rpc_options: RPCOptions? + ) -> Temporalio::Api::WorkflowService::V1::DescribeNexusOperationExecutionResponse def poll_activity_execution: ( Temporalio::Api::WorkflowService::V1::PollActivityExecutionRequest request, ?rpc_options: RPCOptions? ) -> Temporalio::Api::WorkflowService::V1::PollActivityExecutionResponse + def poll_nexus_operation_execution: ( + Temporalio::Api::WorkflowService::V1::PollNexusOperationExecutionRequest request, + ?rpc_options: RPCOptions? + ) -> Temporalio::Api::WorkflowService::V1::PollNexusOperationExecutionResponse def list_activity_executions: ( Temporalio::Api::WorkflowService::V1::ListActivityExecutionsRequest request, ?rpc_options: RPCOptions? ) -> Temporalio::Api::WorkflowService::V1::ListActivityExecutionsResponse + def list_nexus_operation_executions: ( + Temporalio::Api::WorkflowService::V1::ListNexusOperationExecutionsRequest request, + ?rpc_options: RPCOptions? + ) -> Temporalio::Api::WorkflowService::V1::ListNexusOperationExecutionsResponse def count_activity_executions: ( Temporalio::Api::WorkflowService::V1::CountActivityExecutionsRequest request, ?rpc_options: RPCOptions? ) -> Temporalio::Api::WorkflowService::V1::CountActivityExecutionsResponse + def count_nexus_operation_executions: ( + Temporalio::Api::WorkflowService::V1::CountNexusOperationExecutionsRequest request, + ?rpc_options: RPCOptions? + ) -> Temporalio::Api::WorkflowService::V1::CountNexusOperationExecutionsResponse def request_cancel_activity_execution: ( Temporalio::Api::WorkflowService::V1::RequestCancelActivityExecutionRequest request, ?rpc_options: RPCOptions? ) -> Temporalio::Api::WorkflowService::V1::RequestCancelActivityExecutionResponse + def request_cancel_nexus_operation_execution: ( + Temporalio::Api::WorkflowService::V1::RequestCancelNexusOperationExecutionRequest request, + ?rpc_options: RPCOptions? + ) -> Temporalio::Api::WorkflowService::V1::RequestCancelNexusOperationExecutionResponse def terminate_activity_execution: ( Temporalio::Api::WorkflowService::V1::TerminateActivityExecutionRequest request, ?rpc_options: RPCOptions? @@ -425,6 +465,14 @@ module Temporalio Temporalio::Api::WorkflowService::V1::DeleteActivityExecutionRequest request, ?rpc_options: RPCOptions? ) -> Temporalio::Api::WorkflowService::V1::DeleteActivityExecutionResponse + def terminate_nexus_operation_execution: ( + Temporalio::Api::WorkflowService::V1::TerminateNexusOperationExecutionRequest request, + ?rpc_options: RPCOptions? + ) -> Temporalio::Api::WorkflowService::V1::TerminateNexusOperationExecutionResponse + def delete_nexus_operation_execution: ( + Temporalio::Api::WorkflowService::V1::DeleteNexusOperationExecutionRequest request, + ?rpc_options: RPCOptions? + ) -> Temporalio::Api::WorkflowService::V1::DeleteNexusOperationExecutionResponse end end end diff --git a/temporalio/sig/temporalio/internal/bridge/api/activity_task/activity_task.rbs b/temporalio/sig/temporalio/internal/bridge/api/activity_task/activity_task.rbs index 363af9cf..a94c89b5 100644 --- a/temporalio/sig/temporalio/internal/bridge/api/activity_task/activity_task.rbs +++ b/temporalio/sig/temporalio/internal/bridge/api/activity_task/activity_task.rbs @@ -148,6 +148,11 @@ module Temporalio attr_accessor is_local(): bool def clear_is_local: () -> void + # Run ID of this activity execution. Only set for standalone activities. + attr_reader run_id(): ::String + attr_writer run_id(): ::String | ::Symbol + def clear_run_id: () -> void + type init_map = { workflow_namespace: (::String | ::Symbol)?, "workflow_namespace" => (::String | ::Symbol)?, @@ -185,6 +190,8 @@ module Temporalio "priority" => (::Temporalio::Api::Common::V1::Priority | ::Temporalio::Api::Common::V1::Priority::init_map)?, is_local: bool?, "is_local" => bool?, + run_id: (::String | ::Symbol)?, + "run_id" => (::String | ::Symbol)?, } def initialize: (?init_map initial_value) -> void @@ -208,6 +215,7 @@ module Temporalio | ("retry_policy" name) -> ::Temporalio::Api::Common::V1::RetryPolicy? | ("priority" name) -> ::Temporalio::Api::Common::V1::Priority? | ("is_local" name) -> bool + | ("run_id" name) -> ::String def []=: ("workflow_namespace" name, (::String | ::Symbol) value) -> void @@ -228,6 +236,7 @@ module Temporalio | ("retry_policy" name, ::Temporalio::Api::Common::V1::RetryPolicy? value) -> void | ("priority" name, ::Temporalio::Api::Common::V1::Priority? value) -> void | ("is_local" name, bool value) -> void + | ("run_id" name, (::String | ::Symbol) value) -> void end # Attempt to cancel a running activity diff --git a/temporalio/sig/temporalio/internal/bridge/api/nexus/nexus.rbs b/temporalio/sig/temporalio/internal/bridge/api/nexus/nexus.rbs index f8cf7787..d75bfe34 100644 --- a/temporalio/sig/temporalio/internal/bridge/api/nexus/nexus.rbs +++ b/temporalio/sig/temporalio/internal/bridge/api/nexus/nexus.rbs @@ -154,6 +154,12 @@ module Temporalio def has_request_deadline?: () -> bool def clear_request_deadline: () -> void + # The endpoint this request was addressed to. Extracted from the request for convenient access. + # Only set when variant is `task`. + attr_reader endpoint(): ::String + attr_writer endpoint(): ::String | ::Symbol + def clear_endpoint: () -> void + attr_reader variant(): (::Temporalio::Api::WorkflowService::V1::PollNexusTaskQueueResponse | ::Temporalio::Internal::Bridge::Api::Nexus::CancelNexusTask)? def has_variant?: () -> bool def clear_variant: () -> void @@ -165,6 +171,8 @@ module Temporalio "cancel_task" => (::Temporalio::Internal::Bridge::Api::Nexus::CancelNexusTask | ::Temporalio::Internal::Bridge::Api::Nexus::CancelNexusTask::init_map)?, request_deadline: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, "request_deadline" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?, + endpoint: (::String | ::Symbol)?, + "endpoint" => (::String | ::Symbol)?, } def initialize: (?init_map initial_value) -> void @@ -173,11 +181,13 @@ module Temporalio ("task" name) -> ::Temporalio::Api::WorkflowService::V1::PollNexusTaskQueueResponse? | ("cancel_task" name) -> ::Temporalio::Internal::Bridge::Api::Nexus::CancelNexusTask? | ("request_deadline" name) -> ::Google::Protobuf::Timestamp? + | ("endpoint" name) -> ::String def []=: ("task" name, ::Temporalio::Api::WorkflowService::V1::PollNexusTaskQueueResponse? value) -> void | ("cancel_task" name, ::Temporalio::Internal::Bridge::Api::Nexus::CancelNexusTask? value) -> void | ("request_deadline" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void + | ("endpoint" name, (::String | ::Symbol) value) -> void end class CancelNexusTask < ::Google::Protobuf::AbstractMessage