diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7998358 --- /dev/null +++ b/.gitignore @@ -0,0 +1,14 @@ +*.out +*.test +*.xml +*.swp +.idea/ +*.iml +*.cov +*.html +.gobincache/ +.tmp/ +.vscode/ +.build/ +.bin/ +.cursor/ \ No newline at end of file diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..cf8c1c1 --- /dev/null +++ b/Makefile @@ -0,0 +1,162 @@ +# Makefile for generating Python proto files from Cadence protobuf definitions + +# Versioned protoc support +# https://www.grpc.io/docs/languages/go/quickstart/ +# changing PROTOC_VERSION will automatically download and use the specified version +PROTOC_VERSION = 3.14.0 +PROTOC_VERSION_PYI = 25.3 + +EMULATE_X86 = +ifeq ($(shell uname -sm),Darwin arm64) +EMULATE_X86 = arch -x86_64 +endif + +OS := $(shell uname -s) +ARCH := $(shell $(EMULATE_X86) uname -m) + +PROTOC_URL = https://github.com/protocolbuffers/protobuf/releases/download/v$(PROTOC_VERSION)/protoc-$(PROTOC_VERSION)-$(subst Darwin,osx,$(OS))-$(ARCH).zip +PROTOC_URL_PYI = https://github.com/protocolbuffers/protobuf/releases/download/v$(PROTOC_VERSION_PYI)/protoc-$(PROTOC_VERSION_PYI)-$(subst Darwin,osx,$(OS))-$(ARCH).zip +# the zip contains an /include folder that we need to use to learn the well-known types +PROTOC_UNZIP_DIR = $(STABLE_BIN)/protoc-$(PROTOC_VERSION)-zip +PROTOC_UNZIP_DIR_PYI = $(STABLE_BIN)/protoc-$(PROTOC_VERSION_PYI)-zip +# use PROTOC_VERSION_BIN as a bin prerequisite, not "protoc", so the correct version will be used. +# otherwise this must be a .PHONY rule, or the buf bin / symlink could become out of date. +PROTOC_VERSION_BIN = protoc-$(PROTOC_VERSION) +PROTOC_VERSION_BIN_PYI = protoc-$(PROTOC_VERSION_PYI) + +# Stable binary directory +STABLE_BIN := .bin + +# Quiet mode support +Q := @ + +# Directories +SRC_DIR := idls/proto +DST_DIR := cadence/shared +TEMP_DIR := .temp_gen +PROTO_ROOT := $(SRC_DIR)/uber/cadence + +# Find all .proto files +API_PROTO_FILES := $(wildcard $(PROTO_ROOT)/api/v1/*.proto) +ADMIN_PROTO_FILES := $(wildcard $(PROTO_ROOT)/admin/v1/*.proto) +ALL_PROTO_FILES := $(API_PROTO_FILES) $(ADMIN_PROTO_FILES) + +# Python output files (replace .proto with _pb2.py) +API_PYTHON_FILES := $(patsubst $(PROTO_ROOT)/api/v1/%.proto,$(DST_DIR)/api/v1/%_pb2.py,$(API_PROTO_FILES)) +ADMIN_PYTHON_FILES := $(patsubst $(PROTO_ROOT)/admin/v1/%.proto,$(DST_DIR)/admin/v1/%_pb2.py,$(ADMIN_PROTO_FILES)) +ALL_PYTHON_FILES := $(API_PYTHON_FILES) $(ADMIN_PYTHON_FILES) + +# Python interface files (replace .proto with _pb2.pyi) +API_PYI_FILES := $(patsubst $(PROTO_ROOT)/api/v1/%.proto,$(DST_DIR)/api/v1/%_pb2.pyi,$(API_PROTO_FILES)) +ADMIN_PYI_FILES := $(patsubst $(PROTO_ROOT)/admin/v1/%.proto,$(DST_DIR)/admin/v1/%_pb2.pyi,$(ADMIN_PROTO_FILES)) +ALL_PYI_FILES := $(API_PYI_FILES) $(ADMIN_PYI_FILES) + +# All generated files +ALL_GENERATED_FILES := $(ALL_PYTHON_FILES) $(ALL_PYI_FILES) + +# Default target +.PHONY: all +all: $(ALL_GENERATED_FILES) + +# Parallel target - use with make -j +.PHONY: parallel +parallel: $(ALL_GENERATED_FILES) + +# Create output directories +$(DST_DIR)/api/v1/: + mkdir -p $(DST_DIR)/api/v1 + +$(DST_DIR)/admin/v1/: + mkdir -p $(DST_DIR)/admin/v1 + +# Download and setup versioned protoc +$(STABLE_BIN)/$(PROTOC_VERSION_BIN): | $(STABLE_BIN) + $(Q) echo "downloading protoc $(PROTOC_VERSION): $(PROTOC_URL)" + $(Q) # recover from partial success + $(Q) rm -rf $(STABLE_BIN)/protoc.zip $(PROTOC_UNZIP_DIR) + $(Q) # download, unzip, copy to a normal location + $(Q) curl -sSL $(PROTOC_URL) -o $(STABLE_BIN)/protoc.zip + $(Q) unzip -q $(STABLE_BIN)/protoc.zip -d $(PROTOC_UNZIP_DIR) + $(Q) cp $(PROTOC_UNZIP_DIR)/bin/protoc $@ + +# Download and setup versioned protoc for .pyi generation +$(STABLE_BIN)/$(PROTOC_VERSION_BIN_PYI): | $(STABLE_BIN) + $(Q) echo "downloading protoc $(PROTOC_VERSION_PYI) for .pyi generation: $(PROTOC_URL_PYI)" + $(Q) # recover from partial success + $(Q) rm -rf $(STABLE_BIN)/protoc-pyi.zip $(PROTOC_UNZIP_DIR_PYI) + $(Q) # download, unzip, copy to a normal location + $(Q) curl -sSL $(PROTOC_URL_PYI) -o $(STABLE_BIN)/protoc-pyi.zip + $(Q) unzip -q $(STABLE_BIN)/protoc-pyi.zip -d $(PROTOC_UNZIP_DIR_PYI) + $(Q) cp $(PROTOC_UNZIP_DIR_PYI)/bin/protoc $@ + +# Create stable bin directory +$(STABLE_BIN): + mkdir -p $(STABLE_BIN) + +# Generate all Python files in a single protoc call +$(ALL_PYTHON_FILES): $(ALL_PROTO_FILES) | $(DST_DIR)/api/v1/ $(DST_DIR)/admin/v1/ $(STABLE_BIN)/$(PROTOC_VERSION_BIN) + @echo "Generating all Python .py files from $(words $(ALL_PROTO_FILES)) proto files using protoc $(PROTOC_VERSION)" + rm -rf $(TEMP_DIR) + mkdir -p $(TEMP_DIR) + cd $(SRC_DIR) && $(CURDIR)/$(STABLE_BIN)/$(PROTOC_VERSION_BIN) --proto_path=. --proto_path=$(CURDIR)/$(PROTOC_UNZIP_DIR)/include --python_out=$(CURDIR)/$(TEMP_DIR) $(patsubst $(SRC_DIR)/%,%,$(ALL_PROTO_FILES)) + mv $(TEMP_DIR)/uber/cadence/api/v1/*.py $(DST_DIR)/api/v1/ + mv $(TEMP_DIR)/uber/cadence/admin/v1/*.py $(DST_DIR)/admin/v1/ + rm -rf $(TEMP_DIR) + +# Generate all Python interface files using newer protoc +$(ALL_PYI_FILES): $(ALL_PROTO_FILES) | $(DST_DIR)/api/v1/ $(DST_DIR)/admin/v1/ $(STABLE_BIN)/$(PROTOC_VERSION_BIN_PYI) + @echo "Generating all Python .pyi files from $(words $(ALL_PROTO_FILES)) proto files using protoc $(PROTOC_VERSION_PYI)" + rm -rf $(TEMP_DIR)-pyi + mkdir -p $(TEMP_DIR)-pyi + cd $(SRC_DIR) && $(CURDIR)/$(STABLE_BIN)/$(PROTOC_VERSION_BIN_PYI) --proto_path=. --proto_path=$(CURDIR)/$(PROTOC_UNZIP_DIR_PYI)/include --pyi_out=$(CURDIR)/$(TEMP_DIR)-pyi $(patsubst $(SRC_DIR)/%,%,$(ALL_PROTO_FILES)) + mv $(TEMP_DIR)-pyi/uber/cadence/api/v1/*.pyi $(DST_DIR)/api/v1/ + mv $(TEMP_DIR)-pyi/uber/cadence/admin/v1/*.pyi $(DST_DIR)/admin/v1/ + rm -rf $(TEMP_DIR)-pyi + +# All generated files +ALL_GENERATED_FILES := $(ALL_PYTHON_FILES) $(ALL_PYI_FILES) + +# Clean generated files +.PHONY: clean +clean: + rm -rf $(DST_DIR) + rm -rf $(TEMP_DIR) + rm -rf $(TEMP_DIR)-pyi + rm -rf $(STABLE_BIN) + +# Show help +.PHONY: help +help: + @echo "Available targets:" + @echo " all - Generate all Python proto files (.py and .pyi) (default)" + @echo " parallel - Same as 'all' (single protoc call for all files)" + @echo " clean - Remove all generated files and downloaded protoc" + @echo " help - Show this help message" + @echo " show - Show what files will be processed" + @echo "" + @echo "Features:" + @echo " - Uses protoc $(PROTOC_VERSION) for .py files (matches Cadence server)" + @echo " - Uses protoc $(PROTOC_VERSION_PYI) for .pyi files (modern .pyi support)" + @echo " - Automatically downloads protoc versions if not present" + @echo " - Single protoc call generates all files efficiently" + @echo " - Apple Silicon support via Rosetta emulation" + @echo "" + @echo "Generated files will be placed in:" + @echo " $(DST_DIR)/api/v1/ - API proto files (.py and .pyi)" + @echo " $(DST_DIR)/admin/v1/ - Admin proto files (.py and .pyi)" + @echo " $(STABLE_BIN)/ - Downloaded protoc binaries" + +# Show what will be generated +.PHONY: show +show: + $(info Proto files to process:) + $(info API_PROTO_FILES: $(API_PROTO_FILES)) + $(info ADMIN_PROTO_FILES: $(ADMIN_PROTO_FILES)) + $(info ) + $(info Python files to generate:) + $(info API_PYTHON_FILES: $(API_PYTHON_FILES)) + $(info ADMIN_PYTHON_FILES: $(ADMIN_PYTHON_FILES)) + $(info ) + $(info Python interface files to generate:) + $(info API_PYI_FILES: $(API_PYI_FILES)) + $(info ADMIN_PYI_FILES: $(ADMIN_PYI_FILES)) \ No newline at end of file diff --git a/cadence/shared/admin/v1/cluster_pb2.py b/cadence/shared/admin/v1/cluster_pb2.py new file mode 100644 index 0000000..3c43c89 --- /dev/null +++ b/cadence/shared/admin/v1/cluster_pb2.py @@ -0,0 +1,379 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: uber/cadence/admin/v1/cluster.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='uber/cadence/admin/v1/cluster.proto', + package='uber.cadence.admin.v1', + syntax='proto3', + serialized_options=b'Z5github.com/uber/cadence-idl/go/proto/admin/v1;adminv1', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n#uber/cadence/admin/v1/cluster.proto\x12\x15uber.cadence.admin.v1\"\x1c\n\x08HostInfo\x12\x10\n\x08identity\x18\x01 \x01(\t\"`\n\x08RingInfo\x12\x0c\n\x04role\x18\x01 \x01(\t\x12\x14\n\x0cmember_count\x18\x02 \x01(\x05\x12\x30\n\x07members\x18\x03 \x03(\x0b\x32\x1f.uber.cadence.admin.v1.HostInfo\"\x92\x01\n\x0eMembershipInfo\x12\x35\n\x0c\x63urrent_host\x18\x01 \x01(\x0b\x32\x1f.uber.cadence.admin.v1.HostInfo\x12\x19\n\x11reachable_members\x18\x02 \x03(\t\x12.\n\x05rings\x18\x03 \x03(\x0b\x32\x1f.uber.cadence.admin.v1.RingInfo\"]\n\x0f\x44omainCacheInfo\x12#\n\x1bnum_of_items_in_cache_by_id\x18\x01 \x01(\x03\x12%\n\x1dnum_of_items_in_cache_by_name\x18\x02 \x01(\x03\"0\n\x12PersistenceSetting\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\"2\n\x12PersistenceFeature\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x0f\n\x07\x65nabled\x18\x02 \x01(\x08\"\x9c\x01\n\x0fPersistenceInfo\x12\x0f\n\x07\x62\x61\x63kend\x18\x01 \x01(\t\x12;\n\x08settings\x18\x02 \x03(\x0b\x32).uber.cadence.admin.v1.PersistenceSetting\x12;\n\x08\x66\x65\x61tures\x18\x03 \x03(\x0b\x32).uber.cadence.admin.v1.PersistenceFeatureB7Z5github.com/uber/cadence-idl/go/proto/admin/v1;adminv1b\x06proto3' +) + + + + +_HOSTINFO = _descriptor.Descriptor( + name='HostInfo', + full_name='uber.cadence.admin.v1.HostInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='identity', full_name='uber.cadence.admin.v1.HostInfo.identity', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=62, + serialized_end=90, +) + + +_RINGINFO = _descriptor.Descriptor( + name='RingInfo', + full_name='uber.cadence.admin.v1.RingInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='role', full_name='uber.cadence.admin.v1.RingInfo.role', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='member_count', full_name='uber.cadence.admin.v1.RingInfo.member_count', index=1, + number=2, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='members', full_name='uber.cadence.admin.v1.RingInfo.members', index=2, + number=3, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=92, + serialized_end=188, +) + + +_MEMBERSHIPINFO = _descriptor.Descriptor( + name='MembershipInfo', + full_name='uber.cadence.admin.v1.MembershipInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='current_host', full_name='uber.cadence.admin.v1.MembershipInfo.current_host', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='reachable_members', full_name='uber.cadence.admin.v1.MembershipInfo.reachable_members', index=1, + number=2, type=9, cpp_type=9, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='rings', full_name='uber.cadence.admin.v1.MembershipInfo.rings', index=2, + number=3, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=191, + serialized_end=337, +) + + +_DOMAINCACHEINFO = _descriptor.Descriptor( + name='DomainCacheInfo', + full_name='uber.cadence.admin.v1.DomainCacheInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='num_of_items_in_cache_by_id', full_name='uber.cadence.admin.v1.DomainCacheInfo.num_of_items_in_cache_by_id', index=0, + number=1, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='num_of_items_in_cache_by_name', full_name='uber.cadence.admin.v1.DomainCacheInfo.num_of_items_in_cache_by_name', index=1, + number=2, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=339, + serialized_end=432, +) + + +_PERSISTENCESETTING = _descriptor.Descriptor( + name='PersistenceSetting', + full_name='uber.cadence.admin.v1.PersistenceSetting', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='uber.cadence.admin.v1.PersistenceSetting.key', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='value', full_name='uber.cadence.admin.v1.PersistenceSetting.value', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=434, + serialized_end=482, +) + + +_PERSISTENCEFEATURE = _descriptor.Descriptor( + name='PersistenceFeature', + full_name='uber.cadence.admin.v1.PersistenceFeature', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='uber.cadence.admin.v1.PersistenceFeature.key', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='enabled', full_name='uber.cadence.admin.v1.PersistenceFeature.enabled', index=1, + number=2, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=484, + serialized_end=534, +) + + +_PERSISTENCEINFO = _descriptor.Descriptor( + name='PersistenceInfo', + full_name='uber.cadence.admin.v1.PersistenceInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='backend', full_name='uber.cadence.admin.v1.PersistenceInfo.backend', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='settings', full_name='uber.cadence.admin.v1.PersistenceInfo.settings', index=1, + number=2, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='features', full_name='uber.cadence.admin.v1.PersistenceInfo.features', index=2, + number=3, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=537, + serialized_end=693, +) + +_RINGINFO.fields_by_name['members'].message_type = _HOSTINFO +_MEMBERSHIPINFO.fields_by_name['current_host'].message_type = _HOSTINFO +_MEMBERSHIPINFO.fields_by_name['rings'].message_type = _RINGINFO +_PERSISTENCEINFO.fields_by_name['settings'].message_type = _PERSISTENCESETTING +_PERSISTENCEINFO.fields_by_name['features'].message_type = _PERSISTENCEFEATURE +DESCRIPTOR.message_types_by_name['HostInfo'] = _HOSTINFO +DESCRIPTOR.message_types_by_name['RingInfo'] = _RINGINFO +DESCRIPTOR.message_types_by_name['MembershipInfo'] = _MEMBERSHIPINFO +DESCRIPTOR.message_types_by_name['DomainCacheInfo'] = _DOMAINCACHEINFO +DESCRIPTOR.message_types_by_name['PersistenceSetting'] = _PERSISTENCESETTING +DESCRIPTOR.message_types_by_name['PersistenceFeature'] = _PERSISTENCEFEATURE +DESCRIPTOR.message_types_by_name['PersistenceInfo'] = _PERSISTENCEINFO +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +HostInfo = _reflection.GeneratedProtocolMessageType('HostInfo', (_message.Message,), { + 'DESCRIPTOR' : _HOSTINFO, + '__module__' : 'uber.cadence.admin.v1.cluster_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.HostInfo) + }) +_sym_db.RegisterMessage(HostInfo) + +RingInfo = _reflection.GeneratedProtocolMessageType('RingInfo', (_message.Message,), { + 'DESCRIPTOR' : _RINGINFO, + '__module__' : 'uber.cadence.admin.v1.cluster_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.RingInfo) + }) +_sym_db.RegisterMessage(RingInfo) + +MembershipInfo = _reflection.GeneratedProtocolMessageType('MembershipInfo', (_message.Message,), { + 'DESCRIPTOR' : _MEMBERSHIPINFO, + '__module__' : 'uber.cadence.admin.v1.cluster_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.MembershipInfo) + }) +_sym_db.RegisterMessage(MembershipInfo) + +DomainCacheInfo = _reflection.GeneratedProtocolMessageType('DomainCacheInfo', (_message.Message,), { + 'DESCRIPTOR' : _DOMAINCACHEINFO, + '__module__' : 'uber.cadence.admin.v1.cluster_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.DomainCacheInfo) + }) +_sym_db.RegisterMessage(DomainCacheInfo) + +PersistenceSetting = _reflection.GeneratedProtocolMessageType('PersistenceSetting', (_message.Message,), { + 'DESCRIPTOR' : _PERSISTENCESETTING, + '__module__' : 'uber.cadence.admin.v1.cluster_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.PersistenceSetting) + }) +_sym_db.RegisterMessage(PersistenceSetting) + +PersistenceFeature = _reflection.GeneratedProtocolMessageType('PersistenceFeature', (_message.Message,), { + 'DESCRIPTOR' : _PERSISTENCEFEATURE, + '__module__' : 'uber.cadence.admin.v1.cluster_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.PersistenceFeature) + }) +_sym_db.RegisterMessage(PersistenceFeature) + +PersistenceInfo = _reflection.GeneratedProtocolMessageType('PersistenceInfo', (_message.Message,), { + 'DESCRIPTOR' : _PERSISTENCEINFO, + '__module__' : 'uber.cadence.admin.v1.cluster_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.PersistenceInfo) + }) +_sym_db.RegisterMessage(PersistenceInfo) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/cadence/shared/admin/v1/cluster_pb2.pyi b/cadence/shared/admin/v1/cluster_pb2.pyi new file mode 100644 index 0000000..e6d8f12 --- /dev/null +++ b/cadence/shared/admin/v1/cluster_pb2.pyi @@ -0,0 +1,66 @@ +from google.protobuf.internal import containers as _containers +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union + +DESCRIPTOR: _descriptor.FileDescriptor + +class HostInfo(_message.Message): + __slots__ = ("identity",) + IDENTITY_FIELD_NUMBER: _ClassVar[int] + identity: str + def __init__(self, identity: _Optional[str] = ...) -> None: ... + +class RingInfo(_message.Message): + __slots__ = ("role", "member_count", "members") + ROLE_FIELD_NUMBER: _ClassVar[int] + MEMBER_COUNT_FIELD_NUMBER: _ClassVar[int] + MEMBERS_FIELD_NUMBER: _ClassVar[int] + role: str + member_count: int + members: _containers.RepeatedCompositeFieldContainer[HostInfo] + def __init__(self, role: _Optional[str] = ..., member_count: _Optional[int] = ..., members: _Optional[_Iterable[_Union[HostInfo, _Mapping]]] = ...) -> None: ... + +class MembershipInfo(_message.Message): + __slots__ = ("current_host", "reachable_members", "rings") + CURRENT_HOST_FIELD_NUMBER: _ClassVar[int] + REACHABLE_MEMBERS_FIELD_NUMBER: _ClassVar[int] + RINGS_FIELD_NUMBER: _ClassVar[int] + current_host: HostInfo + reachable_members: _containers.RepeatedScalarFieldContainer[str] + rings: _containers.RepeatedCompositeFieldContainer[RingInfo] + def __init__(self, current_host: _Optional[_Union[HostInfo, _Mapping]] = ..., reachable_members: _Optional[_Iterable[str]] = ..., rings: _Optional[_Iterable[_Union[RingInfo, _Mapping]]] = ...) -> None: ... + +class DomainCacheInfo(_message.Message): + __slots__ = ("num_of_items_in_cache_by_id", "num_of_items_in_cache_by_name") + NUM_OF_ITEMS_IN_CACHE_BY_ID_FIELD_NUMBER: _ClassVar[int] + NUM_OF_ITEMS_IN_CACHE_BY_NAME_FIELD_NUMBER: _ClassVar[int] + num_of_items_in_cache_by_id: int + num_of_items_in_cache_by_name: int + def __init__(self, num_of_items_in_cache_by_id: _Optional[int] = ..., num_of_items_in_cache_by_name: _Optional[int] = ...) -> None: ... + +class PersistenceSetting(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: str + def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ... + +class PersistenceFeature(_message.Message): + __slots__ = ("key", "enabled") + KEY_FIELD_NUMBER: _ClassVar[int] + ENABLED_FIELD_NUMBER: _ClassVar[int] + key: str + enabled: bool + def __init__(self, key: _Optional[str] = ..., enabled: bool = ...) -> None: ... + +class PersistenceInfo(_message.Message): + __slots__ = ("backend", "settings", "features") + BACKEND_FIELD_NUMBER: _ClassVar[int] + SETTINGS_FIELD_NUMBER: _ClassVar[int] + FEATURES_FIELD_NUMBER: _ClassVar[int] + backend: str + settings: _containers.RepeatedCompositeFieldContainer[PersistenceSetting] + features: _containers.RepeatedCompositeFieldContainer[PersistenceFeature] + def __init__(self, backend: _Optional[str] = ..., settings: _Optional[_Iterable[_Union[PersistenceSetting, _Mapping]]] = ..., features: _Optional[_Iterable[_Union[PersistenceFeature, _Mapping]]] = ...) -> None: ... diff --git a/cadence/shared/admin/v1/history_pb2.py b/cadence/shared/admin/v1/history_pb2.py new file mode 100644 index 0000000..cf9fa2b --- /dev/null +++ b/cadence/shared/admin/v1/history_pb2.py @@ -0,0 +1,126 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: uber/cadence/admin/v1/history.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='uber/cadence/admin/v1/history.proto', + package='uber.cadence.admin.v1', + syntax='proto3', + serialized_options=b'Z5github.com/uber/cadence-idl/go/proto/admin/v1;adminv1', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n#uber/cadence/admin/v1/history.proto\x12\x15uber.cadence.admin.v1\"7\n\x12VersionHistoryItem\x12\x10\n\x08\x65vent_id\x18\x01 \x01(\x03\x12\x0f\n\x07version\x18\x02 \x01(\x03\"`\n\x0eVersionHistory\x12\x14\n\x0c\x62ranch_token\x18\x01 \x01(\x0c\x12\x38\n\x05items\x18\x02 \x03(\x0b\x32).uber.cadence.admin.v1.VersionHistoryItemB7Z5github.com/uber/cadence-idl/go/proto/admin/v1;adminv1b\x06proto3' +) + + + + +_VERSIONHISTORYITEM = _descriptor.Descriptor( + name='VersionHistoryItem', + full_name='uber.cadence.admin.v1.VersionHistoryItem', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='event_id', full_name='uber.cadence.admin.v1.VersionHistoryItem.event_id', index=0, + number=1, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='version', full_name='uber.cadence.admin.v1.VersionHistoryItem.version', index=1, + number=2, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=62, + serialized_end=117, +) + + +_VERSIONHISTORY = _descriptor.Descriptor( + name='VersionHistory', + full_name='uber.cadence.admin.v1.VersionHistory', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='branch_token', full_name='uber.cadence.admin.v1.VersionHistory.branch_token', index=0, + number=1, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='items', full_name='uber.cadence.admin.v1.VersionHistory.items', index=1, + number=2, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=119, + serialized_end=215, +) + +_VERSIONHISTORY.fields_by_name['items'].message_type = _VERSIONHISTORYITEM +DESCRIPTOR.message_types_by_name['VersionHistoryItem'] = _VERSIONHISTORYITEM +DESCRIPTOR.message_types_by_name['VersionHistory'] = _VERSIONHISTORY +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +VersionHistoryItem = _reflection.GeneratedProtocolMessageType('VersionHistoryItem', (_message.Message,), { + 'DESCRIPTOR' : _VERSIONHISTORYITEM, + '__module__' : 'uber.cadence.admin.v1.history_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.VersionHistoryItem) + }) +_sym_db.RegisterMessage(VersionHistoryItem) + +VersionHistory = _reflection.GeneratedProtocolMessageType('VersionHistory', (_message.Message,), { + 'DESCRIPTOR' : _VERSIONHISTORY, + '__module__' : 'uber.cadence.admin.v1.history_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.VersionHistory) + }) +_sym_db.RegisterMessage(VersionHistory) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/cadence/shared/admin/v1/history_pb2.pyi b/cadence/shared/admin/v1/history_pb2.pyi new file mode 100644 index 0000000..7e6e116 --- /dev/null +++ b/cadence/shared/admin/v1/history_pb2.pyi @@ -0,0 +1,22 @@ +from google.protobuf.internal import containers as _containers +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union + +DESCRIPTOR: _descriptor.FileDescriptor + +class VersionHistoryItem(_message.Message): + __slots__ = ("event_id", "version") + EVENT_ID_FIELD_NUMBER: _ClassVar[int] + VERSION_FIELD_NUMBER: _ClassVar[int] + event_id: int + version: int + def __init__(self, event_id: _Optional[int] = ..., version: _Optional[int] = ...) -> None: ... + +class VersionHistory(_message.Message): + __slots__ = ("branch_token", "items") + BRANCH_TOKEN_FIELD_NUMBER: _ClassVar[int] + ITEMS_FIELD_NUMBER: _ClassVar[int] + branch_token: bytes + items: _containers.RepeatedCompositeFieldContainer[VersionHistoryItem] + def __init__(self, branch_token: _Optional[bytes] = ..., items: _Optional[_Iterable[_Union[VersionHistoryItem, _Mapping]]] = ...) -> None: ... diff --git a/cadence/shared/admin/v1/queue_pb2.py b/cadence/shared/admin/v1/queue_pb2.py new file mode 100644 index 0000000..6e33bfa --- /dev/null +++ b/cadence/shared/admin/v1/queue_pb2.py @@ -0,0 +1,1363 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: uber/cadence/admin/v1/queue.proto +"""Generated protocol buffer code.""" +from google.protobuf.internal import enum_type_wrapper +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from uber.cadence.api.v1 import common_pb2 as uber_dot_cadence_dot_api_dot_v1_dot_common__pb2 +from uber.cadence.api.v1 import history_pb2 as uber_dot_cadence_dot_api_dot_v1_dot_history__pb2 +from uber.cadence.api.v1 import workflow_pb2 as uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='uber/cadence/admin/v1/queue.proto', + package='uber.cadence.admin.v1', + syntax='proto3', + serialized_options=b'Z5github.com/uber/cadence-idl/go/proto/admin/v1;adminv1', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n!uber/cadence/admin/v1/queue.proto\x12\x15uber.cadence.admin.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a uber/cadence/api/v1/common.proto\x1a!uber/cadence/api/v1/history.proto\x1a\"uber/cadence/api/v1/workflow.proto\"\x8c\x02\n\x14\x43rossClusterTaskInfo\x12\x11\n\tdomain_id\x18\x01 \x01(\t\x12\x42\n\x12workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12>\n\ttask_type\x18\x03 \x01(\x0e\x32+.uber.cadence.admin.v1.CrossClusterTaskType\x12\x12\n\ntask_state\x18\x04 \x01(\x05\x12\x0f\n\x07task_id\x18\x05 \x01(\x03\x12\x38\n\x14visibility_timestamp\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xb1\x03\n0CrossClusterStartChildExecutionRequestAttributes\x12\x18\n\x10target_domain_id\x18\x01 \x01(\t\x12\x12\n\nrequest_id\x18\x02 \x01(\t\x12\x1a\n\x12initiated_event_id\x18\x03 \x01(\x03\x12l\n\x1ainitiated_event_attributes\x18\x04 \x01(\x0b\x32H.uber.cadence.api.v1.StartChildWorkflowExecutionInitiatedEventAttributes\x12\x15\n\rtarget_run_id\x18\x05 \x01(\t\x12v\n\x10partition_config\x18\x06 \x03(\x0b\x32\\.uber.cadence.admin.v1.CrossClusterStartChildExecutionRequestAttributes.PartitionConfigEntry\x1a\x36\n\x14PartitionConfigEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"C\n1CrossClusterStartChildExecutionResponseAttributes\x12\x0e\n\x06run_id\x18\x01 \x01(\t\"\xe0\x01\n,CrossClusterCancelExecutionRequestAttributes\x12\x18\n\x10target_domain_id\x18\x01 \x01(\t\x12I\n\x19target_workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12\x1a\n\x12initiated_event_id\x18\x04 \x01(\x03\x12\x1b\n\x13\x63hild_workflow_only\x18\x05 \x01(\x08\"/\n-CrossClusterCancelExecutionResponseAttributes\"\xba\x02\n,CrossClusterSignalExecutionRequestAttributes\x12\x18\n\x10target_domain_id\x18\x01 \x01(\t\x12I\n\x19target_workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12\x1a\n\x12initiated_event_id\x18\x04 \x01(\x03\x12\x1b\n\x13\x63hild_workflow_only\x18\x05 \x01(\x08\x12\x13\n\x0bsignal_name\x18\x06 \x01(\t\x12\x32\n\x0csignal_input\x18\x07 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12\x0f\n\x07\x63ontrol\x18\x08 \x01(\x0c\"/\n-CrossClusterSignalExecutionResponseAttributes\"\x81\x02\nACrossClusterRecordChildWorkflowExecutionCompleteRequestAttributes\x12\x18\n\x10target_domain_id\x18\x01 \x01(\t\x12I\n\x19target_workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x1a\n\x12initiated_event_id\x18\x03 \x01(\x03\x12;\n\x10\x63ompletion_event\x18\x04 \x01(\x0b\x32!.uber.cadence.api.v1.HistoryEvent\"D\nBCrossClusterRecordChildWorkflowExecutionCompleteResponseAttributes\"\xb1\x01\n ApplyParentClosePolicyAttributes\x12\x17\n\x0f\x63hild_domain_id\x18\x01 \x01(\t\x12\x19\n\x11\x63hild_workflow_id\x18\x02 \x01(\t\x12\x14\n\x0c\x63hild_run_id\x18\x03 \x01(\t\x12\x43\n\x13parent_close_policy\x18\x04 \x01(\x0e\x32&.uber.cadence.api.v1.ParentClosePolicy\"{\n\x1c\x41pplyParentClosePolicyStatus\x12\x11\n\tcompleted\x18\x01 \x01(\x08\x12H\n\x0c\x66\x61iled_cause\x18\x02 \x01(\x0e\x32\x32.uber.cadence.admin.v1.CrossClusterTaskFailedCause\"\xac\x01\n\x1d\x41pplyParentClosePolicyRequest\x12\x46\n\x05\x63hild\x18\x01 \x01(\x0b\x32\x37.uber.cadence.admin.v1.ApplyParentClosePolicyAttributes\x12\x43\n\x06status\x18\x02 \x01(\x0b\x32\x33.uber.cadence.admin.v1.ApplyParentClosePolicyStatus\"}\n3CrossClusterApplyParentClosePolicyRequestAttributes\x12\x46\n\x08\x63hildren\x18\x01 \x03(\x0b\x32\x34.uber.cadence.admin.v1.ApplyParentClosePolicyRequest\"\xb0\x01\n\x1c\x41pplyParentClosePolicyResult\x12\x46\n\x05\x63hild\x18\x01 \x01(\x0b\x32\x37.uber.cadence.admin.v1.ApplyParentClosePolicyAttributes\x12H\n\x0c\x66\x61iled_cause\x18\x02 \x01(\x0e\x32\x32.uber.cadence.admin.v1.CrossClusterTaskFailedCause\"\x84\x01\n4CrossClusterApplyParentClosePolicyResponseAttributes\x12L\n\x0f\x63hildren_status\x18\x01 \x03(\x0b\x32\x33.uber.cadence.admin.v1.ApplyParentClosePolicyResult\"\xdb\x05\n\x17\x43rossClusterTaskRequest\x12>\n\ttask_info\x18\x01 \x01(\x0b\x32+.uber.cadence.admin.v1.CrossClusterTaskInfo\x12s\n start_child_execution_attributes\x18\x02 \x01(\x0b\x32G.uber.cadence.admin.v1.CrossClusterStartChildExecutionRequestAttributesH\x00\x12j\n\x1b\x63\x61ncel_execution_attributes\x18\x03 \x01(\x0b\x32\x43.uber.cadence.admin.v1.CrossClusterCancelExecutionRequestAttributesH\x00\x12j\n\x1bsignal_execution_attributes\x18\x04 \x01(\x0b\x32\x43.uber.cadence.admin.v1.CrossClusterSignalExecutionRequestAttributesH\x00\x12\x9f\x01\n;record_child_workflow_execution_complete_request_attributes\x18\x05 \x01(\x0b\x32X.uber.cadence.admin.v1.CrossClusterRecordChildWorkflowExecutionCompleteRequestAttributesH\x00\x12\x82\x01\n,apply_parent_close_policy_request_attributes\x18\x06 \x01(\x0b\x32J.uber.cadence.admin.v1.CrossClusterApplyParentClosePolicyRequestAttributesH\x00\x42\x0c\n\nattributes\"\xd1\x06\n\x18\x43rossClusterTaskResponse\x12\x0f\n\x07task_id\x18\x01 \x01(\x03\x12>\n\ttask_type\x18\x02 \x01(\x0e\x32+.uber.cadence.admin.v1.CrossClusterTaskType\x12\x12\n\ntask_state\x18\x03 \x01(\x05\x12H\n\x0c\x66\x61iled_cause\x18\x04 \x01(\x0e\x32\x32.uber.cadence.admin.v1.CrossClusterTaskFailedCause\x12t\n start_child_execution_attributes\x18\x05 \x01(\x0b\x32H.uber.cadence.admin.v1.CrossClusterStartChildExecutionResponseAttributesH\x00\x12k\n\x1b\x63\x61ncel_execution_attributes\x18\x06 \x01(\x0b\x32\x44.uber.cadence.admin.v1.CrossClusterCancelExecutionResponseAttributesH\x00\x12k\n\x1bsignal_execution_attributes\x18\x07 \x01(\x0b\x32\x44.uber.cadence.admin.v1.CrossClusterSignalExecutionResponseAttributesH\x00\x12\xa0\x01\n;record_child_workflow_execution_complete_request_attributes\x18\x08 \x01(\x0b\x32Y.uber.cadence.admin.v1.CrossClusterRecordChildWorkflowExecutionCompleteResponseAttributesH\x00\x12\x84\x01\n-apply_parent_close_policy_response_attributes\x18\t \x01(\x0b\x32K.uber.cadence.admin.v1.CrossClusterApplyParentClosePolicyResponseAttributesH\x00\x42\x0c\n\nattributes\"a\n\x18\x43rossClusterTaskRequests\x12\x45\n\rtask_requests\x18\x01 \x03(\x0b\x32..uber.cadence.admin.v1.CrossClusterTaskRequest*\x86\x01\n\x08TaskType\x12\x15\n\x11TASK_TYPE_INVALID\x10\x00\x12\x16\n\x12TASK_TYPE_TRANSFER\x10\x01\x12\x13\n\x0fTASK_TYPE_TIMER\x10\x02\x12\x19\n\x15TASK_TYPE_REPLICATION\x10\x03\x12\x1b\n\x17TASK_TYPE_CROSS_CLUSTER\x10\x04*\xc7\x02\n\x14\x43rossClusterTaskType\x12#\n\x1f\x43ROSS_CLUSTER_TASK_TYPE_INVALID\x10\x00\x12\x31\n-CROSS_CLUSTER_TASK_TYPE_START_CHILD_EXECUTION\x10\x01\x12,\n(CROSS_CLUSTER_TASK_TYPE_CANCEL_EXECUTION\x10\x02\x12,\n(CROSS_CLUSTER_TASK_TYPE_SIGNAL_EXECUTION\x10\x03\x12\x44\n@CROSS_CLUSTER_TASK_TYPE_RECORD_CHILD_WORKKLOW_EXECUTION_COMPLETE\x10\x04\x12\x35\n1CROSS_CLUSTER_TASK_TYPE_APPLY_PARENT_CLOSE_POLICY\x10\x05*\xa2\x03\n\x1b\x43rossClusterTaskFailedCause\x12+\n\'CROSS_CLUSTER_TASK_FAILED_CAUSE_INVALID\x10\x00\x12\x35\n1CROSS_CLUSTER_TASK_FAILED_CAUSE_DOMAIN_NOT_ACTIVE\x10\x01\x12\x35\n1CROSS_CLUSTER_TASK_FAILED_CAUSE_DOMAIN_NOT_EXISTS\x10\x02\x12<\n8CROSS_CLUSTER_TASK_FAILED_CAUSE_WORKFLOW_ALREADY_RUNNING\x10\x03\x12\x37\n3CROSS_CLUSTER_TASK_FAILED_CAUSE_WORKFLOW_NOT_EXISTS\x10\x04\x12>\n:CROSS_CLUSTER_TASK_FAILED_CAUSE_WORKFLOW_ALREADY_COMPLETED\x10\x05\x12\x31\n-CROSS_CLUSTER_TASK_FAILED_CAUSE_UNCATEGORIZED\x10\x06*\xdb\x01\n\x12GetTaskFailedCause\x12!\n\x1dGET_TASK_FAILED_CAUSE_INVALID\x10\x00\x12&\n\"GET_TASK_FAILED_CAUSE_SERVICE_BUSY\x10\x01\x12!\n\x1dGET_TASK_FAILED_CAUSE_TIMEOUT\x10\x02\x12.\n*GET_TASK_FAILED_CAUSE_SHARD_OWNERSHIP_LOST\x10\x03\x12\'\n#GET_TASK_FAILED_CAUSE_UNCATEGORIZED\x10\x04\x42\x37Z5github.com/uber/cadence-idl/go/proto/admin/v1;adminv1b\x06proto3' + , + dependencies=[google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,uber_dot_cadence_dot_api_dot_v1_dot_common__pb2.DESCRIPTOR,uber_dot_cadence_dot_api_dot_v1_dot_history__pb2.DESCRIPTOR,uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2.DESCRIPTOR,]) + +_TASKTYPE = _descriptor.EnumDescriptor( + name='TaskType', + full_name='uber.cadence.admin.v1.TaskType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='TASK_TYPE_INVALID', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TASK_TYPE_TRANSFER', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TASK_TYPE_TIMER', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TASK_TYPE_REPLICATION', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TASK_TYPE_CROSS_CLUSTER', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=4553, + serialized_end=4687, +) +_sym_db.RegisterEnumDescriptor(_TASKTYPE) + +TaskType = enum_type_wrapper.EnumTypeWrapper(_TASKTYPE) +_CROSSCLUSTERTASKTYPE = _descriptor.EnumDescriptor( + name='CrossClusterTaskType', + full_name='uber.cadence.admin.v1.CrossClusterTaskType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='CROSS_CLUSTER_TASK_TYPE_INVALID', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CROSS_CLUSTER_TASK_TYPE_START_CHILD_EXECUTION', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CROSS_CLUSTER_TASK_TYPE_CANCEL_EXECUTION', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CROSS_CLUSTER_TASK_TYPE_SIGNAL_EXECUTION', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CROSS_CLUSTER_TASK_TYPE_RECORD_CHILD_WORKKLOW_EXECUTION_COMPLETE', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CROSS_CLUSTER_TASK_TYPE_APPLY_PARENT_CLOSE_POLICY', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=4690, + serialized_end=5017, +) +_sym_db.RegisterEnumDescriptor(_CROSSCLUSTERTASKTYPE) + +CrossClusterTaskType = enum_type_wrapper.EnumTypeWrapper(_CROSSCLUSTERTASKTYPE) +_CROSSCLUSTERTASKFAILEDCAUSE = _descriptor.EnumDescriptor( + name='CrossClusterTaskFailedCause', + full_name='uber.cadence.admin.v1.CrossClusterTaskFailedCause', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='CROSS_CLUSTER_TASK_FAILED_CAUSE_INVALID', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CROSS_CLUSTER_TASK_FAILED_CAUSE_DOMAIN_NOT_ACTIVE', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CROSS_CLUSTER_TASK_FAILED_CAUSE_DOMAIN_NOT_EXISTS', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CROSS_CLUSTER_TASK_FAILED_CAUSE_WORKFLOW_ALREADY_RUNNING', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CROSS_CLUSTER_TASK_FAILED_CAUSE_WORKFLOW_NOT_EXISTS', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CROSS_CLUSTER_TASK_FAILED_CAUSE_WORKFLOW_ALREADY_COMPLETED', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CROSS_CLUSTER_TASK_FAILED_CAUSE_UNCATEGORIZED', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=5020, + serialized_end=5438, +) +_sym_db.RegisterEnumDescriptor(_CROSSCLUSTERTASKFAILEDCAUSE) + +CrossClusterTaskFailedCause = enum_type_wrapper.EnumTypeWrapper(_CROSSCLUSTERTASKFAILEDCAUSE) +_GETTASKFAILEDCAUSE = _descriptor.EnumDescriptor( + name='GetTaskFailedCause', + full_name='uber.cadence.admin.v1.GetTaskFailedCause', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='GET_TASK_FAILED_CAUSE_INVALID', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='GET_TASK_FAILED_CAUSE_SERVICE_BUSY', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='GET_TASK_FAILED_CAUSE_TIMEOUT', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='GET_TASK_FAILED_CAUSE_SHARD_OWNERSHIP_LOST', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='GET_TASK_FAILED_CAUSE_UNCATEGORIZED', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=5441, + serialized_end=5660, +) +_sym_db.RegisterEnumDescriptor(_GETTASKFAILEDCAUSE) + +GetTaskFailedCause = enum_type_wrapper.EnumTypeWrapper(_GETTASKFAILEDCAUSE) +TASK_TYPE_INVALID = 0 +TASK_TYPE_TRANSFER = 1 +TASK_TYPE_TIMER = 2 +TASK_TYPE_REPLICATION = 3 +TASK_TYPE_CROSS_CLUSTER = 4 +CROSS_CLUSTER_TASK_TYPE_INVALID = 0 +CROSS_CLUSTER_TASK_TYPE_START_CHILD_EXECUTION = 1 +CROSS_CLUSTER_TASK_TYPE_CANCEL_EXECUTION = 2 +CROSS_CLUSTER_TASK_TYPE_SIGNAL_EXECUTION = 3 +CROSS_CLUSTER_TASK_TYPE_RECORD_CHILD_WORKKLOW_EXECUTION_COMPLETE = 4 +CROSS_CLUSTER_TASK_TYPE_APPLY_PARENT_CLOSE_POLICY = 5 +CROSS_CLUSTER_TASK_FAILED_CAUSE_INVALID = 0 +CROSS_CLUSTER_TASK_FAILED_CAUSE_DOMAIN_NOT_ACTIVE = 1 +CROSS_CLUSTER_TASK_FAILED_CAUSE_DOMAIN_NOT_EXISTS = 2 +CROSS_CLUSTER_TASK_FAILED_CAUSE_WORKFLOW_ALREADY_RUNNING = 3 +CROSS_CLUSTER_TASK_FAILED_CAUSE_WORKFLOW_NOT_EXISTS = 4 +CROSS_CLUSTER_TASK_FAILED_CAUSE_WORKFLOW_ALREADY_COMPLETED = 5 +CROSS_CLUSTER_TASK_FAILED_CAUSE_UNCATEGORIZED = 6 +GET_TASK_FAILED_CAUSE_INVALID = 0 +GET_TASK_FAILED_CAUSE_SERVICE_BUSY = 1 +GET_TASK_FAILED_CAUSE_TIMEOUT = 2 +GET_TASK_FAILED_CAUSE_SHARD_OWNERSHIP_LOST = 3 +GET_TASK_FAILED_CAUSE_UNCATEGORIZED = 4 + + + +_CROSSCLUSTERTASKINFO = _descriptor.Descriptor( + name='CrossClusterTaskInfo', + full_name='uber.cadence.admin.v1.CrossClusterTaskInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain_id', full_name='uber.cadence.admin.v1.CrossClusterTaskInfo.domain_id', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution', full_name='uber.cadence.admin.v1.CrossClusterTaskInfo.workflow_execution', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='task_type', full_name='uber.cadence.admin.v1.CrossClusterTaskInfo.task_type', index=2, + number=3, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='task_state', full_name='uber.cadence.admin.v1.CrossClusterTaskInfo.task_state', index=3, + number=4, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='task_id', full_name='uber.cadence.admin.v1.CrossClusterTaskInfo.task_id', index=4, + number=5, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='visibility_timestamp', full_name='uber.cadence.admin.v1.CrossClusterTaskInfo.visibility_timestamp', index=5, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=199, + serialized_end=467, +) + + +_CROSSCLUSTERSTARTCHILDEXECUTIONREQUESTATTRIBUTES_PARTITIONCONFIGENTRY = _descriptor.Descriptor( + name='PartitionConfigEntry', + full_name='uber.cadence.admin.v1.CrossClusterStartChildExecutionRequestAttributes.PartitionConfigEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='uber.cadence.admin.v1.CrossClusterStartChildExecutionRequestAttributes.PartitionConfigEntry.key', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='value', full_name='uber.cadence.admin.v1.CrossClusterStartChildExecutionRequestAttributes.PartitionConfigEntry.value', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'8\001', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=849, + serialized_end=903, +) + +_CROSSCLUSTERSTARTCHILDEXECUTIONREQUESTATTRIBUTES = _descriptor.Descriptor( + name='CrossClusterStartChildExecutionRequestAttributes', + full_name='uber.cadence.admin.v1.CrossClusterStartChildExecutionRequestAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='target_domain_id', full_name='uber.cadence.admin.v1.CrossClusterStartChildExecutionRequestAttributes.target_domain_id', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='request_id', full_name='uber.cadence.admin.v1.CrossClusterStartChildExecutionRequestAttributes.request_id', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='initiated_event_id', full_name='uber.cadence.admin.v1.CrossClusterStartChildExecutionRequestAttributes.initiated_event_id', index=2, + number=3, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='initiated_event_attributes', full_name='uber.cadence.admin.v1.CrossClusterStartChildExecutionRequestAttributes.initiated_event_attributes', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='target_run_id', full_name='uber.cadence.admin.v1.CrossClusterStartChildExecutionRequestAttributes.target_run_id', index=4, + number=5, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='partition_config', full_name='uber.cadence.admin.v1.CrossClusterStartChildExecutionRequestAttributes.partition_config', index=5, + number=6, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[_CROSSCLUSTERSTARTCHILDEXECUTIONREQUESTATTRIBUTES_PARTITIONCONFIGENTRY, ], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=470, + serialized_end=903, +) + + +_CROSSCLUSTERSTARTCHILDEXECUTIONRESPONSEATTRIBUTES = _descriptor.Descriptor( + name='CrossClusterStartChildExecutionResponseAttributes', + full_name='uber.cadence.admin.v1.CrossClusterStartChildExecutionResponseAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='run_id', full_name='uber.cadence.admin.v1.CrossClusterStartChildExecutionResponseAttributes.run_id', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=905, + serialized_end=972, +) + + +_CROSSCLUSTERCANCELEXECUTIONREQUESTATTRIBUTES = _descriptor.Descriptor( + name='CrossClusterCancelExecutionRequestAttributes', + full_name='uber.cadence.admin.v1.CrossClusterCancelExecutionRequestAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='target_domain_id', full_name='uber.cadence.admin.v1.CrossClusterCancelExecutionRequestAttributes.target_domain_id', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='target_workflow_execution', full_name='uber.cadence.admin.v1.CrossClusterCancelExecutionRequestAttributes.target_workflow_execution', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='request_id', full_name='uber.cadence.admin.v1.CrossClusterCancelExecutionRequestAttributes.request_id', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='initiated_event_id', full_name='uber.cadence.admin.v1.CrossClusterCancelExecutionRequestAttributes.initiated_event_id', index=3, + number=4, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='child_workflow_only', full_name='uber.cadence.admin.v1.CrossClusterCancelExecutionRequestAttributes.child_workflow_only', index=4, + number=5, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=975, + serialized_end=1199, +) + + +_CROSSCLUSTERCANCELEXECUTIONRESPONSEATTRIBUTES = _descriptor.Descriptor( + name='CrossClusterCancelExecutionResponseAttributes', + full_name='uber.cadence.admin.v1.CrossClusterCancelExecutionResponseAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1201, + serialized_end=1248, +) + + +_CROSSCLUSTERSIGNALEXECUTIONREQUESTATTRIBUTES = _descriptor.Descriptor( + name='CrossClusterSignalExecutionRequestAttributes', + full_name='uber.cadence.admin.v1.CrossClusterSignalExecutionRequestAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='target_domain_id', full_name='uber.cadence.admin.v1.CrossClusterSignalExecutionRequestAttributes.target_domain_id', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='target_workflow_execution', full_name='uber.cadence.admin.v1.CrossClusterSignalExecutionRequestAttributes.target_workflow_execution', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='request_id', full_name='uber.cadence.admin.v1.CrossClusterSignalExecutionRequestAttributes.request_id', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='initiated_event_id', full_name='uber.cadence.admin.v1.CrossClusterSignalExecutionRequestAttributes.initiated_event_id', index=3, + number=4, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='child_workflow_only', full_name='uber.cadence.admin.v1.CrossClusterSignalExecutionRequestAttributes.child_workflow_only', index=4, + number=5, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='signal_name', full_name='uber.cadence.admin.v1.CrossClusterSignalExecutionRequestAttributes.signal_name', index=5, + number=6, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='signal_input', full_name='uber.cadence.admin.v1.CrossClusterSignalExecutionRequestAttributes.signal_input', index=6, + number=7, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='control', full_name='uber.cadence.admin.v1.CrossClusterSignalExecutionRequestAttributes.control', index=7, + number=8, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1251, + serialized_end=1565, +) + + +_CROSSCLUSTERSIGNALEXECUTIONRESPONSEATTRIBUTES = _descriptor.Descriptor( + name='CrossClusterSignalExecutionResponseAttributes', + full_name='uber.cadence.admin.v1.CrossClusterSignalExecutionResponseAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1567, + serialized_end=1614, +) + + +_CROSSCLUSTERRECORDCHILDWORKFLOWEXECUTIONCOMPLETEREQUESTATTRIBUTES = _descriptor.Descriptor( + name='CrossClusterRecordChildWorkflowExecutionCompleteRequestAttributes', + full_name='uber.cadence.admin.v1.CrossClusterRecordChildWorkflowExecutionCompleteRequestAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='target_domain_id', full_name='uber.cadence.admin.v1.CrossClusterRecordChildWorkflowExecutionCompleteRequestAttributes.target_domain_id', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='target_workflow_execution', full_name='uber.cadence.admin.v1.CrossClusterRecordChildWorkflowExecutionCompleteRequestAttributes.target_workflow_execution', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='initiated_event_id', full_name='uber.cadence.admin.v1.CrossClusterRecordChildWorkflowExecutionCompleteRequestAttributes.initiated_event_id', index=2, + number=3, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='completion_event', full_name='uber.cadence.admin.v1.CrossClusterRecordChildWorkflowExecutionCompleteRequestAttributes.completion_event', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1617, + serialized_end=1874, +) + + +_CROSSCLUSTERRECORDCHILDWORKFLOWEXECUTIONCOMPLETERESPONSEATTRIBUTES = _descriptor.Descriptor( + name='CrossClusterRecordChildWorkflowExecutionCompleteResponseAttributes', + full_name='uber.cadence.admin.v1.CrossClusterRecordChildWorkflowExecutionCompleteResponseAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1876, + serialized_end=1944, +) + + +_APPLYPARENTCLOSEPOLICYATTRIBUTES = _descriptor.Descriptor( + name='ApplyParentClosePolicyAttributes', + full_name='uber.cadence.admin.v1.ApplyParentClosePolicyAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='child_domain_id', full_name='uber.cadence.admin.v1.ApplyParentClosePolicyAttributes.child_domain_id', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='child_workflow_id', full_name='uber.cadence.admin.v1.ApplyParentClosePolicyAttributes.child_workflow_id', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='child_run_id', full_name='uber.cadence.admin.v1.ApplyParentClosePolicyAttributes.child_run_id', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='parent_close_policy', full_name='uber.cadence.admin.v1.ApplyParentClosePolicyAttributes.parent_close_policy', index=3, + number=4, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1947, + serialized_end=2124, +) + + +_APPLYPARENTCLOSEPOLICYSTATUS = _descriptor.Descriptor( + name='ApplyParentClosePolicyStatus', + full_name='uber.cadence.admin.v1.ApplyParentClosePolicyStatus', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='completed', full_name='uber.cadence.admin.v1.ApplyParentClosePolicyStatus.completed', index=0, + number=1, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='failed_cause', full_name='uber.cadence.admin.v1.ApplyParentClosePolicyStatus.failed_cause', index=1, + number=2, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2126, + serialized_end=2249, +) + + +_APPLYPARENTCLOSEPOLICYREQUEST = _descriptor.Descriptor( + name='ApplyParentClosePolicyRequest', + full_name='uber.cadence.admin.v1.ApplyParentClosePolicyRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='child', full_name='uber.cadence.admin.v1.ApplyParentClosePolicyRequest.child', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='status', full_name='uber.cadence.admin.v1.ApplyParentClosePolicyRequest.status', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2252, + serialized_end=2424, +) + + +_CROSSCLUSTERAPPLYPARENTCLOSEPOLICYREQUESTATTRIBUTES = _descriptor.Descriptor( + name='CrossClusterApplyParentClosePolicyRequestAttributes', + full_name='uber.cadence.admin.v1.CrossClusterApplyParentClosePolicyRequestAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='children', full_name='uber.cadence.admin.v1.CrossClusterApplyParentClosePolicyRequestAttributes.children', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2426, + serialized_end=2551, +) + + +_APPLYPARENTCLOSEPOLICYRESULT = _descriptor.Descriptor( + name='ApplyParentClosePolicyResult', + full_name='uber.cadence.admin.v1.ApplyParentClosePolicyResult', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='child', full_name='uber.cadence.admin.v1.ApplyParentClosePolicyResult.child', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='failed_cause', full_name='uber.cadence.admin.v1.ApplyParentClosePolicyResult.failed_cause', index=1, + number=2, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2554, + serialized_end=2730, +) + + +_CROSSCLUSTERAPPLYPARENTCLOSEPOLICYRESPONSEATTRIBUTES = _descriptor.Descriptor( + name='CrossClusterApplyParentClosePolicyResponseAttributes', + full_name='uber.cadence.admin.v1.CrossClusterApplyParentClosePolicyResponseAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='children_status', full_name='uber.cadence.admin.v1.CrossClusterApplyParentClosePolicyResponseAttributes.children_status', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2733, + serialized_end=2865, +) + + +_CROSSCLUSTERTASKREQUEST = _descriptor.Descriptor( + name='CrossClusterTaskRequest', + full_name='uber.cadence.admin.v1.CrossClusterTaskRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='task_info', full_name='uber.cadence.admin.v1.CrossClusterTaskRequest.task_info', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='start_child_execution_attributes', full_name='uber.cadence.admin.v1.CrossClusterTaskRequest.start_child_execution_attributes', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cancel_execution_attributes', full_name='uber.cadence.admin.v1.CrossClusterTaskRequest.cancel_execution_attributes', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='signal_execution_attributes', full_name='uber.cadence.admin.v1.CrossClusterTaskRequest.signal_execution_attributes', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='record_child_workflow_execution_complete_request_attributes', full_name='uber.cadence.admin.v1.CrossClusterTaskRequest.record_child_workflow_execution_complete_request_attributes', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='apply_parent_close_policy_request_attributes', full_name='uber.cadence.admin.v1.CrossClusterTaskRequest.apply_parent_close_policy_request_attributes', index=5, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='attributes', full_name='uber.cadence.admin.v1.CrossClusterTaskRequest.attributes', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=2868, + serialized_end=3599, +) + + +_CROSSCLUSTERTASKRESPONSE = _descriptor.Descriptor( + name='CrossClusterTaskResponse', + full_name='uber.cadence.admin.v1.CrossClusterTaskResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='task_id', full_name='uber.cadence.admin.v1.CrossClusterTaskResponse.task_id', index=0, + number=1, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='task_type', full_name='uber.cadence.admin.v1.CrossClusterTaskResponse.task_type', index=1, + number=2, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='task_state', full_name='uber.cadence.admin.v1.CrossClusterTaskResponse.task_state', index=2, + number=3, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='failed_cause', full_name='uber.cadence.admin.v1.CrossClusterTaskResponse.failed_cause', index=3, + number=4, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='start_child_execution_attributes', full_name='uber.cadence.admin.v1.CrossClusterTaskResponse.start_child_execution_attributes', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cancel_execution_attributes', full_name='uber.cadence.admin.v1.CrossClusterTaskResponse.cancel_execution_attributes', index=5, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='signal_execution_attributes', full_name='uber.cadence.admin.v1.CrossClusterTaskResponse.signal_execution_attributes', index=6, + number=7, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='record_child_workflow_execution_complete_request_attributes', full_name='uber.cadence.admin.v1.CrossClusterTaskResponse.record_child_workflow_execution_complete_request_attributes', index=7, + number=8, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='apply_parent_close_policy_response_attributes', full_name='uber.cadence.admin.v1.CrossClusterTaskResponse.apply_parent_close_policy_response_attributes', index=8, + number=9, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='attributes', full_name='uber.cadence.admin.v1.CrossClusterTaskResponse.attributes', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=3602, + serialized_end=4451, +) + + +_CROSSCLUSTERTASKREQUESTS = _descriptor.Descriptor( + name='CrossClusterTaskRequests', + full_name='uber.cadence.admin.v1.CrossClusterTaskRequests', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='task_requests', full_name='uber.cadence.admin.v1.CrossClusterTaskRequests.task_requests', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=4453, + serialized_end=4550, +) + +_CROSSCLUSTERTASKINFO.fields_by_name['workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_CROSSCLUSTERTASKINFO.fields_by_name['task_type'].enum_type = _CROSSCLUSTERTASKTYPE +_CROSSCLUSTERTASKINFO.fields_by_name['visibility_timestamp'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_CROSSCLUSTERSTARTCHILDEXECUTIONREQUESTATTRIBUTES_PARTITIONCONFIGENTRY.containing_type = _CROSSCLUSTERSTARTCHILDEXECUTIONREQUESTATTRIBUTES +_CROSSCLUSTERSTARTCHILDEXECUTIONREQUESTATTRIBUTES.fields_by_name['initiated_event_attributes'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_history__pb2._STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES +_CROSSCLUSTERSTARTCHILDEXECUTIONREQUESTATTRIBUTES.fields_by_name['partition_config'].message_type = _CROSSCLUSTERSTARTCHILDEXECUTIONREQUESTATTRIBUTES_PARTITIONCONFIGENTRY +_CROSSCLUSTERCANCELEXECUTIONREQUESTATTRIBUTES.fields_by_name['target_workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_CROSSCLUSTERSIGNALEXECUTIONREQUESTATTRIBUTES.fields_by_name['target_workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_CROSSCLUSTERSIGNALEXECUTIONREQUESTATTRIBUTES.fields_by_name['signal_input'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._PAYLOAD +_CROSSCLUSTERRECORDCHILDWORKFLOWEXECUTIONCOMPLETEREQUESTATTRIBUTES.fields_by_name['target_workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_CROSSCLUSTERRECORDCHILDWORKFLOWEXECUTIONCOMPLETEREQUESTATTRIBUTES.fields_by_name['completion_event'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_history__pb2._HISTORYEVENT +_APPLYPARENTCLOSEPOLICYATTRIBUTES.fields_by_name['parent_close_policy'].enum_type = uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2._PARENTCLOSEPOLICY +_APPLYPARENTCLOSEPOLICYSTATUS.fields_by_name['failed_cause'].enum_type = _CROSSCLUSTERTASKFAILEDCAUSE +_APPLYPARENTCLOSEPOLICYREQUEST.fields_by_name['child'].message_type = _APPLYPARENTCLOSEPOLICYATTRIBUTES +_APPLYPARENTCLOSEPOLICYREQUEST.fields_by_name['status'].message_type = _APPLYPARENTCLOSEPOLICYSTATUS +_CROSSCLUSTERAPPLYPARENTCLOSEPOLICYREQUESTATTRIBUTES.fields_by_name['children'].message_type = _APPLYPARENTCLOSEPOLICYREQUEST +_APPLYPARENTCLOSEPOLICYRESULT.fields_by_name['child'].message_type = _APPLYPARENTCLOSEPOLICYATTRIBUTES +_APPLYPARENTCLOSEPOLICYRESULT.fields_by_name['failed_cause'].enum_type = _CROSSCLUSTERTASKFAILEDCAUSE +_CROSSCLUSTERAPPLYPARENTCLOSEPOLICYRESPONSEATTRIBUTES.fields_by_name['children_status'].message_type = _APPLYPARENTCLOSEPOLICYRESULT +_CROSSCLUSTERTASKREQUEST.fields_by_name['task_info'].message_type = _CROSSCLUSTERTASKINFO +_CROSSCLUSTERTASKREQUEST.fields_by_name['start_child_execution_attributes'].message_type = _CROSSCLUSTERSTARTCHILDEXECUTIONREQUESTATTRIBUTES +_CROSSCLUSTERTASKREQUEST.fields_by_name['cancel_execution_attributes'].message_type = _CROSSCLUSTERCANCELEXECUTIONREQUESTATTRIBUTES +_CROSSCLUSTERTASKREQUEST.fields_by_name['signal_execution_attributes'].message_type = _CROSSCLUSTERSIGNALEXECUTIONREQUESTATTRIBUTES +_CROSSCLUSTERTASKREQUEST.fields_by_name['record_child_workflow_execution_complete_request_attributes'].message_type = _CROSSCLUSTERRECORDCHILDWORKFLOWEXECUTIONCOMPLETEREQUESTATTRIBUTES +_CROSSCLUSTERTASKREQUEST.fields_by_name['apply_parent_close_policy_request_attributes'].message_type = _CROSSCLUSTERAPPLYPARENTCLOSEPOLICYREQUESTATTRIBUTES +_CROSSCLUSTERTASKREQUEST.oneofs_by_name['attributes'].fields.append( + _CROSSCLUSTERTASKREQUEST.fields_by_name['start_child_execution_attributes']) +_CROSSCLUSTERTASKREQUEST.fields_by_name['start_child_execution_attributes'].containing_oneof = _CROSSCLUSTERTASKREQUEST.oneofs_by_name['attributes'] +_CROSSCLUSTERTASKREQUEST.oneofs_by_name['attributes'].fields.append( + _CROSSCLUSTERTASKREQUEST.fields_by_name['cancel_execution_attributes']) +_CROSSCLUSTERTASKREQUEST.fields_by_name['cancel_execution_attributes'].containing_oneof = _CROSSCLUSTERTASKREQUEST.oneofs_by_name['attributes'] +_CROSSCLUSTERTASKREQUEST.oneofs_by_name['attributes'].fields.append( + _CROSSCLUSTERTASKREQUEST.fields_by_name['signal_execution_attributes']) +_CROSSCLUSTERTASKREQUEST.fields_by_name['signal_execution_attributes'].containing_oneof = _CROSSCLUSTERTASKREQUEST.oneofs_by_name['attributes'] +_CROSSCLUSTERTASKREQUEST.oneofs_by_name['attributes'].fields.append( + _CROSSCLUSTERTASKREQUEST.fields_by_name['record_child_workflow_execution_complete_request_attributes']) +_CROSSCLUSTERTASKREQUEST.fields_by_name['record_child_workflow_execution_complete_request_attributes'].containing_oneof = _CROSSCLUSTERTASKREQUEST.oneofs_by_name['attributes'] +_CROSSCLUSTERTASKREQUEST.oneofs_by_name['attributes'].fields.append( + _CROSSCLUSTERTASKREQUEST.fields_by_name['apply_parent_close_policy_request_attributes']) +_CROSSCLUSTERTASKREQUEST.fields_by_name['apply_parent_close_policy_request_attributes'].containing_oneof = _CROSSCLUSTERTASKREQUEST.oneofs_by_name['attributes'] +_CROSSCLUSTERTASKRESPONSE.fields_by_name['task_type'].enum_type = _CROSSCLUSTERTASKTYPE +_CROSSCLUSTERTASKRESPONSE.fields_by_name['failed_cause'].enum_type = _CROSSCLUSTERTASKFAILEDCAUSE +_CROSSCLUSTERTASKRESPONSE.fields_by_name['start_child_execution_attributes'].message_type = _CROSSCLUSTERSTARTCHILDEXECUTIONRESPONSEATTRIBUTES +_CROSSCLUSTERTASKRESPONSE.fields_by_name['cancel_execution_attributes'].message_type = _CROSSCLUSTERCANCELEXECUTIONRESPONSEATTRIBUTES +_CROSSCLUSTERTASKRESPONSE.fields_by_name['signal_execution_attributes'].message_type = _CROSSCLUSTERSIGNALEXECUTIONRESPONSEATTRIBUTES +_CROSSCLUSTERTASKRESPONSE.fields_by_name['record_child_workflow_execution_complete_request_attributes'].message_type = _CROSSCLUSTERRECORDCHILDWORKFLOWEXECUTIONCOMPLETERESPONSEATTRIBUTES +_CROSSCLUSTERTASKRESPONSE.fields_by_name['apply_parent_close_policy_response_attributes'].message_type = _CROSSCLUSTERAPPLYPARENTCLOSEPOLICYRESPONSEATTRIBUTES +_CROSSCLUSTERTASKRESPONSE.oneofs_by_name['attributes'].fields.append( + _CROSSCLUSTERTASKRESPONSE.fields_by_name['start_child_execution_attributes']) +_CROSSCLUSTERTASKRESPONSE.fields_by_name['start_child_execution_attributes'].containing_oneof = _CROSSCLUSTERTASKRESPONSE.oneofs_by_name['attributes'] +_CROSSCLUSTERTASKRESPONSE.oneofs_by_name['attributes'].fields.append( + _CROSSCLUSTERTASKRESPONSE.fields_by_name['cancel_execution_attributes']) +_CROSSCLUSTERTASKRESPONSE.fields_by_name['cancel_execution_attributes'].containing_oneof = _CROSSCLUSTERTASKRESPONSE.oneofs_by_name['attributes'] +_CROSSCLUSTERTASKRESPONSE.oneofs_by_name['attributes'].fields.append( + _CROSSCLUSTERTASKRESPONSE.fields_by_name['signal_execution_attributes']) +_CROSSCLUSTERTASKRESPONSE.fields_by_name['signal_execution_attributes'].containing_oneof = _CROSSCLUSTERTASKRESPONSE.oneofs_by_name['attributes'] +_CROSSCLUSTERTASKRESPONSE.oneofs_by_name['attributes'].fields.append( + _CROSSCLUSTERTASKRESPONSE.fields_by_name['record_child_workflow_execution_complete_request_attributes']) +_CROSSCLUSTERTASKRESPONSE.fields_by_name['record_child_workflow_execution_complete_request_attributes'].containing_oneof = _CROSSCLUSTERTASKRESPONSE.oneofs_by_name['attributes'] +_CROSSCLUSTERTASKRESPONSE.oneofs_by_name['attributes'].fields.append( + _CROSSCLUSTERTASKRESPONSE.fields_by_name['apply_parent_close_policy_response_attributes']) +_CROSSCLUSTERTASKRESPONSE.fields_by_name['apply_parent_close_policy_response_attributes'].containing_oneof = _CROSSCLUSTERTASKRESPONSE.oneofs_by_name['attributes'] +_CROSSCLUSTERTASKREQUESTS.fields_by_name['task_requests'].message_type = _CROSSCLUSTERTASKREQUEST +DESCRIPTOR.message_types_by_name['CrossClusterTaskInfo'] = _CROSSCLUSTERTASKINFO +DESCRIPTOR.message_types_by_name['CrossClusterStartChildExecutionRequestAttributes'] = _CROSSCLUSTERSTARTCHILDEXECUTIONREQUESTATTRIBUTES +DESCRIPTOR.message_types_by_name['CrossClusterStartChildExecutionResponseAttributes'] = _CROSSCLUSTERSTARTCHILDEXECUTIONRESPONSEATTRIBUTES +DESCRIPTOR.message_types_by_name['CrossClusterCancelExecutionRequestAttributes'] = _CROSSCLUSTERCANCELEXECUTIONREQUESTATTRIBUTES +DESCRIPTOR.message_types_by_name['CrossClusterCancelExecutionResponseAttributes'] = _CROSSCLUSTERCANCELEXECUTIONRESPONSEATTRIBUTES +DESCRIPTOR.message_types_by_name['CrossClusterSignalExecutionRequestAttributes'] = _CROSSCLUSTERSIGNALEXECUTIONREQUESTATTRIBUTES +DESCRIPTOR.message_types_by_name['CrossClusterSignalExecutionResponseAttributes'] = _CROSSCLUSTERSIGNALEXECUTIONRESPONSEATTRIBUTES +DESCRIPTOR.message_types_by_name['CrossClusterRecordChildWorkflowExecutionCompleteRequestAttributes'] = _CROSSCLUSTERRECORDCHILDWORKFLOWEXECUTIONCOMPLETEREQUESTATTRIBUTES +DESCRIPTOR.message_types_by_name['CrossClusterRecordChildWorkflowExecutionCompleteResponseAttributes'] = _CROSSCLUSTERRECORDCHILDWORKFLOWEXECUTIONCOMPLETERESPONSEATTRIBUTES +DESCRIPTOR.message_types_by_name['ApplyParentClosePolicyAttributes'] = _APPLYPARENTCLOSEPOLICYATTRIBUTES +DESCRIPTOR.message_types_by_name['ApplyParentClosePolicyStatus'] = _APPLYPARENTCLOSEPOLICYSTATUS +DESCRIPTOR.message_types_by_name['ApplyParentClosePolicyRequest'] = _APPLYPARENTCLOSEPOLICYREQUEST +DESCRIPTOR.message_types_by_name['CrossClusterApplyParentClosePolicyRequestAttributes'] = _CROSSCLUSTERAPPLYPARENTCLOSEPOLICYREQUESTATTRIBUTES +DESCRIPTOR.message_types_by_name['ApplyParentClosePolicyResult'] = _APPLYPARENTCLOSEPOLICYRESULT +DESCRIPTOR.message_types_by_name['CrossClusterApplyParentClosePolicyResponseAttributes'] = _CROSSCLUSTERAPPLYPARENTCLOSEPOLICYRESPONSEATTRIBUTES +DESCRIPTOR.message_types_by_name['CrossClusterTaskRequest'] = _CROSSCLUSTERTASKREQUEST +DESCRIPTOR.message_types_by_name['CrossClusterTaskResponse'] = _CROSSCLUSTERTASKRESPONSE +DESCRIPTOR.message_types_by_name['CrossClusterTaskRequests'] = _CROSSCLUSTERTASKREQUESTS +DESCRIPTOR.enum_types_by_name['TaskType'] = _TASKTYPE +DESCRIPTOR.enum_types_by_name['CrossClusterTaskType'] = _CROSSCLUSTERTASKTYPE +DESCRIPTOR.enum_types_by_name['CrossClusterTaskFailedCause'] = _CROSSCLUSTERTASKFAILEDCAUSE +DESCRIPTOR.enum_types_by_name['GetTaskFailedCause'] = _GETTASKFAILEDCAUSE +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CrossClusterTaskInfo = _reflection.GeneratedProtocolMessageType('CrossClusterTaskInfo', (_message.Message,), { + 'DESCRIPTOR' : _CROSSCLUSTERTASKINFO, + '__module__' : 'uber.cadence.admin.v1.queue_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.CrossClusterTaskInfo) + }) +_sym_db.RegisterMessage(CrossClusterTaskInfo) + +CrossClusterStartChildExecutionRequestAttributes = _reflection.GeneratedProtocolMessageType('CrossClusterStartChildExecutionRequestAttributes', (_message.Message,), { + + 'PartitionConfigEntry' : _reflection.GeneratedProtocolMessageType('PartitionConfigEntry', (_message.Message,), { + 'DESCRIPTOR' : _CROSSCLUSTERSTARTCHILDEXECUTIONREQUESTATTRIBUTES_PARTITIONCONFIGENTRY, + '__module__' : 'uber.cadence.admin.v1.queue_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.CrossClusterStartChildExecutionRequestAttributes.PartitionConfigEntry) + }) + , + 'DESCRIPTOR' : _CROSSCLUSTERSTARTCHILDEXECUTIONREQUESTATTRIBUTES, + '__module__' : 'uber.cadence.admin.v1.queue_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.CrossClusterStartChildExecutionRequestAttributes) + }) +_sym_db.RegisterMessage(CrossClusterStartChildExecutionRequestAttributes) +_sym_db.RegisterMessage(CrossClusterStartChildExecutionRequestAttributes.PartitionConfigEntry) + +CrossClusterStartChildExecutionResponseAttributes = _reflection.GeneratedProtocolMessageType('CrossClusterStartChildExecutionResponseAttributes', (_message.Message,), { + 'DESCRIPTOR' : _CROSSCLUSTERSTARTCHILDEXECUTIONRESPONSEATTRIBUTES, + '__module__' : 'uber.cadence.admin.v1.queue_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.CrossClusterStartChildExecutionResponseAttributes) + }) +_sym_db.RegisterMessage(CrossClusterStartChildExecutionResponseAttributes) + +CrossClusterCancelExecutionRequestAttributes = _reflection.GeneratedProtocolMessageType('CrossClusterCancelExecutionRequestAttributes', (_message.Message,), { + 'DESCRIPTOR' : _CROSSCLUSTERCANCELEXECUTIONREQUESTATTRIBUTES, + '__module__' : 'uber.cadence.admin.v1.queue_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.CrossClusterCancelExecutionRequestAttributes) + }) +_sym_db.RegisterMessage(CrossClusterCancelExecutionRequestAttributes) + +CrossClusterCancelExecutionResponseAttributes = _reflection.GeneratedProtocolMessageType('CrossClusterCancelExecutionResponseAttributes', (_message.Message,), { + 'DESCRIPTOR' : _CROSSCLUSTERCANCELEXECUTIONRESPONSEATTRIBUTES, + '__module__' : 'uber.cadence.admin.v1.queue_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.CrossClusterCancelExecutionResponseAttributes) + }) +_sym_db.RegisterMessage(CrossClusterCancelExecutionResponseAttributes) + +CrossClusterSignalExecutionRequestAttributes = _reflection.GeneratedProtocolMessageType('CrossClusterSignalExecutionRequestAttributes', (_message.Message,), { + 'DESCRIPTOR' : _CROSSCLUSTERSIGNALEXECUTIONREQUESTATTRIBUTES, + '__module__' : 'uber.cadence.admin.v1.queue_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.CrossClusterSignalExecutionRequestAttributes) + }) +_sym_db.RegisterMessage(CrossClusterSignalExecutionRequestAttributes) + +CrossClusterSignalExecutionResponseAttributes = _reflection.GeneratedProtocolMessageType('CrossClusterSignalExecutionResponseAttributes', (_message.Message,), { + 'DESCRIPTOR' : _CROSSCLUSTERSIGNALEXECUTIONRESPONSEATTRIBUTES, + '__module__' : 'uber.cadence.admin.v1.queue_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.CrossClusterSignalExecutionResponseAttributes) + }) +_sym_db.RegisterMessage(CrossClusterSignalExecutionResponseAttributes) + +CrossClusterRecordChildWorkflowExecutionCompleteRequestAttributes = _reflection.GeneratedProtocolMessageType('CrossClusterRecordChildWorkflowExecutionCompleteRequestAttributes', (_message.Message,), { + 'DESCRIPTOR' : _CROSSCLUSTERRECORDCHILDWORKFLOWEXECUTIONCOMPLETEREQUESTATTRIBUTES, + '__module__' : 'uber.cadence.admin.v1.queue_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.CrossClusterRecordChildWorkflowExecutionCompleteRequestAttributes) + }) +_sym_db.RegisterMessage(CrossClusterRecordChildWorkflowExecutionCompleteRequestAttributes) + +CrossClusterRecordChildWorkflowExecutionCompleteResponseAttributes = _reflection.GeneratedProtocolMessageType('CrossClusterRecordChildWorkflowExecutionCompleteResponseAttributes', (_message.Message,), { + 'DESCRIPTOR' : _CROSSCLUSTERRECORDCHILDWORKFLOWEXECUTIONCOMPLETERESPONSEATTRIBUTES, + '__module__' : 'uber.cadence.admin.v1.queue_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.CrossClusterRecordChildWorkflowExecutionCompleteResponseAttributes) + }) +_sym_db.RegisterMessage(CrossClusterRecordChildWorkflowExecutionCompleteResponseAttributes) + +ApplyParentClosePolicyAttributes = _reflection.GeneratedProtocolMessageType('ApplyParentClosePolicyAttributes', (_message.Message,), { + 'DESCRIPTOR' : _APPLYPARENTCLOSEPOLICYATTRIBUTES, + '__module__' : 'uber.cadence.admin.v1.queue_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.ApplyParentClosePolicyAttributes) + }) +_sym_db.RegisterMessage(ApplyParentClosePolicyAttributes) + +ApplyParentClosePolicyStatus = _reflection.GeneratedProtocolMessageType('ApplyParentClosePolicyStatus', (_message.Message,), { + 'DESCRIPTOR' : _APPLYPARENTCLOSEPOLICYSTATUS, + '__module__' : 'uber.cadence.admin.v1.queue_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.ApplyParentClosePolicyStatus) + }) +_sym_db.RegisterMessage(ApplyParentClosePolicyStatus) + +ApplyParentClosePolicyRequest = _reflection.GeneratedProtocolMessageType('ApplyParentClosePolicyRequest', (_message.Message,), { + 'DESCRIPTOR' : _APPLYPARENTCLOSEPOLICYREQUEST, + '__module__' : 'uber.cadence.admin.v1.queue_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.ApplyParentClosePolicyRequest) + }) +_sym_db.RegisterMessage(ApplyParentClosePolicyRequest) + +CrossClusterApplyParentClosePolicyRequestAttributes = _reflection.GeneratedProtocolMessageType('CrossClusterApplyParentClosePolicyRequestAttributes', (_message.Message,), { + 'DESCRIPTOR' : _CROSSCLUSTERAPPLYPARENTCLOSEPOLICYREQUESTATTRIBUTES, + '__module__' : 'uber.cadence.admin.v1.queue_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.CrossClusterApplyParentClosePolicyRequestAttributes) + }) +_sym_db.RegisterMessage(CrossClusterApplyParentClosePolicyRequestAttributes) + +ApplyParentClosePolicyResult = _reflection.GeneratedProtocolMessageType('ApplyParentClosePolicyResult', (_message.Message,), { + 'DESCRIPTOR' : _APPLYPARENTCLOSEPOLICYRESULT, + '__module__' : 'uber.cadence.admin.v1.queue_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.ApplyParentClosePolicyResult) + }) +_sym_db.RegisterMessage(ApplyParentClosePolicyResult) + +CrossClusterApplyParentClosePolicyResponseAttributes = _reflection.GeneratedProtocolMessageType('CrossClusterApplyParentClosePolicyResponseAttributes', (_message.Message,), { + 'DESCRIPTOR' : _CROSSCLUSTERAPPLYPARENTCLOSEPOLICYRESPONSEATTRIBUTES, + '__module__' : 'uber.cadence.admin.v1.queue_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.CrossClusterApplyParentClosePolicyResponseAttributes) + }) +_sym_db.RegisterMessage(CrossClusterApplyParentClosePolicyResponseAttributes) + +CrossClusterTaskRequest = _reflection.GeneratedProtocolMessageType('CrossClusterTaskRequest', (_message.Message,), { + 'DESCRIPTOR' : _CROSSCLUSTERTASKREQUEST, + '__module__' : 'uber.cadence.admin.v1.queue_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.CrossClusterTaskRequest) + }) +_sym_db.RegisterMessage(CrossClusterTaskRequest) + +CrossClusterTaskResponse = _reflection.GeneratedProtocolMessageType('CrossClusterTaskResponse', (_message.Message,), { + 'DESCRIPTOR' : _CROSSCLUSTERTASKRESPONSE, + '__module__' : 'uber.cadence.admin.v1.queue_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.CrossClusterTaskResponse) + }) +_sym_db.RegisterMessage(CrossClusterTaskResponse) + +CrossClusterTaskRequests = _reflection.GeneratedProtocolMessageType('CrossClusterTaskRequests', (_message.Message,), { + 'DESCRIPTOR' : _CROSSCLUSTERTASKREQUESTS, + '__module__' : 'uber.cadence.admin.v1.queue_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.CrossClusterTaskRequests) + }) +_sym_db.RegisterMessage(CrossClusterTaskRequests) + + +DESCRIPTOR._options = None +_CROSSCLUSTERSTARTCHILDEXECUTIONREQUESTATTRIBUTES_PARTITIONCONFIGENTRY._options = None +# @@protoc_insertion_point(module_scope) diff --git a/cadence/shared/admin/v1/queue_pb2.pyi b/cadence/shared/admin/v1/queue_pb2.pyi new file mode 100644 index 0000000..60b4841 --- /dev/null +++ b/cadence/shared/admin/v1/queue_pb2.pyi @@ -0,0 +1,264 @@ +from google.protobuf import timestamp_pb2 as _timestamp_pb2 +from uber.cadence.api.v1 import common_pb2 as _common_pb2 +from uber.cadence.api.v1 import history_pb2 as _history_pb2 +from uber.cadence.api.v1 import workflow_pb2 as _workflow_pb2 +from google.protobuf.internal import containers as _containers +from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union + +DESCRIPTOR: _descriptor.FileDescriptor + +class TaskType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = () + TASK_TYPE_INVALID: _ClassVar[TaskType] + TASK_TYPE_TRANSFER: _ClassVar[TaskType] + TASK_TYPE_TIMER: _ClassVar[TaskType] + TASK_TYPE_REPLICATION: _ClassVar[TaskType] + TASK_TYPE_CROSS_CLUSTER: _ClassVar[TaskType] + +class CrossClusterTaskType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = () + CROSS_CLUSTER_TASK_TYPE_INVALID: _ClassVar[CrossClusterTaskType] + CROSS_CLUSTER_TASK_TYPE_START_CHILD_EXECUTION: _ClassVar[CrossClusterTaskType] + CROSS_CLUSTER_TASK_TYPE_CANCEL_EXECUTION: _ClassVar[CrossClusterTaskType] + CROSS_CLUSTER_TASK_TYPE_SIGNAL_EXECUTION: _ClassVar[CrossClusterTaskType] + CROSS_CLUSTER_TASK_TYPE_RECORD_CHILD_WORKKLOW_EXECUTION_COMPLETE: _ClassVar[CrossClusterTaskType] + CROSS_CLUSTER_TASK_TYPE_APPLY_PARENT_CLOSE_POLICY: _ClassVar[CrossClusterTaskType] + +class CrossClusterTaskFailedCause(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = () + CROSS_CLUSTER_TASK_FAILED_CAUSE_INVALID: _ClassVar[CrossClusterTaskFailedCause] + CROSS_CLUSTER_TASK_FAILED_CAUSE_DOMAIN_NOT_ACTIVE: _ClassVar[CrossClusterTaskFailedCause] + CROSS_CLUSTER_TASK_FAILED_CAUSE_DOMAIN_NOT_EXISTS: _ClassVar[CrossClusterTaskFailedCause] + CROSS_CLUSTER_TASK_FAILED_CAUSE_WORKFLOW_ALREADY_RUNNING: _ClassVar[CrossClusterTaskFailedCause] + CROSS_CLUSTER_TASK_FAILED_CAUSE_WORKFLOW_NOT_EXISTS: _ClassVar[CrossClusterTaskFailedCause] + CROSS_CLUSTER_TASK_FAILED_CAUSE_WORKFLOW_ALREADY_COMPLETED: _ClassVar[CrossClusterTaskFailedCause] + CROSS_CLUSTER_TASK_FAILED_CAUSE_UNCATEGORIZED: _ClassVar[CrossClusterTaskFailedCause] + +class GetTaskFailedCause(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = () + GET_TASK_FAILED_CAUSE_INVALID: _ClassVar[GetTaskFailedCause] + GET_TASK_FAILED_CAUSE_SERVICE_BUSY: _ClassVar[GetTaskFailedCause] + GET_TASK_FAILED_CAUSE_TIMEOUT: _ClassVar[GetTaskFailedCause] + GET_TASK_FAILED_CAUSE_SHARD_OWNERSHIP_LOST: _ClassVar[GetTaskFailedCause] + GET_TASK_FAILED_CAUSE_UNCATEGORIZED: _ClassVar[GetTaskFailedCause] +TASK_TYPE_INVALID: TaskType +TASK_TYPE_TRANSFER: TaskType +TASK_TYPE_TIMER: TaskType +TASK_TYPE_REPLICATION: TaskType +TASK_TYPE_CROSS_CLUSTER: TaskType +CROSS_CLUSTER_TASK_TYPE_INVALID: CrossClusterTaskType +CROSS_CLUSTER_TASK_TYPE_START_CHILD_EXECUTION: CrossClusterTaskType +CROSS_CLUSTER_TASK_TYPE_CANCEL_EXECUTION: CrossClusterTaskType +CROSS_CLUSTER_TASK_TYPE_SIGNAL_EXECUTION: CrossClusterTaskType +CROSS_CLUSTER_TASK_TYPE_RECORD_CHILD_WORKKLOW_EXECUTION_COMPLETE: CrossClusterTaskType +CROSS_CLUSTER_TASK_TYPE_APPLY_PARENT_CLOSE_POLICY: CrossClusterTaskType +CROSS_CLUSTER_TASK_FAILED_CAUSE_INVALID: CrossClusterTaskFailedCause +CROSS_CLUSTER_TASK_FAILED_CAUSE_DOMAIN_NOT_ACTIVE: CrossClusterTaskFailedCause +CROSS_CLUSTER_TASK_FAILED_CAUSE_DOMAIN_NOT_EXISTS: CrossClusterTaskFailedCause +CROSS_CLUSTER_TASK_FAILED_CAUSE_WORKFLOW_ALREADY_RUNNING: CrossClusterTaskFailedCause +CROSS_CLUSTER_TASK_FAILED_CAUSE_WORKFLOW_NOT_EXISTS: CrossClusterTaskFailedCause +CROSS_CLUSTER_TASK_FAILED_CAUSE_WORKFLOW_ALREADY_COMPLETED: CrossClusterTaskFailedCause +CROSS_CLUSTER_TASK_FAILED_CAUSE_UNCATEGORIZED: CrossClusterTaskFailedCause +GET_TASK_FAILED_CAUSE_INVALID: GetTaskFailedCause +GET_TASK_FAILED_CAUSE_SERVICE_BUSY: GetTaskFailedCause +GET_TASK_FAILED_CAUSE_TIMEOUT: GetTaskFailedCause +GET_TASK_FAILED_CAUSE_SHARD_OWNERSHIP_LOST: GetTaskFailedCause +GET_TASK_FAILED_CAUSE_UNCATEGORIZED: GetTaskFailedCause + +class CrossClusterTaskInfo(_message.Message): + __slots__ = ("domain_id", "workflow_execution", "task_type", "task_state", "task_id", "visibility_timestamp") + DOMAIN_ID_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + TASK_TYPE_FIELD_NUMBER: _ClassVar[int] + TASK_STATE_FIELD_NUMBER: _ClassVar[int] + TASK_ID_FIELD_NUMBER: _ClassVar[int] + VISIBILITY_TIMESTAMP_FIELD_NUMBER: _ClassVar[int] + domain_id: str + workflow_execution: _common_pb2.WorkflowExecution + task_type: CrossClusterTaskType + task_state: int + task_id: int + visibility_timestamp: _timestamp_pb2.Timestamp + def __init__(self, domain_id: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., task_type: _Optional[_Union[CrossClusterTaskType, str]] = ..., task_state: _Optional[int] = ..., task_id: _Optional[int] = ..., visibility_timestamp: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ... + +class CrossClusterStartChildExecutionRequestAttributes(_message.Message): + __slots__ = ("target_domain_id", "request_id", "initiated_event_id", "initiated_event_attributes", "target_run_id", "partition_config") + class PartitionConfigEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: str + def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ... + TARGET_DOMAIN_ID_FIELD_NUMBER: _ClassVar[int] + REQUEST_ID_FIELD_NUMBER: _ClassVar[int] + INITIATED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + INITIATED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + TARGET_RUN_ID_FIELD_NUMBER: _ClassVar[int] + PARTITION_CONFIG_FIELD_NUMBER: _ClassVar[int] + target_domain_id: str + request_id: str + initiated_event_id: int + initiated_event_attributes: _history_pb2.StartChildWorkflowExecutionInitiatedEventAttributes + target_run_id: str + partition_config: _containers.ScalarMap[str, str] + def __init__(self, target_domain_id: _Optional[str] = ..., request_id: _Optional[str] = ..., initiated_event_id: _Optional[int] = ..., initiated_event_attributes: _Optional[_Union[_history_pb2.StartChildWorkflowExecutionInitiatedEventAttributes, _Mapping]] = ..., target_run_id: _Optional[str] = ..., partition_config: _Optional[_Mapping[str, str]] = ...) -> None: ... + +class CrossClusterStartChildExecutionResponseAttributes(_message.Message): + __slots__ = ("run_id",) + RUN_ID_FIELD_NUMBER: _ClassVar[int] + run_id: str + def __init__(self, run_id: _Optional[str] = ...) -> None: ... + +class CrossClusterCancelExecutionRequestAttributes(_message.Message): + __slots__ = ("target_domain_id", "target_workflow_execution", "request_id", "initiated_event_id", "child_workflow_only") + TARGET_DOMAIN_ID_FIELD_NUMBER: _ClassVar[int] + TARGET_WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + REQUEST_ID_FIELD_NUMBER: _ClassVar[int] + INITIATED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + CHILD_WORKFLOW_ONLY_FIELD_NUMBER: _ClassVar[int] + target_domain_id: str + target_workflow_execution: _common_pb2.WorkflowExecution + request_id: str + initiated_event_id: int + child_workflow_only: bool + def __init__(self, target_domain_id: _Optional[str] = ..., target_workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., request_id: _Optional[str] = ..., initiated_event_id: _Optional[int] = ..., child_workflow_only: bool = ...) -> None: ... + +class CrossClusterCancelExecutionResponseAttributes(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + +class CrossClusterSignalExecutionRequestAttributes(_message.Message): + __slots__ = ("target_domain_id", "target_workflow_execution", "request_id", "initiated_event_id", "child_workflow_only", "signal_name", "signal_input", "control") + TARGET_DOMAIN_ID_FIELD_NUMBER: _ClassVar[int] + TARGET_WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + REQUEST_ID_FIELD_NUMBER: _ClassVar[int] + INITIATED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + CHILD_WORKFLOW_ONLY_FIELD_NUMBER: _ClassVar[int] + SIGNAL_NAME_FIELD_NUMBER: _ClassVar[int] + SIGNAL_INPUT_FIELD_NUMBER: _ClassVar[int] + CONTROL_FIELD_NUMBER: _ClassVar[int] + target_domain_id: str + target_workflow_execution: _common_pb2.WorkflowExecution + request_id: str + initiated_event_id: int + child_workflow_only: bool + signal_name: str + signal_input: _common_pb2.Payload + control: bytes + def __init__(self, target_domain_id: _Optional[str] = ..., target_workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., request_id: _Optional[str] = ..., initiated_event_id: _Optional[int] = ..., child_workflow_only: bool = ..., signal_name: _Optional[str] = ..., signal_input: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., control: _Optional[bytes] = ...) -> None: ... + +class CrossClusterSignalExecutionResponseAttributes(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + +class CrossClusterRecordChildWorkflowExecutionCompleteRequestAttributes(_message.Message): + __slots__ = ("target_domain_id", "target_workflow_execution", "initiated_event_id", "completion_event") + TARGET_DOMAIN_ID_FIELD_NUMBER: _ClassVar[int] + TARGET_WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + INITIATED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + COMPLETION_EVENT_FIELD_NUMBER: _ClassVar[int] + target_domain_id: str + target_workflow_execution: _common_pb2.WorkflowExecution + initiated_event_id: int + completion_event: _history_pb2.HistoryEvent + def __init__(self, target_domain_id: _Optional[str] = ..., target_workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., initiated_event_id: _Optional[int] = ..., completion_event: _Optional[_Union[_history_pb2.HistoryEvent, _Mapping]] = ...) -> None: ... + +class CrossClusterRecordChildWorkflowExecutionCompleteResponseAttributes(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + +class ApplyParentClosePolicyAttributes(_message.Message): + __slots__ = ("child_domain_id", "child_workflow_id", "child_run_id", "parent_close_policy") + CHILD_DOMAIN_ID_FIELD_NUMBER: _ClassVar[int] + CHILD_WORKFLOW_ID_FIELD_NUMBER: _ClassVar[int] + CHILD_RUN_ID_FIELD_NUMBER: _ClassVar[int] + PARENT_CLOSE_POLICY_FIELD_NUMBER: _ClassVar[int] + child_domain_id: str + child_workflow_id: str + child_run_id: str + parent_close_policy: _workflow_pb2.ParentClosePolicy + def __init__(self, child_domain_id: _Optional[str] = ..., child_workflow_id: _Optional[str] = ..., child_run_id: _Optional[str] = ..., parent_close_policy: _Optional[_Union[_workflow_pb2.ParentClosePolicy, str]] = ...) -> None: ... + +class ApplyParentClosePolicyStatus(_message.Message): + __slots__ = ("completed", "failed_cause") + COMPLETED_FIELD_NUMBER: _ClassVar[int] + FAILED_CAUSE_FIELD_NUMBER: _ClassVar[int] + completed: bool + failed_cause: CrossClusterTaskFailedCause + def __init__(self, completed: bool = ..., failed_cause: _Optional[_Union[CrossClusterTaskFailedCause, str]] = ...) -> None: ... + +class ApplyParentClosePolicyRequest(_message.Message): + __slots__ = ("child", "status") + CHILD_FIELD_NUMBER: _ClassVar[int] + STATUS_FIELD_NUMBER: _ClassVar[int] + child: ApplyParentClosePolicyAttributes + status: ApplyParentClosePolicyStatus + def __init__(self, child: _Optional[_Union[ApplyParentClosePolicyAttributes, _Mapping]] = ..., status: _Optional[_Union[ApplyParentClosePolicyStatus, _Mapping]] = ...) -> None: ... + +class CrossClusterApplyParentClosePolicyRequestAttributes(_message.Message): + __slots__ = ("children",) + CHILDREN_FIELD_NUMBER: _ClassVar[int] + children: _containers.RepeatedCompositeFieldContainer[ApplyParentClosePolicyRequest] + def __init__(self, children: _Optional[_Iterable[_Union[ApplyParentClosePolicyRequest, _Mapping]]] = ...) -> None: ... + +class ApplyParentClosePolicyResult(_message.Message): + __slots__ = ("child", "failed_cause") + CHILD_FIELD_NUMBER: _ClassVar[int] + FAILED_CAUSE_FIELD_NUMBER: _ClassVar[int] + child: ApplyParentClosePolicyAttributes + failed_cause: CrossClusterTaskFailedCause + def __init__(self, child: _Optional[_Union[ApplyParentClosePolicyAttributes, _Mapping]] = ..., failed_cause: _Optional[_Union[CrossClusterTaskFailedCause, str]] = ...) -> None: ... + +class CrossClusterApplyParentClosePolicyResponseAttributes(_message.Message): + __slots__ = ("children_status",) + CHILDREN_STATUS_FIELD_NUMBER: _ClassVar[int] + children_status: _containers.RepeatedCompositeFieldContainer[ApplyParentClosePolicyResult] + def __init__(self, children_status: _Optional[_Iterable[_Union[ApplyParentClosePolicyResult, _Mapping]]] = ...) -> None: ... + +class CrossClusterTaskRequest(_message.Message): + __slots__ = ("task_info", "start_child_execution_attributes", "cancel_execution_attributes", "signal_execution_attributes", "record_child_workflow_execution_complete_request_attributes", "apply_parent_close_policy_request_attributes") + TASK_INFO_FIELD_NUMBER: _ClassVar[int] + START_CHILD_EXECUTION_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + CANCEL_EXECUTION_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + SIGNAL_EXECUTION_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + RECORD_CHILD_WORKFLOW_EXECUTION_COMPLETE_REQUEST_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + APPLY_PARENT_CLOSE_POLICY_REQUEST_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + task_info: CrossClusterTaskInfo + start_child_execution_attributes: CrossClusterStartChildExecutionRequestAttributes + cancel_execution_attributes: CrossClusterCancelExecutionRequestAttributes + signal_execution_attributes: CrossClusterSignalExecutionRequestAttributes + record_child_workflow_execution_complete_request_attributes: CrossClusterRecordChildWorkflowExecutionCompleteRequestAttributes + apply_parent_close_policy_request_attributes: CrossClusterApplyParentClosePolicyRequestAttributes + def __init__(self, task_info: _Optional[_Union[CrossClusterTaskInfo, _Mapping]] = ..., start_child_execution_attributes: _Optional[_Union[CrossClusterStartChildExecutionRequestAttributes, _Mapping]] = ..., cancel_execution_attributes: _Optional[_Union[CrossClusterCancelExecutionRequestAttributes, _Mapping]] = ..., signal_execution_attributes: _Optional[_Union[CrossClusterSignalExecutionRequestAttributes, _Mapping]] = ..., record_child_workflow_execution_complete_request_attributes: _Optional[_Union[CrossClusterRecordChildWorkflowExecutionCompleteRequestAttributes, _Mapping]] = ..., apply_parent_close_policy_request_attributes: _Optional[_Union[CrossClusterApplyParentClosePolicyRequestAttributes, _Mapping]] = ...) -> None: ... + +class CrossClusterTaskResponse(_message.Message): + __slots__ = ("task_id", "task_type", "task_state", "failed_cause", "start_child_execution_attributes", "cancel_execution_attributes", "signal_execution_attributes", "record_child_workflow_execution_complete_request_attributes", "apply_parent_close_policy_response_attributes") + TASK_ID_FIELD_NUMBER: _ClassVar[int] + TASK_TYPE_FIELD_NUMBER: _ClassVar[int] + TASK_STATE_FIELD_NUMBER: _ClassVar[int] + FAILED_CAUSE_FIELD_NUMBER: _ClassVar[int] + START_CHILD_EXECUTION_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + CANCEL_EXECUTION_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + SIGNAL_EXECUTION_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + RECORD_CHILD_WORKFLOW_EXECUTION_COMPLETE_REQUEST_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + APPLY_PARENT_CLOSE_POLICY_RESPONSE_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + task_id: int + task_type: CrossClusterTaskType + task_state: int + failed_cause: CrossClusterTaskFailedCause + start_child_execution_attributes: CrossClusterStartChildExecutionResponseAttributes + cancel_execution_attributes: CrossClusterCancelExecutionResponseAttributes + signal_execution_attributes: CrossClusterSignalExecutionResponseAttributes + record_child_workflow_execution_complete_request_attributes: CrossClusterRecordChildWorkflowExecutionCompleteResponseAttributes + apply_parent_close_policy_response_attributes: CrossClusterApplyParentClosePolicyResponseAttributes + def __init__(self, task_id: _Optional[int] = ..., task_type: _Optional[_Union[CrossClusterTaskType, str]] = ..., task_state: _Optional[int] = ..., failed_cause: _Optional[_Union[CrossClusterTaskFailedCause, str]] = ..., start_child_execution_attributes: _Optional[_Union[CrossClusterStartChildExecutionResponseAttributes, _Mapping]] = ..., cancel_execution_attributes: _Optional[_Union[CrossClusterCancelExecutionResponseAttributes, _Mapping]] = ..., signal_execution_attributes: _Optional[_Union[CrossClusterSignalExecutionResponseAttributes, _Mapping]] = ..., record_child_workflow_execution_complete_request_attributes: _Optional[_Union[CrossClusterRecordChildWorkflowExecutionCompleteResponseAttributes, _Mapping]] = ..., apply_parent_close_policy_response_attributes: _Optional[_Union[CrossClusterApplyParentClosePolicyResponseAttributes, _Mapping]] = ...) -> None: ... + +class CrossClusterTaskRequests(_message.Message): + __slots__ = ("task_requests",) + TASK_REQUESTS_FIELD_NUMBER: _ClassVar[int] + task_requests: _containers.RepeatedCompositeFieldContainer[CrossClusterTaskRequest] + def __init__(self, task_requests: _Optional[_Iterable[_Union[CrossClusterTaskRequest, _Mapping]]] = ...) -> None: ... diff --git a/cadence/shared/admin/v1/replication_pb2.py b/cadence/shared/admin/v1/replication_pb2.py new file mode 100644 index 0000000..38bc516 --- /dev/null +++ b/cadence/shared/admin/v1/replication_pb2.py @@ -0,0 +1,1041 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: uber/cadence/admin/v1/replication.proto +"""Generated protocol buffer code.""" +from google.protobuf.internal import enum_type_wrapper +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from uber.cadence.api.v1 import common_pb2 as uber_dot_cadence_dot_api_dot_v1_dot_common__pb2 +from uber.cadence.api.v1 import domain_pb2 as uber_dot_cadence_dot_api_dot_v1_dot_domain__pb2 +from uber.cadence.admin.v1 import history_pb2 as uber_dot_cadence_dot_admin_dot_v1_dot_history__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='uber/cadence/admin/v1/replication.proto', + package='uber.cadence.admin.v1', + syntax='proto3', + serialized_options=b'Z5github.com/uber/cadence-idl/go/proto/admin/v1;adminv1', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n\'uber/cadence/admin/v1/replication.proto\x12\x15uber.cadence.admin.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a uber/cadence/api/v1/common.proto\x1a uber/cadence/api/v1/domain.proto\x1a#uber/cadence/admin/v1/history.proto\"\xd0\x01\n\x13ReplicationMessages\x12\x41\n\x11replication_tasks\x18\x01 \x03(\x0b\x32&.uber.cadence.admin.v1.ReplicationTask\x12!\n\x19last_retrieved_message_id\x18\x02 \x01(\x03\x12\x10\n\x08has_more\x18\x03 \x01(\x08\x12\x41\n\x11sync_shard_status\x18\x04 \x01(\x0b\x32&.uber.cadence.admin.v1.SyncShardStatus\"\xe4\x04\n\x0fReplicationTask\x12=\n\ttask_type\x18\x01 \x01(\x0e\x32*.uber.cadence.admin.v1.ReplicationTaskType\x12\x16\n\x0esource_task_id\x18\x02 \x01(\x03\x12\x31\n\rcreation_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12M\n\x16\x64omain_task_attributes\x18\x04 \x01(\x0b\x32+.uber.cadence.admin.v1.DomainTaskAttributesH\x00\x12\x61\n!sync_shard_status_task_attributes\x18\x05 \x01(\x0b\x32\x34.uber.cadence.admin.v1.SyncShardStatusTaskAttributesH\x00\x12Z\n\x1dsync_activity_task_attributes\x18\x06 \x01(\x0b\x32\x31.uber.cadence.admin.v1.SyncActivityTaskAttributesH\x00\x12T\n\x1ahistory_task_v2_attributes\x18\x07 \x01(\x0b\x32..uber.cadence.admin.v1.HistoryTaskV2AttributesH\x00\x12U\n\x1a\x66\x61ilover_marker_attributes\x18\x08 \x01(\x0b\x32/.uber.cadence.admin.v1.FailoverMarkerAttributesH\x00\x42\x0c\n\nattributes\"\xe6\x01\n\x14\x44omainTaskAttributes\x12@\n\x10\x64omain_operation\x18\x01 \x01(\x0e\x32&.uber.cadence.admin.v1.DomainOperation\x12\n\n\x02id\x18\x02 \x01(\t\x12+\n\x06\x64omain\x18\x03 \x01(\x0b\x32\x1b.uber.cadence.api.v1.Domain\x12\x16\n\x0e\x63onfig_version\x18\x04 \x01(\x03\x12\x18\n\x10\x66\x61ilover_version\x18\x05 \x01(\x03\x12!\n\x19previous_failover_version\x18\x06 \x01(\x03\"x\n\x1dSyncShardStatusTaskAttributes\x12\x16\n\x0esource_cluster\x18\x01 \x01(\t\x12\x10\n\x08shard_id\x18\x02 \x01(\x05\x12-\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x9f\x04\n\x1aSyncActivityTaskAttributes\x12\x11\n\tdomain_id\x18\x01 \x01(\t\x12\x42\n\x12workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x0f\n\x07version\x18\x03 \x01(\x03\x12\x14\n\x0cscheduled_id\x18\x04 \x01(\x03\x12\x32\n\x0escheduled_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nstarted_id\x18\x06 \x01(\x03\x12\x30\n\x0cstarted_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x13last_heartbeat_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12-\n\x07\x64\x65tails\x18\t \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12\x0f\n\x07\x61ttempt\x18\n \x01(\x05\x12\x32\n\x0clast_failure\x18\x0b \x01(\x0b\x32\x1c.uber.cadence.api.v1.Failure\x12\x1c\n\x14last_worker_identity\x18\x0c \x01(\t\x12>\n\x0fversion_history\x18\r \x01(\x0b\x32%.uber.cadence.admin.v1.VersionHistory\"\xb1\x02\n\x17HistoryTaskV2Attributes\x12\x0f\n\x07task_id\x18\x01 \x01(\x03\x12\x11\n\tdomain_id\x18\x02 \x01(\t\x12\x42\n\x12workflow_execution\x18\x03 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12H\n\x15version_history_items\x18\x04 \x03(\x0b\x32).uber.cadence.admin.v1.VersionHistoryItem\x12-\n\x06\x65vents\x18\x05 \x01(\x0b\x32\x1d.uber.cadence.api.v1.DataBlob\x12\x35\n\x0enew_run_events\x18\x06 \x01(\x0b\x32\x1d.uber.cadence.api.v1.DataBlob\"z\n\x18\x46\x61iloverMarkerAttributes\x12\x11\n\tdomain_id\x18\x01 \x01(\t\x12\x18\n\x10\x66\x61ilover_version\x18\x02 \x01(\x03\x12\x31\n\rcreation_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"r\n\x13\x46\x61iloverMarkerToken\x12\x11\n\tshard_ids\x18\x01 \x03(\x05\x12H\n\x0f\x66\x61ilover_marker\x18\x02 \x01(\x0b\x32/.uber.cadence.admin.v1.FailoverMarkerAttributes\"\xe6\x01\n\x13ReplicationTaskInfo\x12\x11\n\tdomain_id\x18\x01 \x01(\t\x12\x42\n\x12workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x11\n\ttask_type\x18\x03 \x01(\x05\x12\x0f\n\x07task_id\x18\x04 \x01(\x03\x12\x0f\n\x07version\x18\x05 \x01(\x03\x12\x16\n\x0e\x66irst_event_id\x18\x06 \x01(\x03\x12\x15\n\rnext_event_id\x18\x07 \x01(\x03\x12\x14\n\x0cscheduled_id\x18\x08 \x01(\x03\"j\n\x10ReplicationToken\x12\x10\n\x08shard_id\x18\x01 \x01(\x05\x12!\n\x19last_retrieved_message_id\x18\x02 \x01(\x03\x12!\n\x19last_processed_message_id\x18\x03 \x01(\x03\"@\n\x0fSyncShardStatus\x12-\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"O\n\x14HistoryDLQCountEntry\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12\x10\n\x08shard_id\x18\x02 \x01(\x05\x12\x16\n\x0esource_cluster\x18\x03 \x01(\t*\xd0\x02\n\x13ReplicationTaskType\x12!\n\x1dREPLICATION_TASK_TYPE_INVALID\x10\x00\x12 \n\x1cREPLICATION_TASK_TYPE_DOMAIN\x10\x01\x12!\n\x1dREPLICATION_TASK_TYPE_HISTORY\x10\x02\x12+\n\'REPLICATION_TASK_TYPE_SYNC_SHARD_STATUS\x10\x03\x12\'\n#REPLICATION_TASK_TYPE_SYNC_ACTIVITY\x10\x04\x12*\n&REPLICATION_TASK_TYPE_HISTORY_METADATA\x10\x05\x12$\n REPLICATION_TASK_TYPE_HISTORY_V2\x10\x06\x12)\n%REPLICATION_TASK_TYPE_FAILOVER_MARKER\x10\x07*\x86\x01\n\x0f\x44omainOperation\x12\x1c\n\x18\x44OMAIN_OPERATION_INVALID\x10\x00\x12\x1b\n\x17\x44OMAIN_OPERATION_CREATE\x10\x01\x12\x1b\n\x17\x44OMAIN_OPERATION_UPDATE\x10\x02\x12\x1b\n\x17\x44OMAIN_OPERATION_DELETE\x10\x03*N\n\x07\x44LQType\x12\x14\n\x10\x44LQ_TYPE_INVALID\x10\x00\x12\x18\n\x14\x44LQ_TYPE_REPLICATION\x10\x01\x12\x13\n\x0f\x44LQ_TYPE_DOMAIN\x10\x02\x42\x37Z5github.com/uber/cadence-idl/go/proto/admin/v1;adminv1b\x06proto3' + , + dependencies=[google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,uber_dot_cadence_dot_api_dot_v1_dot_common__pb2.DESCRIPTOR,uber_dot_cadence_dot_api_dot_v1_dot_domain__pb2.DESCRIPTOR,uber_dot_cadence_dot_admin_dot_v1_dot_history__pb2.DESCRIPTOR,]) + +_REPLICATIONTASKTYPE = _descriptor.EnumDescriptor( + name='ReplicationTaskType', + full_name='uber.cadence.admin.v1.ReplicationTaskType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='REPLICATION_TASK_TYPE_INVALID', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REPLICATION_TASK_TYPE_DOMAIN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REPLICATION_TASK_TYPE_HISTORY', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REPLICATION_TASK_TYPE_SYNC_SHARD_STATUS', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REPLICATION_TASK_TYPE_SYNC_ACTIVITY', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REPLICATION_TASK_TYPE_HISTORY_METADATA', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REPLICATION_TASK_TYPE_HISTORY_V2', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REPLICATION_TASK_TYPE_FAILOVER_MARKER', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=2968, + serialized_end=3304, +) +_sym_db.RegisterEnumDescriptor(_REPLICATIONTASKTYPE) + +ReplicationTaskType = enum_type_wrapper.EnumTypeWrapper(_REPLICATIONTASKTYPE) +_DOMAINOPERATION = _descriptor.EnumDescriptor( + name='DomainOperation', + full_name='uber.cadence.admin.v1.DomainOperation', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='DOMAIN_OPERATION_INVALID', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DOMAIN_OPERATION_CREATE', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DOMAIN_OPERATION_UPDATE', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DOMAIN_OPERATION_DELETE', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=3307, + serialized_end=3441, +) +_sym_db.RegisterEnumDescriptor(_DOMAINOPERATION) + +DomainOperation = enum_type_wrapper.EnumTypeWrapper(_DOMAINOPERATION) +_DLQTYPE = _descriptor.EnumDescriptor( + name='DLQType', + full_name='uber.cadence.admin.v1.DLQType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='DLQ_TYPE_INVALID', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DLQ_TYPE_REPLICATION', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DLQ_TYPE_DOMAIN', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=3443, + serialized_end=3521, +) +_sym_db.RegisterEnumDescriptor(_DLQTYPE) + +DLQType = enum_type_wrapper.EnumTypeWrapper(_DLQTYPE) +REPLICATION_TASK_TYPE_INVALID = 0 +REPLICATION_TASK_TYPE_DOMAIN = 1 +REPLICATION_TASK_TYPE_HISTORY = 2 +REPLICATION_TASK_TYPE_SYNC_SHARD_STATUS = 3 +REPLICATION_TASK_TYPE_SYNC_ACTIVITY = 4 +REPLICATION_TASK_TYPE_HISTORY_METADATA = 5 +REPLICATION_TASK_TYPE_HISTORY_V2 = 6 +REPLICATION_TASK_TYPE_FAILOVER_MARKER = 7 +DOMAIN_OPERATION_INVALID = 0 +DOMAIN_OPERATION_CREATE = 1 +DOMAIN_OPERATION_UPDATE = 2 +DOMAIN_OPERATION_DELETE = 3 +DLQ_TYPE_INVALID = 0 +DLQ_TYPE_REPLICATION = 1 +DLQ_TYPE_DOMAIN = 2 + + + +_REPLICATIONMESSAGES = _descriptor.Descriptor( + name='ReplicationMessages', + full_name='uber.cadence.admin.v1.ReplicationMessages', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='replication_tasks', full_name='uber.cadence.admin.v1.ReplicationMessages.replication_tasks', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='last_retrieved_message_id', full_name='uber.cadence.admin.v1.ReplicationMessages.last_retrieved_message_id', index=1, + number=2, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='has_more', full_name='uber.cadence.admin.v1.ReplicationMessages.has_more', index=2, + number=3, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='sync_shard_status', full_name='uber.cadence.admin.v1.ReplicationMessages.sync_shard_status', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=205, + serialized_end=413, +) + + +_REPLICATIONTASK = _descriptor.Descriptor( + name='ReplicationTask', + full_name='uber.cadence.admin.v1.ReplicationTask', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='task_type', full_name='uber.cadence.admin.v1.ReplicationTask.task_type', index=0, + number=1, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='source_task_id', full_name='uber.cadence.admin.v1.ReplicationTask.source_task_id', index=1, + number=2, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='creation_time', full_name='uber.cadence.admin.v1.ReplicationTask.creation_time', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='domain_task_attributes', full_name='uber.cadence.admin.v1.ReplicationTask.domain_task_attributes', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='sync_shard_status_task_attributes', full_name='uber.cadence.admin.v1.ReplicationTask.sync_shard_status_task_attributes', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='sync_activity_task_attributes', full_name='uber.cadence.admin.v1.ReplicationTask.sync_activity_task_attributes', index=5, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='history_task_v2_attributes', full_name='uber.cadence.admin.v1.ReplicationTask.history_task_v2_attributes', index=6, + number=7, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='failover_marker_attributes', full_name='uber.cadence.admin.v1.ReplicationTask.failover_marker_attributes', index=7, + number=8, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='attributes', full_name='uber.cadence.admin.v1.ReplicationTask.attributes', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=416, + serialized_end=1028, +) + + +_DOMAINTASKATTRIBUTES = _descriptor.Descriptor( + name='DomainTaskAttributes', + full_name='uber.cadence.admin.v1.DomainTaskAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain_operation', full_name='uber.cadence.admin.v1.DomainTaskAttributes.domain_operation', index=0, + number=1, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='id', full_name='uber.cadence.admin.v1.DomainTaskAttributes.id', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.admin.v1.DomainTaskAttributes.domain', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='config_version', full_name='uber.cadence.admin.v1.DomainTaskAttributes.config_version', index=3, + number=4, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='failover_version', full_name='uber.cadence.admin.v1.DomainTaskAttributes.failover_version', index=4, + number=5, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='previous_failover_version', full_name='uber.cadence.admin.v1.DomainTaskAttributes.previous_failover_version', index=5, + number=6, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1031, + serialized_end=1261, +) + + +_SYNCSHARDSTATUSTASKATTRIBUTES = _descriptor.Descriptor( + name='SyncShardStatusTaskAttributes', + full_name='uber.cadence.admin.v1.SyncShardStatusTaskAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='source_cluster', full_name='uber.cadence.admin.v1.SyncShardStatusTaskAttributes.source_cluster', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='shard_id', full_name='uber.cadence.admin.v1.SyncShardStatusTaskAttributes.shard_id', index=1, + number=2, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='timestamp', full_name='uber.cadence.admin.v1.SyncShardStatusTaskAttributes.timestamp', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1263, + serialized_end=1383, +) + + +_SYNCACTIVITYTASKATTRIBUTES = _descriptor.Descriptor( + name='SyncActivityTaskAttributes', + full_name='uber.cadence.admin.v1.SyncActivityTaskAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain_id', full_name='uber.cadence.admin.v1.SyncActivityTaskAttributes.domain_id', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution', full_name='uber.cadence.admin.v1.SyncActivityTaskAttributes.workflow_execution', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='version', full_name='uber.cadence.admin.v1.SyncActivityTaskAttributes.version', index=2, + number=3, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='scheduled_id', full_name='uber.cadence.admin.v1.SyncActivityTaskAttributes.scheduled_id', index=3, + number=4, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='scheduled_time', full_name='uber.cadence.admin.v1.SyncActivityTaskAttributes.scheduled_time', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='started_id', full_name='uber.cadence.admin.v1.SyncActivityTaskAttributes.started_id', index=5, + number=6, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='started_time', full_name='uber.cadence.admin.v1.SyncActivityTaskAttributes.started_time', index=6, + number=7, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='last_heartbeat_time', full_name='uber.cadence.admin.v1.SyncActivityTaskAttributes.last_heartbeat_time', index=7, + number=8, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='details', full_name='uber.cadence.admin.v1.SyncActivityTaskAttributes.details', index=8, + number=9, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='attempt', full_name='uber.cadence.admin.v1.SyncActivityTaskAttributes.attempt', index=9, + number=10, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='last_failure', full_name='uber.cadence.admin.v1.SyncActivityTaskAttributes.last_failure', index=10, + number=11, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='last_worker_identity', full_name='uber.cadence.admin.v1.SyncActivityTaskAttributes.last_worker_identity', index=11, + number=12, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='version_history', full_name='uber.cadence.admin.v1.SyncActivityTaskAttributes.version_history', index=12, + number=13, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1386, + serialized_end=1929, +) + + +_HISTORYTASKV2ATTRIBUTES = _descriptor.Descriptor( + name='HistoryTaskV2Attributes', + full_name='uber.cadence.admin.v1.HistoryTaskV2Attributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='task_id', full_name='uber.cadence.admin.v1.HistoryTaskV2Attributes.task_id', index=0, + number=1, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='domain_id', full_name='uber.cadence.admin.v1.HistoryTaskV2Attributes.domain_id', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution', full_name='uber.cadence.admin.v1.HistoryTaskV2Attributes.workflow_execution', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='version_history_items', full_name='uber.cadence.admin.v1.HistoryTaskV2Attributes.version_history_items', index=3, + number=4, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='events', full_name='uber.cadence.admin.v1.HistoryTaskV2Attributes.events', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='new_run_events', full_name='uber.cadence.admin.v1.HistoryTaskV2Attributes.new_run_events', index=5, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1932, + serialized_end=2237, +) + + +_FAILOVERMARKERATTRIBUTES = _descriptor.Descriptor( + name='FailoverMarkerAttributes', + full_name='uber.cadence.admin.v1.FailoverMarkerAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain_id', full_name='uber.cadence.admin.v1.FailoverMarkerAttributes.domain_id', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='failover_version', full_name='uber.cadence.admin.v1.FailoverMarkerAttributes.failover_version', index=1, + number=2, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='creation_time', full_name='uber.cadence.admin.v1.FailoverMarkerAttributes.creation_time', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2239, + serialized_end=2361, +) + + +_FAILOVERMARKERTOKEN = _descriptor.Descriptor( + name='FailoverMarkerToken', + full_name='uber.cadence.admin.v1.FailoverMarkerToken', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='shard_ids', full_name='uber.cadence.admin.v1.FailoverMarkerToken.shard_ids', index=0, + number=1, type=5, cpp_type=1, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='failover_marker', full_name='uber.cadence.admin.v1.FailoverMarkerToken.failover_marker', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2363, + serialized_end=2477, +) + + +_REPLICATIONTASKINFO = _descriptor.Descriptor( + name='ReplicationTaskInfo', + full_name='uber.cadence.admin.v1.ReplicationTaskInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain_id', full_name='uber.cadence.admin.v1.ReplicationTaskInfo.domain_id', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution', full_name='uber.cadence.admin.v1.ReplicationTaskInfo.workflow_execution', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='task_type', full_name='uber.cadence.admin.v1.ReplicationTaskInfo.task_type', index=2, + number=3, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='task_id', full_name='uber.cadence.admin.v1.ReplicationTaskInfo.task_id', index=3, + number=4, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='version', full_name='uber.cadence.admin.v1.ReplicationTaskInfo.version', index=4, + number=5, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='first_event_id', full_name='uber.cadence.admin.v1.ReplicationTaskInfo.first_event_id', index=5, + number=6, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='next_event_id', full_name='uber.cadence.admin.v1.ReplicationTaskInfo.next_event_id', index=6, + number=7, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='scheduled_id', full_name='uber.cadence.admin.v1.ReplicationTaskInfo.scheduled_id', index=7, + number=8, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2480, + serialized_end=2710, +) + + +_REPLICATIONTOKEN = _descriptor.Descriptor( + name='ReplicationToken', + full_name='uber.cadence.admin.v1.ReplicationToken', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='shard_id', full_name='uber.cadence.admin.v1.ReplicationToken.shard_id', index=0, + number=1, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='last_retrieved_message_id', full_name='uber.cadence.admin.v1.ReplicationToken.last_retrieved_message_id', index=1, + number=2, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='last_processed_message_id', full_name='uber.cadence.admin.v1.ReplicationToken.last_processed_message_id', index=2, + number=3, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2712, + serialized_end=2818, +) + + +_SYNCSHARDSTATUS = _descriptor.Descriptor( + name='SyncShardStatus', + full_name='uber.cadence.admin.v1.SyncShardStatus', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='timestamp', full_name='uber.cadence.admin.v1.SyncShardStatus.timestamp', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2820, + serialized_end=2884, +) + + +_HISTORYDLQCOUNTENTRY = _descriptor.Descriptor( + name='HistoryDLQCountEntry', + full_name='uber.cadence.admin.v1.HistoryDLQCountEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='count', full_name='uber.cadence.admin.v1.HistoryDLQCountEntry.count', index=0, + number=1, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='shard_id', full_name='uber.cadence.admin.v1.HistoryDLQCountEntry.shard_id', index=1, + number=2, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='source_cluster', full_name='uber.cadence.admin.v1.HistoryDLQCountEntry.source_cluster', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2886, + serialized_end=2965, +) + +_REPLICATIONMESSAGES.fields_by_name['replication_tasks'].message_type = _REPLICATIONTASK +_REPLICATIONMESSAGES.fields_by_name['sync_shard_status'].message_type = _SYNCSHARDSTATUS +_REPLICATIONTASK.fields_by_name['task_type'].enum_type = _REPLICATIONTASKTYPE +_REPLICATIONTASK.fields_by_name['creation_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_REPLICATIONTASK.fields_by_name['domain_task_attributes'].message_type = _DOMAINTASKATTRIBUTES +_REPLICATIONTASK.fields_by_name['sync_shard_status_task_attributes'].message_type = _SYNCSHARDSTATUSTASKATTRIBUTES +_REPLICATIONTASK.fields_by_name['sync_activity_task_attributes'].message_type = _SYNCACTIVITYTASKATTRIBUTES +_REPLICATIONTASK.fields_by_name['history_task_v2_attributes'].message_type = _HISTORYTASKV2ATTRIBUTES +_REPLICATIONTASK.fields_by_name['failover_marker_attributes'].message_type = _FAILOVERMARKERATTRIBUTES +_REPLICATIONTASK.oneofs_by_name['attributes'].fields.append( + _REPLICATIONTASK.fields_by_name['domain_task_attributes']) +_REPLICATIONTASK.fields_by_name['domain_task_attributes'].containing_oneof = _REPLICATIONTASK.oneofs_by_name['attributes'] +_REPLICATIONTASK.oneofs_by_name['attributes'].fields.append( + _REPLICATIONTASK.fields_by_name['sync_shard_status_task_attributes']) +_REPLICATIONTASK.fields_by_name['sync_shard_status_task_attributes'].containing_oneof = _REPLICATIONTASK.oneofs_by_name['attributes'] +_REPLICATIONTASK.oneofs_by_name['attributes'].fields.append( + _REPLICATIONTASK.fields_by_name['sync_activity_task_attributes']) +_REPLICATIONTASK.fields_by_name['sync_activity_task_attributes'].containing_oneof = _REPLICATIONTASK.oneofs_by_name['attributes'] +_REPLICATIONTASK.oneofs_by_name['attributes'].fields.append( + _REPLICATIONTASK.fields_by_name['history_task_v2_attributes']) +_REPLICATIONTASK.fields_by_name['history_task_v2_attributes'].containing_oneof = _REPLICATIONTASK.oneofs_by_name['attributes'] +_REPLICATIONTASK.oneofs_by_name['attributes'].fields.append( + _REPLICATIONTASK.fields_by_name['failover_marker_attributes']) +_REPLICATIONTASK.fields_by_name['failover_marker_attributes'].containing_oneof = _REPLICATIONTASK.oneofs_by_name['attributes'] +_DOMAINTASKATTRIBUTES.fields_by_name['domain_operation'].enum_type = _DOMAINOPERATION +_DOMAINTASKATTRIBUTES.fields_by_name['domain'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_domain__pb2._DOMAIN +_SYNCSHARDSTATUSTASKATTRIBUTES.fields_by_name['timestamp'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_SYNCACTIVITYTASKATTRIBUTES.fields_by_name['workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_SYNCACTIVITYTASKATTRIBUTES.fields_by_name['scheduled_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_SYNCACTIVITYTASKATTRIBUTES.fields_by_name['started_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_SYNCACTIVITYTASKATTRIBUTES.fields_by_name['last_heartbeat_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_SYNCACTIVITYTASKATTRIBUTES.fields_by_name['details'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._PAYLOAD +_SYNCACTIVITYTASKATTRIBUTES.fields_by_name['last_failure'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._FAILURE +_SYNCACTIVITYTASKATTRIBUTES.fields_by_name['version_history'].message_type = uber_dot_cadence_dot_admin_dot_v1_dot_history__pb2._VERSIONHISTORY +_HISTORYTASKV2ATTRIBUTES.fields_by_name['workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_HISTORYTASKV2ATTRIBUTES.fields_by_name['version_history_items'].message_type = uber_dot_cadence_dot_admin_dot_v1_dot_history__pb2._VERSIONHISTORYITEM +_HISTORYTASKV2ATTRIBUTES.fields_by_name['events'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._DATABLOB +_HISTORYTASKV2ATTRIBUTES.fields_by_name['new_run_events'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._DATABLOB +_FAILOVERMARKERATTRIBUTES.fields_by_name['creation_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_FAILOVERMARKERTOKEN.fields_by_name['failover_marker'].message_type = _FAILOVERMARKERATTRIBUTES +_REPLICATIONTASKINFO.fields_by_name['workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_SYNCSHARDSTATUS.fields_by_name['timestamp'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +DESCRIPTOR.message_types_by_name['ReplicationMessages'] = _REPLICATIONMESSAGES +DESCRIPTOR.message_types_by_name['ReplicationTask'] = _REPLICATIONTASK +DESCRIPTOR.message_types_by_name['DomainTaskAttributes'] = _DOMAINTASKATTRIBUTES +DESCRIPTOR.message_types_by_name['SyncShardStatusTaskAttributes'] = _SYNCSHARDSTATUSTASKATTRIBUTES +DESCRIPTOR.message_types_by_name['SyncActivityTaskAttributes'] = _SYNCACTIVITYTASKATTRIBUTES +DESCRIPTOR.message_types_by_name['HistoryTaskV2Attributes'] = _HISTORYTASKV2ATTRIBUTES +DESCRIPTOR.message_types_by_name['FailoverMarkerAttributes'] = _FAILOVERMARKERATTRIBUTES +DESCRIPTOR.message_types_by_name['FailoverMarkerToken'] = _FAILOVERMARKERTOKEN +DESCRIPTOR.message_types_by_name['ReplicationTaskInfo'] = _REPLICATIONTASKINFO +DESCRIPTOR.message_types_by_name['ReplicationToken'] = _REPLICATIONTOKEN +DESCRIPTOR.message_types_by_name['SyncShardStatus'] = _SYNCSHARDSTATUS +DESCRIPTOR.message_types_by_name['HistoryDLQCountEntry'] = _HISTORYDLQCOUNTENTRY +DESCRIPTOR.enum_types_by_name['ReplicationTaskType'] = _REPLICATIONTASKTYPE +DESCRIPTOR.enum_types_by_name['DomainOperation'] = _DOMAINOPERATION +DESCRIPTOR.enum_types_by_name['DLQType'] = _DLQTYPE +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ReplicationMessages = _reflection.GeneratedProtocolMessageType('ReplicationMessages', (_message.Message,), { + 'DESCRIPTOR' : _REPLICATIONMESSAGES, + '__module__' : 'uber.cadence.admin.v1.replication_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.ReplicationMessages) + }) +_sym_db.RegisterMessage(ReplicationMessages) + +ReplicationTask = _reflection.GeneratedProtocolMessageType('ReplicationTask', (_message.Message,), { + 'DESCRIPTOR' : _REPLICATIONTASK, + '__module__' : 'uber.cadence.admin.v1.replication_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.ReplicationTask) + }) +_sym_db.RegisterMessage(ReplicationTask) + +DomainTaskAttributes = _reflection.GeneratedProtocolMessageType('DomainTaskAttributes', (_message.Message,), { + 'DESCRIPTOR' : _DOMAINTASKATTRIBUTES, + '__module__' : 'uber.cadence.admin.v1.replication_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.DomainTaskAttributes) + }) +_sym_db.RegisterMessage(DomainTaskAttributes) + +SyncShardStatusTaskAttributes = _reflection.GeneratedProtocolMessageType('SyncShardStatusTaskAttributes', (_message.Message,), { + 'DESCRIPTOR' : _SYNCSHARDSTATUSTASKATTRIBUTES, + '__module__' : 'uber.cadence.admin.v1.replication_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.SyncShardStatusTaskAttributes) + }) +_sym_db.RegisterMessage(SyncShardStatusTaskAttributes) + +SyncActivityTaskAttributes = _reflection.GeneratedProtocolMessageType('SyncActivityTaskAttributes', (_message.Message,), { + 'DESCRIPTOR' : _SYNCACTIVITYTASKATTRIBUTES, + '__module__' : 'uber.cadence.admin.v1.replication_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.SyncActivityTaskAttributes) + }) +_sym_db.RegisterMessage(SyncActivityTaskAttributes) + +HistoryTaskV2Attributes = _reflection.GeneratedProtocolMessageType('HistoryTaskV2Attributes', (_message.Message,), { + 'DESCRIPTOR' : _HISTORYTASKV2ATTRIBUTES, + '__module__' : 'uber.cadence.admin.v1.replication_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.HistoryTaskV2Attributes) + }) +_sym_db.RegisterMessage(HistoryTaskV2Attributes) + +FailoverMarkerAttributes = _reflection.GeneratedProtocolMessageType('FailoverMarkerAttributes', (_message.Message,), { + 'DESCRIPTOR' : _FAILOVERMARKERATTRIBUTES, + '__module__' : 'uber.cadence.admin.v1.replication_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.FailoverMarkerAttributes) + }) +_sym_db.RegisterMessage(FailoverMarkerAttributes) + +FailoverMarkerToken = _reflection.GeneratedProtocolMessageType('FailoverMarkerToken', (_message.Message,), { + 'DESCRIPTOR' : _FAILOVERMARKERTOKEN, + '__module__' : 'uber.cadence.admin.v1.replication_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.FailoverMarkerToken) + }) +_sym_db.RegisterMessage(FailoverMarkerToken) + +ReplicationTaskInfo = _reflection.GeneratedProtocolMessageType('ReplicationTaskInfo', (_message.Message,), { + 'DESCRIPTOR' : _REPLICATIONTASKINFO, + '__module__' : 'uber.cadence.admin.v1.replication_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.ReplicationTaskInfo) + }) +_sym_db.RegisterMessage(ReplicationTaskInfo) + +ReplicationToken = _reflection.GeneratedProtocolMessageType('ReplicationToken', (_message.Message,), { + 'DESCRIPTOR' : _REPLICATIONTOKEN, + '__module__' : 'uber.cadence.admin.v1.replication_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.ReplicationToken) + }) +_sym_db.RegisterMessage(ReplicationToken) + +SyncShardStatus = _reflection.GeneratedProtocolMessageType('SyncShardStatus', (_message.Message,), { + 'DESCRIPTOR' : _SYNCSHARDSTATUS, + '__module__' : 'uber.cadence.admin.v1.replication_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.SyncShardStatus) + }) +_sym_db.RegisterMessage(SyncShardStatus) + +HistoryDLQCountEntry = _reflection.GeneratedProtocolMessageType('HistoryDLQCountEntry', (_message.Message,), { + 'DESCRIPTOR' : _HISTORYDLQCOUNTENTRY, + '__module__' : 'uber.cadence.admin.v1.replication_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.HistoryDLQCountEntry) + }) +_sym_db.RegisterMessage(HistoryDLQCountEntry) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/cadence/shared/admin/v1/replication_pb2.pyi b/cadence/shared/admin/v1/replication_pb2.pyi new file mode 100644 index 0000000..50b1aae --- /dev/null +++ b/cadence/shared/admin/v1/replication_pb2.pyi @@ -0,0 +1,218 @@ +from google.protobuf import timestamp_pb2 as _timestamp_pb2 +from uber.cadence.api.v1 import common_pb2 as _common_pb2 +from uber.cadence.api.v1 import domain_pb2 as _domain_pb2 +from uber.cadence.admin.v1 import history_pb2 as _history_pb2 +from google.protobuf.internal import containers as _containers +from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union + +DESCRIPTOR: _descriptor.FileDescriptor + +class ReplicationTaskType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = () + REPLICATION_TASK_TYPE_INVALID: _ClassVar[ReplicationTaskType] + REPLICATION_TASK_TYPE_DOMAIN: _ClassVar[ReplicationTaskType] + REPLICATION_TASK_TYPE_HISTORY: _ClassVar[ReplicationTaskType] + REPLICATION_TASK_TYPE_SYNC_SHARD_STATUS: _ClassVar[ReplicationTaskType] + REPLICATION_TASK_TYPE_SYNC_ACTIVITY: _ClassVar[ReplicationTaskType] + REPLICATION_TASK_TYPE_HISTORY_METADATA: _ClassVar[ReplicationTaskType] + REPLICATION_TASK_TYPE_HISTORY_V2: _ClassVar[ReplicationTaskType] + REPLICATION_TASK_TYPE_FAILOVER_MARKER: _ClassVar[ReplicationTaskType] + +class DomainOperation(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = () + DOMAIN_OPERATION_INVALID: _ClassVar[DomainOperation] + DOMAIN_OPERATION_CREATE: _ClassVar[DomainOperation] + DOMAIN_OPERATION_UPDATE: _ClassVar[DomainOperation] + DOMAIN_OPERATION_DELETE: _ClassVar[DomainOperation] + +class DLQType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = () + DLQ_TYPE_INVALID: _ClassVar[DLQType] + DLQ_TYPE_REPLICATION: _ClassVar[DLQType] + DLQ_TYPE_DOMAIN: _ClassVar[DLQType] +REPLICATION_TASK_TYPE_INVALID: ReplicationTaskType +REPLICATION_TASK_TYPE_DOMAIN: ReplicationTaskType +REPLICATION_TASK_TYPE_HISTORY: ReplicationTaskType +REPLICATION_TASK_TYPE_SYNC_SHARD_STATUS: ReplicationTaskType +REPLICATION_TASK_TYPE_SYNC_ACTIVITY: ReplicationTaskType +REPLICATION_TASK_TYPE_HISTORY_METADATA: ReplicationTaskType +REPLICATION_TASK_TYPE_HISTORY_V2: ReplicationTaskType +REPLICATION_TASK_TYPE_FAILOVER_MARKER: ReplicationTaskType +DOMAIN_OPERATION_INVALID: DomainOperation +DOMAIN_OPERATION_CREATE: DomainOperation +DOMAIN_OPERATION_UPDATE: DomainOperation +DOMAIN_OPERATION_DELETE: DomainOperation +DLQ_TYPE_INVALID: DLQType +DLQ_TYPE_REPLICATION: DLQType +DLQ_TYPE_DOMAIN: DLQType + +class ReplicationMessages(_message.Message): + __slots__ = ("replication_tasks", "last_retrieved_message_id", "has_more", "sync_shard_status") + REPLICATION_TASKS_FIELD_NUMBER: _ClassVar[int] + LAST_RETRIEVED_MESSAGE_ID_FIELD_NUMBER: _ClassVar[int] + HAS_MORE_FIELD_NUMBER: _ClassVar[int] + SYNC_SHARD_STATUS_FIELD_NUMBER: _ClassVar[int] + replication_tasks: _containers.RepeatedCompositeFieldContainer[ReplicationTask] + last_retrieved_message_id: int + has_more: bool + sync_shard_status: SyncShardStatus + def __init__(self, replication_tasks: _Optional[_Iterable[_Union[ReplicationTask, _Mapping]]] = ..., last_retrieved_message_id: _Optional[int] = ..., has_more: bool = ..., sync_shard_status: _Optional[_Union[SyncShardStatus, _Mapping]] = ...) -> None: ... + +class ReplicationTask(_message.Message): + __slots__ = ("task_type", "source_task_id", "creation_time", "domain_task_attributes", "sync_shard_status_task_attributes", "sync_activity_task_attributes", "history_task_v2_attributes", "failover_marker_attributes") + TASK_TYPE_FIELD_NUMBER: _ClassVar[int] + SOURCE_TASK_ID_FIELD_NUMBER: _ClassVar[int] + CREATION_TIME_FIELD_NUMBER: _ClassVar[int] + DOMAIN_TASK_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + SYNC_SHARD_STATUS_TASK_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + SYNC_ACTIVITY_TASK_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + HISTORY_TASK_V2_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + FAILOVER_MARKER_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + task_type: ReplicationTaskType + source_task_id: int + creation_time: _timestamp_pb2.Timestamp + domain_task_attributes: DomainTaskAttributes + sync_shard_status_task_attributes: SyncShardStatusTaskAttributes + sync_activity_task_attributes: SyncActivityTaskAttributes + history_task_v2_attributes: HistoryTaskV2Attributes + failover_marker_attributes: FailoverMarkerAttributes + def __init__(self, task_type: _Optional[_Union[ReplicationTaskType, str]] = ..., source_task_id: _Optional[int] = ..., creation_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., domain_task_attributes: _Optional[_Union[DomainTaskAttributes, _Mapping]] = ..., sync_shard_status_task_attributes: _Optional[_Union[SyncShardStatusTaskAttributes, _Mapping]] = ..., sync_activity_task_attributes: _Optional[_Union[SyncActivityTaskAttributes, _Mapping]] = ..., history_task_v2_attributes: _Optional[_Union[HistoryTaskV2Attributes, _Mapping]] = ..., failover_marker_attributes: _Optional[_Union[FailoverMarkerAttributes, _Mapping]] = ...) -> None: ... + +class DomainTaskAttributes(_message.Message): + __slots__ = ("domain_operation", "id", "domain", "config_version", "failover_version", "previous_failover_version") + DOMAIN_OPERATION_FIELD_NUMBER: _ClassVar[int] + ID_FIELD_NUMBER: _ClassVar[int] + DOMAIN_FIELD_NUMBER: _ClassVar[int] + CONFIG_VERSION_FIELD_NUMBER: _ClassVar[int] + FAILOVER_VERSION_FIELD_NUMBER: _ClassVar[int] + PREVIOUS_FAILOVER_VERSION_FIELD_NUMBER: _ClassVar[int] + domain_operation: DomainOperation + id: str + domain: _domain_pb2.Domain + config_version: int + failover_version: int + previous_failover_version: int + def __init__(self, domain_operation: _Optional[_Union[DomainOperation, str]] = ..., id: _Optional[str] = ..., domain: _Optional[_Union[_domain_pb2.Domain, _Mapping]] = ..., config_version: _Optional[int] = ..., failover_version: _Optional[int] = ..., previous_failover_version: _Optional[int] = ...) -> None: ... + +class SyncShardStatusTaskAttributes(_message.Message): + __slots__ = ("source_cluster", "shard_id", "timestamp") + SOURCE_CLUSTER_FIELD_NUMBER: _ClassVar[int] + SHARD_ID_FIELD_NUMBER: _ClassVar[int] + TIMESTAMP_FIELD_NUMBER: _ClassVar[int] + source_cluster: str + shard_id: int + timestamp: _timestamp_pb2.Timestamp + def __init__(self, source_cluster: _Optional[str] = ..., shard_id: _Optional[int] = ..., timestamp: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ... + +class SyncActivityTaskAttributes(_message.Message): + __slots__ = ("domain_id", "workflow_execution", "version", "scheduled_id", "scheduled_time", "started_id", "started_time", "last_heartbeat_time", "details", "attempt", "last_failure", "last_worker_identity", "version_history") + DOMAIN_ID_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + VERSION_FIELD_NUMBER: _ClassVar[int] + SCHEDULED_ID_FIELD_NUMBER: _ClassVar[int] + SCHEDULED_TIME_FIELD_NUMBER: _ClassVar[int] + STARTED_ID_FIELD_NUMBER: _ClassVar[int] + STARTED_TIME_FIELD_NUMBER: _ClassVar[int] + LAST_HEARTBEAT_TIME_FIELD_NUMBER: _ClassVar[int] + DETAILS_FIELD_NUMBER: _ClassVar[int] + ATTEMPT_FIELD_NUMBER: _ClassVar[int] + LAST_FAILURE_FIELD_NUMBER: _ClassVar[int] + LAST_WORKER_IDENTITY_FIELD_NUMBER: _ClassVar[int] + VERSION_HISTORY_FIELD_NUMBER: _ClassVar[int] + domain_id: str + workflow_execution: _common_pb2.WorkflowExecution + version: int + scheduled_id: int + scheduled_time: _timestamp_pb2.Timestamp + started_id: int + started_time: _timestamp_pb2.Timestamp + last_heartbeat_time: _timestamp_pb2.Timestamp + details: _common_pb2.Payload + attempt: int + last_failure: _common_pb2.Failure + last_worker_identity: str + version_history: _history_pb2.VersionHistory + def __init__(self, domain_id: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., version: _Optional[int] = ..., scheduled_id: _Optional[int] = ..., scheduled_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., started_id: _Optional[int] = ..., started_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., last_heartbeat_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., details: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., attempt: _Optional[int] = ..., last_failure: _Optional[_Union[_common_pb2.Failure, _Mapping]] = ..., last_worker_identity: _Optional[str] = ..., version_history: _Optional[_Union[_history_pb2.VersionHistory, _Mapping]] = ...) -> None: ... + +class HistoryTaskV2Attributes(_message.Message): + __slots__ = ("task_id", "domain_id", "workflow_execution", "version_history_items", "events", "new_run_events") + TASK_ID_FIELD_NUMBER: _ClassVar[int] + DOMAIN_ID_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + VERSION_HISTORY_ITEMS_FIELD_NUMBER: _ClassVar[int] + EVENTS_FIELD_NUMBER: _ClassVar[int] + NEW_RUN_EVENTS_FIELD_NUMBER: _ClassVar[int] + task_id: int + domain_id: str + workflow_execution: _common_pb2.WorkflowExecution + version_history_items: _containers.RepeatedCompositeFieldContainer[_history_pb2.VersionHistoryItem] + events: _common_pb2.DataBlob + new_run_events: _common_pb2.DataBlob + def __init__(self, task_id: _Optional[int] = ..., domain_id: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., version_history_items: _Optional[_Iterable[_Union[_history_pb2.VersionHistoryItem, _Mapping]]] = ..., events: _Optional[_Union[_common_pb2.DataBlob, _Mapping]] = ..., new_run_events: _Optional[_Union[_common_pb2.DataBlob, _Mapping]] = ...) -> None: ... + +class FailoverMarkerAttributes(_message.Message): + __slots__ = ("domain_id", "failover_version", "creation_time") + DOMAIN_ID_FIELD_NUMBER: _ClassVar[int] + FAILOVER_VERSION_FIELD_NUMBER: _ClassVar[int] + CREATION_TIME_FIELD_NUMBER: _ClassVar[int] + domain_id: str + failover_version: int + creation_time: _timestamp_pb2.Timestamp + def __init__(self, domain_id: _Optional[str] = ..., failover_version: _Optional[int] = ..., creation_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ... + +class FailoverMarkerToken(_message.Message): + __slots__ = ("shard_ids", "failover_marker") + SHARD_IDS_FIELD_NUMBER: _ClassVar[int] + FAILOVER_MARKER_FIELD_NUMBER: _ClassVar[int] + shard_ids: _containers.RepeatedScalarFieldContainer[int] + failover_marker: FailoverMarkerAttributes + def __init__(self, shard_ids: _Optional[_Iterable[int]] = ..., failover_marker: _Optional[_Union[FailoverMarkerAttributes, _Mapping]] = ...) -> None: ... + +class ReplicationTaskInfo(_message.Message): + __slots__ = ("domain_id", "workflow_execution", "task_type", "task_id", "version", "first_event_id", "next_event_id", "scheduled_id") + DOMAIN_ID_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + TASK_TYPE_FIELD_NUMBER: _ClassVar[int] + TASK_ID_FIELD_NUMBER: _ClassVar[int] + VERSION_FIELD_NUMBER: _ClassVar[int] + FIRST_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + NEXT_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + SCHEDULED_ID_FIELD_NUMBER: _ClassVar[int] + domain_id: str + workflow_execution: _common_pb2.WorkflowExecution + task_type: int + task_id: int + version: int + first_event_id: int + next_event_id: int + scheduled_id: int + def __init__(self, domain_id: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., task_type: _Optional[int] = ..., task_id: _Optional[int] = ..., version: _Optional[int] = ..., first_event_id: _Optional[int] = ..., next_event_id: _Optional[int] = ..., scheduled_id: _Optional[int] = ...) -> None: ... + +class ReplicationToken(_message.Message): + __slots__ = ("shard_id", "last_retrieved_message_id", "last_processed_message_id") + SHARD_ID_FIELD_NUMBER: _ClassVar[int] + LAST_RETRIEVED_MESSAGE_ID_FIELD_NUMBER: _ClassVar[int] + LAST_PROCESSED_MESSAGE_ID_FIELD_NUMBER: _ClassVar[int] + shard_id: int + last_retrieved_message_id: int + last_processed_message_id: int + def __init__(self, shard_id: _Optional[int] = ..., last_retrieved_message_id: _Optional[int] = ..., last_processed_message_id: _Optional[int] = ...) -> None: ... + +class SyncShardStatus(_message.Message): + __slots__ = ("timestamp",) + TIMESTAMP_FIELD_NUMBER: _ClassVar[int] + timestamp: _timestamp_pb2.Timestamp + def __init__(self, timestamp: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ... + +class HistoryDLQCountEntry(_message.Message): + __slots__ = ("count", "shard_id", "source_cluster") + COUNT_FIELD_NUMBER: _ClassVar[int] + SHARD_ID_FIELD_NUMBER: _ClassVar[int] + SOURCE_CLUSTER_FIELD_NUMBER: _ClassVar[int] + count: int + shard_id: int + source_cluster: str + def __init__(self, count: _Optional[int] = ..., shard_id: _Optional[int] = ..., source_cluster: _Optional[str] = ...) -> None: ... diff --git a/cadence/shared/admin/v1/service_pb2.py b/cadence/shared/admin/v1/service_pb2.py new file mode 100644 index 0000000..209c31b --- /dev/null +++ b/cadence/shared/admin/v1/service_pb2.py @@ -0,0 +1,4139 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: uber/cadence/admin/v1/service.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from uber.cadence.api.v1 import common_pb2 as uber_dot_cadence_dot_api_dot_v1_dot_common__pb2 +from uber.cadence.api.v1 import tasklist_pb2 as uber_dot_cadence_dot_api_dot_v1_dot_tasklist__pb2 +from uber.cadence.api.v1 import visibility_pb2 as uber_dot_cadence_dot_api_dot_v1_dot_visibility__pb2 +from uber.cadence.admin.v1 import cluster_pb2 as uber_dot_cadence_dot_admin_dot_v1_dot_cluster__pb2 +from uber.cadence.admin.v1 import history_pb2 as uber_dot_cadence_dot_admin_dot_v1_dot_history__pb2 +from uber.cadence.admin.v1 import queue_pb2 as uber_dot_cadence_dot_admin_dot_v1_dot_queue__pb2 +from uber.cadence.admin.v1 import replication_pb2 as uber_dot_cadence_dot_admin_dot_v1_dot_replication__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='uber/cadence/admin/v1/service.proto', + package='uber.cadence.admin.v1', + syntax='proto3', + serialized_options=b'Z5github.com/uber/cadence-idl/go/proto/admin/v1;adminv1', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n#uber/cadence/admin/v1/service.proto\x12\x15uber.cadence.admin.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a uber/cadence/api/v1/common.proto\x1a\"uber/cadence/api/v1/tasklist.proto\x1a$uber/cadence/api/v1/visibility.proto\x1a#uber/cadence/admin/v1/cluster.proto\x1a#uber/cadence/admin/v1/history.proto\x1a!uber/cadence/admin/v1/queue.proto\x1a\'uber/cadence/admin/v1/replication.proto\"\xeb\x01\n$UpdateTaskListPartitionConfigRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x30\n\ttask_list\x18\x02 \x01(\x0b\x32\x1d.uber.cadence.api.v1.TaskList\x12\x39\n\x0etask_list_type\x18\x03 \x01(\x0e\x32!.uber.cadence.api.v1.TaskListType\x12\x46\n\x10partition_config\x18\x04 \x01(\x0b\x32,.uber.cadence.api.v1.TaskListPartitionConfig\"\'\n%UpdateTaskListPartitionConfigResponse\"v\n DescribeWorkflowExecutionRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x42\n\x12workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\"\x8e\x01\n!DescribeWorkflowExecutionResponse\x12\x10\n\x08shard_id\x18\x01 \x01(\x05\x12\x14\n\x0chistory_addr\x18\x02 \x01(\t\x12\x1e\n\x16mutable_state_in_cache\x18\x03 \x01(\t\x12!\n\x19mutable_state_in_database\x18\x04 \x01(\t\"\x9d\x01\n\x1a\x44\x65scribeHistoryHostRequest\x12\x16\n\x0chost_address\x18\x01 \x01(\tH\x00\x12\x12\n\x08shard_id\x18\x02 \x01(\x05H\x00\x12\x44\n\x12workflow_execution\x18\x03 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecutionH\x00\x42\r\n\x0b\x64\x65scribe_by\"F\n DescribeShardDistributionRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x0f\n\x07page_id\x18\x02 \x01(\x05\"\xc2\x01\n!DescribeShardDistributionResponse\x12\x18\n\x10number_of_shards\x18\x01 \x01(\x05\x12T\n\x06shards\x18\x02 \x03(\x0b\x32\x44.uber.cadence.admin.v1.DescribeShardDistributionResponse.ShardsEntry\x1a-\n\x0bShardsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xba\x01\n\x1b\x44\x65scribeHistoryHostResponse\x12\x18\n\x10number_of_shards\x18\x01 \x01(\x05\x12\x11\n\tshard_ids\x18\x02 \x03(\x05\x12<\n\x0c\x64omain_cache\x18\x03 \x01(\x0b\x32&.uber.cadence.admin.v1.DomainCacheInfo\x12\x1f\n\x17shard_controller_status\x18\x04 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x05 \x01(\t\"%\n\x11\x43loseShardRequest\x12\x10\n\x08shard_id\x18\x01 \x01(\x05\"\x14\n\x12\x43loseShardResponse\"\xb5\x01\n\x11RemoveTaskRequest\x12\x10\n\x08shard_id\x18\x01 \x01(\x05\x12\x32\n\ttask_type\x18\x02 \x01(\x0e\x32\x1f.uber.cadence.admin.v1.TaskType\x12\x0f\n\x07task_id\x18\x03 \x01(\x03\x12\x33\n\x0fvisibility_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0c\x63luster_name\x18\x05 \x01(\t\"\x14\n\x12RemoveTaskResponse\"o\n\x11ResetQueueRequest\x12\x10\n\x08shard_id\x18\x01 \x01(\x05\x12\x14\n\x0c\x63luster_name\x18\x02 \x01(\t\x12\x32\n\ttask_type\x18\x03 \x01(\x0e\x32\x1f.uber.cadence.admin.v1.TaskType\"\x14\n\x12ResetQueueResponse\"r\n\x14\x44\x65scribeQueueRequest\x12\x10\n\x08shard_id\x18\x01 \x01(\x05\x12\x14\n\x0c\x63luster_name\x18\x02 \x01(\t\x12\x32\n\ttask_type\x18\x03 \x01(\x0e\x32\x1f.uber.cadence.admin.v1.TaskType\"8\n\x15\x44\x65scribeQueueResponse\x12\x1f\n\x17processing_queue_states\x18\x01 \x03(\t\"\xa7\x02\n\'GetWorkflowExecutionRawHistoryV2Request\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x42\n\x12workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12>\n\x0bstart_event\x18\x03 \x01(\x0b\x32).uber.cadence.admin.v1.VersionHistoryItem\x12<\n\tend_event\x18\x04 \x01(\x0b\x32).uber.cadence.admin.v1.VersionHistoryItem\x12\x11\n\tpage_size\x18\x05 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x06 \x01(\x0c\"\xbb\x01\n(GetWorkflowExecutionRawHistoryV2Response\x12\x17\n\x0fnext_page_token\x18\x01 \x01(\x0c\x12\x36\n\x0fhistory_batches\x18\x02 \x03(\x0b\x32\x1d.uber.cadence.api.v1.DataBlob\x12>\n\x0fversion_history\x18\x03 \x01(\x0b\x32%.uber.cadence.admin.v1.VersionHistory\"n\n\x1dGetReplicationMessagesRequest\x12\x37\n\x06tokens\x18\x01 \x03(\x0b\x32\'.uber.cadence.admin.v1.ReplicationToken\x12\x14\n\x0c\x63luster_name\x18\x02 \x01(\t\"\xe4\x01\n\x1eGetReplicationMessagesResponse\x12`\n\x0eshard_messages\x18\x01 \x03(\x0b\x32H.uber.cadence.admin.v1.GetReplicationMessagesResponse.ShardMessagesEntry\x1a`\n\x12ShardMessagesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\x39\n\x05value\x18\x02 \x01(\x0b\x32*.uber.cadence.admin.v1.ReplicationMessages:\x02\x38\x01\"b\n GetDLQReplicationMessagesRequest\x12>\n\ntask_infos\x18\x01 \x03(\x0b\x32*.uber.cadence.admin.v1.ReplicationTaskInfo\"f\n!GetDLQReplicationMessagesResponse\x12\x41\n\x11replication_tasks\x18\x01 \x03(\x0b\x32&.uber.cadence.admin.v1.ReplicationTask\"\xbb\x01\n#GetDomainReplicationMessagesRequest\x12>\n\x19last_retrieved_message_id\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12>\n\x19last_processed_message_id\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x14\n\x0c\x63luster_name\x18\x03 \x01(\t\"d\n$GetDomainReplicationMessagesResponse\x12<\n\x08messages\x18\x01 \x01(\x0b\x32*.uber.cadence.admin.v1.ReplicationMessages\"\x99\x01\n\x14ReapplyEventsRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x42\n\x12workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12-\n\x06\x65vents\x18\x03 \x01(\x0b\x32\x1d.uber.cadence.api.v1.DataBlob\"\x17\n\x15ReapplyEventsResponse\"\xf3\x01\n\x19\x41\x64\x64SearchAttributeRequest\x12_\n\x10search_attribute\x18\x01 \x03(\x0b\x32\x45.uber.cadence.admin.v1.AddSearchAttributeRequest.SearchAttributeEntry\x12\x16\n\x0esecurity_token\x18\x02 \x01(\t\x1a]\n\x14SearchAttributeEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x34\n\x05value\x18\x02 \x01(\x0e\x32%.uber.cadence.api.v1.IndexedValueType:\x02\x38\x01\"\x1c\n\x1a\x41\x64\x64SearchAttributeResponse\"\x18\n\x16\x44\x65scribeClusterRequest\"\xe9\x02\n\x17\x44\x65scribeClusterResponse\x12O\n\x19supported_client_versions\x18\x01 \x01(\x0b\x32,.uber.cadence.api.v1.SupportedClientVersions\x12>\n\x0fmembership_info\x18\x02 \x01(\x0b\x32%.uber.cadence.admin.v1.MembershipInfo\x12]\n\x10persistence_info\x18\x03 \x03(\x0b\x32\x43.uber.cadence.admin.v1.DescribeClusterResponse.PersistenceInfoEntry\x1a^\n\x14PersistenceInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x35\n\x05value\x18\x02 \x01(\x0b\x32&.uber.cadence.admin.v1.PersistenceInfo:\x02\x38\x01\".\n\x17\x43ountDLQMessagesRequest\x12\x13\n\x0b\x66orce_fetch\x18\x01 \x01(\x08\"h\n\x18\x43ountDLQMessagesResponse\x12<\n\x07history\x18\x01 \x03(\x0b\x32+.uber.cadence.admin.v1.HistoryDLQCountEntry\x12\x0e\n\x06\x64omain\x18\x02 \x01(\x03\"\xdb\x01\n\x16ReadDLQMessagesRequest\x12,\n\x04type\x18\x01 \x01(\x0e\x32\x1e.uber.cadence.admin.v1.DLQType\x12\x10\n\x08shard_id\x18\x02 \x01(\x05\x12\x16\n\x0esource_cluster\x18\x03 \x01(\t\x12=\n\x18inclusive_end_message_id\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x11\n\tpage_size\x18\x05 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x06 \x01(\x0c\"\xef\x01\n\x17ReadDLQMessagesResponse\x12,\n\x04type\x18\x01 \x01(\x0e\x32\x1e.uber.cadence.admin.v1.DLQType\x12\x41\n\x11replication_tasks\x18\x02 \x03(\x0b\x32&.uber.cadence.admin.v1.ReplicationTask\x12J\n\x16replication_tasks_info\x18\x03 \x03(\x0b\x32*.uber.cadence.admin.v1.ReplicationTaskInfo\x12\x17\n\x0fnext_page_token\x18\x04 \x01(\x0c\"\xb0\x01\n\x17PurgeDLQMessagesRequest\x12,\n\x04type\x18\x01 \x01(\x0e\x32\x1e.uber.cadence.admin.v1.DLQType\x12\x10\n\x08shard_id\x18\x02 \x01(\x05\x12\x16\n\x0esource_cluster\x18\x03 \x01(\t\x12=\n\x18inclusive_end_message_id\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"\x1a\n\x18PurgeDLQMessagesResponse\"\xdc\x01\n\x17MergeDLQMessagesRequest\x12,\n\x04type\x18\x01 \x01(\x0e\x32\x1e.uber.cadence.admin.v1.DLQType\x12\x10\n\x08shard_id\x18\x02 \x01(\x05\x12\x16\n\x0esource_cluster\x18\x03 \x01(\t\x12=\n\x18inclusive_end_message_id\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x11\n\tpage_size\x18\x05 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x06 \x01(\x0c\"3\n\x18MergeDLQMessagesResponse\x12\x17\n\x0fnext_page_token\x18\x01 \x01(\x0c\"q\n\x1bRefreshWorkflowTasksRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x42\n\x12workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\"\x1e\n\x1cRefreshWorkflowTasksResponse\"\x8c\x02\n\x1dResendReplicationTasksRequest\x12\x11\n\tdomain_id\x18\x01 \x01(\t\x12\x42\n\x12workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x16\n\x0eremote_cluster\x18\x03 \x01(\t\x12>\n\x0bstart_event\x18\x04 \x01(\x0b\x32).uber.cadence.admin.v1.VersionHistoryItem\x12<\n\tend_event\x18\x05 \x01(\x0b\x32).uber.cadence.admin.v1.VersionHistoryItem\" \n\x1eResendReplicationTasksResponse\"H\n\x1bGetCrossClusterTasksRequest\x12\x11\n\tshard_ids\x18\x01 \x03(\x05\x12\x16\n\x0etarget_cluster\x18\x02 \x01(\t\"\xb5\x03\n\x1cGetCrossClusterTasksResponse\x12]\n\x0etasks_by_shard\x18\x01 \x03(\x0b\x32\x45.uber.cadence.admin.v1.GetCrossClusterTasksResponse.TasksByShardEntry\x12j\n\x15\x66\x61iled_cause_by_shard\x18\x02 \x03(\x0b\x32K.uber.cadence.admin.v1.GetCrossClusterTasksResponse.FailedCauseByShardEntry\x1a\x64\n\x11TasksByShardEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12>\n\x05value\x18\x02 \x01(\x0b\x32/.uber.cadence.admin.v1.CrossClusterTaskRequests:\x02\x38\x01\x1a\x64\n\x17\x46\x61iledCauseByShardEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\x38\n\x05value\x18\x02 \x01(\x0e\x32).uber.cadence.admin.v1.GetTaskFailedCause:\x02\x38\x01\"\xb6\x01\n(RespondCrossClusterTasksCompletedRequest\x12\x10\n\x08shard_id\x18\x01 \x01(\x05\x12\x16\n\x0etarget_cluster\x18\x02 \x01(\t\x12G\n\x0etask_responses\x18\x03 \x03(\x0b\x32/.uber.cadence.admin.v1.CrossClusterTaskResponse\x12\x17\n\x0f\x66\x65tch_new_tasks\x18\x04 \x01(\x08\"k\n)RespondCrossClusterTasksCompletedResponse\x12>\n\x05tasks\x18\x01 \x01(\x0b\x32/.uber.cadence.admin.v1.CrossClusterTaskRequests\"k\n\x17GetDynamicConfigRequest\x12\x13\n\x0b\x63onfig_name\x18\x01 \x01(\t\x12;\n\x07\x66ilters\x18\x02 \x03(\x0b\x32*.uber.cadence.admin.v1.DynamicConfigFilter\"H\n\x18GetDynamicConfigResponse\x12,\n\x05value\x18\x01 \x01(\x0b\x32\x1d.uber.cadence.api.v1.DataBlob\"s\n\x1aUpdateDynamicConfigRequest\x12\x13\n\x0b\x63onfig_name\x18\x01 \x01(\t\x12@\n\rconfig_values\x18\x02 \x03(\x0b\x32).uber.cadence.admin.v1.DynamicConfigValue\"\x1d\n\x1bUpdateDynamicConfigResponse\"o\n\x1bRestoreDynamicConfigRequest\x12\x13\n\x0b\x63onfig_name\x18\x01 \x01(\t\x12;\n\x07\x66ilters\x18\x02 \x03(\x0b\x32*.uber.cadence.admin.v1.DynamicConfigFilter\"\x1e\n\x1cRestoreDynamicConfigResponse\"k\n\x15\x44\x65leteWorkflowRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x42\n\x12workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\"i\n\x16\x44\x65leteWorkflowResponse\x12\x17\n\x0fhistory_deleted\x18\x01 \x01(\x08\x12\x1a\n\x12\x65xecutions_deleted\x18\x02 \x01(\x08\x12\x1a\n\x12visibility_deleted\x18\x03 \x01(\x08\"t\n\x1eMaintainCorruptWorkflowRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x42\n\x12workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\"r\n\x1fMaintainCorruptWorkflowResponse\x12\x17\n\x0fhistory_deleted\x18\x01 \x01(\x08\x12\x1a\n\x12\x65xecutions_deleted\x18\x02 \x01(\x08\x12\x1a\n\x12visibility_deleted\x18\x03 \x01(\x08\"/\n\x18ListDynamicConfigRequest\x12\x13\n\x0b\x63onfig_name\x18\x01 \x01(\t\"W\n\x19ListDynamicConfigResponse\x12:\n\x07\x65ntries\x18\x01 \x03(\x0b\x32).uber.cadence.admin.v1.DynamicConfigEntry\"]\n\x12\x44ynamicConfigEntry\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x39\n\x06values\x18\x03 \x03(\x0b\x32).uber.cadence.admin.v1.DynamicConfigValue\"\x7f\n\x12\x44ynamicConfigValue\x12,\n\x05value\x18\x01 \x01(\x0b\x32\x1d.uber.cadence.api.v1.DataBlob\x12;\n\x07\x66ilters\x18\x02 \x03(\x0b\x32*.uber.cadence.admin.v1.DynamicConfigFilter\"Q\n\x13\x44ynamicConfigFilter\x12\x0c\n\x04name\x18\x01 \x01(\t\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x1d.uber.cadence.api.v1.DataBlob\"!\n\x1fGetGlobalIsolationGroupsRequest\"n\n GetGlobalIsolationGroupsResponse\x12J\n\x10isolation_groups\x18\x01 \x01(\x0b\x32\x30.uber.cadence.api.v1.IsolationGroupConfiguration\"p\n\"UpdateGlobalIsolationGroupsRequest\x12J\n\x10isolation_groups\x18\x01 \x01(\x0b\x32\x30.uber.cadence.api.v1.IsolationGroupConfiguration\"%\n#UpdateGlobalIsolationGroupsResponse\"1\n\x1fGetDomainIsolationGroupsRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\"n\n GetDomainIsolationGroupsResponse\x12J\n\x10isolation_groups\x18\x01 \x01(\x0b\x32\x30.uber.cadence.api.v1.IsolationGroupConfiguration\"\x80\x01\n\"UpdateDomainIsolationGroupsRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12J\n\x10isolation_groups\x18\x02 \x01(\x0b\x32\x30.uber.cadence.api.v1.IsolationGroupConfiguration\"%\n#UpdateDomainIsolationGroupsResponse\";\n)GetDomainAsyncWorkflowConfiguratonRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\"t\n*GetDomainAsyncWorkflowConfiguratonResponse\x12\x46\n\rconfiguration\x18\x01 \x01(\x0b\x32/.uber.cadence.api.v1.AsyncWorkflowConfiguration\"\x86\x01\n,UpdateDomainAsyncWorkflowConfiguratonRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x46\n\rconfiguration\x18\x02 \x01(\x0b\x32/.uber.cadence.api.v1.AsyncWorkflowConfiguration\"/\n-UpdateDomainAsyncWorkflowConfiguratonResponse2\xa3$\n\x08\x41\x64minAPI\x12\x8e\x01\n\x19\x44\x65scribeWorkflowExecution\x12\x37.uber.cadence.admin.v1.DescribeWorkflowExecutionRequest\x1a\x38.uber.cadence.admin.v1.DescribeWorkflowExecutionResponse\x12|\n\x13\x44\x65scribeHistoryHost\x12\x31.uber.cadence.admin.v1.DescribeHistoryHostRequest\x1a\x32.uber.cadence.admin.v1.DescribeHistoryHostResponse\x12\x8e\x01\n\x19\x44\x65scribeShardDistribution\x12\x37.uber.cadence.admin.v1.DescribeShardDistributionRequest\x1a\x38.uber.cadence.admin.v1.DescribeShardDistributionResponse\x12\x61\n\nCloseShard\x12(.uber.cadence.admin.v1.CloseShardRequest\x1a).uber.cadence.admin.v1.CloseShardResponse\x12\x61\n\nRemoveTask\x12(.uber.cadence.admin.v1.RemoveTaskRequest\x1a).uber.cadence.admin.v1.RemoveTaskResponse\x12\x61\n\nResetQueue\x12(.uber.cadence.admin.v1.ResetQueueRequest\x1a).uber.cadence.admin.v1.ResetQueueResponse\x12j\n\rDescribeQueue\x12+.uber.cadence.admin.v1.DescribeQueueRequest\x1a,.uber.cadence.admin.v1.DescribeQueueResponse\x12\xa3\x01\n GetWorkflowExecutionRawHistoryV2\x12>.uber.cadence.admin.v1.GetWorkflowExecutionRawHistoryV2Request\x1a?.uber.cadence.admin.v1.GetWorkflowExecutionRawHistoryV2Response\x12\x85\x01\n\x16GetReplicationMessages\x12\x34.uber.cadence.admin.v1.GetReplicationMessagesRequest\x1a\x35.uber.cadence.admin.v1.GetReplicationMessagesResponse\x12\x8e\x01\n\x19GetDLQReplicationMessages\x12\x37.uber.cadence.admin.v1.GetDLQReplicationMessagesRequest\x1a\x38.uber.cadence.admin.v1.GetDLQReplicationMessagesResponse\x12\x97\x01\n\x1cGetDomainReplicationMessages\x12:.uber.cadence.admin.v1.GetDomainReplicationMessagesRequest\x1a;.uber.cadence.admin.v1.GetDomainReplicationMessagesResponse\x12j\n\rReapplyEvents\x12+.uber.cadence.admin.v1.ReapplyEventsRequest\x1a,.uber.cadence.admin.v1.ReapplyEventsResponse\x12y\n\x12\x41\x64\x64SearchAttribute\x12\x30.uber.cadence.admin.v1.AddSearchAttributeRequest\x1a\x31.uber.cadence.admin.v1.AddSearchAttributeResponse\x12p\n\x0f\x44\x65scribeCluster\x12-.uber.cadence.admin.v1.DescribeClusterRequest\x1a..uber.cadence.admin.v1.DescribeClusterResponse\x12s\n\x10\x43ountDLQMessages\x12..uber.cadence.admin.v1.CountDLQMessagesRequest\x1a/.uber.cadence.admin.v1.CountDLQMessagesResponse\x12p\n\x0fReadDLQMessages\x12-.uber.cadence.admin.v1.ReadDLQMessagesRequest\x1a..uber.cadence.admin.v1.ReadDLQMessagesResponse\x12s\n\x10PurgeDLQMessages\x12..uber.cadence.admin.v1.PurgeDLQMessagesRequest\x1a/.uber.cadence.admin.v1.PurgeDLQMessagesResponse\x12s\n\x10MergeDLQMessages\x12..uber.cadence.admin.v1.MergeDLQMessagesRequest\x1a/.uber.cadence.admin.v1.MergeDLQMessagesResponse\x12\x7f\n\x14RefreshWorkflowTasks\x12\x32.uber.cadence.admin.v1.RefreshWorkflowTasksRequest\x1a\x33.uber.cadence.admin.v1.RefreshWorkflowTasksResponse\x12\x85\x01\n\x16ResendReplicationTasks\x12\x34.uber.cadence.admin.v1.ResendReplicationTasksRequest\x1a\x35.uber.cadence.admin.v1.ResendReplicationTasksResponse\x12\x7f\n\x14GetCrossClusterTasks\x12\x32.uber.cadence.admin.v1.GetCrossClusterTasksRequest\x1a\x33.uber.cadence.admin.v1.GetCrossClusterTasksResponse\x12\xa6\x01\n!RespondCrossClusterTasksCompleted\x12?.uber.cadence.admin.v1.RespondCrossClusterTasksCompletedRequest\x1a@.uber.cadence.admin.v1.RespondCrossClusterTasksCompletedResponse\x12s\n\x10GetDynamicConfig\x12..uber.cadence.admin.v1.GetDynamicConfigRequest\x1a/.uber.cadence.admin.v1.GetDynamicConfigResponse\x12|\n\x13UpdateDynamicConfig\x12\x31.uber.cadence.admin.v1.UpdateDynamicConfigRequest\x1a\x32.uber.cadence.admin.v1.UpdateDynamicConfigResponse\x12\x7f\n\x14RestoreDynamicConfig\x12\x32.uber.cadence.admin.v1.RestoreDynamicConfigRequest\x1a\x33.uber.cadence.admin.v1.RestoreDynamicConfigResponse\x12v\n\x11ListDynamicConfig\x12/.uber.cadence.admin.v1.ListDynamicConfigRequest\x1a\x30.uber.cadence.admin.v1.ListDynamicConfigResponse\x12m\n\x0e\x44\x65leteWorkflow\x12,.uber.cadence.admin.v1.DeleteWorkflowRequest\x1a-.uber.cadence.admin.v1.DeleteWorkflowResponse\x12\x88\x01\n\x17MaintainCorruptWorkflow\x12\x35.uber.cadence.admin.v1.MaintainCorruptWorkflowRequest\x1a\x36.uber.cadence.admin.v1.MaintainCorruptWorkflowResponse\x12\x8b\x01\n\x18GetGlobalIsolationGroups\x12\x36.uber.cadence.admin.v1.GetGlobalIsolationGroupsRequest\x1a\x37.uber.cadence.admin.v1.GetGlobalIsolationGroupsResponse\x12\x94\x01\n\x1bUpdateGlobalIsolationGroups\x12\x39.uber.cadence.admin.v1.UpdateGlobalIsolationGroupsRequest\x1a:.uber.cadence.admin.v1.UpdateGlobalIsolationGroupsResponse\x12\x8b\x01\n\x18GetDomainIsolationGroups\x12\x36.uber.cadence.admin.v1.GetDomainIsolationGroupsRequest\x1a\x37.uber.cadence.admin.v1.GetDomainIsolationGroupsResponse\x12\x94\x01\n\x1bUpdateDomainIsolationGroups\x12\x39.uber.cadence.admin.v1.UpdateDomainIsolationGroupsRequest\x1a:.uber.cadence.admin.v1.UpdateDomainIsolationGroupsResponse\x12\xa9\x01\n\"GetDomainAsyncWorkflowConfiguraton\x12@.uber.cadence.admin.v1.GetDomainAsyncWorkflowConfiguratonRequest\x1a\x41.uber.cadence.admin.v1.GetDomainAsyncWorkflowConfiguratonResponse\x12\xb2\x01\n%UpdateDomainAsyncWorkflowConfiguraton\x12\x43.uber.cadence.admin.v1.UpdateDomainAsyncWorkflowConfiguratonRequest\x1a\x44.uber.cadence.admin.v1.UpdateDomainAsyncWorkflowConfiguratonResponse\x12\x9a\x01\n\x1dUpdateTaskListPartitionConfig\x12;.uber.cadence.admin.v1.UpdateTaskListPartitionConfigRequest\x1a<.uber.cadence.admin.v1.UpdateTaskListPartitionConfigResponseB7Z5github.com/uber/cadence-idl/go/proto/admin/v1;adminv1b\x06proto3' + , + dependencies=[google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,uber_dot_cadence_dot_api_dot_v1_dot_common__pb2.DESCRIPTOR,uber_dot_cadence_dot_api_dot_v1_dot_tasklist__pb2.DESCRIPTOR,uber_dot_cadence_dot_api_dot_v1_dot_visibility__pb2.DESCRIPTOR,uber_dot_cadence_dot_admin_dot_v1_dot_cluster__pb2.DESCRIPTOR,uber_dot_cadence_dot_admin_dot_v1_dot_history__pb2.DESCRIPTOR,uber_dot_cadence_dot_admin_dot_v1_dot_queue__pb2.DESCRIPTOR,uber_dot_cadence_dot_admin_dot_v1_dot_replication__pb2.DESCRIPTOR,]) + + + + +_UPDATETASKLISTPARTITIONCONFIGREQUEST = _descriptor.Descriptor( + name='UpdateTaskListPartitionConfigRequest', + full_name='uber.cadence.admin.v1.UpdateTaskListPartitionConfigRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.admin.v1.UpdateTaskListPartitionConfigRequest.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='task_list', full_name='uber.cadence.admin.v1.UpdateTaskListPartitionConfigRequest.task_list', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='task_list_type', full_name='uber.cadence.admin.v1.UpdateTaskListPartitionConfigRequest.task_list_type', index=2, + number=3, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='partition_config', full_name='uber.cadence.admin.v1.UpdateTaskListPartitionConfigRequest.partition_config', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=386, + serialized_end=621, +) + + +_UPDATETASKLISTPARTITIONCONFIGRESPONSE = _descriptor.Descriptor( + name='UpdateTaskListPartitionConfigResponse', + full_name='uber.cadence.admin.v1.UpdateTaskListPartitionConfigResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=623, + serialized_end=662, +) + + +_DESCRIBEWORKFLOWEXECUTIONREQUEST = _descriptor.Descriptor( + name='DescribeWorkflowExecutionRequest', + full_name='uber.cadence.admin.v1.DescribeWorkflowExecutionRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.admin.v1.DescribeWorkflowExecutionRequest.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution', full_name='uber.cadence.admin.v1.DescribeWorkflowExecutionRequest.workflow_execution', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=664, + serialized_end=782, +) + + +_DESCRIBEWORKFLOWEXECUTIONRESPONSE = _descriptor.Descriptor( + name='DescribeWorkflowExecutionResponse', + full_name='uber.cadence.admin.v1.DescribeWorkflowExecutionResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='shard_id', full_name='uber.cadence.admin.v1.DescribeWorkflowExecutionResponse.shard_id', index=0, + number=1, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='history_addr', full_name='uber.cadence.admin.v1.DescribeWorkflowExecutionResponse.history_addr', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='mutable_state_in_cache', full_name='uber.cadence.admin.v1.DescribeWorkflowExecutionResponse.mutable_state_in_cache', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='mutable_state_in_database', full_name='uber.cadence.admin.v1.DescribeWorkflowExecutionResponse.mutable_state_in_database', index=3, + number=4, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=785, + serialized_end=927, +) + + +_DESCRIBEHISTORYHOSTREQUEST = _descriptor.Descriptor( + name='DescribeHistoryHostRequest', + full_name='uber.cadence.admin.v1.DescribeHistoryHostRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='host_address', full_name='uber.cadence.admin.v1.DescribeHistoryHostRequest.host_address', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='shard_id', full_name='uber.cadence.admin.v1.DescribeHistoryHostRequest.shard_id', index=1, + number=2, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution', full_name='uber.cadence.admin.v1.DescribeHistoryHostRequest.workflow_execution', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='describe_by', full_name='uber.cadence.admin.v1.DescribeHistoryHostRequest.describe_by', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=930, + serialized_end=1087, +) + + +_DESCRIBESHARDDISTRIBUTIONREQUEST = _descriptor.Descriptor( + name='DescribeShardDistributionRequest', + full_name='uber.cadence.admin.v1.DescribeShardDistributionRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='page_size', full_name='uber.cadence.admin.v1.DescribeShardDistributionRequest.page_size', index=0, + number=1, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='page_id', full_name='uber.cadence.admin.v1.DescribeShardDistributionRequest.page_id', index=1, + number=2, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1089, + serialized_end=1159, +) + + +_DESCRIBESHARDDISTRIBUTIONRESPONSE_SHARDSENTRY = _descriptor.Descriptor( + name='ShardsEntry', + full_name='uber.cadence.admin.v1.DescribeShardDistributionResponse.ShardsEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='uber.cadence.admin.v1.DescribeShardDistributionResponse.ShardsEntry.key', index=0, + number=1, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='value', full_name='uber.cadence.admin.v1.DescribeShardDistributionResponse.ShardsEntry.value', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'8\001', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1311, + serialized_end=1356, +) + +_DESCRIBESHARDDISTRIBUTIONRESPONSE = _descriptor.Descriptor( + name='DescribeShardDistributionResponse', + full_name='uber.cadence.admin.v1.DescribeShardDistributionResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='number_of_shards', full_name='uber.cadence.admin.v1.DescribeShardDistributionResponse.number_of_shards', index=0, + number=1, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='shards', full_name='uber.cadence.admin.v1.DescribeShardDistributionResponse.shards', index=1, + number=2, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[_DESCRIBESHARDDISTRIBUTIONRESPONSE_SHARDSENTRY, ], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1162, + serialized_end=1356, +) + + +_DESCRIBEHISTORYHOSTRESPONSE = _descriptor.Descriptor( + name='DescribeHistoryHostResponse', + full_name='uber.cadence.admin.v1.DescribeHistoryHostResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='number_of_shards', full_name='uber.cadence.admin.v1.DescribeHistoryHostResponse.number_of_shards', index=0, + number=1, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='shard_ids', full_name='uber.cadence.admin.v1.DescribeHistoryHostResponse.shard_ids', index=1, + number=2, type=5, cpp_type=1, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='domain_cache', full_name='uber.cadence.admin.v1.DescribeHistoryHostResponse.domain_cache', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='shard_controller_status', full_name='uber.cadence.admin.v1.DescribeHistoryHostResponse.shard_controller_status', index=3, + number=4, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='address', full_name='uber.cadence.admin.v1.DescribeHistoryHostResponse.address', index=4, + number=5, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1359, + serialized_end=1545, +) + + +_CLOSESHARDREQUEST = _descriptor.Descriptor( + name='CloseShardRequest', + full_name='uber.cadence.admin.v1.CloseShardRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='shard_id', full_name='uber.cadence.admin.v1.CloseShardRequest.shard_id', index=0, + number=1, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1547, + serialized_end=1584, +) + + +_CLOSESHARDRESPONSE = _descriptor.Descriptor( + name='CloseShardResponse', + full_name='uber.cadence.admin.v1.CloseShardResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1586, + serialized_end=1606, +) + + +_REMOVETASKREQUEST = _descriptor.Descriptor( + name='RemoveTaskRequest', + full_name='uber.cadence.admin.v1.RemoveTaskRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='shard_id', full_name='uber.cadence.admin.v1.RemoveTaskRequest.shard_id', index=0, + number=1, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='task_type', full_name='uber.cadence.admin.v1.RemoveTaskRequest.task_type', index=1, + number=2, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='task_id', full_name='uber.cadence.admin.v1.RemoveTaskRequest.task_id', index=2, + number=3, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='visibility_time', full_name='uber.cadence.admin.v1.RemoveTaskRequest.visibility_time', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cluster_name', full_name='uber.cadence.admin.v1.RemoveTaskRequest.cluster_name', index=4, + number=5, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1609, + serialized_end=1790, +) + + +_REMOVETASKRESPONSE = _descriptor.Descriptor( + name='RemoveTaskResponse', + full_name='uber.cadence.admin.v1.RemoveTaskResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1792, + serialized_end=1812, +) + + +_RESETQUEUEREQUEST = _descriptor.Descriptor( + name='ResetQueueRequest', + full_name='uber.cadence.admin.v1.ResetQueueRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='shard_id', full_name='uber.cadence.admin.v1.ResetQueueRequest.shard_id', index=0, + number=1, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cluster_name', full_name='uber.cadence.admin.v1.ResetQueueRequest.cluster_name', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='task_type', full_name='uber.cadence.admin.v1.ResetQueueRequest.task_type', index=2, + number=3, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1814, + serialized_end=1925, +) + + +_RESETQUEUERESPONSE = _descriptor.Descriptor( + name='ResetQueueResponse', + full_name='uber.cadence.admin.v1.ResetQueueResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1927, + serialized_end=1947, +) + + +_DESCRIBEQUEUEREQUEST = _descriptor.Descriptor( + name='DescribeQueueRequest', + full_name='uber.cadence.admin.v1.DescribeQueueRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='shard_id', full_name='uber.cadence.admin.v1.DescribeQueueRequest.shard_id', index=0, + number=1, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cluster_name', full_name='uber.cadence.admin.v1.DescribeQueueRequest.cluster_name', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='task_type', full_name='uber.cadence.admin.v1.DescribeQueueRequest.task_type', index=2, + number=3, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1949, + serialized_end=2063, +) + + +_DESCRIBEQUEUERESPONSE = _descriptor.Descriptor( + name='DescribeQueueResponse', + full_name='uber.cadence.admin.v1.DescribeQueueResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='processing_queue_states', full_name='uber.cadence.admin.v1.DescribeQueueResponse.processing_queue_states', index=0, + number=1, type=9, cpp_type=9, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2065, + serialized_end=2121, +) + + +_GETWORKFLOWEXECUTIONRAWHISTORYV2REQUEST = _descriptor.Descriptor( + name='GetWorkflowExecutionRawHistoryV2Request', + full_name='uber.cadence.admin.v1.GetWorkflowExecutionRawHistoryV2Request', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.admin.v1.GetWorkflowExecutionRawHistoryV2Request.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution', full_name='uber.cadence.admin.v1.GetWorkflowExecutionRawHistoryV2Request.workflow_execution', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='start_event', full_name='uber.cadence.admin.v1.GetWorkflowExecutionRawHistoryV2Request.start_event', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='end_event', full_name='uber.cadence.admin.v1.GetWorkflowExecutionRawHistoryV2Request.end_event', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='page_size', full_name='uber.cadence.admin.v1.GetWorkflowExecutionRawHistoryV2Request.page_size', index=4, + number=5, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='next_page_token', full_name='uber.cadence.admin.v1.GetWorkflowExecutionRawHistoryV2Request.next_page_token', index=5, + number=6, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2124, + serialized_end=2419, +) + + +_GETWORKFLOWEXECUTIONRAWHISTORYV2RESPONSE = _descriptor.Descriptor( + name='GetWorkflowExecutionRawHistoryV2Response', + full_name='uber.cadence.admin.v1.GetWorkflowExecutionRawHistoryV2Response', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='next_page_token', full_name='uber.cadence.admin.v1.GetWorkflowExecutionRawHistoryV2Response.next_page_token', index=0, + number=1, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='history_batches', full_name='uber.cadence.admin.v1.GetWorkflowExecutionRawHistoryV2Response.history_batches', index=1, + number=2, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='version_history', full_name='uber.cadence.admin.v1.GetWorkflowExecutionRawHistoryV2Response.version_history', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2422, + serialized_end=2609, +) + + +_GETREPLICATIONMESSAGESREQUEST = _descriptor.Descriptor( + name='GetReplicationMessagesRequest', + full_name='uber.cadence.admin.v1.GetReplicationMessagesRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='tokens', full_name='uber.cadence.admin.v1.GetReplicationMessagesRequest.tokens', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cluster_name', full_name='uber.cadence.admin.v1.GetReplicationMessagesRequest.cluster_name', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2611, + serialized_end=2721, +) + + +_GETREPLICATIONMESSAGESRESPONSE_SHARDMESSAGESENTRY = _descriptor.Descriptor( + name='ShardMessagesEntry', + full_name='uber.cadence.admin.v1.GetReplicationMessagesResponse.ShardMessagesEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='uber.cadence.admin.v1.GetReplicationMessagesResponse.ShardMessagesEntry.key', index=0, + number=1, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='value', full_name='uber.cadence.admin.v1.GetReplicationMessagesResponse.ShardMessagesEntry.value', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'8\001', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2856, + serialized_end=2952, +) + +_GETREPLICATIONMESSAGESRESPONSE = _descriptor.Descriptor( + name='GetReplicationMessagesResponse', + full_name='uber.cadence.admin.v1.GetReplicationMessagesResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='shard_messages', full_name='uber.cadence.admin.v1.GetReplicationMessagesResponse.shard_messages', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[_GETREPLICATIONMESSAGESRESPONSE_SHARDMESSAGESENTRY, ], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2724, + serialized_end=2952, +) + + +_GETDLQREPLICATIONMESSAGESREQUEST = _descriptor.Descriptor( + name='GetDLQReplicationMessagesRequest', + full_name='uber.cadence.admin.v1.GetDLQReplicationMessagesRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='task_infos', full_name='uber.cadence.admin.v1.GetDLQReplicationMessagesRequest.task_infos', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2954, + serialized_end=3052, +) + + +_GETDLQREPLICATIONMESSAGESRESPONSE = _descriptor.Descriptor( + name='GetDLQReplicationMessagesResponse', + full_name='uber.cadence.admin.v1.GetDLQReplicationMessagesResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='replication_tasks', full_name='uber.cadence.admin.v1.GetDLQReplicationMessagesResponse.replication_tasks', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=3054, + serialized_end=3156, +) + + +_GETDOMAINREPLICATIONMESSAGESREQUEST = _descriptor.Descriptor( + name='GetDomainReplicationMessagesRequest', + full_name='uber.cadence.admin.v1.GetDomainReplicationMessagesRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='last_retrieved_message_id', full_name='uber.cadence.admin.v1.GetDomainReplicationMessagesRequest.last_retrieved_message_id', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='last_processed_message_id', full_name='uber.cadence.admin.v1.GetDomainReplicationMessagesRequest.last_processed_message_id', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cluster_name', full_name='uber.cadence.admin.v1.GetDomainReplicationMessagesRequest.cluster_name', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=3159, + serialized_end=3346, +) + + +_GETDOMAINREPLICATIONMESSAGESRESPONSE = _descriptor.Descriptor( + name='GetDomainReplicationMessagesResponse', + full_name='uber.cadence.admin.v1.GetDomainReplicationMessagesResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='messages', full_name='uber.cadence.admin.v1.GetDomainReplicationMessagesResponse.messages', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=3348, + serialized_end=3448, +) + + +_REAPPLYEVENTSREQUEST = _descriptor.Descriptor( + name='ReapplyEventsRequest', + full_name='uber.cadence.admin.v1.ReapplyEventsRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.admin.v1.ReapplyEventsRequest.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution', full_name='uber.cadence.admin.v1.ReapplyEventsRequest.workflow_execution', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='events', full_name='uber.cadence.admin.v1.ReapplyEventsRequest.events', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=3451, + serialized_end=3604, +) + + +_REAPPLYEVENTSRESPONSE = _descriptor.Descriptor( + name='ReapplyEventsResponse', + full_name='uber.cadence.admin.v1.ReapplyEventsResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=3606, + serialized_end=3629, +) + + +_ADDSEARCHATTRIBUTEREQUEST_SEARCHATTRIBUTEENTRY = _descriptor.Descriptor( + name='SearchAttributeEntry', + full_name='uber.cadence.admin.v1.AddSearchAttributeRequest.SearchAttributeEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='uber.cadence.admin.v1.AddSearchAttributeRequest.SearchAttributeEntry.key', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='value', full_name='uber.cadence.admin.v1.AddSearchAttributeRequest.SearchAttributeEntry.value', index=1, + number=2, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'8\001', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=3782, + serialized_end=3875, +) + +_ADDSEARCHATTRIBUTEREQUEST = _descriptor.Descriptor( + name='AddSearchAttributeRequest', + full_name='uber.cadence.admin.v1.AddSearchAttributeRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='search_attribute', full_name='uber.cadence.admin.v1.AddSearchAttributeRequest.search_attribute', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='security_token', full_name='uber.cadence.admin.v1.AddSearchAttributeRequest.security_token', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[_ADDSEARCHATTRIBUTEREQUEST_SEARCHATTRIBUTEENTRY, ], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=3632, + serialized_end=3875, +) + + +_ADDSEARCHATTRIBUTERESPONSE = _descriptor.Descriptor( + name='AddSearchAttributeResponse', + full_name='uber.cadence.admin.v1.AddSearchAttributeResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=3877, + serialized_end=3905, +) + + +_DESCRIBECLUSTERREQUEST = _descriptor.Descriptor( + name='DescribeClusterRequest', + full_name='uber.cadence.admin.v1.DescribeClusterRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=3907, + serialized_end=3931, +) + + +_DESCRIBECLUSTERRESPONSE_PERSISTENCEINFOENTRY = _descriptor.Descriptor( + name='PersistenceInfoEntry', + full_name='uber.cadence.admin.v1.DescribeClusterResponse.PersistenceInfoEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='uber.cadence.admin.v1.DescribeClusterResponse.PersistenceInfoEntry.key', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='value', full_name='uber.cadence.admin.v1.DescribeClusterResponse.PersistenceInfoEntry.value', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'8\001', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=4201, + serialized_end=4295, +) + +_DESCRIBECLUSTERRESPONSE = _descriptor.Descriptor( + name='DescribeClusterResponse', + full_name='uber.cadence.admin.v1.DescribeClusterResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='supported_client_versions', full_name='uber.cadence.admin.v1.DescribeClusterResponse.supported_client_versions', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='membership_info', full_name='uber.cadence.admin.v1.DescribeClusterResponse.membership_info', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='persistence_info', full_name='uber.cadence.admin.v1.DescribeClusterResponse.persistence_info', index=2, + number=3, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[_DESCRIBECLUSTERRESPONSE_PERSISTENCEINFOENTRY, ], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=3934, + serialized_end=4295, +) + + +_COUNTDLQMESSAGESREQUEST = _descriptor.Descriptor( + name='CountDLQMessagesRequest', + full_name='uber.cadence.admin.v1.CountDLQMessagesRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='force_fetch', full_name='uber.cadence.admin.v1.CountDLQMessagesRequest.force_fetch', index=0, + number=1, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=4297, + serialized_end=4343, +) + + +_COUNTDLQMESSAGESRESPONSE = _descriptor.Descriptor( + name='CountDLQMessagesResponse', + full_name='uber.cadence.admin.v1.CountDLQMessagesResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='history', full_name='uber.cadence.admin.v1.CountDLQMessagesResponse.history', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.admin.v1.CountDLQMessagesResponse.domain', index=1, + number=2, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=4345, + serialized_end=4449, +) + + +_READDLQMESSAGESREQUEST = _descriptor.Descriptor( + name='ReadDLQMessagesRequest', + full_name='uber.cadence.admin.v1.ReadDLQMessagesRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='type', full_name='uber.cadence.admin.v1.ReadDLQMessagesRequest.type', index=0, + number=1, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='shard_id', full_name='uber.cadence.admin.v1.ReadDLQMessagesRequest.shard_id', index=1, + number=2, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='source_cluster', full_name='uber.cadence.admin.v1.ReadDLQMessagesRequest.source_cluster', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='inclusive_end_message_id', full_name='uber.cadence.admin.v1.ReadDLQMessagesRequest.inclusive_end_message_id', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='page_size', full_name='uber.cadence.admin.v1.ReadDLQMessagesRequest.page_size', index=4, + number=5, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='next_page_token', full_name='uber.cadence.admin.v1.ReadDLQMessagesRequest.next_page_token', index=5, + number=6, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=4452, + serialized_end=4671, +) + + +_READDLQMESSAGESRESPONSE = _descriptor.Descriptor( + name='ReadDLQMessagesResponse', + full_name='uber.cadence.admin.v1.ReadDLQMessagesResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='type', full_name='uber.cadence.admin.v1.ReadDLQMessagesResponse.type', index=0, + number=1, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='replication_tasks', full_name='uber.cadence.admin.v1.ReadDLQMessagesResponse.replication_tasks', index=1, + number=2, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='replication_tasks_info', full_name='uber.cadence.admin.v1.ReadDLQMessagesResponse.replication_tasks_info', index=2, + number=3, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='next_page_token', full_name='uber.cadence.admin.v1.ReadDLQMessagesResponse.next_page_token', index=3, + number=4, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=4674, + serialized_end=4913, +) + + +_PURGEDLQMESSAGESREQUEST = _descriptor.Descriptor( + name='PurgeDLQMessagesRequest', + full_name='uber.cadence.admin.v1.PurgeDLQMessagesRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='type', full_name='uber.cadence.admin.v1.PurgeDLQMessagesRequest.type', index=0, + number=1, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='shard_id', full_name='uber.cadence.admin.v1.PurgeDLQMessagesRequest.shard_id', index=1, + number=2, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='source_cluster', full_name='uber.cadence.admin.v1.PurgeDLQMessagesRequest.source_cluster', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='inclusive_end_message_id', full_name='uber.cadence.admin.v1.PurgeDLQMessagesRequest.inclusive_end_message_id', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=4916, + serialized_end=5092, +) + + +_PURGEDLQMESSAGESRESPONSE = _descriptor.Descriptor( + name='PurgeDLQMessagesResponse', + full_name='uber.cadence.admin.v1.PurgeDLQMessagesResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=5094, + serialized_end=5120, +) + + +_MERGEDLQMESSAGESREQUEST = _descriptor.Descriptor( + name='MergeDLQMessagesRequest', + full_name='uber.cadence.admin.v1.MergeDLQMessagesRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='type', full_name='uber.cadence.admin.v1.MergeDLQMessagesRequest.type', index=0, + number=1, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='shard_id', full_name='uber.cadence.admin.v1.MergeDLQMessagesRequest.shard_id', index=1, + number=2, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='source_cluster', full_name='uber.cadence.admin.v1.MergeDLQMessagesRequest.source_cluster', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='inclusive_end_message_id', full_name='uber.cadence.admin.v1.MergeDLQMessagesRequest.inclusive_end_message_id', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='page_size', full_name='uber.cadence.admin.v1.MergeDLQMessagesRequest.page_size', index=4, + number=5, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='next_page_token', full_name='uber.cadence.admin.v1.MergeDLQMessagesRequest.next_page_token', index=5, + number=6, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=5123, + serialized_end=5343, +) + + +_MERGEDLQMESSAGESRESPONSE = _descriptor.Descriptor( + name='MergeDLQMessagesResponse', + full_name='uber.cadence.admin.v1.MergeDLQMessagesResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='next_page_token', full_name='uber.cadence.admin.v1.MergeDLQMessagesResponse.next_page_token', index=0, + number=1, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=5345, + serialized_end=5396, +) + + +_REFRESHWORKFLOWTASKSREQUEST = _descriptor.Descriptor( + name='RefreshWorkflowTasksRequest', + full_name='uber.cadence.admin.v1.RefreshWorkflowTasksRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.admin.v1.RefreshWorkflowTasksRequest.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution', full_name='uber.cadence.admin.v1.RefreshWorkflowTasksRequest.workflow_execution', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=5398, + serialized_end=5511, +) + + +_REFRESHWORKFLOWTASKSRESPONSE = _descriptor.Descriptor( + name='RefreshWorkflowTasksResponse', + full_name='uber.cadence.admin.v1.RefreshWorkflowTasksResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=5513, + serialized_end=5543, +) + + +_RESENDREPLICATIONTASKSREQUEST = _descriptor.Descriptor( + name='ResendReplicationTasksRequest', + full_name='uber.cadence.admin.v1.ResendReplicationTasksRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain_id', full_name='uber.cadence.admin.v1.ResendReplicationTasksRequest.domain_id', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution', full_name='uber.cadence.admin.v1.ResendReplicationTasksRequest.workflow_execution', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='remote_cluster', full_name='uber.cadence.admin.v1.ResendReplicationTasksRequest.remote_cluster', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='start_event', full_name='uber.cadence.admin.v1.ResendReplicationTasksRequest.start_event', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='end_event', full_name='uber.cadence.admin.v1.ResendReplicationTasksRequest.end_event', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=5546, + serialized_end=5814, +) + + +_RESENDREPLICATIONTASKSRESPONSE = _descriptor.Descriptor( + name='ResendReplicationTasksResponse', + full_name='uber.cadence.admin.v1.ResendReplicationTasksResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=5816, + serialized_end=5848, +) + + +_GETCROSSCLUSTERTASKSREQUEST = _descriptor.Descriptor( + name='GetCrossClusterTasksRequest', + full_name='uber.cadence.admin.v1.GetCrossClusterTasksRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='shard_ids', full_name='uber.cadence.admin.v1.GetCrossClusterTasksRequest.shard_ids', index=0, + number=1, type=5, cpp_type=1, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='target_cluster', full_name='uber.cadence.admin.v1.GetCrossClusterTasksRequest.target_cluster', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=5850, + serialized_end=5922, +) + + +_GETCROSSCLUSTERTASKSRESPONSE_TASKSBYSHARDENTRY = _descriptor.Descriptor( + name='TasksByShardEntry', + full_name='uber.cadence.admin.v1.GetCrossClusterTasksResponse.TasksByShardEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='uber.cadence.admin.v1.GetCrossClusterTasksResponse.TasksByShardEntry.key', index=0, + number=1, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='value', full_name='uber.cadence.admin.v1.GetCrossClusterTasksResponse.TasksByShardEntry.value', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'8\001', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=6160, + serialized_end=6260, +) + +_GETCROSSCLUSTERTASKSRESPONSE_FAILEDCAUSEBYSHARDENTRY = _descriptor.Descriptor( + name='FailedCauseByShardEntry', + full_name='uber.cadence.admin.v1.GetCrossClusterTasksResponse.FailedCauseByShardEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='uber.cadence.admin.v1.GetCrossClusterTasksResponse.FailedCauseByShardEntry.key', index=0, + number=1, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='value', full_name='uber.cadence.admin.v1.GetCrossClusterTasksResponse.FailedCauseByShardEntry.value', index=1, + number=2, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'8\001', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=6262, + serialized_end=6362, +) + +_GETCROSSCLUSTERTASKSRESPONSE = _descriptor.Descriptor( + name='GetCrossClusterTasksResponse', + full_name='uber.cadence.admin.v1.GetCrossClusterTasksResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='tasks_by_shard', full_name='uber.cadence.admin.v1.GetCrossClusterTasksResponse.tasks_by_shard', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='failed_cause_by_shard', full_name='uber.cadence.admin.v1.GetCrossClusterTasksResponse.failed_cause_by_shard', index=1, + number=2, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[_GETCROSSCLUSTERTASKSRESPONSE_TASKSBYSHARDENTRY, _GETCROSSCLUSTERTASKSRESPONSE_FAILEDCAUSEBYSHARDENTRY, ], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=5925, + serialized_end=6362, +) + + +_RESPONDCROSSCLUSTERTASKSCOMPLETEDREQUEST = _descriptor.Descriptor( + name='RespondCrossClusterTasksCompletedRequest', + full_name='uber.cadence.admin.v1.RespondCrossClusterTasksCompletedRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='shard_id', full_name='uber.cadence.admin.v1.RespondCrossClusterTasksCompletedRequest.shard_id', index=0, + number=1, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='target_cluster', full_name='uber.cadence.admin.v1.RespondCrossClusterTasksCompletedRequest.target_cluster', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='task_responses', full_name='uber.cadence.admin.v1.RespondCrossClusterTasksCompletedRequest.task_responses', index=2, + number=3, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='fetch_new_tasks', full_name='uber.cadence.admin.v1.RespondCrossClusterTasksCompletedRequest.fetch_new_tasks', index=3, + number=4, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=6365, + serialized_end=6547, +) + + +_RESPONDCROSSCLUSTERTASKSCOMPLETEDRESPONSE = _descriptor.Descriptor( + name='RespondCrossClusterTasksCompletedResponse', + full_name='uber.cadence.admin.v1.RespondCrossClusterTasksCompletedResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='tasks', full_name='uber.cadence.admin.v1.RespondCrossClusterTasksCompletedResponse.tasks', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=6549, + serialized_end=6656, +) + + +_GETDYNAMICCONFIGREQUEST = _descriptor.Descriptor( + name='GetDynamicConfigRequest', + full_name='uber.cadence.admin.v1.GetDynamicConfigRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='config_name', full_name='uber.cadence.admin.v1.GetDynamicConfigRequest.config_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='filters', full_name='uber.cadence.admin.v1.GetDynamicConfigRequest.filters', index=1, + number=2, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=6658, + serialized_end=6765, +) + + +_GETDYNAMICCONFIGRESPONSE = _descriptor.Descriptor( + name='GetDynamicConfigResponse', + full_name='uber.cadence.admin.v1.GetDynamicConfigResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='value', full_name='uber.cadence.admin.v1.GetDynamicConfigResponse.value', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=6767, + serialized_end=6839, +) + + +_UPDATEDYNAMICCONFIGREQUEST = _descriptor.Descriptor( + name='UpdateDynamicConfigRequest', + full_name='uber.cadence.admin.v1.UpdateDynamicConfigRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='config_name', full_name='uber.cadence.admin.v1.UpdateDynamicConfigRequest.config_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='config_values', full_name='uber.cadence.admin.v1.UpdateDynamicConfigRequest.config_values', index=1, + number=2, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=6841, + serialized_end=6956, +) + + +_UPDATEDYNAMICCONFIGRESPONSE = _descriptor.Descriptor( + name='UpdateDynamicConfigResponse', + full_name='uber.cadence.admin.v1.UpdateDynamicConfigResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=6958, + serialized_end=6987, +) + + +_RESTOREDYNAMICCONFIGREQUEST = _descriptor.Descriptor( + name='RestoreDynamicConfigRequest', + full_name='uber.cadence.admin.v1.RestoreDynamicConfigRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='config_name', full_name='uber.cadence.admin.v1.RestoreDynamicConfigRequest.config_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='filters', full_name='uber.cadence.admin.v1.RestoreDynamicConfigRequest.filters', index=1, + number=2, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=6989, + serialized_end=7100, +) + + +_RESTOREDYNAMICCONFIGRESPONSE = _descriptor.Descriptor( + name='RestoreDynamicConfigResponse', + full_name='uber.cadence.admin.v1.RestoreDynamicConfigResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=7102, + serialized_end=7132, +) + + +_DELETEWORKFLOWREQUEST = _descriptor.Descriptor( + name='DeleteWorkflowRequest', + full_name='uber.cadence.admin.v1.DeleteWorkflowRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.admin.v1.DeleteWorkflowRequest.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution', full_name='uber.cadence.admin.v1.DeleteWorkflowRequest.workflow_execution', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=7134, + serialized_end=7241, +) + + +_DELETEWORKFLOWRESPONSE = _descriptor.Descriptor( + name='DeleteWorkflowResponse', + full_name='uber.cadence.admin.v1.DeleteWorkflowResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='history_deleted', full_name='uber.cadence.admin.v1.DeleteWorkflowResponse.history_deleted', index=0, + number=1, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='executions_deleted', full_name='uber.cadence.admin.v1.DeleteWorkflowResponse.executions_deleted', index=1, + number=2, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='visibility_deleted', full_name='uber.cadence.admin.v1.DeleteWorkflowResponse.visibility_deleted', index=2, + number=3, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=7243, + serialized_end=7348, +) + + +_MAINTAINCORRUPTWORKFLOWREQUEST = _descriptor.Descriptor( + name='MaintainCorruptWorkflowRequest', + full_name='uber.cadence.admin.v1.MaintainCorruptWorkflowRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.admin.v1.MaintainCorruptWorkflowRequest.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution', full_name='uber.cadence.admin.v1.MaintainCorruptWorkflowRequest.workflow_execution', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=7350, + serialized_end=7466, +) + + +_MAINTAINCORRUPTWORKFLOWRESPONSE = _descriptor.Descriptor( + name='MaintainCorruptWorkflowResponse', + full_name='uber.cadence.admin.v1.MaintainCorruptWorkflowResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='history_deleted', full_name='uber.cadence.admin.v1.MaintainCorruptWorkflowResponse.history_deleted', index=0, + number=1, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='executions_deleted', full_name='uber.cadence.admin.v1.MaintainCorruptWorkflowResponse.executions_deleted', index=1, + number=2, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='visibility_deleted', full_name='uber.cadence.admin.v1.MaintainCorruptWorkflowResponse.visibility_deleted', index=2, + number=3, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=7468, + serialized_end=7582, +) + + +_LISTDYNAMICCONFIGREQUEST = _descriptor.Descriptor( + name='ListDynamicConfigRequest', + full_name='uber.cadence.admin.v1.ListDynamicConfigRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='config_name', full_name='uber.cadence.admin.v1.ListDynamicConfigRequest.config_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=7584, + serialized_end=7631, +) + + +_LISTDYNAMICCONFIGRESPONSE = _descriptor.Descriptor( + name='ListDynamicConfigResponse', + full_name='uber.cadence.admin.v1.ListDynamicConfigResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='entries', full_name='uber.cadence.admin.v1.ListDynamicConfigResponse.entries', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=7633, + serialized_end=7720, +) + + +_DYNAMICCONFIGENTRY = _descriptor.Descriptor( + name='DynamicConfigEntry', + full_name='uber.cadence.admin.v1.DynamicConfigEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='name', full_name='uber.cadence.admin.v1.DynamicConfigEntry.name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='values', full_name='uber.cadence.admin.v1.DynamicConfigEntry.values', index=1, + number=3, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=7722, + serialized_end=7815, +) + + +_DYNAMICCONFIGVALUE = _descriptor.Descriptor( + name='DynamicConfigValue', + full_name='uber.cadence.admin.v1.DynamicConfigValue', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='value', full_name='uber.cadence.admin.v1.DynamicConfigValue.value', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='filters', full_name='uber.cadence.admin.v1.DynamicConfigValue.filters', index=1, + number=2, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=7817, + serialized_end=7944, +) + + +_DYNAMICCONFIGFILTER = _descriptor.Descriptor( + name='DynamicConfigFilter', + full_name='uber.cadence.admin.v1.DynamicConfigFilter', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='name', full_name='uber.cadence.admin.v1.DynamicConfigFilter.name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='value', full_name='uber.cadence.admin.v1.DynamicConfigFilter.value', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=7946, + serialized_end=8027, +) + + +_GETGLOBALISOLATIONGROUPSREQUEST = _descriptor.Descriptor( + name='GetGlobalIsolationGroupsRequest', + full_name='uber.cadence.admin.v1.GetGlobalIsolationGroupsRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=8029, + serialized_end=8062, +) + + +_GETGLOBALISOLATIONGROUPSRESPONSE = _descriptor.Descriptor( + name='GetGlobalIsolationGroupsResponse', + full_name='uber.cadence.admin.v1.GetGlobalIsolationGroupsResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='isolation_groups', full_name='uber.cadence.admin.v1.GetGlobalIsolationGroupsResponse.isolation_groups', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=8064, + serialized_end=8174, +) + + +_UPDATEGLOBALISOLATIONGROUPSREQUEST = _descriptor.Descriptor( + name='UpdateGlobalIsolationGroupsRequest', + full_name='uber.cadence.admin.v1.UpdateGlobalIsolationGroupsRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='isolation_groups', full_name='uber.cadence.admin.v1.UpdateGlobalIsolationGroupsRequest.isolation_groups', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=8176, + serialized_end=8288, +) + + +_UPDATEGLOBALISOLATIONGROUPSRESPONSE = _descriptor.Descriptor( + name='UpdateGlobalIsolationGroupsResponse', + full_name='uber.cadence.admin.v1.UpdateGlobalIsolationGroupsResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=8290, + serialized_end=8327, +) + + +_GETDOMAINISOLATIONGROUPSREQUEST = _descriptor.Descriptor( + name='GetDomainIsolationGroupsRequest', + full_name='uber.cadence.admin.v1.GetDomainIsolationGroupsRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.admin.v1.GetDomainIsolationGroupsRequest.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=8329, + serialized_end=8378, +) + + +_GETDOMAINISOLATIONGROUPSRESPONSE = _descriptor.Descriptor( + name='GetDomainIsolationGroupsResponse', + full_name='uber.cadence.admin.v1.GetDomainIsolationGroupsResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='isolation_groups', full_name='uber.cadence.admin.v1.GetDomainIsolationGroupsResponse.isolation_groups', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=8380, + serialized_end=8490, +) + + +_UPDATEDOMAINISOLATIONGROUPSREQUEST = _descriptor.Descriptor( + name='UpdateDomainIsolationGroupsRequest', + full_name='uber.cadence.admin.v1.UpdateDomainIsolationGroupsRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.admin.v1.UpdateDomainIsolationGroupsRequest.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='isolation_groups', full_name='uber.cadence.admin.v1.UpdateDomainIsolationGroupsRequest.isolation_groups', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=8493, + serialized_end=8621, +) + + +_UPDATEDOMAINISOLATIONGROUPSRESPONSE = _descriptor.Descriptor( + name='UpdateDomainIsolationGroupsResponse', + full_name='uber.cadence.admin.v1.UpdateDomainIsolationGroupsResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=8623, + serialized_end=8660, +) + + +_GETDOMAINASYNCWORKFLOWCONFIGURATONREQUEST = _descriptor.Descriptor( + name='GetDomainAsyncWorkflowConfiguratonRequest', + full_name='uber.cadence.admin.v1.GetDomainAsyncWorkflowConfiguratonRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.admin.v1.GetDomainAsyncWorkflowConfiguratonRequest.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=8662, + serialized_end=8721, +) + + +_GETDOMAINASYNCWORKFLOWCONFIGURATONRESPONSE = _descriptor.Descriptor( + name='GetDomainAsyncWorkflowConfiguratonResponse', + full_name='uber.cadence.admin.v1.GetDomainAsyncWorkflowConfiguratonResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='configuration', full_name='uber.cadence.admin.v1.GetDomainAsyncWorkflowConfiguratonResponse.configuration', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=8723, + serialized_end=8839, +) + + +_UPDATEDOMAINASYNCWORKFLOWCONFIGURATONREQUEST = _descriptor.Descriptor( + name='UpdateDomainAsyncWorkflowConfiguratonRequest', + full_name='uber.cadence.admin.v1.UpdateDomainAsyncWorkflowConfiguratonRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.admin.v1.UpdateDomainAsyncWorkflowConfiguratonRequest.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='configuration', full_name='uber.cadence.admin.v1.UpdateDomainAsyncWorkflowConfiguratonRequest.configuration', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=8842, + serialized_end=8976, +) + + +_UPDATEDOMAINASYNCWORKFLOWCONFIGURATONRESPONSE = _descriptor.Descriptor( + name='UpdateDomainAsyncWorkflowConfiguratonResponse', + full_name='uber.cadence.admin.v1.UpdateDomainAsyncWorkflowConfiguratonResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=8978, + serialized_end=9025, +) + +_UPDATETASKLISTPARTITIONCONFIGREQUEST.fields_by_name['task_list'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_tasklist__pb2._TASKLIST +_UPDATETASKLISTPARTITIONCONFIGREQUEST.fields_by_name['task_list_type'].enum_type = uber_dot_cadence_dot_api_dot_v1_dot_tasklist__pb2._TASKLISTTYPE +_UPDATETASKLISTPARTITIONCONFIGREQUEST.fields_by_name['partition_config'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_tasklist__pb2._TASKLISTPARTITIONCONFIG +_DESCRIBEWORKFLOWEXECUTIONREQUEST.fields_by_name['workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_DESCRIBEHISTORYHOSTREQUEST.fields_by_name['workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_DESCRIBEHISTORYHOSTREQUEST.oneofs_by_name['describe_by'].fields.append( + _DESCRIBEHISTORYHOSTREQUEST.fields_by_name['host_address']) +_DESCRIBEHISTORYHOSTREQUEST.fields_by_name['host_address'].containing_oneof = _DESCRIBEHISTORYHOSTREQUEST.oneofs_by_name['describe_by'] +_DESCRIBEHISTORYHOSTREQUEST.oneofs_by_name['describe_by'].fields.append( + _DESCRIBEHISTORYHOSTREQUEST.fields_by_name['shard_id']) +_DESCRIBEHISTORYHOSTREQUEST.fields_by_name['shard_id'].containing_oneof = _DESCRIBEHISTORYHOSTREQUEST.oneofs_by_name['describe_by'] +_DESCRIBEHISTORYHOSTREQUEST.oneofs_by_name['describe_by'].fields.append( + _DESCRIBEHISTORYHOSTREQUEST.fields_by_name['workflow_execution']) +_DESCRIBEHISTORYHOSTREQUEST.fields_by_name['workflow_execution'].containing_oneof = _DESCRIBEHISTORYHOSTREQUEST.oneofs_by_name['describe_by'] +_DESCRIBESHARDDISTRIBUTIONRESPONSE_SHARDSENTRY.containing_type = _DESCRIBESHARDDISTRIBUTIONRESPONSE +_DESCRIBESHARDDISTRIBUTIONRESPONSE.fields_by_name['shards'].message_type = _DESCRIBESHARDDISTRIBUTIONRESPONSE_SHARDSENTRY +_DESCRIBEHISTORYHOSTRESPONSE.fields_by_name['domain_cache'].message_type = uber_dot_cadence_dot_admin_dot_v1_dot_cluster__pb2._DOMAINCACHEINFO +_REMOVETASKREQUEST.fields_by_name['task_type'].enum_type = uber_dot_cadence_dot_admin_dot_v1_dot_queue__pb2._TASKTYPE +_REMOVETASKREQUEST.fields_by_name['visibility_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_RESETQUEUEREQUEST.fields_by_name['task_type'].enum_type = uber_dot_cadence_dot_admin_dot_v1_dot_queue__pb2._TASKTYPE +_DESCRIBEQUEUEREQUEST.fields_by_name['task_type'].enum_type = uber_dot_cadence_dot_admin_dot_v1_dot_queue__pb2._TASKTYPE +_GETWORKFLOWEXECUTIONRAWHISTORYV2REQUEST.fields_by_name['workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_GETWORKFLOWEXECUTIONRAWHISTORYV2REQUEST.fields_by_name['start_event'].message_type = uber_dot_cadence_dot_admin_dot_v1_dot_history__pb2._VERSIONHISTORYITEM +_GETWORKFLOWEXECUTIONRAWHISTORYV2REQUEST.fields_by_name['end_event'].message_type = uber_dot_cadence_dot_admin_dot_v1_dot_history__pb2._VERSIONHISTORYITEM +_GETWORKFLOWEXECUTIONRAWHISTORYV2RESPONSE.fields_by_name['history_batches'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._DATABLOB +_GETWORKFLOWEXECUTIONRAWHISTORYV2RESPONSE.fields_by_name['version_history'].message_type = uber_dot_cadence_dot_admin_dot_v1_dot_history__pb2._VERSIONHISTORY +_GETREPLICATIONMESSAGESREQUEST.fields_by_name['tokens'].message_type = uber_dot_cadence_dot_admin_dot_v1_dot_replication__pb2._REPLICATIONTOKEN +_GETREPLICATIONMESSAGESRESPONSE_SHARDMESSAGESENTRY.fields_by_name['value'].message_type = uber_dot_cadence_dot_admin_dot_v1_dot_replication__pb2._REPLICATIONMESSAGES +_GETREPLICATIONMESSAGESRESPONSE_SHARDMESSAGESENTRY.containing_type = _GETREPLICATIONMESSAGESRESPONSE +_GETREPLICATIONMESSAGESRESPONSE.fields_by_name['shard_messages'].message_type = _GETREPLICATIONMESSAGESRESPONSE_SHARDMESSAGESENTRY +_GETDLQREPLICATIONMESSAGESREQUEST.fields_by_name['task_infos'].message_type = uber_dot_cadence_dot_admin_dot_v1_dot_replication__pb2._REPLICATIONTASKINFO +_GETDLQREPLICATIONMESSAGESRESPONSE.fields_by_name['replication_tasks'].message_type = uber_dot_cadence_dot_admin_dot_v1_dot_replication__pb2._REPLICATIONTASK +_GETDOMAINREPLICATIONMESSAGESREQUEST.fields_by_name['last_retrieved_message_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_GETDOMAINREPLICATIONMESSAGESREQUEST.fields_by_name['last_processed_message_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_GETDOMAINREPLICATIONMESSAGESRESPONSE.fields_by_name['messages'].message_type = uber_dot_cadence_dot_admin_dot_v1_dot_replication__pb2._REPLICATIONMESSAGES +_REAPPLYEVENTSREQUEST.fields_by_name['workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_REAPPLYEVENTSREQUEST.fields_by_name['events'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._DATABLOB +_ADDSEARCHATTRIBUTEREQUEST_SEARCHATTRIBUTEENTRY.fields_by_name['value'].enum_type = uber_dot_cadence_dot_api_dot_v1_dot_visibility__pb2._INDEXEDVALUETYPE +_ADDSEARCHATTRIBUTEREQUEST_SEARCHATTRIBUTEENTRY.containing_type = _ADDSEARCHATTRIBUTEREQUEST +_ADDSEARCHATTRIBUTEREQUEST.fields_by_name['search_attribute'].message_type = _ADDSEARCHATTRIBUTEREQUEST_SEARCHATTRIBUTEENTRY +_DESCRIBECLUSTERRESPONSE_PERSISTENCEINFOENTRY.fields_by_name['value'].message_type = uber_dot_cadence_dot_admin_dot_v1_dot_cluster__pb2._PERSISTENCEINFO +_DESCRIBECLUSTERRESPONSE_PERSISTENCEINFOENTRY.containing_type = _DESCRIBECLUSTERRESPONSE +_DESCRIBECLUSTERRESPONSE.fields_by_name['supported_client_versions'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._SUPPORTEDCLIENTVERSIONS +_DESCRIBECLUSTERRESPONSE.fields_by_name['membership_info'].message_type = uber_dot_cadence_dot_admin_dot_v1_dot_cluster__pb2._MEMBERSHIPINFO +_DESCRIBECLUSTERRESPONSE.fields_by_name['persistence_info'].message_type = _DESCRIBECLUSTERRESPONSE_PERSISTENCEINFOENTRY +_COUNTDLQMESSAGESRESPONSE.fields_by_name['history'].message_type = uber_dot_cadence_dot_admin_dot_v1_dot_replication__pb2._HISTORYDLQCOUNTENTRY +_READDLQMESSAGESREQUEST.fields_by_name['type'].enum_type = uber_dot_cadence_dot_admin_dot_v1_dot_replication__pb2._DLQTYPE +_READDLQMESSAGESREQUEST.fields_by_name['inclusive_end_message_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_READDLQMESSAGESRESPONSE.fields_by_name['type'].enum_type = uber_dot_cadence_dot_admin_dot_v1_dot_replication__pb2._DLQTYPE +_READDLQMESSAGESRESPONSE.fields_by_name['replication_tasks'].message_type = uber_dot_cadence_dot_admin_dot_v1_dot_replication__pb2._REPLICATIONTASK +_READDLQMESSAGESRESPONSE.fields_by_name['replication_tasks_info'].message_type = uber_dot_cadence_dot_admin_dot_v1_dot_replication__pb2._REPLICATIONTASKINFO +_PURGEDLQMESSAGESREQUEST.fields_by_name['type'].enum_type = uber_dot_cadence_dot_admin_dot_v1_dot_replication__pb2._DLQTYPE +_PURGEDLQMESSAGESREQUEST.fields_by_name['inclusive_end_message_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_MERGEDLQMESSAGESREQUEST.fields_by_name['type'].enum_type = uber_dot_cadence_dot_admin_dot_v1_dot_replication__pb2._DLQTYPE +_MERGEDLQMESSAGESREQUEST.fields_by_name['inclusive_end_message_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_REFRESHWORKFLOWTASKSREQUEST.fields_by_name['workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_RESENDREPLICATIONTASKSREQUEST.fields_by_name['workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_RESENDREPLICATIONTASKSREQUEST.fields_by_name['start_event'].message_type = uber_dot_cadence_dot_admin_dot_v1_dot_history__pb2._VERSIONHISTORYITEM +_RESENDREPLICATIONTASKSREQUEST.fields_by_name['end_event'].message_type = uber_dot_cadence_dot_admin_dot_v1_dot_history__pb2._VERSIONHISTORYITEM +_GETCROSSCLUSTERTASKSRESPONSE_TASKSBYSHARDENTRY.fields_by_name['value'].message_type = uber_dot_cadence_dot_admin_dot_v1_dot_queue__pb2._CROSSCLUSTERTASKREQUESTS +_GETCROSSCLUSTERTASKSRESPONSE_TASKSBYSHARDENTRY.containing_type = _GETCROSSCLUSTERTASKSRESPONSE +_GETCROSSCLUSTERTASKSRESPONSE_FAILEDCAUSEBYSHARDENTRY.fields_by_name['value'].enum_type = uber_dot_cadence_dot_admin_dot_v1_dot_queue__pb2._GETTASKFAILEDCAUSE +_GETCROSSCLUSTERTASKSRESPONSE_FAILEDCAUSEBYSHARDENTRY.containing_type = _GETCROSSCLUSTERTASKSRESPONSE +_GETCROSSCLUSTERTASKSRESPONSE.fields_by_name['tasks_by_shard'].message_type = _GETCROSSCLUSTERTASKSRESPONSE_TASKSBYSHARDENTRY +_GETCROSSCLUSTERTASKSRESPONSE.fields_by_name['failed_cause_by_shard'].message_type = _GETCROSSCLUSTERTASKSRESPONSE_FAILEDCAUSEBYSHARDENTRY +_RESPONDCROSSCLUSTERTASKSCOMPLETEDREQUEST.fields_by_name['task_responses'].message_type = uber_dot_cadence_dot_admin_dot_v1_dot_queue__pb2._CROSSCLUSTERTASKRESPONSE +_RESPONDCROSSCLUSTERTASKSCOMPLETEDRESPONSE.fields_by_name['tasks'].message_type = uber_dot_cadence_dot_admin_dot_v1_dot_queue__pb2._CROSSCLUSTERTASKREQUESTS +_GETDYNAMICCONFIGREQUEST.fields_by_name['filters'].message_type = _DYNAMICCONFIGFILTER +_GETDYNAMICCONFIGRESPONSE.fields_by_name['value'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._DATABLOB +_UPDATEDYNAMICCONFIGREQUEST.fields_by_name['config_values'].message_type = _DYNAMICCONFIGVALUE +_RESTOREDYNAMICCONFIGREQUEST.fields_by_name['filters'].message_type = _DYNAMICCONFIGFILTER +_DELETEWORKFLOWREQUEST.fields_by_name['workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_MAINTAINCORRUPTWORKFLOWREQUEST.fields_by_name['workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_LISTDYNAMICCONFIGRESPONSE.fields_by_name['entries'].message_type = _DYNAMICCONFIGENTRY +_DYNAMICCONFIGENTRY.fields_by_name['values'].message_type = _DYNAMICCONFIGVALUE +_DYNAMICCONFIGVALUE.fields_by_name['value'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._DATABLOB +_DYNAMICCONFIGVALUE.fields_by_name['filters'].message_type = _DYNAMICCONFIGFILTER +_DYNAMICCONFIGFILTER.fields_by_name['value'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._DATABLOB +_GETGLOBALISOLATIONGROUPSRESPONSE.fields_by_name['isolation_groups'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._ISOLATIONGROUPCONFIGURATION +_UPDATEGLOBALISOLATIONGROUPSREQUEST.fields_by_name['isolation_groups'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._ISOLATIONGROUPCONFIGURATION +_GETDOMAINISOLATIONGROUPSRESPONSE.fields_by_name['isolation_groups'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._ISOLATIONGROUPCONFIGURATION +_UPDATEDOMAINISOLATIONGROUPSREQUEST.fields_by_name['isolation_groups'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._ISOLATIONGROUPCONFIGURATION +_GETDOMAINASYNCWORKFLOWCONFIGURATONRESPONSE.fields_by_name['configuration'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._ASYNCWORKFLOWCONFIGURATION +_UPDATEDOMAINASYNCWORKFLOWCONFIGURATONREQUEST.fields_by_name['configuration'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._ASYNCWORKFLOWCONFIGURATION +DESCRIPTOR.message_types_by_name['UpdateTaskListPartitionConfigRequest'] = _UPDATETASKLISTPARTITIONCONFIGREQUEST +DESCRIPTOR.message_types_by_name['UpdateTaskListPartitionConfigResponse'] = _UPDATETASKLISTPARTITIONCONFIGRESPONSE +DESCRIPTOR.message_types_by_name['DescribeWorkflowExecutionRequest'] = _DESCRIBEWORKFLOWEXECUTIONREQUEST +DESCRIPTOR.message_types_by_name['DescribeWorkflowExecutionResponse'] = _DESCRIBEWORKFLOWEXECUTIONRESPONSE +DESCRIPTOR.message_types_by_name['DescribeHistoryHostRequest'] = _DESCRIBEHISTORYHOSTREQUEST +DESCRIPTOR.message_types_by_name['DescribeShardDistributionRequest'] = _DESCRIBESHARDDISTRIBUTIONREQUEST +DESCRIPTOR.message_types_by_name['DescribeShardDistributionResponse'] = _DESCRIBESHARDDISTRIBUTIONRESPONSE +DESCRIPTOR.message_types_by_name['DescribeHistoryHostResponse'] = _DESCRIBEHISTORYHOSTRESPONSE +DESCRIPTOR.message_types_by_name['CloseShardRequest'] = _CLOSESHARDREQUEST +DESCRIPTOR.message_types_by_name['CloseShardResponse'] = _CLOSESHARDRESPONSE +DESCRIPTOR.message_types_by_name['RemoveTaskRequest'] = _REMOVETASKREQUEST +DESCRIPTOR.message_types_by_name['RemoveTaskResponse'] = _REMOVETASKRESPONSE +DESCRIPTOR.message_types_by_name['ResetQueueRequest'] = _RESETQUEUEREQUEST +DESCRIPTOR.message_types_by_name['ResetQueueResponse'] = _RESETQUEUERESPONSE +DESCRIPTOR.message_types_by_name['DescribeQueueRequest'] = _DESCRIBEQUEUEREQUEST +DESCRIPTOR.message_types_by_name['DescribeQueueResponse'] = _DESCRIBEQUEUERESPONSE +DESCRIPTOR.message_types_by_name['GetWorkflowExecutionRawHistoryV2Request'] = _GETWORKFLOWEXECUTIONRAWHISTORYV2REQUEST +DESCRIPTOR.message_types_by_name['GetWorkflowExecutionRawHistoryV2Response'] = _GETWORKFLOWEXECUTIONRAWHISTORYV2RESPONSE +DESCRIPTOR.message_types_by_name['GetReplicationMessagesRequest'] = _GETREPLICATIONMESSAGESREQUEST +DESCRIPTOR.message_types_by_name['GetReplicationMessagesResponse'] = _GETREPLICATIONMESSAGESRESPONSE +DESCRIPTOR.message_types_by_name['GetDLQReplicationMessagesRequest'] = _GETDLQREPLICATIONMESSAGESREQUEST +DESCRIPTOR.message_types_by_name['GetDLQReplicationMessagesResponse'] = _GETDLQREPLICATIONMESSAGESRESPONSE +DESCRIPTOR.message_types_by_name['GetDomainReplicationMessagesRequest'] = _GETDOMAINREPLICATIONMESSAGESREQUEST +DESCRIPTOR.message_types_by_name['GetDomainReplicationMessagesResponse'] = _GETDOMAINREPLICATIONMESSAGESRESPONSE +DESCRIPTOR.message_types_by_name['ReapplyEventsRequest'] = _REAPPLYEVENTSREQUEST +DESCRIPTOR.message_types_by_name['ReapplyEventsResponse'] = _REAPPLYEVENTSRESPONSE +DESCRIPTOR.message_types_by_name['AddSearchAttributeRequest'] = _ADDSEARCHATTRIBUTEREQUEST +DESCRIPTOR.message_types_by_name['AddSearchAttributeResponse'] = _ADDSEARCHATTRIBUTERESPONSE +DESCRIPTOR.message_types_by_name['DescribeClusterRequest'] = _DESCRIBECLUSTERREQUEST +DESCRIPTOR.message_types_by_name['DescribeClusterResponse'] = _DESCRIBECLUSTERRESPONSE +DESCRIPTOR.message_types_by_name['CountDLQMessagesRequest'] = _COUNTDLQMESSAGESREQUEST +DESCRIPTOR.message_types_by_name['CountDLQMessagesResponse'] = _COUNTDLQMESSAGESRESPONSE +DESCRIPTOR.message_types_by_name['ReadDLQMessagesRequest'] = _READDLQMESSAGESREQUEST +DESCRIPTOR.message_types_by_name['ReadDLQMessagesResponse'] = _READDLQMESSAGESRESPONSE +DESCRIPTOR.message_types_by_name['PurgeDLQMessagesRequest'] = _PURGEDLQMESSAGESREQUEST +DESCRIPTOR.message_types_by_name['PurgeDLQMessagesResponse'] = _PURGEDLQMESSAGESRESPONSE +DESCRIPTOR.message_types_by_name['MergeDLQMessagesRequest'] = _MERGEDLQMESSAGESREQUEST +DESCRIPTOR.message_types_by_name['MergeDLQMessagesResponse'] = _MERGEDLQMESSAGESRESPONSE +DESCRIPTOR.message_types_by_name['RefreshWorkflowTasksRequest'] = _REFRESHWORKFLOWTASKSREQUEST +DESCRIPTOR.message_types_by_name['RefreshWorkflowTasksResponse'] = _REFRESHWORKFLOWTASKSRESPONSE +DESCRIPTOR.message_types_by_name['ResendReplicationTasksRequest'] = _RESENDREPLICATIONTASKSREQUEST +DESCRIPTOR.message_types_by_name['ResendReplicationTasksResponse'] = _RESENDREPLICATIONTASKSRESPONSE +DESCRIPTOR.message_types_by_name['GetCrossClusterTasksRequest'] = _GETCROSSCLUSTERTASKSREQUEST +DESCRIPTOR.message_types_by_name['GetCrossClusterTasksResponse'] = _GETCROSSCLUSTERTASKSRESPONSE +DESCRIPTOR.message_types_by_name['RespondCrossClusterTasksCompletedRequest'] = _RESPONDCROSSCLUSTERTASKSCOMPLETEDREQUEST +DESCRIPTOR.message_types_by_name['RespondCrossClusterTasksCompletedResponse'] = _RESPONDCROSSCLUSTERTASKSCOMPLETEDRESPONSE +DESCRIPTOR.message_types_by_name['GetDynamicConfigRequest'] = _GETDYNAMICCONFIGREQUEST +DESCRIPTOR.message_types_by_name['GetDynamicConfigResponse'] = _GETDYNAMICCONFIGRESPONSE +DESCRIPTOR.message_types_by_name['UpdateDynamicConfigRequest'] = _UPDATEDYNAMICCONFIGREQUEST +DESCRIPTOR.message_types_by_name['UpdateDynamicConfigResponse'] = _UPDATEDYNAMICCONFIGRESPONSE +DESCRIPTOR.message_types_by_name['RestoreDynamicConfigRequest'] = _RESTOREDYNAMICCONFIGREQUEST +DESCRIPTOR.message_types_by_name['RestoreDynamicConfigResponse'] = _RESTOREDYNAMICCONFIGRESPONSE +DESCRIPTOR.message_types_by_name['DeleteWorkflowRequest'] = _DELETEWORKFLOWREQUEST +DESCRIPTOR.message_types_by_name['DeleteWorkflowResponse'] = _DELETEWORKFLOWRESPONSE +DESCRIPTOR.message_types_by_name['MaintainCorruptWorkflowRequest'] = _MAINTAINCORRUPTWORKFLOWREQUEST +DESCRIPTOR.message_types_by_name['MaintainCorruptWorkflowResponse'] = _MAINTAINCORRUPTWORKFLOWRESPONSE +DESCRIPTOR.message_types_by_name['ListDynamicConfigRequest'] = _LISTDYNAMICCONFIGREQUEST +DESCRIPTOR.message_types_by_name['ListDynamicConfigResponse'] = _LISTDYNAMICCONFIGRESPONSE +DESCRIPTOR.message_types_by_name['DynamicConfigEntry'] = _DYNAMICCONFIGENTRY +DESCRIPTOR.message_types_by_name['DynamicConfigValue'] = _DYNAMICCONFIGVALUE +DESCRIPTOR.message_types_by_name['DynamicConfigFilter'] = _DYNAMICCONFIGFILTER +DESCRIPTOR.message_types_by_name['GetGlobalIsolationGroupsRequest'] = _GETGLOBALISOLATIONGROUPSREQUEST +DESCRIPTOR.message_types_by_name['GetGlobalIsolationGroupsResponse'] = _GETGLOBALISOLATIONGROUPSRESPONSE +DESCRIPTOR.message_types_by_name['UpdateGlobalIsolationGroupsRequest'] = _UPDATEGLOBALISOLATIONGROUPSREQUEST +DESCRIPTOR.message_types_by_name['UpdateGlobalIsolationGroupsResponse'] = _UPDATEGLOBALISOLATIONGROUPSRESPONSE +DESCRIPTOR.message_types_by_name['GetDomainIsolationGroupsRequest'] = _GETDOMAINISOLATIONGROUPSREQUEST +DESCRIPTOR.message_types_by_name['GetDomainIsolationGroupsResponse'] = _GETDOMAINISOLATIONGROUPSRESPONSE +DESCRIPTOR.message_types_by_name['UpdateDomainIsolationGroupsRequest'] = _UPDATEDOMAINISOLATIONGROUPSREQUEST +DESCRIPTOR.message_types_by_name['UpdateDomainIsolationGroupsResponse'] = _UPDATEDOMAINISOLATIONGROUPSRESPONSE +DESCRIPTOR.message_types_by_name['GetDomainAsyncWorkflowConfiguratonRequest'] = _GETDOMAINASYNCWORKFLOWCONFIGURATONREQUEST +DESCRIPTOR.message_types_by_name['GetDomainAsyncWorkflowConfiguratonResponse'] = _GETDOMAINASYNCWORKFLOWCONFIGURATONRESPONSE +DESCRIPTOR.message_types_by_name['UpdateDomainAsyncWorkflowConfiguratonRequest'] = _UPDATEDOMAINASYNCWORKFLOWCONFIGURATONREQUEST +DESCRIPTOR.message_types_by_name['UpdateDomainAsyncWorkflowConfiguratonResponse'] = _UPDATEDOMAINASYNCWORKFLOWCONFIGURATONRESPONSE +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +UpdateTaskListPartitionConfigRequest = _reflection.GeneratedProtocolMessageType('UpdateTaskListPartitionConfigRequest', (_message.Message,), { + 'DESCRIPTOR' : _UPDATETASKLISTPARTITIONCONFIGREQUEST, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.UpdateTaskListPartitionConfigRequest) + }) +_sym_db.RegisterMessage(UpdateTaskListPartitionConfigRequest) + +UpdateTaskListPartitionConfigResponse = _reflection.GeneratedProtocolMessageType('UpdateTaskListPartitionConfigResponse', (_message.Message,), { + 'DESCRIPTOR' : _UPDATETASKLISTPARTITIONCONFIGRESPONSE, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.UpdateTaskListPartitionConfigResponse) + }) +_sym_db.RegisterMessage(UpdateTaskListPartitionConfigResponse) + +DescribeWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType('DescribeWorkflowExecutionRequest', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBEWORKFLOWEXECUTIONREQUEST, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.DescribeWorkflowExecutionRequest) + }) +_sym_db.RegisterMessage(DescribeWorkflowExecutionRequest) + +DescribeWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType('DescribeWorkflowExecutionResponse', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBEWORKFLOWEXECUTIONRESPONSE, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.DescribeWorkflowExecutionResponse) + }) +_sym_db.RegisterMessage(DescribeWorkflowExecutionResponse) + +DescribeHistoryHostRequest = _reflection.GeneratedProtocolMessageType('DescribeHistoryHostRequest', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBEHISTORYHOSTREQUEST, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.DescribeHistoryHostRequest) + }) +_sym_db.RegisterMessage(DescribeHistoryHostRequest) + +DescribeShardDistributionRequest = _reflection.GeneratedProtocolMessageType('DescribeShardDistributionRequest', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBESHARDDISTRIBUTIONREQUEST, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.DescribeShardDistributionRequest) + }) +_sym_db.RegisterMessage(DescribeShardDistributionRequest) + +DescribeShardDistributionResponse = _reflection.GeneratedProtocolMessageType('DescribeShardDistributionResponse', (_message.Message,), { + + 'ShardsEntry' : _reflection.GeneratedProtocolMessageType('ShardsEntry', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBESHARDDISTRIBUTIONRESPONSE_SHARDSENTRY, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.DescribeShardDistributionResponse.ShardsEntry) + }) + , + 'DESCRIPTOR' : _DESCRIBESHARDDISTRIBUTIONRESPONSE, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.DescribeShardDistributionResponse) + }) +_sym_db.RegisterMessage(DescribeShardDistributionResponse) +_sym_db.RegisterMessage(DescribeShardDistributionResponse.ShardsEntry) + +DescribeHistoryHostResponse = _reflection.GeneratedProtocolMessageType('DescribeHistoryHostResponse', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBEHISTORYHOSTRESPONSE, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.DescribeHistoryHostResponse) + }) +_sym_db.RegisterMessage(DescribeHistoryHostResponse) + +CloseShardRequest = _reflection.GeneratedProtocolMessageType('CloseShardRequest', (_message.Message,), { + 'DESCRIPTOR' : _CLOSESHARDREQUEST, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.CloseShardRequest) + }) +_sym_db.RegisterMessage(CloseShardRequest) + +CloseShardResponse = _reflection.GeneratedProtocolMessageType('CloseShardResponse', (_message.Message,), { + 'DESCRIPTOR' : _CLOSESHARDRESPONSE, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.CloseShardResponse) + }) +_sym_db.RegisterMessage(CloseShardResponse) + +RemoveTaskRequest = _reflection.GeneratedProtocolMessageType('RemoveTaskRequest', (_message.Message,), { + 'DESCRIPTOR' : _REMOVETASKREQUEST, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.RemoveTaskRequest) + }) +_sym_db.RegisterMessage(RemoveTaskRequest) + +RemoveTaskResponse = _reflection.GeneratedProtocolMessageType('RemoveTaskResponse', (_message.Message,), { + 'DESCRIPTOR' : _REMOVETASKRESPONSE, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.RemoveTaskResponse) + }) +_sym_db.RegisterMessage(RemoveTaskResponse) + +ResetQueueRequest = _reflection.GeneratedProtocolMessageType('ResetQueueRequest', (_message.Message,), { + 'DESCRIPTOR' : _RESETQUEUEREQUEST, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.ResetQueueRequest) + }) +_sym_db.RegisterMessage(ResetQueueRequest) + +ResetQueueResponse = _reflection.GeneratedProtocolMessageType('ResetQueueResponse', (_message.Message,), { + 'DESCRIPTOR' : _RESETQUEUERESPONSE, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.ResetQueueResponse) + }) +_sym_db.RegisterMessage(ResetQueueResponse) + +DescribeQueueRequest = _reflection.GeneratedProtocolMessageType('DescribeQueueRequest', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBEQUEUEREQUEST, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.DescribeQueueRequest) + }) +_sym_db.RegisterMessage(DescribeQueueRequest) + +DescribeQueueResponse = _reflection.GeneratedProtocolMessageType('DescribeQueueResponse', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBEQUEUERESPONSE, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.DescribeQueueResponse) + }) +_sym_db.RegisterMessage(DescribeQueueResponse) + +GetWorkflowExecutionRawHistoryV2Request = _reflection.GeneratedProtocolMessageType('GetWorkflowExecutionRawHistoryV2Request', (_message.Message,), { + 'DESCRIPTOR' : _GETWORKFLOWEXECUTIONRAWHISTORYV2REQUEST, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.GetWorkflowExecutionRawHistoryV2Request) + }) +_sym_db.RegisterMessage(GetWorkflowExecutionRawHistoryV2Request) + +GetWorkflowExecutionRawHistoryV2Response = _reflection.GeneratedProtocolMessageType('GetWorkflowExecutionRawHistoryV2Response', (_message.Message,), { + 'DESCRIPTOR' : _GETWORKFLOWEXECUTIONRAWHISTORYV2RESPONSE, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.GetWorkflowExecutionRawHistoryV2Response) + }) +_sym_db.RegisterMessage(GetWorkflowExecutionRawHistoryV2Response) + +GetReplicationMessagesRequest = _reflection.GeneratedProtocolMessageType('GetReplicationMessagesRequest', (_message.Message,), { + 'DESCRIPTOR' : _GETREPLICATIONMESSAGESREQUEST, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.GetReplicationMessagesRequest) + }) +_sym_db.RegisterMessage(GetReplicationMessagesRequest) + +GetReplicationMessagesResponse = _reflection.GeneratedProtocolMessageType('GetReplicationMessagesResponse', (_message.Message,), { + + 'ShardMessagesEntry' : _reflection.GeneratedProtocolMessageType('ShardMessagesEntry', (_message.Message,), { + 'DESCRIPTOR' : _GETREPLICATIONMESSAGESRESPONSE_SHARDMESSAGESENTRY, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.GetReplicationMessagesResponse.ShardMessagesEntry) + }) + , + 'DESCRIPTOR' : _GETREPLICATIONMESSAGESRESPONSE, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.GetReplicationMessagesResponse) + }) +_sym_db.RegisterMessage(GetReplicationMessagesResponse) +_sym_db.RegisterMessage(GetReplicationMessagesResponse.ShardMessagesEntry) + +GetDLQReplicationMessagesRequest = _reflection.GeneratedProtocolMessageType('GetDLQReplicationMessagesRequest', (_message.Message,), { + 'DESCRIPTOR' : _GETDLQREPLICATIONMESSAGESREQUEST, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.GetDLQReplicationMessagesRequest) + }) +_sym_db.RegisterMessage(GetDLQReplicationMessagesRequest) + +GetDLQReplicationMessagesResponse = _reflection.GeneratedProtocolMessageType('GetDLQReplicationMessagesResponse', (_message.Message,), { + 'DESCRIPTOR' : _GETDLQREPLICATIONMESSAGESRESPONSE, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.GetDLQReplicationMessagesResponse) + }) +_sym_db.RegisterMessage(GetDLQReplicationMessagesResponse) + +GetDomainReplicationMessagesRequest = _reflection.GeneratedProtocolMessageType('GetDomainReplicationMessagesRequest', (_message.Message,), { + 'DESCRIPTOR' : _GETDOMAINREPLICATIONMESSAGESREQUEST, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.GetDomainReplicationMessagesRequest) + }) +_sym_db.RegisterMessage(GetDomainReplicationMessagesRequest) + +GetDomainReplicationMessagesResponse = _reflection.GeneratedProtocolMessageType('GetDomainReplicationMessagesResponse', (_message.Message,), { + 'DESCRIPTOR' : _GETDOMAINREPLICATIONMESSAGESRESPONSE, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.GetDomainReplicationMessagesResponse) + }) +_sym_db.RegisterMessage(GetDomainReplicationMessagesResponse) + +ReapplyEventsRequest = _reflection.GeneratedProtocolMessageType('ReapplyEventsRequest', (_message.Message,), { + 'DESCRIPTOR' : _REAPPLYEVENTSREQUEST, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.ReapplyEventsRequest) + }) +_sym_db.RegisterMessage(ReapplyEventsRequest) + +ReapplyEventsResponse = _reflection.GeneratedProtocolMessageType('ReapplyEventsResponse', (_message.Message,), { + 'DESCRIPTOR' : _REAPPLYEVENTSRESPONSE, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.ReapplyEventsResponse) + }) +_sym_db.RegisterMessage(ReapplyEventsResponse) + +AddSearchAttributeRequest = _reflection.GeneratedProtocolMessageType('AddSearchAttributeRequest', (_message.Message,), { + + 'SearchAttributeEntry' : _reflection.GeneratedProtocolMessageType('SearchAttributeEntry', (_message.Message,), { + 'DESCRIPTOR' : _ADDSEARCHATTRIBUTEREQUEST_SEARCHATTRIBUTEENTRY, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.AddSearchAttributeRequest.SearchAttributeEntry) + }) + , + 'DESCRIPTOR' : _ADDSEARCHATTRIBUTEREQUEST, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.AddSearchAttributeRequest) + }) +_sym_db.RegisterMessage(AddSearchAttributeRequest) +_sym_db.RegisterMessage(AddSearchAttributeRequest.SearchAttributeEntry) + +AddSearchAttributeResponse = _reflection.GeneratedProtocolMessageType('AddSearchAttributeResponse', (_message.Message,), { + 'DESCRIPTOR' : _ADDSEARCHATTRIBUTERESPONSE, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.AddSearchAttributeResponse) + }) +_sym_db.RegisterMessage(AddSearchAttributeResponse) + +DescribeClusterRequest = _reflection.GeneratedProtocolMessageType('DescribeClusterRequest', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBECLUSTERREQUEST, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.DescribeClusterRequest) + }) +_sym_db.RegisterMessage(DescribeClusterRequest) + +DescribeClusterResponse = _reflection.GeneratedProtocolMessageType('DescribeClusterResponse', (_message.Message,), { + + 'PersistenceInfoEntry' : _reflection.GeneratedProtocolMessageType('PersistenceInfoEntry', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBECLUSTERRESPONSE_PERSISTENCEINFOENTRY, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.DescribeClusterResponse.PersistenceInfoEntry) + }) + , + 'DESCRIPTOR' : _DESCRIBECLUSTERRESPONSE, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.DescribeClusterResponse) + }) +_sym_db.RegisterMessage(DescribeClusterResponse) +_sym_db.RegisterMessage(DescribeClusterResponse.PersistenceInfoEntry) + +CountDLQMessagesRequest = _reflection.GeneratedProtocolMessageType('CountDLQMessagesRequest', (_message.Message,), { + 'DESCRIPTOR' : _COUNTDLQMESSAGESREQUEST, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.CountDLQMessagesRequest) + }) +_sym_db.RegisterMessage(CountDLQMessagesRequest) + +CountDLQMessagesResponse = _reflection.GeneratedProtocolMessageType('CountDLQMessagesResponse', (_message.Message,), { + 'DESCRIPTOR' : _COUNTDLQMESSAGESRESPONSE, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.CountDLQMessagesResponse) + }) +_sym_db.RegisterMessage(CountDLQMessagesResponse) + +ReadDLQMessagesRequest = _reflection.GeneratedProtocolMessageType('ReadDLQMessagesRequest', (_message.Message,), { + 'DESCRIPTOR' : _READDLQMESSAGESREQUEST, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.ReadDLQMessagesRequest) + }) +_sym_db.RegisterMessage(ReadDLQMessagesRequest) + +ReadDLQMessagesResponse = _reflection.GeneratedProtocolMessageType('ReadDLQMessagesResponse', (_message.Message,), { + 'DESCRIPTOR' : _READDLQMESSAGESRESPONSE, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.ReadDLQMessagesResponse) + }) +_sym_db.RegisterMessage(ReadDLQMessagesResponse) + +PurgeDLQMessagesRequest = _reflection.GeneratedProtocolMessageType('PurgeDLQMessagesRequest', (_message.Message,), { + 'DESCRIPTOR' : _PURGEDLQMESSAGESREQUEST, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.PurgeDLQMessagesRequest) + }) +_sym_db.RegisterMessage(PurgeDLQMessagesRequest) + +PurgeDLQMessagesResponse = _reflection.GeneratedProtocolMessageType('PurgeDLQMessagesResponse', (_message.Message,), { + 'DESCRIPTOR' : _PURGEDLQMESSAGESRESPONSE, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.PurgeDLQMessagesResponse) + }) +_sym_db.RegisterMessage(PurgeDLQMessagesResponse) + +MergeDLQMessagesRequest = _reflection.GeneratedProtocolMessageType('MergeDLQMessagesRequest', (_message.Message,), { + 'DESCRIPTOR' : _MERGEDLQMESSAGESREQUEST, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.MergeDLQMessagesRequest) + }) +_sym_db.RegisterMessage(MergeDLQMessagesRequest) + +MergeDLQMessagesResponse = _reflection.GeneratedProtocolMessageType('MergeDLQMessagesResponse', (_message.Message,), { + 'DESCRIPTOR' : _MERGEDLQMESSAGESRESPONSE, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.MergeDLQMessagesResponse) + }) +_sym_db.RegisterMessage(MergeDLQMessagesResponse) + +RefreshWorkflowTasksRequest = _reflection.GeneratedProtocolMessageType('RefreshWorkflowTasksRequest', (_message.Message,), { + 'DESCRIPTOR' : _REFRESHWORKFLOWTASKSREQUEST, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.RefreshWorkflowTasksRequest) + }) +_sym_db.RegisterMessage(RefreshWorkflowTasksRequest) + +RefreshWorkflowTasksResponse = _reflection.GeneratedProtocolMessageType('RefreshWorkflowTasksResponse', (_message.Message,), { + 'DESCRIPTOR' : _REFRESHWORKFLOWTASKSRESPONSE, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.RefreshWorkflowTasksResponse) + }) +_sym_db.RegisterMessage(RefreshWorkflowTasksResponse) + +ResendReplicationTasksRequest = _reflection.GeneratedProtocolMessageType('ResendReplicationTasksRequest', (_message.Message,), { + 'DESCRIPTOR' : _RESENDREPLICATIONTASKSREQUEST, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.ResendReplicationTasksRequest) + }) +_sym_db.RegisterMessage(ResendReplicationTasksRequest) + +ResendReplicationTasksResponse = _reflection.GeneratedProtocolMessageType('ResendReplicationTasksResponse', (_message.Message,), { + 'DESCRIPTOR' : _RESENDREPLICATIONTASKSRESPONSE, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.ResendReplicationTasksResponse) + }) +_sym_db.RegisterMessage(ResendReplicationTasksResponse) + +GetCrossClusterTasksRequest = _reflection.GeneratedProtocolMessageType('GetCrossClusterTasksRequest', (_message.Message,), { + 'DESCRIPTOR' : _GETCROSSCLUSTERTASKSREQUEST, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.GetCrossClusterTasksRequest) + }) +_sym_db.RegisterMessage(GetCrossClusterTasksRequest) + +GetCrossClusterTasksResponse = _reflection.GeneratedProtocolMessageType('GetCrossClusterTasksResponse', (_message.Message,), { + + 'TasksByShardEntry' : _reflection.GeneratedProtocolMessageType('TasksByShardEntry', (_message.Message,), { + 'DESCRIPTOR' : _GETCROSSCLUSTERTASKSRESPONSE_TASKSBYSHARDENTRY, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.GetCrossClusterTasksResponse.TasksByShardEntry) + }) + , + + 'FailedCauseByShardEntry' : _reflection.GeneratedProtocolMessageType('FailedCauseByShardEntry', (_message.Message,), { + 'DESCRIPTOR' : _GETCROSSCLUSTERTASKSRESPONSE_FAILEDCAUSEBYSHARDENTRY, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.GetCrossClusterTasksResponse.FailedCauseByShardEntry) + }) + , + 'DESCRIPTOR' : _GETCROSSCLUSTERTASKSRESPONSE, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.GetCrossClusterTasksResponse) + }) +_sym_db.RegisterMessage(GetCrossClusterTasksResponse) +_sym_db.RegisterMessage(GetCrossClusterTasksResponse.TasksByShardEntry) +_sym_db.RegisterMessage(GetCrossClusterTasksResponse.FailedCauseByShardEntry) + +RespondCrossClusterTasksCompletedRequest = _reflection.GeneratedProtocolMessageType('RespondCrossClusterTasksCompletedRequest', (_message.Message,), { + 'DESCRIPTOR' : _RESPONDCROSSCLUSTERTASKSCOMPLETEDREQUEST, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.RespondCrossClusterTasksCompletedRequest) + }) +_sym_db.RegisterMessage(RespondCrossClusterTasksCompletedRequest) + +RespondCrossClusterTasksCompletedResponse = _reflection.GeneratedProtocolMessageType('RespondCrossClusterTasksCompletedResponse', (_message.Message,), { + 'DESCRIPTOR' : _RESPONDCROSSCLUSTERTASKSCOMPLETEDRESPONSE, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.RespondCrossClusterTasksCompletedResponse) + }) +_sym_db.RegisterMessage(RespondCrossClusterTasksCompletedResponse) + +GetDynamicConfigRequest = _reflection.GeneratedProtocolMessageType('GetDynamicConfigRequest', (_message.Message,), { + 'DESCRIPTOR' : _GETDYNAMICCONFIGREQUEST, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.GetDynamicConfigRequest) + }) +_sym_db.RegisterMessage(GetDynamicConfigRequest) + +GetDynamicConfigResponse = _reflection.GeneratedProtocolMessageType('GetDynamicConfigResponse', (_message.Message,), { + 'DESCRIPTOR' : _GETDYNAMICCONFIGRESPONSE, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.GetDynamicConfigResponse) + }) +_sym_db.RegisterMessage(GetDynamicConfigResponse) + +UpdateDynamicConfigRequest = _reflection.GeneratedProtocolMessageType('UpdateDynamicConfigRequest', (_message.Message,), { + 'DESCRIPTOR' : _UPDATEDYNAMICCONFIGREQUEST, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.UpdateDynamicConfigRequest) + }) +_sym_db.RegisterMessage(UpdateDynamicConfigRequest) + +UpdateDynamicConfigResponse = _reflection.GeneratedProtocolMessageType('UpdateDynamicConfigResponse', (_message.Message,), { + 'DESCRIPTOR' : _UPDATEDYNAMICCONFIGRESPONSE, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.UpdateDynamicConfigResponse) + }) +_sym_db.RegisterMessage(UpdateDynamicConfigResponse) + +RestoreDynamicConfigRequest = _reflection.GeneratedProtocolMessageType('RestoreDynamicConfigRequest', (_message.Message,), { + 'DESCRIPTOR' : _RESTOREDYNAMICCONFIGREQUEST, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.RestoreDynamicConfigRequest) + }) +_sym_db.RegisterMessage(RestoreDynamicConfigRequest) + +RestoreDynamicConfigResponse = _reflection.GeneratedProtocolMessageType('RestoreDynamicConfigResponse', (_message.Message,), { + 'DESCRIPTOR' : _RESTOREDYNAMICCONFIGRESPONSE, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.RestoreDynamicConfigResponse) + }) +_sym_db.RegisterMessage(RestoreDynamicConfigResponse) + +DeleteWorkflowRequest = _reflection.GeneratedProtocolMessageType('DeleteWorkflowRequest', (_message.Message,), { + 'DESCRIPTOR' : _DELETEWORKFLOWREQUEST, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.DeleteWorkflowRequest) + }) +_sym_db.RegisterMessage(DeleteWorkflowRequest) + +DeleteWorkflowResponse = _reflection.GeneratedProtocolMessageType('DeleteWorkflowResponse', (_message.Message,), { + 'DESCRIPTOR' : _DELETEWORKFLOWRESPONSE, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.DeleteWorkflowResponse) + }) +_sym_db.RegisterMessage(DeleteWorkflowResponse) + +MaintainCorruptWorkflowRequest = _reflection.GeneratedProtocolMessageType('MaintainCorruptWorkflowRequest', (_message.Message,), { + 'DESCRIPTOR' : _MAINTAINCORRUPTWORKFLOWREQUEST, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.MaintainCorruptWorkflowRequest) + }) +_sym_db.RegisterMessage(MaintainCorruptWorkflowRequest) + +MaintainCorruptWorkflowResponse = _reflection.GeneratedProtocolMessageType('MaintainCorruptWorkflowResponse', (_message.Message,), { + 'DESCRIPTOR' : _MAINTAINCORRUPTWORKFLOWRESPONSE, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.MaintainCorruptWorkflowResponse) + }) +_sym_db.RegisterMessage(MaintainCorruptWorkflowResponse) + +ListDynamicConfigRequest = _reflection.GeneratedProtocolMessageType('ListDynamicConfigRequest', (_message.Message,), { + 'DESCRIPTOR' : _LISTDYNAMICCONFIGREQUEST, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.ListDynamicConfigRequest) + }) +_sym_db.RegisterMessage(ListDynamicConfigRequest) + +ListDynamicConfigResponse = _reflection.GeneratedProtocolMessageType('ListDynamicConfigResponse', (_message.Message,), { + 'DESCRIPTOR' : _LISTDYNAMICCONFIGRESPONSE, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.ListDynamicConfigResponse) + }) +_sym_db.RegisterMessage(ListDynamicConfigResponse) + +DynamicConfigEntry = _reflection.GeneratedProtocolMessageType('DynamicConfigEntry', (_message.Message,), { + 'DESCRIPTOR' : _DYNAMICCONFIGENTRY, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.DynamicConfigEntry) + }) +_sym_db.RegisterMessage(DynamicConfigEntry) + +DynamicConfigValue = _reflection.GeneratedProtocolMessageType('DynamicConfigValue', (_message.Message,), { + 'DESCRIPTOR' : _DYNAMICCONFIGVALUE, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.DynamicConfigValue) + }) +_sym_db.RegisterMessage(DynamicConfigValue) + +DynamicConfigFilter = _reflection.GeneratedProtocolMessageType('DynamicConfigFilter', (_message.Message,), { + 'DESCRIPTOR' : _DYNAMICCONFIGFILTER, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.DynamicConfigFilter) + }) +_sym_db.RegisterMessage(DynamicConfigFilter) + +GetGlobalIsolationGroupsRequest = _reflection.GeneratedProtocolMessageType('GetGlobalIsolationGroupsRequest', (_message.Message,), { + 'DESCRIPTOR' : _GETGLOBALISOLATIONGROUPSREQUEST, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.GetGlobalIsolationGroupsRequest) + }) +_sym_db.RegisterMessage(GetGlobalIsolationGroupsRequest) + +GetGlobalIsolationGroupsResponse = _reflection.GeneratedProtocolMessageType('GetGlobalIsolationGroupsResponse', (_message.Message,), { + 'DESCRIPTOR' : _GETGLOBALISOLATIONGROUPSRESPONSE, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.GetGlobalIsolationGroupsResponse) + }) +_sym_db.RegisterMessage(GetGlobalIsolationGroupsResponse) + +UpdateGlobalIsolationGroupsRequest = _reflection.GeneratedProtocolMessageType('UpdateGlobalIsolationGroupsRequest', (_message.Message,), { + 'DESCRIPTOR' : _UPDATEGLOBALISOLATIONGROUPSREQUEST, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.UpdateGlobalIsolationGroupsRequest) + }) +_sym_db.RegisterMessage(UpdateGlobalIsolationGroupsRequest) + +UpdateGlobalIsolationGroupsResponse = _reflection.GeneratedProtocolMessageType('UpdateGlobalIsolationGroupsResponse', (_message.Message,), { + 'DESCRIPTOR' : _UPDATEGLOBALISOLATIONGROUPSRESPONSE, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.UpdateGlobalIsolationGroupsResponse) + }) +_sym_db.RegisterMessage(UpdateGlobalIsolationGroupsResponse) + +GetDomainIsolationGroupsRequest = _reflection.GeneratedProtocolMessageType('GetDomainIsolationGroupsRequest', (_message.Message,), { + 'DESCRIPTOR' : _GETDOMAINISOLATIONGROUPSREQUEST, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.GetDomainIsolationGroupsRequest) + }) +_sym_db.RegisterMessage(GetDomainIsolationGroupsRequest) + +GetDomainIsolationGroupsResponse = _reflection.GeneratedProtocolMessageType('GetDomainIsolationGroupsResponse', (_message.Message,), { + 'DESCRIPTOR' : _GETDOMAINISOLATIONGROUPSRESPONSE, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.GetDomainIsolationGroupsResponse) + }) +_sym_db.RegisterMessage(GetDomainIsolationGroupsResponse) + +UpdateDomainIsolationGroupsRequest = _reflection.GeneratedProtocolMessageType('UpdateDomainIsolationGroupsRequest', (_message.Message,), { + 'DESCRIPTOR' : _UPDATEDOMAINISOLATIONGROUPSREQUEST, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.UpdateDomainIsolationGroupsRequest) + }) +_sym_db.RegisterMessage(UpdateDomainIsolationGroupsRequest) + +UpdateDomainIsolationGroupsResponse = _reflection.GeneratedProtocolMessageType('UpdateDomainIsolationGroupsResponse', (_message.Message,), { + 'DESCRIPTOR' : _UPDATEDOMAINISOLATIONGROUPSRESPONSE, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.UpdateDomainIsolationGroupsResponse) + }) +_sym_db.RegisterMessage(UpdateDomainIsolationGroupsResponse) + +GetDomainAsyncWorkflowConfiguratonRequest = _reflection.GeneratedProtocolMessageType('GetDomainAsyncWorkflowConfiguratonRequest', (_message.Message,), { + 'DESCRIPTOR' : _GETDOMAINASYNCWORKFLOWCONFIGURATONREQUEST, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.GetDomainAsyncWorkflowConfiguratonRequest) + }) +_sym_db.RegisterMessage(GetDomainAsyncWorkflowConfiguratonRequest) + +GetDomainAsyncWorkflowConfiguratonResponse = _reflection.GeneratedProtocolMessageType('GetDomainAsyncWorkflowConfiguratonResponse', (_message.Message,), { + 'DESCRIPTOR' : _GETDOMAINASYNCWORKFLOWCONFIGURATONRESPONSE, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.GetDomainAsyncWorkflowConfiguratonResponse) + }) +_sym_db.RegisterMessage(GetDomainAsyncWorkflowConfiguratonResponse) + +UpdateDomainAsyncWorkflowConfiguratonRequest = _reflection.GeneratedProtocolMessageType('UpdateDomainAsyncWorkflowConfiguratonRequest', (_message.Message,), { + 'DESCRIPTOR' : _UPDATEDOMAINASYNCWORKFLOWCONFIGURATONREQUEST, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.UpdateDomainAsyncWorkflowConfiguratonRequest) + }) +_sym_db.RegisterMessage(UpdateDomainAsyncWorkflowConfiguratonRequest) + +UpdateDomainAsyncWorkflowConfiguratonResponse = _reflection.GeneratedProtocolMessageType('UpdateDomainAsyncWorkflowConfiguratonResponse', (_message.Message,), { + 'DESCRIPTOR' : _UPDATEDOMAINASYNCWORKFLOWCONFIGURATONRESPONSE, + '__module__' : 'uber.cadence.admin.v1.service_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.admin.v1.UpdateDomainAsyncWorkflowConfiguratonResponse) + }) +_sym_db.RegisterMessage(UpdateDomainAsyncWorkflowConfiguratonResponse) + + +DESCRIPTOR._options = None +_DESCRIBESHARDDISTRIBUTIONRESPONSE_SHARDSENTRY._options = None +_GETREPLICATIONMESSAGESRESPONSE_SHARDMESSAGESENTRY._options = None +_ADDSEARCHATTRIBUTEREQUEST_SEARCHATTRIBUTEENTRY._options = None +_DESCRIBECLUSTERRESPONSE_PERSISTENCEINFOENTRY._options = None +_GETCROSSCLUSTERTASKSRESPONSE_TASKSBYSHARDENTRY._options = None +_GETCROSSCLUSTERTASKSRESPONSE_FAILEDCAUSEBYSHARDENTRY._options = None + +_ADMINAPI = _descriptor.ServiceDescriptor( + name='AdminAPI', + full_name='uber.cadence.admin.v1.AdminAPI', + file=DESCRIPTOR, + index=0, + serialized_options=None, + create_key=_descriptor._internal_create_key, + serialized_start=9028, + serialized_end=13671, + methods=[ + _descriptor.MethodDescriptor( + name='DescribeWorkflowExecution', + full_name='uber.cadence.admin.v1.AdminAPI.DescribeWorkflowExecution', + index=0, + containing_service=None, + input_type=_DESCRIBEWORKFLOWEXECUTIONREQUEST, + output_type=_DESCRIBEWORKFLOWEXECUTIONRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='DescribeHistoryHost', + full_name='uber.cadence.admin.v1.AdminAPI.DescribeHistoryHost', + index=1, + containing_service=None, + input_type=_DESCRIBEHISTORYHOSTREQUEST, + output_type=_DESCRIBEHISTORYHOSTRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='DescribeShardDistribution', + full_name='uber.cadence.admin.v1.AdminAPI.DescribeShardDistribution', + index=2, + containing_service=None, + input_type=_DESCRIBESHARDDISTRIBUTIONREQUEST, + output_type=_DESCRIBESHARDDISTRIBUTIONRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='CloseShard', + full_name='uber.cadence.admin.v1.AdminAPI.CloseShard', + index=3, + containing_service=None, + input_type=_CLOSESHARDREQUEST, + output_type=_CLOSESHARDRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='RemoveTask', + full_name='uber.cadence.admin.v1.AdminAPI.RemoveTask', + index=4, + containing_service=None, + input_type=_REMOVETASKREQUEST, + output_type=_REMOVETASKRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='ResetQueue', + full_name='uber.cadence.admin.v1.AdminAPI.ResetQueue', + index=5, + containing_service=None, + input_type=_RESETQUEUEREQUEST, + output_type=_RESETQUEUERESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='DescribeQueue', + full_name='uber.cadence.admin.v1.AdminAPI.DescribeQueue', + index=6, + containing_service=None, + input_type=_DESCRIBEQUEUEREQUEST, + output_type=_DESCRIBEQUEUERESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='GetWorkflowExecutionRawHistoryV2', + full_name='uber.cadence.admin.v1.AdminAPI.GetWorkflowExecutionRawHistoryV2', + index=7, + containing_service=None, + input_type=_GETWORKFLOWEXECUTIONRAWHISTORYV2REQUEST, + output_type=_GETWORKFLOWEXECUTIONRAWHISTORYV2RESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='GetReplicationMessages', + full_name='uber.cadence.admin.v1.AdminAPI.GetReplicationMessages', + index=8, + containing_service=None, + input_type=_GETREPLICATIONMESSAGESREQUEST, + output_type=_GETREPLICATIONMESSAGESRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='GetDLQReplicationMessages', + full_name='uber.cadence.admin.v1.AdminAPI.GetDLQReplicationMessages', + index=9, + containing_service=None, + input_type=_GETDLQREPLICATIONMESSAGESREQUEST, + output_type=_GETDLQREPLICATIONMESSAGESRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='GetDomainReplicationMessages', + full_name='uber.cadence.admin.v1.AdminAPI.GetDomainReplicationMessages', + index=10, + containing_service=None, + input_type=_GETDOMAINREPLICATIONMESSAGESREQUEST, + output_type=_GETDOMAINREPLICATIONMESSAGESRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='ReapplyEvents', + full_name='uber.cadence.admin.v1.AdminAPI.ReapplyEvents', + index=11, + containing_service=None, + input_type=_REAPPLYEVENTSREQUEST, + output_type=_REAPPLYEVENTSRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='AddSearchAttribute', + full_name='uber.cadence.admin.v1.AdminAPI.AddSearchAttribute', + index=12, + containing_service=None, + input_type=_ADDSEARCHATTRIBUTEREQUEST, + output_type=_ADDSEARCHATTRIBUTERESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='DescribeCluster', + full_name='uber.cadence.admin.v1.AdminAPI.DescribeCluster', + index=13, + containing_service=None, + input_type=_DESCRIBECLUSTERREQUEST, + output_type=_DESCRIBECLUSTERRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='CountDLQMessages', + full_name='uber.cadence.admin.v1.AdminAPI.CountDLQMessages', + index=14, + containing_service=None, + input_type=_COUNTDLQMESSAGESREQUEST, + output_type=_COUNTDLQMESSAGESRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='ReadDLQMessages', + full_name='uber.cadence.admin.v1.AdminAPI.ReadDLQMessages', + index=15, + containing_service=None, + input_type=_READDLQMESSAGESREQUEST, + output_type=_READDLQMESSAGESRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='PurgeDLQMessages', + full_name='uber.cadence.admin.v1.AdminAPI.PurgeDLQMessages', + index=16, + containing_service=None, + input_type=_PURGEDLQMESSAGESREQUEST, + output_type=_PURGEDLQMESSAGESRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='MergeDLQMessages', + full_name='uber.cadence.admin.v1.AdminAPI.MergeDLQMessages', + index=17, + containing_service=None, + input_type=_MERGEDLQMESSAGESREQUEST, + output_type=_MERGEDLQMESSAGESRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='RefreshWorkflowTasks', + full_name='uber.cadence.admin.v1.AdminAPI.RefreshWorkflowTasks', + index=18, + containing_service=None, + input_type=_REFRESHWORKFLOWTASKSREQUEST, + output_type=_REFRESHWORKFLOWTASKSRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='ResendReplicationTasks', + full_name='uber.cadence.admin.v1.AdminAPI.ResendReplicationTasks', + index=19, + containing_service=None, + input_type=_RESENDREPLICATIONTASKSREQUEST, + output_type=_RESENDREPLICATIONTASKSRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='GetCrossClusterTasks', + full_name='uber.cadence.admin.v1.AdminAPI.GetCrossClusterTasks', + index=20, + containing_service=None, + input_type=_GETCROSSCLUSTERTASKSREQUEST, + output_type=_GETCROSSCLUSTERTASKSRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='RespondCrossClusterTasksCompleted', + full_name='uber.cadence.admin.v1.AdminAPI.RespondCrossClusterTasksCompleted', + index=21, + containing_service=None, + input_type=_RESPONDCROSSCLUSTERTASKSCOMPLETEDREQUEST, + output_type=_RESPONDCROSSCLUSTERTASKSCOMPLETEDRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='GetDynamicConfig', + full_name='uber.cadence.admin.v1.AdminAPI.GetDynamicConfig', + index=22, + containing_service=None, + input_type=_GETDYNAMICCONFIGREQUEST, + output_type=_GETDYNAMICCONFIGRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='UpdateDynamicConfig', + full_name='uber.cadence.admin.v1.AdminAPI.UpdateDynamicConfig', + index=23, + containing_service=None, + input_type=_UPDATEDYNAMICCONFIGREQUEST, + output_type=_UPDATEDYNAMICCONFIGRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='RestoreDynamicConfig', + full_name='uber.cadence.admin.v1.AdminAPI.RestoreDynamicConfig', + index=24, + containing_service=None, + input_type=_RESTOREDYNAMICCONFIGREQUEST, + output_type=_RESTOREDYNAMICCONFIGRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='ListDynamicConfig', + full_name='uber.cadence.admin.v1.AdminAPI.ListDynamicConfig', + index=25, + containing_service=None, + input_type=_LISTDYNAMICCONFIGREQUEST, + output_type=_LISTDYNAMICCONFIGRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='DeleteWorkflow', + full_name='uber.cadence.admin.v1.AdminAPI.DeleteWorkflow', + index=26, + containing_service=None, + input_type=_DELETEWORKFLOWREQUEST, + output_type=_DELETEWORKFLOWRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='MaintainCorruptWorkflow', + full_name='uber.cadence.admin.v1.AdminAPI.MaintainCorruptWorkflow', + index=27, + containing_service=None, + input_type=_MAINTAINCORRUPTWORKFLOWREQUEST, + output_type=_MAINTAINCORRUPTWORKFLOWRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='GetGlobalIsolationGroups', + full_name='uber.cadence.admin.v1.AdminAPI.GetGlobalIsolationGroups', + index=28, + containing_service=None, + input_type=_GETGLOBALISOLATIONGROUPSREQUEST, + output_type=_GETGLOBALISOLATIONGROUPSRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='UpdateGlobalIsolationGroups', + full_name='uber.cadence.admin.v1.AdminAPI.UpdateGlobalIsolationGroups', + index=29, + containing_service=None, + input_type=_UPDATEGLOBALISOLATIONGROUPSREQUEST, + output_type=_UPDATEGLOBALISOLATIONGROUPSRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='GetDomainIsolationGroups', + full_name='uber.cadence.admin.v1.AdminAPI.GetDomainIsolationGroups', + index=30, + containing_service=None, + input_type=_GETDOMAINISOLATIONGROUPSREQUEST, + output_type=_GETDOMAINISOLATIONGROUPSRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='UpdateDomainIsolationGroups', + full_name='uber.cadence.admin.v1.AdminAPI.UpdateDomainIsolationGroups', + index=31, + containing_service=None, + input_type=_UPDATEDOMAINISOLATIONGROUPSREQUEST, + output_type=_UPDATEDOMAINISOLATIONGROUPSRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='GetDomainAsyncWorkflowConfiguraton', + full_name='uber.cadence.admin.v1.AdminAPI.GetDomainAsyncWorkflowConfiguraton', + index=32, + containing_service=None, + input_type=_GETDOMAINASYNCWORKFLOWCONFIGURATONREQUEST, + output_type=_GETDOMAINASYNCWORKFLOWCONFIGURATONRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='UpdateDomainAsyncWorkflowConfiguraton', + full_name='uber.cadence.admin.v1.AdminAPI.UpdateDomainAsyncWorkflowConfiguraton', + index=33, + containing_service=None, + input_type=_UPDATEDOMAINASYNCWORKFLOWCONFIGURATONREQUEST, + output_type=_UPDATEDOMAINASYNCWORKFLOWCONFIGURATONRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='UpdateTaskListPartitionConfig', + full_name='uber.cadence.admin.v1.AdminAPI.UpdateTaskListPartitionConfig', + index=34, + containing_service=None, + input_type=_UPDATETASKLISTPARTITIONCONFIGREQUEST, + output_type=_UPDATETASKLISTPARTITIONCONFIGRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), +]) +_sym_db.RegisterServiceDescriptor(_ADMINAPI) + +DESCRIPTOR.services_by_name['AdminAPI'] = _ADMINAPI + +# @@protoc_insertion_point(module_scope) diff --git a/cadence/shared/admin/v1/service_pb2.pyi b/cadence/shared/admin/v1/service_pb2.pyi new file mode 100644 index 0000000..34aeddb --- /dev/null +++ b/cadence/shared/admin/v1/service_pb2.pyi @@ -0,0 +1,621 @@ +from google.protobuf import timestamp_pb2 as _timestamp_pb2 +from google.protobuf import wrappers_pb2 as _wrappers_pb2 +from uber.cadence.api.v1 import common_pb2 as _common_pb2 +from uber.cadence.api.v1 import tasklist_pb2 as _tasklist_pb2 +from uber.cadence.api.v1 import visibility_pb2 as _visibility_pb2 +from uber.cadence.admin.v1 import cluster_pb2 as _cluster_pb2 +from uber.cadence.admin.v1 import history_pb2 as _history_pb2 +from uber.cadence.admin.v1 import queue_pb2 as _queue_pb2 +from uber.cadence.admin.v1 import replication_pb2 as _replication_pb2 +from google.protobuf.internal import containers as _containers +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union + +DESCRIPTOR: _descriptor.FileDescriptor + +class UpdateTaskListPartitionConfigRequest(_message.Message): + __slots__ = ("domain", "task_list", "task_list_type", "partition_config") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + TASK_LIST_FIELD_NUMBER: _ClassVar[int] + TASK_LIST_TYPE_FIELD_NUMBER: _ClassVar[int] + PARTITION_CONFIG_FIELD_NUMBER: _ClassVar[int] + domain: str + task_list: _tasklist_pb2.TaskList + task_list_type: _tasklist_pb2.TaskListType + partition_config: _tasklist_pb2.TaskListPartitionConfig + def __init__(self, domain: _Optional[str] = ..., task_list: _Optional[_Union[_tasklist_pb2.TaskList, _Mapping]] = ..., task_list_type: _Optional[_Union[_tasklist_pb2.TaskListType, str]] = ..., partition_config: _Optional[_Union[_tasklist_pb2.TaskListPartitionConfig, _Mapping]] = ...) -> None: ... + +class UpdateTaskListPartitionConfigResponse(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + +class DescribeWorkflowExecutionRequest(_message.Message): + __slots__ = ("domain", "workflow_execution") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + domain: str + workflow_execution: _common_pb2.WorkflowExecution + def __init__(self, domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ...) -> None: ... + +class DescribeWorkflowExecutionResponse(_message.Message): + __slots__ = ("shard_id", "history_addr", "mutable_state_in_cache", "mutable_state_in_database") + SHARD_ID_FIELD_NUMBER: _ClassVar[int] + HISTORY_ADDR_FIELD_NUMBER: _ClassVar[int] + MUTABLE_STATE_IN_CACHE_FIELD_NUMBER: _ClassVar[int] + MUTABLE_STATE_IN_DATABASE_FIELD_NUMBER: _ClassVar[int] + shard_id: int + history_addr: str + mutable_state_in_cache: str + mutable_state_in_database: str + def __init__(self, shard_id: _Optional[int] = ..., history_addr: _Optional[str] = ..., mutable_state_in_cache: _Optional[str] = ..., mutable_state_in_database: _Optional[str] = ...) -> None: ... + +class DescribeHistoryHostRequest(_message.Message): + __slots__ = ("host_address", "shard_id", "workflow_execution") + HOST_ADDRESS_FIELD_NUMBER: _ClassVar[int] + SHARD_ID_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + host_address: str + shard_id: int + workflow_execution: _common_pb2.WorkflowExecution + def __init__(self, host_address: _Optional[str] = ..., shard_id: _Optional[int] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ...) -> None: ... + +class DescribeShardDistributionRequest(_message.Message): + __slots__ = ("page_size", "page_id") + PAGE_SIZE_FIELD_NUMBER: _ClassVar[int] + PAGE_ID_FIELD_NUMBER: _ClassVar[int] + page_size: int + page_id: int + def __init__(self, page_size: _Optional[int] = ..., page_id: _Optional[int] = ...) -> None: ... + +class DescribeShardDistributionResponse(_message.Message): + __slots__ = ("number_of_shards", "shards") + class ShardsEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: int + value: str + def __init__(self, key: _Optional[int] = ..., value: _Optional[str] = ...) -> None: ... + NUMBER_OF_SHARDS_FIELD_NUMBER: _ClassVar[int] + SHARDS_FIELD_NUMBER: _ClassVar[int] + number_of_shards: int + shards: _containers.ScalarMap[int, str] + def __init__(self, number_of_shards: _Optional[int] = ..., shards: _Optional[_Mapping[int, str]] = ...) -> None: ... + +class DescribeHistoryHostResponse(_message.Message): + __slots__ = ("number_of_shards", "shard_ids", "domain_cache", "shard_controller_status", "address") + NUMBER_OF_SHARDS_FIELD_NUMBER: _ClassVar[int] + SHARD_IDS_FIELD_NUMBER: _ClassVar[int] + DOMAIN_CACHE_FIELD_NUMBER: _ClassVar[int] + SHARD_CONTROLLER_STATUS_FIELD_NUMBER: _ClassVar[int] + ADDRESS_FIELD_NUMBER: _ClassVar[int] + number_of_shards: int + shard_ids: _containers.RepeatedScalarFieldContainer[int] + domain_cache: _cluster_pb2.DomainCacheInfo + shard_controller_status: str + address: str + def __init__(self, number_of_shards: _Optional[int] = ..., shard_ids: _Optional[_Iterable[int]] = ..., domain_cache: _Optional[_Union[_cluster_pb2.DomainCacheInfo, _Mapping]] = ..., shard_controller_status: _Optional[str] = ..., address: _Optional[str] = ...) -> None: ... + +class CloseShardRequest(_message.Message): + __slots__ = ("shard_id",) + SHARD_ID_FIELD_NUMBER: _ClassVar[int] + shard_id: int + def __init__(self, shard_id: _Optional[int] = ...) -> None: ... + +class CloseShardResponse(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + +class RemoveTaskRequest(_message.Message): + __slots__ = ("shard_id", "task_type", "task_id", "visibility_time", "cluster_name") + SHARD_ID_FIELD_NUMBER: _ClassVar[int] + TASK_TYPE_FIELD_NUMBER: _ClassVar[int] + TASK_ID_FIELD_NUMBER: _ClassVar[int] + VISIBILITY_TIME_FIELD_NUMBER: _ClassVar[int] + CLUSTER_NAME_FIELD_NUMBER: _ClassVar[int] + shard_id: int + task_type: _queue_pb2.TaskType + task_id: int + visibility_time: _timestamp_pb2.Timestamp + cluster_name: str + def __init__(self, shard_id: _Optional[int] = ..., task_type: _Optional[_Union[_queue_pb2.TaskType, str]] = ..., task_id: _Optional[int] = ..., visibility_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., cluster_name: _Optional[str] = ...) -> None: ... + +class RemoveTaskResponse(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + +class ResetQueueRequest(_message.Message): + __slots__ = ("shard_id", "cluster_name", "task_type") + SHARD_ID_FIELD_NUMBER: _ClassVar[int] + CLUSTER_NAME_FIELD_NUMBER: _ClassVar[int] + TASK_TYPE_FIELD_NUMBER: _ClassVar[int] + shard_id: int + cluster_name: str + task_type: _queue_pb2.TaskType + def __init__(self, shard_id: _Optional[int] = ..., cluster_name: _Optional[str] = ..., task_type: _Optional[_Union[_queue_pb2.TaskType, str]] = ...) -> None: ... + +class ResetQueueResponse(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + +class DescribeQueueRequest(_message.Message): + __slots__ = ("shard_id", "cluster_name", "task_type") + SHARD_ID_FIELD_NUMBER: _ClassVar[int] + CLUSTER_NAME_FIELD_NUMBER: _ClassVar[int] + TASK_TYPE_FIELD_NUMBER: _ClassVar[int] + shard_id: int + cluster_name: str + task_type: _queue_pb2.TaskType + def __init__(self, shard_id: _Optional[int] = ..., cluster_name: _Optional[str] = ..., task_type: _Optional[_Union[_queue_pb2.TaskType, str]] = ...) -> None: ... + +class DescribeQueueResponse(_message.Message): + __slots__ = ("processing_queue_states",) + PROCESSING_QUEUE_STATES_FIELD_NUMBER: _ClassVar[int] + processing_queue_states: _containers.RepeatedScalarFieldContainer[str] + def __init__(self, processing_queue_states: _Optional[_Iterable[str]] = ...) -> None: ... + +class GetWorkflowExecutionRawHistoryV2Request(_message.Message): + __slots__ = ("domain", "workflow_execution", "start_event", "end_event", "page_size", "next_page_token") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + START_EVENT_FIELD_NUMBER: _ClassVar[int] + END_EVENT_FIELD_NUMBER: _ClassVar[int] + PAGE_SIZE_FIELD_NUMBER: _ClassVar[int] + NEXT_PAGE_TOKEN_FIELD_NUMBER: _ClassVar[int] + domain: str + workflow_execution: _common_pb2.WorkflowExecution + start_event: _history_pb2.VersionHistoryItem + end_event: _history_pb2.VersionHistoryItem + page_size: int + next_page_token: bytes + def __init__(self, domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., start_event: _Optional[_Union[_history_pb2.VersionHistoryItem, _Mapping]] = ..., end_event: _Optional[_Union[_history_pb2.VersionHistoryItem, _Mapping]] = ..., page_size: _Optional[int] = ..., next_page_token: _Optional[bytes] = ...) -> None: ... + +class GetWorkflowExecutionRawHistoryV2Response(_message.Message): + __slots__ = ("next_page_token", "history_batches", "version_history") + NEXT_PAGE_TOKEN_FIELD_NUMBER: _ClassVar[int] + HISTORY_BATCHES_FIELD_NUMBER: _ClassVar[int] + VERSION_HISTORY_FIELD_NUMBER: _ClassVar[int] + next_page_token: bytes + history_batches: _containers.RepeatedCompositeFieldContainer[_common_pb2.DataBlob] + version_history: _history_pb2.VersionHistory + def __init__(self, next_page_token: _Optional[bytes] = ..., history_batches: _Optional[_Iterable[_Union[_common_pb2.DataBlob, _Mapping]]] = ..., version_history: _Optional[_Union[_history_pb2.VersionHistory, _Mapping]] = ...) -> None: ... + +class GetReplicationMessagesRequest(_message.Message): + __slots__ = ("tokens", "cluster_name") + TOKENS_FIELD_NUMBER: _ClassVar[int] + CLUSTER_NAME_FIELD_NUMBER: _ClassVar[int] + tokens: _containers.RepeatedCompositeFieldContainer[_replication_pb2.ReplicationToken] + cluster_name: str + def __init__(self, tokens: _Optional[_Iterable[_Union[_replication_pb2.ReplicationToken, _Mapping]]] = ..., cluster_name: _Optional[str] = ...) -> None: ... + +class GetReplicationMessagesResponse(_message.Message): + __slots__ = ("shard_messages",) + class ShardMessagesEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: int + value: _replication_pb2.ReplicationMessages + def __init__(self, key: _Optional[int] = ..., value: _Optional[_Union[_replication_pb2.ReplicationMessages, _Mapping]] = ...) -> None: ... + SHARD_MESSAGES_FIELD_NUMBER: _ClassVar[int] + shard_messages: _containers.MessageMap[int, _replication_pb2.ReplicationMessages] + def __init__(self, shard_messages: _Optional[_Mapping[int, _replication_pb2.ReplicationMessages]] = ...) -> None: ... + +class GetDLQReplicationMessagesRequest(_message.Message): + __slots__ = ("task_infos",) + TASK_INFOS_FIELD_NUMBER: _ClassVar[int] + task_infos: _containers.RepeatedCompositeFieldContainer[_replication_pb2.ReplicationTaskInfo] + def __init__(self, task_infos: _Optional[_Iterable[_Union[_replication_pb2.ReplicationTaskInfo, _Mapping]]] = ...) -> None: ... + +class GetDLQReplicationMessagesResponse(_message.Message): + __slots__ = ("replication_tasks",) + REPLICATION_TASKS_FIELD_NUMBER: _ClassVar[int] + replication_tasks: _containers.RepeatedCompositeFieldContainer[_replication_pb2.ReplicationTask] + def __init__(self, replication_tasks: _Optional[_Iterable[_Union[_replication_pb2.ReplicationTask, _Mapping]]] = ...) -> None: ... + +class GetDomainReplicationMessagesRequest(_message.Message): + __slots__ = ("last_retrieved_message_id", "last_processed_message_id", "cluster_name") + LAST_RETRIEVED_MESSAGE_ID_FIELD_NUMBER: _ClassVar[int] + LAST_PROCESSED_MESSAGE_ID_FIELD_NUMBER: _ClassVar[int] + CLUSTER_NAME_FIELD_NUMBER: _ClassVar[int] + last_retrieved_message_id: _wrappers_pb2.Int64Value + last_processed_message_id: _wrappers_pb2.Int64Value + cluster_name: str + def __init__(self, last_retrieved_message_id: _Optional[_Union[_wrappers_pb2.Int64Value, _Mapping]] = ..., last_processed_message_id: _Optional[_Union[_wrappers_pb2.Int64Value, _Mapping]] = ..., cluster_name: _Optional[str] = ...) -> None: ... + +class GetDomainReplicationMessagesResponse(_message.Message): + __slots__ = ("messages",) + MESSAGES_FIELD_NUMBER: _ClassVar[int] + messages: _replication_pb2.ReplicationMessages + def __init__(self, messages: _Optional[_Union[_replication_pb2.ReplicationMessages, _Mapping]] = ...) -> None: ... + +class ReapplyEventsRequest(_message.Message): + __slots__ = ("domain", "workflow_execution", "events") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + EVENTS_FIELD_NUMBER: _ClassVar[int] + domain: str + workflow_execution: _common_pb2.WorkflowExecution + events: _common_pb2.DataBlob + def __init__(self, domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., events: _Optional[_Union[_common_pb2.DataBlob, _Mapping]] = ...) -> None: ... + +class ReapplyEventsResponse(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + +class AddSearchAttributeRequest(_message.Message): + __slots__ = ("search_attribute", "security_token") + class SearchAttributeEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: _visibility_pb2.IndexedValueType + def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[_visibility_pb2.IndexedValueType, str]] = ...) -> None: ... + SEARCH_ATTRIBUTE_FIELD_NUMBER: _ClassVar[int] + SECURITY_TOKEN_FIELD_NUMBER: _ClassVar[int] + search_attribute: _containers.ScalarMap[str, _visibility_pb2.IndexedValueType] + security_token: str + def __init__(self, search_attribute: _Optional[_Mapping[str, _visibility_pb2.IndexedValueType]] = ..., security_token: _Optional[str] = ...) -> None: ... + +class AddSearchAttributeResponse(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + +class DescribeClusterRequest(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + +class DescribeClusterResponse(_message.Message): + __slots__ = ("supported_client_versions", "membership_info", "persistence_info") + class PersistenceInfoEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: _cluster_pb2.PersistenceInfo + def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[_cluster_pb2.PersistenceInfo, _Mapping]] = ...) -> None: ... + SUPPORTED_CLIENT_VERSIONS_FIELD_NUMBER: _ClassVar[int] + MEMBERSHIP_INFO_FIELD_NUMBER: _ClassVar[int] + PERSISTENCE_INFO_FIELD_NUMBER: _ClassVar[int] + supported_client_versions: _common_pb2.SupportedClientVersions + membership_info: _cluster_pb2.MembershipInfo + persistence_info: _containers.MessageMap[str, _cluster_pb2.PersistenceInfo] + def __init__(self, supported_client_versions: _Optional[_Union[_common_pb2.SupportedClientVersions, _Mapping]] = ..., membership_info: _Optional[_Union[_cluster_pb2.MembershipInfo, _Mapping]] = ..., persistence_info: _Optional[_Mapping[str, _cluster_pb2.PersistenceInfo]] = ...) -> None: ... + +class CountDLQMessagesRequest(_message.Message): + __slots__ = ("force_fetch",) + FORCE_FETCH_FIELD_NUMBER: _ClassVar[int] + force_fetch: bool + def __init__(self, force_fetch: bool = ...) -> None: ... + +class CountDLQMessagesResponse(_message.Message): + __slots__ = ("history", "domain") + HISTORY_FIELD_NUMBER: _ClassVar[int] + DOMAIN_FIELD_NUMBER: _ClassVar[int] + history: _containers.RepeatedCompositeFieldContainer[_replication_pb2.HistoryDLQCountEntry] + domain: int + def __init__(self, history: _Optional[_Iterable[_Union[_replication_pb2.HistoryDLQCountEntry, _Mapping]]] = ..., domain: _Optional[int] = ...) -> None: ... + +class ReadDLQMessagesRequest(_message.Message): + __slots__ = ("type", "shard_id", "source_cluster", "inclusive_end_message_id", "page_size", "next_page_token") + TYPE_FIELD_NUMBER: _ClassVar[int] + SHARD_ID_FIELD_NUMBER: _ClassVar[int] + SOURCE_CLUSTER_FIELD_NUMBER: _ClassVar[int] + INCLUSIVE_END_MESSAGE_ID_FIELD_NUMBER: _ClassVar[int] + PAGE_SIZE_FIELD_NUMBER: _ClassVar[int] + NEXT_PAGE_TOKEN_FIELD_NUMBER: _ClassVar[int] + type: _replication_pb2.DLQType + shard_id: int + source_cluster: str + inclusive_end_message_id: _wrappers_pb2.Int64Value + page_size: int + next_page_token: bytes + def __init__(self, type: _Optional[_Union[_replication_pb2.DLQType, str]] = ..., shard_id: _Optional[int] = ..., source_cluster: _Optional[str] = ..., inclusive_end_message_id: _Optional[_Union[_wrappers_pb2.Int64Value, _Mapping]] = ..., page_size: _Optional[int] = ..., next_page_token: _Optional[bytes] = ...) -> None: ... + +class ReadDLQMessagesResponse(_message.Message): + __slots__ = ("type", "replication_tasks", "replication_tasks_info", "next_page_token") + TYPE_FIELD_NUMBER: _ClassVar[int] + REPLICATION_TASKS_FIELD_NUMBER: _ClassVar[int] + REPLICATION_TASKS_INFO_FIELD_NUMBER: _ClassVar[int] + NEXT_PAGE_TOKEN_FIELD_NUMBER: _ClassVar[int] + type: _replication_pb2.DLQType + replication_tasks: _containers.RepeatedCompositeFieldContainer[_replication_pb2.ReplicationTask] + replication_tasks_info: _containers.RepeatedCompositeFieldContainer[_replication_pb2.ReplicationTaskInfo] + next_page_token: bytes + def __init__(self, type: _Optional[_Union[_replication_pb2.DLQType, str]] = ..., replication_tasks: _Optional[_Iterable[_Union[_replication_pb2.ReplicationTask, _Mapping]]] = ..., replication_tasks_info: _Optional[_Iterable[_Union[_replication_pb2.ReplicationTaskInfo, _Mapping]]] = ..., next_page_token: _Optional[bytes] = ...) -> None: ... + +class PurgeDLQMessagesRequest(_message.Message): + __slots__ = ("type", "shard_id", "source_cluster", "inclusive_end_message_id") + TYPE_FIELD_NUMBER: _ClassVar[int] + SHARD_ID_FIELD_NUMBER: _ClassVar[int] + SOURCE_CLUSTER_FIELD_NUMBER: _ClassVar[int] + INCLUSIVE_END_MESSAGE_ID_FIELD_NUMBER: _ClassVar[int] + type: _replication_pb2.DLQType + shard_id: int + source_cluster: str + inclusive_end_message_id: _wrappers_pb2.Int64Value + def __init__(self, type: _Optional[_Union[_replication_pb2.DLQType, str]] = ..., shard_id: _Optional[int] = ..., source_cluster: _Optional[str] = ..., inclusive_end_message_id: _Optional[_Union[_wrappers_pb2.Int64Value, _Mapping]] = ...) -> None: ... + +class PurgeDLQMessagesResponse(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + +class MergeDLQMessagesRequest(_message.Message): + __slots__ = ("type", "shard_id", "source_cluster", "inclusive_end_message_id", "page_size", "next_page_token") + TYPE_FIELD_NUMBER: _ClassVar[int] + SHARD_ID_FIELD_NUMBER: _ClassVar[int] + SOURCE_CLUSTER_FIELD_NUMBER: _ClassVar[int] + INCLUSIVE_END_MESSAGE_ID_FIELD_NUMBER: _ClassVar[int] + PAGE_SIZE_FIELD_NUMBER: _ClassVar[int] + NEXT_PAGE_TOKEN_FIELD_NUMBER: _ClassVar[int] + type: _replication_pb2.DLQType + shard_id: int + source_cluster: str + inclusive_end_message_id: _wrappers_pb2.Int64Value + page_size: int + next_page_token: bytes + def __init__(self, type: _Optional[_Union[_replication_pb2.DLQType, str]] = ..., shard_id: _Optional[int] = ..., source_cluster: _Optional[str] = ..., inclusive_end_message_id: _Optional[_Union[_wrappers_pb2.Int64Value, _Mapping]] = ..., page_size: _Optional[int] = ..., next_page_token: _Optional[bytes] = ...) -> None: ... + +class MergeDLQMessagesResponse(_message.Message): + __slots__ = ("next_page_token",) + NEXT_PAGE_TOKEN_FIELD_NUMBER: _ClassVar[int] + next_page_token: bytes + def __init__(self, next_page_token: _Optional[bytes] = ...) -> None: ... + +class RefreshWorkflowTasksRequest(_message.Message): + __slots__ = ("domain", "workflow_execution") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + domain: str + workflow_execution: _common_pb2.WorkflowExecution + def __init__(self, domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ...) -> None: ... + +class RefreshWorkflowTasksResponse(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + +class ResendReplicationTasksRequest(_message.Message): + __slots__ = ("domain_id", "workflow_execution", "remote_cluster", "start_event", "end_event") + DOMAIN_ID_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + REMOTE_CLUSTER_FIELD_NUMBER: _ClassVar[int] + START_EVENT_FIELD_NUMBER: _ClassVar[int] + END_EVENT_FIELD_NUMBER: _ClassVar[int] + domain_id: str + workflow_execution: _common_pb2.WorkflowExecution + remote_cluster: str + start_event: _history_pb2.VersionHistoryItem + end_event: _history_pb2.VersionHistoryItem + def __init__(self, domain_id: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., remote_cluster: _Optional[str] = ..., start_event: _Optional[_Union[_history_pb2.VersionHistoryItem, _Mapping]] = ..., end_event: _Optional[_Union[_history_pb2.VersionHistoryItem, _Mapping]] = ...) -> None: ... + +class ResendReplicationTasksResponse(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + +class GetCrossClusterTasksRequest(_message.Message): + __slots__ = ("shard_ids", "target_cluster") + SHARD_IDS_FIELD_NUMBER: _ClassVar[int] + TARGET_CLUSTER_FIELD_NUMBER: _ClassVar[int] + shard_ids: _containers.RepeatedScalarFieldContainer[int] + target_cluster: str + def __init__(self, shard_ids: _Optional[_Iterable[int]] = ..., target_cluster: _Optional[str] = ...) -> None: ... + +class GetCrossClusterTasksResponse(_message.Message): + __slots__ = ("tasks_by_shard", "failed_cause_by_shard") + class TasksByShardEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: int + value: _queue_pb2.CrossClusterTaskRequests + def __init__(self, key: _Optional[int] = ..., value: _Optional[_Union[_queue_pb2.CrossClusterTaskRequests, _Mapping]] = ...) -> None: ... + class FailedCauseByShardEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: int + value: _queue_pb2.GetTaskFailedCause + def __init__(self, key: _Optional[int] = ..., value: _Optional[_Union[_queue_pb2.GetTaskFailedCause, str]] = ...) -> None: ... + TASKS_BY_SHARD_FIELD_NUMBER: _ClassVar[int] + FAILED_CAUSE_BY_SHARD_FIELD_NUMBER: _ClassVar[int] + tasks_by_shard: _containers.MessageMap[int, _queue_pb2.CrossClusterTaskRequests] + failed_cause_by_shard: _containers.ScalarMap[int, _queue_pb2.GetTaskFailedCause] + def __init__(self, tasks_by_shard: _Optional[_Mapping[int, _queue_pb2.CrossClusterTaskRequests]] = ..., failed_cause_by_shard: _Optional[_Mapping[int, _queue_pb2.GetTaskFailedCause]] = ...) -> None: ... + +class RespondCrossClusterTasksCompletedRequest(_message.Message): + __slots__ = ("shard_id", "target_cluster", "task_responses", "fetch_new_tasks") + SHARD_ID_FIELD_NUMBER: _ClassVar[int] + TARGET_CLUSTER_FIELD_NUMBER: _ClassVar[int] + TASK_RESPONSES_FIELD_NUMBER: _ClassVar[int] + FETCH_NEW_TASKS_FIELD_NUMBER: _ClassVar[int] + shard_id: int + target_cluster: str + task_responses: _containers.RepeatedCompositeFieldContainer[_queue_pb2.CrossClusterTaskResponse] + fetch_new_tasks: bool + def __init__(self, shard_id: _Optional[int] = ..., target_cluster: _Optional[str] = ..., task_responses: _Optional[_Iterable[_Union[_queue_pb2.CrossClusterTaskResponse, _Mapping]]] = ..., fetch_new_tasks: bool = ...) -> None: ... + +class RespondCrossClusterTasksCompletedResponse(_message.Message): + __slots__ = ("tasks",) + TASKS_FIELD_NUMBER: _ClassVar[int] + tasks: _queue_pb2.CrossClusterTaskRequests + def __init__(self, tasks: _Optional[_Union[_queue_pb2.CrossClusterTaskRequests, _Mapping]] = ...) -> None: ... + +class GetDynamicConfigRequest(_message.Message): + __slots__ = ("config_name", "filters") + CONFIG_NAME_FIELD_NUMBER: _ClassVar[int] + FILTERS_FIELD_NUMBER: _ClassVar[int] + config_name: str + filters: _containers.RepeatedCompositeFieldContainer[DynamicConfigFilter] + def __init__(self, config_name: _Optional[str] = ..., filters: _Optional[_Iterable[_Union[DynamicConfigFilter, _Mapping]]] = ...) -> None: ... + +class GetDynamicConfigResponse(_message.Message): + __slots__ = ("value",) + VALUE_FIELD_NUMBER: _ClassVar[int] + value: _common_pb2.DataBlob + def __init__(self, value: _Optional[_Union[_common_pb2.DataBlob, _Mapping]] = ...) -> None: ... + +class UpdateDynamicConfigRequest(_message.Message): + __slots__ = ("config_name", "config_values") + CONFIG_NAME_FIELD_NUMBER: _ClassVar[int] + CONFIG_VALUES_FIELD_NUMBER: _ClassVar[int] + config_name: str + config_values: _containers.RepeatedCompositeFieldContainer[DynamicConfigValue] + def __init__(self, config_name: _Optional[str] = ..., config_values: _Optional[_Iterable[_Union[DynamicConfigValue, _Mapping]]] = ...) -> None: ... + +class UpdateDynamicConfigResponse(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + +class RestoreDynamicConfigRequest(_message.Message): + __slots__ = ("config_name", "filters") + CONFIG_NAME_FIELD_NUMBER: _ClassVar[int] + FILTERS_FIELD_NUMBER: _ClassVar[int] + config_name: str + filters: _containers.RepeatedCompositeFieldContainer[DynamicConfigFilter] + def __init__(self, config_name: _Optional[str] = ..., filters: _Optional[_Iterable[_Union[DynamicConfigFilter, _Mapping]]] = ...) -> None: ... + +class RestoreDynamicConfigResponse(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + +class DeleteWorkflowRequest(_message.Message): + __slots__ = ("domain", "workflow_execution") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + domain: str + workflow_execution: _common_pb2.WorkflowExecution + def __init__(self, domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ...) -> None: ... + +class DeleteWorkflowResponse(_message.Message): + __slots__ = ("history_deleted", "executions_deleted", "visibility_deleted") + HISTORY_DELETED_FIELD_NUMBER: _ClassVar[int] + EXECUTIONS_DELETED_FIELD_NUMBER: _ClassVar[int] + VISIBILITY_DELETED_FIELD_NUMBER: _ClassVar[int] + history_deleted: bool + executions_deleted: bool + visibility_deleted: bool + def __init__(self, history_deleted: bool = ..., executions_deleted: bool = ..., visibility_deleted: bool = ...) -> None: ... + +class MaintainCorruptWorkflowRequest(_message.Message): + __slots__ = ("domain", "workflow_execution") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + domain: str + workflow_execution: _common_pb2.WorkflowExecution + def __init__(self, domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ...) -> None: ... + +class MaintainCorruptWorkflowResponse(_message.Message): + __slots__ = ("history_deleted", "executions_deleted", "visibility_deleted") + HISTORY_DELETED_FIELD_NUMBER: _ClassVar[int] + EXECUTIONS_DELETED_FIELD_NUMBER: _ClassVar[int] + VISIBILITY_DELETED_FIELD_NUMBER: _ClassVar[int] + history_deleted: bool + executions_deleted: bool + visibility_deleted: bool + def __init__(self, history_deleted: bool = ..., executions_deleted: bool = ..., visibility_deleted: bool = ...) -> None: ... + +class ListDynamicConfigRequest(_message.Message): + __slots__ = ("config_name",) + CONFIG_NAME_FIELD_NUMBER: _ClassVar[int] + config_name: str + def __init__(self, config_name: _Optional[str] = ...) -> None: ... + +class ListDynamicConfigResponse(_message.Message): + __slots__ = ("entries",) + ENTRIES_FIELD_NUMBER: _ClassVar[int] + entries: _containers.RepeatedCompositeFieldContainer[DynamicConfigEntry] + def __init__(self, entries: _Optional[_Iterable[_Union[DynamicConfigEntry, _Mapping]]] = ...) -> None: ... + +class DynamicConfigEntry(_message.Message): + __slots__ = ("name", "values") + NAME_FIELD_NUMBER: _ClassVar[int] + VALUES_FIELD_NUMBER: _ClassVar[int] + name: str + values: _containers.RepeatedCompositeFieldContainer[DynamicConfigValue] + def __init__(self, name: _Optional[str] = ..., values: _Optional[_Iterable[_Union[DynamicConfigValue, _Mapping]]] = ...) -> None: ... + +class DynamicConfigValue(_message.Message): + __slots__ = ("value", "filters") + VALUE_FIELD_NUMBER: _ClassVar[int] + FILTERS_FIELD_NUMBER: _ClassVar[int] + value: _common_pb2.DataBlob + filters: _containers.RepeatedCompositeFieldContainer[DynamicConfigFilter] + def __init__(self, value: _Optional[_Union[_common_pb2.DataBlob, _Mapping]] = ..., filters: _Optional[_Iterable[_Union[DynamicConfigFilter, _Mapping]]] = ...) -> None: ... + +class DynamicConfigFilter(_message.Message): + __slots__ = ("name", "value") + NAME_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + name: str + value: _common_pb2.DataBlob + def __init__(self, name: _Optional[str] = ..., value: _Optional[_Union[_common_pb2.DataBlob, _Mapping]] = ...) -> None: ... + +class GetGlobalIsolationGroupsRequest(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + +class GetGlobalIsolationGroupsResponse(_message.Message): + __slots__ = ("isolation_groups",) + ISOLATION_GROUPS_FIELD_NUMBER: _ClassVar[int] + isolation_groups: _common_pb2.IsolationGroupConfiguration + def __init__(self, isolation_groups: _Optional[_Union[_common_pb2.IsolationGroupConfiguration, _Mapping]] = ...) -> None: ... + +class UpdateGlobalIsolationGroupsRequest(_message.Message): + __slots__ = ("isolation_groups",) + ISOLATION_GROUPS_FIELD_NUMBER: _ClassVar[int] + isolation_groups: _common_pb2.IsolationGroupConfiguration + def __init__(self, isolation_groups: _Optional[_Union[_common_pb2.IsolationGroupConfiguration, _Mapping]] = ...) -> None: ... + +class UpdateGlobalIsolationGroupsResponse(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + +class GetDomainIsolationGroupsRequest(_message.Message): + __slots__ = ("domain",) + DOMAIN_FIELD_NUMBER: _ClassVar[int] + domain: str + def __init__(self, domain: _Optional[str] = ...) -> None: ... + +class GetDomainIsolationGroupsResponse(_message.Message): + __slots__ = ("isolation_groups",) + ISOLATION_GROUPS_FIELD_NUMBER: _ClassVar[int] + isolation_groups: _common_pb2.IsolationGroupConfiguration + def __init__(self, isolation_groups: _Optional[_Union[_common_pb2.IsolationGroupConfiguration, _Mapping]] = ...) -> None: ... + +class UpdateDomainIsolationGroupsRequest(_message.Message): + __slots__ = ("domain", "isolation_groups") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + ISOLATION_GROUPS_FIELD_NUMBER: _ClassVar[int] + domain: str + isolation_groups: _common_pb2.IsolationGroupConfiguration + def __init__(self, domain: _Optional[str] = ..., isolation_groups: _Optional[_Union[_common_pb2.IsolationGroupConfiguration, _Mapping]] = ...) -> None: ... + +class UpdateDomainIsolationGroupsResponse(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + +class GetDomainAsyncWorkflowConfiguratonRequest(_message.Message): + __slots__ = ("domain",) + DOMAIN_FIELD_NUMBER: _ClassVar[int] + domain: str + def __init__(self, domain: _Optional[str] = ...) -> None: ... + +class GetDomainAsyncWorkflowConfiguratonResponse(_message.Message): + __slots__ = ("configuration",) + CONFIGURATION_FIELD_NUMBER: _ClassVar[int] + configuration: _common_pb2.AsyncWorkflowConfiguration + def __init__(self, configuration: _Optional[_Union[_common_pb2.AsyncWorkflowConfiguration, _Mapping]] = ...) -> None: ... + +class UpdateDomainAsyncWorkflowConfiguratonRequest(_message.Message): + __slots__ = ("domain", "configuration") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + CONFIGURATION_FIELD_NUMBER: _ClassVar[int] + domain: str + configuration: _common_pb2.AsyncWorkflowConfiguration + def __init__(self, domain: _Optional[str] = ..., configuration: _Optional[_Union[_common_pb2.AsyncWorkflowConfiguration, _Mapping]] = ...) -> None: ... + +class UpdateDomainAsyncWorkflowConfiguratonResponse(_message.Message): + __slots__ = () + def __init__(self) -> None: ... diff --git a/cadence/shared/api/v1/common_pb2.py b/cadence/shared/api/v1/common_pb2.py new file mode 100644 index 0000000..03c6d94 --- /dev/null +++ b/cadence/shared/api/v1/common_pb2.py @@ -0,0 +1,1155 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: uber/cadence/api/v1/common.proto +"""Generated protocol buffer code.""" +from google.protobuf.internal import enum_type_wrapper +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='uber/cadence/api/v1/common.proto', + package='uber.cadence.api.v1', + syntax='proto3', + serialized_options=b'\n\027com.uber.cadence.api.v1B\013CommonProtoP\001Z1github.com/uber/cadence-idl/go/proto/api/v1;apiv1', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n uber/cadence/api/v1/common.proto\x12\x13uber.cadence.api.v1\x1a\x1egoogle/protobuf/duration.proto\"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\"\x17\n\x07Payload\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"*\n\x07\x46\x61ilure\x12\x0e\n\x06reason\x18\x01 \x01(\t\x12\x0f\n\x07\x64\x65tails\x18\x02 \x01(\x0c\"\x8a\x01\n\x04Memo\x12\x35\n\x06\x66ields\x18\x01 \x03(\x0b\x32%.uber.cadence.api.v1.Memo.FieldsEntry\x1aK\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12+\n\x05value\x18\x02 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload:\x02\x38\x01\"\x8e\x01\n\x06Header\x12\x37\n\x06\x66ields\x18\x01 \x03(\x0b\x32\'.uber.cadence.api.v1.Header.FieldsEntry\x1aK\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12+\n\x05value\x18\x02 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload:\x02\x38\x01\"\xb8\x01\n\x10SearchAttributes\x12P\n\x0eindexed_fields\x18\x01 \x03(\x0b\x32\x38.uber.cadence.api.v1.SearchAttributes.IndexedFieldsEntry\x1aR\n\x12IndexedFieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12+\n\x05value\x18\x02 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload:\x02\x38\x01\"R\n\x08\x44\x61taBlob\x12\x38\n\rencoding_type\x18\x01 \x01(\x0e\x32!.uber.cadence.api.v1.EncodingType\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\":\n\x11WorkerVersionInfo\x12\x0c\n\x04impl\x18\x01 \x01(\t\x12\x17\n\x0f\x66\x65\x61ture_version\x18\x02 \x01(\t\";\n\x17SupportedClientVersions\x12\x0e\n\x06go_sdk\x18\x01 \x01(\t\x12\x10\n\x08java_sdk\x18\x02 \x01(\t\"\x8b\x02\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\x1bnon_retryable_error_reasons\x18\x05 \x03(\t\x12\x36\n\x13\x65xpiration_interval\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\"`\n\x17IsolationGroupPartition\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x37\n\x05state\x18\x02 \x01(\x0e\x32(.uber.cadence.api.v1.IsolationGroupState\"e\n\x1bIsolationGroupConfiguration\x12\x46\n\x10isolation_groups\x18\x01 \x03(\x0b\x32,.uber.cadence.api.v1.IsolationGroupPartition\"\x95\x01\n\x1a\x41syncWorkflowConfiguration\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x1d\n\x15predefined_queue_name\x18\x02 \x01(\t\x12\x12\n\nqueue_type\x18\x03 \x01(\t\x12\x33\n\x0cqueue_config\x18\x04 \x01(\x0b\x32\x1d.uber.cadence.api.v1.DataBlob\"\xc6\x02\n\x1c\x41\x63tiveClusterSelectionPolicy\x12\x45\n\x08strategy\x18\x01 \x01(\x0e\x32\x33.uber.cadence.api.v1.ActiveClusterSelectionStrategy\x12\x63\n#active_cluster_sticky_region_config\x18\x02 \x01(\x0b\x32\x34.uber.cadence.api.v1.ActiveClusterStickyRegionConfigH\x00\x12g\n%active_cluster_external_entity_config\x18\x03 \x01(\x0b\x32\x36.uber.cadence.api.v1.ActiveClusterExternalEntityConfigH\x00\x42\x11\n\x0fstrategy_config\"8\n\x1f\x41\x63tiveClusterStickyRegionConfig\x12\x15\n\rsticky_region\x18\x01 \x01(\t\"^\n!ActiveClusterExternalEntityConfig\x12\x1c\n\x14\x65xternal_entity_type\x18\x01 \x01(\t\x12\x1b\n\x13\x65xternal_entity_key\x18\x02 \x01(\t*w\n\x0c\x45ncodingType\x12\x19\n\x15\x45NCODING_TYPE_INVALID\x10\x00\x12\x1a\n\x16\x45NCODING_TYPE_THRIFTRW\x10\x01\x12\x16\n\x12\x45NCODING_TYPE_JSON\x10\x02\x12\x18\n\x14\x45NCODING_TYPE_PROTO3\x10\x03*~\n\x13IsolationGroupState\x12!\n\x1dISOLATION_GROUP_STATE_INVALID\x10\x00\x12!\n\x1dISOLATION_GROUP_STATE_HEALTHY\x10\x01\x12!\n\x1dISOLATION_GROUP_STATE_DRAINED\x10\x02*\xbb\x01\n\x1e\x41\x63tiveClusterSelectionStrategy\x12-\n)ACTIVE_CLUSTER_SELECTION_STRATEGY_INVALID\x10\x00\x12\x33\n/ACTIVE_CLUSTER_SELECTION_STRATEGY_REGION_STICKY\x10\x01\x12\x35\n1ACTIVE_CLUSTER_SELECTION_STRATEGY_EXTERNAL_ENTITY\x10\x02\x42[\n\x17\x63om.uber.cadence.api.v1B\x0b\x43ommonProtoP\x01Z1github.com/uber/cadence-idl/go/proto/api/v1;apiv1b\x06proto3' + , + dependencies=[google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,]) + +_ENCODINGTYPE = _descriptor.EnumDescriptor( + name='EncodingType', + full_name='uber.cadence.api.v1.EncodingType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='ENCODING_TYPE_INVALID', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ENCODING_TYPE_THRIFTRW', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ENCODING_TYPE_JSON', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ENCODING_TYPE_PROTO3', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=2060, + serialized_end=2179, +) +_sym_db.RegisterEnumDescriptor(_ENCODINGTYPE) + +EncodingType = enum_type_wrapper.EnumTypeWrapper(_ENCODINGTYPE) +_ISOLATIONGROUPSTATE = _descriptor.EnumDescriptor( + name='IsolationGroupState', + full_name='uber.cadence.api.v1.IsolationGroupState', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='ISOLATION_GROUP_STATE_INVALID', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ISOLATION_GROUP_STATE_HEALTHY', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ISOLATION_GROUP_STATE_DRAINED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=2181, + serialized_end=2307, +) +_sym_db.RegisterEnumDescriptor(_ISOLATIONGROUPSTATE) + +IsolationGroupState = enum_type_wrapper.EnumTypeWrapper(_ISOLATIONGROUPSTATE) +_ACTIVECLUSTERSELECTIONSTRATEGY = _descriptor.EnumDescriptor( + name='ActiveClusterSelectionStrategy', + full_name='uber.cadence.api.v1.ActiveClusterSelectionStrategy', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='ACTIVE_CLUSTER_SELECTION_STRATEGY_INVALID', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ACTIVE_CLUSTER_SELECTION_STRATEGY_REGION_STICKY', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ACTIVE_CLUSTER_SELECTION_STRATEGY_EXTERNAL_ENTITY', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=2310, + serialized_end=2497, +) +_sym_db.RegisterEnumDescriptor(_ACTIVECLUSTERSELECTIONSTRATEGY) + +ActiveClusterSelectionStrategy = enum_type_wrapper.EnumTypeWrapper(_ACTIVECLUSTERSELECTIONSTRATEGY) +ENCODING_TYPE_INVALID = 0 +ENCODING_TYPE_THRIFTRW = 1 +ENCODING_TYPE_JSON = 2 +ENCODING_TYPE_PROTO3 = 3 +ISOLATION_GROUP_STATE_INVALID = 0 +ISOLATION_GROUP_STATE_HEALTHY = 1 +ISOLATION_GROUP_STATE_DRAINED = 2 +ACTIVE_CLUSTER_SELECTION_STRATEGY_INVALID = 0 +ACTIVE_CLUSTER_SELECTION_STRATEGY_REGION_STICKY = 1 +ACTIVE_CLUSTER_SELECTION_STRATEGY_EXTERNAL_ENTITY = 2 + + + +_WORKFLOWEXECUTION = _descriptor.Descriptor( + name='WorkflowExecution', + full_name='uber.cadence.api.v1.WorkflowExecution', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='workflow_id', full_name='uber.cadence.api.v1.WorkflowExecution.workflow_id', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='run_id', full_name='uber.cadence.api.v1.WorkflowExecution.run_id', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=89, + serialized_end=145, +) + + +_WORKFLOWTYPE = _descriptor.Descriptor( + name='WorkflowType', + full_name='uber.cadence.api.v1.WorkflowType', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='name', full_name='uber.cadence.api.v1.WorkflowType.name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=147, + serialized_end=175, +) + + +_ACTIVITYTYPE = _descriptor.Descriptor( + name='ActivityType', + full_name='uber.cadence.api.v1.ActivityType', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='name', full_name='uber.cadence.api.v1.ActivityType.name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=177, + serialized_end=205, +) + + +_PAYLOAD = _descriptor.Descriptor( + name='Payload', + full_name='uber.cadence.api.v1.Payload', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='data', full_name='uber.cadence.api.v1.Payload.data', index=0, + number=1, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=207, + serialized_end=230, +) + + +_FAILURE = _descriptor.Descriptor( + name='Failure', + full_name='uber.cadence.api.v1.Failure', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='reason', full_name='uber.cadence.api.v1.Failure.reason', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='details', full_name='uber.cadence.api.v1.Failure.details', index=1, + number=2, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=232, + serialized_end=274, +) + + +_MEMO_FIELDSENTRY = _descriptor.Descriptor( + name='FieldsEntry', + full_name='uber.cadence.api.v1.Memo.FieldsEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='uber.cadence.api.v1.Memo.FieldsEntry.key', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='value', full_name='uber.cadence.api.v1.Memo.FieldsEntry.value', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'8\001', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=340, + serialized_end=415, +) + +_MEMO = _descriptor.Descriptor( + name='Memo', + full_name='uber.cadence.api.v1.Memo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='fields', full_name='uber.cadence.api.v1.Memo.fields', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[_MEMO_FIELDSENTRY, ], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=277, + serialized_end=415, +) + + +_HEADER_FIELDSENTRY = _descriptor.Descriptor( + name='FieldsEntry', + full_name='uber.cadence.api.v1.Header.FieldsEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='uber.cadence.api.v1.Header.FieldsEntry.key', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='value', full_name='uber.cadence.api.v1.Header.FieldsEntry.value', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'8\001', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=340, + serialized_end=415, +) + +_HEADER = _descriptor.Descriptor( + name='Header', + full_name='uber.cadence.api.v1.Header', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='fields', full_name='uber.cadence.api.v1.Header.fields', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[_HEADER_FIELDSENTRY, ], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=418, + serialized_end=560, +) + + +_SEARCHATTRIBUTES_INDEXEDFIELDSENTRY = _descriptor.Descriptor( + name='IndexedFieldsEntry', + full_name='uber.cadence.api.v1.SearchAttributes.IndexedFieldsEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='uber.cadence.api.v1.SearchAttributes.IndexedFieldsEntry.key', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='value', full_name='uber.cadence.api.v1.SearchAttributes.IndexedFieldsEntry.value', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'8\001', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=665, + serialized_end=747, +) + +_SEARCHATTRIBUTES = _descriptor.Descriptor( + name='SearchAttributes', + full_name='uber.cadence.api.v1.SearchAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='indexed_fields', full_name='uber.cadence.api.v1.SearchAttributes.indexed_fields', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[_SEARCHATTRIBUTES_INDEXEDFIELDSENTRY, ], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=563, + serialized_end=747, +) + + +_DATABLOB = _descriptor.Descriptor( + name='DataBlob', + full_name='uber.cadence.api.v1.DataBlob', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='encoding_type', full_name='uber.cadence.api.v1.DataBlob.encoding_type', index=0, + number=1, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='data', full_name='uber.cadence.api.v1.DataBlob.data', index=1, + number=2, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=749, + serialized_end=831, +) + + +_WORKERVERSIONINFO = _descriptor.Descriptor( + name='WorkerVersionInfo', + full_name='uber.cadence.api.v1.WorkerVersionInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='impl', full_name='uber.cadence.api.v1.WorkerVersionInfo.impl', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='feature_version', full_name='uber.cadence.api.v1.WorkerVersionInfo.feature_version', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=833, + serialized_end=891, +) + + +_SUPPORTEDCLIENTVERSIONS = _descriptor.Descriptor( + name='SupportedClientVersions', + full_name='uber.cadence.api.v1.SupportedClientVersions', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='go_sdk', full_name='uber.cadence.api.v1.SupportedClientVersions.go_sdk', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='java_sdk', full_name='uber.cadence.api.v1.SupportedClientVersions.java_sdk', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=893, + serialized_end=952, +) + + +_RETRYPOLICY = _descriptor.Descriptor( + name='RetryPolicy', + full_name='uber.cadence.api.v1.RetryPolicy', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='initial_interval', full_name='uber.cadence.api.v1.RetryPolicy.initial_interval', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='backoff_coefficient', full_name='uber.cadence.api.v1.RetryPolicy.backoff_coefficient', index=1, + number=2, type=1, cpp_type=5, label=1, + has_default_value=False, default_value=float(0), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='maximum_interval', full_name='uber.cadence.api.v1.RetryPolicy.maximum_interval', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='maximum_attempts', full_name='uber.cadence.api.v1.RetryPolicy.maximum_attempts', index=3, + number=4, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='non_retryable_error_reasons', full_name='uber.cadence.api.v1.RetryPolicy.non_retryable_error_reasons', index=4, + number=5, type=9, cpp_type=9, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='expiration_interval', full_name='uber.cadence.api.v1.RetryPolicy.expiration_interval', index=5, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=955, + serialized_end=1222, +) + + +_ISOLATIONGROUPPARTITION = _descriptor.Descriptor( + name='IsolationGroupPartition', + full_name='uber.cadence.api.v1.IsolationGroupPartition', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='name', full_name='uber.cadence.api.v1.IsolationGroupPartition.name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='state', full_name='uber.cadence.api.v1.IsolationGroupPartition.state', index=1, + number=2, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1224, + serialized_end=1320, +) + + +_ISOLATIONGROUPCONFIGURATION = _descriptor.Descriptor( + name='IsolationGroupConfiguration', + full_name='uber.cadence.api.v1.IsolationGroupConfiguration', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='isolation_groups', full_name='uber.cadence.api.v1.IsolationGroupConfiguration.isolation_groups', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1322, + serialized_end=1423, +) + + +_ASYNCWORKFLOWCONFIGURATION = _descriptor.Descriptor( + name='AsyncWorkflowConfiguration', + full_name='uber.cadence.api.v1.AsyncWorkflowConfiguration', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='enabled', full_name='uber.cadence.api.v1.AsyncWorkflowConfiguration.enabled', index=0, + number=1, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='predefined_queue_name', full_name='uber.cadence.api.v1.AsyncWorkflowConfiguration.predefined_queue_name', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='queue_type', full_name='uber.cadence.api.v1.AsyncWorkflowConfiguration.queue_type', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='queue_config', full_name='uber.cadence.api.v1.AsyncWorkflowConfiguration.queue_config', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1426, + serialized_end=1575, +) + + +_ACTIVECLUSTERSELECTIONPOLICY = _descriptor.Descriptor( + name='ActiveClusterSelectionPolicy', + full_name='uber.cadence.api.v1.ActiveClusterSelectionPolicy', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='strategy', full_name='uber.cadence.api.v1.ActiveClusterSelectionPolicy.strategy', index=0, + number=1, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='active_cluster_sticky_region_config', full_name='uber.cadence.api.v1.ActiveClusterSelectionPolicy.active_cluster_sticky_region_config', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='active_cluster_external_entity_config', full_name='uber.cadence.api.v1.ActiveClusterSelectionPolicy.active_cluster_external_entity_config', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='strategy_config', full_name='uber.cadence.api.v1.ActiveClusterSelectionPolicy.strategy_config', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=1578, + serialized_end=1904, +) + + +_ACTIVECLUSTERSTICKYREGIONCONFIG = _descriptor.Descriptor( + name='ActiveClusterStickyRegionConfig', + full_name='uber.cadence.api.v1.ActiveClusterStickyRegionConfig', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='sticky_region', full_name='uber.cadence.api.v1.ActiveClusterStickyRegionConfig.sticky_region', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1906, + serialized_end=1962, +) + + +_ACTIVECLUSTEREXTERNALENTITYCONFIG = _descriptor.Descriptor( + name='ActiveClusterExternalEntityConfig', + full_name='uber.cadence.api.v1.ActiveClusterExternalEntityConfig', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='external_entity_type', full_name='uber.cadence.api.v1.ActiveClusterExternalEntityConfig.external_entity_type', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='external_entity_key', full_name='uber.cadence.api.v1.ActiveClusterExternalEntityConfig.external_entity_key', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1964, + serialized_end=2058, +) + +_MEMO_FIELDSENTRY.fields_by_name['value'].message_type = _PAYLOAD +_MEMO_FIELDSENTRY.containing_type = _MEMO +_MEMO.fields_by_name['fields'].message_type = _MEMO_FIELDSENTRY +_HEADER_FIELDSENTRY.fields_by_name['value'].message_type = _PAYLOAD +_HEADER_FIELDSENTRY.containing_type = _HEADER +_HEADER.fields_by_name['fields'].message_type = _HEADER_FIELDSENTRY +_SEARCHATTRIBUTES_INDEXEDFIELDSENTRY.fields_by_name['value'].message_type = _PAYLOAD +_SEARCHATTRIBUTES_INDEXEDFIELDSENTRY.containing_type = _SEARCHATTRIBUTES +_SEARCHATTRIBUTES.fields_by_name['indexed_fields'].message_type = _SEARCHATTRIBUTES_INDEXEDFIELDSENTRY +_DATABLOB.fields_by_name['encoding_type'].enum_type = _ENCODINGTYPE +_RETRYPOLICY.fields_by_name['initial_interval'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_RETRYPOLICY.fields_by_name['maximum_interval'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_RETRYPOLICY.fields_by_name['expiration_interval'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_ISOLATIONGROUPPARTITION.fields_by_name['state'].enum_type = _ISOLATIONGROUPSTATE +_ISOLATIONGROUPCONFIGURATION.fields_by_name['isolation_groups'].message_type = _ISOLATIONGROUPPARTITION +_ASYNCWORKFLOWCONFIGURATION.fields_by_name['queue_config'].message_type = _DATABLOB +_ACTIVECLUSTERSELECTIONPOLICY.fields_by_name['strategy'].enum_type = _ACTIVECLUSTERSELECTIONSTRATEGY +_ACTIVECLUSTERSELECTIONPOLICY.fields_by_name['active_cluster_sticky_region_config'].message_type = _ACTIVECLUSTERSTICKYREGIONCONFIG +_ACTIVECLUSTERSELECTIONPOLICY.fields_by_name['active_cluster_external_entity_config'].message_type = _ACTIVECLUSTEREXTERNALENTITYCONFIG +_ACTIVECLUSTERSELECTIONPOLICY.oneofs_by_name['strategy_config'].fields.append( + _ACTIVECLUSTERSELECTIONPOLICY.fields_by_name['active_cluster_sticky_region_config']) +_ACTIVECLUSTERSELECTIONPOLICY.fields_by_name['active_cluster_sticky_region_config'].containing_oneof = _ACTIVECLUSTERSELECTIONPOLICY.oneofs_by_name['strategy_config'] +_ACTIVECLUSTERSELECTIONPOLICY.oneofs_by_name['strategy_config'].fields.append( + _ACTIVECLUSTERSELECTIONPOLICY.fields_by_name['active_cluster_external_entity_config']) +_ACTIVECLUSTERSELECTIONPOLICY.fields_by_name['active_cluster_external_entity_config'].containing_oneof = _ACTIVECLUSTERSELECTIONPOLICY.oneofs_by_name['strategy_config'] +DESCRIPTOR.message_types_by_name['WorkflowExecution'] = _WORKFLOWEXECUTION +DESCRIPTOR.message_types_by_name['WorkflowType'] = _WORKFLOWTYPE +DESCRIPTOR.message_types_by_name['ActivityType'] = _ACTIVITYTYPE +DESCRIPTOR.message_types_by_name['Payload'] = _PAYLOAD +DESCRIPTOR.message_types_by_name['Failure'] = _FAILURE +DESCRIPTOR.message_types_by_name['Memo'] = _MEMO +DESCRIPTOR.message_types_by_name['Header'] = _HEADER +DESCRIPTOR.message_types_by_name['SearchAttributes'] = _SEARCHATTRIBUTES +DESCRIPTOR.message_types_by_name['DataBlob'] = _DATABLOB +DESCRIPTOR.message_types_by_name['WorkerVersionInfo'] = _WORKERVERSIONINFO +DESCRIPTOR.message_types_by_name['SupportedClientVersions'] = _SUPPORTEDCLIENTVERSIONS +DESCRIPTOR.message_types_by_name['RetryPolicy'] = _RETRYPOLICY +DESCRIPTOR.message_types_by_name['IsolationGroupPartition'] = _ISOLATIONGROUPPARTITION +DESCRIPTOR.message_types_by_name['IsolationGroupConfiguration'] = _ISOLATIONGROUPCONFIGURATION +DESCRIPTOR.message_types_by_name['AsyncWorkflowConfiguration'] = _ASYNCWORKFLOWCONFIGURATION +DESCRIPTOR.message_types_by_name['ActiveClusterSelectionPolicy'] = _ACTIVECLUSTERSELECTIONPOLICY +DESCRIPTOR.message_types_by_name['ActiveClusterStickyRegionConfig'] = _ACTIVECLUSTERSTICKYREGIONCONFIG +DESCRIPTOR.message_types_by_name['ActiveClusterExternalEntityConfig'] = _ACTIVECLUSTEREXTERNALENTITYCONFIG +DESCRIPTOR.enum_types_by_name['EncodingType'] = _ENCODINGTYPE +DESCRIPTOR.enum_types_by_name['IsolationGroupState'] = _ISOLATIONGROUPSTATE +DESCRIPTOR.enum_types_by_name['ActiveClusterSelectionStrategy'] = _ACTIVECLUSTERSELECTIONSTRATEGY +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +WorkflowExecution = _reflection.GeneratedProtocolMessageType('WorkflowExecution', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWEXECUTION, + '__module__' : 'uber.cadence.api.v1.common_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.WorkflowExecution) + }) +_sym_db.RegisterMessage(WorkflowExecution) + +WorkflowType = _reflection.GeneratedProtocolMessageType('WorkflowType', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWTYPE, + '__module__' : 'uber.cadence.api.v1.common_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.WorkflowType) + }) +_sym_db.RegisterMessage(WorkflowType) + +ActivityType = _reflection.GeneratedProtocolMessageType('ActivityType', (_message.Message,), { + 'DESCRIPTOR' : _ACTIVITYTYPE, + '__module__' : 'uber.cadence.api.v1.common_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ActivityType) + }) +_sym_db.RegisterMessage(ActivityType) + +Payload = _reflection.GeneratedProtocolMessageType('Payload', (_message.Message,), { + 'DESCRIPTOR' : _PAYLOAD, + '__module__' : 'uber.cadence.api.v1.common_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.Payload) + }) +_sym_db.RegisterMessage(Payload) + +Failure = _reflection.GeneratedProtocolMessageType('Failure', (_message.Message,), { + 'DESCRIPTOR' : _FAILURE, + '__module__' : 'uber.cadence.api.v1.common_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.Failure) + }) +_sym_db.RegisterMessage(Failure) + +Memo = _reflection.GeneratedProtocolMessageType('Memo', (_message.Message,), { + + 'FieldsEntry' : _reflection.GeneratedProtocolMessageType('FieldsEntry', (_message.Message,), { + 'DESCRIPTOR' : _MEMO_FIELDSENTRY, + '__module__' : 'uber.cadence.api.v1.common_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.Memo.FieldsEntry) + }) + , + 'DESCRIPTOR' : _MEMO, + '__module__' : 'uber.cadence.api.v1.common_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.Memo) + }) +_sym_db.RegisterMessage(Memo) +_sym_db.RegisterMessage(Memo.FieldsEntry) + +Header = _reflection.GeneratedProtocolMessageType('Header', (_message.Message,), { + + 'FieldsEntry' : _reflection.GeneratedProtocolMessageType('FieldsEntry', (_message.Message,), { + 'DESCRIPTOR' : _HEADER_FIELDSENTRY, + '__module__' : 'uber.cadence.api.v1.common_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.Header.FieldsEntry) + }) + , + 'DESCRIPTOR' : _HEADER, + '__module__' : 'uber.cadence.api.v1.common_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.Header) + }) +_sym_db.RegisterMessage(Header) +_sym_db.RegisterMessage(Header.FieldsEntry) + +SearchAttributes = _reflection.GeneratedProtocolMessageType('SearchAttributes', (_message.Message,), { + + 'IndexedFieldsEntry' : _reflection.GeneratedProtocolMessageType('IndexedFieldsEntry', (_message.Message,), { + 'DESCRIPTOR' : _SEARCHATTRIBUTES_INDEXEDFIELDSENTRY, + '__module__' : 'uber.cadence.api.v1.common_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.SearchAttributes.IndexedFieldsEntry) + }) + , + 'DESCRIPTOR' : _SEARCHATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.common_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.SearchAttributes) + }) +_sym_db.RegisterMessage(SearchAttributes) +_sym_db.RegisterMessage(SearchAttributes.IndexedFieldsEntry) + +DataBlob = _reflection.GeneratedProtocolMessageType('DataBlob', (_message.Message,), { + 'DESCRIPTOR' : _DATABLOB, + '__module__' : 'uber.cadence.api.v1.common_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.DataBlob) + }) +_sym_db.RegisterMessage(DataBlob) + +WorkerVersionInfo = _reflection.GeneratedProtocolMessageType('WorkerVersionInfo', (_message.Message,), { + 'DESCRIPTOR' : _WORKERVERSIONINFO, + '__module__' : 'uber.cadence.api.v1.common_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.WorkerVersionInfo) + }) +_sym_db.RegisterMessage(WorkerVersionInfo) + +SupportedClientVersions = _reflection.GeneratedProtocolMessageType('SupportedClientVersions', (_message.Message,), { + 'DESCRIPTOR' : _SUPPORTEDCLIENTVERSIONS, + '__module__' : 'uber.cadence.api.v1.common_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.SupportedClientVersions) + }) +_sym_db.RegisterMessage(SupportedClientVersions) + +RetryPolicy = _reflection.GeneratedProtocolMessageType('RetryPolicy', (_message.Message,), { + 'DESCRIPTOR' : _RETRYPOLICY, + '__module__' : 'uber.cadence.api.v1.common_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.RetryPolicy) + }) +_sym_db.RegisterMessage(RetryPolicy) + +IsolationGroupPartition = _reflection.GeneratedProtocolMessageType('IsolationGroupPartition', (_message.Message,), { + 'DESCRIPTOR' : _ISOLATIONGROUPPARTITION, + '__module__' : 'uber.cadence.api.v1.common_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.IsolationGroupPartition) + }) +_sym_db.RegisterMessage(IsolationGroupPartition) + +IsolationGroupConfiguration = _reflection.GeneratedProtocolMessageType('IsolationGroupConfiguration', (_message.Message,), { + 'DESCRIPTOR' : _ISOLATIONGROUPCONFIGURATION, + '__module__' : 'uber.cadence.api.v1.common_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.IsolationGroupConfiguration) + }) +_sym_db.RegisterMessage(IsolationGroupConfiguration) + +AsyncWorkflowConfiguration = _reflection.GeneratedProtocolMessageType('AsyncWorkflowConfiguration', (_message.Message,), { + 'DESCRIPTOR' : _ASYNCWORKFLOWCONFIGURATION, + '__module__' : 'uber.cadence.api.v1.common_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.AsyncWorkflowConfiguration) + }) +_sym_db.RegisterMessage(AsyncWorkflowConfiguration) + +ActiveClusterSelectionPolicy = _reflection.GeneratedProtocolMessageType('ActiveClusterSelectionPolicy', (_message.Message,), { + 'DESCRIPTOR' : _ACTIVECLUSTERSELECTIONPOLICY, + '__module__' : 'uber.cadence.api.v1.common_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ActiveClusterSelectionPolicy) + }) +_sym_db.RegisterMessage(ActiveClusterSelectionPolicy) + +ActiveClusterStickyRegionConfig = _reflection.GeneratedProtocolMessageType('ActiveClusterStickyRegionConfig', (_message.Message,), { + 'DESCRIPTOR' : _ACTIVECLUSTERSTICKYREGIONCONFIG, + '__module__' : 'uber.cadence.api.v1.common_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ActiveClusterStickyRegionConfig) + }) +_sym_db.RegisterMessage(ActiveClusterStickyRegionConfig) + +ActiveClusterExternalEntityConfig = _reflection.GeneratedProtocolMessageType('ActiveClusterExternalEntityConfig', (_message.Message,), { + 'DESCRIPTOR' : _ACTIVECLUSTEREXTERNALENTITYCONFIG, + '__module__' : 'uber.cadence.api.v1.common_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ActiveClusterExternalEntityConfig) + }) +_sym_db.RegisterMessage(ActiveClusterExternalEntityConfig) + + +DESCRIPTOR._options = None +_MEMO_FIELDSENTRY._options = None +_HEADER_FIELDSENTRY._options = None +_SEARCHATTRIBUTES_INDEXEDFIELDSENTRY._options = None +# @@protoc_insertion_point(module_scope) diff --git a/cadence/shared/api/v1/common_pb2.pyi b/cadence/shared/api/v1/common_pb2.pyi new file mode 100644 index 0000000..57e1643 --- /dev/null +++ b/cadence/shared/api/v1/common_pb2.pyi @@ -0,0 +1,200 @@ +from google.protobuf import duration_pb2 as _duration_pb2 +from google.protobuf.internal import containers as _containers +from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union + +DESCRIPTOR: _descriptor.FileDescriptor + +class EncodingType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = () + ENCODING_TYPE_INVALID: _ClassVar[EncodingType] + ENCODING_TYPE_THRIFTRW: _ClassVar[EncodingType] + ENCODING_TYPE_JSON: _ClassVar[EncodingType] + ENCODING_TYPE_PROTO3: _ClassVar[EncodingType] + +class IsolationGroupState(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = () + ISOLATION_GROUP_STATE_INVALID: _ClassVar[IsolationGroupState] + ISOLATION_GROUP_STATE_HEALTHY: _ClassVar[IsolationGroupState] + ISOLATION_GROUP_STATE_DRAINED: _ClassVar[IsolationGroupState] + +class ActiveClusterSelectionStrategy(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = () + ACTIVE_CLUSTER_SELECTION_STRATEGY_INVALID: _ClassVar[ActiveClusterSelectionStrategy] + ACTIVE_CLUSTER_SELECTION_STRATEGY_REGION_STICKY: _ClassVar[ActiveClusterSelectionStrategy] + ACTIVE_CLUSTER_SELECTION_STRATEGY_EXTERNAL_ENTITY: _ClassVar[ActiveClusterSelectionStrategy] +ENCODING_TYPE_INVALID: EncodingType +ENCODING_TYPE_THRIFTRW: EncodingType +ENCODING_TYPE_JSON: EncodingType +ENCODING_TYPE_PROTO3: EncodingType +ISOLATION_GROUP_STATE_INVALID: IsolationGroupState +ISOLATION_GROUP_STATE_HEALTHY: IsolationGroupState +ISOLATION_GROUP_STATE_DRAINED: IsolationGroupState +ACTIVE_CLUSTER_SELECTION_STRATEGY_INVALID: ActiveClusterSelectionStrategy +ACTIVE_CLUSTER_SELECTION_STRATEGY_REGION_STICKY: ActiveClusterSelectionStrategy +ACTIVE_CLUSTER_SELECTION_STRATEGY_EXTERNAL_ENTITY: ActiveClusterSelectionStrategy + +class WorkflowExecution(_message.Message): + __slots__ = ("workflow_id", "run_id") + WORKFLOW_ID_FIELD_NUMBER: _ClassVar[int] + RUN_ID_FIELD_NUMBER: _ClassVar[int] + workflow_id: str + run_id: str + def __init__(self, workflow_id: _Optional[str] = ..., run_id: _Optional[str] = ...) -> None: ... + +class WorkflowType(_message.Message): + __slots__ = ("name",) + NAME_FIELD_NUMBER: _ClassVar[int] + name: str + def __init__(self, name: _Optional[str] = ...) -> None: ... + +class ActivityType(_message.Message): + __slots__ = ("name",) + NAME_FIELD_NUMBER: _ClassVar[int] + name: str + def __init__(self, name: _Optional[str] = ...) -> None: ... + +class Payload(_message.Message): + __slots__ = ("data",) + DATA_FIELD_NUMBER: _ClassVar[int] + data: bytes + def __init__(self, data: _Optional[bytes] = ...) -> None: ... + +class Failure(_message.Message): + __slots__ = ("reason", "details") + REASON_FIELD_NUMBER: _ClassVar[int] + DETAILS_FIELD_NUMBER: _ClassVar[int] + reason: str + details: bytes + def __init__(self, reason: _Optional[str] = ..., details: _Optional[bytes] = ...) -> None: ... + +class Memo(_message.Message): + __slots__ = ("fields",) + class FieldsEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: Payload + def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[Payload, _Mapping]] = ...) -> None: ... + FIELDS_FIELD_NUMBER: _ClassVar[int] + fields: _containers.MessageMap[str, Payload] + def __init__(self, fields: _Optional[_Mapping[str, Payload]] = ...) -> None: ... + +class Header(_message.Message): + __slots__ = ("fields",) + class FieldsEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: Payload + def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[Payload, _Mapping]] = ...) -> None: ... + FIELDS_FIELD_NUMBER: _ClassVar[int] + fields: _containers.MessageMap[str, Payload] + def __init__(self, fields: _Optional[_Mapping[str, Payload]] = ...) -> None: ... + +class SearchAttributes(_message.Message): + __slots__ = ("indexed_fields",) + class IndexedFieldsEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: Payload + def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[Payload, _Mapping]] = ...) -> None: ... + INDEXED_FIELDS_FIELD_NUMBER: _ClassVar[int] + indexed_fields: _containers.MessageMap[str, Payload] + def __init__(self, indexed_fields: _Optional[_Mapping[str, Payload]] = ...) -> None: ... + +class DataBlob(_message.Message): + __slots__ = ("encoding_type", "data") + ENCODING_TYPE_FIELD_NUMBER: _ClassVar[int] + DATA_FIELD_NUMBER: _ClassVar[int] + encoding_type: EncodingType + data: bytes + def __init__(self, encoding_type: _Optional[_Union[EncodingType, str]] = ..., data: _Optional[bytes] = ...) -> None: ... + +class WorkerVersionInfo(_message.Message): + __slots__ = ("impl", "feature_version") + IMPL_FIELD_NUMBER: _ClassVar[int] + FEATURE_VERSION_FIELD_NUMBER: _ClassVar[int] + impl: str + feature_version: str + def __init__(self, impl: _Optional[str] = ..., feature_version: _Optional[str] = ...) -> None: ... + +class SupportedClientVersions(_message.Message): + __slots__ = ("go_sdk", "java_sdk") + GO_SDK_FIELD_NUMBER: _ClassVar[int] + JAVA_SDK_FIELD_NUMBER: _ClassVar[int] + go_sdk: str + java_sdk: str + def __init__(self, go_sdk: _Optional[str] = ..., java_sdk: _Optional[str] = ...) -> None: ... + +class RetryPolicy(_message.Message): + __slots__ = ("initial_interval", "backoff_coefficient", "maximum_interval", "maximum_attempts", "non_retryable_error_reasons", "expiration_interval") + INITIAL_INTERVAL_FIELD_NUMBER: _ClassVar[int] + BACKOFF_COEFFICIENT_FIELD_NUMBER: _ClassVar[int] + MAXIMUM_INTERVAL_FIELD_NUMBER: _ClassVar[int] + MAXIMUM_ATTEMPTS_FIELD_NUMBER: _ClassVar[int] + NON_RETRYABLE_ERROR_REASONS_FIELD_NUMBER: _ClassVar[int] + EXPIRATION_INTERVAL_FIELD_NUMBER: _ClassVar[int] + initial_interval: _duration_pb2.Duration + backoff_coefficient: float + maximum_interval: _duration_pb2.Duration + maximum_attempts: int + non_retryable_error_reasons: _containers.RepeatedScalarFieldContainer[str] + expiration_interval: _duration_pb2.Duration + def __init__(self, initial_interval: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., backoff_coefficient: _Optional[float] = ..., maximum_interval: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., maximum_attempts: _Optional[int] = ..., non_retryable_error_reasons: _Optional[_Iterable[str]] = ..., expiration_interval: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ...) -> None: ... + +class IsolationGroupPartition(_message.Message): + __slots__ = ("name", "state") + NAME_FIELD_NUMBER: _ClassVar[int] + STATE_FIELD_NUMBER: _ClassVar[int] + name: str + state: IsolationGroupState + def __init__(self, name: _Optional[str] = ..., state: _Optional[_Union[IsolationGroupState, str]] = ...) -> None: ... + +class IsolationGroupConfiguration(_message.Message): + __slots__ = ("isolation_groups",) + ISOLATION_GROUPS_FIELD_NUMBER: _ClassVar[int] + isolation_groups: _containers.RepeatedCompositeFieldContainer[IsolationGroupPartition] + def __init__(self, isolation_groups: _Optional[_Iterable[_Union[IsolationGroupPartition, _Mapping]]] = ...) -> None: ... + +class AsyncWorkflowConfiguration(_message.Message): + __slots__ = ("enabled", "predefined_queue_name", "queue_type", "queue_config") + ENABLED_FIELD_NUMBER: _ClassVar[int] + PREDEFINED_QUEUE_NAME_FIELD_NUMBER: _ClassVar[int] + QUEUE_TYPE_FIELD_NUMBER: _ClassVar[int] + QUEUE_CONFIG_FIELD_NUMBER: _ClassVar[int] + enabled: bool + predefined_queue_name: str + queue_type: str + queue_config: DataBlob + def __init__(self, enabled: bool = ..., predefined_queue_name: _Optional[str] = ..., queue_type: _Optional[str] = ..., queue_config: _Optional[_Union[DataBlob, _Mapping]] = ...) -> None: ... + +class ActiveClusterSelectionPolicy(_message.Message): + __slots__ = ("strategy", "active_cluster_sticky_region_config", "active_cluster_external_entity_config") + STRATEGY_FIELD_NUMBER: _ClassVar[int] + ACTIVE_CLUSTER_STICKY_REGION_CONFIG_FIELD_NUMBER: _ClassVar[int] + ACTIVE_CLUSTER_EXTERNAL_ENTITY_CONFIG_FIELD_NUMBER: _ClassVar[int] + strategy: ActiveClusterSelectionStrategy + active_cluster_sticky_region_config: ActiveClusterStickyRegionConfig + active_cluster_external_entity_config: ActiveClusterExternalEntityConfig + def __init__(self, strategy: _Optional[_Union[ActiveClusterSelectionStrategy, str]] = ..., active_cluster_sticky_region_config: _Optional[_Union[ActiveClusterStickyRegionConfig, _Mapping]] = ..., active_cluster_external_entity_config: _Optional[_Union[ActiveClusterExternalEntityConfig, _Mapping]] = ...) -> None: ... + +class ActiveClusterStickyRegionConfig(_message.Message): + __slots__ = ("sticky_region",) + STICKY_REGION_FIELD_NUMBER: _ClassVar[int] + sticky_region: str + def __init__(self, sticky_region: _Optional[str] = ...) -> None: ... + +class ActiveClusterExternalEntityConfig(_message.Message): + __slots__ = ("external_entity_type", "external_entity_key") + EXTERNAL_ENTITY_TYPE_FIELD_NUMBER: _ClassVar[int] + EXTERNAL_ENTITY_KEY_FIELD_NUMBER: _ClassVar[int] + external_entity_type: str + external_entity_key: str + def __init__(self, external_entity_type: _Optional[str] = ..., external_entity_key: _Optional[str] = ...) -> None: ... diff --git a/cadence/shared/api/v1/decision_pb2.py b/cadence/shared/api/v1/decision_pb2.py new file mode 100644 index 0000000..cd600b9 --- /dev/null +++ b/cadence/shared/api/v1/decision_pb2.py @@ -0,0 +1,1163 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: uber/cadence/api/v1/decision.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 +from uber.cadence.api.v1 import common_pb2 as uber_dot_cadence_dot_api_dot_v1_dot_common__pb2 +from uber.cadence.api.v1 import tasklist_pb2 as uber_dot_cadence_dot_api_dot_v1_dot_tasklist__pb2 +from uber.cadence.api.v1 import workflow_pb2 as uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='uber/cadence/api/v1/decision.proto', + package='uber.cadence.api.v1', + syntax='proto3', + serialized_options=b'\n\027com.uber.cadence.api.v1B\rDecisionProtoP\001Z1github.com/uber/cadence-idl/go/proto/api/v1;apiv1', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n\"uber/cadence/api/v1/decision.proto\x12\x13uber.cadence.api.v1\x1a\x1egoogle/protobuf/duration.proto\x1a uber/cadence/api/v1/common.proto\x1a\"uber/cadence/api/v1/tasklist.proto\x1a\"uber/cadence/api/v1/workflow.proto\"\xcf\x0c\n\x08\x44\x65\x63ision\x12q\n*schedule_activity_task_decision_attributes\x18\x01 \x01(\x0b\x32;.uber.cadence.api.v1.ScheduleActivityTaskDecisionAttributesH\x00\x12\\\n\x1fstart_timer_decision_attributes\x18\x02 \x01(\x0b\x32\x31.uber.cadence.api.v1.StartTimerDecisionAttributesH\x00\x12{\n/complete_workflow_execution_decision_attributes\x18\x03 \x01(\x0b\x32@.uber.cadence.api.v1.CompleteWorkflowExecutionDecisionAttributesH\x00\x12s\n+fail_workflow_execution_decision_attributes\x18\x04 \x01(\x0b\x32<.uber.cadence.api.v1.FailWorkflowExecutionDecisionAttributesH\x00\x12|\n0request_cancel_activity_task_decision_attributes\x18\x05 \x01(\x0b\x32@.uber.cadence.api.v1.RequestCancelActivityTaskDecisionAttributesH\x00\x12^\n cancel_timer_decision_attributes\x18\x06 \x01(\x0b\x32\x32.uber.cadence.api.v1.CancelTimerDecisionAttributesH\x00\x12w\n-cancel_workflow_execution_decision_attributes\x18\x07 \x01(\x0b\x32>.uber.cadence.api.v1.CancelWorkflowExecutionDecisionAttributesH\x00\x12\x97\x01\n>request_cancel_external_workflow_execution_decision_attributes\x18\x08 \x01(\x0b\x32M.uber.cadence.api.v1.RequestCancelExternalWorkflowExecutionDecisionAttributesH\x00\x12`\n!record_marker_decision_attributes\x18\t \x01(\x0b\x32\x33.uber.cadence.api.v1.RecordMarkerDecisionAttributesH\x00\x12\x87\x01\n6continue_as_new_workflow_execution_decision_attributes\x18\n \x01(\x0b\x32\x45.uber.cadence.api.v1.ContinueAsNewWorkflowExecutionDecisionAttributesH\x00\x12\x80\x01\n2start_child_workflow_execution_decision_attributes\x18\x0b \x01(\x0b\x32\x42.uber.cadence.api.v1.StartChildWorkflowExecutionDecisionAttributesH\x00\x12\x88\x01\n6signal_external_workflow_execution_decision_attributes\x18\x0c \x01(\x0b\x32\x46.uber.cadence.api.v1.SignalExternalWorkflowExecutionDecisionAttributesH\x00\x12\x86\x01\n5upsert_workflow_search_attributes_decision_attributes\x18\r \x01(\x0b\x32\x45.uber.cadence.api.v1.UpsertWorkflowSearchAttributesDecisionAttributesH\x00\x42\x0c\n\nattributes\"\xd8\x04\n&ScheduleActivityTaskDecisionAttributes\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12\x38\n\ractivity_type\x18\x02 \x01(\x0b\x32!.uber.cadence.api.v1.ActivityType\x12\x0e\n\x06\x64omain\x18\x03 \x01(\t\x12\x30\n\ttask_list\x18\x04 \x01(\x0b\x32\x1d.uber.cadence.api.v1.TaskList\x12+\n\x05input\x18\x05 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12<\n\x19schedule_to_close_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\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\x12\x34\n\x11heartbeat_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x36\n\x0cretry_policy\x18\x0b \x01(\x0b\x32 .uber.cadence.api.v1.RetryPolicy\x12+\n\x06header\x18\x0c \x01(\x0b\x32\x1b.uber.cadence.api.v1.Header\x12\x1e\n\x16request_local_dispatch\x18\r \x01(\x08\"j\n\x1cStartTimerDecisionAttributes\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+CompleteWorkflowExecutionDecisionAttributes\x12,\n\x06result\x18\x01 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\"X\n\'FailWorkflowExecutionDecisionAttributes\x12-\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Failure\"B\n+RequestCancelActivityTaskDecisionAttributes\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\"1\n\x1d\x43\x61ncelTimerDecisionAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\"Z\n)CancelWorkflowExecutionDecisionAttributes\x12-\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\"\xbc\x01\n8RequestCancelExternalWorkflowExecutionDecisionAttributes\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x42\n\x12workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x0f\n\x07\x63ontrol\x18\x03 \x01(\x0c\x12\x1b\n\x13\x63hild_workflow_only\x18\x04 \x01(\x08\"\x91\x01\n\x1eRecordMarkerDecisionAttributes\x12\x13\n\x0bmarker_name\x18\x01 \x01(\t\x12-\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12+\n\x06header\x18\x03 \x01(\x0b\x32\x1b.uber.cadence.api.v1.Header\"\xf1\x07\n0ContinueAsNewWorkflowExecutionDecisionAttributes\x12\x38\n\rworkflow_type\x18\x01 \x01(\x0b\x32!.uber.cadence.api.v1.WorkflowType\x12\x30\n\ttask_list\x18\x02 \x01(\x0b\x32\x1d.uber.cadence.api.v1.TaskList\x12+\n\x05input\x18\x03 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12\x43\n execution_start_to_close_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12>\n\x1btask_start_to_close_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\x36\n\x0cretry_policy\x18\x07 \x01(\x0b\x32 .uber.cadence.api.v1.RetryPolicy\x12>\n\tinitiator\x18\x08 \x01(\x0e\x32+.uber.cadence.api.v1.ContinueAsNewInitiator\x12-\n\x07\x66\x61ilure\x18\t \x01(\x0b\x32\x1c.uber.cadence.api.v1.Failure\x12<\n\x16last_completion_result\x18\n \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12\x15\n\rcron_schedule\x18\x0b \x01(\t\x12+\n\x06header\x18\x0c \x01(\x0b\x32\x1b.uber.cadence.api.v1.Header\x12\'\n\x04memo\x18\r \x01(\x0b\x32\x19.uber.cadence.api.v1.Memo\x12@\n\x11search_attributes\x18\x0e \x01(\x0b\x32%.uber.cadence.api.v1.SearchAttributes\x12/\n\x0cjitter_start\x18\x0f \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x43\n\x13\x63ron_overlap_policy\x18\x10 \x01(\x0e\x32&.uber.cadence.api.v1.CronOverlapPolicy\x12Z\n\x1f\x61\x63tive_cluster_selection_policy\x18\x11 \x01(\x0b\x32\x31.uber.cadence.api.v1.ActiveClusterSelectionPolicy\"\x9e\x07\n-StartChildWorkflowExecutionDecisionAttributes\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x38\n\rworkflow_type\x18\x03 \x01(\x0b\x32!.uber.cadence.api.v1.WorkflowType\x12\x30\n\ttask_list\x18\x04 \x01(\x0b\x32\x1d.uber.cadence.api.v1.TaskList\x12+\n\x05input\x18\x05 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12\x43\n execution_start_to_close_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12>\n\x1btask_start_to_close_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x43\n\x13parent_close_policy\x18\x08 \x01(\x0e\x32&.uber.cadence.api.v1.ParentClosePolicy\x12\x0f\n\x07\x63ontrol\x18\t \x01(\x0c\x12L\n\x18workflow_id_reuse_policy\x18\n \x01(\x0e\x32*.uber.cadence.api.v1.WorkflowIdReusePolicy\x12\x36\n\x0cretry_policy\x18\x0b \x01(\x0b\x32 .uber.cadence.api.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\x0c \x01(\t\x12+\n\x06header\x18\r \x01(\x0b\x32\x1b.uber.cadence.api.v1.Header\x12\'\n\x04memo\x18\x0e \x01(\x0b\x32\x19.uber.cadence.api.v1.Memo\x12@\n\x11search_attributes\x18\x0f \x01(\x0b\x32%.uber.cadence.api.v1.SearchAttributes\x12\x43\n\x13\x63ron_overlap_policy\x18\x10 \x01(\x0e\x32&.uber.cadence.api.v1.CronOverlapPolicy\x12Z\n\x1f\x61\x63tive_cluster_selection_policy\x18\x11 \x01(\x0b\x32\x31.uber.cadence.api.v1.ActiveClusterSelectionPolicy\"\xf7\x01\n1SignalExternalWorkflowExecutionDecisionAttributes\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x42\n\x12workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x13\n\x0bsignal_name\x18\x03 \x01(\t\x12+\n\x05input\x18\x04 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12\x0f\n\x07\x63ontrol\x18\x05 \x01(\x0c\x12\x1b\n\x13\x63hild_workflow_only\x18\x06 \x01(\x08\"t\n0UpsertWorkflowSearchAttributesDecisionAttributes\x12@\n\x11search_attributes\x18\x01 \x01(\x0b\x32%.uber.cadence.api.v1.SearchAttributesB]\n\x17\x63om.uber.cadence.api.v1B\rDecisionProtoP\x01Z1github.com/uber/cadence-idl/go/proto/api/v1;apiv1b\x06proto3' + , + dependencies=[google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,uber_dot_cadence_dot_api_dot_v1_dot_common__pb2.DESCRIPTOR,uber_dot_cadence_dot_api_dot_v1_dot_tasklist__pb2.DESCRIPTOR,uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2.DESCRIPTOR,]) + + + + +_DECISION = _descriptor.Descriptor( + name='Decision', + full_name='uber.cadence.api.v1.Decision', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='schedule_activity_task_decision_attributes', full_name='uber.cadence.api.v1.Decision.schedule_activity_task_decision_attributes', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='start_timer_decision_attributes', full_name='uber.cadence.api.v1.Decision.start_timer_decision_attributes', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='complete_workflow_execution_decision_attributes', full_name='uber.cadence.api.v1.Decision.complete_workflow_execution_decision_attributes', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='fail_workflow_execution_decision_attributes', full_name='uber.cadence.api.v1.Decision.fail_workflow_execution_decision_attributes', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='request_cancel_activity_task_decision_attributes', full_name='uber.cadence.api.v1.Decision.request_cancel_activity_task_decision_attributes', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cancel_timer_decision_attributes', full_name='uber.cadence.api.v1.Decision.cancel_timer_decision_attributes', index=5, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cancel_workflow_execution_decision_attributes', full_name='uber.cadence.api.v1.Decision.cancel_workflow_execution_decision_attributes', index=6, + number=7, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='request_cancel_external_workflow_execution_decision_attributes', full_name='uber.cadence.api.v1.Decision.request_cancel_external_workflow_execution_decision_attributes', index=7, + number=8, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='record_marker_decision_attributes', full_name='uber.cadence.api.v1.Decision.record_marker_decision_attributes', index=8, + number=9, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='continue_as_new_workflow_execution_decision_attributes', full_name='uber.cadence.api.v1.Decision.continue_as_new_workflow_execution_decision_attributes', index=9, + number=10, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='start_child_workflow_execution_decision_attributes', full_name='uber.cadence.api.v1.Decision.start_child_workflow_execution_decision_attributes', index=10, + number=11, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='signal_external_workflow_execution_decision_attributes', full_name='uber.cadence.api.v1.Decision.signal_external_workflow_execution_decision_attributes', index=11, + number=12, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='upsert_workflow_search_attributes_decision_attributes', full_name='uber.cadence.api.v1.Decision.upsert_workflow_search_attributes_decision_attributes', index=12, + number=13, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='attributes', full_name='uber.cadence.api.v1.Decision.attributes', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=198, + serialized_end=1813, +) + + +_SCHEDULEACTIVITYTASKDECISIONATTRIBUTES = _descriptor.Descriptor( + name='ScheduleActivityTaskDecisionAttributes', + full_name='uber.cadence.api.v1.ScheduleActivityTaskDecisionAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='activity_id', full_name='uber.cadence.api.v1.ScheduleActivityTaskDecisionAttributes.activity_id', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='activity_type', full_name='uber.cadence.api.v1.ScheduleActivityTaskDecisionAttributes.activity_type', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.ScheduleActivityTaskDecisionAttributes.domain', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='task_list', full_name='uber.cadence.api.v1.ScheduleActivityTaskDecisionAttributes.task_list', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='input', full_name='uber.cadence.api.v1.ScheduleActivityTaskDecisionAttributes.input', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='schedule_to_close_timeout', full_name='uber.cadence.api.v1.ScheduleActivityTaskDecisionAttributes.schedule_to_close_timeout', index=5, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='schedule_to_start_timeout', full_name='uber.cadence.api.v1.ScheduleActivityTaskDecisionAttributes.schedule_to_start_timeout', index=6, + number=7, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='start_to_close_timeout', full_name='uber.cadence.api.v1.ScheduleActivityTaskDecisionAttributes.start_to_close_timeout', index=7, + number=8, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='heartbeat_timeout', full_name='uber.cadence.api.v1.ScheduleActivityTaskDecisionAttributes.heartbeat_timeout', index=8, + number=9, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='retry_policy', full_name='uber.cadence.api.v1.ScheduleActivityTaskDecisionAttributes.retry_policy', index=9, + number=11, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='header', full_name='uber.cadence.api.v1.ScheduleActivityTaskDecisionAttributes.header', index=10, + number=12, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='request_local_dispatch', full_name='uber.cadence.api.v1.ScheduleActivityTaskDecisionAttributes.request_local_dispatch', index=11, + number=13, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1816, + serialized_end=2416, +) + + +_STARTTIMERDECISIONATTRIBUTES = _descriptor.Descriptor( + name='StartTimerDecisionAttributes', + full_name='uber.cadence.api.v1.StartTimerDecisionAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='timer_id', full_name='uber.cadence.api.v1.StartTimerDecisionAttributes.timer_id', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='start_to_fire_timeout', full_name='uber.cadence.api.v1.StartTimerDecisionAttributes.start_to_fire_timeout', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2418, + serialized_end=2524, +) + + +_COMPLETEWORKFLOWEXECUTIONDECISIONATTRIBUTES = _descriptor.Descriptor( + name='CompleteWorkflowExecutionDecisionAttributes', + full_name='uber.cadence.api.v1.CompleteWorkflowExecutionDecisionAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='result', full_name='uber.cadence.api.v1.CompleteWorkflowExecutionDecisionAttributes.result', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2526, + serialized_end=2617, +) + + +_FAILWORKFLOWEXECUTIONDECISIONATTRIBUTES = _descriptor.Descriptor( + name='FailWorkflowExecutionDecisionAttributes', + full_name='uber.cadence.api.v1.FailWorkflowExecutionDecisionAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='failure', full_name='uber.cadence.api.v1.FailWorkflowExecutionDecisionAttributes.failure', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2619, + serialized_end=2707, +) + + +_REQUESTCANCELACTIVITYTASKDECISIONATTRIBUTES = _descriptor.Descriptor( + name='RequestCancelActivityTaskDecisionAttributes', + full_name='uber.cadence.api.v1.RequestCancelActivityTaskDecisionAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='activity_id', full_name='uber.cadence.api.v1.RequestCancelActivityTaskDecisionAttributes.activity_id', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2709, + serialized_end=2775, +) + + +_CANCELTIMERDECISIONATTRIBUTES = _descriptor.Descriptor( + name='CancelTimerDecisionAttributes', + full_name='uber.cadence.api.v1.CancelTimerDecisionAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='timer_id', full_name='uber.cadence.api.v1.CancelTimerDecisionAttributes.timer_id', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2777, + serialized_end=2826, +) + + +_CANCELWORKFLOWEXECUTIONDECISIONATTRIBUTES = _descriptor.Descriptor( + name='CancelWorkflowExecutionDecisionAttributes', + full_name='uber.cadence.api.v1.CancelWorkflowExecutionDecisionAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='details', full_name='uber.cadence.api.v1.CancelWorkflowExecutionDecisionAttributes.details', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2828, + serialized_end=2918, +) + + +_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONDECISIONATTRIBUTES = _descriptor.Descriptor( + name='RequestCancelExternalWorkflowExecutionDecisionAttributes', + full_name='uber.cadence.api.v1.RequestCancelExternalWorkflowExecutionDecisionAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.RequestCancelExternalWorkflowExecutionDecisionAttributes.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution', full_name='uber.cadence.api.v1.RequestCancelExternalWorkflowExecutionDecisionAttributes.workflow_execution', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='control', full_name='uber.cadence.api.v1.RequestCancelExternalWorkflowExecutionDecisionAttributes.control', index=2, + number=3, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='child_workflow_only', full_name='uber.cadence.api.v1.RequestCancelExternalWorkflowExecutionDecisionAttributes.child_workflow_only', index=3, + number=4, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2921, + serialized_end=3109, +) + + +_RECORDMARKERDECISIONATTRIBUTES = _descriptor.Descriptor( + name='RecordMarkerDecisionAttributes', + full_name='uber.cadence.api.v1.RecordMarkerDecisionAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='marker_name', full_name='uber.cadence.api.v1.RecordMarkerDecisionAttributes.marker_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='details', full_name='uber.cadence.api.v1.RecordMarkerDecisionAttributes.details', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='header', full_name='uber.cadence.api.v1.RecordMarkerDecisionAttributes.header', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=3112, + serialized_end=3257, +) + + +_CONTINUEASNEWWORKFLOWEXECUTIONDECISIONATTRIBUTES = _descriptor.Descriptor( + name='ContinueAsNewWorkflowExecutionDecisionAttributes', + full_name='uber.cadence.api.v1.ContinueAsNewWorkflowExecutionDecisionAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='workflow_type', full_name='uber.cadence.api.v1.ContinueAsNewWorkflowExecutionDecisionAttributes.workflow_type', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='task_list', full_name='uber.cadence.api.v1.ContinueAsNewWorkflowExecutionDecisionAttributes.task_list', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='input', full_name='uber.cadence.api.v1.ContinueAsNewWorkflowExecutionDecisionAttributes.input', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='execution_start_to_close_timeout', full_name='uber.cadence.api.v1.ContinueAsNewWorkflowExecutionDecisionAttributes.execution_start_to_close_timeout', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='task_start_to_close_timeout', full_name='uber.cadence.api.v1.ContinueAsNewWorkflowExecutionDecisionAttributes.task_start_to_close_timeout', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='backoff_start_interval', full_name='uber.cadence.api.v1.ContinueAsNewWorkflowExecutionDecisionAttributes.backoff_start_interval', index=5, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='retry_policy', full_name='uber.cadence.api.v1.ContinueAsNewWorkflowExecutionDecisionAttributes.retry_policy', index=6, + number=7, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='initiator', full_name='uber.cadence.api.v1.ContinueAsNewWorkflowExecutionDecisionAttributes.initiator', index=7, + number=8, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='failure', full_name='uber.cadence.api.v1.ContinueAsNewWorkflowExecutionDecisionAttributes.failure', index=8, + number=9, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='last_completion_result', full_name='uber.cadence.api.v1.ContinueAsNewWorkflowExecutionDecisionAttributes.last_completion_result', index=9, + number=10, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cron_schedule', full_name='uber.cadence.api.v1.ContinueAsNewWorkflowExecutionDecisionAttributes.cron_schedule', index=10, + number=11, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='header', full_name='uber.cadence.api.v1.ContinueAsNewWorkflowExecutionDecisionAttributes.header', index=11, + number=12, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='memo', full_name='uber.cadence.api.v1.ContinueAsNewWorkflowExecutionDecisionAttributes.memo', index=12, + number=13, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='search_attributes', full_name='uber.cadence.api.v1.ContinueAsNewWorkflowExecutionDecisionAttributes.search_attributes', index=13, + number=14, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='jitter_start', full_name='uber.cadence.api.v1.ContinueAsNewWorkflowExecutionDecisionAttributes.jitter_start', index=14, + number=15, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cron_overlap_policy', full_name='uber.cadence.api.v1.ContinueAsNewWorkflowExecutionDecisionAttributes.cron_overlap_policy', index=15, + number=16, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='active_cluster_selection_policy', full_name='uber.cadence.api.v1.ContinueAsNewWorkflowExecutionDecisionAttributes.active_cluster_selection_policy', index=16, + number=17, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=3260, + serialized_end=4269, +) + + +_STARTCHILDWORKFLOWEXECUTIONDECISIONATTRIBUTES = _descriptor.Descriptor( + name='StartChildWorkflowExecutionDecisionAttributes', + full_name='uber.cadence.api.v1.StartChildWorkflowExecutionDecisionAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.StartChildWorkflowExecutionDecisionAttributes.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_id', full_name='uber.cadence.api.v1.StartChildWorkflowExecutionDecisionAttributes.workflow_id', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_type', full_name='uber.cadence.api.v1.StartChildWorkflowExecutionDecisionAttributes.workflow_type', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='task_list', full_name='uber.cadence.api.v1.StartChildWorkflowExecutionDecisionAttributes.task_list', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='input', full_name='uber.cadence.api.v1.StartChildWorkflowExecutionDecisionAttributes.input', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='execution_start_to_close_timeout', full_name='uber.cadence.api.v1.StartChildWorkflowExecutionDecisionAttributes.execution_start_to_close_timeout', index=5, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='task_start_to_close_timeout', full_name='uber.cadence.api.v1.StartChildWorkflowExecutionDecisionAttributes.task_start_to_close_timeout', index=6, + number=7, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='parent_close_policy', full_name='uber.cadence.api.v1.StartChildWorkflowExecutionDecisionAttributes.parent_close_policy', index=7, + number=8, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='control', full_name='uber.cadence.api.v1.StartChildWorkflowExecutionDecisionAttributes.control', index=8, + number=9, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_id_reuse_policy', full_name='uber.cadence.api.v1.StartChildWorkflowExecutionDecisionAttributes.workflow_id_reuse_policy', index=9, + number=10, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='retry_policy', full_name='uber.cadence.api.v1.StartChildWorkflowExecutionDecisionAttributes.retry_policy', index=10, + number=11, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cron_schedule', full_name='uber.cadence.api.v1.StartChildWorkflowExecutionDecisionAttributes.cron_schedule', index=11, + number=12, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='header', full_name='uber.cadence.api.v1.StartChildWorkflowExecutionDecisionAttributes.header', index=12, + number=13, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='memo', full_name='uber.cadence.api.v1.StartChildWorkflowExecutionDecisionAttributes.memo', index=13, + number=14, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='search_attributes', full_name='uber.cadence.api.v1.StartChildWorkflowExecutionDecisionAttributes.search_attributes', index=14, + number=15, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cron_overlap_policy', full_name='uber.cadence.api.v1.StartChildWorkflowExecutionDecisionAttributes.cron_overlap_policy', index=15, + number=16, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='active_cluster_selection_policy', full_name='uber.cadence.api.v1.StartChildWorkflowExecutionDecisionAttributes.active_cluster_selection_policy', index=16, + number=17, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=4272, + serialized_end=5198, +) + + +_SIGNALEXTERNALWORKFLOWEXECUTIONDECISIONATTRIBUTES = _descriptor.Descriptor( + name='SignalExternalWorkflowExecutionDecisionAttributes', + full_name='uber.cadence.api.v1.SignalExternalWorkflowExecutionDecisionAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.SignalExternalWorkflowExecutionDecisionAttributes.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution', full_name='uber.cadence.api.v1.SignalExternalWorkflowExecutionDecisionAttributes.workflow_execution', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='signal_name', full_name='uber.cadence.api.v1.SignalExternalWorkflowExecutionDecisionAttributes.signal_name', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='input', full_name='uber.cadence.api.v1.SignalExternalWorkflowExecutionDecisionAttributes.input', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='control', full_name='uber.cadence.api.v1.SignalExternalWorkflowExecutionDecisionAttributes.control', index=4, + number=5, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='child_workflow_only', full_name='uber.cadence.api.v1.SignalExternalWorkflowExecutionDecisionAttributes.child_workflow_only', index=5, + number=6, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=5201, + serialized_end=5448, +) + + +_UPSERTWORKFLOWSEARCHATTRIBUTESDECISIONATTRIBUTES = _descriptor.Descriptor( + name='UpsertWorkflowSearchAttributesDecisionAttributes', + full_name='uber.cadence.api.v1.UpsertWorkflowSearchAttributesDecisionAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='search_attributes', full_name='uber.cadence.api.v1.UpsertWorkflowSearchAttributesDecisionAttributes.search_attributes', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=5450, + serialized_end=5566, +) + +_DECISION.fields_by_name['schedule_activity_task_decision_attributes'].message_type = _SCHEDULEACTIVITYTASKDECISIONATTRIBUTES +_DECISION.fields_by_name['start_timer_decision_attributes'].message_type = _STARTTIMERDECISIONATTRIBUTES +_DECISION.fields_by_name['complete_workflow_execution_decision_attributes'].message_type = _COMPLETEWORKFLOWEXECUTIONDECISIONATTRIBUTES +_DECISION.fields_by_name['fail_workflow_execution_decision_attributes'].message_type = _FAILWORKFLOWEXECUTIONDECISIONATTRIBUTES +_DECISION.fields_by_name['request_cancel_activity_task_decision_attributes'].message_type = _REQUESTCANCELACTIVITYTASKDECISIONATTRIBUTES +_DECISION.fields_by_name['cancel_timer_decision_attributes'].message_type = _CANCELTIMERDECISIONATTRIBUTES +_DECISION.fields_by_name['cancel_workflow_execution_decision_attributes'].message_type = _CANCELWORKFLOWEXECUTIONDECISIONATTRIBUTES +_DECISION.fields_by_name['request_cancel_external_workflow_execution_decision_attributes'].message_type = _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONDECISIONATTRIBUTES +_DECISION.fields_by_name['record_marker_decision_attributes'].message_type = _RECORDMARKERDECISIONATTRIBUTES +_DECISION.fields_by_name['continue_as_new_workflow_execution_decision_attributes'].message_type = _CONTINUEASNEWWORKFLOWEXECUTIONDECISIONATTRIBUTES +_DECISION.fields_by_name['start_child_workflow_execution_decision_attributes'].message_type = _STARTCHILDWORKFLOWEXECUTIONDECISIONATTRIBUTES +_DECISION.fields_by_name['signal_external_workflow_execution_decision_attributes'].message_type = _SIGNALEXTERNALWORKFLOWEXECUTIONDECISIONATTRIBUTES +_DECISION.fields_by_name['upsert_workflow_search_attributes_decision_attributes'].message_type = _UPSERTWORKFLOWSEARCHATTRIBUTESDECISIONATTRIBUTES +_DECISION.oneofs_by_name['attributes'].fields.append( + _DECISION.fields_by_name['schedule_activity_task_decision_attributes']) +_DECISION.fields_by_name['schedule_activity_task_decision_attributes'].containing_oneof = _DECISION.oneofs_by_name['attributes'] +_DECISION.oneofs_by_name['attributes'].fields.append( + _DECISION.fields_by_name['start_timer_decision_attributes']) +_DECISION.fields_by_name['start_timer_decision_attributes'].containing_oneof = _DECISION.oneofs_by_name['attributes'] +_DECISION.oneofs_by_name['attributes'].fields.append( + _DECISION.fields_by_name['complete_workflow_execution_decision_attributes']) +_DECISION.fields_by_name['complete_workflow_execution_decision_attributes'].containing_oneof = _DECISION.oneofs_by_name['attributes'] +_DECISION.oneofs_by_name['attributes'].fields.append( + _DECISION.fields_by_name['fail_workflow_execution_decision_attributes']) +_DECISION.fields_by_name['fail_workflow_execution_decision_attributes'].containing_oneof = _DECISION.oneofs_by_name['attributes'] +_DECISION.oneofs_by_name['attributes'].fields.append( + _DECISION.fields_by_name['request_cancel_activity_task_decision_attributes']) +_DECISION.fields_by_name['request_cancel_activity_task_decision_attributes'].containing_oneof = _DECISION.oneofs_by_name['attributes'] +_DECISION.oneofs_by_name['attributes'].fields.append( + _DECISION.fields_by_name['cancel_timer_decision_attributes']) +_DECISION.fields_by_name['cancel_timer_decision_attributes'].containing_oneof = _DECISION.oneofs_by_name['attributes'] +_DECISION.oneofs_by_name['attributes'].fields.append( + _DECISION.fields_by_name['cancel_workflow_execution_decision_attributes']) +_DECISION.fields_by_name['cancel_workflow_execution_decision_attributes'].containing_oneof = _DECISION.oneofs_by_name['attributes'] +_DECISION.oneofs_by_name['attributes'].fields.append( + _DECISION.fields_by_name['request_cancel_external_workflow_execution_decision_attributes']) +_DECISION.fields_by_name['request_cancel_external_workflow_execution_decision_attributes'].containing_oneof = _DECISION.oneofs_by_name['attributes'] +_DECISION.oneofs_by_name['attributes'].fields.append( + _DECISION.fields_by_name['record_marker_decision_attributes']) +_DECISION.fields_by_name['record_marker_decision_attributes'].containing_oneof = _DECISION.oneofs_by_name['attributes'] +_DECISION.oneofs_by_name['attributes'].fields.append( + _DECISION.fields_by_name['continue_as_new_workflow_execution_decision_attributes']) +_DECISION.fields_by_name['continue_as_new_workflow_execution_decision_attributes'].containing_oneof = _DECISION.oneofs_by_name['attributes'] +_DECISION.oneofs_by_name['attributes'].fields.append( + _DECISION.fields_by_name['start_child_workflow_execution_decision_attributes']) +_DECISION.fields_by_name['start_child_workflow_execution_decision_attributes'].containing_oneof = _DECISION.oneofs_by_name['attributes'] +_DECISION.oneofs_by_name['attributes'].fields.append( + _DECISION.fields_by_name['signal_external_workflow_execution_decision_attributes']) +_DECISION.fields_by_name['signal_external_workflow_execution_decision_attributes'].containing_oneof = _DECISION.oneofs_by_name['attributes'] +_DECISION.oneofs_by_name['attributes'].fields.append( + _DECISION.fields_by_name['upsert_workflow_search_attributes_decision_attributes']) +_DECISION.fields_by_name['upsert_workflow_search_attributes_decision_attributes'].containing_oneof = _DECISION.oneofs_by_name['attributes'] +_SCHEDULEACTIVITYTASKDECISIONATTRIBUTES.fields_by_name['activity_type'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._ACTIVITYTYPE +_SCHEDULEACTIVITYTASKDECISIONATTRIBUTES.fields_by_name['task_list'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_tasklist__pb2._TASKLIST +_SCHEDULEACTIVITYTASKDECISIONATTRIBUTES.fields_by_name['input'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._PAYLOAD +_SCHEDULEACTIVITYTASKDECISIONATTRIBUTES.fields_by_name['schedule_to_close_timeout'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_SCHEDULEACTIVITYTASKDECISIONATTRIBUTES.fields_by_name['schedule_to_start_timeout'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_SCHEDULEACTIVITYTASKDECISIONATTRIBUTES.fields_by_name['start_to_close_timeout'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_SCHEDULEACTIVITYTASKDECISIONATTRIBUTES.fields_by_name['heartbeat_timeout'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_SCHEDULEACTIVITYTASKDECISIONATTRIBUTES.fields_by_name['retry_policy'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._RETRYPOLICY +_SCHEDULEACTIVITYTASKDECISIONATTRIBUTES.fields_by_name['header'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._HEADER +_STARTTIMERDECISIONATTRIBUTES.fields_by_name['start_to_fire_timeout'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_COMPLETEWORKFLOWEXECUTIONDECISIONATTRIBUTES.fields_by_name['result'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._PAYLOAD +_FAILWORKFLOWEXECUTIONDECISIONATTRIBUTES.fields_by_name['failure'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._FAILURE +_CANCELWORKFLOWEXECUTIONDECISIONATTRIBUTES.fields_by_name['details'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._PAYLOAD +_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONDECISIONATTRIBUTES.fields_by_name['workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_RECORDMARKERDECISIONATTRIBUTES.fields_by_name['details'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._PAYLOAD +_RECORDMARKERDECISIONATTRIBUTES.fields_by_name['header'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._HEADER +_CONTINUEASNEWWORKFLOWEXECUTIONDECISIONATTRIBUTES.fields_by_name['workflow_type'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWTYPE +_CONTINUEASNEWWORKFLOWEXECUTIONDECISIONATTRIBUTES.fields_by_name['task_list'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_tasklist__pb2._TASKLIST +_CONTINUEASNEWWORKFLOWEXECUTIONDECISIONATTRIBUTES.fields_by_name['input'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._PAYLOAD +_CONTINUEASNEWWORKFLOWEXECUTIONDECISIONATTRIBUTES.fields_by_name['execution_start_to_close_timeout'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_CONTINUEASNEWWORKFLOWEXECUTIONDECISIONATTRIBUTES.fields_by_name['task_start_to_close_timeout'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_CONTINUEASNEWWORKFLOWEXECUTIONDECISIONATTRIBUTES.fields_by_name['backoff_start_interval'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_CONTINUEASNEWWORKFLOWEXECUTIONDECISIONATTRIBUTES.fields_by_name['retry_policy'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._RETRYPOLICY +_CONTINUEASNEWWORKFLOWEXECUTIONDECISIONATTRIBUTES.fields_by_name['initiator'].enum_type = uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2._CONTINUEASNEWINITIATOR +_CONTINUEASNEWWORKFLOWEXECUTIONDECISIONATTRIBUTES.fields_by_name['failure'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._FAILURE +_CONTINUEASNEWWORKFLOWEXECUTIONDECISIONATTRIBUTES.fields_by_name['last_completion_result'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._PAYLOAD +_CONTINUEASNEWWORKFLOWEXECUTIONDECISIONATTRIBUTES.fields_by_name['header'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._HEADER +_CONTINUEASNEWWORKFLOWEXECUTIONDECISIONATTRIBUTES.fields_by_name['memo'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._MEMO +_CONTINUEASNEWWORKFLOWEXECUTIONDECISIONATTRIBUTES.fields_by_name['search_attributes'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._SEARCHATTRIBUTES +_CONTINUEASNEWWORKFLOWEXECUTIONDECISIONATTRIBUTES.fields_by_name['jitter_start'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_CONTINUEASNEWWORKFLOWEXECUTIONDECISIONATTRIBUTES.fields_by_name['cron_overlap_policy'].enum_type = uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2._CRONOVERLAPPOLICY +_CONTINUEASNEWWORKFLOWEXECUTIONDECISIONATTRIBUTES.fields_by_name['active_cluster_selection_policy'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._ACTIVECLUSTERSELECTIONPOLICY +_STARTCHILDWORKFLOWEXECUTIONDECISIONATTRIBUTES.fields_by_name['workflow_type'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWTYPE +_STARTCHILDWORKFLOWEXECUTIONDECISIONATTRIBUTES.fields_by_name['task_list'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_tasklist__pb2._TASKLIST +_STARTCHILDWORKFLOWEXECUTIONDECISIONATTRIBUTES.fields_by_name['input'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._PAYLOAD +_STARTCHILDWORKFLOWEXECUTIONDECISIONATTRIBUTES.fields_by_name['execution_start_to_close_timeout'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_STARTCHILDWORKFLOWEXECUTIONDECISIONATTRIBUTES.fields_by_name['task_start_to_close_timeout'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_STARTCHILDWORKFLOWEXECUTIONDECISIONATTRIBUTES.fields_by_name['parent_close_policy'].enum_type = uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2._PARENTCLOSEPOLICY +_STARTCHILDWORKFLOWEXECUTIONDECISIONATTRIBUTES.fields_by_name['workflow_id_reuse_policy'].enum_type = uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2._WORKFLOWIDREUSEPOLICY +_STARTCHILDWORKFLOWEXECUTIONDECISIONATTRIBUTES.fields_by_name['retry_policy'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._RETRYPOLICY +_STARTCHILDWORKFLOWEXECUTIONDECISIONATTRIBUTES.fields_by_name['header'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._HEADER +_STARTCHILDWORKFLOWEXECUTIONDECISIONATTRIBUTES.fields_by_name['memo'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._MEMO +_STARTCHILDWORKFLOWEXECUTIONDECISIONATTRIBUTES.fields_by_name['search_attributes'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._SEARCHATTRIBUTES +_STARTCHILDWORKFLOWEXECUTIONDECISIONATTRIBUTES.fields_by_name['cron_overlap_policy'].enum_type = uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2._CRONOVERLAPPOLICY +_STARTCHILDWORKFLOWEXECUTIONDECISIONATTRIBUTES.fields_by_name['active_cluster_selection_policy'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._ACTIVECLUSTERSELECTIONPOLICY +_SIGNALEXTERNALWORKFLOWEXECUTIONDECISIONATTRIBUTES.fields_by_name['workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_SIGNALEXTERNALWORKFLOWEXECUTIONDECISIONATTRIBUTES.fields_by_name['input'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._PAYLOAD +_UPSERTWORKFLOWSEARCHATTRIBUTESDECISIONATTRIBUTES.fields_by_name['search_attributes'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._SEARCHATTRIBUTES +DESCRIPTOR.message_types_by_name['Decision'] = _DECISION +DESCRIPTOR.message_types_by_name['ScheduleActivityTaskDecisionAttributes'] = _SCHEDULEACTIVITYTASKDECISIONATTRIBUTES +DESCRIPTOR.message_types_by_name['StartTimerDecisionAttributes'] = _STARTTIMERDECISIONATTRIBUTES +DESCRIPTOR.message_types_by_name['CompleteWorkflowExecutionDecisionAttributes'] = _COMPLETEWORKFLOWEXECUTIONDECISIONATTRIBUTES +DESCRIPTOR.message_types_by_name['FailWorkflowExecutionDecisionAttributes'] = _FAILWORKFLOWEXECUTIONDECISIONATTRIBUTES +DESCRIPTOR.message_types_by_name['RequestCancelActivityTaskDecisionAttributes'] = _REQUESTCANCELACTIVITYTASKDECISIONATTRIBUTES +DESCRIPTOR.message_types_by_name['CancelTimerDecisionAttributes'] = _CANCELTIMERDECISIONATTRIBUTES +DESCRIPTOR.message_types_by_name['CancelWorkflowExecutionDecisionAttributes'] = _CANCELWORKFLOWEXECUTIONDECISIONATTRIBUTES +DESCRIPTOR.message_types_by_name['RequestCancelExternalWorkflowExecutionDecisionAttributes'] = _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONDECISIONATTRIBUTES +DESCRIPTOR.message_types_by_name['RecordMarkerDecisionAttributes'] = _RECORDMARKERDECISIONATTRIBUTES +DESCRIPTOR.message_types_by_name['ContinueAsNewWorkflowExecutionDecisionAttributes'] = _CONTINUEASNEWWORKFLOWEXECUTIONDECISIONATTRIBUTES +DESCRIPTOR.message_types_by_name['StartChildWorkflowExecutionDecisionAttributes'] = _STARTCHILDWORKFLOWEXECUTIONDECISIONATTRIBUTES +DESCRIPTOR.message_types_by_name['SignalExternalWorkflowExecutionDecisionAttributes'] = _SIGNALEXTERNALWORKFLOWEXECUTIONDECISIONATTRIBUTES +DESCRIPTOR.message_types_by_name['UpsertWorkflowSearchAttributesDecisionAttributes'] = _UPSERTWORKFLOWSEARCHATTRIBUTESDECISIONATTRIBUTES +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +Decision = _reflection.GeneratedProtocolMessageType('Decision', (_message.Message,), { + 'DESCRIPTOR' : _DECISION, + '__module__' : 'uber.cadence.api.v1.decision_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.Decision) + }) +_sym_db.RegisterMessage(Decision) + +ScheduleActivityTaskDecisionAttributes = _reflection.GeneratedProtocolMessageType('ScheduleActivityTaskDecisionAttributes', (_message.Message,), { + 'DESCRIPTOR' : _SCHEDULEACTIVITYTASKDECISIONATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.decision_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ScheduleActivityTaskDecisionAttributes) + }) +_sym_db.RegisterMessage(ScheduleActivityTaskDecisionAttributes) + +StartTimerDecisionAttributes = _reflection.GeneratedProtocolMessageType('StartTimerDecisionAttributes', (_message.Message,), { + 'DESCRIPTOR' : _STARTTIMERDECISIONATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.decision_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.StartTimerDecisionAttributes) + }) +_sym_db.RegisterMessage(StartTimerDecisionAttributes) + +CompleteWorkflowExecutionDecisionAttributes = _reflection.GeneratedProtocolMessageType('CompleteWorkflowExecutionDecisionAttributes', (_message.Message,), { + 'DESCRIPTOR' : _COMPLETEWORKFLOWEXECUTIONDECISIONATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.decision_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.CompleteWorkflowExecutionDecisionAttributes) + }) +_sym_db.RegisterMessage(CompleteWorkflowExecutionDecisionAttributes) + +FailWorkflowExecutionDecisionAttributes = _reflection.GeneratedProtocolMessageType('FailWorkflowExecutionDecisionAttributes', (_message.Message,), { + 'DESCRIPTOR' : _FAILWORKFLOWEXECUTIONDECISIONATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.decision_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.FailWorkflowExecutionDecisionAttributes) + }) +_sym_db.RegisterMessage(FailWorkflowExecutionDecisionAttributes) + +RequestCancelActivityTaskDecisionAttributes = _reflection.GeneratedProtocolMessageType('RequestCancelActivityTaskDecisionAttributes', (_message.Message,), { + 'DESCRIPTOR' : _REQUESTCANCELACTIVITYTASKDECISIONATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.decision_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.RequestCancelActivityTaskDecisionAttributes) + }) +_sym_db.RegisterMessage(RequestCancelActivityTaskDecisionAttributes) + +CancelTimerDecisionAttributes = _reflection.GeneratedProtocolMessageType('CancelTimerDecisionAttributes', (_message.Message,), { + 'DESCRIPTOR' : _CANCELTIMERDECISIONATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.decision_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.CancelTimerDecisionAttributes) + }) +_sym_db.RegisterMessage(CancelTimerDecisionAttributes) + +CancelWorkflowExecutionDecisionAttributes = _reflection.GeneratedProtocolMessageType('CancelWorkflowExecutionDecisionAttributes', (_message.Message,), { + 'DESCRIPTOR' : _CANCELWORKFLOWEXECUTIONDECISIONATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.decision_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.CancelWorkflowExecutionDecisionAttributes) + }) +_sym_db.RegisterMessage(CancelWorkflowExecutionDecisionAttributes) + +RequestCancelExternalWorkflowExecutionDecisionAttributes = _reflection.GeneratedProtocolMessageType('RequestCancelExternalWorkflowExecutionDecisionAttributes', (_message.Message,), { + 'DESCRIPTOR' : _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONDECISIONATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.decision_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.RequestCancelExternalWorkflowExecutionDecisionAttributes) + }) +_sym_db.RegisterMessage(RequestCancelExternalWorkflowExecutionDecisionAttributes) + +RecordMarkerDecisionAttributes = _reflection.GeneratedProtocolMessageType('RecordMarkerDecisionAttributes', (_message.Message,), { + 'DESCRIPTOR' : _RECORDMARKERDECISIONATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.decision_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.RecordMarkerDecisionAttributes) + }) +_sym_db.RegisterMessage(RecordMarkerDecisionAttributes) + +ContinueAsNewWorkflowExecutionDecisionAttributes = _reflection.GeneratedProtocolMessageType('ContinueAsNewWorkflowExecutionDecisionAttributes', (_message.Message,), { + 'DESCRIPTOR' : _CONTINUEASNEWWORKFLOWEXECUTIONDECISIONATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.decision_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ContinueAsNewWorkflowExecutionDecisionAttributes) + }) +_sym_db.RegisterMessage(ContinueAsNewWorkflowExecutionDecisionAttributes) + +StartChildWorkflowExecutionDecisionAttributes = _reflection.GeneratedProtocolMessageType('StartChildWorkflowExecutionDecisionAttributes', (_message.Message,), { + 'DESCRIPTOR' : _STARTCHILDWORKFLOWEXECUTIONDECISIONATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.decision_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.StartChildWorkflowExecutionDecisionAttributes) + }) +_sym_db.RegisterMessage(StartChildWorkflowExecutionDecisionAttributes) + +SignalExternalWorkflowExecutionDecisionAttributes = _reflection.GeneratedProtocolMessageType('SignalExternalWorkflowExecutionDecisionAttributes', (_message.Message,), { + 'DESCRIPTOR' : _SIGNALEXTERNALWORKFLOWEXECUTIONDECISIONATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.decision_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.SignalExternalWorkflowExecutionDecisionAttributes) + }) +_sym_db.RegisterMessage(SignalExternalWorkflowExecutionDecisionAttributes) + +UpsertWorkflowSearchAttributesDecisionAttributes = _reflection.GeneratedProtocolMessageType('UpsertWorkflowSearchAttributesDecisionAttributes', (_message.Message,), { + 'DESCRIPTOR' : _UPSERTWORKFLOWSEARCHATTRIBUTESDECISIONATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.decision_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.UpsertWorkflowSearchAttributesDecisionAttributes) + }) +_sym_db.RegisterMessage(UpsertWorkflowSearchAttributesDecisionAttributes) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/cadence/shared/api/v1/decision_pb2.pyi b/cadence/shared/api/v1/decision_pb2.pyi new file mode 100644 index 0000000..4d2d666 --- /dev/null +++ b/cadence/shared/api/v1/decision_pb2.pyi @@ -0,0 +1,225 @@ +from google.protobuf import duration_pb2 as _duration_pb2 +from uber.cadence.api.v1 import common_pb2 as _common_pb2 +from uber.cadence.api.v1 import tasklist_pb2 as _tasklist_pb2 +from uber.cadence.api.v1 import workflow_pb2 as _workflow_pb2 +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Optional, Union as _Union + +DESCRIPTOR: _descriptor.FileDescriptor + +class Decision(_message.Message): + __slots__ = ("schedule_activity_task_decision_attributes", "start_timer_decision_attributes", "complete_workflow_execution_decision_attributes", "fail_workflow_execution_decision_attributes", "request_cancel_activity_task_decision_attributes", "cancel_timer_decision_attributes", "cancel_workflow_execution_decision_attributes", "request_cancel_external_workflow_execution_decision_attributes", "record_marker_decision_attributes", "continue_as_new_workflow_execution_decision_attributes", "start_child_workflow_execution_decision_attributes", "signal_external_workflow_execution_decision_attributes", "upsert_workflow_search_attributes_decision_attributes") + SCHEDULE_ACTIVITY_TASK_DECISION_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + START_TIMER_DECISION_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + COMPLETE_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + FAIL_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + REQUEST_CANCEL_ACTIVITY_TASK_DECISION_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + CANCEL_TIMER_DECISION_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + CANCEL_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + RECORD_MARKER_DECISION_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + CONTINUE_AS_NEW_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + START_CHILD_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + UPSERT_WORKFLOW_SEARCH_ATTRIBUTES_DECISION_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + schedule_activity_task_decision_attributes: ScheduleActivityTaskDecisionAttributes + start_timer_decision_attributes: StartTimerDecisionAttributes + complete_workflow_execution_decision_attributes: CompleteWorkflowExecutionDecisionAttributes + fail_workflow_execution_decision_attributes: FailWorkflowExecutionDecisionAttributes + request_cancel_activity_task_decision_attributes: RequestCancelActivityTaskDecisionAttributes + cancel_timer_decision_attributes: CancelTimerDecisionAttributes + cancel_workflow_execution_decision_attributes: CancelWorkflowExecutionDecisionAttributes + request_cancel_external_workflow_execution_decision_attributes: RequestCancelExternalWorkflowExecutionDecisionAttributes + record_marker_decision_attributes: RecordMarkerDecisionAttributes + continue_as_new_workflow_execution_decision_attributes: ContinueAsNewWorkflowExecutionDecisionAttributes + start_child_workflow_execution_decision_attributes: StartChildWorkflowExecutionDecisionAttributes + signal_external_workflow_execution_decision_attributes: SignalExternalWorkflowExecutionDecisionAttributes + upsert_workflow_search_attributes_decision_attributes: UpsertWorkflowSearchAttributesDecisionAttributes + def __init__(self, schedule_activity_task_decision_attributes: _Optional[_Union[ScheduleActivityTaskDecisionAttributes, _Mapping]] = ..., start_timer_decision_attributes: _Optional[_Union[StartTimerDecisionAttributes, _Mapping]] = ..., complete_workflow_execution_decision_attributes: _Optional[_Union[CompleteWorkflowExecutionDecisionAttributes, _Mapping]] = ..., fail_workflow_execution_decision_attributes: _Optional[_Union[FailWorkflowExecutionDecisionAttributes, _Mapping]] = ..., request_cancel_activity_task_decision_attributes: _Optional[_Union[RequestCancelActivityTaskDecisionAttributes, _Mapping]] = ..., cancel_timer_decision_attributes: _Optional[_Union[CancelTimerDecisionAttributes, _Mapping]] = ..., cancel_workflow_execution_decision_attributes: _Optional[_Union[CancelWorkflowExecutionDecisionAttributes, _Mapping]] = ..., request_cancel_external_workflow_execution_decision_attributes: _Optional[_Union[RequestCancelExternalWorkflowExecutionDecisionAttributes, _Mapping]] = ..., record_marker_decision_attributes: _Optional[_Union[RecordMarkerDecisionAttributes, _Mapping]] = ..., continue_as_new_workflow_execution_decision_attributes: _Optional[_Union[ContinueAsNewWorkflowExecutionDecisionAttributes, _Mapping]] = ..., start_child_workflow_execution_decision_attributes: _Optional[_Union[StartChildWorkflowExecutionDecisionAttributes, _Mapping]] = ..., signal_external_workflow_execution_decision_attributes: _Optional[_Union[SignalExternalWorkflowExecutionDecisionAttributes, _Mapping]] = ..., upsert_workflow_search_attributes_decision_attributes: _Optional[_Union[UpsertWorkflowSearchAttributesDecisionAttributes, _Mapping]] = ...) -> None: ... + +class ScheduleActivityTaskDecisionAttributes(_message.Message): + __slots__ = ("activity_id", "activity_type", "domain", "task_list", "input", "schedule_to_close_timeout", "schedule_to_start_timeout", "start_to_close_timeout", "heartbeat_timeout", "retry_policy", "header", "request_local_dispatch") + ACTIVITY_ID_FIELD_NUMBER: _ClassVar[int] + ACTIVITY_TYPE_FIELD_NUMBER: _ClassVar[int] + DOMAIN_FIELD_NUMBER: _ClassVar[int] + TASK_LIST_FIELD_NUMBER: _ClassVar[int] + INPUT_FIELD_NUMBER: _ClassVar[int] + SCHEDULE_TO_CLOSE_TIMEOUT_FIELD_NUMBER: _ClassVar[int] + SCHEDULE_TO_START_TIMEOUT_FIELD_NUMBER: _ClassVar[int] + START_TO_CLOSE_TIMEOUT_FIELD_NUMBER: _ClassVar[int] + HEARTBEAT_TIMEOUT_FIELD_NUMBER: _ClassVar[int] + RETRY_POLICY_FIELD_NUMBER: _ClassVar[int] + HEADER_FIELD_NUMBER: _ClassVar[int] + REQUEST_LOCAL_DISPATCH_FIELD_NUMBER: _ClassVar[int] + activity_id: str + activity_type: _common_pb2.ActivityType + domain: str + task_list: _tasklist_pb2.TaskList + input: _common_pb2.Payload + schedule_to_close_timeout: _duration_pb2.Duration + schedule_to_start_timeout: _duration_pb2.Duration + start_to_close_timeout: _duration_pb2.Duration + heartbeat_timeout: _duration_pb2.Duration + retry_policy: _common_pb2.RetryPolicy + header: _common_pb2.Header + request_local_dispatch: bool + def __init__(self, activity_id: _Optional[str] = ..., activity_type: _Optional[_Union[_common_pb2.ActivityType, _Mapping]] = ..., domain: _Optional[str] = ..., task_list: _Optional[_Union[_tasklist_pb2.TaskList, _Mapping]] = ..., input: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., schedule_to_close_timeout: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., schedule_to_start_timeout: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., start_to_close_timeout: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., heartbeat_timeout: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., retry_policy: _Optional[_Union[_common_pb2.RetryPolicy, _Mapping]] = ..., header: _Optional[_Union[_common_pb2.Header, _Mapping]] = ..., request_local_dispatch: bool = ...) -> None: ... + +class StartTimerDecisionAttributes(_message.Message): + __slots__ = ("timer_id", "start_to_fire_timeout") + TIMER_ID_FIELD_NUMBER: _ClassVar[int] + START_TO_FIRE_TIMEOUT_FIELD_NUMBER: _ClassVar[int] + timer_id: str + start_to_fire_timeout: _duration_pb2.Duration + def __init__(self, timer_id: _Optional[str] = ..., start_to_fire_timeout: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ...) -> None: ... + +class CompleteWorkflowExecutionDecisionAttributes(_message.Message): + __slots__ = ("result",) + RESULT_FIELD_NUMBER: _ClassVar[int] + result: _common_pb2.Payload + def __init__(self, result: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ...) -> None: ... + +class FailWorkflowExecutionDecisionAttributes(_message.Message): + __slots__ = ("failure",) + FAILURE_FIELD_NUMBER: _ClassVar[int] + failure: _common_pb2.Failure + def __init__(self, failure: _Optional[_Union[_common_pb2.Failure, _Mapping]] = ...) -> None: ... + +class RequestCancelActivityTaskDecisionAttributes(_message.Message): + __slots__ = ("activity_id",) + ACTIVITY_ID_FIELD_NUMBER: _ClassVar[int] + activity_id: str + def __init__(self, activity_id: _Optional[str] = ...) -> None: ... + +class CancelTimerDecisionAttributes(_message.Message): + __slots__ = ("timer_id",) + TIMER_ID_FIELD_NUMBER: _ClassVar[int] + timer_id: str + def __init__(self, timer_id: _Optional[str] = ...) -> None: ... + +class CancelWorkflowExecutionDecisionAttributes(_message.Message): + __slots__ = ("details",) + DETAILS_FIELD_NUMBER: _ClassVar[int] + details: _common_pb2.Payload + def __init__(self, details: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ...) -> None: ... + +class RequestCancelExternalWorkflowExecutionDecisionAttributes(_message.Message): + __slots__ = ("domain", "workflow_execution", "control", "child_workflow_only") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + CONTROL_FIELD_NUMBER: _ClassVar[int] + CHILD_WORKFLOW_ONLY_FIELD_NUMBER: _ClassVar[int] + domain: str + workflow_execution: _common_pb2.WorkflowExecution + control: bytes + child_workflow_only: bool + def __init__(self, domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., control: _Optional[bytes] = ..., child_workflow_only: bool = ...) -> None: ... + +class RecordMarkerDecisionAttributes(_message.Message): + __slots__ = ("marker_name", "details", "header") + MARKER_NAME_FIELD_NUMBER: _ClassVar[int] + DETAILS_FIELD_NUMBER: _ClassVar[int] + HEADER_FIELD_NUMBER: _ClassVar[int] + marker_name: str + details: _common_pb2.Payload + header: _common_pb2.Header + def __init__(self, marker_name: _Optional[str] = ..., details: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., header: _Optional[_Union[_common_pb2.Header, _Mapping]] = ...) -> None: ... + +class ContinueAsNewWorkflowExecutionDecisionAttributes(_message.Message): + __slots__ = ("workflow_type", "task_list", "input", "execution_start_to_close_timeout", "task_start_to_close_timeout", "backoff_start_interval", "retry_policy", "initiator", "failure", "last_completion_result", "cron_schedule", "header", "memo", "search_attributes", "jitter_start", "cron_overlap_policy", "active_cluster_selection_policy") + WORKFLOW_TYPE_FIELD_NUMBER: _ClassVar[int] + TASK_LIST_FIELD_NUMBER: _ClassVar[int] + INPUT_FIELD_NUMBER: _ClassVar[int] + EXECUTION_START_TO_CLOSE_TIMEOUT_FIELD_NUMBER: _ClassVar[int] + TASK_START_TO_CLOSE_TIMEOUT_FIELD_NUMBER: _ClassVar[int] + BACKOFF_START_INTERVAL_FIELD_NUMBER: _ClassVar[int] + RETRY_POLICY_FIELD_NUMBER: _ClassVar[int] + INITIATOR_FIELD_NUMBER: _ClassVar[int] + FAILURE_FIELD_NUMBER: _ClassVar[int] + LAST_COMPLETION_RESULT_FIELD_NUMBER: _ClassVar[int] + CRON_SCHEDULE_FIELD_NUMBER: _ClassVar[int] + HEADER_FIELD_NUMBER: _ClassVar[int] + MEMO_FIELD_NUMBER: _ClassVar[int] + SEARCH_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + JITTER_START_FIELD_NUMBER: _ClassVar[int] + CRON_OVERLAP_POLICY_FIELD_NUMBER: _ClassVar[int] + ACTIVE_CLUSTER_SELECTION_POLICY_FIELD_NUMBER: _ClassVar[int] + workflow_type: _common_pb2.WorkflowType + task_list: _tasklist_pb2.TaskList + input: _common_pb2.Payload + execution_start_to_close_timeout: _duration_pb2.Duration + task_start_to_close_timeout: _duration_pb2.Duration + backoff_start_interval: _duration_pb2.Duration + retry_policy: _common_pb2.RetryPolicy + initiator: _workflow_pb2.ContinueAsNewInitiator + failure: _common_pb2.Failure + last_completion_result: _common_pb2.Payload + cron_schedule: str + header: _common_pb2.Header + memo: _common_pb2.Memo + search_attributes: _common_pb2.SearchAttributes + jitter_start: _duration_pb2.Duration + cron_overlap_policy: _workflow_pb2.CronOverlapPolicy + active_cluster_selection_policy: _common_pb2.ActiveClusterSelectionPolicy + def __init__(self, workflow_type: _Optional[_Union[_common_pb2.WorkflowType, _Mapping]] = ..., task_list: _Optional[_Union[_tasklist_pb2.TaskList, _Mapping]] = ..., input: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., execution_start_to_close_timeout: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., task_start_to_close_timeout: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., backoff_start_interval: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., retry_policy: _Optional[_Union[_common_pb2.RetryPolicy, _Mapping]] = ..., initiator: _Optional[_Union[_workflow_pb2.ContinueAsNewInitiator, str]] = ..., failure: _Optional[_Union[_common_pb2.Failure, _Mapping]] = ..., last_completion_result: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., cron_schedule: _Optional[str] = ..., header: _Optional[_Union[_common_pb2.Header, _Mapping]] = ..., memo: _Optional[_Union[_common_pb2.Memo, _Mapping]] = ..., search_attributes: _Optional[_Union[_common_pb2.SearchAttributes, _Mapping]] = ..., jitter_start: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., cron_overlap_policy: _Optional[_Union[_workflow_pb2.CronOverlapPolicy, str]] = ..., active_cluster_selection_policy: _Optional[_Union[_common_pb2.ActiveClusterSelectionPolicy, _Mapping]] = ...) -> None: ... + +class StartChildWorkflowExecutionDecisionAttributes(_message.Message): + __slots__ = ("domain", "workflow_id", "workflow_type", "task_list", "input", "execution_start_to_close_timeout", "task_start_to_close_timeout", "parent_close_policy", "control", "workflow_id_reuse_policy", "retry_policy", "cron_schedule", "header", "memo", "search_attributes", "cron_overlap_policy", "active_cluster_selection_policy") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_ID_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_TYPE_FIELD_NUMBER: _ClassVar[int] + TASK_LIST_FIELD_NUMBER: _ClassVar[int] + INPUT_FIELD_NUMBER: _ClassVar[int] + EXECUTION_START_TO_CLOSE_TIMEOUT_FIELD_NUMBER: _ClassVar[int] + TASK_START_TO_CLOSE_TIMEOUT_FIELD_NUMBER: _ClassVar[int] + PARENT_CLOSE_POLICY_FIELD_NUMBER: _ClassVar[int] + CONTROL_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_ID_REUSE_POLICY_FIELD_NUMBER: _ClassVar[int] + RETRY_POLICY_FIELD_NUMBER: _ClassVar[int] + CRON_SCHEDULE_FIELD_NUMBER: _ClassVar[int] + HEADER_FIELD_NUMBER: _ClassVar[int] + MEMO_FIELD_NUMBER: _ClassVar[int] + SEARCH_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + CRON_OVERLAP_POLICY_FIELD_NUMBER: _ClassVar[int] + ACTIVE_CLUSTER_SELECTION_POLICY_FIELD_NUMBER: _ClassVar[int] + domain: str + workflow_id: str + workflow_type: _common_pb2.WorkflowType + task_list: _tasklist_pb2.TaskList + input: _common_pb2.Payload + execution_start_to_close_timeout: _duration_pb2.Duration + task_start_to_close_timeout: _duration_pb2.Duration + parent_close_policy: _workflow_pb2.ParentClosePolicy + control: bytes + workflow_id_reuse_policy: _workflow_pb2.WorkflowIdReusePolicy + retry_policy: _common_pb2.RetryPolicy + cron_schedule: str + header: _common_pb2.Header + memo: _common_pb2.Memo + search_attributes: _common_pb2.SearchAttributes + cron_overlap_policy: _workflow_pb2.CronOverlapPolicy + active_cluster_selection_policy: _common_pb2.ActiveClusterSelectionPolicy + def __init__(self, domain: _Optional[str] = ..., workflow_id: _Optional[str] = ..., workflow_type: _Optional[_Union[_common_pb2.WorkflowType, _Mapping]] = ..., task_list: _Optional[_Union[_tasklist_pb2.TaskList, _Mapping]] = ..., input: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., execution_start_to_close_timeout: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., task_start_to_close_timeout: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., parent_close_policy: _Optional[_Union[_workflow_pb2.ParentClosePolicy, str]] = ..., control: _Optional[bytes] = ..., workflow_id_reuse_policy: _Optional[_Union[_workflow_pb2.WorkflowIdReusePolicy, str]] = ..., retry_policy: _Optional[_Union[_common_pb2.RetryPolicy, _Mapping]] = ..., cron_schedule: _Optional[str] = ..., header: _Optional[_Union[_common_pb2.Header, _Mapping]] = ..., memo: _Optional[_Union[_common_pb2.Memo, _Mapping]] = ..., search_attributes: _Optional[_Union[_common_pb2.SearchAttributes, _Mapping]] = ..., cron_overlap_policy: _Optional[_Union[_workflow_pb2.CronOverlapPolicy, str]] = ..., active_cluster_selection_policy: _Optional[_Union[_common_pb2.ActiveClusterSelectionPolicy, _Mapping]] = ...) -> None: ... + +class SignalExternalWorkflowExecutionDecisionAttributes(_message.Message): + __slots__ = ("domain", "workflow_execution", "signal_name", "input", "control", "child_workflow_only") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + SIGNAL_NAME_FIELD_NUMBER: _ClassVar[int] + INPUT_FIELD_NUMBER: _ClassVar[int] + CONTROL_FIELD_NUMBER: _ClassVar[int] + CHILD_WORKFLOW_ONLY_FIELD_NUMBER: _ClassVar[int] + domain: str + workflow_execution: _common_pb2.WorkflowExecution + signal_name: str + input: _common_pb2.Payload + control: bytes + child_workflow_only: bool + def __init__(self, domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., signal_name: _Optional[str] = ..., input: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., control: _Optional[bytes] = ..., child_workflow_only: bool = ...) -> None: ... + +class UpsertWorkflowSearchAttributesDecisionAttributes(_message.Message): + __slots__ = ("search_attributes",) + SEARCH_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + search_attributes: _common_pb2.SearchAttributes + def __init__(self, search_attributes: _Optional[_Union[_common_pb2.SearchAttributes, _Mapping]] = ...) -> None: ... diff --git a/cadence/shared/api/v1/domain_pb2.py b/cadence/shared/api/v1/domain_pb2.py new file mode 100644 index 0000000..52b9c03 --- /dev/null +++ b/cadence/shared/api/v1/domain_pb2.py @@ -0,0 +1,736 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: uber/cadence/api/v1/domain.proto +"""Generated protocol buffer code.""" +from google.protobuf.internal import enum_type_wrapper +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from uber.cadence.api.v1 import common_pb2 as uber_dot_cadence_dot_api_dot_v1_dot_common__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='uber/cadence/api/v1/domain.proto', + package='uber.cadence.api.v1', + syntax='proto3', + serialized_options=b'\n\027com.uber.cadence.api.v1B\013DomainProtoP\001Z1github.com/uber/cadence-idl/go/proto/api/v1;apiv1', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n uber/cadence/api/v1/domain.proto\x12\x13uber.cadence.api.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a uber/cadence/api/v1/common.proto\"\xdc\x07\n\x06\x44omain\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x31\n\x06status\x18\x03 \x01(\x0e\x32!.uber.cadence.api.v1.DomainStatus\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x13\n\x0bowner_email\x18\x05 \x01(\t\x12\x33\n\x04\x64\x61ta\x18\x06 \x03(\x0b\x32%.uber.cadence.api.v1.Domain.DataEntry\x12\x46\n#workflow_execution_retention_period\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x36\n\x0c\x62\x61\x64_binaries\x18\x08 \x01(\x0b\x32 .uber.cadence.api.v1.BadBinaries\x12\x44\n\x17history_archival_status\x18\t \x01(\x0e\x32#.uber.cadence.api.v1.ArchivalStatus\x12\x1c\n\x14history_archival_uri\x18\n \x01(\t\x12G\n\x1avisibility_archival_status\x18\x0b \x01(\x0e\x32#.uber.cadence.api.v1.ArchivalStatus\x12\x1f\n\x17visibility_archival_uri\x18\x0c \x01(\t\x12\x1b\n\x13\x61\x63tive_cluster_name\x18\r \x01(\t\x12\x46\n\x08\x63lusters\x18\x0e \x03(\x0b\x32\x34.uber.cadence.api.v1.ClusterReplicationConfiguration\x12\x18\n\x10\x66\x61ilover_version\x18\x0f \x01(\x03\x12\x18\n\x10is_global_domain\x18\x10 \x01(\x08\x12\x38\n\rfailover_info\x18\x11 \x01(\x0b\x32!.uber.cadence.api.v1.FailoverInfo\x12J\n\x10isolation_groups\x18\x12 \x01(\x0b\x32\x30.uber.cadence.api.v1.IsolationGroupConfiguration\x12N\n\x15\x61sync_workflow_config\x18\x13 \x01(\x0b\x32/.uber.cadence.api.v1.AsyncWorkflowConfiguration\x12<\n\x0f\x61\x63tive_clusters\x18\x14 \x01(\x0b\x32#.uber.cadence.api.v1.ActiveClusters\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"7\n\x1f\x43lusterReplicationConfiguration\x12\x14\n\x0c\x63luster_name\x18\x01 \x01(\t\"\xa4\x01\n\x0b\x42\x61\x64\x42inaries\x12@\n\x08\x62inaries\x18\x01 \x03(\x0b\x32..uber.cadence.api.v1.BadBinaries.BinariesEntry\x1aS\n\rBinariesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x31\n\x05value\x18\x02 \x01(\x0b\x32\".uber.cadence.api.v1.BadBinaryInfo:\x02\x38\x01\"c\n\rBadBinaryInfo\x12\x0e\n\x06reason\x18\x01 \x01(\t\x12\x10\n\x08operator\x18\x02 \x01(\t\x12\x30\n\x0c\x63reated_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xdc\x01\n\x0c\x46\x61iloverInfo\x12\x18\n\x10\x66\x61ilover_version\x18\x01 \x01(\x03\x12<\n\x18\x66\x61ilover_start_timestamp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12=\n\x19\x66\x61ilover_expire_timestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1d\n\x15\x63ompleted_shard_count\x18\x04 \x01(\x05\x12\x16\n\x0epending_shards\x18\x05 \x03(\x05\"\xc5\x01\n\x0e\x41\x63tiveClusters\x12S\n\x11region_to_cluster\x18\x01 \x03(\x0b\x32\x38.uber.cadence.api.v1.ActiveClusters.RegionToClusterEntry\x1a^\n\x14RegionToClusterEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x35\n\x05value\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.ActiveClusterInfo:\x02\x38\x01\"J\n\x11\x41\x63tiveClusterInfo\x12\x1b\n\x13\x61\x63tive_cluster_name\x18\x01 \x01(\t\x12\x18\n\x10\x66\x61ilover_version\x18\x02 \x01(\x03*\x80\x01\n\x0c\x44omainStatus\x12\x19\n\x15\x44OMAIN_STATUS_INVALID\x10\x00\x12\x1c\n\x18\x44OMAIN_STATUS_REGISTERED\x10\x01\x12\x1c\n\x18\x44OMAIN_STATUS_DEPRECATED\x10\x02\x12\x19\n\x15\x44OMAIN_STATUS_DELETED\x10\x03*h\n\x0e\x41rchivalStatus\x12\x1b\n\x17\x41RCHIVAL_STATUS_INVALID\x10\x00\x12\x1c\n\x18\x41RCHIVAL_STATUS_DISABLED\x10\x01\x12\x1b\n\x17\x41RCHIVAL_STATUS_ENABLED\x10\x02\x42[\n\x17\x63om.uber.cadence.api.v1B\x0b\x44omainProtoP\x01Z1github.com/uber/cadence-idl/go/proto/api/v1;apiv1b\x06proto3' + , + dependencies=[google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,uber_dot_cadence_dot_api_dot_v1_dot_common__pb2.DESCRIPTOR,]) + +_DOMAINSTATUS = _descriptor.EnumDescriptor( + name='DomainStatus', + full_name='uber.cadence.api.v1.DomainStatus', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='DOMAIN_STATUS_INVALID', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DOMAIN_STATUS_REGISTERED', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DOMAIN_STATUS_DEPRECATED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DOMAIN_STATUS_DELETED', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=1972, + serialized_end=2100, +) +_sym_db.RegisterEnumDescriptor(_DOMAINSTATUS) + +DomainStatus = enum_type_wrapper.EnumTypeWrapper(_DOMAINSTATUS) +_ARCHIVALSTATUS = _descriptor.EnumDescriptor( + name='ArchivalStatus', + full_name='uber.cadence.api.v1.ArchivalStatus', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='ARCHIVAL_STATUS_INVALID', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ARCHIVAL_STATUS_DISABLED', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ARCHIVAL_STATUS_ENABLED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=2102, + serialized_end=2206, +) +_sym_db.RegisterEnumDescriptor(_ARCHIVALSTATUS) + +ArchivalStatus = enum_type_wrapper.EnumTypeWrapper(_ARCHIVALSTATUS) +DOMAIN_STATUS_INVALID = 0 +DOMAIN_STATUS_REGISTERED = 1 +DOMAIN_STATUS_DEPRECATED = 2 +DOMAIN_STATUS_DELETED = 3 +ARCHIVAL_STATUS_INVALID = 0 +ARCHIVAL_STATUS_DISABLED = 1 +ARCHIVAL_STATUS_ENABLED = 2 + + + +_DOMAIN_DATAENTRY = _descriptor.Descriptor( + name='DataEntry', + full_name='uber.cadence.api.v1.Domain.DataEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='uber.cadence.api.v1.Domain.DataEntry.key', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='value', full_name='uber.cadence.api.v1.Domain.DataEntry.value', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'8\001', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1102, + serialized_end=1145, +) + +_DOMAIN = _descriptor.Descriptor( + name='Domain', + full_name='uber.cadence.api.v1.Domain', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='id', full_name='uber.cadence.api.v1.Domain.id', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='name', full_name='uber.cadence.api.v1.Domain.name', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='status', full_name='uber.cadence.api.v1.Domain.status', index=2, + number=3, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='description', full_name='uber.cadence.api.v1.Domain.description', index=3, + number=4, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='owner_email', full_name='uber.cadence.api.v1.Domain.owner_email', index=4, + number=5, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='data', full_name='uber.cadence.api.v1.Domain.data', index=5, + number=6, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution_retention_period', full_name='uber.cadence.api.v1.Domain.workflow_execution_retention_period', index=6, + number=7, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='bad_binaries', full_name='uber.cadence.api.v1.Domain.bad_binaries', index=7, + number=8, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='history_archival_status', full_name='uber.cadence.api.v1.Domain.history_archival_status', index=8, + number=9, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='history_archival_uri', full_name='uber.cadence.api.v1.Domain.history_archival_uri', index=9, + number=10, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='visibility_archival_status', full_name='uber.cadence.api.v1.Domain.visibility_archival_status', index=10, + number=11, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='visibility_archival_uri', full_name='uber.cadence.api.v1.Domain.visibility_archival_uri', index=11, + number=12, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='active_cluster_name', full_name='uber.cadence.api.v1.Domain.active_cluster_name', index=12, + number=13, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='clusters', full_name='uber.cadence.api.v1.Domain.clusters', index=13, + number=14, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='failover_version', full_name='uber.cadence.api.v1.Domain.failover_version', index=14, + number=15, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='is_global_domain', full_name='uber.cadence.api.v1.Domain.is_global_domain', index=15, + number=16, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='failover_info', full_name='uber.cadence.api.v1.Domain.failover_info', index=16, + number=17, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='isolation_groups', full_name='uber.cadence.api.v1.Domain.isolation_groups', index=17, + number=18, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='async_workflow_config', full_name='uber.cadence.api.v1.Domain.async_workflow_config', index=18, + number=19, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='active_clusters', full_name='uber.cadence.api.v1.Domain.active_clusters', index=19, + number=20, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[_DOMAIN_DATAENTRY, ], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=157, + serialized_end=1145, +) + + +_CLUSTERREPLICATIONCONFIGURATION = _descriptor.Descriptor( + name='ClusterReplicationConfiguration', + full_name='uber.cadence.api.v1.ClusterReplicationConfiguration', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='cluster_name', full_name='uber.cadence.api.v1.ClusterReplicationConfiguration.cluster_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1147, + serialized_end=1202, +) + + +_BADBINARIES_BINARIESENTRY = _descriptor.Descriptor( + name='BinariesEntry', + full_name='uber.cadence.api.v1.BadBinaries.BinariesEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='uber.cadence.api.v1.BadBinaries.BinariesEntry.key', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='value', full_name='uber.cadence.api.v1.BadBinaries.BinariesEntry.value', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'8\001', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1286, + serialized_end=1369, +) + +_BADBINARIES = _descriptor.Descriptor( + name='BadBinaries', + full_name='uber.cadence.api.v1.BadBinaries', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='binaries', full_name='uber.cadence.api.v1.BadBinaries.binaries', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[_BADBINARIES_BINARIESENTRY, ], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1205, + serialized_end=1369, +) + + +_BADBINARYINFO = _descriptor.Descriptor( + name='BadBinaryInfo', + full_name='uber.cadence.api.v1.BadBinaryInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='reason', full_name='uber.cadence.api.v1.BadBinaryInfo.reason', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='operator', full_name='uber.cadence.api.v1.BadBinaryInfo.operator', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='created_time', full_name='uber.cadence.api.v1.BadBinaryInfo.created_time', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1371, + serialized_end=1470, +) + + +_FAILOVERINFO = _descriptor.Descriptor( + name='FailoverInfo', + full_name='uber.cadence.api.v1.FailoverInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='failover_version', full_name='uber.cadence.api.v1.FailoverInfo.failover_version', index=0, + number=1, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='failover_start_timestamp', full_name='uber.cadence.api.v1.FailoverInfo.failover_start_timestamp', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='failover_expire_timestamp', full_name='uber.cadence.api.v1.FailoverInfo.failover_expire_timestamp', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='completed_shard_count', full_name='uber.cadence.api.v1.FailoverInfo.completed_shard_count', index=3, + number=4, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='pending_shards', full_name='uber.cadence.api.v1.FailoverInfo.pending_shards', index=4, + number=5, type=5, cpp_type=1, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1473, + serialized_end=1693, +) + + +_ACTIVECLUSTERS_REGIONTOCLUSTERENTRY = _descriptor.Descriptor( + name='RegionToClusterEntry', + full_name='uber.cadence.api.v1.ActiveClusters.RegionToClusterEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='uber.cadence.api.v1.ActiveClusters.RegionToClusterEntry.key', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='value', full_name='uber.cadence.api.v1.ActiveClusters.RegionToClusterEntry.value', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'8\001', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1799, + serialized_end=1893, +) + +_ACTIVECLUSTERS = _descriptor.Descriptor( + name='ActiveClusters', + full_name='uber.cadence.api.v1.ActiveClusters', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='region_to_cluster', full_name='uber.cadence.api.v1.ActiveClusters.region_to_cluster', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[_ACTIVECLUSTERS_REGIONTOCLUSTERENTRY, ], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1696, + serialized_end=1893, +) + + +_ACTIVECLUSTERINFO = _descriptor.Descriptor( + name='ActiveClusterInfo', + full_name='uber.cadence.api.v1.ActiveClusterInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='active_cluster_name', full_name='uber.cadence.api.v1.ActiveClusterInfo.active_cluster_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='failover_version', full_name='uber.cadence.api.v1.ActiveClusterInfo.failover_version', index=1, + number=2, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1895, + serialized_end=1969, +) + +_DOMAIN_DATAENTRY.containing_type = _DOMAIN +_DOMAIN.fields_by_name['status'].enum_type = _DOMAINSTATUS +_DOMAIN.fields_by_name['data'].message_type = _DOMAIN_DATAENTRY +_DOMAIN.fields_by_name['workflow_execution_retention_period'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_DOMAIN.fields_by_name['bad_binaries'].message_type = _BADBINARIES +_DOMAIN.fields_by_name['history_archival_status'].enum_type = _ARCHIVALSTATUS +_DOMAIN.fields_by_name['visibility_archival_status'].enum_type = _ARCHIVALSTATUS +_DOMAIN.fields_by_name['clusters'].message_type = _CLUSTERREPLICATIONCONFIGURATION +_DOMAIN.fields_by_name['failover_info'].message_type = _FAILOVERINFO +_DOMAIN.fields_by_name['isolation_groups'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._ISOLATIONGROUPCONFIGURATION +_DOMAIN.fields_by_name['async_workflow_config'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._ASYNCWORKFLOWCONFIGURATION +_DOMAIN.fields_by_name['active_clusters'].message_type = _ACTIVECLUSTERS +_BADBINARIES_BINARIESENTRY.fields_by_name['value'].message_type = _BADBINARYINFO +_BADBINARIES_BINARIESENTRY.containing_type = _BADBINARIES +_BADBINARIES.fields_by_name['binaries'].message_type = _BADBINARIES_BINARIESENTRY +_BADBINARYINFO.fields_by_name['created_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_FAILOVERINFO.fields_by_name['failover_start_timestamp'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_FAILOVERINFO.fields_by_name['failover_expire_timestamp'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_ACTIVECLUSTERS_REGIONTOCLUSTERENTRY.fields_by_name['value'].message_type = _ACTIVECLUSTERINFO +_ACTIVECLUSTERS_REGIONTOCLUSTERENTRY.containing_type = _ACTIVECLUSTERS +_ACTIVECLUSTERS.fields_by_name['region_to_cluster'].message_type = _ACTIVECLUSTERS_REGIONTOCLUSTERENTRY +DESCRIPTOR.message_types_by_name['Domain'] = _DOMAIN +DESCRIPTOR.message_types_by_name['ClusterReplicationConfiguration'] = _CLUSTERREPLICATIONCONFIGURATION +DESCRIPTOR.message_types_by_name['BadBinaries'] = _BADBINARIES +DESCRIPTOR.message_types_by_name['BadBinaryInfo'] = _BADBINARYINFO +DESCRIPTOR.message_types_by_name['FailoverInfo'] = _FAILOVERINFO +DESCRIPTOR.message_types_by_name['ActiveClusters'] = _ACTIVECLUSTERS +DESCRIPTOR.message_types_by_name['ActiveClusterInfo'] = _ACTIVECLUSTERINFO +DESCRIPTOR.enum_types_by_name['DomainStatus'] = _DOMAINSTATUS +DESCRIPTOR.enum_types_by_name['ArchivalStatus'] = _ARCHIVALSTATUS +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +Domain = _reflection.GeneratedProtocolMessageType('Domain', (_message.Message,), { + + 'DataEntry' : _reflection.GeneratedProtocolMessageType('DataEntry', (_message.Message,), { + 'DESCRIPTOR' : _DOMAIN_DATAENTRY, + '__module__' : 'uber.cadence.api.v1.domain_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.Domain.DataEntry) + }) + , + 'DESCRIPTOR' : _DOMAIN, + '__module__' : 'uber.cadence.api.v1.domain_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.Domain) + }) +_sym_db.RegisterMessage(Domain) +_sym_db.RegisterMessage(Domain.DataEntry) + +ClusterReplicationConfiguration = _reflection.GeneratedProtocolMessageType('ClusterReplicationConfiguration', (_message.Message,), { + 'DESCRIPTOR' : _CLUSTERREPLICATIONCONFIGURATION, + '__module__' : 'uber.cadence.api.v1.domain_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ClusterReplicationConfiguration) + }) +_sym_db.RegisterMessage(ClusterReplicationConfiguration) + +BadBinaries = _reflection.GeneratedProtocolMessageType('BadBinaries', (_message.Message,), { + + 'BinariesEntry' : _reflection.GeneratedProtocolMessageType('BinariesEntry', (_message.Message,), { + 'DESCRIPTOR' : _BADBINARIES_BINARIESENTRY, + '__module__' : 'uber.cadence.api.v1.domain_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.BadBinaries.BinariesEntry) + }) + , + 'DESCRIPTOR' : _BADBINARIES, + '__module__' : 'uber.cadence.api.v1.domain_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.BadBinaries) + }) +_sym_db.RegisterMessage(BadBinaries) +_sym_db.RegisterMessage(BadBinaries.BinariesEntry) + +BadBinaryInfo = _reflection.GeneratedProtocolMessageType('BadBinaryInfo', (_message.Message,), { + 'DESCRIPTOR' : _BADBINARYINFO, + '__module__' : 'uber.cadence.api.v1.domain_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.BadBinaryInfo) + }) +_sym_db.RegisterMessage(BadBinaryInfo) + +FailoverInfo = _reflection.GeneratedProtocolMessageType('FailoverInfo', (_message.Message,), { + 'DESCRIPTOR' : _FAILOVERINFO, + '__module__' : 'uber.cadence.api.v1.domain_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.FailoverInfo) + }) +_sym_db.RegisterMessage(FailoverInfo) + +ActiveClusters = _reflection.GeneratedProtocolMessageType('ActiveClusters', (_message.Message,), { + + 'RegionToClusterEntry' : _reflection.GeneratedProtocolMessageType('RegionToClusterEntry', (_message.Message,), { + 'DESCRIPTOR' : _ACTIVECLUSTERS_REGIONTOCLUSTERENTRY, + '__module__' : 'uber.cadence.api.v1.domain_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ActiveClusters.RegionToClusterEntry) + }) + , + 'DESCRIPTOR' : _ACTIVECLUSTERS, + '__module__' : 'uber.cadence.api.v1.domain_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ActiveClusters) + }) +_sym_db.RegisterMessage(ActiveClusters) +_sym_db.RegisterMessage(ActiveClusters.RegionToClusterEntry) + +ActiveClusterInfo = _reflection.GeneratedProtocolMessageType('ActiveClusterInfo', (_message.Message,), { + 'DESCRIPTOR' : _ACTIVECLUSTERINFO, + '__module__' : 'uber.cadence.api.v1.domain_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ActiveClusterInfo) + }) +_sym_db.RegisterMessage(ActiveClusterInfo) + + +DESCRIPTOR._options = None +_DOMAIN_DATAENTRY._options = None +_BADBINARIES_BINARIESENTRY._options = None +_ACTIVECLUSTERS_REGIONTOCLUSTERENTRY._options = None +# @@protoc_insertion_point(module_scope) diff --git a/cadence/shared/api/v1/domain_pb2.pyi b/cadence/shared/api/v1/domain_pb2.pyi new file mode 100644 index 0000000..56f3190 --- /dev/null +++ b/cadence/shared/api/v1/domain_pb2.pyi @@ -0,0 +1,145 @@ +from google.protobuf import duration_pb2 as _duration_pb2 +from google.protobuf import timestamp_pb2 as _timestamp_pb2 +from uber.cadence.api.v1 import common_pb2 as _common_pb2 +from google.protobuf.internal import containers as _containers +from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union + +DESCRIPTOR: _descriptor.FileDescriptor + +class DomainStatus(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = () + DOMAIN_STATUS_INVALID: _ClassVar[DomainStatus] + DOMAIN_STATUS_REGISTERED: _ClassVar[DomainStatus] + DOMAIN_STATUS_DEPRECATED: _ClassVar[DomainStatus] + DOMAIN_STATUS_DELETED: _ClassVar[DomainStatus] + +class ArchivalStatus(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = () + ARCHIVAL_STATUS_INVALID: _ClassVar[ArchivalStatus] + ARCHIVAL_STATUS_DISABLED: _ClassVar[ArchivalStatus] + ARCHIVAL_STATUS_ENABLED: _ClassVar[ArchivalStatus] +DOMAIN_STATUS_INVALID: DomainStatus +DOMAIN_STATUS_REGISTERED: DomainStatus +DOMAIN_STATUS_DEPRECATED: DomainStatus +DOMAIN_STATUS_DELETED: DomainStatus +ARCHIVAL_STATUS_INVALID: ArchivalStatus +ARCHIVAL_STATUS_DISABLED: ArchivalStatus +ARCHIVAL_STATUS_ENABLED: ArchivalStatus + +class Domain(_message.Message): + __slots__ = ("id", "name", "status", "description", "owner_email", "data", "workflow_execution_retention_period", "bad_binaries", "history_archival_status", "history_archival_uri", "visibility_archival_status", "visibility_archival_uri", "active_cluster_name", "clusters", "failover_version", "is_global_domain", "failover_info", "isolation_groups", "async_workflow_config", "active_clusters") + class DataEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: str + def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ... + ID_FIELD_NUMBER: _ClassVar[int] + NAME_FIELD_NUMBER: _ClassVar[int] + STATUS_FIELD_NUMBER: _ClassVar[int] + DESCRIPTION_FIELD_NUMBER: _ClassVar[int] + OWNER_EMAIL_FIELD_NUMBER: _ClassVar[int] + DATA_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_RETENTION_PERIOD_FIELD_NUMBER: _ClassVar[int] + BAD_BINARIES_FIELD_NUMBER: _ClassVar[int] + HISTORY_ARCHIVAL_STATUS_FIELD_NUMBER: _ClassVar[int] + HISTORY_ARCHIVAL_URI_FIELD_NUMBER: _ClassVar[int] + VISIBILITY_ARCHIVAL_STATUS_FIELD_NUMBER: _ClassVar[int] + VISIBILITY_ARCHIVAL_URI_FIELD_NUMBER: _ClassVar[int] + ACTIVE_CLUSTER_NAME_FIELD_NUMBER: _ClassVar[int] + CLUSTERS_FIELD_NUMBER: _ClassVar[int] + FAILOVER_VERSION_FIELD_NUMBER: _ClassVar[int] + IS_GLOBAL_DOMAIN_FIELD_NUMBER: _ClassVar[int] + FAILOVER_INFO_FIELD_NUMBER: _ClassVar[int] + ISOLATION_GROUPS_FIELD_NUMBER: _ClassVar[int] + ASYNC_WORKFLOW_CONFIG_FIELD_NUMBER: _ClassVar[int] + ACTIVE_CLUSTERS_FIELD_NUMBER: _ClassVar[int] + id: str + name: str + status: DomainStatus + description: str + owner_email: str + data: _containers.ScalarMap[str, str] + workflow_execution_retention_period: _duration_pb2.Duration + bad_binaries: BadBinaries + history_archival_status: ArchivalStatus + history_archival_uri: str + visibility_archival_status: ArchivalStatus + visibility_archival_uri: str + active_cluster_name: str + clusters: _containers.RepeatedCompositeFieldContainer[ClusterReplicationConfiguration] + failover_version: int + is_global_domain: bool + failover_info: FailoverInfo + isolation_groups: _common_pb2.IsolationGroupConfiguration + async_workflow_config: _common_pb2.AsyncWorkflowConfiguration + active_clusters: ActiveClusters + def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., status: _Optional[_Union[DomainStatus, str]] = ..., description: _Optional[str] = ..., owner_email: _Optional[str] = ..., data: _Optional[_Mapping[str, str]] = ..., workflow_execution_retention_period: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., bad_binaries: _Optional[_Union[BadBinaries, _Mapping]] = ..., history_archival_status: _Optional[_Union[ArchivalStatus, str]] = ..., history_archival_uri: _Optional[str] = ..., visibility_archival_status: _Optional[_Union[ArchivalStatus, str]] = ..., visibility_archival_uri: _Optional[str] = ..., active_cluster_name: _Optional[str] = ..., clusters: _Optional[_Iterable[_Union[ClusterReplicationConfiguration, _Mapping]]] = ..., failover_version: _Optional[int] = ..., is_global_domain: bool = ..., failover_info: _Optional[_Union[FailoverInfo, _Mapping]] = ..., isolation_groups: _Optional[_Union[_common_pb2.IsolationGroupConfiguration, _Mapping]] = ..., async_workflow_config: _Optional[_Union[_common_pb2.AsyncWorkflowConfiguration, _Mapping]] = ..., active_clusters: _Optional[_Union[ActiveClusters, _Mapping]] = ...) -> None: ... + +class ClusterReplicationConfiguration(_message.Message): + __slots__ = ("cluster_name",) + CLUSTER_NAME_FIELD_NUMBER: _ClassVar[int] + cluster_name: str + def __init__(self, cluster_name: _Optional[str] = ...) -> None: ... + +class BadBinaries(_message.Message): + __slots__ = ("binaries",) + class BinariesEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: BadBinaryInfo + def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[BadBinaryInfo, _Mapping]] = ...) -> None: ... + BINARIES_FIELD_NUMBER: _ClassVar[int] + binaries: _containers.MessageMap[str, BadBinaryInfo] + def __init__(self, binaries: _Optional[_Mapping[str, BadBinaryInfo]] = ...) -> None: ... + +class BadBinaryInfo(_message.Message): + __slots__ = ("reason", "operator", "created_time") + REASON_FIELD_NUMBER: _ClassVar[int] + OPERATOR_FIELD_NUMBER: _ClassVar[int] + CREATED_TIME_FIELD_NUMBER: _ClassVar[int] + reason: str + operator: str + created_time: _timestamp_pb2.Timestamp + def __init__(self, reason: _Optional[str] = ..., operator: _Optional[str] = ..., created_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ... + +class FailoverInfo(_message.Message): + __slots__ = ("failover_version", "failover_start_timestamp", "failover_expire_timestamp", "completed_shard_count", "pending_shards") + FAILOVER_VERSION_FIELD_NUMBER: _ClassVar[int] + FAILOVER_START_TIMESTAMP_FIELD_NUMBER: _ClassVar[int] + FAILOVER_EXPIRE_TIMESTAMP_FIELD_NUMBER: _ClassVar[int] + COMPLETED_SHARD_COUNT_FIELD_NUMBER: _ClassVar[int] + PENDING_SHARDS_FIELD_NUMBER: _ClassVar[int] + failover_version: int + failover_start_timestamp: _timestamp_pb2.Timestamp + failover_expire_timestamp: _timestamp_pb2.Timestamp + completed_shard_count: int + pending_shards: _containers.RepeatedScalarFieldContainer[int] + def __init__(self, failover_version: _Optional[int] = ..., failover_start_timestamp: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., failover_expire_timestamp: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., completed_shard_count: _Optional[int] = ..., pending_shards: _Optional[_Iterable[int]] = ...) -> None: ... + +class ActiveClusters(_message.Message): + __slots__ = ("region_to_cluster",) + class RegionToClusterEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: ActiveClusterInfo + def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[ActiveClusterInfo, _Mapping]] = ...) -> None: ... + REGION_TO_CLUSTER_FIELD_NUMBER: _ClassVar[int] + region_to_cluster: _containers.MessageMap[str, ActiveClusterInfo] + def __init__(self, region_to_cluster: _Optional[_Mapping[str, ActiveClusterInfo]] = ...) -> None: ... + +class ActiveClusterInfo(_message.Message): + __slots__ = ("active_cluster_name", "failover_version") + ACTIVE_CLUSTER_NAME_FIELD_NUMBER: _ClassVar[int] + FAILOVER_VERSION_FIELD_NUMBER: _ClassVar[int] + active_cluster_name: str + failover_version: int + def __init__(self, active_cluster_name: _Optional[str] = ..., failover_version: _Optional[int] = ...) -> None: ... diff --git a/cadence/shared/api/v1/error_pb2.py b/cadence/shared/api/v1/error_pb2.py new file mode 100644 index 0000000..b3d866d --- /dev/null +++ b/cadence/shared/api/v1/error_pb2.py @@ -0,0 +1,525 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: uber/cadence/api/v1/error.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='uber/cadence/api/v1/error.proto', + package='uber.cadence.api.v1', + syntax='proto3', + serialized_options=b'\n\027com.uber.cadence.api.v1B\nErrorProtoP\001Z1github.com/uber/cadence-idl/go/proto/api/v1;apiv1', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n\x1fuber/cadence/api/v1/error.proto\x12\x13uber.cadence.api.v1\"P\n$WorkflowExecutionAlreadyStartedError\x12\x18\n\x10start_request_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\"`\n\x14\x45ntityNotExistsError\x12\x17\n\x0f\x63urrent_cluster\x18\x01 \x01(\t\x12\x16\n\x0e\x61\x63tive_cluster\x18\x02 \x01(\t\x12\x17\n\x0f\x61\x63tive_clusters\x18\x03 \x03(\t\"(\n&WorkflowExecutionAlreadyCompletedError\"p\n\x14\x44omainNotActiveError\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x17\n\x0f\x63urrent_cluster\x18\x02 \x01(\t\x12\x16\n\x0e\x61\x63tive_cluster\x18\x03 \x01(\t\x12\x17\n\x0f\x61\x63tive_clusters\x18\x04 \x03(\t\"j\n\x1e\x43lientVersionNotSupportedError\x12\x17\n\x0f\x66\x65\x61ture_version\x18\x01 \x01(\t\x12\x13\n\x0b\x63lient_impl\x18\x02 \x01(\t\x12\x1a\n\x12supported_versions\x18\x03 \x01(\t\".\n\x16\x46\x65\x61tureNotEnabledError\x12\x14\n\x0c\x66\x65\x61ture_flag\x18\x01 \x01(\t\"#\n!CancellationAlreadyRequestedError\"\x1a\n\x18\x44omainAlreadyExistsError\"\x14\n\x12LimitExceededError\"\x12\n\x10QueryFailedError\"\"\n\x10ServiceBusyError\x12\x0e\n\x06reason\x18\x01 \x01(\t\"\x1e\n\x1cStickyWorkerUnavailableErrorBZ\n\x17\x63om.uber.cadence.api.v1B\nErrorProtoP\x01Z1github.com/uber/cadence-idl/go/proto/api/v1;apiv1b\x06proto3' +) + + + + +_WORKFLOWEXECUTIONALREADYSTARTEDERROR = _descriptor.Descriptor( + name='WorkflowExecutionAlreadyStartedError', + full_name='uber.cadence.api.v1.WorkflowExecutionAlreadyStartedError', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='start_request_id', full_name='uber.cadence.api.v1.WorkflowExecutionAlreadyStartedError.start_request_id', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='run_id', full_name='uber.cadence.api.v1.WorkflowExecutionAlreadyStartedError.run_id', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=56, + serialized_end=136, +) + + +_ENTITYNOTEXISTSERROR = _descriptor.Descriptor( + name='EntityNotExistsError', + full_name='uber.cadence.api.v1.EntityNotExistsError', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='current_cluster', full_name='uber.cadence.api.v1.EntityNotExistsError.current_cluster', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='active_cluster', full_name='uber.cadence.api.v1.EntityNotExistsError.active_cluster', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='active_clusters', full_name='uber.cadence.api.v1.EntityNotExistsError.active_clusters', index=2, + number=3, type=9, cpp_type=9, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=138, + serialized_end=234, +) + + +_WORKFLOWEXECUTIONALREADYCOMPLETEDERROR = _descriptor.Descriptor( + name='WorkflowExecutionAlreadyCompletedError', + full_name='uber.cadence.api.v1.WorkflowExecutionAlreadyCompletedError', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=236, + serialized_end=276, +) + + +_DOMAINNOTACTIVEERROR = _descriptor.Descriptor( + name='DomainNotActiveError', + full_name='uber.cadence.api.v1.DomainNotActiveError', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.DomainNotActiveError.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='current_cluster', full_name='uber.cadence.api.v1.DomainNotActiveError.current_cluster', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='active_cluster', full_name='uber.cadence.api.v1.DomainNotActiveError.active_cluster', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='active_clusters', full_name='uber.cadence.api.v1.DomainNotActiveError.active_clusters', index=3, + number=4, type=9, cpp_type=9, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=278, + serialized_end=390, +) + + +_CLIENTVERSIONNOTSUPPORTEDERROR = _descriptor.Descriptor( + name='ClientVersionNotSupportedError', + full_name='uber.cadence.api.v1.ClientVersionNotSupportedError', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='feature_version', full_name='uber.cadence.api.v1.ClientVersionNotSupportedError.feature_version', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='client_impl', full_name='uber.cadence.api.v1.ClientVersionNotSupportedError.client_impl', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='supported_versions', full_name='uber.cadence.api.v1.ClientVersionNotSupportedError.supported_versions', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=392, + serialized_end=498, +) + + +_FEATURENOTENABLEDERROR = _descriptor.Descriptor( + name='FeatureNotEnabledError', + full_name='uber.cadence.api.v1.FeatureNotEnabledError', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='feature_flag', full_name='uber.cadence.api.v1.FeatureNotEnabledError.feature_flag', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=500, + serialized_end=546, +) + + +_CANCELLATIONALREADYREQUESTEDERROR = _descriptor.Descriptor( + name='CancellationAlreadyRequestedError', + full_name='uber.cadence.api.v1.CancellationAlreadyRequestedError', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=548, + serialized_end=583, +) + + +_DOMAINALREADYEXISTSERROR = _descriptor.Descriptor( + name='DomainAlreadyExistsError', + full_name='uber.cadence.api.v1.DomainAlreadyExistsError', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=585, + serialized_end=611, +) + + +_LIMITEXCEEDEDERROR = _descriptor.Descriptor( + name='LimitExceededError', + full_name='uber.cadence.api.v1.LimitExceededError', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=613, + serialized_end=633, +) + + +_QUERYFAILEDERROR = _descriptor.Descriptor( + name='QueryFailedError', + full_name='uber.cadence.api.v1.QueryFailedError', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=635, + serialized_end=653, +) + + +_SERVICEBUSYERROR = _descriptor.Descriptor( + name='ServiceBusyError', + full_name='uber.cadence.api.v1.ServiceBusyError', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='reason', full_name='uber.cadence.api.v1.ServiceBusyError.reason', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=655, + serialized_end=689, +) + + +_STICKYWORKERUNAVAILABLEERROR = _descriptor.Descriptor( + name='StickyWorkerUnavailableError', + full_name='uber.cadence.api.v1.StickyWorkerUnavailableError', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=691, + serialized_end=721, +) + +DESCRIPTOR.message_types_by_name['WorkflowExecutionAlreadyStartedError'] = _WORKFLOWEXECUTIONALREADYSTARTEDERROR +DESCRIPTOR.message_types_by_name['EntityNotExistsError'] = _ENTITYNOTEXISTSERROR +DESCRIPTOR.message_types_by_name['WorkflowExecutionAlreadyCompletedError'] = _WORKFLOWEXECUTIONALREADYCOMPLETEDERROR +DESCRIPTOR.message_types_by_name['DomainNotActiveError'] = _DOMAINNOTACTIVEERROR +DESCRIPTOR.message_types_by_name['ClientVersionNotSupportedError'] = _CLIENTVERSIONNOTSUPPORTEDERROR +DESCRIPTOR.message_types_by_name['FeatureNotEnabledError'] = _FEATURENOTENABLEDERROR +DESCRIPTOR.message_types_by_name['CancellationAlreadyRequestedError'] = _CANCELLATIONALREADYREQUESTEDERROR +DESCRIPTOR.message_types_by_name['DomainAlreadyExistsError'] = _DOMAINALREADYEXISTSERROR +DESCRIPTOR.message_types_by_name['LimitExceededError'] = _LIMITEXCEEDEDERROR +DESCRIPTOR.message_types_by_name['QueryFailedError'] = _QUERYFAILEDERROR +DESCRIPTOR.message_types_by_name['ServiceBusyError'] = _SERVICEBUSYERROR +DESCRIPTOR.message_types_by_name['StickyWorkerUnavailableError'] = _STICKYWORKERUNAVAILABLEERROR +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +WorkflowExecutionAlreadyStartedError = _reflection.GeneratedProtocolMessageType('WorkflowExecutionAlreadyStartedError', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWEXECUTIONALREADYSTARTEDERROR, + '__module__' : 'uber.cadence.api.v1.error_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.WorkflowExecutionAlreadyStartedError) + }) +_sym_db.RegisterMessage(WorkflowExecutionAlreadyStartedError) + +EntityNotExistsError = _reflection.GeneratedProtocolMessageType('EntityNotExistsError', (_message.Message,), { + 'DESCRIPTOR' : _ENTITYNOTEXISTSERROR, + '__module__' : 'uber.cadence.api.v1.error_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.EntityNotExistsError) + }) +_sym_db.RegisterMessage(EntityNotExistsError) + +WorkflowExecutionAlreadyCompletedError = _reflection.GeneratedProtocolMessageType('WorkflowExecutionAlreadyCompletedError', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWEXECUTIONALREADYCOMPLETEDERROR, + '__module__' : 'uber.cadence.api.v1.error_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.WorkflowExecutionAlreadyCompletedError) + }) +_sym_db.RegisterMessage(WorkflowExecutionAlreadyCompletedError) + +DomainNotActiveError = _reflection.GeneratedProtocolMessageType('DomainNotActiveError', (_message.Message,), { + 'DESCRIPTOR' : _DOMAINNOTACTIVEERROR, + '__module__' : 'uber.cadence.api.v1.error_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.DomainNotActiveError) + }) +_sym_db.RegisterMessage(DomainNotActiveError) + +ClientVersionNotSupportedError = _reflection.GeneratedProtocolMessageType('ClientVersionNotSupportedError', (_message.Message,), { + 'DESCRIPTOR' : _CLIENTVERSIONNOTSUPPORTEDERROR, + '__module__' : 'uber.cadence.api.v1.error_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ClientVersionNotSupportedError) + }) +_sym_db.RegisterMessage(ClientVersionNotSupportedError) + +FeatureNotEnabledError = _reflection.GeneratedProtocolMessageType('FeatureNotEnabledError', (_message.Message,), { + 'DESCRIPTOR' : _FEATURENOTENABLEDERROR, + '__module__' : 'uber.cadence.api.v1.error_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.FeatureNotEnabledError) + }) +_sym_db.RegisterMessage(FeatureNotEnabledError) + +CancellationAlreadyRequestedError = _reflection.GeneratedProtocolMessageType('CancellationAlreadyRequestedError', (_message.Message,), { + 'DESCRIPTOR' : _CANCELLATIONALREADYREQUESTEDERROR, + '__module__' : 'uber.cadence.api.v1.error_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.CancellationAlreadyRequestedError) + }) +_sym_db.RegisterMessage(CancellationAlreadyRequestedError) + +DomainAlreadyExistsError = _reflection.GeneratedProtocolMessageType('DomainAlreadyExistsError', (_message.Message,), { + 'DESCRIPTOR' : _DOMAINALREADYEXISTSERROR, + '__module__' : 'uber.cadence.api.v1.error_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.DomainAlreadyExistsError) + }) +_sym_db.RegisterMessage(DomainAlreadyExistsError) + +LimitExceededError = _reflection.GeneratedProtocolMessageType('LimitExceededError', (_message.Message,), { + 'DESCRIPTOR' : _LIMITEXCEEDEDERROR, + '__module__' : 'uber.cadence.api.v1.error_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.LimitExceededError) + }) +_sym_db.RegisterMessage(LimitExceededError) + +QueryFailedError = _reflection.GeneratedProtocolMessageType('QueryFailedError', (_message.Message,), { + 'DESCRIPTOR' : _QUERYFAILEDERROR, + '__module__' : 'uber.cadence.api.v1.error_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.QueryFailedError) + }) +_sym_db.RegisterMessage(QueryFailedError) + +ServiceBusyError = _reflection.GeneratedProtocolMessageType('ServiceBusyError', (_message.Message,), { + 'DESCRIPTOR' : _SERVICEBUSYERROR, + '__module__' : 'uber.cadence.api.v1.error_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ServiceBusyError) + }) +_sym_db.RegisterMessage(ServiceBusyError) + +StickyWorkerUnavailableError = _reflection.GeneratedProtocolMessageType('StickyWorkerUnavailableError', (_message.Message,), { + 'DESCRIPTOR' : _STICKYWORKERUNAVAILABLEERROR, + '__module__' : 'uber.cadence.api.v1.error_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.StickyWorkerUnavailableError) + }) +_sym_db.RegisterMessage(StickyWorkerUnavailableError) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/cadence/shared/api/v1/error_pb2.pyi b/cadence/shared/api/v1/error_pb2.pyi new file mode 100644 index 0000000..314c0c3 --- /dev/null +++ b/cadence/shared/api/v1/error_pb2.pyi @@ -0,0 +1,82 @@ +from google.protobuf.internal import containers as _containers +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from typing import ClassVar as _ClassVar, Iterable as _Iterable, Optional as _Optional + +DESCRIPTOR: _descriptor.FileDescriptor + +class WorkflowExecutionAlreadyStartedError(_message.Message): + __slots__ = ("start_request_id", "run_id") + START_REQUEST_ID_FIELD_NUMBER: _ClassVar[int] + RUN_ID_FIELD_NUMBER: _ClassVar[int] + start_request_id: str + run_id: str + def __init__(self, start_request_id: _Optional[str] = ..., run_id: _Optional[str] = ...) -> None: ... + +class EntityNotExistsError(_message.Message): + __slots__ = ("current_cluster", "active_cluster", "active_clusters") + CURRENT_CLUSTER_FIELD_NUMBER: _ClassVar[int] + ACTIVE_CLUSTER_FIELD_NUMBER: _ClassVar[int] + ACTIVE_CLUSTERS_FIELD_NUMBER: _ClassVar[int] + current_cluster: str + active_cluster: str + active_clusters: _containers.RepeatedScalarFieldContainer[str] + def __init__(self, current_cluster: _Optional[str] = ..., active_cluster: _Optional[str] = ..., active_clusters: _Optional[_Iterable[str]] = ...) -> None: ... + +class WorkflowExecutionAlreadyCompletedError(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + +class DomainNotActiveError(_message.Message): + __slots__ = ("domain", "current_cluster", "active_cluster", "active_clusters") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + CURRENT_CLUSTER_FIELD_NUMBER: _ClassVar[int] + ACTIVE_CLUSTER_FIELD_NUMBER: _ClassVar[int] + ACTIVE_CLUSTERS_FIELD_NUMBER: _ClassVar[int] + domain: str + current_cluster: str + active_cluster: str + active_clusters: _containers.RepeatedScalarFieldContainer[str] + def __init__(self, domain: _Optional[str] = ..., current_cluster: _Optional[str] = ..., active_cluster: _Optional[str] = ..., active_clusters: _Optional[_Iterable[str]] = ...) -> None: ... + +class ClientVersionNotSupportedError(_message.Message): + __slots__ = ("feature_version", "client_impl", "supported_versions") + FEATURE_VERSION_FIELD_NUMBER: _ClassVar[int] + CLIENT_IMPL_FIELD_NUMBER: _ClassVar[int] + SUPPORTED_VERSIONS_FIELD_NUMBER: _ClassVar[int] + feature_version: str + client_impl: str + supported_versions: str + def __init__(self, feature_version: _Optional[str] = ..., client_impl: _Optional[str] = ..., supported_versions: _Optional[str] = ...) -> None: ... + +class FeatureNotEnabledError(_message.Message): + __slots__ = ("feature_flag",) + FEATURE_FLAG_FIELD_NUMBER: _ClassVar[int] + feature_flag: str + def __init__(self, feature_flag: _Optional[str] = ...) -> None: ... + +class CancellationAlreadyRequestedError(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + +class DomainAlreadyExistsError(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + +class LimitExceededError(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + +class QueryFailedError(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + +class ServiceBusyError(_message.Message): + __slots__ = ("reason",) + REASON_FIELD_NUMBER: _ClassVar[int] + reason: str + def __init__(self, reason: _Optional[str] = ...) -> None: ... + +class StickyWorkerUnavailableError(_message.Message): + __slots__ = () + def __init__(self) -> None: ... diff --git a/cadence/shared/api/v1/history_pb2.py b/cadence/shared/api/v1/history_pb2.py new file mode 100644 index 0000000..7188892 --- /dev/null +++ b/cadence/shared/api/v1/history_pb2.py @@ -0,0 +1,3873 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: uber/cadence/api/v1/history.proto +"""Generated protocol buffer code.""" +from google.protobuf.internal import enum_type_wrapper +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from uber.cadence.api.v1 import common_pb2 as uber_dot_cadence_dot_api_dot_v1_dot_common__pb2 +from uber.cadence.api.v1 import tasklist_pb2 as uber_dot_cadence_dot_api_dot_v1_dot_tasklist__pb2 +from uber.cadence.api.v1 import workflow_pb2 as uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='uber/cadence/api/v1/history.proto', + package='uber.cadence.api.v1', + syntax='proto3', + serialized_options=b'\n\027com.uber.cadence.api.v1B\014HistoryProtoP\001Z1github.com/uber/cadence-idl/go/proto/api/v1;apiv1', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n!uber/cadence/api/v1/history.proto\x12\x13uber.cadence.api.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a uber/cadence/api/v1/common.proto\x1a\"uber/cadence/api/v1/tasklist.proto\x1a\"uber/cadence/api/v1/workflow.proto\"<\n\x07History\x12\x31\n\x06\x65vents\x18\x01 \x03(\x0b\x32!.uber.cadence.api.v1.HistoryEvent\"\x98)\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\x0f\n\x07version\x18\x03 \x01(\x03\x12\x0f\n\x07task_id\x18\x04 \x01(\x03\x12s\n+workflow_execution_started_event_attributes\x18\x05 \x01(\x0b\x32<.uber.cadence.api.v1.WorkflowExecutionStartedEventAttributesH\x00\x12w\n-workflow_execution_completed_event_attributes\x18\x06 \x01(\x0b\x32>.uber.cadence.api.v1.WorkflowExecutionCompletedEventAttributesH\x00\x12q\n*workflow_execution_failed_event_attributes\x18\x07 \x01(\x0b\x32;.uber.cadence.api.v1.WorkflowExecutionFailedEventAttributesH\x00\x12v\n-workflow_execution_timed_out_event_attributes\x18\x08 \x01(\x0b\x32=.uber.cadence.api.v1.WorkflowExecutionTimedOutEventAttributesH\x00\x12m\n(decision_task_scheduled_event_attributes\x18\t \x01(\x0b\x32\x39.uber.cadence.api.v1.DecisionTaskScheduledEventAttributesH\x00\x12i\n&decision_task_started_event_attributes\x18\n \x01(\x0b\x32\x37.uber.cadence.api.v1.DecisionTaskStartedEventAttributesH\x00\x12m\n(decision_task_completed_event_attributes\x18\x0b \x01(\x0b\x32\x39.uber.cadence.api.v1.DecisionTaskCompletedEventAttributesH\x00\x12l\n(decision_task_timed_out_event_attributes\x18\x0c \x01(\x0b\x32\x38.uber.cadence.api.v1.DecisionTaskTimedOutEventAttributesH\x00\x12g\n%decision_task_failed_event_attributes\x18\r \x01(\x0b\x32\x36.uber.cadence.api.v1.DecisionTaskFailedEventAttributesH\x00\x12m\n(activity_task_scheduled_event_attributes\x18\x0e \x01(\x0b\x32\x39.uber.cadence.api.v1.ActivityTaskScheduledEventAttributesH\x00\x12i\n&activity_task_started_event_attributes\x18\x0f \x01(\x0b\x32\x37.uber.cadence.api.v1.ActivityTaskStartedEventAttributesH\x00\x12m\n(activity_task_completed_event_attributes\x18\x10 \x01(\x0b\x32\x39.uber.cadence.api.v1.ActivityTaskCompletedEventAttributesH\x00\x12g\n%activity_task_failed_event_attributes\x18\x11 \x01(\x0b\x32\x36.uber.cadence.api.v1.ActivityTaskFailedEventAttributesH\x00\x12l\n(activity_task_timed_out_event_attributes\x18\x12 \x01(\x0b\x32\x38.uber.cadence.api.v1.ActivityTaskTimedOutEventAttributesH\x00\x12Z\n\x1etimer_started_event_attributes\x18\x13 \x01(\x0b\x32\x30.uber.cadence.api.v1.TimerStartedEventAttributesH\x00\x12V\n\x1ctimer_fired_event_attributes\x18\x14 \x01(\x0b\x32..uber.cadence.api.v1.TimerFiredEventAttributesH\x00\x12z\n/activity_task_cancel_requested_event_attributes\x18\x15 \x01(\x0b\x32?.uber.cadence.api.v1.ActivityTaskCancelRequestedEventAttributesH\x00\x12\x83\x01\n4request_cancel_activity_task_failed_event_attributes\x18\x16 \x01(\x0b\x32\x43.uber.cadence.api.v1.RequestCancelActivityTaskFailedEventAttributesH\x00\x12k\n\'activity_task_canceled_event_attributes\x18\x17 \x01(\x0b\x32\x38.uber.cadence.api.v1.ActivityTaskCanceledEventAttributesH\x00\x12\\\n\x1ftimer_canceled_event_attributes\x18\x18 \x01(\x0b\x32\x31.uber.cadence.api.v1.TimerCanceledEventAttributesH\x00\x12\x65\n$cancel_timer_failed_event_attributes\x18\x19 \x01(\x0b\x32\x35.uber.cadence.api.v1.CancelTimerFailedEventAttributesH\x00\x12^\n marker_recorded_event_attributes\x18\x1a \x01(\x0b\x32\x32.uber.cadence.api.v1.MarkerRecordedEventAttributesH\x00\x12u\n,workflow_execution_signaled_event_attributes\x18\x1b \x01(\x0b\x32=.uber.cadence.api.v1.WorkflowExecutionSignaledEventAttributesH\x00\x12y\n.workflow_execution_terminated_event_attributes\x18\x1c \x01(\x0b\x32?.uber.cadence.api.v1.WorkflowExecutionTerminatedEventAttributesH\x00\x12\x84\x01\n4workflow_execution_cancel_requested_event_attributes\x18\x1d \x01(\x0b\x32\x44.uber.cadence.api.v1.WorkflowExecutionCancelRequestedEventAttributesH\x00\x12u\n,workflow_execution_canceled_event_attributes\x18\x1e \x01(\x0b\x32=.uber.cadence.api.v1.WorkflowExecutionCanceledEventAttributesH\x00\x12\xa4\x01\nErequest_cancel_external_workflow_execution_initiated_event_attributes\x18\x1f \x01(\x0b\x32S.uber.cadence.api.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributesH\x00\x12\x9e\x01\nBrequest_cancel_external_workflow_execution_failed_event_attributes\x18 \x01(\x0b\x32P.uber.cadence.api.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributesH\x00\x12\x95\x01\n=external_workflow_execution_cancel_requested_event_attributes\x18! \x01(\x0b\x32L.uber.cadence.api.v1.ExternalWorkflowExecutionCancelRequestedEventAttributesH\x00\x12\x83\x01\n4workflow_execution_continued_as_new_event_attributes\x18\" \x01(\x0b\x32\x43.uber.cadence.api.v1.WorkflowExecutionContinuedAsNewEventAttributesH\x00\x12\x8d\x01\n9start_child_workflow_execution_initiated_event_attributes\x18# \x01(\x0b\x32H.uber.cadence.api.v1.StartChildWorkflowExecutionInitiatedEventAttributesH\x00\x12\x87\x01\n6start_child_workflow_execution_failed_event_attributes\x18$ \x01(\x0b\x32\x45.uber.cadence.api.v1.StartChildWorkflowExecutionFailedEventAttributesH\x00\x12~\n1child_workflow_execution_started_event_attributes\x18% \x01(\x0b\x32\x41.uber.cadence.api.v1.ChildWorkflowExecutionStartedEventAttributesH\x00\x12\x82\x01\n3child_workflow_execution_completed_event_attributes\x18& \x01(\x0b\x32\x43.uber.cadence.api.v1.ChildWorkflowExecutionCompletedEventAttributesH\x00\x12|\n0child_workflow_execution_failed_event_attributes\x18\' \x01(\x0b\x32@.uber.cadence.api.v1.ChildWorkflowExecutionFailedEventAttributesH\x00\x12\x80\x01\n2child_workflow_execution_canceled_event_attributes\x18( \x01(\x0b\x32\x42.uber.cadence.api.v1.ChildWorkflowExecutionCanceledEventAttributesH\x00\x12\x81\x01\n3child_workflow_execution_timed_out_event_attributes\x18) \x01(\x0b\x32\x42.uber.cadence.api.v1.ChildWorkflowExecutionTimedOutEventAttributesH\x00\x12\x84\x01\n4child_workflow_execution_terminated_event_attributes\x18* \x01(\x0b\x32\x44.uber.cadence.api.v1.ChildWorkflowExecutionTerminatedEventAttributesH\x00\x12\x95\x01\n=signal_external_workflow_execution_initiated_event_attributes\x18+ \x01(\x0b\x32L.uber.cadence.api.v1.SignalExternalWorkflowExecutionInitiatedEventAttributesH\x00\x12\x8f\x01\n:signal_external_workflow_execution_failed_event_attributes\x18, \x01(\x0b\x32I.uber.cadence.api.v1.SignalExternalWorkflowExecutionFailedEventAttributesH\x00\x12\x86\x01\n5external_workflow_execution_signaled_event_attributes\x18- \x01(\x0b\x32\x45.uber.cadence.api.v1.ExternalWorkflowExecutionSignaledEventAttributesH\x00\x12\x80\x01\n2upsert_workflow_search_attributes_event_attributes\x18. \x01(\x0b\x32\x42.uber.cadence.api.v1.UpsertWorkflowSearchAttributesEventAttributesH\x00\x42\x0c\n\nattributes\"\x83\x0c\n\'WorkflowExecutionStartedEventAttributes\x12\x38\n\rworkflow_type\x18\x01 \x01(\x0b\x32!.uber.cadence.api.v1.WorkflowType\x12G\n\x15parent_execution_info\x18\x02 \x01(\x0b\x32(.uber.cadence.api.v1.ParentExecutionInfo\x12\x30\n\ttask_list\x18\x03 \x01(\x0b\x32\x1d.uber.cadence.api.v1.TaskList\x12+\n\x05input\x18\x04 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12\x43\n execution_start_to_close_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12>\n\x1btask_start_to_close_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\"\n\x1a\x63ontinued_execution_run_id\x18\x07 \x01(\t\x12>\n\tinitiator\x18\x08 \x01(\x0e\x32+.uber.cadence.api.v1.ContinueAsNewInitiator\x12\x37\n\x11\x63ontinued_failure\x18\t \x01(\x0b\x32\x1c.uber.cadence.api.v1.Failure\x12<\n\x16last_completion_result\x18\n \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12!\n\x19original_execution_run_id\x18\x0b \x01(\t\x12\x10\n\x08identity\x18\x0c \x01(\t\x12\x1e\n\x16\x66irst_execution_run_id\x18\r \x01(\t\x12\x36\n\x0cretry_policy\x18\x0e \x01(\x0b\x32 .uber.cadence.api.v1.RetryPolicy\x12\x0f\n\x07\x61ttempt\x18\x0f \x01(\x05\x12\x33\n\x0f\x65xpiration_time\x18\x10 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x15\n\rcron_schedule\x18\x11 \x01(\t\x12>\n\x1b\x66irst_decision_task_backoff\x18\x12 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\'\n\x04memo\x18\x13 \x01(\x0b\x32\x19.uber.cadence.api.v1.Memo\x12@\n\x11search_attributes\x18\x14 \x01(\x0b\x32%.uber.cadence.api.v1.SearchAttributes\x12@\n\x16prev_auto_reset_points\x18\x15 \x01(\x0b\x32 .uber.cadence.api.v1.ResetPoints\x12+\n\x06header\x18\x16 \x01(\x0b\x32\x1b.uber.cadence.api.v1.Header\x12\x38\n\x14\x66irst_scheduled_time\x18\x17 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12k\n\x10partition_config\x18\x18 \x03(\x0b\x32Q.uber.cadence.api.v1.WorkflowExecutionStartedEventAttributes.PartitionConfigEntry\x12\x12\n\nrequest_id\x18\x19 \x01(\t\x12\x43\n\x13\x63ron_overlap_policy\x18\x1a \x01(\x0e\x32&.uber.cadence.api.v1.CronOverlapPolicy\x12Z\n\x1f\x61\x63tive_cluster_selection_policy\x18\x1b \x01(\x0b\x32\x31.uber.cadence.api.v1.ActiveClusterSelectionPolicy\x1a\x36\n\x14PartitionConfigEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x83\x01\n)WorkflowExecutionCompletedEventAttributes\x12,\n\x06result\x18\x01 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12(\n decision_task_completed_event_id\x18\x02 \x01(\x03\"\x81\x01\n&WorkflowExecutionFailedEventAttributes\x12-\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Failure\x12(\n decision_task_completed_event_id\x18\x02 \x01(\x03\"b\n(WorkflowExecutionTimedOutEventAttributes\x12\x36\n\x0ctimeout_type\x18\x01 \x01(\x0e\x32 .uber.cadence.api.v1.TimeoutType\"\xa4\x01\n$DecisionTaskScheduledEventAttributes\x12\x30\n\ttask_list\x18\x01 \x01(\x0b\x32\x1d.uber.cadence.api.v1.TaskList\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\"f\n\"DecisionTaskStartedEventAttributes\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\"\xa2\x01\n$DecisionTaskCompletedEventAttributes\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\x17\n\x0f\x62inary_checksum\x18\x04 \x01(\t\x12\x19\n\x11\x65xecution_context\x18\x05 \x01(\x0c\"\xbb\x02\n#DecisionTaskTimedOutEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12\x36\n\x0ctimeout_type\x18\x03 \x01(\x0e\x32 .uber.cadence.api.v1.TimeoutType\x12\x13\n\x0b\x62\x61se_run_id\x18\x04 \x01(\t\x12\x12\n\nnew_run_id\x18\x05 \x01(\t\x12\x1a\n\x12\x66ork_event_version\x18\x06 \x01(\x03\x12\x0e\n\x06reason\x18\x07 \x01(\t\x12=\n\x05\x63\x61use\x18\x08 \x01(\x0e\x32..uber.cadence.api.v1.DecisionTaskTimedOutCause\x12\x12\n\nrequest_id\x18\t \x01(\t\"\xc9\x02\n!DecisionTaskFailedEventAttributes\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,.uber.cadence.api.v1.DecisionTaskFailedCause\x12-\n\x07\x66\x61ilure\x18\x04 \x01(\x0b\x32\x1c.uber.cadence.api.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\x17\n\x0f\x62inary_checksum\x18\t \x01(\t\x12\x12\n\nrequest_id\x18\n \x01(\t\"\xe0\x04\n$ActivityTaskScheduledEventAttributes\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12\x38\n\ractivity_type\x18\x02 \x01(\x0b\x32!.uber.cadence.api.v1.ActivityType\x12\x0e\n\x06\x64omain\x18\x03 \x01(\t\x12\x30\n\ttask_list\x18\x04 \x01(\x0b\x32\x1d.uber.cadence.api.v1.TaskList\x12+\n\x05input\x18\x06 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\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 decision_task_completed_event_id\x18\x0b \x01(\x03\x12\x36\n\x0cretry_policy\x18\x0c \x01(\x0b\x32 .uber.cadence.api.v1.RetryPolicy\x12+\n\x06header\x18\r \x01(\x0b\x32\x1b.uber.cadence.api.v1.Header\"\xab\x01\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\x32\n\x0clast_failure\x18\x05 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Failure\"\x9c\x01\n$ActivityTaskCompletedEventAttributes\x12,\n\x06result\x18\x01 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\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\"\x9a\x01\n!ActivityTaskFailedEventAttributes\x12-\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32\x1c.uber.cadence.api.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\"\xf6\x01\n#ActivityTaskTimedOutEventAttributes\x12-\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12\x1a\n\x12scheduled_event_id\x18\x02 \x01(\x03\x12\x18\n\x10started_event_id\x18\x03 \x01(\x03\x12\x36\n\x0ctimeout_type\x18\x04 \x01(\x0e\x32 .uber.cadence.api.v1.TimeoutType\x12\x32\n\x0clast_failure\x18\x05 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Failure\"k\n*ActivityTaskCancelRequestedEventAttributes\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12(\n decision_task_completed_event_id\x18\x02 \x01(\x03\"~\n.RequestCancelActivityTaskFailedEventAttributes\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12\r\n\x05\x63\x61use\x18\x02 \x01(\t\x12(\n decision_task_completed_event_id\x18\x03 \x01(\x03\"\xc6\x01\n#ActivityTaskCanceledEventAttributes\x12-\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\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\"\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 decision_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 decision_task_completed_event_id\x18\x03 \x01(\x03\x12\x10\n\x08identity\x18\x04 \x01(\t\"\x7f\n CancelTimerFailedEventAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\x12\r\n\x05\x63\x61use\x18\x02 \x01(\t\x12(\n decision_task_completed_event_id\x18\x03 \x01(\x03\x12\x10\n\x08identity\x18\x04 \x01(\t\"\x96\x06\n.WorkflowExecutionContinuedAsNewEventAttributes\x12\x1c\n\x14new_execution_run_id\x18\x01 \x01(\t\x12\x38\n\rworkflow_type\x18\x02 \x01(\x0b\x32!.uber.cadence.api.v1.WorkflowType\x12\x30\n\ttask_list\x18\x03 \x01(\x0b\x32\x1d.uber.cadence.api.v1.TaskList\x12+\n\x05input\x18\x04 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12\x43\n execution_start_to_close_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12>\n\x1btask_start_to_close_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12(\n decision_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+.uber.cadence.api.v1.ContinueAsNewInitiator\x12-\n\x07\x66\x61ilure\x18\n \x01(\x0b\x32\x1c.uber.cadence.api.v1.Failure\x12<\n\x16last_completion_result\x18\x0b \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12+\n\x06header\x18\x0c \x01(\x0b\x32\x1b.uber.cadence.api.v1.Header\x12\'\n\x04memo\x18\r \x01(\x0b\x32\x19.uber.cadence.api.v1.Memo\x12@\n\x11search_attributes\x18\x0e \x01(\x0b\x32%.uber.cadence.api.v1.SearchAttributes\"\xb3\x01\n/WorkflowExecutionCancelRequestedEventAttributes\x12\r\n\x05\x63\x61use\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12K\n\x17\x65xternal_execution_info\x18\x03 \x01(\x0b\x32*.uber.cadence.api.v1.ExternalExecutionInfo\x12\x12\n\nrequest_id\x18\x04 \x01(\t\"\x83\x01\n(WorkflowExecutionCanceledEventAttributes\x12(\n decision_task_completed_event_id\x18\x01 \x01(\x03\x12-\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\"\xba\x01\n\x1dMarkerRecordedEventAttributes\x12\x13\n\x0bmarker_name\x18\x01 \x01(\t\x12-\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12(\n decision_task_completed_event_id\x18\x03 \x01(\x03\x12+\n\x06header\x18\x04 \x01(\x0b\x32\x1b.uber.cadence.api.v1.Header\"\x92\x01\n(WorkflowExecutionSignaledEventAttributes\x12\x13\n\x0bsignal_name\x18\x01 \x01(\t\x12+\n\x05input\x18\x02 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x12\n\nrequest_id\x18\x04 \x01(\t\"}\n*WorkflowExecutionTerminatedEventAttributes\x12\x0e\n\x06reason\x18\x01 \x01(\t\x12-\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12\x10\n\x08identity\x18\x03 \x01(\t\"\xec\x01\n>RequestCancelExternalWorkflowExecutionInitiatedEventAttributes\x12(\n decision_task_completed_event_id\x18\x01 \x01(\x03\x12\x0e\n\x06\x64omain\x18\x02 \x01(\t\x12\x42\n\x12workflow_execution\x18\x03 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x0f\n\x07\x63ontrol\x18\x04 \x01(\x0c\x12\x1b\n\x13\x63hild_workflow_only\x18\x05 \x01(\x08\"\xb8\x02\n;RequestCancelExternalWorkflowExecutionFailedEventAttributes\x12N\n\x05\x63\x61use\x18\x01 \x01(\x0e\x32?.uber.cadence.api.v1.CancelExternalWorkflowExecutionFailedCause\x12(\n decision_task_completed_event_id\x18\x02 \x01(\x03\x12\x0e\n\x06\x64omain\x18\x03 \x01(\t\x12\x42\n\x12workflow_execution\x18\x04 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x0f\n\x07\x63ontrol\x18\x06 \x01(\x0c\"\xa9\x01\n7ExternalWorkflowExecutionCancelRequestedEventAttributes\x12\x1a\n\x12initiated_event_id\x18\x01 \x01(\x03\x12\x0e\n\x06\x64omain\x18\x02 \x01(\t\x12\x42\n\x12workflow_execution\x18\x03 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\"\xa7\x02\n7SignalExternalWorkflowExecutionInitiatedEventAttributes\x12(\n decision_task_completed_event_id\x18\x01 \x01(\x03\x12\x0e\n\x06\x64omain\x18\x02 \x01(\t\x12\x42\n\x12workflow_execution\x18\x03 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x13\n\x0bsignal_name\x18\x04 \x01(\t\x12+\n\x05input\x18\x05 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12\x0f\n\x07\x63ontrol\x18\x06 \x01(\x0c\x12\x1b\n\x13\x63hild_workflow_only\x18\x07 \x01(\x08\"\xb1\x02\n4SignalExternalWorkflowExecutionFailedEventAttributes\x12N\n\x05\x63\x61use\x18\x01 \x01(\x0e\x32?.uber.cadence.api.v1.SignalExternalWorkflowExecutionFailedCause\x12(\n decision_task_completed_event_id\x18\x02 \x01(\x03\x12\x0e\n\x06\x64omain\x18\x03 \x01(\t\x12\x42\n\x12workflow_execution\x18\x04 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x0f\n\x07\x63ontrol\x18\x06 \x01(\x0c\"\xb3\x01\n0ExternalWorkflowExecutionSignaledEventAttributes\x12\x1a\n\x12initiated_event_id\x18\x01 \x01(\x03\x12\x0e\n\x06\x64omain\x18\x02 \x01(\t\x12\x42\n\x12workflow_execution\x18\x03 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x0f\n\x07\x63ontrol\x18\x04 \x01(\x0c\"\x9b\x01\n-UpsertWorkflowSearchAttributesEventAttributes\x12(\n decision_task_completed_event_id\x18\x01 \x01(\x03\x12@\n\x11search_attributes\x18\x02 \x01(\x0b\x32%.uber.cadence.api.v1.SearchAttributes\"\xe1\x08\n3StartChildWorkflowExecutionInitiatedEventAttributes\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x38\n\rworkflow_type\x18\x03 \x01(\x0b\x32!.uber.cadence.api.v1.WorkflowType\x12\x30\n\ttask_list\x18\x04 \x01(\x0b\x32\x1d.uber.cadence.api.v1.TaskList\x12+\n\x05input\x18\x05 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12\x43\n execution_start_to_close_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12>\n\x1btask_start_to_close_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x43\n\x13parent_close_policy\x18\x08 \x01(\x0e\x32&.uber.cadence.api.v1.ParentClosePolicy\x12\x0f\n\x07\x63ontrol\x18\t \x01(\x0c\x12(\n decision_task_completed_event_id\x18\n \x01(\x03\x12L\n\x18workflow_id_reuse_policy\x18\x0b \x01(\x0e\x32*.uber.cadence.api.v1.WorkflowIdReusePolicy\x12\x36\n\x0cretry_policy\x18\r \x01(\x0b\x32 .uber.cadence.api.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\x0e \x01(\t\x12+\n\x06header\x18\x0f \x01(\x0b\x32\x1b.uber.cadence.api.v1.Header\x12\'\n\x04memo\x18\x10 \x01(\x0b\x32\x19.uber.cadence.api.v1.Memo\x12@\n\x11search_attributes\x18\x11 \x01(\x0b\x32%.uber.cadence.api.v1.SearchAttributes\x12.\n\x0b\x64\x65lay_start\x18\x12 \x01(\x0b\x32\x19.google.protobuf.Duration\x12/\n\x0cjitter_start\x18\x13 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x30\n\x0c\x66irst_run_at\x18\x14 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x43\n\x13\x63ron_overlap_policy\x18\x15 \x01(\x0e\x32&.uber.cadence.api.v1.CronOverlapPolicy\x12Z\n\x1f\x61\x63tive_cluster_selection_policy\x18\x16 \x01(\x0b\x32\x31.uber.cadence.api.v1.ActiveClusterSelectionPolicy\"\xaf\x02\n0StartChildWorkflowExecutionFailedEventAttributes\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x38\n\rworkflow_type\x18\x03 \x01(\x0b\x32!.uber.cadence.api.v1.WorkflowType\x12\x45\n\x05\x63\x61use\x18\x04 \x01(\x0e\x32\x36.uber.cadence.api.v1.ChildWorkflowExecutionFailedCause\x12\x0f\n\x07\x63ontrol\x18\x05 \x01(\x0c\x12\x1a\n\x12initiated_event_id\x18\x06 \x01(\x03\x12(\n decision_task_completed_event_id\x18\x07 \x01(\x03\"\x85\x02\n,ChildWorkflowExecutionStartedEventAttributes\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x42\n\x12workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x38\n\rworkflow_type\x18\x03 \x01(\x0b\x32!.uber.cadence.api.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x04 \x01(\x03\x12+\n\x06header\x18\x05 \x01(\x0b\x32\x1b.uber.cadence.api.v1.Header\"\xa2\x02\n.ChildWorkflowExecutionCompletedEventAttributes\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x42\n\x12workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x38\n\rworkflow_type\x18\x03 \x01(\x0b\x32!.uber.cadence.api.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x04 \x01(\x03\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03\x12,\n\x06result\x18\x06 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\"\xa0\x02\n+ChildWorkflowExecutionFailedEventAttributes\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x42\n\x12workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x38\n\rworkflow_type\x18\x03 \x01(\x0b\x32!.uber.cadence.api.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x04 \x01(\x03\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03\x12-\n\x07\x66\x61ilure\x18\x06 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Failure\"\xa2\x02\n-ChildWorkflowExecutionCanceledEventAttributes\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x42\n\x12workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x38\n\rworkflow_type\x18\x03 \x01(\x0b\x32!.uber.cadence.api.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x04 \x01(\x03\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03\x12-\n\x07\x64\x65tails\x18\x06 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\"\xab\x02\n-ChildWorkflowExecutionTimedOutEventAttributes\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x42\n\x12workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x38\n\rworkflow_type\x18\x03 \x01(\x0b\x32!.uber.cadence.api.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\x0ctimeout_type\x18\x06 \x01(\x0e\x32 .uber.cadence.api.v1.TimeoutType\"\xf5\x01\n/ChildWorkflowExecutionTerminatedEventAttributes\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x42\n\x12workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x38\n\rworkflow_type\x18\x03 \x01(\x0b\x32!.uber.cadence.api.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x04 \x01(\x03\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03*t\n\x0f\x45ventFilterType\x12\x1d\n\x19\x45VENT_FILTER_TYPE_INVALID\x10\x00\x12\x1f\n\x1b\x45VENT_FILTER_TYPE_ALL_EVENT\x10\x01\x12!\n\x1d\x45VENT_FILTER_TYPE_CLOSE_EVENT\x10\x02\x42\\\n\x17\x63om.uber.cadence.api.v1B\x0cHistoryProtoP\x01Z1github.com/uber/cadence-idl/go/proto/api/v1;apiv1b\x06proto3' + , + dependencies=[google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,uber_dot_cadence_dot_api_dot_v1_dot_common__pb2.DESCRIPTOR,uber_dot_cadence_dot_api_dot_v1_dot_tasklist__pb2.DESCRIPTOR,uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2.DESCRIPTOR,]) + +_EVENTFILTERTYPE = _descriptor.EnumDescriptor( + name='EventFilterType', + full_name='uber.cadence.api.v1.EventFilterType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='EVENT_FILTER_TYPE_INVALID', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EVENT_FILTER_TYPE_ALL_EVENT', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EVENT_FILTER_TYPE_CLOSE_EVENT', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=17204, + serialized_end=17320, +) +_sym_db.RegisterEnumDescriptor(_EVENTFILTERTYPE) + +EventFilterType = enum_type_wrapper.EnumTypeWrapper(_EVENTFILTERTYPE) +EVENT_FILTER_TYPE_INVALID = 0 +EVENT_FILTER_TYPE_ALL_EVENT = 1 +EVENT_FILTER_TYPE_CLOSE_EVENT = 2 + + + +_HISTORY = _descriptor.Descriptor( + name='History', + full_name='uber.cadence.api.v1.History', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='events', full_name='uber.cadence.api.v1.History.events', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=229, + serialized_end=289, +) + + +_HISTORYEVENT = _descriptor.Descriptor( + name='HistoryEvent', + full_name='uber.cadence.api.v1.HistoryEvent', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='event_id', full_name='uber.cadence.api.v1.HistoryEvent.event_id', index=0, + number=1, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='event_time', full_name='uber.cadence.api.v1.HistoryEvent.event_time', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='version', full_name='uber.cadence.api.v1.HistoryEvent.version', index=2, + number=3, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='task_id', full_name='uber.cadence.api.v1.HistoryEvent.task_id', index=3, + number=4, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution_started_event_attributes', full_name='uber.cadence.api.v1.HistoryEvent.workflow_execution_started_event_attributes', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution_completed_event_attributes', full_name='uber.cadence.api.v1.HistoryEvent.workflow_execution_completed_event_attributes', index=5, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution_failed_event_attributes', full_name='uber.cadence.api.v1.HistoryEvent.workflow_execution_failed_event_attributes', index=6, + number=7, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution_timed_out_event_attributes', full_name='uber.cadence.api.v1.HistoryEvent.workflow_execution_timed_out_event_attributes', index=7, + number=8, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='decision_task_scheduled_event_attributes', full_name='uber.cadence.api.v1.HistoryEvent.decision_task_scheduled_event_attributes', index=8, + number=9, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='decision_task_started_event_attributes', full_name='uber.cadence.api.v1.HistoryEvent.decision_task_started_event_attributes', index=9, + number=10, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='decision_task_completed_event_attributes', full_name='uber.cadence.api.v1.HistoryEvent.decision_task_completed_event_attributes', index=10, + number=11, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='decision_task_timed_out_event_attributes', full_name='uber.cadence.api.v1.HistoryEvent.decision_task_timed_out_event_attributes', index=11, + number=12, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='decision_task_failed_event_attributes', full_name='uber.cadence.api.v1.HistoryEvent.decision_task_failed_event_attributes', index=12, + number=13, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='activity_task_scheduled_event_attributes', full_name='uber.cadence.api.v1.HistoryEvent.activity_task_scheduled_event_attributes', index=13, + number=14, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='activity_task_started_event_attributes', full_name='uber.cadence.api.v1.HistoryEvent.activity_task_started_event_attributes', index=14, + number=15, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='activity_task_completed_event_attributes', full_name='uber.cadence.api.v1.HistoryEvent.activity_task_completed_event_attributes', index=15, + number=16, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='activity_task_failed_event_attributes', full_name='uber.cadence.api.v1.HistoryEvent.activity_task_failed_event_attributes', index=16, + number=17, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='activity_task_timed_out_event_attributes', full_name='uber.cadence.api.v1.HistoryEvent.activity_task_timed_out_event_attributes', index=17, + number=18, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='timer_started_event_attributes', full_name='uber.cadence.api.v1.HistoryEvent.timer_started_event_attributes', index=18, + number=19, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='timer_fired_event_attributes', full_name='uber.cadence.api.v1.HistoryEvent.timer_fired_event_attributes', index=19, + number=20, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='activity_task_cancel_requested_event_attributes', full_name='uber.cadence.api.v1.HistoryEvent.activity_task_cancel_requested_event_attributes', index=20, + number=21, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='request_cancel_activity_task_failed_event_attributes', full_name='uber.cadence.api.v1.HistoryEvent.request_cancel_activity_task_failed_event_attributes', index=21, + number=22, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='activity_task_canceled_event_attributes', full_name='uber.cadence.api.v1.HistoryEvent.activity_task_canceled_event_attributes', index=22, + number=23, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='timer_canceled_event_attributes', full_name='uber.cadence.api.v1.HistoryEvent.timer_canceled_event_attributes', index=23, + number=24, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cancel_timer_failed_event_attributes', full_name='uber.cadence.api.v1.HistoryEvent.cancel_timer_failed_event_attributes', index=24, + number=25, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='marker_recorded_event_attributes', full_name='uber.cadence.api.v1.HistoryEvent.marker_recorded_event_attributes', index=25, + number=26, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution_signaled_event_attributes', full_name='uber.cadence.api.v1.HistoryEvent.workflow_execution_signaled_event_attributes', index=26, + number=27, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution_terminated_event_attributes', full_name='uber.cadence.api.v1.HistoryEvent.workflow_execution_terminated_event_attributes', index=27, + number=28, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution_cancel_requested_event_attributes', full_name='uber.cadence.api.v1.HistoryEvent.workflow_execution_cancel_requested_event_attributes', index=28, + number=29, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution_canceled_event_attributes', full_name='uber.cadence.api.v1.HistoryEvent.workflow_execution_canceled_event_attributes', index=29, + number=30, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='request_cancel_external_workflow_execution_initiated_event_attributes', full_name='uber.cadence.api.v1.HistoryEvent.request_cancel_external_workflow_execution_initiated_event_attributes', index=30, + number=31, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='request_cancel_external_workflow_execution_failed_event_attributes', full_name='uber.cadence.api.v1.HistoryEvent.request_cancel_external_workflow_execution_failed_event_attributes', index=31, + number=32, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='external_workflow_execution_cancel_requested_event_attributes', full_name='uber.cadence.api.v1.HistoryEvent.external_workflow_execution_cancel_requested_event_attributes', index=32, + number=33, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution_continued_as_new_event_attributes', full_name='uber.cadence.api.v1.HistoryEvent.workflow_execution_continued_as_new_event_attributes', index=33, + number=34, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='start_child_workflow_execution_initiated_event_attributes', full_name='uber.cadence.api.v1.HistoryEvent.start_child_workflow_execution_initiated_event_attributes', index=34, + number=35, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='start_child_workflow_execution_failed_event_attributes', full_name='uber.cadence.api.v1.HistoryEvent.start_child_workflow_execution_failed_event_attributes', index=35, + number=36, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='child_workflow_execution_started_event_attributes', full_name='uber.cadence.api.v1.HistoryEvent.child_workflow_execution_started_event_attributes', index=36, + number=37, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='child_workflow_execution_completed_event_attributes', full_name='uber.cadence.api.v1.HistoryEvent.child_workflow_execution_completed_event_attributes', index=37, + number=38, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='child_workflow_execution_failed_event_attributes', full_name='uber.cadence.api.v1.HistoryEvent.child_workflow_execution_failed_event_attributes', index=38, + number=39, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='child_workflow_execution_canceled_event_attributes', full_name='uber.cadence.api.v1.HistoryEvent.child_workflow_execution_canceled_event_attributes', index=39, + number=40, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='child_workflow_execution_timed_out_event_attributes', full_name='uber.cadence.api.v1.HistoryEvent.child_workflow_execution_timed_out_event_attributes', index=40, + number=41, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='child_workflow_execution_terminated_event_attributes', full_name='uber.cadence.api.v1.HistoryEvent.child_workflow_execution_terminated_event_attributes', index=41, + number=42, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='signal_external_workflow_execution_initiated_event_attributes', full_name='uber.cadence.api.v1.HistoryEvent.signal_external_workflow_execution_initiated_event_attributes', index=42, + number=43, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='signal_external_workflow_execution_failed_event_attributes', full_name='uber.cadence.api.v1.HistoryEvent.signal_external_workflow_execution_failed_event_attributes', index=43, + number=44, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='external_workflow_execution_signaled_event_attributes', full_name='uber.cadence.api.v1.HistoryEvent.external_workflow_execution_signaled_event_attributes', index=44, + number=45, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='upsert_workflow_search_attributes_event_attributes', full_name='uber.cadence.api.v1.HistoryEvent.upsert_workflow_search_attributes_event_attributes', index=45, + number=46, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='attributes', full_name='uber.cadence.api.v1.HistoryEvent.attributes', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=292, + serialized_end=5564, +) + + +_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES_PARTITIONCONFIGENTRY = _descriptor.Descriptor( + name='PartitionConfigEntry', + full_name='uber.cadence.api.v1.WorkflowExecutionStartedEventAttributes.PartitionConfigEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='uber.cadence.api.v1.WorkflowExecutionStartedEventAttributes.PartitionConfigEntry.key', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='value', full_name='uber.cadence.api.v1.WorkflowExecutionStartedEventAttributes.PartitionConfigEntry.value', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'8\001', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=7052, + serialized_end=7106, +) + +_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES = _descriptor.Descriptor( + name='WorkflowExecutionStartedEventAttributes', + full_name='uber.cadence.api.v1.WorkflowExecutionStartedEventAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='workflow_type', full_name='uber.cadence.api.v1.WorkflowExecutionStartedEventAttributes.workflow_type', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='parent_execution_info', full_name='uber.cadence.api.v1.WorkflowExecutionStartedEventAttributes.parent_execution_info', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='task_list', full_name='uber.cadence.api.v1.WorkflowExecutionStartedEventAttributes.task_list', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='input', full_name='uber.cadence.api.v1.WorkflowExecutionStartedEventAttributes.input', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='execution_start_to_close_timeout', full_name='uber.cadence.api.v1.WorkflowExecutionStartedEventAttributes.execution_start_to_close_timeout', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='task_start_to_close_timeout', full_name='uber.cadence.api.v1.WorkflowExecutionStartedEventAttributes.task_start_to_close_timeout', index=5, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='continued_execution_run_id', full_name='uber.cadence.api.v1.WorkflowExecutionStartedEventAttributes.continued_execution_run_id', index=6, + number=7, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='initiator', full_name='uber.cadence.api.v1.WorkflowExecutionStartedEventAttributes.initiator', index=7, + number=8, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='continued_failure', full_name='uber.cadence.api.v1.WorkflowExecutionStartedEventAttributes.continued_failure', index=8, + number=9, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='last_completion_result', full_name='uber.cadence.api.v1.WorkflowExecutionStartedEventAttributes.last_completion_result', index=9, + number=10, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='original_execution_run_id', full_name='uber.cadence.api.v1.WorkflowExecutionStartedEventAttributes.original_execution_run_id', index=10, + number=11, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='identity', full_name='uber.cadence.api.v1.WorkflowExecutionStartedEventAttributes.identity', index=11, + number=12, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='first_execution_run_id', full_name='uber.cadence.api.v1.WorkflowExecutionStartedEventAttributes.first_execution_run_id', index=12, + number=13, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='retry_policy', full_name='uber.cadence.api.v1.WorkflowExecutionStartedEventAttributes.retry_policy', index=13, + number=14, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='attempt', full_name='uber.cadence.api.v1.WorkflowExecutionStartedEventAttributes.attempt', index=14, + number=15, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='expiration_time', full_name='uber.cadence.api.v1.WorkflowExecutionStartedEventAttributes.expiration_time', index=15, + number=16, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cron_schedule', full_name='uber.cadence.api.v1.WorkflowExecutionStartedEventAttributes.cron_schedule', index=16, + number=17, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='first_decision_task_backoff', full_name='uber.cadence.api.v1.WorkflowExecutionStartedEventAttributes.first_decision_task_backoff', index=17, + number=18, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='memo', full_name='uber.cadence.api.v1.WorkflowExecutionStartedEventAttributes.memo', index=18, + number=19, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='search_attributes', full_name='uber.cadence.api.v1.WorkflowExecutionStartedEventAttributes.search_attributes', index=19, + number=20, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='prev_auto_reset_points', full_name='uber.cadence.api.v1.WorkflowExecutionStartedEventAttributes.prev_auto_reset_points', index=20, + number=21, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='header', full_name='uber.cadence.api.v1.WorkflowExecutionStartedEventAttributes.header', index=21, + number=22, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='first_scheduled_time', full_name='uber.cadence.api.v1.WorkflowExecutionStartedEventAttributes.first_scheduled_time', index=22, + number=23, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='partition_config', full_name='uber.cadence.api.v1.WorkflowExecutionStartedEventAttributes.partition_config', index=23, + number=24, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='request_id', full_name='uber.cadence.api.v1.WorkflowExecutionStartedEventAttributes.request_id', index=24, + number=25, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cron_overlap_policy', full_name='uber.cadence.api.v1.WorkflowExecutionStartedEventAttributes.cron_overlap_policy', index=25, + number=26, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='active_cluster_selection_policy', full_name='uber.cadence.api.v1.WorkflowExecutionStartedEventAttributes.active_cluster_selection_policy', index=26, + number=27, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES_PARTITIONCONFIGENTRY, ], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=5567, + serialized_end=7106, +) + + +_WORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES = _descriptor.Descriptor( + name='WorkflowExecutionCompletedEventAttributes', + full_name='uber.cadence.api.v1.WorkflowExecutionCompletedEventAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='result', full_name='uber.cadence.api.v1.WorkflowExecutionCompletedEventAttributes.result', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='decision_task_completed_event_id', full_name='uber.cadence.api.v1.WorkflowExecutionCompletedEventAttributes.decision_task_completed_event_id', index=1, + number=2, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=7109, + serialized_end=7240, +) + + +_WORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES = _descriptor.Descriptor( + name='WorkflowExecutionFailedEventAttributes', + full_name='uber.cadence.api.v1.WorkflowExecutionFailedEventAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='failure', full_name='uber.cadence.api.v1.WorkflowExecutionFailedEventAttributes.failure', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='decision_task_completed_event_id', full_name='uber.cadence.api.v1.WorkflowExecutionFailedEventAttributes.decision_task_completed_event_id', index=1, + number=2, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=7243, + serialized_end=7372, +) + + +_WORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES = _descriptor.Descriptor( + name='WorkflowExecutionTimedOutEventAttributes', + full_name='uber.cadence.api.v1.WorkflowExecutionTimedOutEventAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='timeout_type', full_name='uber.cadence.api.v1.WorkflowExecutionTimedOutEventAttributes.timeout_type', index=0, + number=1, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=7374, + serialized_end=7472, +) + + +_DECISIONTASKSCHEDULEDEVENTATTRIBUTES = _descriptor.Descriptor( + name='DecisionTaskScheduledEventAttributes', + full_name='uber.cadence.api.v1.DecisionTaskScheduledEventAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='task_list', full_name='uber.cadence.api.v1.DecisionTaskScheduledEventAttributes.task_list', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='start_to_close_timeout', full_name='uber.cadence.api.v1.DecisionTaskScheduledEventAttributes.start_to_close_timeout', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='attempt', full_name='uber.cadence.api.v1.DecisionTaskScheduledEventAttributes.attempt', index=2, + number=3, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=7475, + serialized_end=7639, +) + + +_DECISIONTASKSTARTEDEVENTATTRIBUTES = _descriptor.Descriptor( + name='DecisionTaskStartedEventAttributes', + full_name='uber.cadence.api.v1.DecisionTaskStartedEventAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='scheduled_event_id', full_name='uber.cadence.api.v1.DecisionTaskStartedEventAttributes.scheduled_event_id', index=0, + number=1, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='identity', full_name='uber.cadence.api.v1.DecisionTaskStartedEventAttributes.identity', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='request_id', full_name='uber.cadence.api.v1.DecisionTaskStartedEventAttributes.request_id', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=7641, + serialized_end=7743, +) + + +_DECISIONTASKCOMPLETEDEVENTATTRIBUTES = _descriptor.Descriptor( + name='DecisionTaskCompletedEventAttributes', + full_name='uber.cadence.api.v1.DecisionTaskCompletedEventAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='scheduled_event_id', full_name='uber.cadence.api.v1.DecisionTaskCompletedEventAttributes.scheduled_event_id', index=0, + number=1, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='started_event_id', full_name='uber.cadence.api.v1.DecisionTaskCompletedEventAttributes.started_event_id', index=1, + number=2, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='identity', full_name='uber.cadence.api.v1.DecisionTaskCompletedEventAttributes.identity', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='binary_checksum', full_name='uber.cadence.api.v1.DecisionTaskCompletedEventAttributes.binary_checksum', index=3, + number=4, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='execution_context', full_name='uber.cadence.api.v1.DecisionTaskCompletedEventAttributes.execution_context', index=4, + number=5, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=7746, + serialized_end=7908, +) + + +_DECISIONTASKTIMEDOUTEVENTATTRIBUTES = _descriptor.Descriptor( + name='DecisionTaskTimedOutEventAttributes', + full_name='uber.cadence.api.v1.DecisionTaskTimedOutEventAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='scheduled_event_id', full_name='uber.cadence.api.v1.DecisionTaskTimedOutEventAttributes.scheduled_event_id', index=0, + number=1, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='started_event_id', full_name='uber.cadence.api.v1.DecisionTaskTimedOutEventAttributes.started_event_id', index=1, + number=2, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='timeout_type', full_name='uber.cadence.api.v1.DecisionTaskTimedOutEventAttributes.timeout_type', index=2, + number=3, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='base_run_id', full_name='uber.cadence.api.v1.DecisionTaskTimedOutEventAttributes.base_run_id', index=3, + number=4, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='new_run_id', full_name='uber.cadence.api.v1.DecisionTaskTimedOutEventAttributes.new_run_id', index=4, + number=5, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='fork_event_version', full_name='uber.cadence.api.v1.DecisionTaskTimedOutEventAttributes.fork_event_version', index=5, + number=6, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='reason', full_name='uber.cadence.api.v1.DecisionTaskTimedOutEventAttributes.reason', index=6, + number=7, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cause', full_name='uber.cadence.api.v1.DecisionTaskTimedOutEventAttributes.cause', index=7, + number=8, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='request_id', full_name='uber.cadence.api.v1.DecisionTaskTimedOutEventAttributes.request_id', index=8, + number=9, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=7911, + serialized_end=8226, +) + + +_DECISIONTASKFAILEDEVENTATTRIBUTES = _descriptor.Descriptor( + name='DecisionTaskFailedEventAttributes', + full_name='uber.cadence.api.v1.DecisionTaskFailedEventAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='scheduled_event_id', full_name='uber.cadence.api.v1.DecisionTaskFailedEventAttributes.scheduled_event_id', index=0, + number=1, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='started_event_id', full_name='uber.cadence.api.v1.DecisionTaskFailedEventAttributes.started_event_id', index=1, + number=2, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cause', full_name='uber.cadence.api.v1.DecisionTaskFailedEventAttributes.cause', index=2, + number=3, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='failure', full_name='uber.cadence.api.v1.DecisionTaskFailedEventAttributes.failure', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='identity', full_name='uber.cadence.api.v1.DecisionTaskFailedEventAttributes.identity', index=4, + number=5, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='base_run_id', full_name='uber.cadence.api.v1.DecisionTaskFailedEventAttributes.base_run_id', index=5, + number=6, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='new_run_id', full_name='uber.cadence.api.v1.DecisionTaskFailedEventAttributes.new_run_id', index=6, + number=7, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='fork_event_version', full_name='uber.cadence.api.v1.DecisionTaskFailedEventAttributes.fork_event_version', index=7, + number=8, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='binary_checksum', full_name='uber.cadence.api.v1.DecisionTaskFailedEventAttributes.binary_checksum', index=8, + number=9, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='request_id', full_name='uber.cadence.api.v1.DecisionTaskFailedEventAttributes.request_id', index=9, + number=10, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=8229, + serialized_end=8558, +) + + +_ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES = _descriptor.Descriptor( + name='ActivityTaskScheduledEventAttributes', + full_name='uber.cadence.api.v1.ActivityTaskScheduledEventAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='activity_id', full_name='uber.cadence.api.v1.ActivityTaskScheduledEventAttributes.activity_id', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='activity_type', full_name='uber.cadence.api.v1.ActivityTaskScheduledEventAttributes.activity_type', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.ActivityTaskScheduledEventAttributes.domain', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='task_list', full_name='uber.cadence.api.v1.ActivityTaskScheduledEventAttributes.task_list', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='input', full_name='uber.cadence.api.v1.ActivityTaskScheduledEventAttributes.input', index=4, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='schedule_to_close_timeout', full_name='uber.cadence.api.v1.ActivityTaskScheduledEventAttributes.schedule_to_close_timeout', index=5, + number=7, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='schedule_to_start_timeout', full_name='uber.cadence.api.v1.ActivityTaskScheduledEventAttributes.schedule_to_start_timeout', index=6, + number=8, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='start_to_close_timeout', full_name='uber.cadence.api.v1.ActivityTaskScheduledEventAttributes.start_to_close_timeout', index=7, + number=9, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='heartbeat_timeout', full_name='uber.cadence.api.v1.ActivityTaskScheduledEventAttributes.heartbeat_timeout', index=8, + number=10, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='decision_task_completed_event_id', full_name='uber.cadence.api.v1.ActivityTaskScheduledEventAttributes.decision_task_completed_event_id', index=9, + number=11, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='retry_policy', full_name='uber.cadence.api.v1.ActivityTaskScheduledEventAttributes.retry_policy', index=10, + number=12, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='header', full_name='uber.cadence.api.v1.ActivityTaskScheduledEventAttributes.header', index=11, + number=13, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=8561, + serialized_end=9169, +) + + +_ACTIVITYTASKSTARTEDEVENTATTRIBUTES = _descriptor.Descriptor( + name='ActivityTaskStartedEventAttributes', + full_name='uber.cadence.api.v1.ActivityTaskStartedEventAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='scheduled_event_id', full_name='uber.cadence.api.v1.ActivityTaskStartedEventAttributes.scheduled_event_id', index=0, + number=1, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='identity', full_name='uber.cadence.api.v1.ActivityTaskStartedEventAttributes.identity', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='request_id', full_name='uber.cadence.api.v1.ActivityTaskStartedEventAttributes.request_id', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='attempt', full_name='uber.cadence.api.v1.ActivityTaskStartedEventAttributes.attempt', index=3, + number=4, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='last_failure', full_name='uber.cadence.api.v1.ActivityTaskStartedEventAttributes.last_failure', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=9172, + serialized_end=9343, +) + + +_ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES = _descriptor.Descriptor( + name='ActivityTaskCompletedEventAttributes', + full_name='uber.cadence.api.v1.ActivityTaskCompletedEventAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='result', full_name='uber.cadence.api.v1.ActivityTaskCompletedEventAttributes.result', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='scheduled_event_id', full_name='uber.cadence.api.v1.ActivityTaskCompletedEventAttributes.scheduled_event_id', index=1, + number=2, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='started_event_id', full_name='uber.cadence.api.v1.ActivityTaskCompletedEventAttributes.started_event_id', index=2, + number=3, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='identity', full_name='uber.cadence.api.v1.ActivityTaskCompletedEventAttributes.identity', index=3, + number=4, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=9346, + serialized_end=9502, +) + + +_ACTIVITYTASKFAILEDEVENTATTRIBUTES = _descriptor.Descriptor( + name='ActivityTaskFailedEventAttributes', + full_name='uber.cadence.api.v1.ActivityTaskFailedEventAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='failure', full_name='uber.cadence.api.v1.ActivityTaskFailedEventAttributes.failure', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='scheduled_event_id', full_name='uber.cadence.api.v1.ActivityTaskFailedEventAttributes.scheduled_event_id', index=1, + number=2, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='started_event_id', full_name='uber.cadence.api.v1.ActivityTaskFailedEventAttributes.started_event_id', index=2, + number=3, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='identity', full_name='uber.cadence.api.v1.ActivityTaskFailedEventAttributes.identity', index=3, + number=4, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=9505, + serialized_end=9659, +) + + +_ACTIVITYTASKTIMEDOUTEVENTATTRIBUTES = _descriptor.Descriptor( + name='ActivityTaskTimedOutEventAttributes', + full_name='uber.cadence.api.v1.ActivityTaskTimedOutEventAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='details', full_name='uber.cadence.api.v1.ActivityTaskTimedOutEventAttributes.details', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='scheduled_event_id', full_name='uber.cadence.api.v1.ActivityTaskTimedOutEventAttributes.scheduled_event_id', index=1, + number=2, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='started_event_id', full_name='uber.cadence.api.v1.ActivityTaskTimedOutEventAttributes.started_event_id', index=2, + number=3, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='timeout_type', full_name='uber.cadence.api.v1.ActivityTaskTimedOutEventAttributes.timeout_type', index=3, + number=4, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='last_failure', full_name='uber.cadence.api.v1.ActivityTaskTimedOutEventAttributes.last_failure', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=9662, + serialized_end=9908, +) + + +_ACTIVITYTASKCANCELREQUESTEDEVENTATTRIBUTES = _descriptor.Descriptor( + name='ActivityTaskCancelRequestedEventAttributes', + full_name='uber.cadence.api.v1.ActivityTaskCancelRequestedEventAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='activity_id', full_name='uber.cadence.api.v1.ActivityTaskCancelRequestedEventAttributes.activity_id', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='decision_task_completed_event_id', full_name='uber.cadence.api.v1.ActivityTaskCancelRequestedEventAttributes.decision_task_completed_event_id', index=1, + number=2, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=9910, + serialized_end=10017, +) + + +_REQUESTCANCELACTIVITYTASKFAILEDEVENTATTRIBUTES = _descriptor.Descriptor( + name='RequestCancelActivityTaskFailedEventAttributes', + full_name='uber.cadence.api.v1.RequestCancelActivityTaskFailedEventAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='activity_id', full_name='uber.cadence.api.v1.RequestCancelActivityTaskFailedEventAttributes.activity_id', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cause', full_name='uber.cadence.api.v1.RequestCancelActivityTaskFailedEventAttributes.cause', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='decision_task_completed_event_id', full_name='uber.cadence.api.v1.RequestCancelActivityTaskFailedEventAttributes.decision_task_completed_event_id', index=2, + number=3, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=10019, + serialized_end=10145, +) + + +_ACTIVITYTASKCANCELEDEVENTATTRIBUTES = _descriptor.Descriptor( + name='ActivityTaskCanceledEventAttributes', + full_name='uber.cadence.api.v1.ActivityTaskCanceledEventAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='details', full_name='uber.cadence.api.v1.ActivityTaskCanceledEventAttributes.details', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='latest_cancel_requested_event_id', full_name='uber.cadence.api.v1.ActivityTaskCanceledEventAttributes.latest_cancel_requested_event_id', index=1, + number=2, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='scheduled_event_id', full_name='uber.cadence.api.v1.ActivityTaskCanceledEventAttributes.scheduled_event_id', index=2, + number=3, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='started_event_id', full_name='uber.cadence.api.v1.ActivityTaskCanceledEventAttributes.started_event_id', index=3, + number=4, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='identity', full_name='uber.cadence.api.v1.ActivityTaskCanceledEventAttributes.identity', index=4, + number=5, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=10148, + serialized_end=10346, +) + + +_TIMERSTARTEDEVENTATTRIBUTES = _descriptor.Descriptor( + name='TimerStartedEventAttributes', + full_name='uber.cadence.api.v1.TimerStartedEventAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='timer_id', full_name='uber.cadence.api.v1.TimerStartedEventAttributes.timer_id', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='start_to_fire_timeout', full_name='uber.cadence.api.v1.TimerStartedEventAttributes.start_to_fire_timeout', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='decision_task_completed_event_id', full_name='uber.cadence.api.v1.TimerStartedEventAttributes.decision_task_completed_event_id', index=2, + number=3, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=10349, + serialized_end=10496, +) + + +_TIMERFIREDEVENTATTRIBUTES = _descriptor.Descriptor( + name='TimerFiredEventAttributes', + full_name='uber.cadence.api.v1.TimerFiredEventAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='timer_id', full_name='uber.cadence.api.v1.TimerFiredEventAttributes.timer_id', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='started_event_id', full_name='uber.cadence.api.v1.TimerFiredEventAttributes.started_event_id', index=1, + number=2, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=10498, + serialized_end=10569, +) + + +_TIMERCANCELEDEVENTATTRIBUTES = _descriptor.Descriptor( + name='TimerCanceledEventAttributes', + full_name='uber.cadence.api.v1.TimerCanceledEventAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='timer_id', full_name='uber.cadence.api.v1.TimerCanceledEventAttributes.timer_id', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='started_event_id', full_name='uber.cadence.api.v1.TimerCanceledEventAttributes.started_event_id', index=1, + number=2, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='decision_task_completed_event_id', full_name='uber.cadence.api.v1.TimerCanceledEventAttributes.decision_task_completed_event_id', index=2, + number=3, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='identity', full_name='uber.cadence.api.v1.TimerCanceledEventAttributes.identity', index=3, + number=4, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=10572, + serialized_end=10706, +) + + +_CANCELTIMERFAILEDEVENTATTRIBUTES = _descriptor.Descriptor( + name='CancelTimerFailedEventAttributes', + full_name='uber.cadence.api.v1.CancelTimerFailedEventAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='timer_id', full_name='uber.cadence.api.v1.CancelTimerFailedEventAttributes.timer_id', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cause', full_name='uber.cadence.api.v1.CancelTimerFailedEventAttributes.cause', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='decision_task_completed_event_id', full_name='uber.cadence.api.v1.CancelTimerFailedEventAttributes.decision_task_completed_event_id', index=2, + number=3, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='identity', full_name='uber.cadence.api.v1.CancelTimerFailedEventAttributes.identity', index=3, + number=4, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=10708, + serialized_end=10835, +) + + +_WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES = _descriptor.Descriptor( + name='WorkflowExecutionContinuedAsNewEventAttributes', + full_name='uber.cadence.api.v1.WorkflowExecutionContinuedAsNewEventAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='new_execution_run_id', full_name='uber.cadence.api.v1.WorkflowExecutionContinuedAsNewEventAttributes.new_execution_run_id', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_type', full_name='uber.cadence.api.v1.WorkflowExecutionContinuedAsNewEventAttributes.workflow_type', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='task_list', full_name='uber.cadence.api.v1.WorkflowExecutionContinuedAsNewEventAttributes.task_list', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='input', full_name='uber.cadence.api.v1.WorkflowExecutionContinuedAsNewEventAttributes.input', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='execution_start_to_close_timeout', full_name='uber.cadence.api.v1.WorkflowExecutionContinuedAsNewEventAttributes.execution_start_to_close_timeout', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='task_start_to_close_timeout', full_name='uber.cadence.api.v1.WorkflowExecutionContinuedAsNewEventAttributes.task_start_to_close_timeout', index=5, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='decision_task_completed_event_id', full_name='uber.cadence.api.v1.WorkflowExecutionContinuedAsNewEventAttributes.decision_task_completed_event_id', index=6, + number=7, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='backoff_start_interval', full_name='uber.cadence.api.v1.WorkflowExecutionContinuedAsNewEventAttributes.backoff_start_interval', index=7, + number=8, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='initiator', full_name='uber.cadence.api.v1.WorkflowExecutionContinuedAsNewEventAttributes.initiator', index=8, + number=9, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='failure', full_name='uber.cadence.api.v1.WorkflowExecutionContinuedAsNewEventAttributes.failure', index=9, + number=10, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='last_completion_result', full_name='uber.cadence.api.v1.WorkflowExecutionContinuedAsNewEventAttributes.last_completion_result', index=10, + number=11, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='header', full_name='uber.cadence.api.v1.WorkflowExecutionContinuedAsNewEventAttributes.header', index=11, + number=12, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='memo', full_name='uber.cadence.api.v1.WorkflowExecutionContinuedAsNewEventAttributes.memo', index=12, + number=13, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='search_attributes', full_name='uber.cadence.api.v1.WorkflowExecutionContinuedAsNewEventAttributes.search_attributes', index=13, + number=14, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=10838, + serialized_end=11628, +) + + +_WORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES = _descriptor.Descriptor( + name='WorkflowExecutionCancelRequestedEventAttributes', + full_name='uber.cadence.api.v1.WorkflowExecutionCancelRequestedEventAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='cause', full_name='uber.cadence.api.v1.WorkflowExecutionCancelRequestedEventAttributes.cause', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='identity', full_name='uber.cadence.api.v1.WorkflowExecutionCancelRequestedEventAttributes.identity', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='external_execution_info', full_name='uber.cadence.api.v1.WorkflowExecutionCancelRequestedEventAttributes.external_execution_info', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='request_id', full_name='uber.cadence.api.v1.WorkflowExecutionCancelRequestedEventAttributes.request_id', index=3, + number=4, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=11631, + serialized_end=11810, +) + + +_WORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES = _descriptor.Descriptor( + name='WorkflowExecutionCanceledEventAttributes', + full_name='uber.cadence.api.v1.WorkflowExecutionCanceledEventAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='decision_task_completed_event_id', full_name='uber.cadence.api.v1.WorkflowExecutionCanceledEventAttributes.decision_task_completed_event_id', index=0, + number=1, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='details', full_name='uber.cadence.api.v1.WorkflowExecutionCanceledEventAttributes.details', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=11813, + serialized_end=11944, +) + + +_MARKERRECORDEDEVENTATTRIBUTES = _descriptor.Descriptor( + name='MarkerRecordedEventAttributes', + full_name='uber.cadence.api.v1.MarkerRecordedEventAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='marker_name', full_name='uber.cadence.api.v1.MarkerRecordedEventAttributes.marker_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='details', full_name='uber.cadence.api.v1.MarkerRecordedEventAttributes.details', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='decision_task_completed_event_id', full_name='uber.cadence.api.v1.MarkerRecordedEventAttributes.decision_task_completed_event_id', index=2, + number=3, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='header', full_name='uber.cadence.api.v1.MarkerRecordedEventAttributes.header', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=11947, + serialized_end=12133, +) + + +_WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES = _descriptor.Descriptor( + name='WorkflowExecutionSignaledEventAttributes', + full_name='uber.cadence.api.v1.WorkflowExecutionSignaledEventAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='signal_name', full_name='uber.cadence.api.v1.WorkflowExecutionSignaledEventAttributes.signal_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='input', full_name='uber.cadence.api.v1.WorkflowExecutionSignaledEventAttributes.input', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='identity', full_name='uber.cadence.api.v1.WorkflowExecutionSignaledEventAttributes.identity', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='request_id', full_name='uber.cadence.api.v1.WorkflowExecutionSignaledEventAttributes.request_id', index=3, + number=4, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=12136, + serialized_end=12282, +) + + +_WORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES = _descriptor.Descriptor( + name='WorkflowExecutionTerminatedEventAttributes', + full_name='uber.cadence.api.v1.WorkflowExecutionTerminatedEventAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='reason', full_name='uber.cadence.api.v1.WorkflowExecutionTerminatedEventAttributes.reason', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='details', full_name='uber.cadence.api.v1.WorkflowExecutionTerminatedEventAttributes.details', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='identity', full_name='uber.cadence.api.v1.WorkflowExecutionTerminatedEventAttributes.identity', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=12284, + serialized_end=12409, +) + + +_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES = _descriptor.Descriptor( + name='RequestCancelExternalWorkflowExecutionInitiatedEventAttributes', + full_name='uber.cadence.api.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='decision_task_completed_event_id', full_name='uber.cadence.api.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.decision_task_completed_event_id', index=0, + number=1, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.domain', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution', full_name='uber.cadence.api.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.workflow_execution', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='control', full_name='uber.cadence.api.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.control', index=3, + number=4, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='child_workflow_only', full_name='uber.cadence.api.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.child_workflow_only', index=4, + number=5, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=12412, + serialized_end=12648, +) + + +_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES = _descriptor.Descriptor( + name='RequestCancelExternalWorkflowExecutionFailedEventAttributes', + full_name='uber.cadence.api.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='cause', full_name='uber.cadence.api.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes.cause', index=0, + number=1, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='decision_task_completed_event_id', full_name='uber.cadence.api.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes.decision_task_completed_event_id', index=1, + number=2, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes.domain', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution', full_name='uber.cadence.api.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes.workflow_execution', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='initiated_event_id', full_name='uber.cadence.api.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes.initiated_event_id', index=4, + number=5, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='control', full_name='uber.cadence.api.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes.control', index=5, + number=6, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=12651, + serialized_end=12963, +) + + +_EXTERNALWORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES = _descriptor.Descriptor( + name='ExternalWorkflowExecutionCancelRequestedEventAttributes', + full_name='uber.cadence.api.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='initiated_event_id', full_name='uber.cadence.api.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes.initiated_event_id', index=0, + number=1, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes.domain', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution', full_name='uber.cadence.api.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes.workflow_execution', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=12966, + serialized_end=13135, +) + + +_SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES = _descriptor.Descriptor( + name='SignalExternalWorkflowExecutionInitiatedEventAttributes', + full_name='uber.cadence.api.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='decision_task_completed_event_id', full_name='uber.cadence.api.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes.decision_task_completed_event_id', index=0, + number=1, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes.domain', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution', full_name='uber.cadence.api.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes.workflow_execution', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='signal_name', full_name='uber.cadence.api.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes.signal_name', index=3, + number=4, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='input', full_name='uber.cadence.api.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes.input', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='control', full_name='uber.cadence.api.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes.control', index=5, + number=6, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='child_workflow_only', full_name='uber.cadence.api.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes.child_workflow_only', index=6, + number=7, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=13138, + serialized_end=13433, +) + + +_SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES = _descriptor.Descriptor( + name='SignalExternalWorkflowExecutionFailedEventAttributes', + full_name='uber.cadence.api.v1.SignalExternalWorkflowExecutionFailedEventAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='cause', full_name='uber.cadence.api.v1.SignalExternalWorkflowExecutionFailedEventAttributes.cause', index=0, + number=1, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='decision_task_completed_event_id', full_name='uber.cadence.api.v1.SignalExternalWorkflowExecutionFailedEventAttributes.decision_task_completed_event_id', index=1, + number=2, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.SignalExternalWorkflowExecutionFailedEventAttributes.domain', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution', full_name='uber.cadence.api.v1.SignalExternalWorkflowExecutionFailedEventAttributes.workflow_execution', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='initiated_event_id', full_name='uber.cadence.api.v1.SignalExternalWorkflowExecutionFailedEventAttributes.initiated_event_id', index=4, + number=5, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='control', full_name='uber.cadence.api.v1.SignalExternalWorkflowExecutionFailedEventAttributes.control', index=5, + number=6, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=13436, + serialized_end=13741, +) + + +_EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES = _descriptor.Descriptor( + name='ExternalWorkflowExecutionSignaledEventAttributes', + full_name='uber.cadence.api.v1.ExternalWorkflowExecutionSignaledEventAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='initiated_event_id', full_name='uber.cadence.api.v1.ExternalWorkflowExecutionSignaledEventAttributes.initiated_event_id', index=0, + number=1, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.ExternalWorkflowExecutionSignaledEventAttributes.domain', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution', full_name='uber.cadence.api.v1.ExternalWorkflowExecutionSignaledEventAttributes.workflow_execution', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='control', full_name='uber.cadence.api.v1.ExternalWorkflowExecutionSignaledEventAttributes.control', index=3, + number=4, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=13744, + serialized_end=13923, +) + + +_UPSERTWORKFLOWSEARCHATTRIBUTESEVENTATTRIBUTES = _descriptor.Descriptor( + name='UpsertWorkflowSearchAttributesEventAttributes', + full_name='uber.cadence.api.v1.UpsertWorkflowSearchAttributesEventAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='decision_task_completed_event_id', full_name='uber.cadence.api.v1.UpsertWorkflowSearchAttributesEventAttributes.decision_task_completed_event_id', index=0, + number=1, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='search_attributes', full_name='uber.cadence.api.v1.UpsertWorkflowSearchAttributesEventAttributes.search_attributes', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=13926, + serialized_end=14081, +) + + +_STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES = _descriptor.Descriptor( + name='StartChildWorkflowExecutionInitiatedEventAttributes', + full_name='uber.cadence.api.v1.StartChildWorkflowExecutionInitiatedEventAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.StartChildWorkflowExecutionInitiatedEventAttributes.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_id', full_name='uber.cadence.api.v1.StartChildWorkflowExecutionInitiatedEventAttributes.workflow_id', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_type', full_name='uber.cadence.api.v1.StartChildWorkflowExecutionInitiatedEventAttributes.workflow_type', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='task_list', full_name='uber.cadence.api.v1.StartChildWorkflowExecutionInitiatedEventAttributes.task_list', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='input', full_name='uber.cadence.api.v1.StartChildWorkflowExecutionInitiatedEventAttributes.input', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='execution_start_to_close_timeout', full_name='uber.cadence.api.v1.StartChildWorkflowExecutionInitiatedEventAttributes.execution_start_to_close_timeout', index=5, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='task_start_to_close_timeout', full_name='uber.cadence.api.v1.StartChildWorkflowExecutionInitiatedEventAttributes.task_start_to_close_timeout', index=6, + number=7, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='parent_close_policy', full_name='uber.cadence.api.v1.StartChildWorkflowExecutionInitiatedEventAttributes.parent_close_policy', index=7, + number=8, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='control', full_name='uber.cadence.api.v1.StartChildWorkflowExecutionInitiatedEventAttributes.control', index=8, + number=9, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='decision_task_completed_event_id', full_name='uber.cadence.api.v1.StartChildWorkflowExecutionInitiatedEventAttributes.decision_task_completed_event_id', index=9, + number=10, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_id_reuse_policy', full_name='uber.cadence.api.v1.StartChildWorkflowExecutionInitiatedEventAttributes.workflow_id_reuse_policy', index=10, + number=11, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='retry_policy', full_name='uber.cadence.api.v1.StartChildWorkflowExecutionInitiatedEventAttributes.retry_policy', index=11, + number=13, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cron_schedule', full_name='uber.cadence.api.v1.StartChildWorkflowExecutionInitiatedEventAttributes.cron_schedule', index=12, + number=14, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='header', full_name='uber.cadence.api.v1.StartChildWorkflowExecutionInitiatedEventAttributes.header', index=13, + number=15, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='memo', full_name='uber.cadence.api.v1.StartChildWorkflowExecutionInitiatedEventAttributes.memo', index=14, + number=16, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='search_attributes', full_name='uber.cadence.api.v1.StartChildWorkflowExecutionInitiatedEventAttributes.search_attributes', index=15, + number=17, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='delay_start', full_name='uber.cadence.api.v1.StartChildWorkflowExecutionInitiatedEventAttributes.delay_start', index=16, + number=18, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='jitter_start', full_name='uber.cadence.api.v1.StartChildWorkflowExecutionInitiatedEventAttributes.jitter_start', index=17, + number=19, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='first_run_at', full_name='uber.cadence.api.v1.StartChildWorkflowExecutionInitiatedEventAttributes.first_run_at', index=18, + number=20, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cron_overlap_policy', full_name='uber.cadence.api.v1.StartChildWorkflowExecutionInitiatedEventAttributes.cron_overlap_policy', index=19, + number=21, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='active_cluster_selection_policy', full_name='uber.cadence.api.v1.StartChildWorkflowExecutionInitiatedEventAttributes.active_cluster_selection_policy', index=20, + number=22, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=14084, + serialized_end=15205, +) + + +_STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES = _descriptor.Descriptor( + name='StartChildWorkflowExecutionFailedEventAttributes', + full_name='uber.cadence.api.v1.StartChildWorkflowExecutionFailedEventAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.StartChildWorkflowExecutionFailedEventAttributes.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_id', full_name='uber.cadence.api.v1.StartChildWorkflowExecutionFailedEventAttributes.workflow_id', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_type', full_name='uber.cadence.api.v1.StartChildWorkflowExecutionFailedEventAttributes.workflow_type', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cause', full_name='uber.cadence.api.v1.StartChildWorkflowExecutionFailedEventAttributes.cause', index=3, + number=4, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='control', full_name='uber.cadence.api.v1.StartChildWorkflowExecutionFailedEventAttributes.control', index=4, + number=5, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='initiated_event_id', full_name='uber.cadence.api.v1.StartChildWorkflowExecutionFailedEventAttributes.initiated_event_id', index=5, + number=6, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='decision_task_completed_event_id', full_name='uber.cadence.api.v1.StartChildWorkflowExecutionFailedEventAttributes.decision_task_completed_event_id', index=6, + number=7, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=15208, + serialized_end=15511, +) + + +_CHILDWORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES = _descriptor.Descriptor( + name='ChildWorkflowExecutionStartedEventAttributes', + full_name='uber.cadence.api.v1.ChildWorkflowExecutionStartedEventAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.ChildWorkflowExecutionStartedEventAttributes.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution', full_name='uber.cadence.api.v1.ChildWorkflowExecutionStartedEventAttributes.workflow_execution', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_type', full_name='uber.cadence.api.v1.ChildWorkflowExecutionStartedEventAttributes.workflow_type', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='initiated_event_id', full_name='uber.cadence.api.v1.ChildWorkflowExecutionStartedEventAttributes.initiated_event_id', index=3, + number=4, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='header', full_name='uber.cadence.api.v1.ChildWorkflowExecutionStartedEventAttributes.header', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=15514, + serialized_end=15775, +) + + +_CHILDWORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES = _descriptor.Descriptor( + name='ChildWorkflowExecutionCompletedEventAttributes', + full_name='uber.cadence.api.v1.ChildWorkflowExecutionCompletedEventAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.ChildWorkflowExecutionCompletedEventAttributes.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution', full_name='uber.cadence.api.v1.ChildWorkflowExecutionCompletedEventAttributes.workflow_execution', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_type', full_name='uber.cadence.api.v1.ChildWorkflowExecutionCompletedEventAttributes.workflow_type', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='initiated_event_id', full_name='uber.cadence.api.v1.ChildWorkflowExecutionCompletedEventAttributes.initiated_event_id', index=3, + number=4, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='started_event_id', full_name='uber.cadence.api.v1.ChildWorkflowExecutionCompletedEventAttributes.started_event_id', index=4, + number=5, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='result', full_name='uber.cadence.api.v1.ChildWorkflowExecutionCompletedEventAttributes.result', index=5, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=15778, + serialized_end=16068, +) + + +_CHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES = _descriptor.Descriptor( + name='ChildWorkflowExecutionFailedEventAttributes', + full_name='uber.cadence.api.v1.ChildWorkflowExecutionFailedEventAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.ChildWorkflowExecutionFailedEventAttributes.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution', full_name='uber.cadence.api.v1.ChildWorkflowExecutionFailedEventAttributes.workflow_execution', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_type', full_name='uber.cadence.api.v1.ChildWorkflowExecutionFailedEventAttributes.workflow_type', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='initiated_event_id', full_name='uber.cadence.api.v1.ChildWorkflowExecutionFailedEventAttributes.initiated_event_id', index=3, + number=4, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='started_event_id', full_name='uber.cadence.api.v1.ChildWorkflowExecutionFailedEventAttributes.started_event_id', index=4, + number=5, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='failure', full_name='uber.cadence.api.v1.ChildWorkflowExecutionFailedEventAttributes.failure', index=5, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=16071, + serialized_end=16359, +) + + +_CHILDWORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES = _descriptor.Descriptor( + name='ChildWorkflowExecutionCanceledEventAttributes', + full_name='uber.cadence.api.v1.ChildWorkflowExecutionCanceledEventAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.ChildWorkflowExecutionCanceledEventAttributes.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution', full_name='uber.cadence.api.v1.ChildWorkflowExecutionCanceledEventAttributes.workflow_execution', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_type', full_name='uber.cadence.api.v1.ChildWorkflowExecutionCanceledEventAttributes.workflow_type', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='initiated_event_id', full_name='uber.cadence.api.v1.ChildWorkflowExecutionCanceledEventAttributes.initiated_event_id', index=3, + number=4, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='started_event_id', full_name='uber.cadence.api.v1.ChildWorkflowExecutionCanceledEventAttributes.started_event_id', index=4, + number=5, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='details', full_name='uber.cadence.api.v1.ChildWorkflowExecutionCanceledEventAttributes.details', index=5, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=16362, + serialized_end=16652, +) + + +_CHILDWORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES = _descriptor.Descriptor( + name='ChildWorkflowExecutionTimedOutEventAttributes', + full_name='uber.cadence.api.v1.ChildWorkflowExecutionTimedOutEventAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.ChildWorkflowExecutionTimedOutEventAttributes.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution', full_name='uber.cadence.api.v1.ChildWorkflowExecutionTimedOutEventAttributes.workflow_execution', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_type', full_name='uber.cadence.api.v1.ChildWorkflowExecutionTimedOutEventAttributes.workflow_type', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='initiated_event_id', full_name='uber.cadence.api.v1.ChildWorkflowExecutionTimedOutEventAttributes.initiated_event_id', index=3, + number=4, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='started_event_id', full_name='uber.cadence.api.v1.ChildWorkflowExecutionTimedOutEventAttributes.started_event_id', index=4, + number=5, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='timeout_type', full_name='uber.cadence.api.v1.ChildWorkflowExecutionTimedOutEventAttributes.timeout_type', index=5, + number=6, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=16655, + serialized_end=16954, +) + + +_CHILDWORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES = _descriptor.Descriptor( + name='ChildWorkflowExecutionTerminatedEventAttributes', + full_name='uber.cadence.api.v1.ChildWorkflowExecutionTerminatedEventAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.ChildWorkflowExecutionTerminatedEventAttributes.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution', full_name='uber.cadence.api.v1.ChildWorkflowExecutionTerminatedEventAttributes.workflow_execution', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_type', full_name='uber.cadence.api.v1.ChildWorkflowExecutionTerminatedEventAttributes.workflow_type', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='initiated_event_id', full_name='uber.cadence.api.v1.ChildWorkflowExecutionTerminatedEventAttributes.initiated_event_id', index=3, + number=4, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='started_event_id', full_name='uber.cadence.api.v1.ChildWorkflowExecutionTerminatedEventAttributes.started_event_id', index=4, + number=5, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=16957, + serialized_end=17202, +) + +_HISTORY.fields_by_name['events'].message_type = _HISTORYEVENT +_HISTORYEVENT.fields_by_name['event_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_HISTORYEVENT.fields_by_name['workflow_execution_started_event_attributes'].message_type = _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES +_HISTORYEVENT.fields_by_name['workflow_execution_completed_event_attributes'].message_type = _WORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES +_HISTORYEVENT.fields_by_name['workflow_execution_failed_event_attributes'].message_type = _WORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES +_HISTORYEVENT.fields_by_name['workflow_execution_timed_out_event_attributes'].message_type = _WORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES +_HISTORYEVENT.fields_by_name['decision_task_scheduled_event_attributes'].message_type = _DECISIONTASKSCHEDULEDEVENTATTRIBUTES +_HISTORYEVENT.fields_by_name['decision_task_started_event_attributes'].message_type = _DECISIONTASKSTARTEDEVENTATTRIBUTES +_HISTORYEVENT.fields_by_name['decision_task_completed_event_attributes'].message_type = _DECISIONTASKCOMPLETEDEVENTATTRIBUTES +_HISTORYEVENT.fields_by_name['decision_task_timed_out_event_attributes'].message_type = _DECISIONTASKTIMEDOUTEVENTATTRIBUTES +_HISTORYEVENT.fields_by_name['decision_task_failed_event_attributes'].message_type = _DECISIONTASKFAILEDEVENTATTRIBUTES +_HISTORYEVENT.fields_by_name['activity_task_scheduled_event_attributes'].message_type = _ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES +_HISTORYEVENT.fields_by_name['activity_task_started_event_attributes'].message_type = _ACTIVITYTASKSTARTEDEVENTATTRIBUTES +_HISTORYEVENT.fields_by_name['activity_task_completed_event_attributes'].message_type = _ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES +_HISTORYEVENT.fields_by_name['activity_task_failed_event_attributes'].message_type = _ACTIVITYTASKFAILEDEVENTATTRIBUTES +_HISTORYEVENT.fields_by_name['activity_task_timed_out_event_attributes'].message_type = _ACTIVITYTASKTIMEDOUTEVENTATTRIBUTES +_HISTORYEVENT.fields_by_name['timer_started_event_attributes'].message_type = _TIMERSTARTEDEVENTATTRIBUTES +_HISTORYEVENT.fields_by_name['timer_fired_event_attributes'].message_type = _TIMERFIREDEVENTATTRIBUTES +_HISTORYEVENT.fields_by_name['activity_task_cancel_requested_event_attributes'].message_type = _ACTIVITYTASKCANCELREQUESTEDEVENTATTRIBUTES +_HISTORYEVENT.fields_by_name['request_cancel_activity_task_failed_event_attributes'].message_type = _REQUESTCANCELACTIVITYTASKFAILEDEVENTATTRIBUTES +_HISTORYEVENT.fields_by_name['activity_task_canceled_event_attributes'].message_type = _ACTIVITYTASKCANCELEDEVENTATTRIBUTES +_HISTORYEVENT.fields_by_name['timer_canceled_event_attributes'].message_type = _TIMERCANCELEDEVENTATTRIBUTES +_HISTORYEVENT.fields_by_name['cancel_timer_failed_event_attributes'].message_type = _CANCELTIMERFAILEDEVENTATTRIBUTES +_HISTORYEVENT.fields_by_name['marker_recorded_event_attributes'].message_type = _MARKERRECORDEDEVENTATTRIBUTES +_HISTORYEVENT.fields_by_name['workflow_execution_signaled_event_attributes'].message_type = _WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES +_HISTORYEVENT.fields_by_name['workflow_execution_terminated_event_attributes'].message_type = _WORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES +_HISTORYEVENT.fields_by_name['workflow_execution_cancel_requested_event_attributes'].message_type = _WORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES +_HISTORYEVENT.fields_by_name['workflow_execution_canceled_event_attributes'].message_type = _WORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES +_HISTORYEVENT.fields_by_name['request_cancel_external_workflow_execution_initiated_event_attributes'].message_type = _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES +_HISTORYEVENT.fields_by_name['request_cancel_external_workflow_execution_failed_event_attributes'].message_type = _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES +_HISTORYEVENT.fields_by_name['external_workflow_execution_cancel_requested_event_attributes'].message_type = _EXTERNALWORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES +_HISTORYEVENT.fields_by_name['workflow_execution_continued_as_new_event_attributes'].message_type = _WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES +_HISTORYEVENT.fields_by_name['start_child_workflow_execution_initiated_event_attributes'].message_type = _STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES +_HISTORYEVENT.fields_by_name['start_child_workflow_execution_failed_event_attributes'].message_type = _STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES +_HISTORYEVENT.fields_by_name['child_workflow_execution_started_event_attributes'].message_type = _CHILDWORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES +_HISTORYEVENT.fields_by_name['child_workflow_execution_completed_event_attributes'].message_type = _CHILDWORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES +_HISTORYEVENT.fields_by_name['child_workflow_execution_failed_event_attributes'].message_type = _CHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES +_HISTORYEVENT.fields_by_name['child_workflow_execution_canceled_event_attributes'].message_type = _CHILDWORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES +_HISTORYEVENT.fields_by_name['child_workflow_execution_timed_out_event_attributes'].message_type = _CHILDWORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES +_HISTORYEVENT.fields_by_name['child_workflow_execution_terminated_event_attributes'].message_type = _CHILDWORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES +_HISTORYEVENT.fields_by_name['signal_external_workflow_execution_initiated_event_attributes'].message_type = _SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES +_HISTORYEVENT.fields_by_name['signal_external_workflow_execution_failed_event_attributes'].message_type = _SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES +_HISTORYEVENT.fields_by_name['external_workflow_execution_signaled_event_attributes'].message_type = _EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES +_HISTORYEVENT.fields_by_name['upsert_workflow_search_attributes_event_attributes'].message_type = _UPSERTWORKFLOWSEARCHATTRIBUTESEVENTATTRIBUTES +_HISTORYEVENT.oneofs_by_name['attributes'].fields.append( + _HISTORYEVENT.fields_by_name['workflow_execution_started_event_attributes']) +_HISTORYEVENT.fields_by_name['workflow_execution_started_event_attributes'].containing_oneof = _HISTORYEVENT.oneofs_by_name['attributes'] +_HISTORYEVENT.oneofs_by_name['attributes'].fields.append( + _HISTORYEVENT.fields_by_name['workflow_execution_completed_event_attributes']) +_HISTORYEVENT.fields_by_name['workflow_execution_completed_event_attributes'].containing_oneof = _HISTORYEVENT.oneofs_by_name['attributes'] +_HISTORYEVENT.oneofs_by_name['attributes'].fields.append( + _HISTORYEVENT.fields_by_name['workflow_execution_failed_event_attributes']) +_HISTORYEVENT.fields_by_name['workflow_execution_failed_event_attributes'].containing_oneof = _HISTORYEVENT.oneofs_by_name['attributes'] +_HISTORYEVENT.oneofs_by_name['attributes'].fields.append( + _HISTORYEVENT.fields_by_name['workflow_execution_timed_out_event_attributes']) +_HISTORYEVENT.fields_by_name['workflow_execution_timed_out_event_attributes'].containing_oneof = _HISTORYEVENT.oneofs_by_name['attributes'] +_HISTORYEVENT.oneofs_by_name['attributes'].fields.append( + _HISTORYEVENT.fields_by_name['decision_task_scheduled_event_attributes']) +_HISTORYEVENT.fields_by_name['decision_task_scheduled_event_attributes'].containing_oneof = _HISTORYEVENT.oneofs_by_name['attributes'] +_HISTORYEVENT.oneofs_by_name['attributes'].fields.append( + _HISTORYEVENT.fields_by_name['decision_task_started_event_attributes']) +_HISTORYEVENT.fields_by_name['decision_task_started_event_attributes'].containing_oneof = _HISTORYEVENT.oneofs_by_name['attributes'] +_HISTORYEVENT.oneofs_by_name['attributes'].fields.append( + _HISTORYEVENT.fields_by_name['decision_task_completed_event_attributes']) +_HISTORYEVENT.fields_by_name['decision_task_completed_event_attributes'].containing_oneof = _HISTORYEVENT.oneofs_by_name['attributes'] +_HISTORYEVENT.oneofs_by_name['attributes'].fields.append( + _HISTORYEVENT.fields_by_name['decision_task_timed_out_event_attributes']) +_HISTORYEVENT.fields_by_name['decision_task_timed_out_event_attributes'].containing_oneof = _HISTORYEVENT.oneofs_by_name['attributes'] +_HISTORYEVENT.oneofs_by_name['attributes'].fields.append( + _HISTORYEVENT.fields_by_name['decision_task_failed_event_attributes']) +_HISTORYEVENT.fields_by_name['decision_task_failed_event_attributes'].containing_oneof = _HISTORYEVENT.oneofs_by_name['attributes'] +_HISTORYEVENT.oneofs_by_name['attributes'].fields.append( + _HISTORYEVENT.fields_by_name['activity_task_scheduled_event_attributes']) +_HISTORYEVENT.fields_by_name['activity_task_scheduled_event_attributes'].containing_oneof = _HISTORYEVENT.oneofs_by_name['attributes'] +_HISTORYEVENT.oneofs_by_name['attributes'].fields.append( + _HISTORYEVENT.fields_by_name['activity_task_started_event_attributes']) +_HISTORYEVENT.fields_by_name['activity_task_started_event_attributes'].containing_oneof = _HISTORYEVENT.oneofs_by_name['attributes'] +_HISTORYEVENT.oneofs_by_name['attributes'].fields.append( + _HISTORYEVENT.fields_by_name['activity_task_completed_event_attributes']) +_HISTORYEVENT.fields_by_name['activity_task_completed_event_attributes'].containing_oneof = _HISTORYEVENT.oneofs_by_name['attributes'] +_HISTORYEVENT.oneofs_by_name['attributes'].fields.append( + _HISTORYEVENT.fields_by_name['activity_task_failed_event_attributes']) +_HISTORYEVENT.fields_by_name['activity_task_failed_event_attributes'].containing_oneof = _HISTORYEVENT.oneofs_by_name['attributes'] +_HISTORYEVENT.oneofs_by_name['attributes'].fields.append( + _HISTORYEVENT.fields_by_name['activity_task_timed_out_event_attributes']) +_HISTORYEVENT.fields_by_name['activity_task_timed_out_event_attributes'].containing_oneof = _HISTORYEVENT.oneofs_by_name['attributes'] +_HISTORYEVENT.oneofs_by_name['attributes'].fields.append( + _HISTORYEVENT.fields_by_name['timer_started_event_attributes']) +_HISTORYEVENT.fields_by_name['timer_started_event_attributes'].containing_oneof = _HISTORYEVENT.oneofs_by_name['attributes'] +_HISTORYEVENT.oneofs_by_name['attributes'].fields.append( + _HISTORYEVENT.fields_by_name['timer_fired_event_attributes']) +_HISTORYEVENT.fields_by_name['timer_fired_event_attributes'].containing_oneof = _HISTORYEVENT.oneofs_by_name['attributes'] +_HISTORYEVENT.oneofs_by_name['attributes'].fields.append( + _HISTORYEVENT.fields_by_name['activity_task_cancel_requested_event_attributes']) +_HISTORYEVENT.fields_by_name['activity_task_cancel_requested_event_attributes'].containing_oneof = _HISTORYEVENT.oneofs_by_name['attributes'] +_HISTORYEVENT.oneofs_by_name['attributes'].fields.append( + _HISTORYEVENT.fields_by_name['request_cancel_activity_task_failed_event_attributes']) +_HISTORYEVENT.fields_by_name['request_cancel_activity_task_failed_event_attributes'].containing_oneof = _HISTORYEVENT.oneofs_by_name['attributes'] +_HISTORYEVENT.oneofs_by_name['attributes'].fields.append( + _HISTORYEVENT.fields_by_name['activity_task_canceled_event_attributes']) +_HISTORYEVENT.fields_by_name['activity_task_canceled_event_attributes'].containing_oneof = _HISTORYEVENT.oneofs_by_name['attributes'] +_HISTORYEVENT.oneofs_by_name['attributes'].fields.append( + _HISTORYEVENT.fields_by_name['timer_canceled_event_attributes']) +_HISTORYEVENT.fields_by_name['timer_canceled_event_attributes'].containing_oneof = _HISTORYEVENT.oneofs_by_name['attributes'] +_HISTORYEVENT.oneofs_by_name['attributes'].fields.append( + _HISTORYEVENT.fields_by_name['cancel_timer_failed_event_attributes']) +_HISTORYEVENT.fields_by_name['cancel_timer_failed_event_attributes'].containing_oneof = _HISTORYEVENT.oneofs_by_name['attributes'] +_HISTORYEVENT.oneofs_by_name['attributes'].fields.append( + _HISTORYEVENT.fields_by_name['marker_recorded_event_attributes']) +_HISTORYEVENT.fields_by_name['marker_recorded_event_attributes'].containing_oneof = _HISTORYEVENT.oneofs_by_name['attributes'] +_HISTORYEVENT.oneofs_by_name['attributes'].fields.append( + _HISTORYEVENT.fields_by_name['workflow_execution_signaled_event_attributes']) +_HISTORYEVENT.fields_by_name['workflow_execution_signaled_event_attributes'].containing_oneof = _HISTORYEVENT.oneofs_by_name['attributes'] +_HISTORYEVENT.oneofs_by_name['attributes'].fields.append( + _HISTORYEVENT.fields_by_name['workflow_execution_terminated_event_attributes']) +_HISTORYEVENT.fields_by_name['workflow_execution_terminated_event_attributes'].containing_oneof = _HISTORYEVENT.oneofs_by_name['attributes'] +_HISTORYEVENT.oneofs_by_name['attributes'].fields.append( + _HISTORYEVENT.fields_by_name['workflow_execution_cancel_requested_event_attributes']) +_HISTORYEVENT.fields_by_name['workflow_execution_cancel_requested_event_attributes'].containing_oneof = _HISTORYEVENT.oneofs_by_name['attributes'] +_HISTORYEVENT.oneofs_by_name['attributes'].fields.append( + _HISTORYEVENT.fields_by_name['workflow_execution_canceled_event_attributes']) +_HISTORYEVENT.fields_by_name['workflow_execution_canceled_event_attributes'].containing_oneof = _HISTORYEVENT.oneofs_by_name['attributes'] +_HISTORYEVENT.oneofs_by_name['attributes'].fields.append( + _HISTORYEVENT.fields_by_name['request_cancel_external_workflow_execution_initiated_event_attributes']) +_HISTORYEVENT.fields_by_name['request_cancel_external_workflow_execution_initiated_event_attributes'].containing_oneof = _HISTORYEVENT.oneofs_by_name['attributes'] +_HISTORYEVENT.oneofs_by_name['attributes'].fields.append( + _HISTORYEVENT.fields_by_name['request_cancel_external_workflow_execution_failed_event_attributes']) +_HISTORYEVENT.fields_by_name['request_cancel_external_workflow_execution_failed_event_attributes'].containing_oneof = _HISTORYEVENT.oneofs_by_name['attributes'] +_HISTORYEVENT.oneofs_by_name['attributes'].fields.append( + _HISTORYEVENT.fields_by_name['external_workflow_execution_cancel_requested_event_attributes']) +_HISTORYEVENT.fields_by_name['external_workflow_execution_cancel_requested_event_attributes'].containing_oneof = _HISTORYEVENT.oneofs_by_name['attributes'] +_HISTORYEVENT.oneofs_by_name['attributes'].fields.append( + _HISTORYEVENT.fields_by_name['workflow_execution_continued_as_new_event_attributes']) +_HISTORYEVENT.fields_by_name['workflow_execution_continued_as_new_event_attributes'].containing_oneof = _HISTORYEVENT.oneofs_by_name['attributes'] +_HISTORYEVENT.oneofs_by_name['attributes'].fields.append( + _HISTORYEVENT.fields_by_name['start_child_workflow_execution_initiated_event_attributes']) +_HISTORYEVENT.fields_by_name['start_child_workflow_execution_initiated_event_attributes'].containing_oneof = _HISTORYEVENT.oneofs_by_name['attributes'] +_HISTORYEVENT.oneofs_by_name['attributes'].fields.append( + _HISTORYEVENT.fields_by_name['start_child_workflow_execution_failed_event_attributes']) +_HISTORYEVENT.fields_by_name['start_child_workflow_execution_failed_event_attributes'].containing_oneof = _HISTORYEVENT.oneofs_by_name['attributes'] +_HISTORYEVENT.oneofs_by_name['attributes'].fields.append( + _HISTORYEVENT.fields_by_name['child_workflow_execution_started_event_attributes']) +_HISTORYEVENT.fields_by_name['child_workflow_execution_started_event_attributes'].containing_oneof = _HISTORYEVENT.oneofs_by_name['attributes'] +_HISTORYEVENT.oneofs_by_name['attributes'].fields.append( + _HISTORYEVENT.fields_by_name['child_workflow_execution_completed_event_attributes']) +_HISTORYEVENT.fields_by_name['child_workflow_execution_completed_event_attributes'].containing_oneof = _HISTORYEVENT.oneofs_by_name['attributes'] +_HISTORYEVENT.oneofs_by_name['attributes'].fields.append( + _HISTORYEVENT.fields_by_name['child_workflow_execution_failed_event_attributes']) +_HISTORYEVENT.fields_by_name['child_workflow_execution_failed_event_attributes'].containing_oneof = _HISTORYEVENT.oneofs_by_name['attributes'] +_HISTORYEVENT.oneofs_by_name['attributes'].fields.append( + _HISTORYEVENT.fields_by_name['child_workflow_execution_canceled_event_attributes']) +_HISTORYEVENT.fields_by_name['child_workflow_execution_canceled_event_attributes'].containing_oneof = _HISTORYEVENT.oneofs_by_name['attributes'] +_HISTORYEVENT.oneofs_by_name['attributes'].fields.append( + _HISTORYEVENT.fields_by_name['child_workflow_execution_timed_out_event_attributes']) +_HISTORYEVENT.fields_by_name['child_workflow_execution_timed_out_event_attributes'].containing_oneof = _HISTORYEVENT.oneofs_by_name['attributes'] +_HISTORYEVENT.oneofs_by_name['attributes'].fields.append( + _HISTORYEVENT.fields_by_name['child_workflow_execution_terminated_event_attributes']) +_HISTORYEVENT.fields_by_name['child_workflow_execution_terminated_event_attributes'].containing_oneof = _HISTORYEVENT.oneofs_by_name['attributes'] +_HISTORYEVENT.oneofs_by_name['attributes'].fields.append( + _HISTORYEVENT.fields_by_name['signal_external_workflow_execution_initiated_event_attributes']) +_HISTORYEVENT.fields_by_name['signal_external_workflow_execution_initiated_event_attributes'].containing_oneof = _HISTORYEVENT.oneofs_by_name['attributes'] +_HISTORYEVENT.oneofs_by_name['attributes'].fields.append( + _HISTORYEVENT.fields_by_name['signal_external_workflow_execution_failed_event_attributes']) +_HISTORYEVENT.fields_by_name['signal_external_workflow_execution_failed_event_attributes'].containing_oneof = _HISTORYEVENT.oneofs_by_name['attributes'] +_HISTORYEVENT.oneofs_by_name['attributes'].fields.append( + _HISTORYEVENT.fields_by_name['external_workflow_execution_signaled_event_attributes']) +_HISTORYEVENT.fields_by_name['external_workflow_execution_signaled_event_attributes'].containing_oneof = _HISTORYEVENT.oneofs_by_name['attributes'] +_HISTORYEVENT.oneofs_by_name['attributes'].fields.append( + _HISTORYEVENT.fields_by_name['upsert_workflow_search_attributes_event_attributes']) +_HISTORYEVENT.fields_by_name['upsert_workflow_search_attributes_event_attributes'].containing_oneof = _HISTORYEVENT.oneofs_by_name['attributes'] +_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES_PARTITIONCONFIGENTRY.containing_type = _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES +_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name['workflow_type'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWTYPE +_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name['parent_execution_info'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2._PARENTEXECUTIONINFO +_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name['task_list'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_tasklist__pb2._TASKLIST +_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name['input'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._PAYLOAD +_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name['execution_start_to_close_timeout'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name['task_start_to_close_timeout'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name['initiator'].enum_type = uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2._CONTINUEASNEWINITIATOR +_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name['continued_failure'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._FAILURE +_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name['last_completion_result'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._PAYLOAD +_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name['retry_policy'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._RETRYPOLICY +_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name['expiration_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name['first_decision_task_backoff'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name['memo'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._MEMO +_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name['search_attributes'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._SEARCHATTRIBUTES +_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name['prev_auto_reset_points'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2._RESETPOINTS +_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name['header'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._HEADER +_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name['first_scheduled_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name['partition_config'].message_type = _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES_PARTITIONCONFIGENTRY +_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name['cron_overlap_policy'].enum_type = uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2._CRONOVERLAPPOLICY +_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name['active_cluster_selection_policy'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._ACTIVECLUSTERSELECTIONPOLICY +_WORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES.fields_by_name['result'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._PAYLOAD +_WORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES.fields_by_name['failure'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._FAILURE +_WORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES.fields_by_name['timeout_type'].enum_type = uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2._TIMEOUTTYPE +_DECISIONTASKSCHEDULEDEVENTATTRIBUTES.fields_by_name['task_list'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_tasklist__pb2._TASKLIST +_DECISIONTASKSCHEDULEDEVENTATTRIBUTES.fields_by_name['start_to_close_timeout'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_DECISIONTASKTIMEDOUTEVENTATTRIBUTES.fields_by_name['timeout_type'].enum_type = uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2._TIMEOUTTYPE +_DECISIONTASKTIMEDOUTEVENTATTRIBUTES.fields_by_name['cause'].enum_type = uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2._DECISIONTASKTIMEDOUTCAUSE +_DECISIONTASKFAILEDEVENTATTRIBUTES.fields_by_name['cause'].enum_type = uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2._DECISIONTASKFAILEDCAUSE +_DECISIONTASKFAILEDEVENTATTRIBUTES.fields_by_name['failure'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._FAILURE +_ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES.fields_by_name['activity_type'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._ACTIVITYTYPE +_ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES.fields_by_name['task_list'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_tasklist__pb2._TASKLIST +_ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES.fields_by_name['input'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._PAYLOAD +_ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES.fields_by_name['schedule_to_close_timeout'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES.fields_by_name['schedule_to_start_timeout'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES.fields_by_name['start_to_close_timeout'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES.fields_by_name['heartbeat_timeout'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES.fields_by_name['retry_policy'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._RETRYPOLICY +_ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES.fields_by_name['header'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._HEADER +_ACTIVITYTASKSTARTEDEVENTATTRIBUTES.fields_by_name['last_failure'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._FAILURE +_ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name['result'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._PAYLOAD +_ACTIVITYTASKFAILEDEVENTATTRIBUTES.fields_by_name['failure'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._FAILURE +_ACTIVITYTASKTIMEDOUTEVENTATTRIBUTES.fields_by_name['details'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._PAYLOAD +_ACTIVITYTASKTIMEDOUTEVENTATTRIBUTES.fields_by_name['timeout_type'].enum_type = uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2._TIMEOUTTYPE +_ACTIVITYTASKTIMEDOUTEVENTATTRIBUTES.fields_by_name['last_failure'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._FAILURE +_ACTIVITYTASKCANCELEDEVENTATTRIBUTES.fields_by_name['details'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._PAYLOAD +_TIMERSTARTEDEVENTATTRIBUTES.fields_by_name['start_to_fire_timeout'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES.fields_by_name['workflow_type'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWTYPE +_WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES.fields_by_name['task_list'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_tasklist__pb2._TASKLIST +_WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES.fields_by_name['input'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._PAYLOAD +_WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES.fields_by_name['execution_start_to_close_timeout'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES.fields_by_name['task_start_to_close_timeout'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES.fields_by_name['backoff_start_interval'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES.fields_by_name['initiator'].enum_type = uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2._CONTINUEASNEWINITIATOR +_WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES.fields_by_name['failure'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._FAILURE +_WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES.fields_by_name['last_completion_result'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._PAYLOAD +_WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES.fields_by_name['header'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._HEADER +_WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES.fields_by_name['memo'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._MEMO +_WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES.fields_by_name['search_attributes'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._SEARCHATTRIBUTES +_WORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES.fields_by_name['external_execution_info'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2._EXTERNALEXECUTIONINFO +_WORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES.fields_by_name['details'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._PAYLOAD +_MARKERRECORDEDEVENTATTRIBUTES.fields_by_name['details'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._PAYLOAD +_MARKERRECORDEDEVENTATTRIBUTES.fields_by_name['header'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._HEADER +_WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES.fields_by_name['input'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._PAYLOAD +_WORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES.fields_by_name['details'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._PAYLOAD +_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name['workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES.fields_by_name['cause'].enum_type = uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2._CANCELEXTERNALWORKFLOWEXECUTIONFAILEDCAUSE +_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES.fields_by_name['workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_EXTERNALWORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES.fields_by_name['workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name['workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name['input'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._PAYLOAD +_SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES.fields_by_name['cause'].enum_type = uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2._SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDCAUSE +_SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES.fields_by_name['workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES.fields_by_name['workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_UPSERTWORKFLOWSEARCHATTRIBUTESEVENTATTRIBUTES.fields_by_name['search_attributes'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._SEARCHATTRIBUTES +_STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name['workflow_type'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWTYPE +_STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name['task_list'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_tasklist__pb2._TASKLIST +_STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name['input'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._PAYLOAD +_STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name['execution_start_to_close_timeout'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name['task_start_to_close_timeout'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name['parent_close_policy'].enum_type = uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2._PARENTCLOSEPOLICY +_STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name['workflow_id_reuse_policy'].enum_type = uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2._WORKFLOWIDREUSEPOLICY +_STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name['retry_policy'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._RETRYPOLICY +_STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name['header'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._HEADER +_STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name['memo'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._MEMO +_STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name['search_attributes'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._SEARCHATTRIBUTES +_STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name['delay_start'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name['jitter_start'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name['first_run_at'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name['cron_overlap_policy'].enum_type = uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2._CRONOVERLAPPOLICY +_STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name['active_cluster_selection_policy'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._ACTIVECLUSTERSELECTIONPOLICY +_STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES.fields_by_name['workflow_type'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWTYPE +_STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES.fields_by_name['cause'].enum_type = uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2._CHILDWORKFLOWEXECUTIONFAILEDCAUSE +_CHILDWORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name['workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_CHILDWORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name['workflow_type'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWTYPE +_CHILDWORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name['header'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._HEADER +_CHILDWORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES.fields_by_name['workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_CHILDWORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES.fields_by_name['workflow_type'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWTYPE +_CHILDWORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES.fields_by_name['result'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._PAYLOAD +_CHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES.fields_by_name['workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_CHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES.fields_by_name['workflow_type'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWTYPE +_CHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES.fields_by_name['failure'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._FAILURE +_CHILDWORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES.fields_by_name['workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_CHILDWORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES.fields_by_name['workflow_type'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWTYPE +_CHILDWORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES.fields_by_name['details'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._PAYLOAD +_CHILDWORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES.fields_by_name['workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_CHILDWORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES.fields_by_name['workflow_type'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWTYPE +_CHILDWORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES.fields_by_name['timeout_type'].enum_type = uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2._TIMEOUTTYPE +_CHILDWORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES.fields_by_name['workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_CHILDWORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES.fields_by_name['workflow_type'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWTYPE +DESCRIPTOR.message_types_by_name['History'] = _HISTORY +DESCRIPTOR.message_types_by_name['HistoryEvent'] = _HISTORYEVENT +DESCRIPTOR.message_types_by_name['WorkflowExecutionStartedEventAttributes'] = _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES +DESCRIPTOR.message_types_by_name['WorkflowExecutionCompletedEventAttributes'] = _WORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES +DESCRIPTOR.message_types_by_name['WorkflowExecutionFailedEventAttributes'] = _WORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES +DESCRIPTOR.message_types_by_name['WorkflowExecutionTimedOutEventAttributes'] = _WORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES +DESCRIPTOR.message_types_by_name['DecisionTaskScheduledEventAttributes'] = _DECISIONTASKSCHEDULEDEVENTATTRIBUTES +DESCRIPTOR.message_types_by_name['DecisionTaskStartedEventAttributes'] = _DECISIONTASKSTARTEDEVENTATTRIBUTES +DESCRIPTOR.message_types_by_name['DecisionTaskCompletedEventAttributes'] = _DECISIONTASKCOMPLETEDEVENTATTRIBUTES +DESCRIPTOR.message_types_by_name['DecisionTaskTimedOutEventAttributes'] = _DECISIONTASKTIMEDOUTEVENTATTRIBUTES +DESCRIPTOR.message_types_by_name['DecisionTaskFailedEventAttributes'] = _DECISIONTASKFAILEDEVENTATTRIBUTES +DESCRIPTOR.message_types_by_name['ActivityTaskScheduledEventAttributes'] = _ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES +DESCRIPTOR.message_types_by_name['ActivityTaskStartedEventAttributes'] = _ACTIVITYTASKSTARTEDEVENTATTRIBUTES +DESCRIPTOR.message_types_by_name['ActivityTaskCompletedEventAttributes'] = _ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES +DESCRIPTOR.message_types_by_name['ActivityTaskFailedEventAttributes'] = _ACTIVITYTASKFAILEDEVENTATTRIBUTES +DESCRIPTOR.message_types_by_name['ActivityTaskTimedOutEventAttributes'] = _ACTIVITYTASKTIMEDOUTEVENTATTRIBUTES +DESCRIPTOR.message_types_by_name['ActivityTaskCancelRequestedEventAttributes'] = _ACTIVITYTASKCANCELREQUESTEDEVENTATTRIBUTES +DESCRIPTOR.message_types_by_name['RequestCancelActivityTaskFailedEventAttributes'] = _REQUESTCANCELACTIVITYTASKFAILEDEVENTATTRIBUTES +DESCRIPTOR.message_types_by_name['ActivityTaskCanceledEventAttributes'] = _ACTIVITYTASKCANCELEDEVENTATTRIBUTES +DESCRIPTOR.message_types_by_name['TimerStartedEventAttributes'] = _TIMERSTARTEDEVENTATTRIBUTES +DESCRIPTOR.message_types_by_name['TimerFiredEventAttributes'] = _TIMERFIREDEVENTATTRIBUTES +DESCRIPTOR.message_types_by_name['TimerCanceledEventAttributes'] = _TIMERCANCELEDEVENTATTRIBUTES +DESCRIPTOR.message_types_by_name['CancelTimerFailedEventAttributes'] = _CANCELTIMERFAILEDEVENTATTRIBUTES +DESCRIPTOR.message_types_by_name['WorkflowExecutionContinuedAsNewEventAttributes'] = _WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES +DESCRIPTOR.message_types_by_name['WorkflowExecutionCancelRequestedEventAttributes'] = _WORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES +DESCRIPTOR.message_types_by_name['WorkflowExecutionCanceledEventAttributes'] = _WORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES +DESCRIPTOR.message_types_by_name['MarkerRecordedEventAttributes'] = _MARKERRECORDEDEVENTATTRIBUTES +DESCRIPTOR.message_types_by_name['WorkflowExecutionSignaledEventAttributes'] = _WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES +DESCRIPTOR.message_types_by_name['WorkflowExecutionTerminatedEventAttributes'] = _WORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES +DESCRIPTOR.message_types_by_name['RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'] = _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES +DESCRIPTOR.message_types_by_name['RequestCancelExternalWorkflowExecutionFailedEventAttributes'] = _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES +DESCRIPTOR.message_types_by_name['ExternalWorkflowExecutionCancelRequestedEventAttributes'] = _EXTERNALWORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES +DESCRIPTOR.message_types_by_name['SignalExternalWorkflowExecutionInitiatedEventAttributes'] = _SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES +DESCRIPTOR.message_types_by_name['SignalExternalWorkflowExecutionFailedEventAttributes'] = _SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES +DESCRIPTOR.message_types_by_name['ExternalWorkflowExecutionSignaledEventAttributes'] = _EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES +DESCRIPTOR.message_types_by_name['UpsertWorkflowSearchAttributesEventAttributes'] = _UPSERTWORKFLOWSEARCHATTRIBUTESEVENTATTRIBUTES +DESCRIPTOR.message_types_by_name['StartChildWorkflowExecutionInitiatedEventAttributes'] = _STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES +DESCRIPTOR.message_types_by_name['StartChildWorkflowExecutionFailedEventAttributes'] = _STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES +DESCRIPTOR.message_types_by_name['ChildWorkflowExecutionStartedEventAttributes'] = _CHILDWORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES +DESCRIPTOR.message_types_by_name['ChildWorkflowExecutionCompletedEventAttributes'] = _CHILDWORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES +DESCRIPTOR.message_types_by_name['ChildWorkflowExecutionFailedEventAttributes'] = _CHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES +DESCRIPTOR.message_types_by_name['ChildWorkflowExecutionCanceledEventAttributes'] = _CHILDWORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES +DESCRIPTOR.message_types_by_name['ChildWorkflowExecutionTimedOutEventAttributes'] = _CHILDWORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES +DESCRIPTOR.message_types_by_name['ChildWorkflowExecutionTerminatedEventAttributes'] = _CHILDWORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES +DESCRIPTOR.enum_types_by_name['EventFilterType'] = _EVENTFILTERTYPE +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +History = _reflection.GeneratedProtocolMessageType('History', (_message.Message,), { + 'DESCRIPTOR' : _HISTORY, + '__module__' : 'uber.cadence.api.v1.history_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.History) + }) +_sym_db.RegisterMessage(History) + +HistoryEvent = _reflection.GeneratedProtocolMessageType('HistoryEvent', (_message.Message,), { + 'DESCRIPTOR' : _HISTORYEVENT, + '__module__' : 'uber.cadence.api.v1.history_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.HistoryEvent) + }) +_sym_db.RegisterMessage(HistoryEvent) + +WorkflowExecutionStartedEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowExecutionStartedEventAttributes', (_message.Message,), { + + 'PartitionConfigEntry' : _reflection.GeneratedProtocolMessageType('PartitionConfigEntry', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES_PARTITIONCONFIGENTRY, + '__module__' : 'uber.cadence.api.v1.history_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.WorkflowExecutionStartedEventAttributes.PartitionConfigEntry) + }) + , + 'DESCRIPTOR' : _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.history_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.WorkflowExecutionStartedEventAttributes) + }) +_sym_db.RegisterMessage(WorkflowExecutionStartedEventAttributes) +_sym_db.RegisterMessage(WorkflowExecutionStartedEventAttributes.PartitionConfigEntry) + +WorkflowExecutionCompletedEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowExecutionCompletedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.history_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.WorkflowExecutionCompletedEventAttributes) + }) +_sym_db.RegisterMessage(WorkflowExecutionCompletedEventAttributes) + +WorkflowExecutionFailedEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowExecutionFailedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.history_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.WorkflowExecutionFailedEventAttributes) + }) +_sym_db.RegisterMessage(WorkflowExecutionFailedEventAttributes) + +WorkflowExecutionTimedOutEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowExecutionTimedOutEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.history_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.WorkflowExecutionTimedOutEventAttributes) + }) +_sym_db.RegisterMessage(WorkflowExecutionTimedOutEventAttributes) + +DecisionTaskScheduledEventAttributes = _reflection.GeneratedProtocolMessageType('DecisionTaskScheduledEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _DECISIONTASKSCHEDULEDEVENTATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.history_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.DecisionTaskScheduledEventAttributes) + }) +_sym_db.RegisterMessage(DecisionTaskScheduledEventAttributes) + +DecisionTaskStartedEventAttributes = _reflection.GeneratedProtocolMessageType('DecisionTaskStartedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _DECISIONTASKSTARTEDEVENTATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.history_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.DecisionTaskStartedEventAttributes) + }) +_sym_db.RegisterMessage(DecisionTaskStartedEventAttributes) + +DecisionTaskCompletedEventAttributes = _reflection.GeneratedProtocolMessageType('DecisionTaskCompletedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _DECISIONTASKCOMPLETEDEVENTATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.history_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.DecisionTaskCompletedEventAttributes) + }) +_sym_db.RegisterMessage(DecisionTaskCompletedEventAttributes) + +DecisionTaskTimedOutEventAttributes = _reflection.GeneratedProtocolMessageType('DecisionTaskTimedOutEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _DECISIONTASKTIMEDOUTEVENTATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.history_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.DecisionTaskTimedOutEventAttributes) + }) +_sym_db.RegisterMessage(DecisionTaskTimedOutEventAttributes) + +DecisionTaskFailedEventAttributes = _reflection.GeneratedProtocolMessageType('DecisionTaskFailedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _DECISIONTASKFAILEDEVENTATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.history_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.DecisionTaskFailedEventAttributes) + }) +_sym_db.RegisterMessage(DecisionTaskFailedEventAttributes) + +ActivityTaskScheduledEventAttributes = _reflection.GeneratedProtocolMessageType('ActivityTaskScheduledEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.history_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ActivityTaskScheduledEventAttributes) + }) +_sym_db.RegisterMessage(ActivityTaskScheduledEventAttributes) + +ActivityTaskStartedEventAttributes = _reflection.GeneratedProtocolMessageType('ActivityTaskStartedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _ACTIVITYTASKSTARTEDEVENTATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.history_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ActivityTaskStartedEventAttributes) + }) +_sym_db.RegisterMessage(ActivityTaskStartedEventAttributes) + +ActivityTaskCompletedEventAttributes = _reflection.GeneratedProtocolMessageType('ActivityTaskCompletedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.history_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ActivityTaskCompletedEventAttributes) + }) +_sym_db.RegisterMessage(ActivityTaskCompletedEventAttributes) + +ActivityTaskFailedEventAttributes = _reflection.GeneratedProtocolMessageType('ActivityTaskFailedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _ACTIVITYTASKFAILEDEVENTATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.history_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ActivityTaskFailedEventAttributes) + }) +_sym_db.RegisterMessage(ActivityTaskFailedEventAttributes) + +ActivityTaskTimedOutEventAttributes = _reflection.GeneratedProtocolMessageType('ActivityTaskTimedOutEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _ACTIVITYTASKTIMEDOUTEVENTATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.history_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ActivityTaskTimedOutEventAttributes) + }) +_sym_db.RegisterMessage(ActivityTaskTimedOutEventAttributes) + +ActivityTaskCancelRequestedEventAttributes = _reflection.GeneratedProtocolMessageType('ActivityTaskCancelRequestedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _ACTIVITYTASKCANCELREQUESTEDEVENTATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.history_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ActivityTaskCancelRequestedEventAttributes) + }) +_sym_db.RegisterMessage(ActivityTaskCancelRequestedEventAttributes) + +RequestCancelActivityTaskFailedEventAttributes = _reflection.GeneratedProtocolMessageType('RequestCancelActivityTaskFailedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _REQUESTCANCELACTIVITYTASKFAILEDEVENTATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.history_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.RequestCancelActivityTaskFailedEventAttributes) + }) +_sym_db.RegisterMessage(RequestCancelActivityTaskFailedEventAttributes) + +ActivityTaskCanceledEventAttributes = _reflection.GeneratedProtocolMessageType('ActivityTaskCanceledEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _ACTIVITYTASKCANCELEDEVENTATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.history_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ActivityTaskCanceledEventAttributes) + }) +_sym_db.RegisterMessage(ActivityTaskCanceledEventAttributes) + +TimerStartedEventAttributes = _reflection.GeneratedProtocolMessageType('TimerStartedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _TIMERSTARTEDEVENTATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.history_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.TimerStartedEventAttributes) + }) +_sym_db.RegisterMessage(TimerStartedEventAttributes) + +TimerFiredEventAttributes = _reflection.GeneratedProtocolMessageType('TimerFiredEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _TIMERFIREDEVENTATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.history_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.TimerFiredEventAttributes) + }) +_sym_db.RegisterMessage(TimerFiredEventAttributes) + +TimerCanceledEventAttributes = _reflection.GeneratedProtocolMessageType('TimerCanceledEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _TIMERCANCELEDEVENTATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.history_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.TimerCanceledEventAttributes) + }) +_sym_db.RegisterMessage(TimerCanceledEventAttributes) + +CancelTimerFailedEventAttributes = _reflection.GeneratedProtocolMessageType('CancelTimerFailedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _CANCELTIMERFAILEDEVENTATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.history_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.CancelTimerFailedEventAttributes) + }) +_sym_db.RegisterMessage(CancelTimerFailedEventAttributes) + +WorkflowExecutionContinuedAsNewEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowExecutionContinuedAsNewEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.history_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.WorkflowExecutionContinuedAsNewEventAttributes) + }) +_sym_db.RegisterMessage(WorkflowExecutionContinuedAsNewEventAttributes) + +WorkflowExecutionCancelRequestedEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowExecutionCancelRequestedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.history_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.WorkflowExecutionCancelRequestedEventAttributes) + }) +_sym_db.RegisterMessage(WorkflowExecutionCancelRequestedEventAttributes) + +WorkflowExecutionCanceledEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowExecutionCanceledEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.history_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.WorkflowExecutionCanceledEventAttributes) + }) +_sym_db.RegisterMessage(WorkflowExecutionCanceledEventAttributes) + +MarkerRecordedEventAttributes = _reflection.GeneratedProtocolMessageType('MarkerRecordedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _MARKERRECORDEDEVENTATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.history_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.MarkerRecordedEventAttributes) + }) +_sym_db.RegisterMessage(MarkerRecordedEventAttributes) + +WorkflowExecutionSignaledEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowExecutionSignaledEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.history_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.WorkflowExecutionSignaledEventAttributes) + }) +_sym_db.RegisterMessage(WorkflowExecutionSignaledEventAttributes) + +WorkflowExecutionTerminatedEventAttributes = _reflection.GeneratedProtocolMessageType('WorkflowExecutionTerminatedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.history_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.WorkflowExecutionTerminatedEventAttributes) + }) +_sym_db.RegisterMessage(WorkflowExecutionTerminatedEventAttributes) + +RequestCancelExternalWorkflowExecutionInitiatedEventAttributes = _reflection.GeneratedProtocolMessageType('RequestCancelExternalWorkflowExecutionInitiatedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.history_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) + }) +_sym_db.RegisterMessage(RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) + +RequestCancelExternalWorkflowExecutionFailedEventAttributes = _reflection.GeneratedProtocolMessageType('RequestCancelExternalWorkflowExecutionFailedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.history_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes) + }) +_sym_db.RegisterMessage(RequestCancelExternalWorkflowExecutionFailedEventAttributes) + +ExternalWorkflowExecutionCancelRequestedEventAttributes = _reflection.GeneratedProtocolMessageType('ExternalWorkflowExecutionCancelRequestedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _EXTERNALWORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.history_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes) + }) +_sym_db.RegisterMessage(ExternalWorkflowExecutionCancelRequestedEventAttributes) + +SignalExternalWorkflowExecutionInitiatedEventAttributes = _reflection.GeneratedProtocolMessageType('SignalExternalWorkflowExecutionInitiatedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.history_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes) + }) +_sym_db.RegisterMessage(SignalExternalWorkflowExecutionInitiatedEventAttributes) + +SignalExternalWorkflowExecutionFailedEventAttributes = _reflection.GeneratedProtocolMessageType('SignalExternalWorkflowExecutionFailedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.history_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.SignalExternalWorkflowExecutionFailedEventAttributes) + }) +_sym_db.RegisterMessage(SignalExternalWorkflowExecutionFailedEventAttributes) + +ExternalWorkflowExecutionSignaledEventAttributes = _reflection.GeneratedProtocolMessageType('ExternalWorkflowExecutionSignaledEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.history_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ExternalWorkflowExecutionSignaledEventAttributes) + }) +_sym_db.RegisterMessage(ExternalWorkflowExecutionSignaledEventAttributes) + +UpsertWorkflowSearchAttributesEventAttributes = _reflection.GeneratedProtocolMessageType('UpsertWorkflowSearchAttributesEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _UPSERTWORKFLOWSEARCHATTRIBUTESEVENTATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.history_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.UpsertWorkflowSearchAttributesEventAttributes) + }) +_sym_db.RegisterMessage(UpsertWorkflowSearchAttributesEventAttributes) + +StartChildWorkflowExecutionInitiatedEventAttributes = _reflection.GeneratedProtocolMessageType('StartChildWorkflowExecutionInitiatedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.history_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.StartChildWorkflowExecutionInitiatedEventAttributes) + }) +_sym_db.RegisterMessage(StartChildWorkflowExecutionInitiatedEventAttributes) + +StartChildWorkflowExecutionFailedEventAttributes = _reflection.GeneratedProtocolMessageType('StartChildWorkflowExecutionFailedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.history_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.StartChildWorkflowExecutionFailedEventAttributes) + }) +_sym_db.RegisterMessage(StartChildWorkflowExecutionFailedEventAttributes) + +ChildWorkflowExecutionStartedEventAttributes = _reflection.GeneratedProtocolMessageType('ChildWorkflowExecutionStartedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _CHILDWORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.history_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ChildWorkflowExecutionStartedEventAttributes) + }) +_sym_db.RegisterMessage(ChildWorkflowExecutionStartedEventAttributes) + +ChildWorkflowExecutionCompletedEventAttributes = _reflection.GeneratedProtocolMessageType('ChildWorkflowExecutionCompletedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _CHILDWORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.history_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ChildWorkflowExecutionCompletedEventAttributes) + }) +_sym_db.RegisterMessage(ChildWorkflowExecutionCompletedEventAttributes) + +ChildWorkflowExecutionFailedEventAttributes = _reflection.GeneratedProtocolMessageType('ChildWorkflowExecutionFailedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _CHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.history_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ChildWorkflowExecutionFailedEventAttributes) + }) +_sym_db.RegisterMessage(ChildWorkflowExecutionFailedEventAttributes) + +ChildWorkflowExecutionCanceledEventAttributes = _reflection.GeneratedProtocolMessageType('ChildWorkflowExecutionCanceledEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _CHILDWORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.history_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ChildWorkflowExecutionCanceledEventAttributes) + }) +_sym_db.RegisterMessage(ChildWorkflowExecutionCanceledEventAttributes) + +ChildWorkflowExecutionTimedOutEventAttributes = _reflection.GeneratedProtocolMessageType('ChildWorkflowExecutionTimedOutEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _CHILDWORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.history_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ChildWorkflowExecutionTimedOutEventAttributes) + }) +_sym_db.RegisterMessage(ChildWorkflowExecutionTimedOutEventAttributes) + +ChildWorkflowExecutionTerminatedEventAttributes = _reflection.GeneratedProtocolMessageType('ChildWorkflowExecutionTerminatedEventAttributes', (_message.Message,), { + 'DESCRIPTOR' : _CHILDWORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.history_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ChildWorkflowExecutionTerminatedEventAttributes) + }) +_sym_db.RegisterMessage(ChildWorkflowExecutionTerminatedEventAttributes) + + +DESCRIPTOR._options = None +_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES_PARTITIONCONFIGENTRY._options = None +# @@protoc_insertion_point(module_scope) diff --git a/cadence/shared/api/v1/history_pb2.pyi b/cadence/shared/api/v1/history_pb2.pyi new file mode 100644 index 0000000..d6075b2 --- /dev/null +++ b/cadence/shared/api/v1/history_pb2.pyi @@ -0,0 +1,780 @@ +from google.protobuf import duration_pb2 as _duration_pb2 +from google.protobuf import timestamp_pb2 as _timestamp_pb2 +from uber.cadence.api.v1 import common_pb2 as _common_pb2 +from uber.cadence.api.v1 import tasklist_pb2 as _tasklist_pb2 +from uber.cadence.api.v1 import workflow_pb2 as _workflow_pb2 +from google.protobuf.internal import containers as _containers +from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union + +DESCRIPTOR: _descriptor.FileDescriptor + +class EventFilterType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = () + EVENT_FILTER_TYPE_INVALID: _ClassVar[EventFilterType] + EVENT_FILTER_TYPE_ALL_EVENT: _ClassVar[EventFilterType] + EVENT_FILTER_TYPE_CLOSE_EVENT: _ClassVar[EventFilterType] +EVENT_FILTER_TYPE_INVALID: EventFilterType +EVENT_FILTER_TYPE_ALL_EVENT: EventFilterType +EVENT_FILTER_TYPE_CLOSE_EVENT: EventFilterType + +class History(_message.Message): + __slots__ = ("events",) + EVENTS_FIELD_NUMBER: _ClassVar[int] + events: _containers.RepeatedCompositeFieldContainer[HistoryEvent] + def __init__(self, events: _Optional[_Iterable[_Union[HistoryEvent, _Mapping]]] = ...) -> None: ... + +class HistoryEvent(_message.Message): + __slots__ = ("event_id", "event_time", "version", "task_id", "workflow_execution_started_event_attributes", "workflow_execution_completed_event_attributes", "workflow_execution_failed_event_attributes", "workflow_execution_timed_out_event_attributes", "decision_task_scheduled_event_attributes", "decision_task_started_event_attributes", "decision_task_completed_event_attributes", "decision_task_timed_out_event_attributes", "decision_task_failed_event_attributes", "activity_task_scheduled_event_attributes", "activity_task_started_event_attributes", "activity_task_completed_event_attributes", "activity_task_failed_event_attributes", "activity_task_timed_out_event_attributes", "timer_started_event_attributes", "timer_fired_event_attributes", "activity_task_cancel_requested_event_attributes", "request_cancel_activity_task_failed_event_attributes", "activity_task_canceled_event_attributes", "timer_canceled_event_attributes", "cancel_timer_failed_event_attributes", "marker_recorded_event_attributes", "workflow_execution_signaled_event_attributes", "workflow_execution_terminated_event_attributes", "workflow_execution_cancel_requested_event_attributes", "workflow_execution_canceled_event_attributes", "request_cancel_external_workflow_execution_initiated_event_attributes", "request_cancel_external_workflow_execution_failed_event_attributes", "external_workflow_execution_cancel_requested_event_attributes", "workflow_execution_continued_as_new_event_attributes", "start_child_workflow_execution_initiated_event_attributes", "start_child_workflow_execution_failed_event_attributes", "child_workflow_execution_started_event_attributes", "child_workflow_execution_completed_event_attributes", "child_workflow_execution_failed_event_attributes", "child_workflow_execution_canceled_event_attributes", "child_workflow_execution_timed_out_event_attributes", "child_workflow_execution_terminated_event_attributes", "signal_external_workflow_execution_initiated_event_attributes", "signal_external_workflow_execution_failed_event_attributes", "external_workflow_execution_signaled_event_attributes", "upsert_workflow_search_attributes_event_attributes") + EVENT_ID_FIELD_NUMBER: _ClassVar[int] + EVENT_TIME_FIELD_NUMBER: _ClassVar[int] + VERSION_FIELD_NUMBER: _ClassVar[int] + TASK_ID_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_STARTED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_COMPLETED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_FAILED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_TIMED_OUT_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + DECISION_TASK_SCHEDULED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + DECISION_TASK_STARTED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + DECISION_TASK_COMPLETED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + DECISION_TASK_TIMED_OUT_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + DECISION_TASK_FAILED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + ACTIVITY_TASK_SCHEDULED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + ACTIVITY_TASK_STARTED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + ACTIVITY_TASK_COMPLETED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + ACTIVITY_TASK_FAILED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + ACTIVITY_TASK_TIMED_OUT_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + TIMER_STARTED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + TIMER_FIRED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + ACTIVITY_TASK_CANCEL_REQUESTED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + REQUEST_CANCEL_ACTIVITY_TASK_FAILED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + ACTIVITY_TASK_CANCELED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + TIMER_CANCELED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + CANCEL_TIMER_FAILED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + MARKER_RECORDED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_SIGNALED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_TERMINATED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_CANCEL_REQUESTED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_CANCELED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + EXTERNAL_WORKFLOW_EXECUTION_CANCEL_REQUESTED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_CONTINUED_AS_NEW_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + START_CHILD_WORKFLOW_EXECUTION_INITIATED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + START_CHILD_WORKFLOW_EXECUTION_FAILED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + CHILD_WORKFLOW_EXECUTION_STARTED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + CHILD_WORKFLOW_EXECUTION_COMPLETED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + CHILD_WORKFLOW_EXECUTION_FAILED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + CHILD_WORKFLOW_EXECUTION_CANCELED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + CHILD_WORKFLOW_EXECUTION_TIMED_OUT_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + CHILD_WORKFLOW_EXECUTION_TERMINATED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + EXTERNAL_WORKFLOW_EXECUTION_SIGNALED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + UPSERT_WORKFLOW_SEARCH_ATTRIBUTES_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + event_id: int + event_time: _timestamp_pb2.Timestamp + version: int + task_id: int + workflow_execution_started_event_attributes: WorkflowExecutionStartedEventAttributes + workflow_execution_completed_event_attributes: WorkflowExecutionCompletedEventAttributes + workflow_execution_failed_event_attributes: WorkflowExecutionFailedEventAttributes + workflow_execution_timed_out_event_attributes: WorkflowExecutionTimedOutEventAttributes + decision_task_scheduled_event_attributes: DecisionTaskScheduledEventAttributes + decision_task_started_event_attributes: DecisionTaskStartedEventAttributes + decision_task_completed_event_attributes: DecisionTaskCompletedEventAttributes + decision_task_timed_out_event_attributes: DecisionTaskTimedOutEventAttributes + decision_task_failed_event_attributes: DecisionTaskFailedEventAttributes + activity_task_scheduled_event_attributes: ActivityTaskScheduledEventAttributes + activity_task_started_event_attributes: ActivityTaskStartedEventAttributes + activity_task_completed_event_attributes: ActivityTaskCompletedEventAttributes + activity_task_failed_event_attributes: ActivityTaskFailedEventAttributes + activity_task_timed_out_event_attributes: ActivityTaskTimedOutEventAttributes + timer_started_event_attributes: TimerStartedEventAttributes + timer_fired_event_attributes: TimerFiredEventAttributes + activity_task_cancel_requested_event_attributes: ActivityTaskCancelRequestedEventAttributes + request_cancel_activity_task_failed_event_attributes: RequestCancelActivityTaskFailedEventAttributes + activity_task_canceled_event_attributes: ActivityTaskCanceledEventAttributes + timer_canceled_event_attributes: TimerCanceledEventAttributes + cancel_timer_failed_event_attributes: CancelTimerFailedEventAttributes + marker_recorded_event_attributes: MarkerRecordedEventAttributes + workflow_execution_signaled_event_attributes: WorkflowExecutionSignaledEventAttributes + workflow_execution_terminated_event_attributes: WorkflowExecutionTerminatedEventAttributes + workflow_execution_cancel_requested_event_attributes: WorkflowExecutionCancelRequestedEventAttributes + workflow_execution_canceled_event_attributes: WorkflowExecutionCanceledEventAttributes + request_cancel_external_workflow_execution_initiated_event_attributes: RequestCancelExternalWorkflowExecutionInitiatedEventAttributes + request_cancel_external_workflow_execution_failed_event_attributes: RequestCancelExternalWorkflowExecutionFailedEventAttributes + external_workflow_execution_cancel_requested_event_attributes: ExternalWorkflowExecutionCancelRequestedEventAttributes + workflow_execution_continued_as_new_event_attributes: WorkflowExecutionContinuedAsNewEventAttributes + start_child_workflow_execution_initiated_event_attributes: StartChildWorkflowExecutionInitiatedEventAttributes + start_child_workflow_execution_failed_event_attributes: StartChildWorkflowExecutionFailedEventAttributes + child_workflow_execution_started_event_attributes: ChildWorkflowExecutionStartedEventAttributes + child_workflow_execution_completed_event_attributes: ChildWorkflowExecutionCompletedEventAttributes + child_workflow_execution_failed_event_attributes: ChildWorkflowExecutionFailedEventAttributes + child_workflow_execution_canceled_event_attributes: ChildWorkflowExecutionCanceledEventAttributes + child_workflow_execution_timed_out_event_attributes: ChildWorkflowExecutionTimedOutEventAttributes + child_workflow_execution_terminated_event_attributes: ChildWorkflowExecutionTerminatedEventAttributes + signal_external_workflow_execution_initiated_event_attributes: SignalExternalWorkflowExecutionInitiatedEventAttributes + signal_external_workflow_execution_failed_event_attributes: SignalExternalWorkflowExecutionFailedEventAttributes + external_workflow_execution_signaled_event_attributes: ExternalWorkflowExecutionSignaledEventAttributes + upsert_workflow_search_attributes_event_attributes: UpsertWorkflowSearchAttributesEventAttributes + def __init__(self, event_id: _Optional[int] = ..., event_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., version: _Optional[int] = ..., task_id: _Optional[int] = ..., workflow_execution_started_event_attributes: _Optional[_Union[WorkflowExecutionStartedEventAttributes, _Mapping]] = ..., workflow_execution_completed_event_attributes: _Optional[_Union[WorkflowExecutionCompletedEventAttributes, _Mapping]] = ..., workflow_execution_failed_event_attributes: _Optional[_Union[WorkflowExecutionFailedEventAttributes, _Mapping]] = ..., workflow_execution_timed_out_event_attributes: _Optional[_Union[WorkflowExecutionTimedOutEventAttributes, _Mapping]] = ..., decision_task_scheduled_event_attributes: _Optional[_Union[DecisionTaskScheduledEventAttributes, _Mapping]] = ..., decision_task_started_event_attributes: _Optional[_Union[DecisionTaskStartedEventAttributes, _Mapping]] = ..., decision_task_completed_event_attributes: _Optional[_Union[DecisionTaskCompletedEventAttributes, _Mapping]] = ..., decision_task_timed_out_event_attributes: _Optional[_Union[DecisionTaskTimedOutEventAttributes, _Mapping]] = ..., decision_task_failed_event_attributes: _Optional[_Union[DecisionTaskFailedEventAttributes, _Mapping]] = ..., activity_task_scheduled_event_attributes: _Optional[_Union[ActivityTaskScheduledEventAttributes, _Mapping]] = ..., activity_task_started_event_attributes: _Optional[_Union[ActivityTaskStartedEventAttributes, _Mapping]] = ..., activity_task_completed_event_attributes: _Optional[_Union[ActivityTaskCompletedEventAttributes, _Mapping]] = ..., activity_task_failed_event_attributes: _Optional[_Union[ActivityTaskFailedEventAttributes, _Mapping]] = ..., activity_task_timed_out_event_attributes: _Optional[_Union[ActivityTaskTimedOutEventAttributes, _Mapping]] = ..., timer_started_event_attributes: _Optional[_Union[TimerStartedEventAttributes, _Mapping]] = ..., timer_fired_event_attributes: _Optional[_Union[TimerFiredEventAttributes, _Mapping]] = ..., activity_task_cancel_requested_event_attributes: _Optional[_Union[ActivityTaskCancelRequestedEventAttributes, _Mapping]] = ..., request_cancel_activity_task_failed_event_attributes: _Optional[_Union[RequestCancelActivityTaskFailedEventAttributes, _Mapping]] = ..., activity_task_canceled_event_attributes: _Optional[_Union[ActivityTaskCanceledEventAttributes, _Mapping]] = ..., timer_canceled_event_attributes: _Optional[_Union[TimerCanceledEventAttributes, _Mapping]] = ..., cancel_timer_failed_event_attributes: _Optional[_Union[CancelTimerFailedEventAttributes, _Mapping]] = ..., marker_recorded_event_attributes: _Optional[_Union[MarkerRecordedEventAttributes, _Mapping]] = ..., workflow_execution_signaled_event_attributes: _Optional[_Union[WorkflowExecutionSignaledEventAttributes, _Mapping]] = ..., workflow_execution_terminated_event_attributes: _Optional[_Union[WorkflowExecutionTerminatedEventAttributes, _Mapping]] = ..., workflow_execution_cancel_requested_event_attributes: _Optional[_Union[WorkflowExecutionCancelRequestedEventAttributes, _Mapping]] = ..., workflow_execution_canceled_event_attributes: _Optional[_Union[WorkflowExecutionCanceledEventAttributes, _Mapping]] = ..., request_cancel_external_workflow_execution_initiated_event_attributes: _Optional[_Union[RequestCancelExternalWorkflowExecutionInitiatedEventAttributes, _Mapping]] = ..., request_cancel_external_workflow_execution_failed_event_attributes: _Optional[_Union[RequestCancelExternalWorkflowExecutionFailedEventAttributes, _Mapping]] = ..., external_workflow_execution_cancel_requested_event_attributes: _Optional[_Union[ExternalWorkflowExecutionCancelRequestedEventAttributes, _Mapping]] = ..., workflow_execution_continued_as_new_event_attributes: _Optional[_Union[WorkflowExecutionContinuedAsNewEventAttributes, _Mapping]] = ..., start_child_workflow_execution_initiated_event_attributes: _Optional[_Union[StartChildWorkflowExecutionInitiatedEventAttributes, _Mapping]] = ..., start_child_workflow_execution_failed_event_attributes: _Optional[_Union[StartChildWorkflowExecutionFailedEventAttributes, _Mapping]] = ..., child_workflow_execution_started_event_attributes: _Optional[_Union[ChildWorkflowExecutionStartedEventAttributes, _Mapping]] = ..., child_workflow_execution_completed_event_attributes: _Optional[_Union[ChildWorkflowExecutionCompletedEventAttributes, _Mapping]] = ..., child_workflow_execution_failed_event_attributes: _Optional[_Union[ChildWorkflowExecutionFailedEventAttributes, _Mapping]] = ..., child_workflow_execution_canceled_event_attributes: _Optional[_Union[ChildWorkflowExecutionCanceledEventAttributes, _Mapping]] = ..., child_workflow_execution_timed_out_event_attributes: _Optional[_Union[ChildWorkflowExecutionTimedOutEventAttributes, _Mapping]] = ..., child_workflow_execution_terminated_event_attributes: _Optional[_Union[ChildWorkflowExecutionTerminatedEventAttributes, _Mapping]] = ..., signal_external_workflow_execution_initiated_event_attributes: _Optional[_Union[SignalExternalWorkflowExecutionInitiatedEventAttributes, _Mapping]] = ..., signal_external_workflow_execution_failed_event_attributes: _Optional[_Union[SignalExternalWorkflowExecutionFailedEventAttributes, _Mapping]] = ..., external_workflow_execution_signaled_event_attributes: _Optional[_Union[ExternalWorkflowExecutionSignaledEventAttributes, _Mapping]] = ..., upsert_workflow_search_attributes_event_attributes: _Optional[_Union[UpsertWorkflowSearchAttributesEventAttributes, _Mapping]] = ...) -> None: ... + +class WorkflowExecutionStartedEventAttributes(_message.Message): + __slots__ = ("workflow_type", "parent_execution_info", "task_list", "input", "execution_start_to_close_timeout", "task_start_to_close_timeout", "continued_execution_run_id", "initiator", "continued_failure", "last_completion_result", "original_execution_run_id", "identity", "first_execution_run_id", "retry_policy", "attempt", "expiration_time", "cron_schedule", "first_decision_task_backoff", "memo", "search_attributes", "prev_auto_reset_points", "header", "first_scheduled_time", "partition_config", "request_id", "cron_overlap_policy", "active_cluster_selection_policy") + class PartitionConfigEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: str + def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ... + WORKFLOW_TYPE_FIELD_NUMBER: _ClassVar[int] + PARENT_EXECUTION_INFO_FIELD_NUMBER: _ClassVar[int] + TASK_LIST_FIELD_NUMBER: _ClassVar[int] + INPUT_FIELD_NUMBER: _ClassVar[int] + EXECUTION_START_TO_CLOSE_TIMEOUT_FIELD_NUMBER: _ClassVar[int] + TASK_START_TO_CLOSE_TIMEOUT_FIELD_NUMBER: _ClassVar[int] + CONTINUED_EXECUTION_RUN_ID_FIELD_NUMBER: _ClassVar[int] + INITIATOR_FIELD_NUMBER: _ClassVar[int] + CONTINUED_FAILURE_FIELD_NUMBER: _ClassVar[int] + LAST_COMPLETION_RESULT_FIELD_NUMBER: _ClassVar[int] + ORIGINAL_EXECUTION_RUN_ID_FIELD_NUMBER: _ClassVar[int] + IDENTITY_FIELD_NUMBER: _ClassVar[int] + FIRST_EXECUTION_RUN_ID_FIELD_NUMBER: _ClassVar[int] + RETRY_POLICY_FIELD_NUMBER: _ClassVar[int] + ATTEMPT_FIELD_NUMBER: _ClassVar[int] + EXPIRATION_TIME_FIELD_NUMBER: _ClassVar[int] + CRON_SCHEDULE_FIELD_NUMBER: _ClassVar[int] + FIRST_DECISION_TASK_BACKOFF_FIELD_NUMBER: _ClassVar[int] + MEMO_FIELD_NUMBER: _ClassVar[int] + SEARCH_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + PREV_AUTO_RESET_POINTS_FIELD_NUMBER: _ClassVar[int] + HEADER_FIELD_NUMBER: _ClassVar[int] + FIRST_SCHEDULED_TIME_FIELD_NUMBER: _ClassVar[int] + PARTITION_CONFIG_FIELD_NUMBER: _ClassVar[int] + REQUEST_ID_FIELD_NUMBER: _ClassVar[int] + CRON_OVERLAP_POLICY_FIELD_NUMBER: _ClassVar[int] + ACTIVE_CLUSTER_SELECTION_POLICY_FIELD_NUMBER: _ClassVar[int] + workflow_type: _common_pb2.WorkflowType + parent_execution_info: _workflow_pb2.ParentExecutionInfo + task_list: _tasklist_pb2.TaskList + input: _common_pb2.Payload + execution_start_to_close_timeout: _duration_pb2.Duration + task_start_to_close_timeout: _duration_pb2.Duration + continued_execution_run_id: str + initiator: _workflow_pb2.ContinueAsNewInitiator + continued_failure: _common_pb2.Failure + last_completion_result: _common_pb2.Payload + original_execution_run_id: str + identity: str + first_execution_run_id: str + retry_policy: _common_pb2.RetryPolicy + attempt: int + expiration_time: _timestamp_pb2.Timestamp + cron_schedule: str + first_decision_task_backoff: _duration_pb2.Duration + memo: _common_pb2.Memo + search_attributes: _common_pb2.SearchAttributes + prev_auto_reset_points: _workflow_pb2.ResetPoints + header: _common_pb2.Header + first_scheduled_time: _timestamp_pb2.Timestamp + partition_config: _containers.ScalarMap[str, str] + request_id: str + cron_overlap_policy: _workflow_pb2.CronOverlapPolicy + active_cluster_selection_policy: _common_pb2.ActiveClusterSelectionPolicy + def __init__(self, workflow_type: _Optional[_Union[_common_pb2.WorkflowType, _Mapping]] = ..., parent_execution_info: _Optional[_Union[_workflow_pb2.ParentExecutionInfo, _Mapping]] = ..., task_list: _Optional[_Union[_tasklist_pb2.TaskList, _Mapping]] = ..., input: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., execution_start_to_close_timeout: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., task_start_to_close_timeout: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., continued_execution_run_id: _Optional[str] = ..., initiator: _Optional[_Union[_workflow_pb2.ContinueAsNewInitiator, str]] = ..., continued_failure: _Optional[_Union[_common_pb2.Failure, _Mapping]] = ..., last_completion_result: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., original_execution_run_id: _Optional[str] = ..., identity: _Optional[str] = ..., first_execution_run_id: _Optional[str] = ..., retry_policy: _Optional[_Union[_common_pb2.RetryPolicy, _Mapping]] = ..., attempt: _Optional[int] = ..., expiration_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., cron_schedule: _Optional[str] = ..., first_decision_task_backoff: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., memo: _Optional[_Union[_common_pb2.Memo, _Mapping]] = ..., search_attributes: _Optional[_Union[_common_pb2.SearchAttributes, _Mapping]] = ..., prev_auto_reset_points: _Optional[_Union[_workflow_pb2.ResetPoints, _Mapping]] = ..., header: _Optional[_Union[_common_pb2.Header, _Mapping]] = ..., first_scheduled_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., partition_config: _Optional[_Mapping[str, str]] = ..., request_id: _Optional[str] = ..., cron_overlap_policy: _Optional[_Union[_workflow_pb2.CronOverlapPolicy, str]] = ..., active_cluster_selection_policy: _Optional[_Union[_common_pb2.ActiveClusterSelectionPolicy, _Mapping]] = ...) -> None: ... + +class WorkflowExecutionCompletedEventAttributes(_message.Message): + __slots__ = ("result", "decision_task_completed_event_id") + RESULT_FIELD_NUMBER: _ClassVar[int] + DECISION_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + result: _common_pb2.Payload + decision_task_completed_event_id: int + def __init__(self, result: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., decision_task_completed_event_id: _Optional[int] = ...) -> None: ... + +class WorkflowExecutionFailedEventAttributes(_message.Message): + __slots__ = ("failure", "decision_task_completed_event_id") + FAILURE_FIELD_NUMBER: _ClassVar[int] + DECISION_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + failure: _common_pb2.Failure + decision_task_completed_event_id: int + def __init__(self, failure: _Optional[_Union[_common_pb2.Failure, _Mapping]] = ..., decision_task_completed_event_id: _Optional[int] = ...) -> None: ... + +class WorkflowExecutionTimedOutEventAttributes(_message.Message): + __slots__ = ("timeout_type",) + TIMEOUT_TYPE_FIELD_NUMBER: _ClassVar[int] + timeout_type: _workflow_pb2.TimeoutType + def __init__(self, timeout_type: _Optional[_Union[_workflow_pb2.TimeoutType, str]] = ...) -> None: ... + +class DecisionTaskScheduledEventAttributes(_message.Message): + __slots__ = ("task_list", "start_to_close_timeout", "attempt") + TASK_LIST_FIELD_NUMBER: _ClassVar[int] + START_TO_CLOSE_TIMEOUT_FIELD_NUMBER: _ClassVar[int] + ATTEMPT_FIELD_NUMBER: _ClassVar[int] + task_list: _tasklist_pb2.TaskList + start_to_close_timeout: _duration_pb2.Duration + attempt: int + def __init__(self, task_list: _Optional[_Union[_tasklist_pb2.TaskList, _Mapping]] = ..., start_to_close_timeout: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., attempt: _Optional[int] = ...) -> None: ... + +class DecisionTaskStartedEventAttributes(_message.Message): + __slots__ = ("scheduled_event_id", "identity", "request_id") + SCHEDULED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + IDENTITY_FIELD_NUMBER: _ClassVar[int] + REQUEST_ID_FIELD_NUMBER: _ClassVar[int] + scheduled_event_id: int + identity: str + request_id: str + def __init__(self, scheduled_event_id: _Optional[int] = ..., identity: _Optional[str] = ..., request_id: _Optional[str] = ...) -> None: ... + +class DecisionTaskCompletedEventAttributes(_message.Message): + __slots__ = ("scheduled_event_id", "started_event_id", "identity", "binary_checksum", "execution_context") + SCHEDULED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + STARTED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + IDENTITY_FIELD_NUMBER: _ClassVar[int] + BINARY_CHECKSUM_FIELD_NUMBER: _ClassVar[int] + EXECUTION_CONTEXT_FIELD_NUMBER: _ClassVar[int] + scheduled_event_id: int + started_event_id: int + identity: str + binary_checksum: str + execution_context: bytes + def __init__(self, scheduled_event_id: _Optional[int] = ..., started_event_id: _Optional[int] = ..., identity: _Optional[str] = ..., binary_checksum: _Optional[str] = ..., execution_context: _Optional[bytes] = ...) -> None: ... + +class DecisionTaskTimedOutEventAttributes(_message.Message): + __slots__ = ("scheduled_event_id", "started_event_id", "timeout_type", "base_run_id", "new_run_id", "fork_event_version", "reason", "cause", "request_id") + SCHEDULED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + STARTED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + TIMEOUT_TYPE_FIELD_NUMBER: _ClassVar[int] + BASE_RUN_ID_FIELD_NUMBER: _ClassVar[int] + NEW_RUN_ID_FIELD_NUMBER: _ClassVar[int] + FORK_EVENT_VERSION_FIELD_NUMBER: _ClassVar[int] + REASON_FIELD_NUMBER: _ClassVar[int] + CAUSE_FIELD_NUMBER: _ClassVar[int] + REQUEST_ID_FIELD_NUMBER: _ClassVar[int] + scheduled_event_id: int + started_event_id: int + timeout_type: _workflow_pb2.TimeoutType + base_run_id: str + new_run_id: str + fork_event_version: int + reason: str + cause: _workflow_pb2.DecisionTaskTimedOutCause + request_id: str + def __init__(self, scheduled_event_id: _Optional[int] = ..., started_event_id: _Optional[int] = ..., timeout_type: _Optional[_Union[_workflow_pb2.TimeoutType, str]] = ..., base_run_id: _Optional[str] = ..., new_run_id: _Optional[str] = ..., fork_event_version: _Optional[int] = ..., reason: _Optional[str] = ..., cause: _Optional[_Union[_workflow_pb2.DecisionTaskTimedOutCause, str]] = ..., request_id: _Optional[str] = ...) -> None: ... + +class DecisionTaskFailedEventAttributes(_message.Message): + __slots__ = ("scheduled_event_id", "started_event_id", "cause", "failure", "identity", "base_run_id", "new_run_id", "fork_event_version", "binary_checksum", "request_id") + SCHEDULED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + STARTED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + CAUSE_FIELD_NUMBER: _ClassVar[int] + FAILURE_FIELD_NUMBER: _ClassVar[int] + IDENTITY_FIELD_NUMBER: _ClassVar[int] + BASE_RUN_ID_FIELD_NUMBER: _ClassVar[int] + NEW_RUN_ID_FIELD_NUMBER: _ClassVar[int] + FORK_EVENT_VERSION_FIELD_NUMBER: _ClassVar[int] + BINARY_CHECKSUM_FIELD_NUMBER: _ClassVar[int] + REQUEST_ID_FIELD_NUMBER: _ClassVar[int] + scheduled_event_id: int + started_event_id: int + cause: _workflow_pb2.DecisionTaskFailedCause + failure: _common_pb2.Failure + identity: str + base_run_id: str + new_run_id: str + fork_event_version: int + binary_checksum: str + request_id: str + def __init__(self, scheduled_event_id: _Optional[int] = ..., started_event_id: _Optional[int] = ..., cause: _Optional[_Union[_workflow_pb2.DecisionTaskFailedCause, str]] = ..., failure: _Optional[_Union[_common_pb2.Failure, _Mapping]] = ..., identity: _Optional[str] = ..., base_run_id: _Optional[str] = ..., new_run_id: _Optional[str] = ..., fork_event_version: _Optional[int] = ..., binary_checksum: _Optional[str] = ..., request_id: _Optional[str] = ...) -> None: ... + +class ActivityTaskScheduledEventAttributes(_message.Message): + __slots__ = ("activity_id", "activity_type", "domain", "task_list", "input", "schedule_to_close_timeout", "schedule_to_start_timeout", "start_to_close_timeout", "heartbeat_timeout", "decision_task_completed_event_id", "retry_policy", "header") + ACTIVITY_ID_FIELD_NUMBER: _ClassVar[int] + ACTIVITY_TYPE_FIELD_NUMBER: _ClassVar[int] + DOMAIN_FIELD_NUMBER: _ClassVar[int] + TASK_LIST_FIELD_NUMBER: _ClassVar[int] + INPUT_FIELD_NUMBER: _ClassVar[int] + SCHEDULE_TO_CLOSE_TIMEOUT_FIELD_NUMBER: _ClassVar[int] + SCHEDULE_TO_START_TIMEOUT_FIELD_NUMBER: _ClassVar[int] + START_TO_CLOSE_TIMEOUT_FIELD_NUMBER: _ClassVar[int] + HEARTBEAT_TIMEOUT_FIELD_NUMBER: _ClassVar[int] + DECISION_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + RETRY_POLICY_FIELD_NUMBER: _ClassVar[int] + HEADER_FIELD_NUMBER: _ClassVar[int] + activity_id: str + activity_type: _common_pb2.ActivityType + domain: str + task_list: _tasklist_pb2.TaskList + input: _common_pb2.Payload + schedule_to_close_timeout: _duration_pb2.Duration + schedule_to_start_timeout: _duration_pb2.Duration + start_to_close_timeout: _duration_pb2.Duration + heartbeat_timeout: _duration_pb2.Duration + decision_task_completed_event_id: int + retry_policy: _common_pb2.RetryPolicy + header: _common_pb2.Header + def __init__(self, activity_id: _Optional[str] = ..., activity_type: _Optional[_Union[_common_pb2.ActivityType, _Mapping]] = ..., domain: _Optional[str] = ..., task_list: _Optional[_Union[_tasklist_pb2.TaskList, _Mapping]] = ..., input: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., schedule_to_close_timeout: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., schedule_to_start_timeout: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., start_to_close_timeout: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., heartbeat_timeout: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., decision_task_completed_event_id: _Optional[int] = ..., retry_policy: _Optional[_Union[_common_pb2.RetryPolicy, _Mapping]] = ..., header: _Optional[_Union[_common_pb2.Header, _Mapping]] = ...) -> None: ... + +class ActivityTaskStartedEventAttributes(_message.Message): + __slots__ = ("scheduled_event_id", "identity", "request_id", "attempt", "last_failure") + SCHEDULED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + IDENTITY_FIELD_NUMBER: _ClassVar[int] + REQUEST_ID_FIELD_NUMBER: _ClassVar[int] + ATTEMPT_FIELD_NUMBER: _ClassVar[int] + LAST_FAILURE_FIELD_NUMBER: _ClassVar[int] + scheduled_event_id: int + identity: str + request_id: str + attempt: int + last_failure: _common_pb2.Failure + def __init__(self, scheduled_event_id: _Optional[int] = ..., identity: _Optional[str] = ..., request_id: _Optional[str] = ..., attempt: _Optional[int] = ..., last_failure: _Optional[_Union[_common_pb2.Failure, _Mapping]] = ...) -> None: ... + +class ActivityTaskCompletedEventAttributes(_message.Message): + __slots__ = ("result", "scheduled_event_id", "started_event_id", "identity") + RESULT_FIELD_NUMBER: _ClassVar[int] + SCHEDULED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + STARTED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + IDENTITY_FIELD_NUMBER: _ClassVar[int] + result: _common_pb2.Payload + scheduled_event_id: int + started_event_id: int + identity: str + def __init__(self, result: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., scheduled_event_id: _Optional[int] = ..., started_event_id: _Optional[int] = ..., identity: _Optional[str] = ...) -> None: ... + +class ActivityTaskFailedEventAttributes(_message.Message): + __slots__ = ("failure", "scheduled_event_id", "started_event_id", "identity") + FAILURE_FIELD_NUMBER: _ClassVar[int] + SCHEDULED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + STARTED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + IDENTITY_FIELD_NUMBER: _ClassVar[int] + failure: _common_pb2.Failure + scheduled_event_id: int + started_event_id: int + identity: str + def __init__(self, failure: _Optional[_Union[_common_pb2.Failure, _Mapping]] = ..., scheduled_event_id: _Optional[int] = ..., started_event_id: _Optional[int] = ..., identity: _Optional[str] = ...) -> None: ... + +class ActivityTaskTimedOutEventAttributes(_message.Message): + __slots__ = ("details", "scheduled_event_id", "started_event_id", "timeout_type", "last_failure") + DETAILS_FIELD_NUMBER: _ClassVar[int] + SCHEDULED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + STARTED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + TIMEOUT_TYPE_FIELD_NUMBER: _ClassVar[int] + LAST_FAILURE_FIELD_NUMBER: _ClassVar[int] + details: _common_pb2.Payload + scheduled_event_id: int + started_event_id: int + timeout_type: _workflow_pb2.TimeoutType + last_failure: _common_pb2.Failure + def __init__(self, details: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., scheduled_event_id: _Optional[int] = ..., started_event_id: _Optional[int] = ..., timeout_type: _Optional[_Union[_workflow_pb2.TimeoutType, str]] = ..., last_failure: _Optional[_Union[_common_pb2.Failure, _Mapping]] = ...) -> None: ... + +class ActivityTaskCancelRequestedEventAttributes(_message.Message): + __slots__ = ("activity_id", "decision_task_completed_event_id") + ACTIVITY_ID_FIELD_NUMBER: _ClassVar[int] + DECISION_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + activity_id: str + decision_task_completed_event_id: int + def __init__(self, activity_id: _Optional[str] = ..., decision_task_completed_event_id: _Optional[int] = ...) -> None: ... + +class RequestCancelActivityTaskFailedEventAttributes(_message.Message): + __slots__ = ("activity_id", "cause", "decision_task_completed_event_id") + ACTIVITY_ID_FIELD_NUMBER: _ClassVar[int] + CAUSE_FIELD_NUMBER: _ClassVar[int] + DECISION_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + activity_id: str + cause: str + decision_task_completed_event_id: int + def __init__(self, activity_id: _Optional[str] = ..., cause: _Optional[str] = ..., decision_task_completed_event_id: _Optional[int] = ...) -> None: ... + +class ActivityTaskCanceledEventAttributes(_message.Message): + __slots__ = ("details", "latest_cancel_requested_event_id", "scheduled_event_id", "started_event_id", "identity") + DETAILS_FIELD_NUMBER: _ClassVar[int] + LATEST_CANCEL_REQUESTED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + SCHEDULED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + STARTED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + IDENTITY_FIELD_NUMBER: _ClassVar[int] + details: _common_pb2.Payload + latest_cancel_requested_event_id: int + scheduled_event_id: int + started_event_id: int + identity: str + def __init__(self, details: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., latest_cancel_requested_event_id: _Optional[int] = ..., scheduled_event_id: _Optional[int] = ..., started_event_id: _Optional[int] = ..., identity: _Optional[str] = ...) -> None: ... + +class TimerStartedEventAttributes(_message.Message): + __slots__ = ("timer_id", "start_to_fire_timeout", "decision_task_completed_event_id") + TIMER_ID_FIELD_NUMBER: _ClassVar[int] + START_TO_FIRE_TIMEOUT_FIELD_NUMBER: _ClassVar[int] + DECISION_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + timer_id: str + start_to_fire_timeout: _duration_pb2.Duration + decision_task_completed_event_id: int + def __init__(self, timer_id: _Optional[str] = ..., start_to_fire_timeout: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., decision_task_completed_event_id: _Optional[int] = ...) -> None: ... + +class TimerFiredEventAttributes(_message.Message): + __slots__ = ("timer_id", "started_event_id") + TIMER_ID_FIELD_NUMBER: _ClassVar[int] + STARTED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + timer_id: str + started_event_id: int + def __init__(self, timer_id: _Optional[str] = ..., started_event_id: _Optional[int] = ...) -> None: ... + +class TimerCanceledEventAttributes(_message.Message): + __slots__ = ("timer_id", "started_event_id", "decision_task_completed_event_id", "identity") + TIMER_ID_FIELD_NUMBER: _ClassVar[int] + STARTED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + DECISION_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + IDENTITY_FIELD_NUMBER: _ClassVar[int] + timer_id: str + started_event_id: int + decision_task_completed_event_id: int + identity: str + def __init__(self, timer_id: _Optional[str] = ..., started_event_id: _Optional[int] = ..., decision_task_completed_event_id: _Optional[int] = ..., identity: _Optional[str] = ...) -> None: ... + +class CancelTimerFailedEventAttributes(_message.Message): + __slots__ = ("timer_id", "cause", "decision_task_completed_event_id", "identity") + TIMER_ID_FIELD_NUMBER: _ClassVar[int] + CAUSE_FIELD_NUMBER: _ClassVar[int] + DECISION_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + IDENTITY_FIELD_NUMBER: _ClassVar[int] + timer_id: str + cause: str + decision_task_completed_event_id: int + identity: str + def __init__(self, timer_id: _Optional[str] = ..., cause: _Optional[str] = ..., decision_task_completed_event_id: _Optional[int] = ..., identity: _Optional[str] = ...) -> None: ... + +class WorkflowExecutionContinuedAsNewEventAttributes(_message.Message): + __slots__ = ("new_execution_run_id", "workflow_type", "task_list", "input", "execution_start_to_close_timeout", "task_start_to_close_timeout", "decision_task_completed_event_id", "backoff_start_interval", "initiator", "failure", "last_completion_result", "header", "memo", "search_attributes") + NEW_EXECUTION_RUN_ID_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_TYPE_FIELD_NUMBER: _ClassVar[int] + TASK_LIST_FIELD_NUMBER: _ClassVar[int] + INPUT_FIELD_NUMBER: _ClassVar[int] + EXECUTION_START_TO_CLOSE_TIMEOUT_FIELD_NUMBER: _ClassVar[int] + TASK_START_TO_CLOSE_TIMEOUT_FIELD_NUMBER: _ClassVar[int] + DECISION_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + BACKOFF_START_INTERVAL_FIELD_NUMBER: _ClassVar[int] + INITIATOR_FIELD_NUMBER: _ClassVar[int] + FAILURE_FIELD_NUMBER: _ClassVar[int] + LAST_COMPLETION_RESULT_FIELD_NUMBER: _ClassVar[int] + HEADER_FIELD_NUMBER: _ClassVar[int] + MEMO_FIELD_NUMBER: _ClassVar[int] + SEARCH_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + new_execution_run_id: str + workflow_type: _common_pb2.WorkflowType + task_list: _tasklist_pb2.TaskList + input: _common_pb2.Payload + execution_start_to_close_timeout: _duration_pb2.Duration + task_start_to_close_timeout: _duration_pb2.Duration + decision_task_completed_event_id: int + backoff_start_interval: _duration_pb2.Duration + initiator: _workflow_pb2.ContinueAsNewInitiator + failure: _common_pb2.Failure + last_completion_result: _common_pb2.Payload + header: _common_pb2.Header + memo: _common_pb2.Memo + search_attributes: _common_pb2.SearchAttributes + def __init__(self, new_execution_run_id: _Optional[str] = ..., workflow_type: _Optional[_Union[_common_pb2.WorkflowType, _Mapping]] = ..., task_list: _Optional[_Union[_tasklist_pb2.TaskList, _Mapping]] = ..., input: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., execution_start_to_close_timeout: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., task_start_to_close_timeout: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., decision_task_completed_event_id: _Optional[int] = ..., backoff_start_interval: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., initiator: _Optional[_Union[_workflow_pb2.ContinueAsNewInitiator, str]] = ..., failure: _Optional[_Union[_common_pb2.Failure, _Mapping]] = ..., last_completion_result: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., header: _Optional[_Union[_common_pb2.Header, _Mapping]] = ..., memo: _Optional[_Union[_common_pb2.Memo, _Mapping]] = ..., search_attributes: _Optional[_Union[_common_pb2.SearchAttributes, _Mapping]] = ...) -> None: ... + +class WorkflowExecutionCancelRequestedEventAttributes(_message.Message): + __slots__ = ("cause", "identity", "external_execution_info", "request_id") + CAUSE_FIELD_NUMBER: _ClassVar[int] + IDENTITY_FIELD_NUMBER: _ClassVar[int] + EXTERNAL_EXECUTION_INFO_FIELD_NUMBER: _ClassVar[int] + REQUEST_ID_FIELD_NUMBER: _ClassVar[int] + cause: str + identity: str + external_execution_info: _workflow_pb2.ExternalExecutionInfo + request_id: str + def __init__(self, cause: _Optional[str] = ..., identity: _Optional[str] = ..., external_execution_info: _Optional[_Union[_workflow_pb2.ExternalExecutionInfo, _Mapping]] = ..., request_id: _Optional[str] = ...) -> None: ... + +class WorkflowExecutionCanceledEventAttributes(_message.Message): + __slots__ = ("decision_task_completed_event_id", "details") + DECISION_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + DETAILS_FIELD_NUMBER: _ClassVar[int] + decision_task_completed_event_id: int + details: _common_pb2.Payload + def __init__(self, decision_task_completed_event_id: _Optional[int] = ..., details: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ...) -> None: ... + +class MarkerRecordedEventAttributes(_message.Message): + __slots__ = ("marker_name", "details", "decision_task_completed_event_id", "header") + MARKER_NAME_FIELD_NUMBER: _ClassVar[int] + DETAILS_FIELD_NUMBER: _ClassVar[int] + DECISION_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + HEADER_FIELD_NUMBER: _ClassVar[int] + marker_name: str + details: _common_pb2.Payload + decision_task_completed_event_id: int + header: _common_pb2.Header + def __init__(self, marker_name: _Optional[str] = ..., details: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., decision_task_completed_event_id: _Optional[int] = ..., header: _Optional[_Union[_common_pb2.Header, _Mapping]] = ...) -> None: ... + +class WorkflowExecutionSignaledEventAttributes(_message.Message): + __slots__ = ("signal_name", "input", "identity", "request_id") + SIGNAL_NAME_FIELD_NUMBER: _ClassVar[int] + INPUT_FIELD_NUMBER: _ClassVar[int] + IDENTITY_FIELD_NUMBER: _ClassVar[int] + REQUEST_ID_FIELD_NUMBER: _ClassVar[int] + signal_name: str + input: _common_pb2.Payload + identity: str + request_id: str + def __init__(self, signal_name: _Optional[str] = ..., input: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., identity: _Optional[str] = ..., request_id: _Optional[str] = ...) -> None: ... + +class WorkflowExecutionTerminatedEventAttributes(_message.Message): + __slots__ = ("reason", "details", "identity") + REASON_FIELD_NUMBER: _ClassVar[int] + DETAILS_FIELD_NUMBER: _ClassVar[int] + IDENTITY_FIELD_NUMBER: _ClassVar[int] + reason: str + details: _common_pb2.Payload + identity: str + def __init__(self, reason: _Optional[str] = ..., details: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., identity: _Optional[str] = ...) -> None: ... + +class RequestCancelExternalWorkflowExecutionInitiatedEventAttributes(_message.Message): + __slots__ = ("decision_task_completed_event_id", "domain", "workflow_execution", "control", "child_workflow_only") + DECISION_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + DOMAIN_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + CONTROL_FIELD_NUMBER: _ClassVar[int] + CHILD_WORKFLOW_ONLY_FIELD_NUMBER: _ClassVar[int] + decision_task_completed_event_id: int + domain: str + workflow_execution: _common_pb2.WorkflowExecution + control: bytes + child_workflow_only: bool + def __init__(self, decision_task_completed_event_id: _Optional[int] = ..., domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., control: _Optional[bytes] = ..., child_workflow_only: bool = ...) -> None: ... + +class RequestCancelExternalWorkflowExecutionFailedEventAttributes(_message.Message): + __slots__ = ("cause", "decision_task_completed_event_id", "domain", "workflow_execution", "initiated_event_id", "control") + CAUSE_FIELD_NUMBER: _ClassVar[int] + DECISION_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + DOMAIN_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + INITIATED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + CONTROL_FIELD_NUMBER: _ClassVar[int] + cause: _workflow_pb2.CancelExternalWorkflowExecutionFailedCause + decision_task_completed_event_id: int + domain: str + workflow_execution: _common_pb2.WorkflowExecution + initiated_event_id: int + control: bytes + def __init__(self, cause: _Optional[_Union[_workflow_pb2.CancelExternalWorkflowExecutionFailedCause, str]] = ..., decision_task_completed_event_id: _Optional[int] = ..., domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., initiated_event_id: _Optional[int] = ..., control: _Optional[bytes] = ...) -> None: ... + +class ExternalWorkflowExecutionCancelRequestedEventAttributes(_message.Message): + __slots__ = ("initiated_event_id", "domain", "workflow_execution") + INITIATED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + DOMAIN_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + initiated_event_id: int + domain: str + workflow_execution: _common_pb2.WorkflowExecution + def __init__(self, initiated_event_id: _Optional[int] = ..., domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ...) -> None: ... + +class SignalExternalWorkflowExecutionInitiatedEventAttributes(_message.Message): + __slots__ = ("decision_task_completed_event_id", "domain", "workflow_execution", "signal_name", "input", "control", "child_workflow_only") + DECISION_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + DOMAIN_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + SIGNAL_NAME_FIELD_NUMBER: _ClassVar[int] + INPUT_FIELD_NUMBER: _ClassVar[int] + CONTROL_FIELD_NUMBER: _ClassVar[int] + CHILD_WORKFLOW_ONLY_FIELD_NUMBER: _ClassVar[int] + decision_task_completed_event_id: int + domain: str + workflow_execution: _common_pb2.WorkflowExecution + signal_name: str + input: _common_pb2.Payload + control: bytes + child_workflow_only: bool + def __init__(self, decision_task_completed_event_id: _Optional[int] = ..., domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., signal_name: _Optional[str] = ..., input: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., control: _Optional[bytes] = ..., child_workflow_only: bool = ...) -> None: ... + +class SignalExternalWorkflowExecutionFailedEventAttributes(_message.Message): + __slots__ = ("cause", "decision_task_completed_event_id", "domain", "workflow_execution", "initiated_event_id", "control") + CAUSE_FIELD_NUMBER: _ClassVar[int] + DECISION_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + DOMAIN_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + INITIATED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + CONTROL_FIELD_NUMBER: _ClassVar[int] + cause: _workflow_pb2.SignalExternalWorkflowExecutionFailedCause + decision_task_completed_event_id: int + domain: str + workflow_execution: _common_pb2.WorkflowExecution + initiated_event_id: int + control: bytes + def __init__(self, cause: _Optional[_Union[_workflow_pb2.SignalExternalWorkflowExecutionFailedCause, str]] = ..., decision_task_completed_event_id: _Optional[int] = ..., domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., initiated_event_id: _Optional[int] = ..., control: _Optional[bytes] = ...) -> None: ... + +class ExternalWorkflowExecutionSignaledEventAttributes(_message.Message): + __slots__ = ("initiated_event_id", "domain", "workflow_execution", "control") + INITIATED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + DOMAIN_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + CONTROL_FIELD_NUMBER: _ClassVar[int] + initiated_event_id: int + domain: str + workflow_execution: _common_pb2.WorkflowExecution + control: bytes + def __init__(self, initiated_event_id: _Optional[int] = ..., domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., control: _Optional[bytes] = ...) -> None: ... + +class UpsertWorkflowSearchAttributesEventAttributes(_message.Message): + __slots__ = ("decision_task_completed_event_id", "search_attributes") + DECISION_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + SEARCH_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + decision_task_completed_event_id: int + search_attributes: _common_pb2.SearchAttributes + def __init__(self, decision_task_completed_event_id: _Optional[int] = ..., search_attributes: _Optional[_Union[_common_pb2.SearchAttributes, _Mapping]] = ...) -> None: ... + +class StartChildWorkflowExecutionInitiatedEventAttributes(_message.Message): + __slots__ = ("domain", "workflow_id", "workflow_type", "task_list", "input", "execution_start_to_close_timeout", "task_start_to_close_timeout", "parent_close_policy", "control", "decision_task_completed_event_id", "workflow_id_reuse_policy", "retry_policy", "cron_schedule", "header", "memo", "search_attributes", "delay_start", "jitter_start", "first_run_at", "cron_overlap_policy", "active_cluster_selection_policy") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_ID_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_TYPE_FIELD_NUMBER: _ClassVar[int] + TASK_LIST_FIELD_NUMBER: _ClassVar[int] + INPUT_FIELD_NUMBER: _ClassVar[int] + EXECUTION_START_TO_CLOSE_TIMEOUT_FIELD_NUMBER: _ClassVar[int] + TASK_START_TO_CLOSE_TIMEOUT_FIELD_NUMBER: _ClassVar[int] + PARENT_CLOSE_POLICY_FIELD_NUMBER: _ClassVar[int] + CONTROL_FIELD_NUMBER: _ClassVar[int] + DECISION_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_ID_REUSE_POLICY_FIELD_NUMBER: _ClassVar[int] + RETRY_POLICY_FIELD_NUMBER: _ClassVar[int] + CRON_SCHEDULE_FIELD_NUMBER: _ClassVar[int] + HEADER_FIELD_NUMBER: _ClassVar[int] + MEMO_FIELD_NUMBER: _ClassVar[int] + SEARCH_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + DELAY_START_FIELD_NUMBER: _ClassVar[int] + JITTER_START_FIELD_NUMBER: _ClassVar[int] + FIRST_RUN_AT_FIELD_NUMBER: _ClassVar[int] + CRON_OVERLAP_POLICY_FIELD_NUMBER: _ClassVar[int] + ACTIVE_CLUSTER_SELECTION_POLICY_FIELD_NUMBER: _ClassVar[int] + domain: str + workflow_id: str + workflow_type: _common_pb2.WorkflowType + task_list: _tasklist_pb2.TaskList + input: _common_pb2.Payload + execution_start_to_close_timeout: _duration_pb2.Duration + task_start_to_close_timeout: _duration_pb2.Duration + parent_close_policy: _workflow_pb2.ParentClosePolicy + control: bytes + decision_task_completed_event_id: int + workflow_id_reuse_policy: _workflow_pb2.WorkflowIdReusePolicy + retry_policy: _common_pb2.RetryPolicy + cron_schedule: str + header: _common_pb2.Header + memo: _common_pb2.Memo + search_attributes: _common_pb2.SearchAttributes + delay_start: _duration_pb2.Duration + jitter_start: _duration_pb2.Duration + first_run_at: _timestamp_pb2.Timestamp + cron_overlap_policy: _workflow_pb2.CronOverlapPolicy + active_cluster_selection_policy: _common_pb2.ActiveClusterSelectionPolicy + def __init__(self, domain: _Optional[str] = ..., workflow_id: _Optional[str] = ..., workflow_type: _Optional[_Union[_common_pb2.WorkflowType, _Mapping]] = ..., task_list: _Optional[_Union[_tasklist_pb2.TaskList, _Mapping]] = ..., input: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., execution_start_to_close_timeout: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., task_start_to_close_timeout: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., parent_close_policy: _Optional[_Union[_workflow_pb2.ParentClosePolicy, str]] = ..., control: _Optional[bytes] = ..., decision_task_completed_event_id: _Optional[int] = ..., workflow_id_reuse_policy: _Optional[_Union[_workflow_pb2.WorkflowIdReusePolicy, str]] = ..., retry_policy: _Optional[_Union[_common_pb2.RetryPolicy, _Mapping]] = ..., cron_schedule: _Optional[str] = ..., header: _Optional[_Union[_common_pb2.Header, _Mapping]] = ..., memo: _Optional[_Union[_common_pb2.Memo, _Mapping]] = ..., search_attributes: _Optional[_Union[_common_pb2.SearchAttributes, _Mapping]] = ..., delay_start: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., jitter_start: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., first_run_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., cron_overlap_policy: _Optional[_Union[_workflow_pb2.CronOverlapPolicy, str]] = ..., active_cluster_selection_policy: _Optional[_Union[_common_pb2.ActiveClusterSelectionPolicy, _Mapping]] = ...) -> None: ... + +class StartChildWorkflowExecutionFailedEventAttributes(_message.Message): + __slots__ = ("domain", "workflow_id", "workflow_type", "cause", "control", "initiated_event_id", "decision_task_completed_event_id") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_ID_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_TYPE_FIELD_NUMBER: _ClassVar[int] + CAUSE_FIELD_NUMBER: _ClassVar[int] + CONTROL_FIELD_NUMBER: _ClassVar[int] + INITIATED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + DECISION_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + domain: str + workflow_id: str + workflow_type: _common_pb2.WorkflowType + cause: _workflow_pb2.ChildWorkflowExecutionFailedCause + control: bytes + initiated_event_id: int + decision_task_completed_event_id: int + def __init__(self, domain: _Optional[str] = ..., workflow_id: _Optional[str] = ..., workflow_type: _Optional[_Union[_common_pb2.WorkflowType, _Mapping]] = ..., cause: _Optional[_Union[_workflow_pb2.ChildWorkflowExecutionFailedCause, str]] = ..., control: _Optional[bytes] = ..., initiated_event_id: _Optional[int] = ..., decision_task_completed_event_id: _Optional[int] = ...) -> None: ... + +class ChildWorkflowExecutionStartedEventAttributes(_message.Message): + __slots__ = ("domain", "workflow_execution", "workflow_type", "initiated_event_id", "header") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_TYPE_FIELD_NUMBER: _ClassVar[int] + INITIATED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + HEADER_FIELD_NUMBER: _ClassVar[int] + domain: str + workflow_execution: _common_pb2.WorkflowExecution + workflow_type: _common_pb2.WorkflowType + initiated_event_id: int + header: _common_pb2.Header + def __init__(self, domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., workflow_type: _Optional[_Union[_common_pb2.WorkflowType, _Mapping]] = ..., initiated_event_id: _Optional[int] = ..., header: _Optional[_Union[_common_pb2.Header, _Mapping]] = ...) -> None: ... + +class ChildWorkflowExecutionCompletedEventAttributes(_message.Message): + __slots__ = ("domain", "workflow_execution", "workflow_type", "initiated_event_id", "started_event_id", "result") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_TYPE_FIELD_NUMBER: _ClassVar[int] + INITIATED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + STARTED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + RESULT_FIELD_NUMBER: _ClassVar[int] + domain: str + workflow_execution: _common_pb2.WorkflowExecution + workflow_type: _common_pb2.WorkflowType + initiated_event_id: int + started_event_id: int + result: _common_pb2.Payload + def __init__(self, domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., workflow_type: _Optional[_Union[_common_pb2.WorkflowType, _Mapping]] = ..., initiated_event_id: _Optional[int] = ..., started_event_id: _Optional[int] = ..., result: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ...) -> None: ... + +class ChildWorkflowExecutionFailedEventAttributes(_message.Message): + __slots__ = ("domain", "workflow_execution", "workflow_type", "initiated_event_id", "started_event_id", "failure") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_TYPE_FIELD_NUMBER: _ClassVar[int] + INITIATED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + STARTED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + FAILURE_FIELD_NUMBER: _ClassVar[int] + domain: str + workflow_execution: _common_pb2.WorkflowExecution + workflow_type: _common_pb2.WorkflowType + initiated_event_id: int + started_event_id: int + failure: _common_pb2.Failure + def __init__(self, domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., workflow_type: _Optional[_Union[_common_pb2.WorkflowType, _Mapping]] = ..., initiated_event_id: _Optional[int] = ..., started_event_id: _Optional[int] = ..., failure: _Optional[_Union[_common_pb2.Failure, _Mapping]] = ...) -> None: ... + +class ChildWorkflowExecutionCanceledEventAttributes(_message.Message): + __slots__ = ("domain", "workflow_execution", "workflow_type", "initiated_event_id", "started_event_id", "details") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_TYPE_FIELD_NUMBER: _ClassVar[int] + INITIATED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + STARTED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + DETAILS_FIELD_NUMBER: _ClassVar[int] + domain: str + workflow_execution: _common_pb2.WorkflowExecution + workflow_type: _common_pb2.WorkflowType + initiated_event_id: int + started_event_id: int + details: _common_pb2.Payload + def __init__(self, domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., workflow_type: _Optional[_Union[_common_pb2.WorkflowType, _Mapping]] = ..., initiated_event_id: _Optional[int] = ..., started_event_id: _Optional[int] = ..., details: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ...) -> None: ... + +class ChildWorkflowExecutionTimedOutEventAttributes(_message.Message): + __slots__ = ("domain", "workflow_execution", "workflow_type", "initiated_event_id", "started_event_id", "timeout_type") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_TYPE_FIELD_NUMBER: _ClassVar[int] + INITIATED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + STARTED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + TIMEOUT_TYPE_FIELD_NUMBER: _ClassVar[int] + domain: str + workflow_execution: _common_pb2.WorkflowExecution + workflow_type: _common_pb2.WorkflowType + initiated_event_id: int + started_event_id: int + timeout_type: _workflow_pb2.TimeoutType + def __init__(self, domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., workflow_type: _Optional[_Union[_common_pb2.WorkflowType, _Mapping]] = ..., initiated_event_id: _Optional[int] = ..., started_event_id: _Optional[int] = ..., timeout_type: _Optional[_Union[_workflow_pb2.TimeoutType, str]] = ...) -> None: ... + +class ChildWorkflowExecutionTerminatedEventAttributes(_message.Message): + __slots__ = ("domain", "workflow_execution", "workflow_type", "initiated_event_id", "started_event_id") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_TYPE_FIELD_NUMBER: _ClassVar[int] + INITIATED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + STARTED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + domain: str + workflow_execution: _common_pb2.WorkflowExecution + workflow_type: _common_pb2.WorkflowType + initiated_event_id: int + started_event_id: int + def __init__(self, domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., workflow_type: _Optional[_Union[_common_pb2.WorkflowType, _Mapping]] = ..., initiated_event_id: _Optional[int] = ..., started_event_id: _Optional[int] = ...) -> None: ... diff --git a/cadence/shared/api/v1/query_pb2.py b/cadence/shared/api/v1/query_pb2.py new file mode 100644 index 0000000..048a7f4 --- /dev/null +++ b/cadence/shared/api/v1/query_pb2.py @@ -0,0 +1,285 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: uber/cadence/api/v1/query.proto +"""Generated protocol buffer code.""" +from google.protobuf.internal import enum_type_wrapper +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from uber.cadence.api.v1 import common_pb2 as uber_dot_cadence_dot_api_dot_v1_dot_common__pb2 +from uber.cadence.api.v1 import workflow_pb2 as uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='uber/cadence/api/v1/query.proto', + package='uber.cadence.api.v1', + syntax='proto3', + serialized_options=b'\n\027com.uber.cadence.api.v1B\nQueryProtoP\001Z1github.com/uber/cadence-idl/go/proto/api/v1;apiv1', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n\x1fuber/cadence/api/v1/query.proto\x12\x13uber.cadence.api.v1\x1a uber/cadence/api/v1/common.proto\x1a\"uber/cadence/api/v1/workflow.proto\"U\n\rWorkflowQuery\x12\x12\n\nquery_type\x18\x01 \x01(\t\x12\x30\n\nquery_args\x18\x02 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\"\x95\x01\n\x13WorkflowQueryResult\x12\x39\n\x0bresult_type\x18\x01 \x01(\x0e\x32$.uber.cadence.api.v1.QueryResultType\x12,\n\x06\x61nswer\x18\x02 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12\x15\n\rerror_message\x18\x03 \x01(\t\"X\n\rQueryRejected\x12G\n\x0c\x63lose_status\x18\x01 \x01(\x0e\x32\x31.uber.cadence.api.v1.WorkflowExecutionCloseStatus*n\n\x0fQueryResultType\x12\x1d\n\x19QUERY_RESULT_TYPE_INVALID\x10\x00\x12\x1e\n\x1aQUERY_RESULT_TYPE_ANSWERED\x10\x01\x12\x1c\n\x18QUERY_RESULT_TYPE_FAILED\x10\x02*\x91\x01\n\x14QueryRejectCondition\x12\"\n\x1eQUERY_REJECT_CONDITION_INVALID\x10\x00\x12#\n\x1fQUERY_REJECT_CONDITION_NOT_OPEN\x10\x01\x12\x30\n,QUERY_REJECT_CONDITION_NOT_COMPLETED_CLEANLY\x10\x02*\x86\x01\n\x15QueryConsistencyLevel\x12#\n\x1fQUERY_CONSISTENCY_LEVEL_INVALID\x10\x00\x12$\n QUERY_CONSISTENCY_LEVEL_EVENTUAL\x10\x01\x12\"\n\x1eQUERY_CONSISTENCY_LEVEL_STRONG\x10\x02\x42Z\n\x17\x63om.uber.cadence.api.v1B\nQueryProtoP\x01Z1github.com/uber/cadence-idl/go/proto/api/v1;apiv1b\x06proto3' + , + dependencies=[uber_dot_cadence_dot_api_dot_v1_dot_common__pb2.DESCRIPTOR,uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2.DESCRIPTOR,]) + +_QUERYRESULTTYPE = _descriptor.EnumDescriptor( + name='QueryResultType', + full_name='uber.cadence.api.v1.QueryResultType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='QUERY_RESULT_TYPE_INVALID', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='QUERY_RESULT_TYPE_ANSWERED', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='QUERY_RESULT_TYPE_FAILED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=455, + serialized_end=565, +) +_sym_db.RegisterEnumDescriptor(_QUERYRESULTTYPE) + +QueryResultType = enum_type_wrapper.EnumTypeWrapper(_QUERYRESULTTYPE) +_QUERYREJECTCONDITION = _descriptor.EnumDescriptor( + name='QueryRejectCondition', + full_name='uber.cadence.api.v1.QueryRejectCondition', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='QUERY_REJECT_CONDITION_INVALID', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='QUERY_REJECT_CONDITION_NOT_OPEN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='QUERY_REJECT_CONDITION_NOT_COMPLETED_CLEANLY', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=568, + serialized_end=713, +) +_sym_db.RegisterEnumDescriptor(_QUERYREJECTCONDITION) + +QueryRejectCondition = enum_type_wrapper.EnumTypeWrapper(_QUERYREJECTCONDITION) +_QUERYCONSISTENCYLEVEL = _descriptor.EnumDescriptor( + name='QueryConsistencyLevel', + full_name='uber.cadence.api.v1.QueryConsistencyLevel', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='QUERY_CONSISTENCY_LEVEL_INVALID', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='QUERY_CONSISTENCY_LEVEL_EVENTUAL', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='QUERY_CONSISTENCY_LEVEL_STRONG', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=716, + serialized_end=850, +) +_sym_db.RegisterEnumDescriptor(_QUERYCONSISTENCYLEVEL) + +QueryConsistencyLevel = enum_type_wrapper.EnumTypeWrapper(_QUERYCONSISTENCYLEVEL) +QUERY_RESULT_TYPE_INVALID = 0 +QUERY_RESULT_TYPE_ANSWERED = 1 +QUERY_RESULT_TYPE_FAILED = 2 +QUERY_REJECT_CONDITION_INVALID = 0 +QUERY_REJECT_CONDITION_NOT_OPEN = 1 +QUERY_REJECT_CONDITION_NOT_COMPLETED_CLEANLY = 2 +QUERY_CONSISTENCY_LEVEL_INVALID = 0 +QUERY_CONSISTENCY_LEVEL_EVENTUAL = 1 +QUERY_CONSISTENCY_LEVEL_STRONG = 2 + + + +_WORKFLOWQUERY = _descriptor.Descriptor( + name='WorkflowQuery', + full_name='uber.cadence.api.v1.WorkflowQuery', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='query_type', full_name='uber.cadence.api.v1.WorkflowQuery.query_type', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='query_args', full_name='uber.cadence.api.v1.WorkflowQuery.query_args', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=126, + serialized_end=211, +) + + +_WORKFLOWQUERYRESULT = _descriptor.Descriptor( + name='WorkflowQueryResult', + full_name='uber.cadence.api.v1.WorkflowQueryResult', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='result_type', full_name='uber.cadence.api.v1.WorkflowQueryResult.result_type', index=0, + number=1, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='answer', full_name='uber.cadence.api.v1.WorkflowQueryResult.answer', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='error_message', full_name='uber.cadence.api.v1.WorkflowQueryResult.error_message', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=214, + serialized_end=363, +) + + +_QUERYREJECTED = _descriptor.Descriptor( + name='QueryRejected', + full_name='uber.cadence.api.v1.QueryRejected', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='close_status', full_name='uber.cadence.api.v1.QueryRejected.close_status', index=0, + number=1, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=365, + serialized_end=453, +) + +_WORKFLOWQUERY.fields_by_name['query_args'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._PAYLOAD +_WORKFLOWQUERYRESULT.fields_by_name['result_type'].enum_type = _QUERYRESULTTYPE +_WORKFLOWQUERYRESULT.fields_by_name['answer'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._PAYLOAD +_QUERYREJECTED.fields_by_name['close_status'].enum_type = uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2._WORKFLOWEXECUTIONCLOSESTATUS +DESCRIPTOR.message_types_by_name['WorkflowQuery'] = _WORKFLOWQUERY +DESCRIPTOR.message_types_by_name['WorkflowQueryResult'] = _WORKFLOWQUERYRESULT +DESCRIPTOR.message_types_by_name['QueryRejected'] = _QUERYREJECTED +DESCRIPTOR.enum_types_by_name['QueryResultType'] = _QUERYRESULTTYPE +DESCRIPTOR.enum_types_by_name['QueryRejectCondition'] = _QUERYREJECTCONDITION +DESCRIPTOR.enum_types_by_name['QueryConsistencyLevel'] = _QUERYCONSISTENCYLEVEL +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +WorkflowQuery = _reflection.GeneratedProtocolMessageType('WorkflowQuery', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWQUERY, + '__module__' : 'uber.cadence.api.v1.query_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.WorkflowQuery) + }) +_sym_db.RegisterMessage(WorkflowQuery) + +WorkflowQueryResult = _reflection.GeneratedProtocolMessageType('WorkflowQueryResult', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWQUERYRESULT, + '__module__' : 'uber.cadence.api.v1.query_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.WorkflowQueryResult) + }) +_sym_db.RegisterMessage(WorkflowQueryResult) + +QueryRejected = _reflection.GeneratedProtocolMessageType('QueryRejected', (_message.Message,), { + 'DESCRIPTOR' : _QUERYREJECTED, + '__module__' : 'uber.cadence.api.v1.query_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.QueryRejected) + }) +_sym_db.RegisterMessage(QueryRejected) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/cadence/shared/api/v1/query_pb2.pyi b/cadence/shared/api/v1/query_pb2.pyi new file mode 100644 index 0000000..ff8f0bd --- /dev/null +++ b/cadence/shared/api/v1/query_pb2.pyi @@ -0,0 +1,59 @@ +from uber.cadence.api.v1 import common_pb2 as _common_pb2 +from uber.cadence.api.v1 import workflow_pb2 as _workflow_pb2 +from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Optional, Union as _Union + +DESCRIPTOR: _descriptor.FileDescriptor + +class QueryResultType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = () + QUERY_RESULT_TYPE_INVALID: _ClassVar[QueryResultType] + QUERY_RESULT_TYPE_ANSWERED: _ClassVar[QueryResultType] + QUERY_RESULT_TYPE_FAILED: _ClassVar[QueryResultType] + +class QueryRejectCondition(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = () + QUERY_REJECT_CONDITION_INVALID: _ClassVar[QueryRejectCondition] + QUERY_REJECT_CONDITION_NOT_OPEN: _ClassVar[QueryRejectCondition] + QUERY_REJECT_CONDITION_NOT_COMPLETED_CLEANLY: _ClassVar[QueryRejectCondition] + +class QueryConsistencyLevel(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = () + QUERY_CONSISTENCY_LEVEL_INVALID: _ClassVar[QueryConsistencyLevel] + QUERY_CONSISTENCY_LEVEL_EVENTUAL: _ClassVar[QueryConsistencyLevel] + QUERY_CONSISTENCY_LEVEL_STRONG: _ClassVar[QueryConsistencyLevel] +QUERY_RESULT_TYPE_INVALID: QueryResultType +QUERY_RESULT_TYPE_ANSWERED: QueryResultType +QUERY_RESULT_TYPE_FAILED: QueryResultType +QUERY_REJECT_CONDITION_INVALID: QueryRejectCondition +QUERY_REJECT_CONDITION_NOT_OPEN: QueryRejectCondition +QUERY_REJECT_CONDITION_NOT_COMPLETED_CLEANLY: QueryRejectCondition +QUERY_CONSISTENCY_LEVEL_INVALID: QueryConsistencyLevel +QUERY_CONSISTENCY_LEVEL_EVENTUAL: QueryConsistencyLevel +QUERY_CONSISTENCY_LEVEL_STRONG: QueryConsistencyLevel + +class WorkflowQuery(_message.Message): + __slots__ = ("query_type", "query_args") + QUERY_TYPE_FIELD_NUMBER: _ClassVar[int] + QUERY_ARGS_FIELD_NUMBER: _ClassVar[int] + query_type: str + query_args: _common_pb2.Payload + def __init__(self, query_type: _Optional[str] = ..., query_args: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ...) -> None: ... + +class WorkflowQueryResult(_message.Message): + __slots__ = ("result_type", "answer", "error_message") + RESULT_TYPE_FIELD_NUMBER: _ClassVar[int] + ANSWER_FIELD_NUMBER: _ClassVar[int] + ERROR_MESSAGE_FIELD_NUMBER: _ClassVar[int] + result_type: QueryResultType + answer: _common_pb2.Payload + error_message: str + def __init__(self, result_type: _Optional[_Union[QueryResultType, str]] = ..., answer: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., error_message: _Optional[str] = ...) -> None: ... + +class QueryRejected(_message.Message): + __slots__ = ("close_status",) + CLOSE_STATUS_FIELD_NUMBER: _ClassVar[int] + close_status: _workflow_pb2.WorkflowExecutionCloseStatus + def __init__(self, close_status: _Optional[_Union[_workflow_pb2.WorkflowExecutionCloseStatus, str]] = ...) -> None: ... diff --git a/cadence/shared/api/v1/service_domain_pb2.py b/cadence/shared/api/v1/service_domain_pb2.py new file mode 100644 index 0000000..6057456 --- /dev/null +++ b/cadence/shared/api/v1/service_domain_pb2.py @@ -0,0 +1,981 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: uber/cadence/api/v1/service_domain.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 +from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 +from uber.cadence.api.v1 import domain_pb2 as uber_dot_cadence_dot_api_dot_v1_dot_domain__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='uber/cadence/api/v1/service_domain.proto', + package='uber.cadence.api.v1', + syntax='proto3', + serialized_options=b'\n\027com.uber.cadence.api.v1B\022DomainServiceProtoP\001Z1github.com/uber/cadence-idl/go/proto/api/v1;apiv1', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n(uber/cadence/api/v1/service_domain.proto\x12\x13uber.cadence.api.v1\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a uber/cadence/api/v1/domain.proto\"\x97\x06\n\x15RegisterDomainRequest\x12\x16\n\x0esecurity_token\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x13\n\x0bowner_email\x18\x04 \x01(\t\x12\x46\n#workflow_execution_retention_period\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x46\n\x08\x63lusters\x18\x06 \x03(\x0b\x32\x34.uber.cadence.api.v1.ClusterReplicationConfiguration\x12\x1b\n\x13\x61\x63tive_cluster_name\x18\x07 \x01(\t\x12\x42\n\x04\x64\x61ta\x18\x08 \x03(\x0b\x32\x34.uber.cadence.api.v1.RegisterDomainRequest.DataEntry\x12\x18\n\x10is_global_domain\x18\t \x01(\x08\x12\x44\n\x17history_archival_status\x18\n \x01(\x0e\x32#.uber.cadence.api.v1.ArchivalStatus\x12\x1c\n\x14history_archival_uri\x18\x0b \x01(\t\x12G\n\x1avisibility_archival_status\x18\x0c \x01(\x0e\x32#.uber.cadence.api.v1.ArchivalStatus\x12\x1f\n\x17visibility_archival_uri\x18\r \x01(\t\x12i\n\x19\x61\x63tive_clusters_by_region\x18\x0e \x03(\x0b\x32\x46.uber.cadence.api.v1.RegisterDomainRequest.ActiveClustersByRegionEntry\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a=\n\x1b\x41\x63tiveClustersByRegionEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x18\n\x16RegisterDomainResponse\"\xc6\x06\n\x13UpdateDomainRequest\x12\x16\n\x0esecurity_token\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12/\n\x0bupdate_mask\x18\n \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x13\n\x0b\x64\x65scription\x18\x0b \x01(\t\x12\x13\n\x0bowner_email\x18\x0c \x01(\t\x12@\n\x04\x64\x61ta\x18\r \x03(\x0b\x32\x32.uber.cadence.api.v1.UpdateDomainRequest.DataEntry\x12\x46\n#workflow_execution_retention_period\x18\x0e \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x36\n\x0c\x62\x61\x64_binaries\x18\x0f \x01(\x0b\x32 .uber.cadence.api.v1.BadBinaries\x12\x44\n\x17history_archival_status\x18\x10 \x01(\x0e\x32#.uber.cadence.api.v1.ArchivalStatus\x12\x1c\n\x14history_archival_uri\x18\x11 \x01(\t\x12G\n\x1avisibility_archival_status\x18\x12 \x01(\x0e\x32#.uber.cadence.api.v1.ArchivalStatus\x12\x1f\n\x17visibility_archival_uri\x18\x13 \x01(\t\x12\x1b\n\x13\x61\x63tive_cluster_name\x18\x14 \x01(\t\x12\x46\n\x08\x63lusters\x18\x15 \x03(\x0b\x32\x34.uber.cadence.api.v1.ClusterReplicationConfiguration\x12\x19\n\x11\x64\x65lete_bad_binary\x18\x16 \x01(\t\x12\x33\n\x10\x66\x61ilover_timeout\x18\x17 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x0f\x61\x63tive_clusters\x18\x18 \x01(\x0b\x32#.uber.cadence.api.v1.ActiveClusters\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"C\n\x14UpdateDomainResponse\x12+\n\x06\x64omain\x18\x01 \x01(\x0b\x32\x1b.uber.cadence.api.v1.Domain\">\n\x16\x44\x65precateDomainRequest\x12\x16\n\x0esecurity_token\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\"\x19\n\x17\x44\x65precateDomainResponse\";\n\x13\x44\x65leteDomainRequest\x12\x16\n\x0esecurity_token\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\"\x16\n\x14\x44\x65leteDomainResponse\"D\n\x15\x44\x65scribeDomainRequest\x12\x0c\n\x02id\x18\x01 \x01(\tH\x00\x12\x0e\n\x04name\x18\x02 \x01(\tH\x00\x42\r\n\x0b\x64\x65scribe_by\"E\n\x16\x44\x65scribeDomainResponse\x12+\n\x06\x64omain\x18\x01 \x01(\x0b\x32\x1b.uber.cadence.api.v1.Domain\"@\n\x12ListDomainsRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"\\\n\x13ListDomainsResponse\x12,\n\x07\x64omains\x18\x01 \x03(\x0b\x32\x1b.uber.cadence.api.v1.Domain\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\x32\xfb\x04\n\tDomainAPI\x12i\n\x0eRegisterDomain\x12*.uber.cadence.api.v1.RegisterDomainRequest\x1a+.uber.cadence.api.v1.RegisterDomainResponse\x12i\n\x0e\x44\x65scribeDomain\x12*.uber.cadence.api.v1.DescribeDomainRequest\x1a+.uber.cadence.api.v1.DescribeDomainResponse\x12`\n\x0bListDomains\x12\'.uber.cadence.api.v1.ListDomainsRequest\x1a(.uber.cadence.api.v1.ListDomainsResponse\x12\x63\n\x0cUpdateDomain\x12(.uber.cadence.api.v1.UpdateDomainRequest\x1a).uber.cadence.api.v1.UpdateDomainResponse\x12l\n\x0f\x44\x65precateDomain\x12+.uber.cadence.api.v1.DeprecateDomainRequest\x1a,.uber.cadence.api.v1.DeprecateDomainResponse\x12\x63\n\x0c\x44\x65leteDomain\x12(.uber.cadence.api.v1.DeleteDomainRequest\x1a).uber.cadence.api.v1.DeleteDomainResponseBb\n\x17\x63om.uber.cadence.api.v1B\x12\x44omainServiceProtoP\x01Z1github.com/uber/cadence-idl/go/proto/api/v1;apiv1b\x06proto3' + , + dependencies=[google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,uber_dot_cadence_dot_api_dot_v1_dot_domain__pb2.DESCRIPTOR,]) + + + + +_REGISTERDOMAINREQUEST_DATAENTRY = _descriptor.Descriptor( + name='DataEntry', + full_name='uber.cadence.api.v1.RegisterDomainRequest.DataEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='uber.cadence.api.v1.RegisterDomainRequest.DataEntry.key', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='value', full_name='uber.cadence.api.v1.RegisterDomainRequest.DataEntry.value', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'8\001', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=851, + serialized_end=894, +) + +_REGISTERDOMAINREQUEST_ACTIVECLUSTERSBYREGIONENTRY = _descriptor.Descriptor( + name='ActiveClustersByRegionEntry', + full_name='uber.cadence.api.v1.RegisterDomainRequest.ActiveClustersByRegionEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='uber.cadence.api.v1.RegisterDomainRequest.ActiveClustersByRegionEntry.key', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='value', full_name='uber.cadence.api.v1.RegisterDomainRequest.ActiveClustersByRegionEntry.value', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'8\001', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=896, + serialized_end=957, +) + +_REGISTERDOMAINREQUEST = _descriptor.Descriptor( + name='RegisterDomainRequest', + full_name='uber.cadence.api.v1.RegisterDomainRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='security_token', full_name='uber.cadence.api.v1.RegisterDomainRequest.security_token', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='name', full_name='uber.cadence.api.v1.RegisterDomainRequest.name', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='description', full_name='uber.cadence.api.v1.RegisterDomainRequest.description', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='owner_email', full_name='uber.cadence.api.v1.RegisterDomainRequest.owner_email', index=3, + number=4, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution_retention_period', full_name='uber.cadence.api.v1.RegisterDomainRequest.workflow_execution_retention_period', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='clusters', full_name='uber.cadence.api.v1.RegisterDomainRequest.clusters', index=5, + number=6, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='active_cluster_name', full_name='uber.cadence.api.v1.RegisterDomainRequest.active_cluster_name', index=6, + number=7, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='data', full_name='uber.cadence.api.v1.RegisterDomainRequest.data', index=7, + number=8, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='is_global_domain', full_name='uber.cadence.api.v1.RegisterDomainRequest.is_global_domain', index=8, + number=9, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='history_archival_status', full_name='uber.cadence.api.v1.RegisterDomainRequest.history_archival_status', index=9, + number=10, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='history_archival_uri', full_name='uber.cadence.api.v1.RegisterDomainRequest.history_archival_uri', index=10, + number=11, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='visibility_archival_status', full_name='uber.cadence.api.v1.RegisterDomainRequest.visibility_archival_status', index=11, + number=12, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='visibility_archival_uri', full_name='uber.cadence.api.v1.RegisterDomainRequest.visibility_archival_uri', index=12, + number=13, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='active_clusters_by_region', full_name='uber.cadence.api.v1.RegisterDomainRequest.active_clusters_by_region', index=13, + number=14, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[_REGISTERDOMAINREQUEST_DATAENTRY, _REGISTERDOMAINREQUEST_ACTIVECLUSTERSBYREGIONENTRY, ], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=166, + serialized_end=957, +) + + +_REGISTERDOMAINRESPONSE = _descriptor.Descriptor( + name='RegisterDomainResponse', + full_name='uber.cadence.api.v1.RegisterDomainResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=959, + serialized_end=983, +) + + +_UPDATEDOMAINREQUEST_DATAENTRY = _descriptor.Descriptor( + name='DataEntry', + full_name='uber.cadence.api.v1.UpdateDomainRequest.DataEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='uber.cadence.api.v1.UpdateDomainRequest.DataEntry.key', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='value', full_name='uber.cadence.api.v1.UpdateDomainRequest.DataEntry.value', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'8\001', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=851, + serialized_end=894, +) + +_UPDATEDOMAINREQUEST = _descriptor.Descriptor( + name='UpdateDomainRequest', + full_name='uber.cadence.api.v1.UpdateDomainRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='security_token', full_name='uber.cadence.api.v1.UpdateDomainRequest.security_token', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='name', full_name='uber.cadence.api.v1.UpdateDomainRequest.name', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='update_mask', full_name='uber.cadence.api.v1.UpdateDomainRequest.update_mask', index=2, + number=10, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='description', full_name='uber.cadence.api.v1.UpdateDomainRequest.description', index=3, + number=11, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='owner_email', full_name='uber.cadence.api.v1.UpdateDomainRequest.owner_email', index=4, + number=12, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='data', full_name='uber.cadence.api.v1.UpdateDomainRequest.data', index=5, + number=13, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution_retention_period', full_name='uber.cadence.api.v1.UpdateDomainRequest.workflow_execution_retention_period', index=6, + number=14, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='bad_binaries', full_name='uber.cadence.api.v1.UpdateDomainRequest.bad_binaries', index=7, + number=15, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='history_archival_status', full_name='uber.cadence.api.v1.UpdateDomainRequest.history_archival_status', index=8, + number=16, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='history_archival_uri', full_name='uber.cadence.api.v1.UpdateDomainRequest.history_archival_uri', index=9, + number=17, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='visibility_archival_status', full_name='uber.cadence.api.v1.UpdateDomainRequest.visibility_archival_status', index=10, + number=18, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='visibility_archival_uri', full_name='uber.cadence.api.v1.UpdateDomainRequest.visibility_archival_uri', index=11, + number=19, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='active_cluster_name', full_name='uber.cadence.api.v1.UpdateDomainRequest.active_cluster_name', index=12, + number=20, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='clusters', full_name='uber.cadence.api.v1.UpdateDomainRequest.clusters', index=13, + number=21, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='delete_bad_binary', full_name='uber.cadence.api.v1.UpdateDomainRequest.delete_bad_binary', index=14, + number=22, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='failover_timeout', full_name='uber.cadence.api.v1.UpdateDomainRequest.failover_timeout', index=15, + number=23, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='active_clusters', full_name='uber.cadence.api.v1.UpdateDomainRequest.active_clusters', index=16, + number=24, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[_UPDATEDOMAINREQUEST_DATAENTRY, ], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=986, + serialized_end=1824, +) + + +_UPDATEDOMAINRESPONSE = _descriptor.Descriptor( + name='UpdateDomainResponse', + full_name='uber.cadence.api.v1.UpdateDomainResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.UpdateDomainResponse.domain', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1826, + serialized_end=1893, +) + + +_DEPRECATEDOMAINREQUEST = _descriptor.Descriptor( + name='DeprecateDomainRequest', + full_name='uber.cadence.api.v1.DeprecateDomainRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='security_token', full_name='uber.cadence.api.v1.DeprecateDomainRequest.security_token', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='name', full_name='uber.cadence.api.v1.DeprecateDomainRequest.name', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1895, + serialized_end=1957, +) + + +_DEPRECATEDOMAINRESPONSE = _descriptor.Descriptor( + name='DeprecateDomainResponse', + full_name='uber.cadence.api.v1.DeprecateDomainResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1959, + serialized_end=1984, +) + + +_DELETEDOMAINREQUEST = _descriptor.Descriptor( + name='DeleteDomainRequest', + full_name='uber.cadence.api.v1.DeleteDomainRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='security_token', full_name='uber.cadence.api.v1.DeleteDomainRequest.security_token', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='name', full_name='uber.cadence.api.v1.DeleteDomainRequest.name', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1986, + serialized_end=2045, +) + + +_DELETEDOMAINRESPONSE = _descriptor.Descriptor( + name='DeleteDomainResponse', + full_name='uber.cadence.api.v1.DeleteDomainResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2047, + serialized_end=2069, +) + + +_DESCRIBEDOMAINREQUEST = _descriptor.Descriptor( + name='DescribeDomainRequest', + full_name='uber.cadence.api.v1.DescribeDomainRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='id', full_name='uber.cadence.api.v1.DescribeDomainRequest.id', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='name', full_name='uber.cadence.api.v1.DescribeDomainRequest.name', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='describe_by', full_name='uber.cadence.api.v1.DescribeDomainRequest.describe_by', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=2071, + serialized_end=2139, +) + + +_DESCRIBEDOMAINRESPONSE = _descriptor.Descriptor( + name='DescribeDomainResponse', + full_name='uber.cadence.api.v1.DescribeDomainResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.DescribeDomainResponse.domain', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2141, + serialized_end=2210, +) + + +_LISTDOMAINSREQUEST = _descriptor.Descriptor( + name='ListDomainsRequest', + full_name='uber.cadence.api.v1.ListDomainsRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='page_size', full_name='uber.cadence.api.v1.ListDomainsRequest.page_size', index=0, + number=1, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='next_page_token', full_name='uber.cadence.api.v1.ListDomainsRequest.next_page_token', index=1, + number=2, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2212, + serialized_end=2276, +) + + +_LISTDOMAINSRESPONSE = _descriptor.Descriptor( + name='ListDomainsResponse', + full_name='uber.cadence.api.v1.ListDomainsResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domains', full_name='uber.cadence.api.v1.ListDomainsResponse.domains', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='next_page_token', full_name='uber.cadence.api.v1.ListDomainsResponse.next_page_token', index=1, + number=2, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2278, + serialized_end=2370, +) + +_REGISTERDOMAINREQUEST_DATAENTRY.containing_type = _REGISTERDOMAINREQUEST +_REGISTERDOMAINREQUEST_ACTIVECLUSTERSBYREGIONENTRY.containing_type = _REGISTERDOMAINREQUEST +_REGISTERDOMAINREQUEST.fields_by_name['workflow_execution_retention_period'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_REGISTERDOMAINREQUEST.fields_by_name['clusters'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_domain__pb2._CLUSTERREPLICATIONCONFIGURATION +_REGISTERDOMAINREQUEST.fields_by_name['data'].message_type = _REGISTERDOMAINREQUEST_DATAENTRY +_REGISTERDOMAINREQUEST.fields_by_name['history_archival_status'].enum_type = uber_dot_cadence_dot_api_dot_v1_dot_domain__pb2._ARCHIVALSTATUS +_REGISTERDOMAINREQUEST.fields_by_name['visibility_archival_status'].enum_type = uber_dot_cadence_dot_api_dot_v1_dot_domain__pb2._ARCHIVALSTATUS +_REGISTERDOMAINREQUEST.fields_by_name['active_clusters_by_region'].message_type = _REGISTERDOMAINREQUEST_ACTIVECLUSTERSBYREGIONENTRY +_UPDATEDOMAINREQUEST_DATAENTRY.containing_type = _UPDATEDOMAINREQUEST +_UPDATEDOMAINREQUEST.fields_by_name['update_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK +_UPDATEDOMAINREQUEST.fields_by_name['data'].message_type = _UPDATEDOMAINREQUEST_DATAENTRY +_UPDATEDOMAINREQUEST.fields_by_name['workflow_execution_retention_period'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_UPDATEDOMAINREQUEST.fields_by_name['bad_binaries'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_domain__pb2._BADBINARIES +_UPDATEDOMAINREQUEST.fields_by_name['history_archival_status'].enum_type = uber_dot_cadence_dot_api_dot_v1_dot_domain__pb2._ARCHIVALSTATUS +_UPDATEDOMAINREQUEST.fields_by_name['visibility_archival_status'].enum_type = uber_dot_cadence_dot_api_dot_v1_dot_domain__pb2._ARCHIVALSTATUS +_UPDATEDOMAINREQUEST.fields_by_name['clusters'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_domain__pb2._CLUSTERREPLICATIONCONFIGURATION +_UPDATEDOMAINREQUEST.fields_by_name['failover_timeout'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_UPDATEDOMAINREQUEST.fields_by_name['active_clusters'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_domain__pb2._ACTIVECLUSTERS +_UPDATEDOMAINRESPONSE.fields_by_name['domain'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_domain__pb2._DOMAIN +_DESCRIBEDOMAINREQUEST.oneofs_by_name['describe_by'].fields.append( + _DESCRIBEDOMAINREQUEST.fields_by_name['id']) +_DESCRIBEDOMAINREQUEST.fields_by_name['id'].containing_oneof = _DESCRIBEDOMAINREQUEST.oneofs_by_name['describe_by'] +_DESCRIBEDOMAINREQUEST.oneofs_by_name['describe_by'].fields.append( + _DESCRIBEDOMAINREQUEST.fields_by_name['name']) +_DESCRIBEDOMAINREQUEST.fields_by_name['name'].containing_oneof = _DESCRIBEDOMAINREQUEST.oneofs_by_name['describe_by'] +_DESCRIBEDOMAINRESPONSE.fields_by_name['domain'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_domain__pb2._DOMAIN +_LISTDOMAINSRESPONSE.fields_by_name['domains'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_domain__pb2._DOMAIN +DESCRIPTOR.message_types_by_name['RegisterDomainRequest'] = _REGISTERDOMAINREQUEST +DESCRIPTOR.message_types_by_name['RegisterDomainResponse'] = _REGISTERDOMAINRESPONSE +DESCRIPTOR.message_types_by_name['UpdateDomainRequest'] = _UPDATEDOMAINREQUEST +DESCRIPTOR.message_types_by_name['UpdateDomainResponse'] = _UPDATEDOMAINRESPONSE +DESCRIPTOR.message_types_by_name['DeprecateDomainRequest'] = _DEPRECATEDOMAINREQUEST +DESCRIPTOR.message_types_by_name['DeprecateDomainResponse'] = _DEPRECATEDOMAINRESPONSE +DESCRIPTOR.message_types_by_name['DeleteDomainRequest'] = _DELETEDOMAINREQUEST +DESCRIPTOR.message_types_by_name['DeleteDomainResponse'] = _DELETEDOMAINRESPONSE +DESCRIPTOR.message_types_by_name['DescribeDomainRequest'] = _DESCRIBEDOMAINREQUEST +DESCRIPTOR.message_types_by_name['DescribeDomainResponse'] = _DESCRIBEDOMAINRESPONSE +DESCRIPTOR.message_types_by_name['ListDomainsRequest'] = _LISTDOMAINSREQUEST +DESCRIPTOR.message_types_by_name['ListDomainsResponse'] = _LISTDOMAINSRESPONSE +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +RegisterDomainRequest = _reflection.GeneratedProtocolMessageType('RegisterDomainRequest', (_message.Message,), { + + 'DataEntry' : _reflection.GeneratedProtocolMessageType('DataEntry', (_message.Message,), { + 'DESCRIPTOR' : _REGISTERDOMAINREQUEST_DATAENTRY, + '__module__' : 'uber.cadence.api.v1.service_domain_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.RegisterDomainRequest.DataEntry) + }) + , + + 'ActiveClustersByRegionEntry' : _reflection.GeneratedProtocolMessageType('ActiveClustersByRegionEntry', (_message.Message,), { + 'DESCRIPTOR' : _REGISTERDOMAINREQUEST_ACTIVECLUSTERSBYREGIONENTRY, + '__module__' : 'uber.cadence.api.v1.service_domain_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.RegisterDomainRequest.ActiveClustersByRegionEntry) + }) + , + 'DESCRIPTOR' : _REGISTERDOMAINREQUEST, + '__module__' : 'uber.cadence.api.v1.service_domain_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.RegisterDomainRequest) + }) +_sym_db.RegisterMessage(RegisterDomainRequest) +_sym_db.RegisterMessage(RegisterDomainRequest.DataEntry) +_sym_db.RegisterMessage(RegisterDomainRequest.ActiveClustersByRegionEntry) + +RegisterDomainResponse = _reflection.GeneratedProtocolMessageType('RegisterDomainResponse', (_message.Message,), { + 'DESCRIPTOR' : _REGISTERDOMAINRESPONSE, + '__module__' : 'uber.cadence.api.v1.service_domain_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.RegisterDomainResponse) + }) +_sym_db.RegisterMessage(RegisterDomainResponse) + +UpdateDomainRequest = _reflection.GeneratedProtocolMessageType('UpdateDomainRequest', (_message.Message,), { + + 'DataEntry' : _reflection.GeneratedProtocolMessageType('DataEntry', (_message.Message,), { + 'DESCRIPTOR' : _UPDATEDOMAINREQUEST_DATAENTRY, + '__module__' : 'uber.cadence.api.v1.service_domain_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.UpdateDomainRequest.DataEntry) + }) + , + 'DESCRIPTOR' : _UPDATEDOMAINREQUEST, + '__module__' : 'uber.cadence.api.v1.service_domain_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.UpdateDomainRequest) + }) +_sym_db.RegisterMessage(UpdateDomainRequest) +_sym_db.RegisterMessage(UpdateDomainRequest.DataEntry) + +UpdateDomainResponse = _reflection.GeneratedProtocolMessageType('UpdateDomainResponse', (_message.Message,), { + 'DESCRIPTOR' : _UPDATEDOMAINRESPONSE, + '__module__' : 'uber.cadence.api.v1.service_domain_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.UpdateDomainResponse) + }) +_sym_db.RegisterMessage(UpdateDomainResponse) + +DeprecateDomainRequest = _reflection.GeneratedProtocolMessageType('DeprecateDomainRequest', (_message.Message,), { + 'DESCRIPTOR' : _DEPRECATEDOMAINREQUEST, + '__module__' : 'uber.cadence.api.v1.service_domain_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.DeprecateDomainRequest) + }) +_sym_db.RegisterMessage(DeprecateDomainRequest) + +DeprecateDomainResponse = _reflection.GeneratedProtocolMessageType('DeprecateDomainResponse', (_message.Message,), { + 'DESCRIPTOR' : _DEPRECATEDOMAINRESPONSE, + '__module__' : 'uber.cadence.api.v1.service_domain_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.DeprecateDomainResponse) + }) +_sym_db.RegisterMessage(DeprecateDomainResponse) + +DeleteDomainRequest = _reflection.GeneratedProtocolMessageType('DeleteDomainRequest', (_message.Message,), { + 'DESCRIPTOR' : _DELETEDOMAINREQUEST, + '__module__' : 'uber.cadence.api.v1.service_domain_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.DeleteDomainRequest) + }) +_sym_db.RegisterMessage(DeleteDomainRequest) + +DeleteDomainResponse = _reflection.GeneratedProtocolMessageType('DeleteDomainResponse', (_message.Message,), { + 'DESCRIPTOR' : _DELETEDOMAINRESPONSE, + '__module__' : 'uber.cadence.api.v1.service_domain_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.DeleteDomainResponse) + }) +_sym_db.RegisterMessage(DeleteDomainResponse) + +DescribeDomainRequest = _reflection.GeneratedProtocolMessageType('DescribeDomainRequest', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBEDOMAINREQUEST, + '__module__' : 'uber.cadence.api.v1.service_domain_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.DescribeDomainRequest) + }) +_sym_db.RegisterMessage(DescribeDomainRequest) + +DescribeDomainResponse = _reflection.GeneratedProtocolMessageType('DescribeDomainResponse', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBEDOMAINRESPONSE, + '__module__' : 'uber.cadence.api.v1.service_domain_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.DescribeDomainResponse) + }) +_sym_db.RegisterMessage(DescribeDomainResponse) + +ListDomainsRequest = _reflection.GeneratedProtocolMessageType('ListDomainsRequest', (_message.Message,), { + 'DESCRIPTOR' : _LISTDOMAINSREQUEST, + '__module__' : 'uber.cadence.api.v1.service_domain_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ListDomainsRequest) + }) +_sym_db.RegisterMessage(ListDomainsRequest) + +ListDomainsResponse = _reflection.GeneratedProtocolMessageType('ListDomainsResponse', (_message.Message,), { + 'DESCRIPTOR' : _LISTDOMAINSRESPONSE, + '__module__' : 'uber.cadence.api.v1.service_domain_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ListDomainsResponse) + }) +_sym_db.RegisterMessage(ListDomainsResponse) + + +DESCRIPTOR._options = None +_REGISTERDOMAINREQUEST_DATAENTRY._options = None +_REGISTERDOMAINREQUEST_ACTIVECLUSTERSBYREGIONENTRY._options = None +_UPDATEDOMAINREQUEST_DATAENTRY._options = None + +_DOMAINAPI = _descriptor.ServiceDescriptor( + name='DomainAPI', + full_name='uber.cadence.api.v1.DomainAPI', + file=DESCRIPTOR, + index=0, + serialized_options=None, + create_key=_descriptor._internal_create_key, + serialized_start=2373, + serialized_end=3008, + methods=[ + _descriptor.MethodDescriptor( + name='RegisterDomain', + full_name='uber.cadence.api.v1.DomainAPI.RegisterDomain', + index=0, + containing_service=None, + input_type=_REGISTERDOMAINREQUEST, + output_type=_REGISTERDOMAINRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='DescribeDomain', + full_name='uber.cadence.api.v1.DomainAPI.DescribeDomain', + index=1, + containing_service=None, + input_type=_DESCRIBEDOMAINREQUEST, + output_type=_DESCRIBEDOMAINRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='ListDomains', + full_name='uber.cadence.api.v1.DomainAPI.ListDomains', + index=2, + containing_service=None, + input_type=_LISTDOMAINSREQUEST, + output_type=_LISTDOMAINSRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='UpdateDomain', + full_name='uber.cadence.api.v1.DomainAPI.UpdateDomain', + index=3, + containing_service=None, + input_type=_UPDATEDOMAINREQUEST, + output_type=_UPDATEDOMAINRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='DeprecateDomain', + full_name='uber.cadence.api.v1.DomainAPI.DeprecateDomain', + index=4, + containing_service=None, + input_type=_DEPRECATEDOMAINREQUEST, + output_type=_DEPRECATEDOMAINRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='DeleteDomain', + full_name='uber.cadence.api.v1.DomainAPI.DeleteDomain', + index=5, + containing_service=None, + input_type=_DELETEDOMAINREQUEST, + output_type=_DELETEDOMAINRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), +]) +_sym_db.RegisterServiceDescriptor(_DOMAINAPI) + +DESCRIPTOR.services_by_name['DomainAPI'] = _DOMAINAPI + +# @@protoc_insertion_point(module_scope) diff --git a/cadence/shared/api/v1/service_domain_pb2.pyi b/cadence/shared/api/v1/service_domain_pb2.pyi new file mode 100644 index 0000000..4937845 --- /dev/null +++ b/cadence/shared/api/v1/service_domain_pb2.pyi @@ -0,0 +1,164 @@ +from google.protobuf import duration_pb2 as _duration_pb2 +from google.protobuf import field_mask_pb2 as _field_mask_pb2 +from uber.cadence.api.v1 import domain_pb2 as _domain_pb2 +from google.protobuf.internal import containers as _containers +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union + +DESCRIPTOR: _descriptor.FileDescriptor + +class RegisterDomainRequest(_message.Message): + __slots__ = ("security_token", "name", "description", "owner_email", "workflow_execution_retention_period", "clusters", "active_cluster_name", "data", "is_global_domain", "history_archival_status", "history_archival_uri", "visibility_archival_status", "visibility_archival_uri", "active_clusters_by_region") + class DataEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: str + def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ... + class ActiveClustersByRegionEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: str + def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ... + SECURITY_TOKEN_FIELD_NUMBER: _ClassVar[int] + NAME_FIELD_NUMBER: _ClassVar[int] + DESCRIPTION_FIELD_NUMBER: _ClassVar[int] + OWNER_EMAIL_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_RETENTION_PERIOD_FIELD_NUMBER: _ClassVar[int] + CLUSTERS_FIELD_NUMBER: _ClassVar[int] + ACTIVE_CLUSTER_NAME_FIELD_NUMBER: _ClassVar[int] + DATA_FIELD_NUMBER: _ClassVar[int] + IS_GLOBAL_DOMAIN_FIELD_NUMBER: _ClassVar[int] + HISTORY_ARCHIVAL_STATUS_FIELD_NUMBER: _ClassVar[int] + HISTORY_ARCHIVAL_URI_FIELD_NUMBER: _ClassVar[int] + VISIBILITY_ARCHIVAL_STATUS_FIELD_NUMBER: _ClassVar[int] + VISIBILITY_ARCHIVAL_URI_FIELD_NUMBER: _ClassVar[int] + ACTIVE_CLUSTERS_BY_REGION_FIELD_NUMBER: _ClassVar[int] + security_token: str + name: str + description: str + owner_email: str + workflow_execution_retention_period: _duration_pb2.Duration + clusters: _containers.RepeatedCompositeFieldContainer[_domain_pb2.ClusterReplicationConfiguration] + active_cluster_name: str + data: _containers.ScalarMap[str, str] + is_global_domain: bool + history_archival_status: _domain_pb2.ArchivalStatus + history_archival_uri: str + visibility_archival_status: _domain_pb2.ArchivalStatus + visibility_archival_uri: str + active_clusters_by_region: _containers.ScalarMap[str, str] + def __init__(self, security_token: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., owner_email: _Optional[str] = ..., workflow_execution_retention_period: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., clusters: _Optional[_Iterable[_Union[_domain_pb2.ClusterReplicationConfiguration, _Mapping]]] = ..., active_cluster_name: _Optional[str] = ..., data: _Optional[_Mapping[str, str]] = ..., is_global_domain: bool = ..., history_archival_status: _Optional[_Union[_domain_pb2.ArchivalStatus, str]] = ..., history_archival_uri: _Optional[str] = ..., visibility_archival_status: _Optional[_Union[_domain_pb2.ArchivalStatus, str]] = ..., visibility_archival_uri: _Optional[str] = ..., active_clusters_by_region: _Optional[_Mapping[str, str]] = ...) -> None: ... + +class RegisterDomainResponse(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + +class UpdateDomainRequest(_message.Message): + __slots__ = ("security_token", "name", "update_mask", "description", "owner_email", "data", "workflow_execution_retention_period", "bad_binaries", "history_archival_status", "history_archival_uri", "visibility_archival_status", "visibility_archival_uri", "active_cluster_name", "clusters", "delete_bad_binary", "failover_timeout", "active_clusters") + class DataEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: str + def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ... + SECURITY_TOKEN_FIELD_NUMBER: _ClassVar[int] + NAME_FIELD_NUMBER: _ClassVar[int] + UPDATE_MASK_FIELD_NUMBER: _ClassVar[int] + DESCRIPTION_FIELD_NUMBER: _ClassVar[int] + OWNER_EMAIL_FIELD_NUMBER: _ClassVar[int] + DATA_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_RETENTION_PERIOD_FIELD_NUMBER: _ClassVar[int] + BAD_BINARIES_FIELD_NUMBER: _ClassVar[int] + HISTORY_ARCHIVAL_STATUS_FIELD_NUMBER: _ClassVar[int] + HISTORY_ARCHIVAL_URI_FIELD_NUMBER: _ClassVar[int] + VISIBILITY_ARCHIVAL_STATUS_FIELD_NUMBER: _ClassVar[int] + VISIBILITY_ARCHIVAL_URI_FIELD_NUMBER: _ClassVar[int] + ACTIVE_CLUSTER_NAME_FIELD_NUMBER: _ClassVar[int] + CLUSTERS_FIELD_NUMBER: _ClassVar[int] + DELETE_BAD_BINARY_FIELD_NUMBER: _ClassVar[int] + FAILOVER_TIMEOUT_FIELD_NUMBER: _ClassVar[int] + ACTIVE_CLUSTERS_FIELD_NUMBER: _ClassVar[int] + security_token: str + name: str + update_mask: _field_mask_pb2.FieldMask + description: str + owner_email: str + data: _containers.ScalarMap[str, str] + workflow_execution_retention_period: _duration_pb2.Duration + bad_binaries: _domain_pb2.BadBinaries + history_archival_status: _domain_pb2.ArchivalStatus + history_archival_uri: str + visibility_archival_status: _domain_pb2.ArchivalStatus + visibility_archival_uri: str + active_cluster_name: str + clusters: _containers.RepeatedCompositeFieldContainer[_domain_pb2.ClusterReplicationConfiguration] + delete_bad_binary: str + failover_timeout: _duration_pb2.Duration + active_clusters: _domain_pb2.ActiveClusters + def __init__(self, security_token: _Optional[str] = ..., name: _Optional[str] = ..., update_mask: _Optional[_Union[_field_mask_pb2.FieldMask, _Mapping]] = ..., description: _Optional[str] = ..., owner_email: _Optional[str] = ..., data: _Optional[_Mapping[str, str]] = ..., workflow_execution_retention_period: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., bad_binaries: _Optional[_Union[_domain_pb2.BadBinaries, _Mapping]] = ..., history_archival_status: _Optional[_Union[_domain_pb2.ArchivalStatus, str]] = ..., history_archival_uri: _Optional[str] = ..., visibility_archival_status: _Optional[_Union[_domain_pb2.ArchivalStatus, str]] = ..., visibility_archival_uri: _Optional[str] = ..., active_cluster_name: _Optional[str] = ..., clusters: _Optional[_Iterable[_Union[_domain_pb2.ClusterReplicationConfiguration, _Mapping]]] = ..., delete_bad_binary: _Optional[str] = ..., failover_timeout: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., active_clusters: _Optional[_Union[_domain_pb2.ActiveClusters, _Mapping]] = ...) -> None: ... + +class UpdateDomainResponse(_message.Message): + __slots__ = ("domain",) + DOMAIN_FIELD_NUMBER: _ClassVar[int] + domain: _domain_pb2.Domain + def __init__(self, domain: _Optional[_Union[_domain_pb2.Domain, _Mapping]] = ...) -> None: ... + +class DeprecateDomainRequest(_message.Message): + __slots__ = ("security_token", "name") + SECURITY_TOKEN_FIELD_NUMBER: _ClassVar[int] + NAME_FIELD_NUMBER: _ClassVar[int] + security_token: str + name: str + def __init__(self, security_token: _Optional[str] = ..., name: _Optional[str] = ...) -> None: ... + +class DeprecateDomainResponse(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + +class DeleteDomainRequest(_message.Message): + __slots__ = ("security_token", "name") + SECURITY_TOKEN_FIELD_NUMBER: _ClassVar[int] + NAME_FIELD_NUMBER: _ClassVar[int] + security_token: str + name: str + def __init__(self, security_token: _Optional[str] = ..., name: _Optional[str] = ...) -> None: ... + +class DeleteDomainResponse(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + +class DescribeDomainRequest(_message.Message): + __slots__ = ("id", "name") + ID_FIELD_NUMBER: _ClassVar[int] + NAME_FIELD_NUMBER: _ClassVar[int] + id: str + name: str + def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ...) -> None: ... + +class DescribeDomainResponse(_message.Message): + __slots__ = ("domain",) + DOMAIN_FIELD_NUMBER: _ClassVar[int] + domain: _domain_pb2.Domain + def __init__(self, domain: _Optional[_Union[_domain_pb2.Domain, _Mapping]] = ...) -> None: ... + +class ListDomainsRequest(_message.Message): + __slots__ = ("page_size", "next_page_token") + PAGE_SIZE_FIELD_NUMBER: _ClassVar[int] + NEXT_PAGE_TOKEN_FIELD_NUMBER: _ClassVar[int] + page_size: int + next_page_token: bytes + def __init__(self, page_size: _Optional[int] = ..., next_page_token: _Optional[bytes] = ...) -> None: ... + +class ListDomainsResponse(_message.Message): + __slots__ = ("domains", "next_page_token") + DOMAINS_FIELD_NUMBER: _ClassVar[int] + NEXT_PAGE_TOKEN_FIELD_NUMBER: _ClassVar[int] + domains: _containers.RepeatedCompositeFieldContainer[_domain_pb2.Domain] + next_page_token: bytes + def __init__(self, domains: _Optional[_Iterable[_Union[_domain_pb2.Domain, _Mapping]]] = ..., next_page_token: _Optional[bytes] = ...) -> None: ... diff --git a/cadence/shared/api/v1/service_meta_pb2.py b/cadence/shared/api/v1/service_meta_pb2.py new file mode 100644 index 0000000..0e41c56 --- /dev/null +++ b/cadence/shared/api/v1/service_meta_pb2.py @@ -0,0 +1,137 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: uber/cadence/api/v1/service_meta.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='uber/cadence/api/v1/service_meta.proto', + package='uber.cadence.api.v1', + syntax='proto3', + serialized_options=b'\n\027com.uber.cadence.api.v1B\020MetaServiceProtoP\001Z1github.com/uber/cadence-idl/go/proto/api/v1;apiv1', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n&uber/cadence/api/v1/service_meta.proto\x12\x13uber.cadence.api.v1\"\x0f\n\rHealthRequest\"-\n\x0eHealthResponse\x12\n\n\x02ok\x18\x01 \x01(\x08\x12\x0f\n\x07message\x18\x02 \x01(\t2\\\n\x07MetaAPI\x12Q\n\x06Health\x12\".uber.cadence.api.v1.HealthRequest\x1a#.uber.cadence.api.v1.HealthResponseB`\n\x17\x63om.uber.cadence.api.v1B\x10MetaServiceProtoP\x01Z1github.com/uber/cadence-idl/go/proto/api/v1;apiv1b\x06proto3' +) + + + + +_HEALTHREQUEST = _descriptor.Descriptor( + name='HealthRequest', + full_name='uber.cadence.api.v1.HealthRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=63, + serialized_end=78, +) + + +_HEALTHRESPONSE = _descriptor.Descriptor( + name='HealthResponse', + full_name='uber.cadence.api.v1.HealthResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='ok', full_name='uber.cadence.api.v1.HealthResponse.ok', index=0, + number=1, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='message', full_name='uber.cadence.api.v1.HealthResponse.message', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=80, + serialized_end=125, +) + +DESCRIPTOR.message_types_by_name['HealthRequest'] = _HEALTHREQUEST +DESCRIPTOR.message_types_by_name['HealthResponse'] = _HEALTHRESPONSE +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +HealthRequest = _reflection.GeneratedProtocolMessageType('HealthRequest', (_message.Message,), { + 'DESCRIPTOR' : _HEALTHREQUEST, + '__module__' : 'uber.cadence.api.v1.service_meta_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.HealthRequest) + }) +_sym_db.RegisterMessage(HealthRequest) + +HealthResponse = _reflection.GeneratedProtocolMessageType('HealthResponse', (_message.Message,), { + 'DESCRIPTOR' : _HEALTHRESPONSE, + '__module__' : 'uber.cadence.api.v1.service_meta_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.HealthResponse) + }) +_sym_db.RegisterMessage(HealthResponse) + + +DESCRIPTOR._options = None + +_METAAPI = _descriptor.ServiceDescriptor( + name='MetaAPI', + full_name='uber.cadence.api.v1.MetaAPI', + file=DESCRIPTOR, + index=0, + serialized_options=None, + create_key=_descriptor._internal_create_key, + serialized_start=127, + serialized_end=219, + methods=[ + _descriptor.MethodDescriptor( + name='Health', + full_name='uber.cadence.api.v1.MetaAPI.Health', + index=0, + containing_service=None, + input_type=_HEALTHREQUEST, + output_type=_HEALTHRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), +]) +_sym_db.RegisterServiceDescriptor(_METAAPI) + +DESCRIPTOR.services_by_name['MetaAPI'] = _METAAPI + +# @@protoc_insertion_point(module_scope) diff --git a/cadence/shared/api/v1/service_meta_pb2.pyi b/cadence/shared/api/v1/service_meta_pb2.pyi new file mode 100644 index 0000000..19d9691 --- /dev/null +++ b/cadence/shared/api/v1/service_meta_pb2.pyi @@ -0,0 +1,17 @@ +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from typing import ClassVar as _ClassVar, Optional as _Optional + +DESCRIPTOR: _descriptor.FileDescriptor + +class HealthRequest(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + +class HealthResponse(_message.Message): + __slots__ = ("ok", "message") + OK_FIELD_NUMBER: _ClassVar[int] + MESSAGE_FIELD_NUMBER: _ClassVar[int] + ok: bool + message: str + def __init__(self, ok: bool = ..., message: _Optional[str] = ...) -> None: ... diff --git a/cadence/shared/api/v1/service_visibility_pb2.py b/cadence/shared/api/v1/service_visibility_pb2.py new file mode 100644 index 0000000..f2e74e7 --- /dev/null +++ b/cadence/shared/api/v1/service_visibility_pb2.py @@ -0,0 +1,942 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: uber/cadence/api/v1/service_visibility.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from uber.cadence.api.v1 import visibility_pb2 as uber_dot_cadence_dot_api_dot_v1_dot_visibility__pb2 +from uber.cadence.api.v1 import workflow_pb2 as uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='uber/cadence/api/v1/service_visibility.proto', + package='uber.cadence.api.v1', + syntax='proto3', + serialized_options=b'\n\027com.uber.cadence.api.v1B\026VisibilityServiceProtoP\001Z1github.com/uber/cadence-idl/go/proto/api/v1;apiv1', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n,uber/cadence/api/v1/service_visibility.proto\x12\x13uber.cadence.api.v1\x1a$uber/cadence/api/v1/visibility.proto\x1a\"uber/cadence/api/v1/workflow.proto\"j\n\x1dListWorkflowExecutionsRequest\x12\x0e\n\x06\x64omain\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\"y\n\x1eListWorkflowExecutionsResponse\x12>\n\nexecutions\x18\x01 \x03(\x0b\x32*.uber.cadence.api.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"\xb5\x02\n!ListOpenWorkflowExecutionsRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12?\n\x11start_time_filter\x18\x04 \x01(\x0b\x32$.uber.cadence.api.v1.StartTimeFilter\x12H\n\x10\x65xecution_filter\x18\x05 \x01(\x0b\x32,.uber.cadence.api.v1.WorkflowExecutionFilterH\x00\x12>\n\x0btype_filter\x18\x06 \x01(\x0b\x32\'.uber.cadence.api.v1.WorkflowTypeFilterH\x00\x42\t\n\x07\x66ilters\"}\n\"ListOpenWorkflowExecutionsResponse\x12>\n\nexecutions\x18\x01 \x03(\x0b\x32*.uber.cadence.api.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"\xf3\x02\n#ListClosedWorkflowExecutionsRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12?\n\x11start_time_filter\x18\x04 \x01(\x0b\x32$.uber.cadence.api.v1.StartTimeFilter\x12H\n\x10\x65xecution_filter\x18\x05 \x01(\x0b\x32,.uber.cadence.api.v1.WorkflowExecutionFilterH\x00\x12>\n\x0btype_filter\x18\x06 \x01(\x0b\x32\'.uber.cadence.api.v1.WorkflowTypeFilterH\x00\x12:\n\rstatus_filter\x18\x07 \x01(\x0b\x32!.uber.cadence.api.v1.StatusFilterH\x00\x42\t\n\x07\x66ilters\"\x7f\n$ListClosedWorkflowExecutionsResponse\x12>\n\nexecutions\x18\x01 \x03(\x0b\x32*.uber.cadence.api.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"r\n%ListArchivedWorkflowExecutionsRequest\x12\x0e\n\x06\x64omain\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\"\x81\x01\n&ListArchivedWorkflowExecutionsResponse\x12>\n\nexecutions\x18\x01 \x03(\x0b\x32*.uber.cadence.api.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"j\n\x1dScanWorkflowExecutionsRequest\x12\x0e\n\x06\x64omain\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\"y\n\x1eScanWorkflowExecutionsResponse\x12>\n\nexecutions\x18\x01 \x03(\x0b\x32*.uber.cadence.api.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"?\n\x1e\x43ountWorkflowExecutionsRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\r\n\x05query\x18\x02 \x01(\t\"0\n\x1f\x43ountWorkflowExecutionsResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\"\x1c\n\x1aGetSearchAttributesRequest\"\xbb\x01\n\x1bGetSearchAttributesResponse\x12H\n\x04keys\x18\x01 \x03(\x0b\x32:.uber.cadence.api.v1.GetSearchAttributesResponse.KeysEntry\x1aR\n\tKeysEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x34\n\x05value\x18\x02 \x01(\x0e\x32%.uber.cadence.api.v1.IndexedValueType:\x02\x38\x01\x32\xda\x07\n\rVisibilityAPI\x12\x81\x01\n\x16ListWorkflowExecutions\x12\x32.uber.cadence.api.v1.ListWorkflowExecutionsRequest\x1a\x33.uber.cadence.api.v1.ListWorkflowExecutionsResponse\x12\x8d\x01\n\x1aListOpenWorkflowExecutions\x12\x36.uber.cadence.api.v1.ListOpenWorkflowExecutionsRequest\x1a\x37.uber.cadence.api.v1.ListOpenWorkflowExecutionsResponse\x12\x93\x01\n\x1cListClosedWorkflowExecutions\x12\x38.uber.cadence.api.v1.ListClosedWorkflowExecutionsRequest\x1a\x39.uber.cadence.api.v1.ListClosedWorkflowExecutionsResponse\x12\x99\x01\n\x1eListArchivedWorkflowExecutions\x12:.uber.cadence.api.v1.ListArchivedWorkflowExecutionsRequest\x1a;.uber.cadence.api.v1.ListArchivedWorkflowExecutionsResponse\x12\x81\x01\n\x16ScanWorkflowExecutions\x12\x32.uber.cadence.api.v1.ScanWorkflowExecutionsRequest\x1a\x33.uber.cadence.api.v1.ScanWorkflowExecutionsResponse\x12\x84\x01\n\x17\x43ountWorkflowExecutions\x12\x33.uber.cadence.api.v1.CountWorkflowExecutionsRequest\x1a\x34.uber.cadence.api.v1.CountWorkflowExecutionsResponse\x12x\n\x13GetSearchAttributes\x12/.uber.cadence.api.v1.GetSearchAttributesRequest\x1a\x30.uber.cadence.api.v1.GetSearchAttributesResponseBf\n\x17\x63om.uber.cadence.api.v1B\x16VisibilityServiceProtoP\x01Z1github.com/uber/cadence-idl/go/proto/api/v1;apiv1b\x06proto3' + , + dependencies=[uber_dot_cadence_dot_api_dot_v1_dot_visibility__pb2.DESCRIPTOR,uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2.DESCRIPTOR,]) + + + + +_LISTWORKFLOWEXECUTIONSREQUEST = _descriptor.Descriptor( + name='ListWorkflowExecutionsRequest', + full_name='uber.cadence.api.v1.ListWorkflowExecutionsRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.ListWorkflowExecutionsRequest.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='page_size', full_name='uber.cadence.api.v1.ListWorkflowExecutionsRequest.page_size', index=1, + number=2, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='next_page_token', full_name='uber.cadence.api.v1.ListWorkflowExecutionsRequest.next_page_token', index=2, + number=3, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='query', full_name='uber.cadence.api.v1.ListWorkflowExecutionsRequest.query', index=3, + number=4, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=143, + serialized_end=249, +) + + +_LISTWORKFLOWEXECUTIONSRESPONSE = _descriptor.Descriptor( + name='ListWorkflowExecutionsResponse', + full_name='uber.cadence.api.v1.ListWorkflowExecutionsResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='executions', full_name='uber.cadence.api.v1.ListWorkflowExecutionsResponse.executions', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='next_page_token', full_name='uber.cadence.api.v1.ListWorkflowExecutionsResponse.next_page_token', index=1, + number=2, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=251, + serialized_end=372, +) + + +_LISTOPENWORKFLOWEXECUTIONSREQUEST = _descriptor.Descriptor( + name='ListOpenWorkflowExecutionsRequest', + full_name='uber.cadence.api.v1.ListOpenWorkflowExecutionsRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.ListOpenWorkflowExecutionsRequest.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='page_size', full_name='uber.cadence.api.v1.ListOpenWorkflowExecutionsRequest.page_size', index=1, + number=2, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='next_page_token', full_name='uber.cadence.api.v1.ListOpenWorkflowExecutionsRequest.next_page_token', index=2, + number=3, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='start_time_filter', full_name='uber.cadence.api.v1.ListOpenWorkflowExecutionsRequest.start_time_filter', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='execution_filter', full_name='uber.cadence.api.v1.ListOpenWorkflowExecutionsRequest.execution_filter', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='type_filter', full_name='uber.cadence.api.v1.ListOpenWorkflowExecutionsRequest.type_filter', index=5, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='filters', full_name='uber.cadence.api.v1.ListOpenWorkflowExecutionsRequest.filters', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=375, + serialized_end=684, +) + + +_LISTOPENWORKFLOWEXECUTIONSRESPONSE = _descriptor.Descriptor( + name='ListOpenWorkflowExecutionsResponse', + full_name='uber.cadence.api.v1.ListOpenWorkflowExecutionsResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='executions', full_name='uber.cadence.api.v1.ListOpenWorkflowExecutionsResponse.executions', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='next_page_token', full_name='uber.cadence.api.v1.ListOpenWorkflowExecutionsResponse.next_page_token', index=1, + number=2, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=686, + serialized_end=811, +) + + +_LISTCLOSEDWORKFLOWEXECUTIONSREQUEST = _descriptor.Descriptor( + name='ListClosedWorkflowExecutionsRequest', + full_name='uber.cadence.api.v1.ListClosedWorkflowExecutionsRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.ListClosedWorkflowExecutionsRequest.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='page_size', full_name='uber.cadence.api.v1.ListClosedWorkflowExecutionsRequest.page_size', index=1, + number=2, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='next_page_token', full_name='uber.cadence.api.v1.ListClosedWorkflowExecutionsRequest.next_page_token', index=2, + number=3, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='start_time_filter', full_name='uber.cadence.api.v1.ListClosedWorkflowExecutionsRequest.start_time_filter', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='execution_filter', full_name='uber.cadence.api.v1.ListClosedWorkflowExecutionsRequest.execution_filter', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='type_filter', full_name='uber.cadence.api.v1.ListClosedWorkflowExecutionsRequest.type_filter', index=5, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='status_filter', full_name='uber.cadence.api.v1.ListClosedWorkflowExecutionsRequest.status_filter', index=6, + number=7, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='filters', full_name='uber.cadence.api.v1.ListClosedWorkflowExecutionsRequest.filters', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=814, + serialized_end=1185, +) + + +_LISTCLOSEDWORKFLOWEXECUTIONSRESPONSE = _descriptor.Descriptor( + name='ListClosedWorkflowExecutionsResponse', + full_name='uber.cadence.api.v1.ListClosedWorkflowExecutionsResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='executions', full_name='uber.cadence.api.v1.ListClosedWorkflowExecutionsResponse.executions', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='next_page_token', full_name='uber.cadence.api.v1.ListClosedWorkflowExecutionsResponse.next_page_token', index=1, + number=2, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1187, + serialized_end=1314, +) + + +_LISTARCHIVEDWORKFLOWEXECUTIONSREQUEST = _descriptor.Descriptor( + name='ListArchivedWorkflowExecutionsRequest', + full_name='uber.cadence.api.v1.ListArchivedWorkflowExecutionsRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.ListArchivedWorkflowExecutionsRequest.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='page_size', full_name='uber.cadence.api.v1.ListArchivedWorkflowExecutionsRequest.page_size', index=1, + number=2, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='next_page_token', full_name='uber.cadence.api.v1.ListArchivedWorkflowExecutionsRequest.next_page_token', index=2, + number=3, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='query', full_name='uber.cadence.api.v1.ListArchivedWorkflowExecutionsRequest.query', index=3, + number=4, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1316, + serialized_end=1430, +) + + +_LISTARCHIVEDWORKFLOWEXECUTIONSRESPONSE = _descriptor.Descriptor( + name='ListArchivedWorkflowExecutionsResponse', + full_name='uber.cadence.api.v1.ListArchivedWorkflowExecutionsResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='executions', full_name='uber.cadence.api.v1.ListArchivedWorkflowExecutionsResponse.executions', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='next_page_token', full_name='uber.cadence.api.v1.ListArchivedWorkflowExecutionsResponse.next_page_token', index=1, + number=2, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1433, + serialized_end=1562, +) + + +_SCANWORKFLOWEXECUTIONSREQUEST = _descriptor.Descriptor( + name='ScanWorkflowExecutionsRequest', + full_name='uber.cadence.api.v1.ScanWorkflowExecutionsRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.ScanWorkflowExecutionsRequest.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='page_size', full_name='uber.cadence.api.v1.ScanWorkflowExecutionsRequest.page_size', index=1, + number=2, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='next_page_token', full_name='uber.cadence.api.v1.ScanWorkflowExecutionsRequest.next_page_token', index=2, + number=3, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='query', full_name='uber.cadence.api.v1.ScanWorkflowExecutionsRequest.query', index=3, + number=4, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1564, + serialized_end=1670, +) + + +_SCANWORKFLOWEXECUTIONSRESPONSE = _descriptor.Descriptor( + name='ScanWorkflowExecutionsResponse', + full_name='uber.cadence.api.v1.ScanWorkflowExecutionsResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='executions', full_name='uber.cadence.api.v1.ScanWorkflowExecutionsResponse.executions', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='next_page_token', full_name='uber.cadence.api.v1.ScanWorkflowExecutionsResponse.next_page_token', index=1, + number=2, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1672, + serialized_end=1793, +) + + +_COUNTWORKFLOWEXECUTIONSREQUEST = _descriptor.Descriptor( + name='CountWorkflowExecutionsRequest', + full_name='uber.cadence.api.v1.CountWorkflowExecutionsRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.CountWorkflowExecutionsRequest.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='query', full_name='uber.cadence.api.v1.CountWorkflowExecutionsRequest.query', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1795, + serialized_end=1858, +) + + +_COUNTWORKFLOWEXECUTIONSRESPONSE = _descriptor.Descriptor( + name='CountWorkflowExecutionsResponse', + full_name='uber.cadence.api.v1.CountWorkflowExecutionsResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='count', full_name='uber.cadence.api.v1.CountWorkflowExecutionsResponse.count', index=0, + number=1, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1860, + serialized_end=1908, +) + + +_GETSEARCHATTRIBUTESREQUEST = _descriptor.Descriptor( + name='GetSearchAttributesRequest', + full_name='uber.cadence.api.v1.GetSearchAttributesRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1910, + serialized_end=1938, +) + + +_GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY = _descriptor.Descriptor( + name='KeysEntry', + full_name='uber.cadence.api.v1.GetSearchAttributesResponse.KeysEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='uber.cadence.api.v1.GetSearchAttributesResponse.KeysEntry.key', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='value', full_name='uber.cadence.api.v1.GetSearchAttributesResponse.KeysEntry.value', index=1, + number=2, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'8\001', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2046, + serialized_end=2128, +) + +_GETSEARCHATTRIBUTESRESPONSE = _descriptor.Descriptor( + name='GetSearchAttributesResponse', + full_name='uber.cadence.api.v1.GetSearchAttributesResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='keys', full_name='uber.cadence.api.v1.GetSearchAttributesResponse.keys', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[_GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY, ], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1941, + serialized_end=2128, +) + +_LISTWORKFLOWEXECUTIONSRESPONSE.fields_by_name['executions'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2._WORKFLOWEXECUTIONINFO +_LISTOPENWORKFLOWEXECUTIONSREQUEST.fields_by_name['start_time_filter'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_visibility__pb2._STARTTIMEFILTER +_LISTOPENWORKFLOWEXECUTIONSREQUEST.fields_by_name['execution_filter'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_visibility__pb2._WORKFLOWEXECUTIONFILTER +_LISTOPENWORKFLOWEXECUTIONSREQUEST.fields_by_name['type_filter'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_visibility__pb2._WORKFLOWTYPEFILTER +_LISTOPENWORKFLOWEXECUTIONSREQUEST.oneofs_by_name['filters'].fields.append( + _LISTOPENWORKFLOWEXECUTIONSREQUEST.fields_by_name['execution_filter']) +_LISTOPENWORKFLOWEXECUTIONSREQUEST.fields_by_name['execution_filter'].containing_oneof = _LISTOPENWORKFLOWEXECUTIONSREQUEST.oneofs_by_name['filters'] +_LISTOPENWORKFLOWEXECUTIONSREQUEST.oneofs_by_name['filters'].fields.append( + _LISTOPENWORKFLOWEXECUTIONSREQUEST.fields_by_name['type_filter']) +_LISTOPENWORKFLOWEXECUTIONSREQUEST.fields_by_name['type_filter'].containing_oneof = _LISTOPENWORKFLOWEXECUTIONSREQUEST.oneofs_by_name['filters'] +_LISTOPENWORKFLOWEXECUTIONSRESPONSE.fields_by_name['executions'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2._WORKFLOWEXECUTIONINFO +_LISTCLOSEDWORKFLOWEXECUTIONSREQUEST.fields_by_name['start_time_filter'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_visibility__pb2._STARTTIMEFILTER +_LISTCLOSEDWORKFLOWEXECUTIONSREQUEST.fields_by_name['execution_filter'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_visibility__pb2._WORKFLOWEXECUTIONFILTER +_LISTCLOSEDWORKFLOWEXECUTIONSREQUEST.fields_by_name['type_filter'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_visibility__pb2._WORKFLOWTYPEFILTER +_LISTCLOSEDWORKFLOWEXECUTIONSREQUEST.fields_by_name['status_filter'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_visibility__pb2._STATUSFILTER +_LISTCLOSEDWORKFLOWEXECUTIONSREQUEST.oneofs_by_name['filters'].fields.append( + _LISTCLOSEDWORKFLOWEXECUTIONSREQUEST.fields_by_name['execution_filter']) +_LISTCLOSEDWORKFLOWEXECUTIONSREQUEST.fields_by_name['execution_filter'].containing_oneof = _LISTCLOSEDWORKFLOWEXECUTIONSREQUEST.oneofs_by_name['filters'] +_LISTCLOSEDWORKFLOWEXECUTIONSREQUEST.oneofs_by_name['filters'].fields.append( + _LISTCLOSEDWORKFLOWEXECUTIONSREQUEST.fields_by_name['type_filter']) +_LISTCLOSEDWORKFLOWEXECUTIONSREQUEST.fields_by_name['type_filter'].containing_oneof = _LISTCLOSEDWORKFLOWEXECUTIONSREQUEST.oneofs_by_name['filters'] +_LISTCLOSEDWORKFLOWEXECUTIONSREQUEST.oneofs_by_name['filters'].fields.append( + _LISTCLOSEDWORKFLOWEXECUTIONSREQUEST.fields_by_name['status_filter']) +_LISTCLOSEDWORKFLOWEXECUTIONSREQUEST.fields_by_name['status_filter'].containing_oneof = _LISTCLOSEDWORKFLOWEXECUTIONSREQUEST.oneofs_by_name['filters'] +_LISTCLOSEDWORKFLOWEXECUTIONSRESPONSE.fields_by_name['executions'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2._WORKFLOWEXECUTIONINFO +_LISTARCHIVEDWORKFLOWEXECUTIONSRESPONSE.fields_by_name['executions'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2._WORKFLOWEXECUTIONINFO +_SCANWORKFLOWEXECUTIONSRESPONSE.fields_by_name['executions'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2._WORKFLOWEXECUTIONINFO +_GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY.fields_by_name['value'].enum_type = uber_dot_cadence_dot_api_dot_v1_dot_visibility__pb2._INDEXEDVALUETYPE +_GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY.containing_type = _GETSEARCHATTRIBUTESRESPONSE +_GETSEARCHATTRIBUTESRESPONSE.fields_by_name['keys'].message_type = _GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY +DESCRIPTOR.message_types_by_name['ListWorkflowExecutionsRequest'] = _LISTWORKFLOWEXECUTIONSREQUEST +DESCRIPTOR.message_types_by_name['ListWorkflowExecutionsResponse'] = _LISTWORKFLOWEXECUTIONSRESPONSE +DESCRIPTOR.message_types_by_name['ListOpenWorkflowExecutionsRequest'] = _LISTOPENWORKFLOWEXECUTIONSREQUEST +DESCRIPTOR.message_types_by_name['ListOpenWorkflowExecutionsResponse'] = _LISTOPENWORKFLOWEXECUTIONSRESPONSE +DESCRIPTOR.message_types_by_name['ListClosedWorkflowExecutionsRequest'] = _LISTCLOSEDWORKFLOWEXECUTIONSREQUEST +DESCRIPTOR.message_types_by_name['ListClosedWorkflowExecutionsResponse'] = _LISTCLOSEDWORKFLOWEXECUTIONSRESPONSE +DESCRIPTOR.message_types_by_name['ListArchivedWorkflowExecutionsRequest'] = _LISTARCHIVEDWORKFLOWEXECUTIONSREQUEST +DESCRIPTOR.message_types_by_name['ListArchivedWorkflowExecutionsResponse'] = _LISTARCHIVEDWORKFLOWEXECUTIONSRESPONSE +DESCRIPTOR.message_types_by_name['ScanWorkflowExecutionsRequest'] = _SCANWORKFLOWEXECUTIONSREQUEST +DESCRIPTOR.message_types_by_name['ScanWorkflowExecutionsResponse'] = _SCANWORKFLOWEXECUTIONSRESPONSE +DESCRIPTOR.message_types_by_name['CountWorkflowExecutionsRequest'] = _COUNTWORKFLOWEXECUTIONSREQUEST +DESCRIPTOR.message_types_by_name['CountWorkflowExecutionsResponse'] = _COUNTWORKFLOWEXECUTIONSRESPONSE +DESCRIPTOR.message_types_by_name['GetSearchAttributesRequest'] = _GETSEARCHATTRIBUTESREQUEST +DESCRIPTOR.message_types_by_name['GetSearchAttributesResponse'] = _GETSEARCHATTRIBUTESRESPONSE +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ListWorkflowExecutionsRequest = _reflection.GeneratedProtocolMessageType('ListWorkflowExecutionsRequest', (_message.Message,), { + 'DESCRIPTOR' : _LISTWORKFLOWEXECUTIONSREQUEST, + '__module__' : 'uber.cadence.api.v1.service_visibility_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ListWorkflowExecutionsRequest) + }) +_sym_db.RegisterMessage(ListWorkflowExecutionsRequest) + +ListWorkflowExecutionsResponse = _reflection.GeneratedProtocolMessageType('ListWorkflowExecutionsResponse', (_message.Message,), { + 'DESCRIPTOR' : _LISTWORKFLOWEXECUTIONSRESPONSE, + '__module__' : 'uber.cadence.api.v1.service_visibility_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ListWorkflowExecutionsResponse) + }) +_sym_db.RegisterMessage(ListWorkflowExecutionsResponse) + +ListOpenWorkflowExecutionsRequest = _reflection.GeneratedProtocolMessageType('ListOpenWorkflowExecutionsRequest', (_message.Message,), { + 'DESCRIPTOR' : _LISTOPENWORKFLOWEXECUTIONSREQUEST, + '__module__' : 'uber.cadence.api.v1.service_visibility_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ListOpenWorkflowExecutionsRequest) + }) +_sym_db.RegisterMessage(ListOpenWorkflowExecutionsRequest) + +ListOpenWorkflowExecutionsResponse = _reflection.GeneratedProtocolMessageType('ListOpenWorkflowExecutionsResponse', (_message.Message,), { + 'DESCRIPTOR' : _LISTOPENWORKFLOWEXECUTIONSRESPONSE, + '__module__' : 'uber.cadence.api.v1.service_visibility_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ListOpenWorkflowExecutionsResponse) + }) +_sym_db.RegisterMessage(ListOpenWorkflowExecutionsResponse) + +ListClosedWorkflowExecutionsRequest = _reflection.GeneratedProtocolMessageType('ListClosedWorkflowExecutionsRequest', (_message.Message,), { + 'DESCRIPTOR' : _LISTCLOSEDWORKFLOWEXECUTIONSREQUEST, + '__module__' : 'uber.cadence.api.v1.service_visibility_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ListClosedWorkflowExecutionsRequest) + }) +_sym_db.RegisterMessage(ListClosedWorkflowExecutionsRequest) + +ListClosedWorkflowExecutionsResponse = _reflection.GeneratedProtocolMessageType('ListClosedWorkflowExecutionsResponse', (_message.Message,), { + 'DESCRIPTOR' : _LISTCLOSEDWORKFLOWEXECUTIONSRESPONSE, + '__module__' : 'uber.cadence.api.v1.service_visibility_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ListClosedWorkflowExecutionsResponse) + }) +_sym_db.RegisterMessage(ListClosedWorkflowExecutionsResponse) + +ListArchivedWorkflowExecutionsRequest = _reflection.GeneratedProtocolMessageType('ListArchivedWorkflowExecutionsRequest', (_message.Message,), { + 'DESCRIPTOR' : _LISTARCHIVEDWORKFLOWEXECUTIONSREQUEST, + '__module__' : 'uber.cadence.api.v1.service_visibility_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ListArchivedWorkflowExecutionsRequest) + }) +_sym_db.RegisterMessage(ListArchivedWorkflowExecutionsRequest) + +ListArchivedWorkflowExecutionsResponse = _reflection.GeneratedProtocolMessageType('ListArchivedWorkflowExecutionsResponse', (_message.Message,), { + 'DESCRIPTOR' : _LISTARCHIVEDWORKFLOWEXECUTIONSRESPONSE, + '__module__' : 'uber.cadence.api.v1.service_visibility_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ListArchivedWorkflowExecutionsResponse) + }) +_sym_db.RegisterMessage(ListArchivedWorkflowExecutionsResponse) + +ScanWorkflowExecutionsRequest = _reflection.GeneratedProtocolMessageType('ScanWorkflowExecutionsRequest', (_message.Message,), { + 'DESCRIPTOR' : _SCANWORKFLOWEXECUTIONSREQUEST, + '__module__' : 'uber.cadence.api.v1.service_visibility_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ScanWorkflowExecutionsRequest) + }) +_sym_db.RegisterMessage(ScanWorkflowExecutionsRequest) + +ScanWorkflowExecutionsResponse = _reflection.GeneratedProtocolMessageType('ScanWorkflowExecutionsResponse', (_message.Message,), { + 'DESCRIPTOR' : _SCANWORKFLOWEXECUTIONSRESPONSE, + '__module__' : 'uber.cadence.api.v1.service_visibility_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ScanWorkflowExecutionsResponse) + }) +_sym_db.RegisterMessage(ScanWorkflowExecutionsResponse) + +CountWorkflowExecutionsRequest = _reflection.GeneratedProtocolMessageType('CountWorkflowExecutionsRequest', (_message.Message,), { + 'DESCRIPTOR' : _COUNTWORKFLOWEXECUTIONSREQUEST, + '__module__' : 'uber.cadence.api.v1.service_visibility_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.CountWorkflowExecutionsRequest) + }) +_sym_db.RegisterMessage(CountWorkflowExecutionsRequest) + +CountWorkflowExecutionsResponse = _reflection.GeneratedProtocolMessageType('CountWorkflowExecutionsResponse', (_message.Message,), { + 'DESCRIPTOR' : _COUNTWORKFLOWEXECUTIONSRESPONSE, + '__module__' : 'uber.cadence.api.v1.service_visibility_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.CountWorkflowExecutionsResponse) + }) +_sym_db.RegisterMessage(CountWorkflowExecutionsResponse) + +GetSearchAttributesRequest = _reflection.GeneratedProtocolMessageType('GetSearchAttributesRequest', (_message.Message,), { + 'DESCRIPTOR' : _GETSEARCHATTRIBUTESREQUEST, + '__module__' : 'uber.cadence.api.v1.service_visibility_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.GetSearchAttributesRequest) + }) +_sym_db.RegisterMessage(GetSearchAttributesRequest) + +GetSearchAttributesResponse = _reflection.GeneratedProtocolMessageType('GetSearchAttributesResponse', (_message.Message,), { + + 'KeysEntry' : _reflection.GeneratedProtocolMessageType('KeysEntry', (_message.Message,), { + 'DESCRIPTOR' : _GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY, + '__module__' : 'uber.cadence.api.v1.service_visibility_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.GetSearchAttributesResponse.KeysEntry) + }) + , + 'DESCRIPTOR' : _GETSEARCHATTRIBUTESRESPONSE, + '__module__' : 'uber.cadence.api.v1.service_visibility_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.GetSearchAttributesResponse) + }) +_sym_db.RegisterMessage(GetSearchAttributesResponse) +_sym_db.RegisterMessage(GetSearchAttributesResponse.KeysEntry) + + +DESCRIPTOR._options = None +_GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY._options = None + +_VISIBILITYAPI = _descriptor.ServiceDescriptor( + name='VisibilityAPI', + full_name='uber.cadence.api.v1.VisibilityAPI', + file=DESCRIPTOR, + index=0, + serialized_options=None, + create_key=_descriptor._internal_create_key, + serialized_start=2131, + serialized_end=3117, + methods=[ + _descriptor.MethodDescriptor( + name='ListWorkflowExecutions', + full_name='uber.cadence.api.v1.VisibilityAPI.ListWorkflowExecutions', + index=0, + containing_service=None, + input_type=_LISTWORKFLOWEXECUTIONSREQUEST, + output_type=_LISTWORKFLOWEXECUTIONSRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='ListOpenWorkflowExecutions', + full_name='uber.cadence.api.v1.VisibilityAPI.ListOpenWorkflowExecutions', + index=1, + containing_service=None, + input_type=_LISTOPENWORKFLOWEXECUTIONSREQUEST, + output_type=_LISTOPENWORKFLOWEXECUTIONSRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='ListClosedWorkflowExecutions', + full_name='uber.cadence.api.v1.VisibilityAPI.ListClosedWorkflowExecutions', + index=2, + containing_service=None, + input_type=_LISTCLOSEDWORKFLOWEXECUTIONSREQUEST, + output_type=_LISTCLOSEDWORKFLOWEXECUTIONSRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='ListArchivedWorkflowExecutions', + full_name='uber.cadence.api.v1.VisibilityAPI.ListArchivedWorkflowExecutions', + index=3, + containing_service=None, + input_type=_LISTARCHIVEDWORKFLOWEXECUTIONSREQUEST, + output_type=_LISTARCHIVEDWORKFLOWEXECUTIONSRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='ScanWorkflowExecutions', + full_name='uber.cadence.api.v1.VisibilityAPI.ScanWorkflowExecutions', + index=4, + containing_service=None, + input_type=_SCANWORKFLOWEXECUTIONSREQUEST, + output_type=_SCANWORKFLOWEXECUTIONSRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='CountWorkflowExecutions', + full_name='uber.cadence.api.v1.VisibilityAPI.CountWorkflowExecutions', + index=5, + containing_service=None, + input_type=_COUNTWORKFLOWEXECUTIONSREQUEST, + output_type=_COUNTWORKFLOWEXECUTIONSRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='GetSearchAttributes', + full_name='uber.cadence.api.v1.VisibilityAPI.GetSearchAttributes', + index=6, + containing_service=None, + input_type=_GETSEARCHATTRIBUTESREQUEST, + output_type=_GETSEARCHATTRIBUTESRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), +]) +_sym_db.RegisterServiceDescriptor(_VISIBILITYAPI) + +DESCRIPTOR.services_by_name['VisibilityAPI'] = _VISIBILITYAPI + +# @@protoc_insertion_point(module_scope) diff --git a/cadence/shared/api/v1/service_visibility_pb2.pyi b/cadence/shared/api/v1/service_visibility_pb2.pyi new file mode 100644 index 0000000..4aa6095 --- /dev/null +++ b/cadence/shared/api/v1/service_visibility_pb2.pyi @@ -0,0 +1,149 @@ +from uber.cadence.api.v1 import visibility_pb2 as _visibility_pb2 +from uber.cadence.api.v1 import workflow_pb2 as _workflow_pb2 +from google.protobuf.internal import containers as _containers +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union + +DESCRIPTOR: _descriptor.FileDescriptor + +class ListWorkflowExecutionsRequest(_message.Message): + __slots__ = ("domain", "page_size", "next_page_token", "query") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + PAGE_SIZE_FIELD_NUMBER: _ClassVar[int] + NEXT_PAGE_TOKEN_FIELD_NUMBER: _ClassVar[int] + QUERY_FIELD_NUMBER: _ClassVar[int] + domain: str + page_size: int + next_page_token: bytes + query: str + def __init__(self, domain: _Optional[str] = ..., page_size: _Optional[int] = ..., next_page_token: _Optional[bytes] = ..., query: _Optional[str] = ...) -> None: ... + +class ListWorkflowExecutionsResponse(_message.Message): + __slots__ = ("executions", "next_page_token") + EXECUTIONS_FIELD_NUMBER: _ClassVar[int] + NEXT_PAGE_TOKEN_FIELD_NUMBER: _ClassVar[int] + executions: _containers.RepeatedCompositeFieldContainer[_workflow_pb2.WorkflowExecutionInfo] + next_page_token: bytes + def __init__(self, executions: _Optional[_Iterable[_Union[_workflow_pb2.WorkflowExecutionInfo, _Mapping]]] = ..., next_page_token: _Optional[bytes] = ...) -> None: ... + +class ListOpenWorkflowExecutionsRequest(_message.Message): + __slots__ = ("domain", "page_size", "next_page_token", "start_time_filter", "execution_filter", "type_filter") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + PAGE_SIZE_FIELD_NUMBER: _ClassVar[int] + NEXT_PAGE_TOKEN_FIELD_NUMBER: _ClassVar[int] + START_TIME_FILTER_FIELD_NUMBER: _ClassVar[int] + EXECUTION_FILTER_FIELD_NUMBER: _ClassVar[int] + TYPE_FILTER_FIELD_NUMBER: _ClassVar[int] + domain: str + page_size: int + next_page_token: bytes + start_time_filter: _visibility_pb2.StartTimeFilter + execution_filter: _visibility_pb2.WorkflowExecutionFilter + type_filter: _visibility_pb2.WorkflowTypeFilter + def __init__(self, domain: _Optional[str] = ..., page_size: _Optional[int] = ..., next_page_token: _Optional[bytes] = ..., start_time_filter: _Optional[_Union[_visibility_pb2.StartTimeFilter, _Mapping]] = ..., execution_filter: _Optional[_Union[_visibility_pb2.WorkflowExecutionFilter, _Mapping]] = ..., type_filter: _Optional[_Union[_visibility_pb2.WorkflowTypeFilter, _Mapping]] = ...) -> None: ... + +class ListOpenWorkflowExecutionsResponse(_message.Message): + __slots__ = ("executions", "next_page_token") + EXECUTIONS_FIELD_NUMBER: _ClassVar[int] + NEXT_PAGE_TOKEN_FIELD_NUMBER: _ClassVar[int] + executions: _containers.RepeatedCompositeFieldContainer[_workflow_pb2.WorkflowExecutionInfo] + next_page_token: bytes + def __init__(self, executions: _Optional[_Iterable[_Union[_workflow_pb2.WorkflowExecutionInfo, _Mapping]]] = ..., next_page_token: _Optional[bytes] = ...) -> None: ... + +class ListClosedWorkflowExecutionsRequest(_message.Message): + __slots__ = ("domain", "page_size", "next_page_token", "start_time_filter", "execution_filter", "type_filter", "status_filter") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + PAGE_SIZE_FIELD_NUMBER: _ClassVar[int] + NEXT_PAGE_TOKEN_FIELD_NUMBER: _ClassVar[int] + START_TIME_FILTER_FIELD_NUMBER: _ClassVar[int] + EXECUTION_FILTER_FIELD_NUMBER: _ClassVar[int] + TYPE_FILTER_FIELD_NUMBER: _ClassVar[int] + STATUS_FILTER_FIELD_NUMBER: _ClassVar[int] + domain: str + page_size: int + next_page_token: bytes + start_time_filter: _visibility_pb2.StartTimeFilter + execution_filter: _visibility_pb2.WorkflowExecutionFilter + type_filter: _visibility_pb2.WorkflowTypeFilter + status_filter: _visibility_pb2.StatusFilter + def __init__(self, domain: _Optional[str] = ..., page_size: _Optional[int] = ..., next_page_token: _Optional[bytes] = ..., start_time_filter: _Optional[_Union[_visibility_pb2.StartTimeFilter, _Mapping]] = ..., execution_filter: _Optional[_Union[_visibility_pb2.WorkflowExecutionFilter, _Mapping]] = ..., type_filter: _Optional[_Union[_visibility_pb2.WorkflowTypeFilter, _Mapping]] = ..., status_filter: _Optional[_Union[_visibility_pb2.StatusFilter, _Mapping]] = ...) -> None: ... + +class ListClosedWorkflowExecutionsResponse(_message.Message): + __slots__ = ("executions", "next_page_token") + EXECUTIONS_FIELD_NUMBER: _ClassVar[int] + NEXT_PAGE_TOKEN_FIELD_NUMBER: _ClassVar[int] + executions: _containers.RepeatedCompositeFieldContainer[_workflow_pb2.WorkflowExecutionInfo] + next_page_token: bytes + def __init__(self, executions: _Optional[_Iterable[_Union[_workflow_pb2.WorkflowExecutionInfo, _Mapping]]] = ..., next_page_token: _Optional[bytes] = ...) -> None: ... + +class ListArchivedWorkflowExecutionsRequest(_message.Message): + __slots__ = ("domain", "page_size", "next_page_token", "query") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + PAGE_SIZE_FIELD_NUMBER: _ClassVar[int] + NEXT_PAGE_TOKEN_FIELD_NUMBER: _ClassVar[int] + QUERY_FIELD_NUMBER: _ClassVar[int] + domain: str + page_size: int + next_page_token: bytes + query: str + def __init__(self, domain: _Optional[str] = ..., page_size: _Optional[int] = ..., next_page_token: _Optional[bytes] = ..., query: _Optional[str] = ...) -> None: ... + +class ListArchivedWorkflowExecutionsResponse(_message.Message): + __slots__ = ("executions", "next_page_token") + EXECUTIONS_FIELD_NUMBER: _ClassVar[int] + NEXT_PAGE_TOKEN_FIELD_NUMBER: _ClassVar[int] + executions: _containers.RepeatedCompositeFieldContainer[_workflow_pb2.WorkflowExecutionInfo] + next_page_token: bytes + def __init__(self, executions: _Optional[_Iterable[_Union[_workflow_pb2.WorkflowExecutionInfo, _Mapping]]] = ..., next_page_token: _Optional[bytes] = ...) -> None: ... + +class ScanWorkflowExecutionsRequest(_message.Message): + __slots__ = ("domain", "page_size", "next_page_token", "query") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + PAGE_SIZE_FIELD_NUMBER: _ClassVar[int] + NEXT_PAGE_TOKEN_FIELD_NUMBER: _ClassVar[int] + QUERY_FIELD_NUMBER: _ClassVar[int] + domain: str + page_size: int + next_page_token: bytes + query: str + def __init__(self, domain: _Optional[str] = ..., page_size: _Optional[int] = ..., next_page_token: _Optional[bytes] = ..., query: _Optional[str] = ...) -> None: ... + +class ScanWorkflowExecutionsResponse(_message.Message): + __slots__ = ("executions", "next_page_token") + EXECUTIONS_FIELD_NUMBER: _ClassVar[int] + NEXT_PAGE_TOKEN_FIELD_NUMBER: _ClassVar[int] + executions: _containers.RepeatedCompositeFieldContainer[_workflow_pb2.WorkflowExecutionInfo] + next_page_token: bytes + def __init__(self, executions: _Optional[_Iterable[_Union[_workflow_pb2.WorkflowExecutionInfo, _Mapping]]] = ..., next_page_token: _Optional[bytes] = ...) -> None: ... + +class CountWorkflowExecutionsRequest(_message.Message): + __slots__ = ("domain", "query") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + QUERY_FIELD_NUMBER: _ClassVar[int] + domain: str + query: str + def __init__(self, domain: _Optional[str] = ..., query: _Optional[str] = ...) -> None: ... + +class CountWorkflowExecutionsResponse(_message.Message): + __slots__ = ("count",) + COUNT_FIELD_NUMBER: _ClassVar[int] + count: int + def __init__(self, count: _Optional[int] = ...) -> None: ... + +class GetSearchAttributesRequest(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + +class GetSearchAttributesResponse(_message.Message): + __slots__ = ("keys",) + class KeysEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: _visibility_pb2.IndexedValueType + def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[_visibility_pb2.IndexedValueType, str]] = ...) -> None: ... + KEYS_FIELD_NUMBER: _ClassVar[int] + keys: _containers.ScalarMap[str, _visibility_pb2.IndexedValueType] + def __init__(self, keys: _Optional[_Mapping[str, _visibility_pb2.IndexedValueType]] = ...) -> None: ... diff --git a/cadence/shared/api/v1/service_worker_pb2.py b/cadence/shared/api/v1/service_worker_pb2.py new file mode 100644 index 0000000..dcf47ea --- /dev/null +++ b/cadence/shared/api/v1/service_worker_pb2.py @@ -0,0 +1,2042 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: uber/cadence/api/v1/service_worker.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from uber.cadence.api.v1 import common_pb2 as uber_dot_cadence_dot_api_dot_v1_dot_common__pb2 +from uber.cadence.api.v1 import decision_pb2 as uber_dot_cadence_dot_api_dot_v1_dot_decision__pb2 +from uber.cadence.api.v1 import history_pb2 as uber_dot_cadence_dot_api_dot_v1_dot_history__pb2 +from uber.cadence.api.v1 import query_pb2 as uber_dot_cadence_dot_api_dot_v1_dot_query__pb2 +from uber.cadence.api.v1 import tasklist_pb2 as uber_dot_cadence_dot_api_dot_v1_dot_tasklist__pb2 +from uber.cadence.api.v1 import workflow_pb2 as uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='uber/cadence/api/v1/service_worker.proto', + package='uber.cadence.api.v1', + syntax='proto3', + serialized_options=b'\n\027com.uber.cadence.api.v1B\022WorkerServiceProtoP\001Z1github.com/uber/cadence-idl/go/proto/api/v1;apiv1', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n(uber/cadence/api/v1/service_worker.proto\x12\x13uber.cadence.api.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a uber/cadence/api/v1/common.proto\x1a\"uber/cadence/api/v1/decision.proto\x1a!uber/cadence/api/v1/history.proto\x1a\x1fuber/cadence/api/v1/query.proto\x1a\"uber/cadence/api/v1/tasklist.proto\x1a\"uber/cadence/api/v1/workflow.proto\"\x89\x01\n\x1aPollForDecisionTaskRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x30\n\ttask_list\x18\x02 \x01(\x0b\x32\x1d.uber.cadence.api.v1.TaskList\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x17\n\x0f\x62inary_checksum\x18\x04 \x01(\t\"\xf3\x06\n\x1bPollForDecisionTaskResponse\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x42\n\x12workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x38\n\rworkflow_type\x18\x03 \x01(\x0b\x32!.uber.cadence.api.v1.WorkflowType\x12>\n\x19previous_started_event_id\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03\x12\x0f\n\x07\x61ttempt\x18\x06 \x01(\x03\x12\x1a\n\x12\x62\x61\x63klog_count_hint\x18\x07 \x01(\x03\x12-\n\x07history\x18\x08 \x01(\x0b\x32\x1c.uber.cadence.api.v1.History\x12\x17\n\x0fnext_page_token\x18\t \x01(\x0c\x12\x31\n\x05query\x18\n \x01(\x0b\x32\".uber.cadence.api.v1.WorkflowQuery\x12\x43\n\x1cworkflow_execution_task_list\x18\x0b \x01(\x0b\x32\x1d.uber.cadence.api.v1.TaskList\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\x12N\n\x07queries\x18\x0e \x03(\x0b\x32=.uber.cadence.api.v1.PollForDecisionTaskResponse.QueriesEntry\x12\x15\n\rnext_event_id\x18\x0f \x01(\x03\x12\x1b\n\x13total_history_bytes\x18\x10 \x01(\x03\x12=\n\x10\x61uto_config_hint\x18\x11 \x01(\x0b\x32#.uber.cadence.api.v1.AutoConfigHint\x1aR\n\x0cQueriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x31\n\x05value\x18\x02 \x01(\x0b\x32\".uber.cadence.api.v1.WorkflowQuery:\x02\x38\x01\"\x88\x04\n#RespondDecisionTaskCompletedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x30\n\tdecisions\x18\x02 \x03(\x0b\x32\x1d.uber.cadence.api.v1.Decision\x12\x19\n\x11\x65xecution_context\x18\x03 \x01(\x0c\x12\x10\n\x08identity\x18\x04 \x01(\t\x12I\n\x11sticky_attributes\x18\x05 \x01(\x0b\x32..uber.cadence.api.v1.StickyExecutionAttributes\x12 \n\x18return_new_decision_task\x18\x06 \x01(\x08\x12&\n\x1e\x66orce_create_new_decision_task\x18\x07 \x01(\x08\x12\x17\n\x0f\x62inary_checksum\x18\x08 \x01(\t\x12\x61\n\rquery_results\x18\t \x03(\x0b\x32J.uber.cadence.api.v1.RespondDecisionTaskCompletedRequest.QueryResultsEntry\x1a]\n\x11QueryResultsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x37\n\x05value\x18\x02 \x01(\x0b\x32(.uber.cadence.api.v1.WorkflowQueryResult:\x02\x38\x01\"\xe8\x02\n$RespondDecisionTaskCompletedResponse\x12G\n\rdecision_task\x18\x01 \x01(\x0b\x32\x30.uber.cadence.api.v1.PollForDecisionTaskResponse\x12\x82\x01\n\x1e\x61\x63tivities_to_dispatch_locally\x18\x02 \x03(\x0b\x32Z.uber.cadence.api.v1.RespondDecisionTaskCompletedResponse.ActivitiesToDispatchLocallyEntry\x1ar\n ActivitiesToDispatchLocallyEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12=\n\x05value\x18\x02 \x01(\x0b\x32..uber.cadence.api.v1.ActivityLocalDispatchInfo:\x02\x38\x01\"\xcd\x01\n RespondDecisionTaskFailedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12;\n\x05\x63\x61use\x18\x02 \x01(\x0e\x32,.uber.cadence.api.v1.DecisionTaskFailedCause\x12-\n\x07\x64\x65tails\x18\x03 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x17\n\x0f\x62inary_checksum\x18\x05 \x01(\t\"#\n!RespondDecisionTaskFailedResponse\"\xb3\x01\n\x1aPollForActivityTaskRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x30\n\ttask_list\x18\x02 \x01(\x0b\x32\x1d.uber.cadence.api.v1.TaskList\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x41\n\x12task_list_metadata\x18\x04 \x01(\x0b\x32%.uber.cadence.api.v1.TaskListMetadata\"\xd3\x06\n\x1bPollForActivityTaskResponse\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x42\n\x12workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x13\n\x0b\x61\x63tivity_id\x18\x03 \x01(\t\x12\x38\n\ractivity_type\x18\x04 \x01(\x0b\x32!.uber.cadence.api.v1.ActivityType\x12+\n\x05input\x18\x05 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12\x32\n\x0escheduled_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cstarted_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12<\n\x19schedule_to_close_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\x0f\n\x07\x61ttempt\x18\x0b \x01(\x05\x12\x42\n\x1escheduled_time_of_this_attempt\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x11heartbeat_details\x18\r \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12\x38\n\rworkflow_type\x18\x0e \x01(\x0b\x32!.uber.cadence.api.v1.WorkflowType\x12\x17\n\x0fworkflow_domain\x18\x0f \x01(\t\x12+\n\x06header\x18\x10 \x01(\x0b\x32\x1b.uber.cadence.api.v1.Header\x12=\n\x10\x61uto_config_hint\x18\x11 \x01(\x0b\x32#.uber.cadence.api.v1.AutoConfigHint\"y\n#RespondActivityTaskCompletedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12,\n\x06result\x18\x02 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12\x10\n\x08identity\x18\x03 \x01(\t\"&\n$RespondActivityTaskCompletedResponse\"\xd2\x01\n\'RespondActivityTaskCompletedByIDRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x42\n\x12workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x13\n\x0b\x61\x63tivity_id\x18\x03 \x01(\t\x12,\n\x06result\x18\x04 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12\x10\n\x08identity\x18\x05 \x01(\t\"*\n(RespondActivityTaskCompletedByIDResponse\"w\n RespondActivityTaskFailedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12-\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Failure\x12\x10\n\x08identity\x18\x03 \x01(\t\"#\n!RespondActivityTaskFailedResponse\"\xd0\x01\n$RespondActivityTaskFailedByIDRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x42\n\x12workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x13\n\x0b\x61\x63tivity_id\x18\x03 \x01(\t\x12-\n\x07\x66\x61ilure\x18\x04 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Failure\x12\x10\n\x08identity\x18\x05 \x01(\t\"\'\n%RespondActivityTaskFailedByIDResponse\"y\n\"RespondActivityTaskCanceledRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12-\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12\x10\n\x08identity\x18\x03 \x01(\t\"%\n#RespondActivityTaskCanceledResponse\"\xd2\x01\n&RespondActivityTaskCanceledByIDRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x42\n\x12workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x13\n\x0b\x61\x63tivity_id\x18\x03 \x01(\t\x12-\n\x07\x64\x65tails\x18\x04 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12\x10\n\x08identity\x18\x05 \x01(\t\")\n\'RespondActivityTaskCanceledByIDResponse\"y\n\"RecordActivityTaskHeartbeatRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12-\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12\x10\n\x08identity\x18\x03 \x01(\t\"?\n#RecordActivityTaskHeartbeatResponse\x12\x18\n\x10\x63\x61ncel_requested\x18\x01 \x01(\x08\"\xd2\x01\n&RecordActivityTaskHeartbeatByIDRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x42\n\x12workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x13\n\x0b\x61\x63tivity_id\x18\x03 \x01(\t\x12-\n\x07\x64\x65tails\x18\x04 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12\x10\n\x08identity\x18\x05 \x01(\t\"C\n\'RecordActivityTaskHeartbeatByIDResponse\x12\x18\n\x10\x63\x61ncel_requested\x18\x01 \x01(\x08\"\xb5\x01\n RespondQueryTaskCompletedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x38\n\x06result\x18\x02 \x01(\x0b\x32(.uber.cadence.api.v1.WorkflowQueryResult\x12\x43\n\x13worker_version_info\x18\x03 \x01(\x0b\x32&.uber.cadence.api.v1.WorkerVersionInfo\"#\n!RespondQueryTaskCompletedResponse\"p\n\x1aResetStickyTaskListRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x42\n\x12workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\"\x1d\n\x1bResetStickyTaskListResponse\"L\n\x0e\x41utoConfigHint\x12\x1a\n\x12\x65nable_auto_config\x18\x01 \x01(\x08\x12\x1e\n\x16poller_wait_time_in_ms\x18\x02 \x01(\x03\x32\xeb\x0f\n\tWorkerAPI\x12x\n\x13PollForDecisionTask\x12/.uber.cadence.api.v1.PollForDecisionTaskRequest\x1a\x30.uber.cadence.api.v1.PollForDecisionTaskResponse\x12\x93\x01\n\x1cRespondDecisionTaskCompleted\x12\x38.uber.cadence.api.v1.RespondDecisionTaskCompletedRequest\x1a\x39.uber.cadence.api.v1.RespondDecisionTaskCompletedResponse\x12\x8a\x01\n\x19RespondDecisionTaskFailed\x12\x35.uber.cadence.api.v1.RespondDecisionTaskFailedRequest\x1a\x36.uber.cadence.api.v1.RespondDecisionTaskFailedResponse\x12x\n\x13PollForActivityTask\x12/.uber.cadence.api.v1.PollForActivityTaskRequest\x1a\x30.uber.cadence.api.v1.PollForActivityTaskResponse\x12\x93\x01\n\x1cRespondActivityTaskCompleted\x12\x38.uber.cadence.api.v1.RespondActivityTaskCompletedRequest\x1a\x39.uber.cadence.api.v1.RespondActivityTaskCompletedResponse\x12\x9f\x01\n RespondActivityTaskCompletedByID\x12<.uber.cadence.api.v1.RespondActivityTaskCompletedByIDRequest\x1a=.uber.cadence.api.v1.RespondActivityTaskCompletedByIDResponse\x12\x8a\x01\n\x19RespondActivityTaskFailed\x12\x35.uber.cadence.api.v1.RespondActivityTaskFailedRequest\x1a\x36.uber.cadence.api.v1.RespondActivityTaskFailedResponse\x12\x96\x01\n\x1dRespondActivityTaskFailedByID\x12\x39.uber.cadence.api.v1.RespondActivityTaskFailedByIDRequest\x1a:.uber.cadence.api.v1.RespondActivityTaskFailedByIDResponse\x12\x90\x01\n\x1bRespondActivityTaskCanceled\x12\x37.uber.cadence.api.v1.RespondActivityTaskCanceledRequest\x1a\x38.uber.cadence.api.v1.RespondActivityTaskCanceledResponse\x12\x9c\x01\n\x1fRespondActivityTaskCanceledByID\x12;.uber.cadence.api.v1.RespondActivityTaskCanceledByIDRequest\x1a<.uber.cadence.api.v1.RespondActivityTaskCanceledByIDResponse\x12\x90\x01\n\x1bRecordActivityTaskHeartbeat\x12\x37.uber.cadence.api.v1.RecordActivityTaskHeartbeatRequest\x1a\x38.uber.cadence.api.v1.RecordActivityTaskHeartbeatResponse\x12\x9c\x01\n\x1fRecordActivityTaskHeartbeatByID\x12;.uber.cadence.api.v1.RecordActivityTaskHeartbeatByIDRequest\x1a<.uber.cadence.api.v1.RecordActivityTaskHeartbeatByIDResponse\x12\x8a\x01\n\x19RespondQueryTaskCompleted\x12\x35.uber.cadence.api.v1.RespondQueryTaskCompletedRequest\x1a\x36.uber.cadence.api.v1.RespondQueryTaskCompletedResponse\x12x\n\x13ResetStickyTaskList\x12/.uber.cadence.api.v1.ResetStickyTaskListRequest\x1a\x30.uber.cadence.api.v1.ResetStickyTaskListResponseBb\n\x17\x63om.uber.cadence.api.v1B\x12WorkerServiceProtoP\x01Z1github.com/uber/cadence-idl/go/proto/api/v1;apiv1b\x06proto3' + , + dependencies=[google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,uber_dot_cadence_dot_api_dot_v1_dot_common__pb2.DESCRIPTOR,uber_dot_cadence_dot_api_dot_v1_dot_decision__pb2.DESCRIPTOR,uber_dot_cadence_dot_api_dot_v1_dot_history__pb2.DESCRIPTOR,uber_dot_cadence_dot_api_dot_v1_dot_query__pb2.DESCRIPTOR,uber_dot_cadence_dot_api_dot_v1_dot_tasklist__pb2.DESCRIPTOR,uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2.DESCRIPTOR,]) + + + + +_POLLFORDECISIONTASKREQUEST = _descriptor.Descriptor( + name='PollForDecisionTaskRequest', + full_name='uber.cadence.api.v1.PollForDecisionTaskRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.PollForDecisionTaskRequest.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='task_list', full_name='uber.cadence.api.v1.PollForDecisionTaskRequest.task_list', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='identity', full_name='uber.cadence.api.v1.PollForDecisionTaskRequest.identity', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='binary_checksum', full_name='uber.cadence.api.v1.PollForDecisionTaskRequest.binary_checksum', index=3, + number=4, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=373, + serialized_end=510, +) + + +_POLLFORDECISIONTASKRESPONSE_QUERIESENTRY = _descriptor.Descriptor( + name='QueriesEntry', + full_name='uber.cadence.api.v1.PollForDecisionTaskResponse.QueriesEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='uber.cadence.api.v1.PollForDecisionTaskResponse.QueriesEntry.key', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='value', full_name='uber.cadence.api.v1.PollForDecisionTaskResponse.QueriesEntry.value', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'8\001', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1314, + serialized_end=1396, +) + +_POLLFORDECISIONTASKRESPONSE = _descriptor.Descriptor( + name='PollForDecisionTaskResponse', + full_name='uber.cadence.api.v1.PollForDecisionTaskResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='task_token', full_name='uber.cadence.api.v1.PollForDecisionTaskResponse.task_token', index=0, + number=1, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution', full_name='uber.cadence.api.v1.PollForDecisionTaskResponse.workflow_execution', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_type', full_name='uber.cadence.api.v1.PollForDecisionTaskResponse.workflow_type', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='previous_started_event_id', full_name='uber.cadence.api.v1.PollForDecisionTaskResponse.previous_started_event_id', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='started_event_id', full_name='uber.cadence.api.v1.PollForDecisionTaskResponse.started_event_id', index=4, + number=5, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='attempt', full_name='uber.cadence.api.v1.PollForDecisionTaskResponse.attempt', index=5, + number=6, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='backlog_count_hint', full_name='uber.cadence.api.v1.PollForDecisionTaskResponse.backlog_count_hint', index=6, + number=7, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='history', full_name='uber.cadence.api.v1.PollForDecisionTaskResponse.history', index=7, + number=8, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='next_page_token', full_name='uber.cadence.api.v1.PollForDecisionTaskResponse.next_page_token', index=8, + number=9, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='query', full_name='uber.cadence.api.v1.PollForDecisionTaskResponse.query', index=9, + number=10, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution_task_list', full_name='uber.cadence.api.v1.PollForDecisionTaskResponse.workflow_execution_task_list', index=10, + number=11, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='scheduled_time', full_name='uber.cadence.api.v1.PollForDecisionTaskResponse.scheduled_time', index=11, + number=12, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='started_time', full_name='uber.cadence.api.v1.PollForDecisionTaskResponse.started_time', index=12, + number=13, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='queries', full_name='uber.cadence.api.v1.PollForDecisionTaskResponse.queries', index=13, + number=14, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='next_event_id', full_name='uber.cadence.api.v1.PollForDecisionTaskResponse.next_event_id', index=14, + number=15, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='total_history_bytes', full_name='uber.cadence.api.v1.PollForDecisionTaskResponse.total_history_bytes', index=15, + number=16, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='auto_config_hint', full_name='uber.cadence.api.v1.PollForDecisionTaskResponse.auto_config_hint', index=16, + number=17, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[_POLLFORDECISIONTASKRESPONSE_QUERIESENTRY, ], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=513, + serialized_end=1396, +) + + +_RESPONDDECISIONTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY = _descriptor.Descriptor( + name='QueryResultsEntry', + full_name='uber.cadence.api.v1.RespondDecisionTaskCompletedRequest.QueryResultsEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='uber.cadence.api.v1.RespondDecisionTaskCompletedRequest.QueryResultsEntry.key', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='value', full_name='uber.cadence.api.v1.RespondDecisionTaskCompletedRequest.QueryResultsEntry.value', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'8\001', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1826, + serialized_end=1919, +) + +_RESPONDDECISIONTASKCOMPLETEDREQUEST = _descriptor.Descriptor( + name='RespondDecisionTaskCompletedRequest', + full_name='uber.cadence.api.v1.RespondDecisionTaskCompletedRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='task_token', full_name='uber.cadence.api.v1.RespondDecisionTaskCompletedRequest.task_token', index=0, + number=1, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='decisions', full_name='uber.cadence.api.v1.RespondDecisionTaskCompletedRequest.decisions', index=1, + number=2, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='execution_context', full_name='uber.cadence.api.v1.RespondDecisionTaskCompletedRequest.execution_context', index=2, + number=3, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='identity', full_name='uber.cadence.api.v1.RespondDecisionTaskCompletedRequest.identity', index=3, + number=4, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='sticky_attributes', full_name='uber.cadence.api.v1.RespondDecisionTaskCompletedRequest.sticky_attributes', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='return_new_decision_task', full_name='uber.cadence.api.v1.RespondDecisionTaskCompletedRequest.return_new_decision_task', index=5, + number=6, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='force_create_new_decision_task', full_name='uber.cadence.api.v1.RespondDecisionTaskCompletedRequest.force_create_new_decision_task', index=6, + number=7, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='binary_checksum', full_name='uber.cadence.api.v1.RespondDecisionTaskCompletedRequest.binary_checksum', index=7, + number=8, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='query_results', full_name='uber.cadence.api.v1.RespondDecisionTaskCompletedRequest.query_results', index=8, + number=9, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[_RESPONDDECISIONTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY, ], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1399, + serialized_end=1919, +) + + +_RESPONDDECISIONTASKCOMPLETEDRESPONSE_ACTIVITIESTODISPATCHLOCALLYENTRY = _descriptor.Descriptor( + name='ActivitiesToDispatchLocallyEntry', + full_name='uber.cadence.api.v1.RespondDecisionTaskCompletedResponse.ActivitiesToDispatchLocallyEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='uber.cadence.api.v1.RespondDecisionTaskCompletedResponse.ActivitiesToDispatchLocallyEntry.key', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='value', full_name='uber.cadence.api.v1.RespondDecisionTaskCompletedResponse.ActivitiesToDispatchLocallyEntry.value', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'8\001', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2168, + serialized_end=2282, +) + +_RESPONDDECISIONTASKCOMPLETEDRESPONSE = _descriptor.Descriptor( + name='RespondDecisionTaskCompletedResponse', + full_name='uber.cadence.api.v1.RespondDecisionTaskCompletedResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='decision_task', full_name='uber.cadence.api.v1.RespondDecisionTaskCompletedResponse.decision_task', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='activities_to_dispatch_locally', full_name='uber.cadence.api.v1.RespondDecisionTaskCompletedResponse.activities_to_dispatch_locally', index=1, + number=2, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[_RESPONDDECISIONTASKCOMPLETEDRESPONSE_ACTIVITIESTODISPATCHLOCALLYENTRY, ], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1922, + serialized_end=2282, +) + + +_RESPONDDECISIONTASKFAILEDREQUEST = _descriptor.Descriptor( + name='RespondDecisionTaskFailedRequest', + full_name='uber.cadence.api.v1.RespondDecisionTaskFailedRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='task_token', full_name='uber.cadence.api.v1.RespondDecisionTaskFailedRequest.task_token', index=0, + number=1, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cause', full_name='uber.cadence.api.v1.RespondDecisionTaskFailedRequest.cause', index=1, + number=2, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='details', full_name='uber.cadence.api.v1.RespondDecisionTaskFailedRequest.details', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='identity', full_name='uber.cadence.api.v1.RespondDecisionTaskFailedRequest.identity', index=3, + number=4, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='binary_checksum', full_name='uber.cadence.api.v1.RespondDecisionTaskFailedRequest.binary_checksum', index=4, + number=5, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2285, + serialized_end=2490, +) + + +_RESPONDDECISIONTASKFAILEDRESPONSE = _descriptor.Descriptor( + name='RespondDecisionTaskFailedResponse', + full_name='uber.cadence.api.v1.RespondDecisionTaskFailedResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2492, + serialized_end=2527, +) + + +_POLLFORACTIVITYTASKREQUEST = _descriptor.Descriptor( + name='PollForActivityTaskRequest', + full_name='uber.cadence.api.v1.PollForActivityTaskRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.PollForActivityTaskRequest.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='task_list', full_name='uber.cadence.api.v1.PollForActivityTaskRequest.task_list', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='identity', full_name='uber.cadence.api.v1.PollForActivityTaskRequest.identity', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='task_list_metadata', full_name='uber.cadence.api.v1.PollForActivityTaskRequest.task_list_metadata', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2530, + serialized_end=2709, +) + + +_POLLFORACTIVITYTASKRESPONSE = _descriptor.Descriptor( + name='PollForActivityTaskResponse', + full_name='uber.cadence.api.v1.PollForActivityTaskResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='task_token', full_name='uber.cadence.api.v1.PollForActivityTaskResponse.task_token', index=0, + number=1, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution', full_name='uber.cadence.api.v1.PollForActivityTaskResponse.workflow_execution', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='activity_id', full_name='uber.cadence.api.v1.PollForActivityTaskResponse.activity_id', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='activity_type', full_name='uber.cadence.api.v1.PollForActivityTaskResponse.activity_type', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='input', full_name='uber.cadence.api.v1.PollForActivityTaskResponse.input', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='scheduled_time', full_name='uber.cadence.api.v1.PollForActivityTaskResponse.scheduled_time', index=5, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='started_time', full_name='uber.cadence.api.v1.PollForActivityTaskResponse.started_time', index=6, + number=7, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='schedule_to_close_timeout', full_name='uber.cadence.api.v1.PollForActivityTaskResponse.schedule_to_close_timeout', index=7, + number=8, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='start_to_close_timeout', full_name='uber.cadence.api.v1.PollForActivityTaskResponse.start_to_close_timeout', index=8, + number=9, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='heartbeat_timeout', full_name='uber.cadence.api.v1.PollForActivityTaskResponse.heartbeat_timeout', index=9, + number=10, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='attempt', full_name='uber.cadence.api.v1.PollForActivityTaskResponse.attempt', index=10, + number=11, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='scheduled_time_of_this_attempt', full_name='uber.cadence.api.v1.PollForActivityTaskResponse.scheduled_time_of_this_attempt', index=11, + number=12, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='heartbeat_details', full_name='uber.cadence.api.v1.PollForActivityTaskResponse.heartbeat_details', index=12, + number=13, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_type', full_name='uber.cadence.api.v1.PollForActivityTaskResponse.workflow_type', index=13, + number=14, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_domain', full_name='uber.cadence.api.v1.PollForActivityTaskResponse.workflow_domain', index=14, + number=15, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='header', full_name='uber.cadence.api.v1.PollForActivityTaskResponse.header', index=15, + number=16, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='auto_config_hint', full_name='uber.cadence.api.v1.PollForActivityTaskResponse.auto_config_hint', index=16, + number=17, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2712, + serialized_end=3563, +) + + +_RESPONDACTIVITYTASKCOMPLETEDREQUEST = _descriptor.Descriptor( + name='RespondActivityTaskCompletedRequest', + full_name='uber.cadence.api.v1.RespondActivityTaskCompletedRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='task_token', full_name='uber.cadence.api.v1.RespondActivityTaskCompletedRequest.task_token', index=0, + number=1, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='result', full_name='uber.cadence.api.v1.RespondActivityTaskCompletedRequest.result', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='identity', full_name='uber.cadence.api.v1.RespondActivityTaskCompletedRequest.identity', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=3565, + serialized_end=3686, +) + + +_RESPONDACTIVITYTASKCOMPLETEDRESPONSE = _descriptor.Descriptor( + name='RespondActivityTaskCompletedResponse', + full_name='uber.cadence.api.v1.RespondActivityTaskCompletedResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=3688, + serialized_end=3726, +) + + +_RESPONDACTIVITYTASKCOMPLETEDBYIDREQUEST = _descriptor.Descriptor( + name='RespondActivityTaskCompletedByIDRequest', + full_name='uber.cadence.api.v1.RespondActivityTaskCompletedByIDRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.RespondActivityTaskCompletedByIDRequest.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution', full_name='uber.cadence.api.v1.RespondActivityTaskCompletedByIDRequest.workflow_execution', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='activity_id', full_name='uber.cadence.api.v1.RespondActivityTaskCompletedByIDRequest.activity_id', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='result', full_name='uber.cadence.api.v1.RespondActivityTaskCompletedByIDRequest.result', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='identity', full_name='uber.cadence.api.v1.RespondActivityTaskCompletedByIDRequest.identity', index=4, + number=5, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=3729, + serialized_end=3939, +) + + +_RESPONDACTIVITYTASKCOMPLETEDBYIDRESPONSE = _descriptor.Descriptor( + name='RespondActivityTaskCompletedByIDResponse', + full_name='uber.cadence.api.v1.RespondActivityTaskCompletedByIDResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=3941, + serialized_end=3983, +) + + +_RESPONDACTIVITYTASKFAILEDREQUEST = _descriptor.Descriptor( + name='RespondActivityTaskFailedRequest', + full_name='uber.cadence.api.v1.RespondActivityTaskFailedRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='task_token', full_name='uber.cadence.api.v1.RespondActivityTaskFailedRequest.task_token', index=0, + number=1, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='failure', full_name='uber.cadence.api.v1.RespondActivityTaskFailedRequest.failure', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='identity', full_name='uber.cadence.api.v1.RespondActivityTaskFailedRequest.identity', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=3985, + serialized_end=4104, +) + + +_RESPONDACTIVITYTASKFAILEDRESPONSE = _descriptor.Descriptor( + name='RespondActivityTaskFailedResponse', + full_name='uber.cadence.api.v1.RespondActivityTaskFailedResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=4106, + serialized_end=4141, +) + + +_RESPONDACTIVITYTASKFAILEDBYIDREQUEST = _descriptor.Descriptor( + name='RespondActivityTaskFailedByIDRequest', + full_name='uber.cadence.api.v1.RespondActivityTaskFailedByIDRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.RespondActivityTaskFailedByIDRequest.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution', full_name='uber.cadence.api.v1.RespondActivityTaskFailedByIDRequest.workflow_execution', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='activity_id', full_name='uber.cadence.api.v1.RespondActivityTaskFailedByIDRequest.activity_id', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='failure', full_name='uber.cadence.api.v1.RespondActivityTaskFailedByIDRequest.failure', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='identity', full_name='uber.cadence.api.v1.RespondActivityTaskFailedByIDRequest.identity', index=4, + number=5, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=4144, + serialized_end=4352, +) + + +_RESPONDACTIVITYTASKFAILEDBYIDRESPONSE = _descriptor.Descriptor( + name='RespondActivityTaskFailedByIDResponse', + full_name='uber.cadence.api.v1.RespondActivityTaskFailedByIDResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=4354, + serialized_end=4393, +) + + +_RESPONDACTIVITYTASKCANCELEDREQUEST = _descriptor.Descriptor( + name='RespondActivityTaskCanceledRequest', + full_name='uber.cadence.api.v1.RespondActivityTaskCanceledRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='task_token', full_name='uber.cadence.api.v1.RespondActivityTaskCanceledRequest.task_token', index=0, + number=1, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='details', full_name='uber.cadence.api.v1.RespondActivityTaskCanceledRequest.details', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='identity', full_name='uber.cadence.api.v1.RespondActivityTaskCanceledRequest.identity', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=4395, + serialized_end=4516, +) + + +_RESPONDACTIVITYTASKCANCELEDRESPONSE = _descriptor.Descriptor( + name='RespondActivityTaskCanceledResponse', + full_name='uber.cadence.api.v1.RespondActivityTaskCanceledResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=4518, + serialized_end=4555, +) + + +_RESPONDACTIVITYTASKCANCELEDBYIDREQUEST = _descriptor.Descriptor( + name='RespondActivityTaskCanceledByIDRequest', + full_name='uber.cadence.api.v1.RespondActivityTaskCanceledByIDRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.RespondActivityTaskCanceledByIDRequest.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution', full_name='uber.cadence.api.v1.RespondActivityTaskCanceledByIDRequest.workflow_execution', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='activity_id', full_name='uber.cadence.api.v1.RespondActivityTaskCanceledByIDRequest.activity_id', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='details', full_name='uber.cadence.api.v1.RespondActivityTaskCanceledByIDRequest.details', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='identity', full_name='uber.cadence.api.v1.RespondActivityTaskCanceledByIDRequest.identity', index=4, + number=5, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=4558, + serialized_end=4768, +) + + +_RESPONDACTIVITYTASKCANCELEDBYIDRESPONSE = _descriptor.Descriptor( + name='RespondActivityTaskCanceledByIDResponse', + full_name='uber.cadence.api.v1.RespondActivityTaskCanceledByIDResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=4770, + serialized_end=4811, +) + + +_RECORDACTIVITYTASKHEARTBEATREQUEST = _descriptor.Descriptor( + name='RecordActivityTaskHeartbeatRequest', + full_name='uber.cadence.api.v1.RecordActivityTaskHeartbeatRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='task_token', full_name='uber.cadence.api.v1.RecordActivityTaskHeartbeatRequest.task_token', index=0, + number=1, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='details', full_name='uber.cadence.api.v1.RecordActivityTaskHeartbeatRequest.details', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='identity', full_name='uber.cadence.api.v1.RecordActivityTaskHeartbeatRequest.identity', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=4813, + serialized_end=4934, +) + + +_RECORDACTIVITYTASKHEARTBEATRESPONSE = _descriptor.Descriptor( + name='RecordActivityTaskHeartbeatResponse', + full_name='uber.cadence.api.v1.RecordActivityTaskHeartbeatResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='cancel_requested', full_name='uber.cadence.api.v1.RecordActivityTaskHeartbeatResponse.cancel_requested', index=0, + number=1, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=4936, + serialized_end=4999, +) + + +_RECORDACTIVITYTASKHEARTBEATBYIDREQUEST = _descriptor.Descriptor( + name='RecordActivityTaskHeartbeatByIDRequest', + full_name='uber.cadence.api.v1.RecordActivityTaskHeartbeatByIDRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.RecordActivityTaskHeartbeatByIDRequest.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution', full_name='uber.cadence.api.v1.RecordActivityTaskHeartbeatByIDRequest.workflow_execution', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='activity_id', full_name='uber.cadence.api.v1.RecordActivityTaskHeartbeatByIDRequest.activity_id', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='details', full_name='uber.cadence.api.v1.RecordActivityTaskHeartbeatByIDRequest.details', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='identity', full_name='uber.cadence.api.v1.RecordActivityTaskHeartbeatByIDRequest.identity', index=4, + number=5, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=5002, + serialized_end=5212, +) + + +_RECORDACTIVITYTASKHEARTBEATBYIDRESPONSE = _descriptor.Descriptor( + name='RecordActivityTaskHeartbeatByIDResponse', + full_name='uber.cadence.api.v1.RecordActivityTaskHeartbeatByIDResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='cancel_requested', full_name='uber.cadence.api.v1.RecordActivityTaskHeartbeatByIDResponse.cancel_requested', index=0, + number=1, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=5214, + serialized_end=5281, +) + + +_RESPONDQUERYTASKCOMPLETEDREQUEST = _descriptor.Descriptor( + name='RespondQueryTaskCompletedRequest', + full_name='uber.cadence.api.v1.RespondQueryTaskCompletedRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='task_token', full_name='uber.cadence.api.v1.RespondQueryTaskCompletedRequest.task_token', index=0, + number=1, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='result', full_name='uber.cadence.api.v1.RespondQueryTaskCompletedRequest.result', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='worker_version_info', full_name='uber.cadence.api.v1.RespondQueryTaskCompletedRequest.worker_version_info', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=5284, + serialized_end=5465, +) + + +_RESPONDQUERYTASKCOMPLETEDRESPONSE = _descriptor.Descriptor( + name='RespondQueryTaskCompletedResponse', + full_name='uber.cadence.api.v1.RespondQueryTaskCompletedResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=5467, + serialized_end=5502, +) + + +_RESETSTICKYTASKLISTREQUEST = _descriptor.Descriptor( + name='ResetStickyTaskListRequest', + full_name='uber.cadence.api.v1.ResetStickyTaskListRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.ResetStickyTaskListRequest.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution', full_name='uber.cadence.api.v1.ResetStickyTaskListRequest.workflow_execution', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=5504, + serialized_end=5616, +) + + +_RESETSTICKYTASKLISTRESPONSE = _descriptor.Descriptor( + name='ResetStickyTaskListResponse', + full_name='uber.cadence.api.v1.ResetStickyTaskListResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=5618, + serialized_end=5647, +) + + +_AUTOCONFIGHINT = _descriptor.Descriptor( + name='AutoConfigHint', + full_name='uber.cadence.api.v1.AutoConfigHint', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='enable_auto_config', full_name='uber.cadence.api.v1.AutoConfigHint.enable_auto_config', index=0, + number=1, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='poller_wait_time_in_ms', full_name='uber.cadence.api.v1.AutoConfigHint.poller_wait_time_in_ms', index=1, + number=2, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=5649, + serialized_end=5725, +) + +_POLLFORDECISIONTASKREQUEST.fields_by_name['task_list'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_tasklist__pb2._TASKLIST +_POLLFORDECISIONTASKRESPONSE_QUERIESENTRY.fields_by_name['value'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_query__pb2._WORKFLOWQUERY +_POLLFORDECISIONTASKRESPONSE_QUERIESENTRY.containing_type = _POLLFORDECISIONTASKRESPONSE +_POLLFORDECISIONTASKRESPONSE.fields_by_name['workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_POLLFORDECISIONTASKRESPONSE.fields_by_name['workflow_type'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWTYPE +_POLLFORDECISIONTASKRESPONSE.fields_by_name['previous_started_event_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_POLLFORDECISIONTASKRESPONSE.fields_by_name['history'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_history__pb2._HISTORY +_POLLFORDECISIONTASKRESPONSE.fields_by_name['query'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_query__pb2._WORKFLOWQUERY +_POLLFORDECISIONTASKRESPONSE.fields_by_name['workflow_execution_task_list'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_tasklist__pb2._TASKLIST +_POLLFORDECISIONTASKRESPONSE.fields_by_name['scheduled_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_POLLFORDECISIONTASKRESPONSE.fields_by_name['started_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_POLLFORDECISIONTASKRESPONSE.fields_by_name['queries'].message_type = _POLLFORDECISIONTASKRESPONSE_QUERIESENTRY +_POLLFORDECISIONTASKRESPONSE.fields_by_name['auto_config_hint'].message_type = _AUTOCONFIGHINT +_RESPONDDECISIONTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY.fields_by_name['value'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_query__pb2._WORKFLOWQUERYRESULT +_RESPONDDECISIONTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY.containing_type = _RESPONDDECISIONTASKCOMPLETEDREQUEST +_RESPONDDECISIONTASKCOMPLETEDREQUEST.fields_by_name['decisions'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_decision__pb2._DECISION +_RESPONDDECISIONTASKCOMPLETEDREQUEST.fields_by_name['sticky_attributes'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_tasklist__pb2._STICKYEXECUTIONATTRIBUTES +_RESPONDDECISIONTASKCOMPLETEDREQUEST.fields_by_name['query_results'].message_type = _RESPONDDECISIONTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY +_RESPONDDECISIONTASKCOMPLETEDRESPONSE_ACTIVITIESTODISPATCHLOCALLYENTRY.fields_by_name['value'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2._ACTIVITYLOCALDISPATCHINFO +_RESPONDDECISIONTASKCOMPLETEDRESPONSE_ACTIVITIESTODISPATCHLOCALLYENTRY.containing_type = _RESPONDDECISIONTASKCOMPLETEDRESPONSE +_RESPONDDECISIONTASKCOMPLETEDRESPONSE.fields_by_name['decision_task'].message_type = _POLLFORDECISIONTASKRESPONSE +_RESPONDDECISIONTASKCOMPLETEDRESPONSE.fields_by_name['activities_to_dispatch_locally'].message_type = _RESPONDDECISIONTASKCOMPLETEDRESPONSE_ACTIVITIESTODISPATCHLOCALLYENTRY +_RESPONDDECISIONTASKFAILEDREQUEST.fields_by_name['cause'].enum_type = uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2._DECISIONTASKFAILEDCAUSE +_RESPONDDECISIONTASKFAILEDREQUEST.fields_by_name['details'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._PAYLOAD +_POLLFORACTIVITYTASKREQUEST.fields_by_name['task_list'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_tasklist__pb2._TASKLIST +_POLLFORACTIVITYTASKREQUEST.fields_by_name['task_list_metadata'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_tasklist__pb2._TASKLISTMETADATA +_POLLFORACTIVITYTASKRESPONSE.fields_by_name['workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_POLLFORACTIVITYTASKRESPONSE.fields_by_name['activity_type'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._ACTIVITYTYPE +_POLLFORACTIVITYTASKRESPONSE.fields_by_name['input'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._PAYLOAD +_POLLFORACTIVITYTASKRESPONSE.fields_by_name['scheduled_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_POLLFORACTIVITYTASKRESPONSE.fields_by_name['started_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_POLLFORACTIVITYTASKRESPONSE.fields_by_name['schedule_to_close_timeout'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_POLLFORACTIVITYTASKRESPONSE.fields_by_name['start_to_close_timeout'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_POLLFORACTIVITYTASKRESPONSE.fields_by_name['heartbeat_timeout'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_POLLFORACTIVITYTASKRESPONSE.fields_by_name['scheduled_time_of_this_attempt'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_POLLFORACTIVITYTASKRESPONSE.fields_by_name['heartbeat_details'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._PAYLOAD +_POLLFORACTIVITYTASKRESPONSE.fields_by_name['workflow_type'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWTYPE +_POLLFORACTIVITYTASKRESPONSE.fields_by_name['header'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._HEADER +_POLLFORACTIVITYTASKRESPONSE.fields_by_name['auto_config_hint'].message_type = _AUTOCONFIGHINT +_RESPONDACTIVITYTASKCOMPLETEDREQUEST.fields_by_name['result'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._PAYLOAD +_RESPONDACTIVITYTASKCOMPLETEDBYIDREQUEST.fields_by_name['workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_RESPONDACTIVITYTASKCOMPLETEDBYIDREQUEST.fields_by_name['result'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._PAYLOAD +_RESPONDACTIVITYTASKFAILEDREQUEST.fields_by_name['failure'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._FAILURE +_RESPONDACTIVITYTASKFAILEDBYIDREQUEST.fields_by_name['workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_RESPONDACTIVITYTASKFAILEDBYIDREQUEST.fields_by_name['failure'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._FAILURE +_RESPONDACTIVITYTASKCANCELEDREQUEST.fields_by_name['details'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._PAYLOAD +_RESPONDACTIVITYTASKCANCELEDBYIDREQUEST.fields_by_name['workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_RESPONDACTIVITYTASKCANCELEDBYIDREQUEST.fields_by_name['details'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._PAYLOAD +_RECORDACTIVITYTASKHEARTBEATREQUEST.fields_by_name['details'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._PAYLOAD +_RECORDACTIVITYTASKHEARTBEATBYIDREQUEST.fields_by_name['workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_RECORDACTIVITYTASKHEARTBEATBYIDREQUEST.fields_by_name['details'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._PAYLOAD +_RESPONDQUERYTASKCOMPLETEDREQUEST.fields_by_name['result'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_query__pb2._WORKFLOWQUERYRESULT +_RESPONDQUERYTASKCOMPLETEDREQUEST.fields_by_name['worker_version_info'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKERVERSIONINFO +_RESETSTICKYTASKLISTREQUEST.fields_by_name['workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +DESCRIPTOR.message_types_by_name['PollForDecisionTaskRequest'] = _POLLFORDECISIONTASKREQUEST +DESCRIPTOR.message_types_by_name['PollForDecisionTaskResponse'] = _POLLFORDECISIONTASKRESPONSE +DESCRIPTOR.message_types_by_name['RespondDecisionTaskCompletedRequest'] = _RESPONDDECISIONTASKCOMPLETEDREQUEST +DESCRIPTOR.message_types_by_name['RespondDecisionTaskCompletedResponse'] = _RESPONDDECISIONTASKCOMPLETEDRESPONSE +DESCRIPTOR.message_types_by_name['RespondDecisionTaskFailedRequest'] = _RESPONDDECISIONTASKFAILEDREQUEST +DESCRIPTOR.message_types_by_name['RespondDecisionTaskFailedResponse'] = _RESPONDDECISIONTASKFAILEDRESPONSE +DESCRIPTOR.message_types_by_name['PollForActivityTaskRequest'] = _POLLFORACTIVITYTASKREQUEST +DESCRIPTOR.message_types_by_name['PollForActivityTaskResponse'] = _POLLFORACTIVITYTASKRESPONSE +DESCRIPTOR.message_types_by_name['RespondActivityTaskCompletedRequest'] = _RESPONDACTIVITYTASKCOMPLETEDREQUEST +DESCRIPTOR.message_types_by_name['RespondActivityTaskCompletedResponse'] = _RESPONDACTIVITYTASKCOMPLETEDRESPONSE +DESCRIPTOR.message_types_by_name['RespondActivityTaskCompletedByIDRequest'] = _RESPONDACTIVITYTASKCOMPLETEDBYIDREQUEST +DESCRIPTOR.message_types_by_name['RespondActivityTaskCompletedByIDResponse'] = _RESPONDACTIVITYTASKCOMPLETEDBYIDRESPONSE +DESCRIPTOR.message_types_by_name['RespondActivityTaskFailedRequest'] = _RESPONDACTIVITYTASKFAILEDREQUEST +DESCRIPTOR.message_types_by_name['RespondActivityTaskFailedResponse'] = _RESPONDACTIVITYTASKFAILEDRESPONSE +DESCRIPTOR.message_types_by_name['RespondActivityTaskFailedByIDRequest'] = _RESPONDACTIVITYTASKFAILEDBYIDREQUEST +DESCRIPTOR.message_types_by_name['RespondActivityTaskFailedByIDResponse'] = _RESPONDACTIVITYTASKFAILEDBYIDRESPONSE +DESCRIPTOR.message_types_by_name['RespondActivityTaskCanceledRequest'] = _RESPONDACTIVITYTASKCANCELEDREQUEST +DESCRIPTOR.message_types_by_name['RespondActivityTaskCanceledResponse'] = _RESPONDACTIVITYTASKCANCELEDRESPONSE +DESCRIPTOR.message_types_by_name['RespondActivityTaskCanceledByIDRequest'] = _RESPONDACTIVITYTASKCANCELEDBYIDREQUEST +DESCRIPTOR.message_types_by_name['RespondActivityTaskCanceledByIDResponse'] = _RESPONDACTIVITYTASKCANCELEDBYIDRESPONSE +DESCRIPTOR.message_types_by_name['RecordActivityTaskHeartbeatRequest'] = _RECORDACTIVITYTASKHEARTBEATREQUEST +DESCRIPTOR.message_types_by_name['RecordActivityTaskHeartbeatResponse'] = _RECORDACTIVITYTASKHEARTBEATRESPONSE +DESCRIPTOR.message_types_by_name['RecordActivityTaskHeartbeatByIDRequest'] = _RECORDACTIVITYTASKHEARTBEATBYIDREQUEST +DESCRIPTOR.message_types_by_name['RecordActivityTaskHeartbeatByIDResponse'] = _RECORDACTIVITYTASKHEARTBEATBYIDRESPONSE +DESCRIPTOR.message_types_by_name['RespondQueryTaskCompletedRequest'] = _RESPONDQUERYTASKCOMPLETEDREQUEST +DESCRIPTOR.message_types_by_name['RespondQueryTaskCompletedResponse'] = _RESPONDQUERYTASKCOMPLETEDRESPONSE +DESCRIPTOR.message_types_by_name['ResetStickyTaskListRequest'] = _RESETSTICKYTASKLISTREQUEST +DESCRIPTOR.message_types_by_name['ResetStickyTaskListResponse'] = _RESETSTICKYTASKLISTRESPONSE +DESCRIPTOR.message_types_by_name['AutoConfigHint'] = _AUTOCONFIGHINT +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +PollForDecisionTaskRequest = _reflection.GeneratedProtocolMessageType('PollForDecisionTaskRequest', (_message.Message,), { + 'DESCRIPTOR' : _POLLFORDECISIONTASKREQUEST, + '__module__' : 'uber.cadence.api.v1.service_worker_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.PollForDecisionTaskRequest) + }) +_sym_db.RegisterMessage(PollForDecisionTaskRequest) + +PollForDecisionTaskResponse = _reflection.GeneratedProtocolMessageType('PollForDecisionTaskResponse', (_message.Message,), { + + 'QueriesEntry' : _reflection.GeneratedProtocolMessageType('QueriesEntry', (_message.Message,), { + 'DESCRIPTOR' : _POLLFORDECISIONTASKRESPONSE_QUERIESENTRY, + '__module__' : 'uber.cadence.api.v1.service_worker_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.PollForDecisionTaskResponse.QueriesEntry) + }) + , + 'DESCRIPTOR' : _POLLFORDECISIONTASKRESPONSE, + '__module__' : 'uber.cadence.api.v1.service_worker_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.PollForDecisionTaskResponse) + }) +_sym_db.RegisterMessage(PollForDecisionTaskResponse) +_sym_db.RegisterMessage(PollForDecisionTaskResponse.QueriesEntry) + +RespondDecisionTaskCompletedRequest = _reflection.GeneratedProtocolMessageType('RespondDecisionTaskCompletedRequest', (_message.Message,), { + + 'QueryResultsEntry' : _reflection.GeneratedProtocolMessageType('QueryResultsEntry', (_message.Message,), { + 'DESCRIPTOR' : _RESPONDDECISIONTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY, + '__module__' : 'uber.cadence.api.v1.service_worker_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.RespondDecisionTaskCompletedRequest.QueryResultsEntry) + }) + , + 'DESCRIPTOR' : _RESPONDDECISIONTASKCOMPLETEDREQUEST, + '__module__' : 'uber.cadence.api.v1.service_worker_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.RespondDecisionTaskCompletedRequest) + }) +_sym_db.RegisterMessage(RespondDecisionTaskCompletedRequest) +_sym_db.RegisterMessage(RespondDecisionTaskCompletedRequest.QueryResultsEntry) + +RespondDecisionTaskCompletedResponse = _reflection.GeneratedProtocolMessageType('RespondDecisionTaskCompletedResponse', (_message.Message,), { + + 'ActivitiesToDispatchLocallyEntry' : _reflection.GeneratedProtocolMessageType('ActivitiesToDispatchLocallyEntry', (_message.Message,), { + 'DESCRIPTOR' : _RESPONDDECISIONTASKCOMPLETEDRESPONSE_ACTIVITIESTODISPATCHLOCALLYENTRY, + '__module__' : 'uber.cadence.api.v1.service_worker_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.RespondDecisionTaskCompletedResponse.ActivitiesToDispatchLocallyEntry) + }) + , + 'DESCRIPTOR' : _RESPONDDECISIONTASKCOMPLETEDRESPONSE, + '__module__' : 'uber.cadence.api.v1.service_worker_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.RespondDecisionTaskCompletedResponse) + }) +_sym_db.RegisterMessage(RespondDecisionTaskCompletedResponse) +_sym_db.RegisterMessage(RespondDecisionTaskCompletedResponse.ActivitiesToDispatchLocallyEntry) + +RespondDecisionTaskFailedRequest = _reflection.GeneratedProtocolMessageType('RespondDecisionTaskFailedRequest', (_message.Message,), { + 'DESCRIPTOR' : _RESPONDDECISIONTASKFAILEDREQUEST, + '__module__' : 'uber.cadence.api.v1.service_worker_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.RespondDecisionTaskFailedRequest) + }) +_sym_db.RegisterMessage(RespondDecisionTaskFailedRequest) + +RespondDecisionTaskFailedResponse = _reflection.GeneratedProtocolMessageType('RespondDecisionTaskFailedResponse', (_message.Message,), { + 'DESCRIPTOR' : _RESPONDDECISIONTASKFAILEDRESPONSE, + '__module__' : 'uber.cadence.api.v1.service_worker_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.RespondDecisionTaskFailedResponse) + }) +_sym_db.RegisterMessage(RespondDecisionTaskFailedResponse) + +PollForActivityTaskRequest = _reflection.GeneratedProtocolMessageType('PollForActivityTaskRequest', (_message.Message,), { + 'DESCRIPTOR' : _POLLFORACTIVITYTASKREQUEST, + '__module__' : 'uber.cadence.api.v1.service_worker_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.PollForActivityTaskRequest) + }) +_sym_db.RegisterMessage(PollForActivityTaskRequest) + +PollForActivityTaskResponse = _reflection.GeneratedProtocolMessageType('PollForActivityTaskResponse', (_message.Message,), { + 'DESCRIPTOR' : _POLLFORACTIVITYTASKRESPONSE, + '__module__' : 'uber.cadence.api.v1.service_worker_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.PollForActivityTaskResponse) + }) +_sym_db.RegisterMessage(PollForActivityTaskResponse) + +RespondActivityTaskCompletedRequest = _reflection.GeneratedProtocolMessageType('RespondActivityTaskCompletedRequest', (_message.Message,), { + 'DESCRIPTOR' : _RESPONDACTIVITYTASKCOMPLETEDREQUEST, + '__module__' : 'uber.cadence.api.v1.service_worker_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.RespondActivityTaskCompletedRequest) + }) +_sym_db.RegisterMessage(RespondActivityTaskCompletedRequest) + +RespondActivityTaskCompletedResponse = _reflection.GeneratedProtocolMessageType('RespondActivityTaskCompletedResponse', (_message.Message,), { + 'DESCRIPTOR' : _RESPONDACTIVITYTASKCOMPLETEDRESPONSE, + '__module__' : 'uber.cadence.api.v1.service_worker_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.RespondActivityTaskCompletedResponse) + }) +_sym_db.RegisterMessage(RespondActivityTaskCompletedResponse) + +RespondActivityTaskCompletedByIDRequest = _reflection.GeneratedProtocolMessageType('RespondActivityTaskCompletedByIDRequest', (_message.Message,), { + 'DESCRIPTOR' : _RESPONDACTIVITYTASKCOMPLETEDBYIDREQUEST, + '__module__' : 'uber.cadence.api.v1.service_worker_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.RespondActivityTaskCompletedByIDRequest) + }) +_sym_db.RegisterMessage(RespondActivityTaskCompletedByIDRequest) + +RespondActivityTaskCompletedByIDResponse = _reflection.GeneratedProtocolMessageType('RespondActivityTaskCompletedByIDResponse', (_message.Message,), { + 'DESCRIPTOR' : _RESPONDACTIVITYTASKCOMPLETEDBYIDRESPONSE, + '__module__' : 'uber.cadence.api.v1.service_worker_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.RespondActivityTaskCompletedByIDResponse) + }) +_sym_db.RegisterMessage(RespondActivityTaskCompletedByIDResponse) + +RespondActivityTaskFailedRequest = _reflection.GeneratedProtocolMessageType('RespondActivityTaskFailedRequest', (_message.Message,), { + 'DESCRIPTOR' : _RESPONDACTIVITYTASKFAILEDREQUEST, + '__module__' : 'uber.cadence.api.v1.service_worker_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.RespondActivityTaskFailedRequest) + }) +_sym_db.RegisterMessage(RespondActivityTaskFailedRequest) + +RespondActivityTaskFailedResponse = _reflection.GeneratedProtocolMessageType('RespondActivityTaskFailedResponse', (_message.Message,), { + 'DESCRIPTOR' : _RESPONDACTIVITYTASKFAILEDRESPONSE, + '__module__' : 'uber.cadence.api.v1.service_worker_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.RespondActivityTaskFailedResponse) + }) +_sym_db.RegisterMessage(RespondActivityTaskFailedResponse) + +RespondActivityTaskFailedByIDRequest = _reflection.GeneratedProtocolMessageType('RespondActivityTaskFailedByIDRequest', (_message.Message,), { + 'DESCRIPTOR' : _RESPONDACTIVITYTASKFAILEDBYIDREQUEST, + '__module__' : 'uber.cadence.api.v1.service_worker_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.RespondActivityTaskFailedByIDRequest) + }) +_sym_db.RegisterMessage(RespondActivityTaskFailedByIDRequest) + +RespondActivityTaskFailedByIDResponse = _reflection.GeneratedProtocolMessageType('RespondActivityTaskFailedByIDResponse', (_message.Message,), { + 'DESCRIPTOR' : _RESPONDACTIVITYTASKFAILEDBYIDRESPONSE, + '__module__' : 'uber.cadence.api.v1.service_worker_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.RespondActivityTaskFailedByIDResponse) + }) +_sym_db.RegisterMessage(RespondActivityTaskFailedByIDResponse) + +RespondActivityTaskCanceledRequest = _reflection.GeneratedProtocolMessageType('RespondActivityTaskCanceledRequest', (_message.Message,), { + 'DESCRIPTOR' : _RESPONDACTIVITYTASKCANCELEDREQUEST, + '__module__' : 'uber.cadence.api.v1.service_worker_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.RespondActivityTaskCanceledRequest) + }) +_sym_db.RegisterMessage(RespondActivityTaskCanceledRequest) + +RespondActivityTaskCanceledResponse = _reflection.GeneratedProtocolMessageType('RespondActivityTaskCanceledResponse', (_message.Message,), { + 'DESCRIPTOR' : _RESPONDACTIVITYTASKCANCELEDRESPONSE, + '__module__' : 'uber.cadence.api.v1.service_worker_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.RespondActivityTaskCanceledResponse) + }) +_sym_db.RegisterMessage(RespondActivityTaskCanceledResponse) + +RespondActivityTaskCanceledByIDRequest = _reflection.GeneratedProtocolMessageType('RespondActivityTaskCanceledByIDRequest', (_message.Message,), { + 'DESCRIPTOR' : _RESPONDACTIVITYTASKCANCELEDBYIDREQUEST, + '__module__' : 'uber.cadence.api.v1.service_worker_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.RespondActivityTaskCanceledByIDRequest) + }) +_sym_db.RegisterMessage(RespondActivityTaskCanceledByIDRequest) + +RespondActivityTaskCanceledByIDResponse = _reflection.GeneratedProtocolMessageType('RespondActivityTaskCanceledByIDResponse', (_message.Message,), { + 'DESCRIPTOR' : _RESPONDACTIVITYTASKCANCELEDBYIDRESPONSE, + '__module__' : 'uber.cadence.api.v1.service_worker_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.RespondActivityTaskCanceledByIDResponse) + }) +_sym_db.RegisterMessage(RespondActivityTaskCanceledByIDResponse) + +RecordActivityTaskHeartbeatRequest = _reflection.GeneratedProtocolMessageType('RecordActivityTaskHeartbeatRequest', (_message.Message,), { + 'DESCRIPTOR' : _RECORDACTIVITYTASKHEARTBEATREQUEST, + '__module__' : 'uber.cadence.api.v1.service_worker_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.RecordActivityTaskHeartbeatRequest) + }) +_sym_db.RegisterMessage(RecordActivityTaskHeartbeatRequest) + +RecordActivityTaskHeartbeatResponse = _reflection.GeneratedProtocolMessageType('RecordActivityTaskHeartbeatResponse', (_message.Message,), { + 'DESCRIPTOR' : _RECORDACTIVITYTASKHEARTBEATRESPONSE, + '__module__' : 'uber.cadence.api.v1.service_worker_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.RecordActivityTaskHeartbeatResponse) + }) +_sym_db.RegisterMessage(RecordActivityTaskHeartbeatResponse) + +RecordActivityTaskHeartbeatByIDRequest = _reflection.GeneratedProtocolMessageType('RecordActivityTaskHeartbeatByIDRequest', (_message.Message,), { + 'DESCRIPTOR' : _RECORDACTIVITYTASKHEARTBEATBYIDREQUEST, + '__module__' : 'uber.cadence.api.v1.service_worker_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.RecordActivityTaskHeartbeatByIDRequest) + }) +_sym_db.RegisterMessage(RecordActivityTaskHeartbeatByIDRequest) + +RecordActivityTaskHeartbeatByIDResponse = _reflection.GeneratedProtocolMessageType('RecordActivityTaskHeartbeatByIDResponse', (_message.Message,), { + 'DESCRIPTOR' : _RECORDACTIVITYTASKHEARTBEATBYIDRESPONSE, + '__module__' : 'uber.cadence.api.v1.service_worker_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.RecordActivityTaskHeartbeatByIDResponse) + }) +_sym_db.RegisterMessage(RecordActivityTaskHeartbeatByIDResponse) + +RespondQueryTaskCompletedRequest = _reflection.GeneratedProtocolMessageType('RespondQueryTaskCompletedRequest', (_message.Message,), { + 'DESCRIPTOR' : _RESPONDQUERYTASKCOMPLETEDREQUEST, + '__module__' : 'uber.cadence.api.v1.service_worker_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.RespondQueryTaskCompletedRequest) + }) +_sym_db.RegisterMessage(RespondQueryTaskCompletedRequest) + +RespondQueryTaskCompletedResponse = _reflection.GeneratedProtocolMessageType('RespondQueryTaskCompletedResponse', (_message.Message,), { + 'DESCRIPTOR' : _RESPONDQUERYTASKCOMPLETEDRESPONSE, + '__module__' : 'uber.cadence.api.v1.service_worker_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.RespondQueryTaskCompletedResponse) + }) +_sym_db.RegisterMessage(RespondQueryTaskCompletedResponse) + +ResetStickyTaskListRequest = _reflection.GeneratedProtocolMessageType('ResetStickyTaskListRequest', (_message.Message,), { + 'DESCRIPTOR' : _RESETSTICKYTASKLISTREQUEST, + '__module__' : 'uber.cadence.api.v1.service_worker_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ResetStickyTaskListRequest) + }) +_sym_db.RegisterMessage(ResetStickyTaskListRequest) + +ResetStickyTaskListResponse = _reflection.GeneratedProtocolMessageType('ResetStickyTaskListResponse', (_message.Message,), { + 'DESCRIPTOR' : _RESETSTICKYTASKLISTRESPONSE, + '__module__' : 'uber.cadence.api.v1.service_worker_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ResetStickyTaskListResponse) + }) +_sym_db.RegisterMessage(ResetStickyTaskListResponse) + +AutoConfigHint = _reflection.GeneratedProtocolMessageType('AutoConfigHint', (_message.Message,), { + 'DESCRIPTOR' : _AUTOCONFIGHINT, + '__module__' : 'uber.cadence.api.v1.service_worker_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.AutoConfigHint) + }) +_sym_db.RegisterMessage(AutoConfigHint) + + +DESCRIPTOR._options = None +_POLLFORDECISIONTASKRESPONSE_QUERIESENTRY._options = None +_RESPONDDECISIONTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY._options = None +_RESPONDDECISIONTASKCOMPLETEDRESPONSE_ACTIVITIESTODISPATCHLOCALLYENTRY._options = None + +_WORKERAPI = _descriptor.ServiceDescriptor( + name='WorkerAPI', + full_name='uber.cadence.api.v1.WorkerAPI', + file=DESCRIPTOR, + index=0, + serialized_options=None, + create_key=_descriptor._internal_create_key, + serialized_start=5728, + serialized_end=7755, + methods=[ + _descriptor.MethodDescriptor( + name='PollForDecisionTask', + full_name='uber.cadence.api.v1.WorkerAPI.PollForDecisionTask', + index=0, + containing_service=None, + input_type=_POLLFORDECISIONTASKREQUEST, + output_type=_POLLFORDECISIONTASKRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='RespondDecisionTaskCompleted', + full_name='uber.cadence.api.v1.WorkerAPI.RespondDecisionTaskCompleted', + index=1, + containing_service=None, + input_type=_RESPONDDECISIONTASKCOMPLETEDREQUEST, + output_type=_RESPONDDECISIONTASKCOMPLETEDRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='RespondDecisionTaskFailed', + full_name='uber.cadence.api.v1.WorkerAPI.RespondDecisionTaskFailed', + index=2, + containing_service=None, + input_type=_RESPONDDECISIONTASKFAILEDREQUEST, + output_type=_RESPONDDECISIONTASKFAILEDRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='PollForActivityTask', + full_name='uber.cadence.api.v1.WorkerAPI.PollForActivityTask', + index=3, + containing_service=None, + input_type=_POLLFORACTIVITYTASKREQUEST, + output_type=_POLLFORACTIVITYTASKRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='RespondActivityTaskCompleted', + full_name='uber.cadence.api.v1.WorkerAPI.RespondActivityTaskCompleted', + index=4, + containing_service=None, + input_type=_RESPONDACTIVITYTASKCOMPLETEDREQUEST, + output_type=_RESPONDACTIVITYTASKCOMPLETEDRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='RespondActivityTaskCompletedByID', + full_name='uber.cadence.api.v1.WorkerAPI.RespondActivityTaskCompletedByID', + index=5, + containing_service=None, + input_type=_RESPONDACTIVITYTASKCOMPLETEDBYIDREQUEST, + output_type=_RESPONDACTIVITYTASKCOMPLETEDBYIDRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='RespondActivityTaskFailed', + full_name='uber.cadence.api.v1.WorkerAPI.RespondActivityTaskFailed', + index=6, + containing_service=None, + input_type=_RESPONDACTIVITYTASKFAILEDREQUEST, + output_type=_RESPONDACTIVITYTASKFAILEDRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='RespondActivityTaskFailedByID', + full_name='uber.cadence.api.v1.WorkerAPI.RespondActivityTaskFailedByID', + index=7, + containing_service=None, + input_type=_RESPONDACTIVITYTASKFAILEDBYIDREQUEST, + output_type=_RESPONDACTIVITYTASKFAILEDBYIDRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='RespondActivityTaskCanceled', + full_name='uber.cadence.api.v1.WorkerAPI.RespondActivityTaskCanceled', + index=8, + containing_service=None, + input_type=_RESPONDACTIVITYTASKCANCELEDREQUEST, + output_type=_RESPONDACTIVITYTASKCANCELEDRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='RespondActivityTaskCanceledByID', + full_name='uber.cadence.api.v1.WorkerAPI.RespondActivityTaskCanceledByID', + index=9, + containing_service=None, + input_type=_RESPONDACTIVITYTASKCANCELEDBYIDREQUEST, + output_type=_RESPONDACTIVITYTASKCANCELEDBYIDRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='RecordActivityTaskHeartbeat', + full_name='uber.cadence.api.v1.WorkerAPI.RecordActivityTaskHeartbeat', + index=10, + containing_service=None, + input_type=_RECORDACTIVITYTASKHEARTBEATREQUEST, + output_type=_RECORDACTIVITYTASKHEARTBEATRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='RecordActivityTaskHeartbeatByID', + full_name='uber.cadence.api.v1.WorkerAPI.RecordActivityTaskHeartbeatByID', + index=11, + containing_service=None, + input_type=_RECORDACTIVITYTASKHEARTBEATBYIDREQUEST, + output_type=_RECORDACTIVITYTASKHEARTBEATBYIDRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='RespondQueryTaskCompleted', + full_name='uber.cadence.api.v1.WorkerAPI.RespondQueryTaskCompleted', + index=12, + containing_service=None, + input_type=_RESPONDQUERYTASKCOMPLETEDREQUEST, + output_type=_RESPONDQUERYTASKCOMPLETEDRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='ResetStickyTaskList', + full_name='uber.cadence.api.v1.WorkerAPI.ResetStickyTaskList', + index=13, + containing_service=None, + input_type=_RESETSTICKYTASKLISTREQUEST, + output_type=_RESETSTICKYTASKLISTRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), +]) +_sym_db.RegisterServiceDescriptor(_WORKERAPI) + +DESCRIPTOR.services_by_name['WorkerAPI'] = _WORKERAPI + +# @@protoc_insertion_point(module_scope) diff --git a/cadence/shared/api/v1/service_worker_pb2.pyi b/cadence/shared/api/v1/service_worker_pb2.pyi new file mode 100644 index 0000000..e0469ce --- /dev/null +++ b/cadence/shared/api/v1/service_worker_pb2.pyi @@ -0,0 +1,350 @@ +from google.protobuf import duration_pb2 as _duration_pb2 +from google.protobuf import timestamp_pb2 as _timestamp_pb2 +from google.protobuf import wrappers_pb2 as _wrappers_pb2 +from uber.cadence.api.v1 import common_pb2 as _common_pb2 +from uber.cadence.api.v1 import decision_pb2 as _decision_pb2 +from uber.cadence.api.v1 import history_pb2 as _history_pb2 +from uber.cadence.api.v1 import query_pb2 as _query_pb2 +from uber.cadence.api.v1 import tasklist_pb2 as _tasklist_pb2 +from uber.cadence.api.v1 import workflow_pb2 as _workflow_pb2 +from google.protobuf.internal import containers as _containers +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union + +DESCRIPTOR: _descriptor.FileDescriptor + +class PollForDecisionTaskRequest(_message.Message): + __slots__ = ("domain", "task_list", "identity", "binary_checksum") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + TASK_LIST_FIELD_NUMBER: _ClassVar[int] + IDENTITY_FIELD_NUMBER: _ClassVar[int] + BINARY_CHECKSUM_FIELD_NUMBER: _ClassVar[int] + domain: str + task_list: _tasklist_pb2.TaskList + identity: str + binary_checksum: str + def __init__(self, domain: _Optional[str] = ..., task_list: _Optional[_Union[_tasklist_pb2.TaskList, _Mapping]] = ..., identity: _Optional[str] = ..., binary_checksum: _Optional[str] = ...) -> None: ... + +class PollForDecisionTaskResponse(_message.Message): + __slots__ = ("task_token", "workflow_execution", "workflow_type", "previous_started_event_id", "started_event_id", "attempt", "backlog_count_hint", "history", "next_page_token", "query", "workflow_execution_task_list", "scheduled_time", "started_time", "queries", "next_event_id", "total_history_bytes", "auto_config_hint") + class QueriesEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: _query_pb2.WorkflowQuery + def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[_query_pb2.WorkflowQuery, _Mapping]] = ...) -> None: ... + TASK_TOKEN_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_TYPE_FIELD_NUMBER: _ClassVar[int] + PREVIOUS_STARTED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + STARTED_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + ATTEMPT_FIELD_NUMBER: _ClassVar[int] + BACKLOG_COUNT_HINT_FIELD_NUMBER: _ClassVar[int] + HISTORY_FIELD_NUMBER: _ClassVar[int] + NEXT_PAGE_TOKEN_FIELD_NUMBER: _ClassVar[int] + QUERY_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_TASK_LIST_FIELD_NUMBER: _ClassVar[int] + SCHEDULED_TIME_FIELD_NUMBER: _ClassVar[int] + STARTED_TIME_FIELD_NUMBER: _ClassVar[int] + QUERIES_FIELD_NUMBER: _ClassVar[int] + NEXT_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + TOTAL_HISTORY_BYTES_FIELD_NUMBER: _ClassVar[int] + AUTO_CONFIG_HINT_FIELD_NUMBER: _ClassVar[int] + task_token: bytes + workflow_execution: _common_pb2.WorkflowExecution + workflow_type: _common_pb2.WorkflowType + previous_started_event_id: _wrappers_pb2.Int64Value + started_event_id: int + attempt: int + backlog_count_hint: int + history: _history_pb2.History + next_page_token: bytes + query: _query_pb2.WorkflowQuery + workflow_execution_task_list: _tasklist_pb2.TaskList + scheduled_time: _timestamp_pb2.Timestamp + started_time: _timestamp_pb2.Timestamp + queries: _containers.MessageMap[str, _query_pb2.WorkflowQuery] + next_event_id: int + total_history_bytes: int + auto_config_hint: AutoConfigHint + def __init__(self, task_token: _Optional[bytes] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., workflow_type: _Optional[_Union[_common_pb2.WorkflowType, _Mapping]] = ..., previous_started_event_id: _Optional[_Union[_wrappers_pb2.Int64Value, _Mapping]] = ..., started_event_id: _Optional[int] = ..., attempt: _Optional[int] = ..., backlog_count_hint: _Optional[int] = ..., history: _Optional[_Union[_history_pb2.History, _Mapping]] = ..., next_page_token: _Optional[bytes] = ..., query: _Optional[_Union[_query_pb2.WorkflowQuery, _Mapping]] = ..., workflow_execution_task_list: _Optional[_Union[_tasklist_pb2.TaskList, _Mapping]] = ..., scheduled_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., started_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., queries: _Optional[_Mapping[str, _query_pb2.WorkflowQuery]] = ..., next_event_id: _Optional[int] = ..., total_history_bytes: _Optional[int] = ..., auto_config_hint: _Optional[_Union[AutoConfigHint, _Mapping]] = ...) -> None: ... + +class RespondDecisionTaskCompletedRequest(_message.Message): + __slots__ = ("task_token", "decisions", "execution_context", "identity", "sticky_attributes", "return_new_decision_task", "force_create_new_decision_task", "binary_checksum", "query_results") + class QueryResultsEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: _query_pb2.WorkflowQueryResult + def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[_query_pb2.WorkflowQueryResult, _Mapping]] = ...) -> None: ... + TASK_TOKEN_FIELD_NUMBER: _ClassVar[int] + DECISIONS_FIELD_NUMBER: _ClassVar[int] + EXECUTION_CONTEXT_FIELD_NUMBER: _ClassVar[int] + IDENTITY_FIELD_NUMBER: _ClassVar[int] + STICKY_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + RETURN_NEW_DECISION_TASK_FIELD_NUMBER: _ClassVar[int] + FORCE_CREATE_NEW_DECISION_TASK_FIELD_NUMBER: _ClassVar[int] + BINARY_CHECKSUM_FIELD_NUMBER: _ClassVar[int] + QUERY_RESULTS_FIELD_NUMBER: _ClassVar[int] + task_token: bytes + decisions: _containers.RepeatedCompositeFieldContainer[_decision_pb2.Decision] + execution_context: bytes + identity: str + sticky_attributes: _tasklist_pb2.StickyExecutionAttributes + return_new_decision_task: bool + force_create_new_decision_task: bool + binary_checksum: str + query_results: _containers.MessageMap[str, _query_pb2.WorkflowQueryResult] + def __init__(self, task_token: _Optional[bytes] = ..., decisions: _Optional[_Iterable[_Union[_decision_pb2.Decision, _Mapping]]] = ..., execution_context: _Optional[bytes] = ..., identity: _Optional[str] = ..., sticky_attributes: _Optional[_Union[_tasklist_pb2.StickyExecutionAttributes, _Mapping]] = ..., return_new_decision_task: bool = ..., force_create_new_decision_task: bool = ..., binary_checksum: _Optional[str] = ..., query_results: _Optional[_Mapping[str, _query_pb2.WorkflowQueryResult]] = ...) -> None: ... + +class RespondDecisionTaskCompletedResponse(_message.Message): + __slots__ = ("decision_task", "activities_to_dispatch_locally") + class ActivitiesToDispatchLocallyEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: _workflow_pb2.ActivityLocalDispatchInfo + def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[_workflow_pb2.ActivityLocalDispatchInfo, _Mapping]] = ...) -> None: ... + DECISION_TASK_FIELD_NUMBER: _ClassVar[int] + ACTIVITIES_TO_DISPATCH_LOCALLY_FIELD_NUMBER: _ClassVar[int] + decision_task: PollForDecisionTaskResponse + activities_to_dispatch_locally: _containers.MessageMap[str, _workflow_pb2.ActivityLocalDispatchInfo] + def __init__(self, decision_task: _Optional[_Union[PollForDecisionTaskResponse, _Mapping]] = ..., activities_to_dispatch_locally: _Optional[_Mapping[str, _workflow_pb2.ActivityLocalDispatchInfo]] = ...) -> None: ... + +class RespondDecisionTaskFailedRequest(_message.Message): + __slots__ = ("task_token", "cause", "details", "identity", "binary_checksum") + TASK_TOKEN_FIELD_NUMBER: _ClassVar[int] + CAUSE_FIELD_NUMBER: _ClassVar[int] + DETAILS_FIELD_NUMBER: _ClassVar[int] + IDENTITY_FIELD_NUMBER: _ClassVar[int] + BINARY_CHECKSUM_FIELD_NUMBER: _ClassVar[int] + task_token: bytes + cause: _workflow_pb2.DecisionTaskFailedCause + details: _common_pb2.Payload + identity: str + binary_checksum: str + def __init__(self, task_token: _Optional[bytes] = ..., cause: _Optional[_Union[_workflow_pb2.DecisionTaskFailedCause, str]] = ..., details: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., identity: _Optional[str] = ..., binary_checksum: _Optional[str] = ...) -> None: ... + +class RespondDecisionTaskFailedResponse(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + +class PollForActivityTaskRequest(_message.Message): + __slots__ = ("domain", "task_list", "identity", "task_list_metadata") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + TASK_LIST_FIELD_NUMBER: _ClassVar[int] + IDENTITY_FIELD_NUMBER: _ClassVar[int] + TASK_LIST_METADATA_FIELD_NUMBER: _ClassVar[int] + domain: str + task_list: _tasklist_pb2.TaskList + identity: str + task_list_metadata: _tasklist_pb2.TaskListMetadata + def __init__(self, domain: _Optional[str] = ..., task_list: _Optional[_Union[_tasklist_pb2.TaskList, _Mapping]] = ..., identity: _Optional[str] = ..., task_list_metadata: _Optional[_Union[_tasklist_pb2.TaskListMetadata, _Mapping]] = ...) -> None: ... + +class PollForActivityTaskResponse(_message.Message): + __slots__ = ("task_token", "workflow_execution", "activity_id", "activity_type", "input", "scheduled_time", "started_time", "schedule_to_close_timeout", "start_to_close_timeout", "heartbeat_timeout", "attempt", "scheduled_time_of_this_attempt", "heartbeat_details", "workflow_type", "workflow_domain", "header", "auto_config_hint") + TASK_TOKEN_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + ACTIVITY_ID_FIELD_NUMBER: _ClassVar[int] + ACTIVITY_TYPE_FIELD_NUMBER: _ClassVar[int] + INPUT_FIELD_NUMBER: _ClassVar[int] + SCHEDULED_TIME_FIELD_NUMBER: _ClassVar[int] + STARTED_TIME_FIELD_NUMBER: _ClassVar[int] + SCHEDULE_TO_CLOSE_TIMEOUT_FIELD_NUMBER: _ClassVar[int] + START_TO_CLOSE_TIMEOUT_FIELD_NUMBER: _ClassVar[int] + HEARTBEAT_TIMEOUT_FIELD_NUMBER: _ClassVar[int] + ATTEMPT_FIELD_NUMBER: _ClassVar[int] + SCHEDULED_TIME_OF_THIS_ATTEMPT_FIELD_NUMBER: _ClassVar[int] + HEARTBEAT_DETAILS_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_TYPE_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_DOMAIN_FIELD_NUMBER: _ClassVar[int] + HEADER_FIELD_NUMBER: _ClassVar[int] + AUTO_CONFIG_HINT_FIELD_NUMBER: _ClassVar[int] + task_token: bytes + workflow_execution: _common_pb2.WorkflowExecution + activity_id: str + activity_type: _common_pb2.ActivityType + input: _common_pb2.Payload + scheduled_time: _timestamp_pb2.Timestamp + started_time: _timestamp_pb2.Timestamp + schedule_to_close_timeout: _duration_pb2.Duration + start_to_close_timeout: _duration_pb2.Duration + heartbeat_timeout: _duration_pb2.Duration + attempt: int + scheduled_time_of_this_attempt: _timestamp_pb2.Timestamp + heartbeat_details: _common_pb2.Payload + workflow_type: _common_pb2.WorkflowType + workflow_domain: str + header: _common_pb2.Header + auto_config_hint: AutoConfigHint + def __init__(self, task_token: _Optional[bytes] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., activity_id: _Optional[str] = ..., activity_type: _Optional[_Union[_common_pb2.ActivityType, _Mapping]] = ..., input: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., scheduled_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., started_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., schedule_to_close_timeout: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., start_to_close_timeout: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., heartbeat_timeout: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., attempt: _Optional[int] = ..., scheduled_time_of_this_attempt: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., heartbeat_details: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., workflow_type: _Optional[_Union[_common_pb2.WorkflowType, _Mapping]] = ..., workflow_domain: _Optional[str] = ..., header: _Optional[_Union[_common_pb2.Header, _Mapping]] = ..., auto_config_hint: _Optional[_Union[AutoConfigHint, _Mapping]] = ...) -> None: ... + +class RespondActivityTaskCompletedRequest(_message.Message): + __slots__ = ("task_token", "result", "identity") + TASK_TOKEN_FIELD_NUMBER: _ClassVar[int] + RESULT_FIELD_NUMBER: _ClassVar[int] + IDENTITY_FIELD_NUMBER: _ClassVar[int] + task_token: bytes + result: _common_pb2.Payload + identity: str + def __init__(self, task_token: _Optional[bytes] = ..., result: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., identity: _Optional[str] = ...) -> None: ... + +class RespondActivityTaskCompletedResponse(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + +class RespondActivityTaskCompletedByIDRequest(_message.Message): + __slots__ = ("domain", "workflow_execution", "activity_id", "result", "identity") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + ACTIVITY_ID_FIELD_NUMBER: _ClassVar[int] + RESULT_FIELD_NUMBER: _ClassVar[int] + IDENTITY_FIELD_NUMBER: _ClassVar[int] + domain: str + workflow_execution: _common_pb2.WorkflowExecution + activity_id: str + result: _common_pb2.Payload + identity: str + def __init__(self, domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., activity_id: _Optional[str] = ..., result: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., identity: _Optional[str] = ...) -> None: ... + +class RespondActivityTaskCompletedByIDResponse(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + +class RespondActivityTaskFailedRequest(_message.Message): + __slots__ = ("task_token", "failure", "identity") + TASK_TOKEN_FIELD_NUMBER: _ClassVar[int] + FAILURE_FIELD_NUMBER: _ClassVar[int] + IDENTITY_FIELD_NUMBER: _ClassVar[int] + task_token: bytes + failure: _common_pb2.Failure + identity: str + def __init__(self, task_token: _Optional[bytes] = ..., failure: _Optional[_Union[_common_pb2.Failure, _Mapping]] = ..., identity: _Optional[str] = ...) -> None: ... + +class RespondActivityTaskFailedResponse(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + +class RespondActivityTaskFailedByIDRequest(_message.Message): + __slots__ = ("domain", "workflow_execution", "activity_id", "failure", "identity") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + ACTIVITY_ID_FIELD_NUMBER: _ClassVar[int] + FAILURE_FIELD_NUMBER: _ClassVar[int] + IDENTITY_FIELD_NUMBER: _ClassVar[int] + domain: str + workflow_execution: _common_pb2.WorkflowExecution + activity_id: str + failure: _common_pb2.Failure + identity: str + def __init__(self, domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., activity_id: _Optional[str] = ..., failure: _Optional[_Union[_common_pb2.Failure, _Mapping]] = ..., identity: _Optional[str] = ...) -> None: ... + +class RespondActivityTaskFailedByIDResponse(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + +class RespondActivityTaskCanceledRequest(_message.Message): + __slots__ = ("task_token", "details", "identity") + TASK_TOKEN_FIELD_NUMBER: _ClassVar[int] + DETAILS_FIELD_NUMBER: _ClassVar[int] + IDENTITY_FIELD_NUMBER: _ClassVar[int] + task_token: bytes + details: _common_pb2.Payload + identity: str + def __init__(self, task_token: _Optional[bytes] = ..., details: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., identity: _Optional[str] = ...) -> None: ... + +class RespondActivityTaskCanceledResponse(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + +class RespondActivityTaskCanceledByIDRequest(_message.Message): + __slots__ = ("domain", "workflow_execution", "activity_id", "details", "identity") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + ACTIVITY_ID_FIELD_NUMBER: _ClassVar[int] + DETAILS_FIELD_NUMBER: _ClassVar[int] + IDENTITY_FIELD_NUMBER: _ClassVar[int] + domain: str + workflow_execution: _common_pb2.WorkflowExecution + activity_id: str + details: _common_pb2.Payload + identity: str + def __init__(self, domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., activity_id: _Optional[str] = ..., details: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., identity: _Optional[str] = ...) -> None: ... + +class RespondActivityTaskCanceledByIDResponse(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + +class RecordActivityTaskHeartbeatRequest(_message.Message): + __slots__ = ("task_token", "details", "identity") + TASK_TOKEN_FIELD_NUMBER: _ClassVar[int] + DETAILS_FIELD_NUMBER: _ClassVar[int] + IDENTITY_FIELD_NUMBER: _ClassVar[int] + task_token: bytes + details: _common_pb2.Payload + identity: str + def __init__(self, task_token: _Optional[bytes] = ..., details: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., identity: _Optional[str] = ...) -> None: ... + +class RecordActivityTaskHeartbeatResponse(_message.Message): + __slots__ = ("cancel_requested",) + CANCEL_REQUESTED_FIELD_NUMBER: _ClassVar[int] + cancel_requested: bool + def __init__(self, cancel_requested: bool = ...) -> None: ... + +class RecordActivityTaskHeartbeatByIDRequest(_message.Message): + __slots__ = ("domain", "workflow_execution", "activity_id", "details", "identity") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + ACTIVITY_ID_FIELD_NUMBER: _ClassVar[int] + DETAILS_FIELD_NUMBER: _ClassVar[int] + IDENTITY_FIELD_NUMBER: _ClassVar[int] + domain: str + workflow_execution: _common_pb2.WorkflowExecution + activity_id: str + details: _common_pb2.Payload + identity: str + def __init__(self, domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., activity_id: _Optional[str] = ..., details: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., identity: _Optional[str] = ...) -> None: ... + +class RecordActivityTaskHeartbeatByIDResponse(_message.Message): + __slots__ = ("cancel_requested",) + CANCEL_REQUESTED_FIELD_NUMBER: _ClassVar[int] + cancel_requested: bool + def __init__(self, cancel_requested: bool = ...) -> None: ... + +class RespondQueryTaskCompletedRequest(_message.Message): + __slots__ = ("task_token", "result", "worker_version_info") + TASK_TOKEN_FIELD_NUMBER: _ClassVar[int] + RESULT_FIELD_NUMBER: _ClassVar[int] + WORKER_VERSION_INFO_FIELD_NUMBER: _ClassVar[int] + task_token: bytes + result: _query_pb2.WorkflowQueryResult + worker_version_info: _common_pb2.WorkerVersionInfo + def __init__(self, task_token: _Optional[bytes] = ..., result: _Optional[_Union[_query_pb2.WorkflowQueryResult, _Mapping]] = ..., worker_version_info: _Optional[_Union[_common_pb2.WorkerVersionInfo, _Mapping]] = ...) -> None: ... + +class RespondQueryTaskCompletedResponse(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + +class ResetStickyTaskListRequest(_message.Message): + __slots__ = ("domain", "workflow_execution") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + domain: str + workflow_execution: _common_pb2.WorkflowExecution + def __init__(self, domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ...) -> None: ... + +class ResetStickyTaskListResponse(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + +class AutoConfigHint(_message.Message): + __slots__ = ("enable_auto_config", "poller_wait_time_in_ms") + ENABLE_AUTO_CONFIG_FIELD_NUMBER: _ClassVar[int] + POLLER_WAIT_TIME_IN_MS_FIELD_NUMBER: _ClassVar[int] + enable_auto_config: bool + poller_wait_time_in_ms: int + def __init__(self, enable_auto_config: bool = ..., poller_wait_time_in_ms: _Optional[int] = ...) -> None: ... diff --git a/cadence/shared/api/v1/service_workflow_pb2.py b/cadence/shared/api/v1/service_workflow_pb2.py new file mode 100644 index 0000000..7861a3b --- /dev/null +++ b/cadence/shared/api/v1/service_workflow_pb2.py @@ -0,0 +1,2383 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: uber/cadence/api/v1/service_workflow.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from uber.cadence.api.v1 import common_pb2 as uber_dot_cadence_dot_api_dot_v1_dot_common__pb2 +from uber.cadence.api.v1 import history_pb2 as uber_dot_cadence_dot_api_dot_v1_dot_history__pb2 +from uber.cadence.api.v1 import query_pb2 as uber_dot_cadence_dot_api_dot_v1_dot_query__pb2 +from uber.cadence.api.v1 import tasklist_pb2 as uber_dot_cadence_dot_api_dot_v1_dot_tasklist__pb2 +from uber.cadence.api.v1 import workflow_pb2 as uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='uber/cadence/api/v1/service_workflow.proto', + package='uber.cadence.api.v1', + syntax='proto3', + serialized_options=b'\n\027com.uber.cadence.api.v1B\024WorkflowServiceProtoP\001Z1github.com/uber/cadence-idl/go/proto/api/v1;apiv1', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n*uber/cadence/api/v1/service_workflow.proto\x12\x13uber.cadence.api.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a uber/cadence/api/v1/common.proto\x1a!uber/cadence/api/v1/history.proto\x1a\x1fuber/cadence/api/v1/query.proto\x1a\"uber/cadence/api/v1/tasklist.proto\x1a\"uber/cadence/api/v1/workflow.proto\"\x97\x01\n\x1fRestartWorkflowExecutionRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x42\n\x12workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x0e\n\x06reason\x18\x04 \x01(\t\"\x88\x01\n DiagnoseWorkflowExecutionRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x42\n\x12workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\"\x82\x01\n!DiagnoseWorkflowExecutionResponse\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12M\n\x1d\x64iagnostic_workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\"\xf1\x07\n\x1dStartWorkflowExecutionRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x38\n\rworkflow_type\x18\x03 \x01(\x0b\x32!.uber.cadence.api.v1.WorkflowType\x12\x30\n\ttask_list\x18\x04 \x01(\x0b\x32\x1d.uber.cadence.api.v1.TaskList\x12+\n\x05input\x18\x05 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12\x43\n execution_start_to_close_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12>\n\x1btask_start_to_close_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x10\n\x08identity\x18\x08 \x01(\t\x12\x12\n\nrequest_id\x18\t \x01(\t\x12L\n\x18workflow_id_reuse_policy\x18\n \x01(\x0e\x32*.uber.cadence.api.v1.WorkflowIdReusePolicy\x12\x36\n\x0cretry_policy\x18\x0b \x01(\x0b\x32 .uber.cadence.api.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\x0c \x01(\t\x12\'\n\x04memo\x18\r \x01(\x0b\x32\x19.uber.cadence.api.v1.Memo\x12@\n\x11search_attributes\x18\x0e \x01(\x0b\x32%.uber.cadence.api.v1.SearchAttributes\x12+\n\x06header\x18\x0f \x01(\x0b\x32\x1b.uber.cadence.api.v1.Header\x12.\n\x0b\x64\x65lay_start\x18\x10 \x01(\x0b\x32\x19.google.protobuf.Duration\x12/\n\x0cjitter_start\x18\x11 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x30\n\x0c\x66irst_run_at\x18\x12 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x43\n\x13\x63ron_overlap_policy\x18\x13 \x01(\x0e\x32&.uber.cadence.api.v1.CronOverlapPolicy\x12Z\n\x1f\x61\x63tive_cluster_selection_policy\x18\x14 \x01(\x0b\x32\x31.uber.cadence.api.v1.ActiveClusterSelectionPolicy\"0\n\x1eStartWorkflowExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\"i\n\"StartWorkflowExecutionAsyncRequest\x12\x43\n\x07request\x18\x01 \x01(\x0b\x32\x32.uber.cadence.api.v1.StartWorkflowExecutionRequest\"%\n#StartWorkflowExecutionAsyncResponse\"2\n RestartWorkflowExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\"\xf4\x01\n\x1eSignalWorkflowExecutionRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x42\n\x12workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x12\n\nrequest_id\x18\x04 \x01(\t\x12\x13\n\x0bsignal_name\x18\x05 \x01(\t\x12\x32\n\x0csignal_input\x18\x06 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12\x0f\n\x07\x63ontrol\x18\x07 \x01(\x0c\"!\n\x1fSignalWorkflowExecutionResponse\"\xce\x01\n\'SignalWithStartWorkflowExecutionRequest\x12I\n\rstart_request\x18\x01 \x01(\x0b\x32\x32.uber.cadence.api.v1.StartWorkflowExecutionRequest\x12\x13\n\x0bsignal_name\x18\x02 \x01(\t\x12\x32\n\x0csignal_input\x18\x03 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12\x0f\n\x07\x63ontrol\x18\x04 \x01(\x0c\":\n(SignalWithStartWorkflowExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\"}\n,SignalWithStartWorkflowExecutionAsyncRequest\x12M\n\x07request\x18\x01 \x01(\x0b\x32<.uber.cadence.api.v1.SignalWithStartWorkflowExecutionRequest\"/\n-SignalWithStartWorkflowExecutionAsyncResponse\"\xd6\x01\n\x1dResetWorkflowExecutionRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x42\n\x12workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12 \n\x18\x64\x65\x63ision_finish_event_id\x18\x04 \x01(\x03\x12\x12\n\nrequest_id\x18\x05 \x01(\t\x12\x1b\n\x13skip_signal_reapply\x18\x06 \x01(\x08\"0\n\x1eResetWorkflowExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\"\xd0\x01\n%RequestCancelWorkflowExecutionRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x42\n\x12workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x12\n\nrequest_id\x18\x04 \x01(\t\x12\r\n\x05\x63\x61use\x18\x05 \x01(\t\x12\x1e\n\x16\x66irst_execution_run_id\x18\x06 \x01(\t\"(\n&RequestCancelWorkflowExecutionResponse\"\xe8\x01\n!TerminateWorkflowExecutionRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x42\n\x12workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12-\n\x07\x64\x65tails\x18\x04 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x1e\n\x16\x66irst_execution_run_id\x18\x06 \x01(\t\"$\n\"TerminateWorkflowExecutionResponse\"\xc3\x01\n DescribeWorkflowExecutionRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x42\n\x12workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12K\n\x17query_consistency_level\x18\x03 \x01(\x0e\x32*.uber.cadence.api.v1.QueryConsistencyLevel\"\x9a\x03\n!DescribeWorkflowExecutionResponse\x12T\n\x17\x65xecution_configuration\x18\x01 \x01(\x0b\x32\x33.uber.cadence.api.v1.WorkflowExecutionConfiguration\x12K\n\x17workflow_execution_info\x18\x02 \x01(\x0b\x32*.uber.cadence.api.v1.WorkflowExecutionInfo\x12\x44\n\x12pending_activities\x18\x03 \x03(\x0b\x32(.uber.cadence.api.v1.PendingActivityInfo\x12H\n\x10pending_children\x18\x04 \x03(\x0b\x32..uber.cadence.api.v1.PendingChildExecutionInfo\x12\x42\n\x10pending_decision\x18\x05 \x01(\x0b\x32(.uber.cadence.api.v1.PendingDecisionInfo\"\xb5\x02\n\x14QueryWorkflowRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x42\n\x12workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x31\n\x05query\x18\x03 \x01(\x0b\x32\".uber.cadence.api.v1.WorkflowQuery\x12I\n\x16query_reject_condition\x18\x04 \x01(\x0e\x32).uber.cadence.api.v1.QueryRejectCondition\x12K\n\x17query_consistency_level\x18\x05 \x01(\x0e\x32*.uber.cadence.api.v1.QueryConsistencyLevel\"\x87\x01\n\x15QueryWorkflowResponse\x12\x32\n\x0cquery_result\x18\x01 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12:\n\x0equery_rejected\x18\x02 \x01(\x0b\x32\".uber.cadence.api.v1.QueryRejected\"\xb8\x01\n\x17\x44\x65scribeTaskListRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x30\n\ttask_list\x18\x02 \x01(\x0b\x32\x1d.uber.cadence.api.v1.TaskList\x12\x39\n\x0etask_list_type\x18\x03 \x01(\x0e\x32!.uber.cadence.api.v1.TaskListType\x12 \n\x18include_task_list_status\x18\x04 \x01(\x08\"\x85\x02\n\x18\x44\x65scribeTaskListResponse\x12\x30\n\x07pollers\x18\x01 \x03(\x0b\x32\x1f.uber.cadence.api.v1.PollerInfo\x12=\n\x10task_list_status\x18\x02 \x01(\x0b\x32#.uber.cadence.api.v1.TaskListStatus\x12\x46\n\x10partition_config\x18\x03 \x01(\x0b\x32,.uber.cadence.api.v1.TaskListPartitionConfig\x12\x30\n\ttask_list\x18\x04 \x01(\x0b\x32\x1d.uber.cadence.api.v1.TaskList\"-\n\x1bGetTaskListsByDomainRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\"\xcc\x03\n\x1cGetTaskListsByDomainResponse\x12j\n\x16\x64\x65\x63ision_task_list_map\x18\x01 \x03(\x0b\x32J.uber.cadence.api.v1.GetTaskListsByDomainResponse.DecisionTaskListMapEntry\x12j\n\x16\x61\x63tivity_task_list_map\x18\x02 \x03(\x0b\x32J.uber.cadence.api.v1.GetTaskListsByDomainResponse.ActivityTaskListMapEntry\x1ai\n\x18\x44\x65\x63isionTaskListMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12<\n\x05value\x18\x02 \x01(\x0b\x32-.uber.cadence.api.v1.DescribeTaskListResponse:\x02\x38\x01\x1ai\n\x18\x41\x63tivityTaskListMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12<\n\x05value\x18\x02 \x01(\x0b\x32-.uber.cadence.api.v1.DescribeTaskListResponse:\x02\x38\x01\"a\n\x1dListTaskListPartitionsRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x30\n\ttask_list\x18\x02 \x01(\x0b\x32\x1d.uber.cadence.api.v1.TaskList\"\xce\x01\n\x1eListTaskListPartitionsResponse\x12U\n\x1d\x61\x63tivity_task_list_partitions\x18\x01 \x03(\x0b\x32..uber.cadence.api.v1.TaskListPartitionMetadata\x12U\n\x1d\x64\x65\x63ision_task_list_partitions\x18\x02 \x03(\x0b\x32..uber.cadence.api.v1.TaskListPartitionMetadata\"\x17\n\x15GetClusterInfoRequest\"i\n\x16GetClusterInfoResponse\x12O\n\x19supported_client_versions\x18\x01 \x01(\x0b\x32,.uber.cadence.api.v1.SupportedClientVersions\"\xed\x02\n\"GetWorkflowExecutionHistoryRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x42\n\x12workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x04 \x01(\x0c\x12\x1a\n\x12wait_for_new_event\x18\x05 \x01(\x08\x12G\n\x19history_event_filter_type\x18\x06 \x01(\x0e\x32$.uber.cadence.api.v1.EventFilterType\x12\x15\n\rskip_archival\x18\x07 \x01(\x08\x12K\n\x17query_consistency_level\x18\x08 \x01(\x0e\x32*.uber.cadence.api.v1.QueryConsistencyLevel\"\xb3\x01\n#GetWorkflowExecutionHistoryResponse\x12-\n\x07history\x18\x01 \x01(\x0b\x32\x1c.uber.cadence.api.v1.History\x12\x32\n\x0braw_history\x18\x02 \x03(\x0b\x32\x1d.uber.cadence.api.v1.DataBlob\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\x10\n\x08\x61rchived\x18\x04 \x01(\x08\"J\n\x0c\x46\x65\x61tureFlags\x12:\n2workflow_execution_already_completed_error_enabled\x18\x01 \x01(\x08\"q\n\x1bRefreshWorkflowTasksRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x42\n\x12workflow_execution\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\"\x1e\n\x1cRefreshWorkflowTasksResponse2\xa7\x13\n\x0bWorkflowAPI\x12\x87\x01\n\x18RestartWorkflowExecution\x12\x34.uber.cadence.api.v1.RestartWorkflowExecutionRequest\x1a\x35.uber.cadence.api.v1.RestartWorkflowExecutionResponse\x12\x81\x01\n\x16StartWorkflowExecution\x12\x32.uber.cadence.api.v1.StartWorkflowExecutionRequest\x1a\x33.uber.cadence.api.v1.StartWorkflowExecutionResponse\x12\x90\x01\n\x1bStartWorkflowExecutionAsync\x12\x37.uber.cadence.api.v1.StartWorkflowExecutionAsyncRequest\x1a\x38.uber.cadence.api.v1.StartWorkflowExecutionAsyncResponse\x12\x84\x01\n\x17SignalWorkflowExecution\x12\x33.uber.cadence.api.v1.SignalWorkflowExecutionRequest\x1a\x34.uber.cadence.api.v1.SignalWorkflowExecutionResponse\x12\x9f\x01\n SignalWithStartWorkflowExecution\x12<.uber.cadence.api.v1.SignalWithStartWorkflowExecutionRequest\x1a=.uber.cadence.api.v1.SignalWithStartWorkflowExecutionResponse\x12\xae\x01\n%SignalWithStartWorkflowExecutionAsync\x12\x41.uber.cadence.api.v1.SignalWithStartWorkflowExecutionAsyncRequest\x1a\x42.uber.cadence.api.v1.SignalWithStartWorkflowExecutionAsyncResponse\x12\x81\x01\n\x16ResetWorkflowExecution\x12\x32.uber.cadence.api.v1.ResetWorkflowExecutionRequest\x1a\x33.uber.cadence.api.v1.ResetWorkflowExecutionResponse\x12\x99\x01\n\x1eRequestCancelWorkflowExecution\x12:.uber.cadence.api.v1.RequestCancelWorkflowExecutionRequest\x1a;.uber.cadence.api.v1.RequestCancelWorkflowExecutionResponse\x12\x8d\x01\n\x1aTerminateWorkflowExecution\x12\x36.uber.cadence.api.v1.TerminateWorkflowExecutionRequest\x1a\x37.uber.cadence.api.v1.TerminateWorkflowExecutionResponse\x12\x8a\x01\n\x19\x44\x65scribeWorkflowExecution\x12\x35.uber.cadence.api.v1.DescribeWorkflowExecutionRequest\x1a\x36.uber.cadence.api.v1.DescribeWorkflowExecutionResponse\x12\x66\n\rQueryWorkflow\x12).uber.cadence.api.v1.QueryWorkflowRequest\x1a*.uber.cadence.api.v1.QueryWorkflowResponse\x12o\n\x10\x44\x65scribeTaskList\x12,.uber.cadence.api.v1.DescribeTaskListRequest\x1a-.uber.cadence.api.v1.DescribeTaskListResponse\x12{\n\x14GetTaskListsByDomain\x12\x30.uber.cadence.api.v1.GetTaskListsByDomainRequest\x1a\x31.uber.cadence.api.v1.GetTaskListsByDomainResponse\x12\x81\x01\n\x16ListTaskListPartitions\x12\x32.uber.cadence.api.v1.ListTaskListPartitionsRequest\x1a\x33.uber.cadence.api.v1.ListTaskListPartitionsResponse\x12i\n\x0eGetClusterInfo\x12*.uber.cadence.api.v1.GetClusterInfoRequest\x1a+.uber.cadence.api.v1.GetClusterInfoResponse\x12\x90\x01\n\x1bGetWorkflowExecutionHistory\x12\x37.uber.cadence.api.v1.GetWorkflowExecutionHistoryRequest\x1a\x38.uber.cadence.api.v1.GetWorkflowExecutionHistoryResponse\x12{\n\x14RefreshWorkflowTasks\x12\x30.uber.cadence.api.v1.RefreshWorkflowTasksRequest\x1a\x31.uber.cadence.api.v1.RefreshWorkflowTasksResponse\x12\x8a\x01\n\x19\x44iagnoseWorkflowExecution\x12\x35.uber.cadence.api.v1.DiagnoseWorkflowExecutionRequest\x1a\x36.uber.cadence.api.v1.DiagnoseWorkflowExecutionResponseBd\n\x17\x63om.uber.cadence.api.v1B\x14WorkflowServiceProtoP\x01Z1github.com/uber/cadence-idl/go/proto/api/v1;apiv1b\x06proto3' + , + dependencies=[google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,uber_dot_cadence_dot_api_dot_v1_dot_common__pb2.DESCRIPTOR,uber_dot_cadence_dot_api_dot_v1_dot_history__pb2.DESCRIPTOR,uber_dot_cadence_dot_api_dot_v1_dot_query__pb2.DESCRIPTOR,uber_dot_cadence_dot_api_dot_v1_dot_tasklist__pb2.DESCRIPTOR,uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2.DESCRIPTOR,]) + + + + +_RESTARTWORKFLOWEXECUTIONREQUEST = _descriptor.Descriptor( + name='RestartWorkflowExecutionRequest', + full_name='uber.cadence.api.v1.RestartWorkflowExecutionRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.RestartWorkflowExecutionRequest.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution', full_name='uber.cadence.api.v1.RestartWorkflowExecutionRequest.workflow_execution', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='identity', full_name='uber.cadence.api.v1.RestartWorkflowExecutionRequest.identity', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='reason', full_name='uber.cadence.api.v1.RestartWorkflowExecutionRequest.reason', index=3, + number=4, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=307, + serialized_end=458, +) + + +_DIAGNOSEWORKFLOWEXECUTIONREQUEST = _descriptor.Descriptor( + name='DiagnoseWorkflowExecutionRequest', + full_name='uber.cadence.api.v1.DiagnoseWorkflowExecutionRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.DiagnoseWorkflowExecutionRequest.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution', full_name='uber.cadence.api.v1.DiagnoseWorkflowExecutionRequest.workflow_execution', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='identity', full_name='uber.cadence.api.v1.DiagnoseWorkflowExecutionRequest.identity', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=461, + serialized_end=597, +) + + +_DIAGNOSEWORKFLOWEXECUTIONRESPONSE = _descriptor.Descriptor( + name='DiagnoseWorkflowExecutionResponse', + full_name='uber.cadence.api.v1.DiagnoseWorkflowExecutionResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.DiagnoseWorkflowExecutionResponse.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='diagnostic_workflow_execution', full_name='uber.cadence.api.v1.DiagnoseWorkflowExecutionResponse.diagnostic_workflow_execution', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=600, + serialized_end=730, +) + + +_STARTWORKFLOWEXECUTIONREQUEST = _descriptor.Descriptor( + name='StartWorkflowExecutionRequest', + full_name='uber.cadence.api.v1.StartWorkflowExecutionRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.StartWorkflowExecutionRequest.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_id', full_name='uber.cadence.api.v1.StartWorkflowExecutionRequest.workflow_id', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_type', full_name='uber.cadence.api.v1.StartWorkflowExecutionRequest.workflow_type', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='task_list', full_name='uber.cadence.api.v1.StartWorkflowExecutionRequest.task_list', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='input', full_name='uber.cadence.api.v1.StartWorkflowExecutionRequest.input', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='execution_start_to_close_timeout', full_name='uber.cadence.api.v1.StartWorkflowExecutionRequest.execution_start_to_close_timeout', index=5, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='task_start_to_close_timeout', full_name='uber.cadence.api.v1.StartWorkflowExecutionRequest.task_start_to_close_timeout', index=6, + number=7, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='identity', full_name='uber.cadence.api.v1.StartWorkflowExecutionRequest.identity', index=7, + number=8, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='request_id', full_name='uber.cadence.api.v1.StartWorkflowExecutionRequest.request_id', index=8, + number=9, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_id_reuse_policy', full_name='uber.cadence.api.v1.StartWorkflowExecutionRequest.workflow_id_reuse_policy', index=9, + number=10, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='retry_policy', full_name='uber.cadence.api.v1.StartWorkflowExecutionRequest.retry_policy', index=10, + number=11, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cron_schedule', full_name='uber.cadence.api.v1.StartWorkflowExecutionRequest.cron_schedule', index=11, + number=12, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='memo', full_name='uber.cadence.api.v1.StartWorkflowExecutionRequest.memo', index=12, + number=13, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='search_attributes', full_name='uber.cadence.api.v1.StartWorkflowExecutionRequest.search_attributes', index=13, + number=14, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='header', full_name='uber.cadence.api.v1.StartWorkflowExecutionRequest.header', index=14, + number=15, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='delay_start', full_name='uber.cadence.api.v1.StartWorkflowExecutionRequest.delay_start', index=15, + number=16, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='jitter_start', full_name='uber.cadence.api.v1.StartWorkflowExecutionRequest.jitter_start', index=16, + number=17, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='first_run_at', full_name='uber.cadence.api.v1.StartWorkflowExecutionRequest.first_run_at', index=17, + number=18, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cron_overlap_policy', full_name='uber.cadence.api.v1.StartWorkflowExecutionRequest.cron_overlap_policy', index=18, + number=19, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='active_cluster_selection_policy', full_name='uber.cadence.api.v1.StartWorkflowExecutionRequest.active_cluster_selection_policy', index=19, + number=20, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=733, + serialized_end=1742, +) + + +_STARTWORKFLOWEXECUTIONRESPONSE = _descriptor.Descriptor( + name='StartWorkflowExecutionResponse', + full_name='uber.cadence.api.v1.StartWorkflowExecutionResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='run_id', full_name='uber.cadence.api.v1.StartWorkflowExecutionResponse.run_id', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1744, + serialized_end=1792, +) + + +_STARTWORKFLOWEXECUTIONASYNCREQUEST = _descriptor.Descriptor( + name='StartWorkflowExecutionAsyncRequest', + full_name='uber.cadence.api.v1.StartWorkflowExecutionAsyncRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='request', full_name='uber.cadence.api.v1.StartWorkflowExecutionAsyncRequest.request', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1794, + serialized_end=1899, +) + + +_STARTWORKFLOWEXECUTIONASYNCRESPONSE = _descriptor.Descriptor( + name='StartWorkflowExecutionAsyncResponse', + full_name='uber.cadence.api.v1.StartWorkflowExecutionAsyncResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1901, + serialized_end=1938, +) + + +_RESTARTWORKFLOWEXECUTIONRESPONSE = _descriptor.Descriptor( + name='RestartWorkflowExecutionResponse', + full_name='uber.cadence.api.v1.RestartWorkflowExecutionResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='run_id', full_name='uber.cadence.api.v1.RestartWorkflowExecutionResponse.run_id', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1940, + serialized_end=1990, +) + + +_SIGNALWORKFLOWEXECUTIONREQUEST = _descriptor.Descriptor( + name='SignalWorkflowExecutionRequest', + full_name='uber.cadence.api.v1.SignalWorkflowExecutionRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.SignalWorkflowExecutionRequest.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution', full_name='uber.cadence.api.v1.SignalWorkflowExecutionRequest.workflow_execution', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='identity', full_name='uber.cadence.api.v1.SignalWorkflowExecutionRequest.identity', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='request_id', full_name='uber.cadence.api.v1.SignalWorkflowExecutionRequest.request_id', index=3, + number=4, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='signal_name', full_name='uber.cadence.api.v1.SignalWorkflowExecutionRequest.signal_name', index=4, + number=5, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='signal_input', full_name='uber.cadence.api.v1.SignalWorkflowExecutionRequest.signal_input', index=5, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='control', full_name='uber.cadence.api.v1.SignalWorkflowExecutionRequest.control', index=6, + number=7, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1993, + serialized_end=2237, +) + + +_SIGNALWORKFLOWEXECUTIONRESPONSE = _descriptor.Descriptor( + name='SignalWorkflowExecutionResponse', + full_name='uber.cadence.api.v1.SignalWorkflowExecutionResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2239, + serialized_end=2272, +) + + +_SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST = _descriptor.Descriptor( + name='SignalWithStartWorkflowExecutionRequest', + full_name='uber.cadence.api.v1.SignalWithStartWorkflowExecutionRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='start_request', full_name='uber.cadence.api.v1.SignalWithStartWorkflowExecutionRequest.start_request', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='signal_name', full_name='uber.cadence.api.v1.SignalWithStartWorkflowExecutionRequest.signal_name', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='signal_input', full_name='uber.cadence.api.v1.SignalWithStartWorkflowExecutionRequest.signal_input', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='control', full_name='uber.cadence.api.v1.SignalWithStartWorkflowExecutionRequest.control', index=3, + number=4, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2275, + serialized_end=2481, +) + + +_SIGNALWITHSTARTWORKFLOWEXECUTIONRESPONSE = _descriptor.Descriptor( + name='SignalWithStartWorkflowExecutionResponse', + full_name='uber.cadence.api.v1.SignalWithStartWorkflowExecutionResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='run_id', full_name='uber.cadence.api.v1.SignalWithStartWorkflowExecutionResponse.run_id', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2483, + serialized_end=2541, +) + + +_SIGNALWITHSTARTWORKFLOWEXECUTIONASYNCREQUEST = _descriptor.Descriptor( + name='SignalWithStartWorkflowExecutionAsyncRequest', + full_name='uber.cadence.api.v1.SignalWithStartWorkflowExecutionAsyncRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='request', full_name='uber.cadence.api.v1.SignalWithStartWorkflowExecutionAsyncRequest.request', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2543, + serialized_end=2668, +) + + +_SIGNALWITHSTARTWORKFLOWEXECUTIONASYNCRESPONSE = _descriptor.Descriptor( + name='SignalWithStartWorkflowExecutionAsyncResponse', + full_name='uber.cadence.api.v1.SignalWithStartWorkflowExecutionAsyncResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2670, + serialized_end=2717, +) + + +_RESETWORKFLOWEXECUTIONREQUEST = _descriptor.Descriptor( + name='ResetWorkflowExecutionRequest', + full_name='uber.cadence.api.v1.ResetWorkflowExecutionRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.ResetWorkflowExecutionRequest.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution', full_name='uber.cadence.api.v1.ResetWorkflowExecutionRequest.workflow_execution', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='reason', full_name='uber.cadence.api.v1.ResetWorkflowExecutionRequest.reason', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='decision_finish_event_id', full_name='uber.cadence.api.v1.ResetWorkflowExecutionRequest.decision_finish_event_id', index=3, + number=4, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='request_id', full_name='uber.cadence.api.v1.ResetWorkflowExecutionRequest.request_id', index=4, + number=5, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='skip_signal_reapply', full_name='uber.cadence.api.v1.ResetWorkflowExecutionRequest.skip_signal_reapply', index=5, + number=6, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2720, + serialized_end=2934, +) + + +_RESETWORKFLOWEXECUTIONRESPONSE = _descriptor.Descriptor( + name='ResetWorkflowExecutionResponse', + full_name='uber.cadence.api.v1.ResetWorkflowExecutionResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='run_id', full_name='uber.cadence.api.v1.ResetWorkflowExecutionResponse.run_id', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2936, + serialized_end=2984, +) + + +_REQUESTCANCELWORKFLOWEXECUTIONREQUEST = _descriptor.Descriptor( + name='RequestCancelWorkflowExecutionRequest', + full_name='uber.cadence.api.v1.RequestCancelWorkflowExecutionRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.RequestCancelWorkflowExecutionRequest.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution', full_name='uber.cadence.api.v1.RequestCancelWorkflowExecutionRequest.workflow_execution', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='identity', full_name='uber.cadence.api.v1.RequestCancelWorkflowExecutionRequest.identity', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='request_id', full_name='uber.cadence.api.v1.RequestCancelWorkflowExecutionRequest.request_id', index=3, + number=4, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cause', full_name='uber.cadence.api.v1.RequestCancelWorkflowExecutionRequest.cause', index=4, + number=5, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='first_execution_run_id', full_name='uber.cadence.api.v1.RequestCancelWorkflowExecutionRequest.first_execution_run_id', index=5, + number=6, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2987, + serialized_end=3195, +) + + +_REQUESTCANCELWORKFLOWEXECUTIONRESPONSE = _descriptor.Descriptor( + name='RequestCancelWorkflowExecutionResponse', + full_name='uber.cadence.api.v1.RequestCancelWorkflowExecutionResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=3197, + serialized_end=3237, +) + + +_TERMINATEWORKFLOWEXECUTIONREQUEST = _descriptor.Descriptor( + name='TerminateWorkflowExecutionRequest', + full_name='uber.cadence.api.v1.TerminateWorkflowExecutionRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.TerminateWorkflowExecutionRequest.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution', full_name='uber.cadence.api.v1.TerminateWorkflowExecutionRequest.workflow_execution', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='reason', full_name='uber.cadence.api.v1.TerminateWorkflowExecutionRequest.reason', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='details', full_name='uber.cadence.api.v1.TerminateWorkflowExecutionRequest.details', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='identity', full_name='uber.cadence.api.v1.TerminateWorkflowExecutionRequest.identity', index=4, + number=5, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='first_execution_run_id', full_name='uber.cadence.api.v1.TerminateWorkflowExecutionRequest.first_execution_run_id', index=5, + number=6, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=3240, + serialized_end=3472, +) + + +_TERMINATEWORKFLOWEXECUTIONRESPONSE = _descriptor.Descriptor( + name='TerminateWorkflowExecutionResponse', + full_name='uber.cadence.api.v1.TerminateWorkflowExecutionResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=3474, + serialized_end=3510, +) + + +_DESCRIBEWORKFLOWEXECUTIONREQUEST = _descriptor.Descriptor( + name='DescribeWorkflowExecutionRequest', + full_name='uber.cadence.api.v1.DescribeWorkflowExecutionRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.DescribeWorkflowExecutionRequest.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution', full_name='uber.cadence.api.v1.DescribeWorkflowExecutionRequest.workflow_execution', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='query_consistency_level', full_name='uber.cadence.api.v1.DescribeWorkflowExecutionRequest.query_consistency_level', index=2, + number=3, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=3513, + serialized_end=3708, +) + + +_DESCRIBEWORKFLOWEXECUTIONRESPONSE = _descriptor.Descriptor( + name='DescribeWorkflowExecutionResponse', + full_name='uber.cadence.api.v1.DescribeWorkflowExecutionResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='execution_configuration', full_name='uber.cadence.api.v1.DescribeWorkflowExecutionResponse.execution_configuration', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution_info', full_name='uber.cadence.api.v1.DescribeWorkflowExecutionResponse.workflow_execution_info', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='pending_activities', full_name='uber.cadence.api.v1.DescribeWorkflowExecutionResponse.pending_activities', index=2, + number=3, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='pending_children', full_name='uber.cadence.api.v1.DescribeWorkflowExecutionResponse.pending_children', index=3, + number=4, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='pending_decision', full_name='uber.cadence.api.v1.DescribeWorkflowExecutionResponse.pending_decision', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=3711, + serialized_end=4121, +) + + +_QUERYWORKFLOWREQUEST = _descriptor.Descriptor( + name='QueryWorkflowRequest', + full_name='uber.cadence.api.v1.QueryWorkflowRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.QueryWorkflowRequest.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution', full_name='uber.cadence.api.v1.QueryWorkflowRequest.workflow_execution', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='query', full_name='uber.cadence.api.v1.QueryWorkflowRequest.query', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='query_reject_condition', full_name='uber.cadence.api.v1.QueryWorkflowRequest.query_reject_condition', index=3, + number=4, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='query_consistency_level', full_name='uber.cadence.api.v1.QueryWorkflowRequest.query_consistency_level', index=4, + number=5, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=4124, + serialized_end=4433, +) + + +_QUERYWORKFLOWRESPONSE = _descriptor.Descriptor( + name='QueryWorkflowResponse', + full_name='uber.cadence.api.v1.QueryWorkflowResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='query_result', full_name='uber.cadence.api.v1.QueryWorkflowResponse.query_result', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='query_rejected', full_name='uber.cadence.api.v1.QueryWorkflowResponse.query_rejected', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=4436, + serialized_end=4571, +) + + +_DESCRIBETASKLISTREQUEST = _descriptor.Descriptor( + name='DescribeTaskListRequest', + full_name='uber.cadence.api.v1.DescribeTaskListRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.DescribeTaskListRequest.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='task_list', full_name='uber.cadence.api.v1.DescribeTaskListRequest.task_list', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='task_list_type', full_name='uber.cadence.api.v1.DescribeTaskListRequest.task_list_type', index=2, + number=3, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='include_task_list_status', full_name='uber.cadence.api.v1.DescribeTaskListRequest.include_task_list_status', index=3, + number=4, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=4574, + serialized_end=4758, +) + + +_DESCRIBETASKLISTRESPONSE = _descriptor.Descriptor( + name='DescribeTaskListResponse', + full_name='uber.cadence.api.v1.DescribeTaskListResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='pollers', full_name='uber.cadence.api.v1.DescribeTaskListResponse.pollers', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='task_list_status', full_name='uber.cadence.api.v1.DescribeTaskListResponse.task_list_status', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='partition_config', full_name='uber.cadence.api.v1.DescribeTaskListResponse.partition_config', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='task_list', full_name='uber.cadence.api.v1.DescribeTaskListResponse.task_list', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=4761, + serialized_end=5022, +) + + +_GETTASKLISTSBYDOMAINREQUEST = _descriptor.Descriptor( + name='GetTaskListsByDomainRequest', + full_name='uber.cadence.api.v1.GetTaskListsByDomainRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.GetTaskListsByDomainRequest.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=5024, + serialized_end=5069, +) + + +_GETTASKLISTSBYDOMAINRESPONSE_DECISIONTASKLISTMAPENTRY = _descriptor.Descriptor( + name='DecisionTaskListMapEntry', + full_name='uber.cadence.api.v1.GetTaskListsByDomainResponse.DecisionTaskListMapEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='uber.cadence.api.v1.GetTaskListsByDomainResponse.DecisionTaskListMapEntry.key', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='value', full_name='uber.cadence.api.v1.GetTaskListsByDomainResponse.DecisionTaskListMapEntry.value', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'8\001', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=5320, + serialized_end=5425, +) + +_GETTASKLISTSBYDOMAINRESPONSE_ACTIVITYTASKLISTMAPENTRY = _descriptor.Descriptor( + name='ActivityTaskListMapEntry', + full_name='uber.cadence.api.v1.GetTaskListsByDomainResponse.ActivityTaskListMapEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='uber.cadence.api.v1.GetTaskListsByDomainResponse.ActivityTaskListMapEntry.key', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='value', full_name='uber.cadence.api.v1.GetTaskListsByDomainResponse.ActivityTaskListMapEntry.value', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'8\001', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=5427, + serialized_end=5532, +) + +_GETTASKLISTSBYDOMAINRESPONSE = _descriptor.Descriptor( + name='GetTaskListsByDomainResponse', + full_name='uber.cadence.api.v1.GetTaskListsByDomainResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='decision_task_list_map', full_name='uber.cadence.api.v1.GetTaskListsByDomainResponse.decision_task_list_map', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='activity_task_list_map', full_name='uber.cadence.api.v1.GetTaskListsByDomainResponse.activity_task_list_map', index=1, + number=2, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[_GETTASKLISTSBYDOMAINRESPONSE_DECISIONTASKLISTMAPENTRY, _GETTASKLISTSBYDOMAINRESPONSE_ACTIVITYTASKLISTMAPENTRY, ], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=5072, + serialized_end=5532, +) + + +_LISTTASKLISTPARTITIONSREQUEST = _descriptor.Descriptor( + name='ListTaskListPartitionsRequest', + full_name='uber.cadence.api.v1.ListTaskListPartitionsRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.ListTaskListPartitionsRequest.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='task_list', full_name='uber.cadence.api.v1.ListTaskListPartitionsRequest.task_list', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=5534, + serialized_end=5631, +) + + +_LISTTASKLISTPARTITIONSRESPONSE = _descriptor.Descriptor( + name='ListTaskListPartitionsResponse', + full_name='uber.cadence.api.v1.ListTaskListPartitionsResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='activity_task_list_partitions', full_name='uber.cadence.api.v1.ListTaskListPartitionsResponse.activity_task_list_partitions', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='decision_task_list_partitions', full_name='uber.cadence.api.v1.ListTaskListPartitionsResponse.decision_task_list_partitions', index=1, + number=2, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=5634, + serialized_end=5840, +) + + +_GETCLUSTERINFOREQUEST = _descriptor.Descriptor( + name='GetClusterInfoRequest', + full_name='uber.cadence.api.v1.GetClusterInfoRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=5842, + serialized_end=5865, +) + + +_GETCLUSTERINFORESPONSE = _descriptor.Descriptor( + name='GetClusterInfoResponse', + full_name='uber.cadence.api.v1.GetClusterInfoResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='supported_client_versions', full_name='uber.cadence.api.v1.GetClusterInfoResponse.supported_client_versions', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=5867, + serialized_end=5972, +) + + +_GETWORKFLOWEXECUTIONHISTORYREQUEST = _descriptor.Descriptor( + name='GetWorkflowExecutionHistoryRequest', + full_name='uber.cadence.api.v1.GetWorkflowExecutionHistoryRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.GetWorkflowExecutionHistoryRequest.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution', full_name='uber.cadence.api.v1.GetWorkflowExecutionHistoryRequest.workflow_execution', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='page_size', full_name='uber.cadence.api.v1.GetWorkflowExecutionHistoryRequest.page_size', index=2, + number=3, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='next_page_token', full_name='uber.cadence.api.v1.GetWorkflowExecutionHistoryRequest.next_page_token', index=3, + number=4, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='wait_for_new_event', full_name='uber.cadence.api.v1.GetWorkflowExecutionHistoryRequest.wait_for_new_event', index=4, + number=5, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='history_event_filter_type', full_name='uber.cadence.api.v1.GetWorkflowExecutionHistoryRequest.history_event_filter_type', index=5, + number=6, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='skip_archival', full_name='uber.cadence.api.v1.GetWorkflowExecutionHistoryRequest.skip_archival', index=6, + number=7, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='query_consistency_level', full_name='uber.cadence.api.v1.GetWorkflowExecutionHistoryRequest.query_consistency_level', index=7, + number=8, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=5975, + serialized_end=6340, +) + + +_GETWORKFLOWEXECUTIONHISTORYRESPONSE = _descriptor.Descriptor( + name='GetWorkflowExecutionHistoryResponse', + full_name='uber.cadence.api.v1.GetWorkflowExecutionHistoryResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='history', full_name='uber.cadence.api.v1.GetWorkflowExecutionHistoryResponse.history', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='raw_history', full_name='uber.cadence.api.v1.GetWorkflowExecutionHistoryResponse.raw_history', index=1, + number=2, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='next_page_token', full_name='uber.cadence.api.v1.GetWorkflowExecutionHistoryResponse.next_page_token', index=2, + number=3, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='archived', full_name='uber.cadence.api.v1.GetWorkflowExecutionHistoryResponse.archived', index=3, + number=4, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=6343, + serialized_end=6522, +) + + +_FEATUREFLAGS = _descriptor.Descriptor( + name='FeatureFlags', + full_name='uber.cadence.api.v1.FeatureFlags', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='workflow_execution_already_completed_error_enabled', full_name='uber.cadence.api.v1.FeatureFlags.workflow_execution_already_completed_error_enabled', index=0, + number=1, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=6524, + serialized_end=6598, +) + + +_REFRESHWORKFLOWTASKSREQUEST = _descriptor.Descriptor( + name='RefreshWorkflowTasksRequest', + full_name='uber.cadence.api.v1.RefreshWorkflowTasksRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.RefreshWorkflowTasksRequest.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution', full_name='uber.cadence.api.v1.RefreshWorkflowTasksRequest.workflow_execution', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=6600, + serialized_end=6713, +) + + +_REFRESHWORKFLOWTASKSRESPONSE = _descriptor.Descriptor( + name='RefreshWorkflowTasksResponse', + full_name='uber.cadence.api.v1.RefreshWorkflowTasksResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=6715, + serialized_end=6745, +) + +_RESTARTWORKFLOWEXECUTIONREQUEST.fields_by_name['workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_DIAGNOSEWORKFLOWEXECUTIONREQUEST.fields_by_name['workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_DIAGNOSEWORKFLOWEXECUTIONRESPONSE.fields_by_name['diagnostic_workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_STARTWORKFLOWEXECUTIONREQUEST.fields_by_name['workflow_type'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWTYPE +_STARTWORKFLOWEXECUTIONREQUEST.fields_by_name['task_list'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_tasklist__pb2._TASKLIST +_STARTWORKFLOWEXECUTIONREQUEST.fields_by_name['input'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._PAYLOAD +_STARTWORKFLOWEXECUTIONREQUEST.fields_by_name['execution_start_to_close_timeout'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_STARTWORKFLOWEXECUTIONREQUEST.fields_by_name['task_start_to_close_timeout'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_STARTWORKFLOWEXECUTIONREQUEST.fields_by_name['workflow_id_reuse_policy'].enum_type = uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2._WORKFLOWIDREUSEPOLICY +_STARTWORKFLOWEXECUTIONREQUEST.fields_by_name['retry_policy'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._RETRYPOLICY +_STARTWORKFLOWEXECUTIONREQUEST.fields_by_name['memo'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._MEMO +_STARTWORKFLOWEXECUTIONREQUEST.fields_by_name['search_attributes'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._SEARCHATTRIBUTES +_STARTWORKFLOWEXECUTIONREQUEST.fields_by_name['header'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._HEADER +_STARTWORKFLOWEXECUTIONREQUEST.fields_by_name['delay_start'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_STARTWORKFLOWEXECUTIONREQUEST.fields_by_name['jitter_start'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_STARTWORKFLOWEXECUTIONREQUEST.fields_by_name['first_run_at'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_STARTWORKFLOWEXECUTIONREQUEST.fields_by_name['cron_overlap_policy'].enum_type = uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2._CRONOVERLAPPOLICY +_STARTWORKFLOWEXECUTIONREQUEST.fields_by_name['active_cluster_selection_policy'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._ACTIVECLUSTERSELECTIONPOLICY +_STARTWORKFLOWEXECUTIONASYNCREQUEST.fields_by_name['request'].message_type = _STARTWORKFLOWEXECUTIONREQUEST +_SIGNALWORKFLOWEXECUTIONREQUEST.fields_by_name['workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_SIGNALWORKFLOWEXECUTIONREQUEST.fields_by_name['signal_input'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._PAYLOAD +_SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST.fields_by_name['start_request'].message_type = _STARTWORKFLOWEXECUTIONREQUEST +_SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST.fields_by_name['signal_input'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._PAYLOAD +_SIGNALWITHSTARTWORKFLOWEXECUTIONASYNCREQUEST.fields_by_name['request'].message_type = _SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST +_RESETWORKFLOWEXECUTIONREQUEST.fields_by_name['workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_REQUESTCANCELWORKFLOWEXECUTIONREQUEST.fields_by_name['workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_TERMINATEWORKFLOWEXECUTIONREQUEST.fields_by_name['workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_TERMINATEWORKFLOWEXECUTIONREQUEST.fields_by_name['details'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._PAYLOAD +_DESCRIBEWORKFLOWEXECUTIONREQUEST.fields_by_name['workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_DESCRIBEWORKFLOWEXECUTIONREQUEST.fields_by_name['query_consistency_level'].enum_type = uber_dot_cadence_dot_api_dot_v1_dot_query__pb2._QUERYCONSISTENCYLEVEL +_DESCRIBEWORKFLOWEXECUTIONRESPONSE.fields_by_name['execution_configuration'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2._WORKFLOWEXECUTIONCONFIGURATION +_DESCRIBEWORKFLOWEXECUTIONRESPONSE.fields_by_name['workflow_execution_info'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2._WORKFLOWEXECUTIONINFO +_DESCRIBEWORKFLOWEXECUTIONRESPONSE.fields_by_name['pending_activities'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2._PENDINGACTIVITYINFO +_DESCRIBEWORKFLOWEXECUTIONRESPONSE.fields_by_name['pending_children'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2._PENDINGCHILDEXECUTIONINFO +_DESCRIBEWORKFLOWEXECUTIONRESPONSE.fields_by_name['pending_decision'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2._PENDINGDECISIONINFO +_QUERYWORKFLOWREQUEST.fields_by_name['workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_QUERYWORKFLOWREQUEST.fields_by_name['query'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_query__pb2._WORKFLOWQUERY +_QUERYWORKFLOWREQUEST.fields_by_name['query_reject_condition'].enum_type = uber_dot_cadence_dot_api_dot_v1_dot_query__pb2._QUERYREJECTCONDITION +_QUERYWORKFLOWREQUEST.fields_by_name['query_consistency_level'].enum_type = uber_dot_cadence_dot_api_dot_v1_dot_query__pb2._QUERYCONSISTENCYLEVEL +_QUERYWORKFLOWRESPONSE.fields_by_name['query_result'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._PAYLOAD +_QUERYWORKFLOWRESPONSE.fields_by_name['query_rejected'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_query__pb2._QUERYREJECTED +_DESCRIBETASKLISTREQUEST.fields_by_name['task_list'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_tasklist__pb2._TASKLIST +_DESCRIBETASKLISTREQUEST.fields_by_name['task_list_type'].enum_type = uber_dot_cadence_dot_api_dot_v1_dot_tasklist__pb2._TASKLISTTYPE +_DESCRIBETASKLISTRESPONSE.fields_by_name['pollers'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_tasklist__pb2._POLLERINFO +_DESCRIBETASKLISTRESPONSE.fields_by_name['task_list_status'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_tasklist__pb2._TASKLISTSTATUS +_DESCRIBETASKLISTRESPONSE.fields_by_name['partition_config'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_tasklist__pb2._TASKLISTPARTITIONCONFIG +_DESCRIBETASKLISTRESPONSE.fields_by_name['task_list'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_tasklist__pb2._TASKLIST +_GETTASKLISTSBYDOMAINRESPONSE_DECISIONTASKLISTMAPENTRY.fields_by_name['value'].message_type = _DESCRIBETASKLISTRESPONSE +_GETTASKLISTSBYDOMAINRESPONSE_DECISIONTASKLISTMAPENTRY.containing_type = _GETTASKLISTSBYDOMAINRESPONSE +_GETTASKLISTSBYDOMAINRESPONSE_ACTIVITYTASKLISTMAPENTRY.fields_by_name['value'].message_type = _DESCRIBETASKLISTRESPONSE +_GETTASKLISTSBYDOMAINRESPONSE_ACTIVITYTASKLISTMAPENTRY.containing_type = _GETTASKLISTSBYDOMAINRESPONSE +_GETTASKLISTSBYDOMAINRESPONSE.fields_by_name['decision_task_list_map'].message_type = _GETTASKLISTSBYDOMAINRESPONSE_DECISIONTASKLISTMAPENTRY +_GETTASKLISTSBYDOMAINRESPONSE.fields_by_name['activity_task_list_map'].message_type = _GETTASKLISTSBYDOMAINRESPONSE_ACTIVITYTASKLISTMAPENTRY +_LISTTASKLISTPARTITIONSREQUEST.fields_by_name['task_list'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_tasklist__pb2._TASKLIST +_LISTTASKLISTPARTITIONSRESPONSE.fields_by_name['activity_task_list_partitions'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_tasklist__pb2._TASKLISTPARTITIONMETADATA +_LISTTASKLISTPARTITIONSRESPONSE.fields_by_name['decision_task_list_partitions'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_tasklist__pb2._TASKLISTPARTITIONMETADATA +_GETCLUSTERINFORESPONSE.fields_by_name['supported_client_versions'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._SUPPORTEDCLIENTVERSIONS +_GETWORKFLOWEXECUTIONHISTORYREQUEST.fields_by_name['workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_GETWORKFLOWEXECUTIONHISTORYREQUEST.fields_by_name['history_event_filter_type'].enum_type = uber_dot_cadence_dot_api_dot_v1_dot_history__pb2._EVENTFILTERTYPE +_GETWORKFLOWEXECUTIONHISTORYREQUEST.fields_by_name['query_consistency_level'].enum_type = uber_dot_cadence_dot_api_dot_v1_dot_query__pb2._QUERYCONSISTENCYLEVEL +_GETWORKFLOWEXECUTIONHISTORYRESPONSE.fields_by_name['history'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_history__pb2._HISTORY +_GETWORKFLOWEXECUTIONHISTORYRESPONSE.fields_by_name['raw_history'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._DATABLOB +_REFRESHWORKFLOWTASKSREQUEST.fields_by_name['workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +DESCRIPTOR.message_types_by_name['RestartWorkflowExecutionRequest'] = _RESTARTWORKFLOWEXECUTIONREQUEST +DESCRIPTOR.message_types_by_name['DiagnoseWorkflowExecutionRequest'] = _DIAGNOSEWORKFLOWEXECUTIONREQUEST +DESCRIPTOR.message_types_by_name['DiagnoseWorkflowExecutionResponse'] = _DIAGNOSEWORKFLOWEXECUTIONRESPONSE +DESCRIPTOR.message_types_by_name['StartWorkflowExecutionRequest'] = _STARTWORKFLOWEXECUTIONREQUEST +DESCRIPTOR.message_types_by_name['StartWorkflowExecutionResponse'] = _STARTWORKFLOWEXECUTIONRESPONSE +DESCRIPTOR.message_types_by_name['StartWorkflowExecutionAsyncRequest'] = _STARTWORKFLOWEXECUTIONASYNCREQUEST +DESCRIPTOR.message_types_by_name['StartWorkflowExecutionAsyncResponse'] = _STARTWORKFLOWEXECUTIONASYNCRESPONSE +DESCRIPTOR.message_types_by_name['RestartWorkflowExecutionResponse'] = _RESTARTWORKFLOWEXECUTIONRESPONSE +DESCRIPTOR.message_types_by_name['SignalWorkflowExecutionRequest'] = _SIGNALWORKFLOWEXECUTIONREQUEST +DESCRIPTOR.message_types_by_name['SignalWorkflowExecutionResponse'] = _SIGNALWORKFLOWEXECUTIONRESPONSE +DESCRIPTOR.message_types_by_name['SignalWithStartWorkflowExecutionRequest'] = _SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST +DESCRIPTOR.message_types_by_name['SignalWithStartWorkflowExecutionResponse'] = _SIGNALWITHSTARTWORKFLOWEXECUTIONRESPONSE +DESCRIPTOR.message_types_by_name['SignalWithStartWorkflowExecutionAsyncRequest'] = _SIGNALWITHSTARTWORKFLOWEXECUTIONASYNCREQUEST +DESCRIPTOR.message_types_by_name['SignalWithStartWorkflowExecutionAsyncResponse'] = _SIGNALWITHSTARTWORKFLOWEXECUTIONASYNCRESPONSE +DESCRIPTOR.message_types_by_name['ResetWorkflowExecutionRequest'] = _RESETWORKFLOWEXECUTIONREQUEST +DESCRIPTOR.message_types_by_name['ResetWorkflowExecutionResponse'] = _RESETWORKFLOWEXECUTIONRESPONSE +DESCRIPTOR.message_types_by_name['RequestCancelWorkflowExecutionRequest'] = _REQUESTCANCELWORKFLOWEXECUTIONREQUEST +DESCRIPTOR.message_types_by_name['RequestCancelWorkflowExecutionResponse'] = _REQUESTCANCELWORKFLOWEXECUTIONRESPONSE +DESCRIPTOR.message_types_by_name['TerminateWorkflowExecutionRequest'] = _TERMINATEWORKFLOWEXECUTIONREQUEST +DESCRIPTOR.message_types_by_name['TerminateWorkflowExecutionResponse'] = _TERMINATEWORKFLOWEXECUTIONRESPONSE +DESCRIPTOR.message_types_by_name['DescribeWorkflowExecutionRequest'] = _DESCRIBEWORKFLOWEXECUTIONREQUEST +DESCRIPTOR.message_types_by_name['DescribeWorkflowExecutionResponse'] = _DESCRIBEWORKFLOWEXECUTIONRESPONSE +DESCRIPTOR.message_types_by_name['QueryWorkflowRequest'] = _QUERYWORKFLOWREQUEST +DESCRIPTOR.message_types_by_name['QueryWorkflowResponse'] = _QUERYWORKFLOWRESPONSE +DESCRIPTOR.message_types_by_name['DescribeTaskListRequest'] = _DESCRIBETASKLISTREQUEST +DESCRIPTOR.message_types_by_name['DescribeTaskListResponse'] = _DESCRIBETASKLISTRESPONSE +DESCRIPTOR.message_types_by_name['GetTaskListsByDomainRequest'] = _GETTASKLISTSBYDOMAINREQUEST +DESCRIPTOR.message_types_by_name['GetTaskListsByDomainResponse'] = _GETTASKLISTSBYDOMAINRESPONSE +DESCRIPTOR.message_types_by_name['ListTaskListPartitionsRequest'] = _LISTTASKLISTPARTITIONSREQUEST +DESCRIPTOR.message_types_by_name['ListTaskListPartitionsResponse'] = _LISTTASKLISTPARTITIONSRESPONSE +DESCRIPTOR.message_types_by_name['GetClusterInfoRequest'] = _GETCLUSTERINFOREQUEST +DESCRIPTOR.message_types_by_name['GetClusterInfoResponse'] = _GETCLUSTERINFORESPONSE +DESCRIPTOR.message_types_by_name['GetWorkflowExecutionHistoryRequest'] = _GETWORKFLOWEXECUTIONHISTORYREQUEST +DESCRIPTOR.message_types_by_name['GetWorkflowExecutionHistoryResponse'] = _GETWORKFLOWEXECUTIONHISTORYRESPONSE +DESCRIPTOR.message_types_by_name['FeatureFlags'] = _FEATUREFLAGS +DESCRIPTOR.message_types_by_name['RefreshWorkflowTasksRequest'] = _REFRESHWORKFLOWTASKSREQUEST +DESCRIPTOR.message_types_by_name['RefreshWorkflowTasksResponse'] = _REFRESHWORKFLOWTASKSRESPONSE +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +RestartWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType('RestartWorkflowExecutionRequest', (_message.Message,), { + 'DESCRIPTOR' : _RESTARTWORKFLOWEXECUTIONREQUEST, + '__module__' : 'uber.cadence.api.v1.service_workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.RestartWorkflowExecutionRequest) + }) +_sym_db.RegisterMessage(RestartWorkflowExecutionRequest) + +DiagnoseWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType('DiagnoseWorkflowExecutionRequest', (_message.Message,), { + 'DESCRIPTOR' : _DIAGNOSEWORKFLOWEXECUTIONREQUEST, + '__module__' : 'uber.cadence.api.v1.service_workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.DiagnoseWorkflowExecutionRequest) + }) +_sym_db.RegisterMessage(DiagnoseWorkflowExecutionRequest) + +DiagnoseWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType('DiagnoseWorkflowExecutionResponse', (_message.Message,), { + 'DESCRIPTOR' : _DIAGNOSEWORKFLOWEXECUTIONRESPONSE, + '__module__' : 'uber.cadence.api.v1.service_workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.DiagnoseWorkflowExecutionResponse) + }) +_sym_db.RegisterMessage(DiagnoseWorkflowExecutionResponse) + +StartWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType('StartWorkflowExecutionRequest', (_message.Message,), { + 'DESCRIPTOR' : _STARTWORKFLOWEXECUTIONREQUEST, + '__module__' : 'uber.cadence.api.v1.service_workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.StartWorkflowExecutionRequest) + }) +_sym_db.RegisterMessage(StartWorkflowExecutionRequest) + +StartWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType('StartWorkflowExecutionResponse', (_message.Message,), { + 'DESCRIPTOR' : _STARTWORKFLOWEXECUTIONRESPONSE, + '__module__' : 'uber.cadence.api.v1.service_workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.StartWorkflowExecutionResponse) + }) +_sym_db.RegisterMessage(StartWorkflowExecutionResponse) + +StartWorkflowExecutionAsyncRequest = _reflection.GeneratedProtocolMessageType('StartWorkflowExecutionAsyncRequest', (_message.Message,), { + 'DESCRIPTOR' : _STARTWORKFLOWEXECUTIONASYNCREQUEST, + '__module__' : 'uber.cadence.api.v1.service_workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.StartWorkflowExecutionAsyncRequest) + }) +_sym_db.RegisterMessage(StartWorkflowExecutionAsyncRequest) + +StartWorkflowExecutionAsyncResponse = _reflection.GeneratedProtocolMessageType('StartWorkflowExecutionAsyncResponse', (_message.Message,), { + 'DESCRIPTOR' : _STARTWORKFLOWEXECUTIONASYNCRESPONSE, + '__module__' : 'uber.cadence.api.v1.service_workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.StartWorkflowExecutionAsyncResponse) + }) +_sym_db.RegisterMessage(StartWorkflowExecutionAsyncResponse) + +RestartWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType('RestartWorkflowExecutionResponse', (_message.Message,), { + 'DESCRIPTOR' : _RESTARTWORKFLOWEXECUTIONRESPONSE, + '__module__' : 'uber.cadence.api.v1.service_workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.RestartWorkflowExecutionResponse) + }) +_sym_db.RegisterMessage(RestartWorkflowExecutionResponse) + +SignalWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType('SignalWorkflowExecutionRequest', (_message.Message,), { + 'DESCRIPTOR' : _SIGNALWORKFLOWEXECUTIONREQUEST, + '__module__' : 'uber.cadence.api.v1.service_workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.SignalWorkflowExecutionRequest) + }) +_sym_db.RegisterMessage(SignalWorkflowExecutionRequest) + +SignalWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType('SignalWorkflowExecutionResponse', (_message.Message,), { + 'DESCRIPTOR' : _SIGNALWORKFLOWEXECUTIONRESPONSE, + '__module__' : 'uber.cadence.api.v1.service_workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.SignalWorkflowExecutionResponse) + }) +_sym_db.RegisterMessage(SignalWorkflowExecutionResponse) + +SignalWithStartWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType('SignalWithStartWorkflowExecutionRequest', (_message.Message,), { + 'DESCRIPTOR' : _SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST, + '__module__' : 'uber.cadence.api.v1.service_workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.SignalWithStartWorkflowExecutionRequest) + }) +_sym_db.RegisterMessage(SignalWithStartWorkflowExecutionRequest) + +SignalWithStartWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType('SignalWithStartWorkflowExecutionResponse', (_message.Message,), { + 'DESCRIPTOR' : _SIGNALWITHSTARTWORKFLOWEXECUTIONRESPONSE, + '__module__' : 'uber.cadence.api.v1.service_workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.SignalWithStartWorkflowExecutionResponse) + }) +_sym_db.RegisterMessage(SignalWithStartWorkflowExecutionResponse) + +SignalWithStartWorkflowExecutionAsyncRequest = _reflection.GeneratedProtocolMessageType('SignalWithStartWorkflowExecutionAsyncRequest', (_message.Message,), { + 'DESCRIPTOR' : _SIGNALWITHSTARTWORKFLOWEXECUTIONASYNCREQUEST, + '__module__' : 'uber.cadence.api.v1.service_workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.SignalWithStartWorkflowExecutionAsyncRequest) + }) +_sym_db.RegisterMessage(SignalWithStartWorkflowExecutionAsyncRequest) + +SignalWithStartWorkflowExecutionAsyncResponse = _reflection.GeneratedProtocolMessageType('SignalWithStartWorkflowExecutionAsyncResponse', (_message.Message,), { + 'DESCRIPTOR' : _SIGNALWITHSTARTWORKFLOWEXECUTIONASYNCRESPONSE, + '__module__' : 'uber.cadence.api.v1.service_workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.SignalWithStartWorkflowExecutionAsyncResponse) + }) +_sym_db.RegisterMessage(SignalWithStartWorkflowExecutionAsyncResponse) + +ResetWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType('ResetWorkflowExecutionRequest', (_message.Message,), { + 'DESCRIPTOR' : _RESETWORKFLOWEXECUTIONREQUEST, + '__module__' : 'uber.cadence.api.v1.service_workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ResetWorkflowExecutionRequest) + }) +_sym_db.RegisterMessage(ResetWorkflowExecutionRequest) + +ResetWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType('ResetWorkflowExecutionResponse', (_message.Message,), { + 'DESCRIPTOR' : _RESETWORKFLOWEXECUTIONRESPONSE, + '__module__' : 'uber.cadence.api.v1.service_workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ResetWorkflowExecutionResponse) + }) +_sym_db.RegisterMessage(ResetWorkflowExecutionResponse) + +RequestCancelWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType('RequestCancelWorkflowExecutionRequest', (_message.Message,), { + 'DESCRIPTOR' : _REQUESTCANCELWORKFLOWEXECUTIONREQUEST, + '__module__' : 'uber.cadence.api.v1.service_workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.RequestCancelWorkflowExecutionRequest) + }) +_sym_db.RegisterMessage(RequestCancelWorkflowExecutionRequest) + +RequestCancelWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType('RequestCancelWorkflowExecutionResponse', (_message.Message,), { + 'DESCRIPTOR' : _REQUESTCANCELWORKFLOWEXECUTIONRESPONSE, + '__module__' : 'uber.cadence.api.v1.service_workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.RequestCancelWorkflowExecutionResponse) + }) +_sym_db.RegisterMessage(RequestCancelWorkflowExecutionResponse) + +TerminateWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType('TerminateWorkflowExecutionRequest', (_message.Message,), { + 'DESCRIPTOR' : _TERMINATEWORKFLOWEXECUTIONREQUEST, + '__module__' : 'uber.cadence.api.v1.service_workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.TerminateWorkflowExecutionRequest) + }) +_sym_db.RegisterMessage(TerminateWorkflowExecutionRequest) + +TerminateWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType('TerminateWorkflowExecutionResponse', (_message.Message,), { + 'DESCRIPTOR' : _TERMINATEWORKFLOWEXECUTIONRESPONSE, + '__module__' : 'uber.cadence.api.v1.service_workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.TerminateWorkflowExecutionResponse) + }) +_sym_db.RegisterMessage(TerminateWorkflowExecutionResponse) + +DescribeWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType('DescribeWorkflowExecutionRequest', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBEWORKFLOWEXECUTIONREQUEST, + '__module__' : 'uber.cadence.api.v1.service_workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.DescribeWorkflowExecutionRequest) + }) +_sym_db.RegisterMessage(DescribeWorkflowExecutionRequest) + +DescribeWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType('DescribeWorkflowExecutionResponse', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBEWORKFLOWEXECUTIONRESPONSE, + '__module__' : 'uber.cadence.api.v1.service_workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.DescribeWorkflowExecutionResponse) + }) +_sym_db.RegisterMessage(DescribeWorkflowExecutionResponse) + +QueryWorkflowRequest = _reflection.GeneratedProtocolMessageType('QueryWorkflowRequest', (_message.Message,), { + 'DESCRIPTOR' : _QUERYWORKFLOWREQUEST, + '__module__' : 'uber.cadence.api.v1.service_workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.QueryWorkflowRequest) + }) +_sym_db.RegisterMessage(QueryWorkflowRequest) + +QueryWorkflowResponse = _reflection.GeneratedProtocolMessageType('QueryWorkflowResponse', (_message.Message,), { + 'DESCRIPTOR' : _QUERYWORKFLOWRESPONSE, + '__module__' : 'uber.cadence.api.v1.service_workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.QueryWorkflowResponse) + }) +_sym_db.RegisterMessage(QueryWorkflowResponse) + +DescribeTaskListRequest = _reflection.GeneratedProtocolMessageType('DescribeTaskListRequest', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBETASKLISTREQUEST, + '__module__' : 'uber.cadence.api.v1.service_workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.DescribeTaskListRequest) + }) +_sym_db.RegisterMessage(DescribeTaskListRequest) + +DescribeTaskListResponse = _reflection.GeneratedProtocolMessageType('DescribeTaskListResponse', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBETASKLISTRESPONSE, + '__module__' : 'uber.cadence.api.v1.service_workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.DescribeTaskListResponse) + }) +_sym_db.RegisterMessage(DescribeTaskListResponse) + +GetTaskListsByDomainRequest = _reflection.GeneratedProtocolMessageType('GetTaskListsByDomainRequest', (_message.Message,), { + 'DESCRIPTOR' : _GETTASKLISTSBYDOMAINREQUEST, + '__module__' : 'uber.cadence.api.v1.service_workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.GetTaskListsByDomainRequest) + }) +_sym_db.RegisterMessage(GetTaskListsByDomainRequest) + +GetTaskListsByDomainResponse = _reflection.GeneratedProtocolMessageType('GetTaskListsByDomainResponse', (_message.Message,), { + + 'DecisionTaskListMapEntry' : _reflection.GeneratedProtocolMessageType('DecisionTaskListMapEntry', (_message.Message,), { + 'DESCRIPTOR' : _GETTASKLISTSBYDOMAINRESPONSE_DECISIONTASKLISTMAPENTRY, + '__module__' : 'uber.cadence.api.v1.service_workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.GetTaskListsByDomainResponse.DecisionTaskListMapEntry) + }) + , + + 'ActivityTaskListMapEntry' : _reflection.GeneratedProtocolMessageType('ActivityTaskListMapEntry', (_message.Message,), { + 'DESCRIPTOR' : _GETTASKLISTSBYDOMAINRESPONSE_ACTIVITYTASKLISTMAPENTRY, + '__module__' : 'uber.cadence.api.v1.service_workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.GetTaskListsByDomainResponse.ActivityTaskListMapEntry) + }) + , + 'DESCRIPTOR' : _GETTASKLISTSBYDOMAINRESPONSE, + '__module__' : 'uber.cadence.api.v1.service_workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.GetTaskListsByDomainResponse) + }) +_sym_db.RegisterMessage(GetTaskListsByDomainResponse) +_sym_db.RegisterMessage(GetTaskListsByDomainResponse.DecisionTaskListMapEntry) +_sym_db.RegisterMessage(GetTaskListsByDomainResponse.ActivityTaskListMapEntry) + +ListTaskListPartitionsRequest = _reflection.GeneratedProtocolMessageType('ListTaskListPartitionsRequest', (_message.Message,), { + 'DESCRIPTOR' : _LISTTASKLISTPARTITIONSREQUEST, + '__module__' : 'uber.cadence.api.v1.service_workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ListTaskListPartitionsRequest) + }) +_sym_db.RegisterMessage(ListTaskListPartitionsRequest) + +ListTaskListPartitionsResponse = _reflection.GeneratedProtocolMessageType('ListTaskListPartitionsResponse', (_message.Message,), { + 'DESCRIPTOR' : _LISTTASKLISTPARTITIONSRESPONSE, + '__module__' : 'uber.cadence.api.v1.service_workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ListTaskListPartitionsResponse) + }) +_sym_db.RegisterMessage(ListTaskListPartitionsResponse) + +GetClusterInfoRequest = _reflection.GeneratedProtocolMessageType('GetClusterInfoRequest', (_message.Message,), { + 'DESCRIPTOR' : _GETCLUSTERINFOREQUEST, + '__module__' : 'uber.cadence.api.v1.service_workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.GetClusterInfoRequest) + }) +_sym_db.RegisterMessage(GetClusterInfoRequest) + +GetClusterInfoResponse = _reflection.GeneratedProtocolMessageType('GetClusterInfoResponse', (_message.Message,), { + 'DESCRIPTOR' : _GETCLUSTERINFORESPONSE, + '__module__' : 'uber.cadence.api.v1.service_workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.GetClusterInfoResponse) + }) +_sym_db.RegisterMessage(GetClusterInfoResponse) + +GetWorkflowExecutionHistoryRequest = _reflection.GeneratedProtocolMessageType('GetWorkflowExecutionHistoryRequest', (_message.Message,), { + 'DESCRIPTOR' : _GETWORKFLOWEXECUTIONHISTORYREQUEST, + '__module__' : 'uber.cadence.api.v1.service_workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.GetWorkflowExecutionHistoryRequest) + }) +_sym_db.RegisterMessage(GetWorkflowExecutionHistoryRequest) + +GetWorkflowExecutionHistoryResponse = _reflection.GeneratedProtocolMessageType('GetWorkflowExecutionHistoryResponse', (_message.Message,), { + 'DESCRIPTOR' : _GETWORKFLOWEXECUTIONHISTORYRESPONSE, + '__module__' : 'uber.cadence.api.v1.service_workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.GetWorkflowExecutionHistoryResponse) + }) +_sym_db.RegisterMessage(GetWorkflowExecutionHistoryResponse) + +FeatureFlags = _reflection.GeneratedProtocolMessageType('FeatureFlags', (_message.Message,), { + 'DESCRIPTOR' : _FEATUREFLAGS, + '__module__' : 'uber.cadence.api.v1.service_workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.FeatureFlags) + }) +_sym_db.RegisterMessage(FeatureFlags) + +RefreshWorkflowTasksRequest = _reflection.GeneratedProtocolMessageType('RefreshWorkflowTasksRequest', (_message.Message,), { + 'DESCRIPTOR' : _REFRESHWORKFLOWTASKSREQUEST, + '__module__' : 'uber.cadence.api.v1.service_workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.RefreshWorkflowTasksRequest) + }) +_sym_db.RegisterMessage(RefreshWorkflowTasksRequest) + +RefreshWorkflowTasksResponse = _reflection.GeneratedProtocolMessageType('RefreshWorkflowTasksResponse', (_message.Message,), { + 'DESCRIPTOR' : _REFRESHWORKFLOWTASKSRESPONSE, + '__module__' : 'uber.cadence.api.v1.service_workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.RefreshWorkflowTasksResponse) + }) +_sym_db.RegisterMessage(RefreshWorkflowTasksResponse) + + +DESCRIPTOR._options = None +_GETTASKLISTSBYDOMAINRESPONSE_DECISIONTASKLISTMAPENTRY._options = None +_GETTASKLISTSBYDOMAINRESPONSE_ACTIVITYTASKLISTMAPENTRY._options = None + +_WORKFLOWAPI = _descriptor.ServiceDescriptor( + name='WorkflowAPI', + full_name='uber.cadence.api.v1.WorkflowAPI', + file=DESCRIPTOR, + index=0, + serialized_options=None, + create_key=_descriptor._internal_create_key, + serialized_start=6748, + serialized_end=9219, + methods=[ + _descriptor.MethodDescriptor( + name='RestartWorkflowExecution', + full_name='uber.cadence.api.v1.WorkflowAPI.RestartWorkflowExecution', + index=0, + containing_service=None, + input_type=_RESTARTWORKFLOWEXECUTIONREQUEST, + output_type=_RESTARTWORKFLOWEXECUTIONRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='StartWorkflowExecution', + full_name='uber.cadence.api.v1.WorkflowAPI.StartWorkflowExecution', + index=1, + containing_service=None, + input_type=_STARTWORKFLOWEXECUTIONREQUEST, + output_type=_STARTWORKFLOWEXECUTIONRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='StartWorkflowExecutionAsync', + full_name='uber.cadence.api.v1.WorkflowAPI.StartWorkflowExecutionAsync', + index=2, + containing_service=None, + input_type=_STARTWORKFLOWEXECUTIONASYNCREQUEST, + output_type=_STARTWORKFLOWEXECUTIONASYNCRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='SignalWorkflowExecution', + full_name='uber.cadence.api.v1.WorkflowAPI.SignalWorkflowExecution', + index=3, + containing_service=None, + input_type=_SIGNALWORKFLOWEXECUTIONREQUEST, + output_type=_SIGNALWORKFLOWEXECUTIONRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='SignalWithStartWorkflowExecution', + full_name='uber.cadence.api.v1.WorkflowAPI.SignalWithStartWorkflowExecution', + index=4, + containing_service=None, + input_type=_SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST, + output_type=_SIGNALWITHSTARTWORKFLOWEXECUTIONRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='SignalWithStartWorkflowExecutionAsync', + full_name='uber.cadence.api.v1.WorkflowAPI.SignalWithStartWorkflowExecutionAsync', + index=5, + containing_service=None, + input_type=_SIGNALWITHSTARTWORKFLOWEXECUTIONASYNCREQUEST, + output_type=_SIGNALWITHSTARTWORKFLOWEXECUTIONASYNCRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='ResetWorkflowExecution', + full_name='uber.cadence.api.v1.WorkflowAPI.ResetWorkflowExecution', + index=6, + containing_service=None, + input_type=_RESETWORKFLOWEXECUTIONREQUEST, + output_type=_RESETWORKFLOWEXECUTIONRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='RequestCancelWorkflowExecution', + full_name='uber.cadence.api.v1.WorkflowAPI.RequestCancelWorkflowExecution', + index=7, + containing_service=None, + input_type=_REQUESTCANCELWORKFLOWEXECUTIONREQUEST, + output_type=_REQUESTCANCELWORKFLOWEXECUTIONRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='TerminateWorkflowExecution', + full_name='uber.cadence.api.v1.WorkflowAPI.TerminateWorkflowExecution', + index=8, + containing_service=None, + input_type=_TERMINATEWORKFLOWEXECUTIONREQUEST, + output_type=_TERMINATEWORKFLOWEXECUTIONRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='DescribeWorkflowExecution', + full_name='uber.cadence.api.v1.WorkflowAPI.DescribeWorkflowExecution', + index=9, + containing_service=None, + input_type=_DESCRIBEWORKFLOWEXECUTIONREQUEST, + output_type=_DESCRIBEWORKFLOWEXECUTIONRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='QueryWorkflow', + full_name='uber.cadence.api.v1.WorkflowAPI.QueryWorkflow', + index=10, + containing_service=None, + input_type=_QUERYWORKFLOWREQUEST, + output_type=_QUERYWORKFLOWRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='DescribeTaskList', + full_name='uber.cadence.api.v1.WorkflowAPI.DescribeTaskList', + index=11, + containing_service=None, + input_type=_DESCRIBETASKLISTREQUEST, + output_type=_DESCRIBETASKLISTRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='GetTaskListsByDomain', + full_name='uber.cadence.api.v1.WorkflowAPI.GetTaskListsByDomain', + index=12, + containing_service=None, + input_type=_GETTASKLISTSBYDOMAINREQUEST, + output_type=_GETTASKLISTSBYDOMAINRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='ListTaskListPartitions', + full_name='uber.cadence.api.v1.WorkflowAPI.ListTaskListPartitions', + index=13, + containing_service=None, + input_type=_LISTTASKLISTPARTITIONSREQUEST, + output_type=_LISTTASKLISTPARTITIONSRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='GetClusterInfo', + full_name='uber.cadence.api.v1.WorkflowAPI.GetClusterInfo', + index=14, + containing_service=None, + input_type=_GETCLUSTERINFOREQUEST, + output_type=_GETCLUSTERINFORESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='GetWorkflowExecutionHistory', + full_name='uber.cadence.api.v1.WorkflowAPI.GetWorkflowExecutionHistory', + index=15, + containing_service=None, + input_type=_GETWORKFLOWEXECUTIONHISTORYREQUEST, + output_type=_GETWORKFLOWEXECUTIONHISTORYRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='RefreshWorkflowTasks', + full_name='uber.cadence.api.v1.WorkflowAPI.RefreshWorkflowTasks', + index=16, + containing_service=None, + input_type=_REFRESHWORKFLOWTASKSREQUEST, + output_type=_REFRESHWORKFLOWTASKSRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='DiagnoseWorkflowExecution', + full_name='uber.cadence.api.v1.WorkflowAPI.DiagnoseWorkflowExecution', + index=17, + containing_service=None, + input_type=_DIAGNOSEWORKFLOWEXECUTIONREQUEST, + output_type=_DIAGNOSEWORKFLOWEXECUTIONRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), +]) +_sym_db.RegisterServiceDescriptor(_WORKFLOWAPI) + +DESCRIPTOR.services_by_name['WorkflowAPI'] = _WORKFLOWAPI + +# @@protoc_insertion_point(module_scope) diff --git a/cadence/shared/api/v1/service_workflow_pb2.pyi b/cadence/shared/api/v1/service_workflow_pb2.pyi new file mode 100644 index 0000000..7922483 --- /dev/null +++ b/cadence/shared/api/v1/service_workflow_pb2.pyi @@ -0,0 +1,395 @@ +from google.protobuf import duration_pb2 as _duration_pb2 +from google.protobuf import timestamp_pb2 as _timestamp_pb2 +from uber.cadence.api.v1 import common_pb2 as _common_pb2 +from uber.cadence.api.v1 import history_pb2 as _history_pb2 +from uber.cadence.api.v1 import query_pb2 as _query_pb2 +from uber.cadence.api.v1 import tasklist_pb2 as _tasklist_pb2 +from uber.cadence.api.v1 import workflow_pb2 as _workflow_pb2 +from google.protobuf.internal import containers as _containers +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union + +DESCRIPTOR: _descriptor.FileDescriptor + +class RestartWorkflowExecutionRequest(_message.Message): + __slots__ = ("domain", "workflow_execution", "identity", "reason") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + IDENTITY_FIELD_NUMBER: _ClassVar[int] + REASON_FIELD_NUMBER: _ClassVar[int] + domain: str + workflow_execution: _common_pb2.WorkflowExecution + identity: str + reason: str + def __init__(self, domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., identity: _Optional[str] = ..., reason: _Optional[str] = ...) -> None: ... + +class DiagnoseWorkflowExecutionRequest(_message.Message): + __slots__ = ("domain", "workflow_execution", "identity") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + IDENTITY_FIELD_NUMBER: _ClassVar[int] + domain: str + workflow_execution: _common_pb2.WorkflowExecution + identity: str + def __init__(self, domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., identity: _Optional[str] = ...) -> None: ... + +class DiagnoseWorkflowExecutionResponse(_message.Message): + __slots__ = ("domain", "diagnostic_workflow_execution") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + DIAGNOSTIC_WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + domain: str + diagnostic_workflow_execution: _common_pb2.WorkflowExecution + def __init__(self, domain: _Optional[str] = ..., diagnostic_workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ...) -> None: ... + +class StartWorkflowExecutionRequest(_message.Message): + __slots__ = ("domain", "workflow_id", "workflow_type", "task_list", "input", "execution_start_to_close_timeout", "task_start_to_close_timeout", "identity", "request_id", "workflow_id_reuse_policy", "retry_policy", "cron_schedule", "memo", "search_attributes", "header", "delay_start", "jitter_start", "first_run_at", "cron_overlap_policy", "active_cluster_selection_policy") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_ID_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_TYPE_FIELD_NUMBER: _ClassVar[int] + TASK_LIST_FIELD_NUMBER: _ClassVar[int] + INPUT_FIELD_NUMBER: _ClassVar[int] + EXECUTION_START_TO_CLOSE_TIMEOUT_FIELD_NUMBER: _ClassVar[int] + TASK_START_TO_CLOSE_TIMEOUT_FIELD_NUMBER: _ClassVar[int] + IDENTITY_FIELD_NUMBER: _ClassVar[int] + REQUEST_ID_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_ID_REUSE_POLICY_FIELD_NUMBER: _ClassVar[int] + RETRY_POLICY_FIELD_NUMBER: _ClassVar[int] + CRON_SCHEDULE_FIELD_NUMBER: _ClassVar[int] + MEMO_FIELD_NUMBER: _ClassVar[int] + SEARCH_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + HEADER_FIELD_NUMBER: _ClassVar[int] + DELAY_START_FIELD_NUMBER: _ClassVar[int] + JITTER_START_FIELD_NUMBER: _ClassVar[int] + FIRST_RUN_AT_FIELD_NUMBER: _ClassVar[int] + CRON_OVERLAP_POLICY_FIELD_NUMBER: _ClassVar[int] + ACTIVE_CLUSTER_SELECTION_POLICY_FIELD_NUMBER: _ClassVar[int] + domain: str + workflow_id: str + workflow_type: _common_pb2.WorkflowType + task_list: _tasklist_pb2.TaskList + input: _common_pb2.Payload + execution_start_to_close_timeout: _duration_pb2.Duration + task_start_to_close_timeout: _duration_pb2.Duration + identity: str + request_id: str + workflow_id_reuse_policy: _workflow_pb2.WorkflowIdReusePolicy + retry_policy: _common_pb2.RetryPolicy + cron_schedule: str + memo: _common_pb2.Memo + search_attributes: _common_pb2.SearchAttributes + header: _common_pb2.Header + delay_start: _duration_pb2.Duration + jitter_start: _duration_pb2.Duration + first_run_at: _timestamp_pb2.Timestamp + cron_overlap_policy: _workflow_pb2.CronOverlapPolicy + active_cluster_selection_policy: _common_pb2.ActiveClusterSelectionPolicy + def __init__(self, domain: _Optional[str] = ..., workflow_id: _Optional[str] = ..., workflow_type: _Optional[_Union[_common_pb2.WorkflowType, _Mapping]] = ..., task_list: _Optional[_Union[_tasklist_pb2.TaskList, _Mapping]] = ..., input: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., execution_start_to_close_timeout: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., task_start_to_close_timeout: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., identity: _Optional[str] = ..., request_id: _Optional[str] = ..., workflow_id_reuse_policy: _Optional[_Union[_workflow_pb2.WorkflowIdReusePolicy, str]] = ..., retry_policy: _Optional[_Union[_common_pb2.RetryPolicy, _Mapping]] = ..., cron_schedule: _Optional[str] = ..., memo: _Optional[_Union[_common_pb2.Memo, _Mapping]] = ..., search_attributes: _Optional[_Union[_common_pb2.SearchAttributes, _Mapping]] = ..., header: _Optional[_Union[_common_pb2.Header, _Mapping]] = ..., delay_start: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., jitter_start: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., first_run_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., cron_overlap_policy: _Optional[_Union[_workflow_pb2.CronOverlapPolicy, str]] = ..., active_cluster_selection_policy: _Optional[_Union[_common_pb2.ActiveClusterSelectionPolicy, _Mapping]] = ...) -> None: ... + +class StartWorkflowExecutionResponse(_message.Message): + __slots__ = ("run_id",) + RUN_ID_FIELD_NUMBER: _ClassVar[int] + run_id: str + def __init__(self, run_id: _Optional[str] = ...) -> None: ... + +class StartWorkflowExecutionAsyncRequest(_message.Message): + __slots__ = ("request",) + REQUEST_FIELD_NUMBER: _ClassVar[int] + request: StartWorkflowExecutionRequest + def __init__(self, request: _Optional[_Union[StartWorkflowExecutionRequest, _Mapping]] = ...) -> None: ... + +class StartWorkflowExecutionAsyncResponse(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + +class RestartWorkflowExecutionResponse(_message.Message): + __slots__ = ("run_id",) + RUN_ID_FIELD_NUMBER: _ClassVar[int] + run_id: str + def __init__(self, run_id: _Optional[str] = ...) -> None: ... + +class SignalWorkflowExecutionRequest(_message.Message): + __slots__ = ("domain", "workflow_execution", "identity", "request_id", "signal_name", "signal_input", "control") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + IDENTITY_FIELD_NUMBER: _ClassVar[int] + REQUEST_ID_FIELD_NUMBER: _ClassVar[int] + SIGNAL_NAME_FIELD_NUMBER: _ClassVar[int] + SIGNAL_INPUT_FIELD_NUMBER: _ClassVar[int] + CONTROL_FIELD_NUMBER: _ClassVar[int] + domain: str + workflow_execution: _common_pb2.WorkflowExecution + identity: str + request_id: str + signal_name: str + signal_input: _common_pb2.Payload + control: bytes + def __init__(self, domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., identity: _Optional[str] = ..., request_id: _Optional[str] = ..., signal_name: _Optional[str] = ..., signal_input: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., control: _Optional[bytes] = ...) -> None: ... + +class SignalWorkflowExecutionResponse(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + +class SignalWithStartWorkflowExecutionRequest(_message.Message): + __slots__ = ("start_request", "signal_name", "signal_input", "control") + START_REQUEST_FIELD_NUMBER: _ClassVar[int] + SIGNAL_NAME_FIELD_NUMBER: _ClassVar[int] + SIGNAL_INPUT_FIELD_NUMBER: _ClassVar[int] + CONTROL_FIELD_NUMBER: _ClassVar[int] + start_request: StartWorkflowExecutionRequest + signal_name: str + signal_input: _common_pb2.Payload + control: bytes + def __init__(self, start_request: _Optional[_Union[StartWorkflowExecutionRequest, _Mapping]] = ..., signal_name: _Optional[str] = ..., signal_input: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., control: _Optional[bytes] = ...) -> None: ... + +class SignalWithStartWorkflowExecutionResponse(_message.Message): + __slots__ = ("run_id",) + RUN_ID_FIELD_NUMBER: _ClassVar[int] + run_id: str + def __init__(self, run_id: _Optional[str] = ...) -> None: ... + +class SignalWithStartWorkflowExecutionAsyncRequest(_message.Message): + __slots__ = ("request",) + REQUEST_FIELD_NUMBER: _ClassVar[int] + request: SignalWithStartWorkflowExecutionRequest + def __init__(self, request: _Optional[_Union[SignalWithStartWorkflowExecutionRequest, _Mapping]] = ...) -> None: ... + +class SignalWithStartWorkflowExecutionAsyncResponse(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + +class ResetWorkflowExecutionRequest(_message.Message): + __slots__ = ("domain", "workflow_execution", "reason", "decision_finish_event_id", "request_id", "skip_signal_reapply") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + REASON_FIELD_NUMBER: _ClassVar[int] + DECISION_FINISH_EVENT_ID_FIELD_NUMBER: _ClassVar[int] + REQUEST_ID_FIELD_NUMBER: _ClassVar[int] + SKIP_SIGNAL_REAPPLY_FIELD_NUMBER: _ClassVar[int] + domain: str + workflow_execution: _common_pb2.WorkflowExecution + reason: str + decision_finish_event_id: int + request_id: str + skip_signal_reapply: bool + def __init__(self, domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., reason: _Optional[str] = ..., decision_finish_event_id: _Optional[int] = ..., request_id: _Optional[str] = ..., skip_signal_reapply: bool = ...) -> None: ... + +class ResetWorkflowExecutionResponse(_message.Message): + __slots__ = ("run_id",) + RUN_ID_FIELD_NUMBER: _ClassVar[int] + run_id: str + def __init__(self, run_id: _Optional[str] = ...) -> None: ... + +class RequestCancelWorkflowExecutionRequest(_message.Message): + __slots__ = ("domain", "workflow_execution", "identity", "request_id", "cause", "first_execution_run_id") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + IDENTITY_FIELD_NUMBER: _ClassVar[int] + REQUEST_ID_FIELD_NUMBER: _ClassVar[int] + CAUSE_FIELD_NUMBER: _ClassVar[int] + FIRST_EXECUTION_RUN_ID_FIELD_NUMBER: _ClassVar[int] + domain: str + workflow_execution: _common_pb2.WorkflowExecution + identity: str + request_id: str + cause: str + first_execution_run_id: str + def __init__(self, domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., identity: _Optional[str] = ..., request_id: _Optional[str] = ..., cause: _Optional[str] = ..., first_execution_run_id: _Optional[str] = ...) -> None: ... + +class RequestCancelWorkflowExecutionResponse(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + +class TerminateWorkflowExecutionRequest(_message.Message): + __slots__ = ("domain", "workflow_execution", "reason", "details", "identity", "first_execution_run_id") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + REASON_FIELD_NUMBER: _ClassVar[int] + DETAILS_FIELD_NUMBER: _ClassVar[int] + IDENTITY_FIELD_NUMBER: _ClassVar[int] + FIRST_EXECUTION_RUN_ID_FIELD_NUMBER: _ClassVar[int] + domain: str + workflow_execution: _common_pb2.WorkflowExecution + reason: str + details: _common_pb2.Payload + identity: str + first_execution_run_id: str + def __init__(self, domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., reason: _Optional[str] = ..., details: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., identity: _Optional[str] = ..., first_execution_run_id: _Optional[str] = ...) -> None: ... + +class TerminateWorkflowExecutionResponse(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + +class DescribeWorkflowExecutionRequest(_message.Message): + __slots__ = ("domain", "workflow_execution", "query_consistency_level") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + QUERY_CONSISTENCY_LEVEL_FIELD_NUMBER: _ClassVar[int] + domain: str + workflow_execution: _common_pb2.WorkflowExecution + query_consistency_level: _query_pb2.QueryConsistencyLevel + def __init__(self, domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., query_consistency_level: _Optional[_Union[_query_pb2.QueryConsistencyLevel, str]] = ...) -> None: ... + +class DescribeWorkflowExecutionResponse(_message.Message): + __slots__ = ("execution_configuration", "workflow_execution_info", "pending_activities", "pending_children", "pending_decision") + EXECUTION_CONFIGURATION_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_INFO_FIELD_NUMBER: _ClassVar[int] + PENDING_ACTIVITIES_FIELD_NUMBER: _ClassVar[int] + PENDING_CHILDREN_FIELD_NUMBER: _ClassVar[int] + PENDING_DECISION_FIELD_NUMBER: _ClassVar[int] + execution_configuration: _workflow_pb2.WorkflowExecutionConfiguration + workflow_execution_info: _workflow_pb2.WorkflowExecutionInfo + pending_activities: _containers.RepeatedCompositeFieldContainer[_workflow_pb2.PendingActivityInfo] + pending_children: _containers.RepeatedCompositeFieldContainer[_workflow_pb2.PendingChildExecutionInfo] + pending_decision: _workflow_pb2.PendingDecisionInfo + def __init__(self, execution_configuration: _Optional[_Union[_workflow_pb2.WorkflowExecutionConfiguration, _Mapping]] = ..., workflow_execution_info: _Optional[_Union[_workflow_pb2.WorkflowExecutionInfo, _Mapping]] = ..., pending_activities: _Optional[_Iterable[_Union[_workflow_pb2.PendingActivityInfo, _Mapping]]] = ..., pending_children: _Optional[_Iterable[_Union[_workflow_pb2.PendingChildExecutionInfo, _Mapping]]] = ..., pending_decision: _Optional[_Union[_workflow_pb2.PendingDecisionInfo, _Mapping]] = ...) -> None: ... + +class QueryWorkflowRequest(_message.Message): + __slots__ = ("domain", "workflow_execution", "query", "query_reject_condition", "query_consistency_level") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + QUERY_FIELD_NUMBER: _ClassVar[int] + QUERY_REJECT_CONDITION_FIELD_NUMBER: _ClassVar[int] + QUERY_CONSISTENCY_LEVEL_FIELD_NUMBER: _ClassVar[int] + domain: str + workflow_execution: _common_pb2.WorkflowExecution + query: _query_pb2.WorkflowQuery + query_reject_condition: _query_pb2.QueryRejectCondition + query_consistency_level: _query_pb2.QueryConsistencyLevel + def __init__(self, domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., query: _Optional[_Union[_query_pb2.WorkflowQuery, _Mapping]] = ..., query_reject_condition: _Optional[_Union[_query_pb2.QueryRejectCondition, str]] = ..., query_consistency_level: _Optional[_Union[_query_pb2.QueryConsistencyLevel, str]] = ...) -> None: ... + +class QueryWorkflowResponse(_message.Message): + __slots__ = ("query_result", "query_rejected") + QUERY_RESULT_FIELD_NUMBER: _ClassVar[int] + QUERY_REJECTED_FIELD_NUMBER: _ClassVar[int] + query_result: _common_pb2.Payload + query_rejected: _query_pb2.QueryRejected + def __init__(self, query_result: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., query_rejected: _Optional[_Union[_query_pb2.QueryRejected, _Mapping]] = ...) -> None: ... + +class DescribeTaskListRequest(_message.Message): + __slots__ = ("domain", "task_list", "task_list_type", "include_task_list_status") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + TASK_LIST_FIELD_NUMBER: _ClassVar[int] + TASK_LIST_TYPE_FIELD_NUMBER: _ClassVar[int] + INCLUDE_TASK_LIST_STATUS_FIELD_NUMBER: _ClassVar[int] + domain: str + task_list: _tasklist_pb2.TaskList + task_list_type: _tasklist_pb2.TaskListType + include_task_list_status: bool + def __init__(self, domain: _Optional[str] = ..., task_list: _Optional[_Union[_tasklist_pb2.TaskList, _Mapping]] = ..., task_list_type: _Optional[_Union[_tasklist_pb2.TaskListType, str]] = ..., include_task_list_status: bool = ...) -> None: ... + +class DescribeTaskListResponse(_message.Message): + __slots__ = ("pollers", "task_list_status", "partition_config", "task_list") + POLLERS_FIELD_NUMBER: _ClassVar[int] + TASK_LIST_STATUS_FIELD_NUMBER: _ClassVar[int] + PARTITION_CONFIG_FIELD_NUMBER: _ClassVar[int] + TASK_LIST_FIELD_NUMBER: _ClassVar[int] + pollers: _containers.RepeatedCompositeFieldContainer[_tasklist_pb2.PollerInfo] + task_list_status: _tasklist_pb2.TaskListStatus + partition_config: _tasklist_pb2.TaskListPartitionConfig + task_list: _tasklist_pb2.TaskList + def __init__(self, pollers: _Optional[_Iterable[_Union[_tasklist_pb2.PollerInfo, _Mapping]]] = ..., task_list_status: _Optional[_Union[_tasklist_pb2.TaskListStatus, _Mapping]] = ..., partition_config: _Optional[_Union[_tasklist_pb2.TaskListPartitionConfig, _Mapping]] = ..., task_list: _Optional[_Union[_tasklist_pb2.TaskList, _Mapping]] = ...) -> None: ... + +class GetTaskListsByDomainRequest(_message.Message): + __slots__ = ("domain",) + DOMAIN_FIELD_NUMBER: _ClassVar[int] + domain: str + def __init__(self, domain: _Optional[str] = ...) -> None: ... + +class GetTaskListsByDomainResponse(_message.Message): + __slots__ = ("decision_task_list_map", "activity_task_list_map") + class DecisionTaskListMapEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: DescribeTaskListResponse + def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[DescribeTaskListResponse, _Mapping]] = ...) -> None: ... + class ActivityTaskListMapEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: DescribeTaskListResponse + def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[DescribeTaskListResponse, _Mapping]] = ...) -> None: ... + DECISION_TASK_LIST_MAP_FIELD_NUMBER: _ClassVar[int] + ACTIVITY_TASK_LIST_MAP_FIELD_NUMBER: _ClassVar[int] + decision_task_list_map: _containers.MessageMap[str, DescribeTaskListResponse] + activity_task_list_map: _containers.MessageMap[str, DescribeTaskListResponse] + def __init__(self, decision_task_list_map: _Optional[_Mapping[str, DescribeTaskListResponse]] = ..., activity_task_list_map: _Optional[_Mapping[str, DescribeTaskListResponse]] = ...) -> None: ... + +class ListTaskListPartitionsRequest(_message.Message): + __slots__ = ("domain", "task_list") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + TASK_LIST_FIELD_NUMBER: _ClassVar[int] + domain: str + task_list: _tasklist_pb2.TaskList + def __init__(self, domain: _Optional[str] = ..., task_list: _Optional[_Union[_tasklist_pb2.TaskList, _Mapping]] = ...) -> None: ... + +class ListTaskListPartitionsResponse(_message.Message): + __slots__ = ("activity_task_list_partitions", "decision_task_list_partitions") + ACTIVITY_TASK_LIST_PARTITIONS_FIELD_NUMBER: _ClassVar[int] + DECISION_TASK_LIST_PARTITIONS_FIELD_NUMBER: _ClassVar[int] + activity_task_list_partitions: _containers.RepeatedCompositeFieldContainer[_tasklist_pb2.TaskListPartitionMetadata] + decision_task_list_partitions: _containers.RepeatedCompositeFieldContainer[_tasklist_pb2.TaskListPartitionMetadata] + def __init__(self, activity_task_list_partitions: _Optional[_Iterable[_Union[_tasklist_pb2.TaskListPartitionMetadata, _Mapping]]] = ..., decision_task_list_partitions: _Optional[_Iterable[_Union[_tasklist_pb2.TaskListPartitionMetadata, _Mapping]]] = ...) -> None: ... + +class GetClusterInfoRequest(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + +class GetClusterInfoResponse(_message.Message): + __slots__ = ("supported_client_versions",) + SUPPORTED_CLIENT_VERSIONS_FIELD_NUMBER: _ClassVar[int] + supported_client_versions: _common_pb2.SupportedClientVersions + def __init__(self, supported_client_versions: _Optional[_Union[_common_pb2.SupportedClientVersions, _Mapping]] = ...) -> None: ... + +class GetWorkflowExecutionHistoryRequest(_message.Message): + __slots__ = ("domain", "workflow_execution", "page_size", "next_page_token", "wait_for_new_event", "history_event_filter_type", "skip_archival", "query_consistency_level") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + PAGE_SIZE_FIELD_NUMBER: _ClassVar[int] + NEXT_PAGE_TOKEN_FIELD_NUMBER: _ClassVar[int] + WAIT_FOR_NEW_EVENT_FIELD_NUMBER: _ClassVar[int] + HISTORY_EVENT_FILTER_TYPE_FIELD_NUMBER: _ClassVar[int] + SKIP_ARCHIVAL_FIELD_NUMBER: _ClassVar[int] + QUERY_CONSISTENCY_LEVEL_FIELD_NUMBER: _ClassVar[int] + domain: str + workflow_execution: _common_pb2.WorkflowExecution + page_size: int + next_page_token: bytes + wait_for_new_event: bool + history_event_filter_type: _history_pb2.EventFilterType + skip_archival: bool + query_consistency_level: _query_pb2.QueryConsistencyLevel + def __init__(self, domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., page_size: _Optional[int] = ..., next_page_token: _Optional[bytes] = ..., wait_for_new_event: bool = ..., history_event_filter_type: _Optional[_Union[_history_pb2.EventFilterType, str]] = ..., skip_archival: bool = ..., query_consistency_level: _Optional[_Union[_query_pb2.QueryConsistencyLevel, str]] = ...) -> None: ... + +class GetWorkflowExecutionHistoryResponse(_message.Message): + __slots__ = ("history", "raw_history", "next_page_token", "archived") + HISTORY_FIELD_NUMBER: _ClassVar[int] + RAW_HISTORY_FIELD_NUMBER: _ClassVar[int] + NEXT_PAGE_TOKEN_FIELD_NUMBER: _ClassVar[int] + ARCHIVED_FIELD_NUMBER: _ClassVar[int] + history: _history_pb2.History + raw_history: _containers.RepeatedCompositeFieldContainer[_common_pb2.DataBlob] + next_page_token: bytes + archived: bool + def __init__(self, history: _Optional[_Union[_history_pb2.History, _Mapping]] = ..., raw_history: _Optional[_Iterable[_Union[_common_pb2.DataBlob, _Mapping]]] = ..., next_page_token: _Optional[bytes] = ..., archived: bool = ...) -> None: ... + +class FeatureFlags(_message.Message): + __slots__ = ("workflow_execution_already_completed_error_enabled",) + WORKFLOW_EXECUTION_ALREADY_COMPLETED_ERROR_ENABLED_FIELD_NUMBER: _ClassVar[int] + workflow_execution_already_completed_error_enabled: bool + def __init__(self, workflow_execution_already_completed_error_enabled: bool = ...) -> None: ... + +class RefreshWorkflowTasksRequest(_message.Message): + __slots__ = ("domain", "workflow_execution") + DOMAIN_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + domain: str + workflow_execution: _common_pb2.WorkflowExecution + def __init__(self, domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ...) -> None: ... + +class RefreshWorkflowTasksResponse(_message.Message): + __slots__ = () + def __init__(self) -> None: ... diff --git a/cadence/shared/api/v1/tasklist_pb2.py b/cadence/shared/api/v1/tasklist_pb2.py new file mode 100644 index 0000000..4a09f93 --- /dev/null +++ b/cadence/shared/api/v1/tasklist_pb2.py @@ -0,0 +1,796 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: uber/cadence/api/v1/tasklist.proto +"""Generated protocol buffer code.""" +from google.protobuf.internal import enum_type_wrapper +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='uber/cadence/api/v1/tasklist.proto', + package='uber.cadence.api.v1', + syntax='proto3', + serialized_options=b'\n\027com.uber.cadence.api.v1B\rTaskListProtoP\001Z1github.com/uber/cadence-idl/go/proto/api/v1;apiv1', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n\"uber/cadence/api/v1/tasklist.proto\x12\x13uber.cadence.api.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\"I\n\x08TaskList\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x04kind\x18\x02 \x01(\x0e\x32!.uber.cadence.api.v1.TaskListKind\"N\n\x10TaskListMetadata\x12:\n\x14max_tasks_per_second\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\"A\n\x19TaskListPartitionMetadata\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x17\n\x0fowner_host_name\x18\x02 \x01(\t\"K\n\x15IsolationGroupMetrics\x12\x1c\n\x14new_tasks_per_second\x18\x01 \x01(\x01\x12\x14\n\x0cpoller_count\x18\x02 \x01(\x03\"\x9d\x03\n\x0eTaskListStatus\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\x37\n\rtask_id_block\x18\x05 \x01(\x0b\x32 .uber.cadence.api.v1.TaskIDBlock\x12_\n\x17isolation_group_metrics\x18\x06 \x03(\x0b\x32>.uber.cadence.api.v1.TaskListStatus.IsolationGroupMetricsEntry\x12\x1c\n\x14new_tasks_per_second\x18\x07 \x01(\x01\x12\r\n\x05\x65mpty\x18\x08 \x01(\x08\x1ah\n\x1aIsolationGroupMetricsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x39\n\x05value\x18\x02 \x01(\x0b\x32*.uber.cadence.api.v1.IsolationGroupMetrics:\x02\x38\x01\"/\n\x0bTaskIDBlock\x12\x10\n\x08start_id\x18\x01 \x01(\x03\x12\x0e\n\x06\x65nd_id\x18\x02 \x01(\x03\"m\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\"\x92\x01\n\x19StickyExecutionAttributes\x12\x37\n\x10worker_task_list\x18\x01 \x01(\x0b\x32\x1d.uber.cadence.api.v1.TaskList\x12<\n\x19schedule_to_start_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\"-\n\x11TaskListPartition\x12\x18\n\x10isolation_groups\x18\x01 \x03(\t\"\xe4\x03\n\x17TaskListPartitionConfig\x12\x0f\n\x07version\x18\x01 \x01(\x03\x12\x1f\n\x13num_read_partitions\x18\x02 \x01(\x05\x42\x02\x18\x01\x12 \n\x14num_write_partitions\x18\x03 \x01(\x05\x42\x02\x18\x01\x12Y\n\x0fread_partitions\x18\x04 \x03(\x0b\x32@.uber.cadence.api.v1.TaskListPartitionConfig.ReadPartitionsEntry\x12[\n\x10write_partitions\x18\x05 \x03(\x0b\x32\x41.uber.cadence.api.v1.TaskListPartitionConfig.WritePartitionsEntry\x1a]\n\x13ReadPartitionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\x35\n\x05value\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.TaskListPartition:\x02\x38\x01\x1a^\n\x14WritePartitionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\x35\n\x05value\x18\x02 \x01(\x0b\x32&.uber.cadence.api.v1.TaskListPartition:\x02\x38\x01*~\n\x0cTaskListKind\x12\x1a\n\x16TASK_LIST_KIND_INVALID\x10\x00\x12\x19\n\x15TASK_LIST_KIND_NORMAL\x10\x01\x12\x19\n\x15TASK_LIST_KIND_STICKY\x10\x02\x12\x1c\n\x18TASK_LIST_KIND_EPHEMERAL\x10\x03*d\n\x0cTaskListType\x12\x1a\n\x16TASK_LIST_TYPE_INVALID\x10\x00\x12\x1b\n\x17TASK_LIST_TYPE_DECISION\x10\x01\x12\x1b\n\x17TASK_LIST_TYPE_ACTIVITY\x10\x02\x42]\n\x17\x63om.uber.cadence.api.v1B\rTaskListProtoP\x01Z1github.com/uber/cadence-idl/go/proto/api/v1;apiv1b\x06proto3' + , + dependencies=[google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,]) + +_TASKLISTKIND = _descriptor.EnumDescriptor( + name='TaskListKind', + full_name='uber.cadence.api.v1.TaskListKind', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='TASK_LIST_KIND_INVALID', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TASK_LIST_KIND_NORMAL', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TASK_LIST_KIND_STICKY', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TASK_LIST_KIND_EPHEMERAL', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=1714, + serialized_end=1840, +) +_sym_db.RegisterEnumDescriptor(_TASKLISTKIND) + +TaskListKind = enum_type_wrapper.EnumTypeWrapper(_TASKLISTKIND) +_TASKLISTTYPE = _descriptor.EnumDescriptor( + name='TaskListType', + full_name='uber.cadence.api.v1.TaskListType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='TASK_LIST_TYPE_INVALID', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TASK_LIST_TYPE_DECISION', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TASK_LIST_TYPE_ACTIVITY', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=1842, + serialized_end=1942, +) +_sym_db.RegisterEnumDescriptor(_TASKLISTTYPE) + +TaskListType = enum_type_wrapper.EnumTypeWrapper(_TASKLISTTYPE) +TASK_LIST_KIND_INVALID = 0 +TASK_LIST_KIND_NORMAL = 1 +TASK_LIST_KIND_STICKY = 2 +TASK_LIST_KIND_EPHEMERAL = 3 +TASK_LIST_TYPE_INVALID = 0 +TASK_LIST_TYPE_DECISION = 1 +TASK_LIST_TYPE_ACTIVITY = 2 + + + +_TASKLIST = _descriptor.Descriptor( + name='TaskList', + full_name='uber.cadence.api.v1.TaskList', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='name', full_name='uber.cadence.api.v1.TaskList.name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='kind', full_name='uber.cadence.api.v1.TaskList.kind', index=1, + number=2, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=156, + serialized_end=229, +) + + +_TASKLISTMETADATA = _descriptor.Descriptor( + name='TaskListMetadata', + full_name='uber.cadence.api.v1.TaskListMetadata', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='max_tasks_per_second', full_name='uber.cadence.api.v1.TaskListMetadata.max_tasks_per_second', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=231, + serialized_end=309, +) + + +_TASKLISTPARTITIONMETADATA = _descriptor.Descriptor( + name='TaskListPartitionMetadata', + full_name='uber.cadence.api.v1.TaskListPartitionMetadata', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='uber.cadence.api.v1.TaskListPartitionMetadata.key', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='owner_host_name', full_name='uber.cadence.api.v1.TaskListPartitionMetadata.owner_host_name', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=311, + serialized_end=376, +) + + +_ISOLATIONGROUPMETRICS = _descriptor.Descriptor( + name='IsolationGroupMetrics', + full_name='uber.cadence.api.v1.IsolationGroupMetrics', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='new_tasks_per_second', full_name='uber.cadence.api.v1.IsolationGroupMetrics.new_tasks_per_second', index=0, + number=1, type=1, cpp_type=5, label=1, + has_default_value=False, default_value=float(0), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='poller_count', full_name='uber.cadence.api.v1.IsolationGroupMetrics.poller_count', index=1, + number=2, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=378, + serialized_end=453, +) + + +_TASKLISTSTATUS_ISOLATIONGROUPMETRICSENTRY = _descriptor.Descriptor( + name='IsolationGroupMetricsEntry', + full_name='uber.cadence.api.v1.TaskListStatus.IsolationGroupMetricsEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='uber.cadence.api.v1.TaskListStatus.IsolationGroupMetricsEntry.key', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='value', full_name='uber.cadence.api.v1.TaskListStatus.IsolationGroupMetricsEntry.value', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'8\001', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=765, + serialized_end=869, +) + +_TASKLISTSTATUS = _descriptor.Descriptor( + name='TaskListStatus', + full_name='uber.cadence.api.v1.TaskListStatus', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='backlog_count_hint', full_name='uber.cadence.api.v1.TaskListStatus.backlog_count_hint', index=0, + number=1, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='read_level', full_name='uber.cadence.api.v1.TaskListStatus.read_level', index=1, + number=2, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='ack_level', full_name='uber.cadence.api.v1.TaskListStatus.ack_level', index=2, + number=3, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='rate_per_second', full_name='uber.cadence.api.v1.TaskListStatus.rate_per_second', index=3, + number=4, type=1, cpp_type=5, label=1, + has_default_value=False, default_value=float(0), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='task_id_block', full_name='uber.cadence.api.v1.TaskListStatus.task_id_block', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='isolation_group_metrics', full_name='uber.cadence.api.v1.TaskListStatus.isolation_group_metrics', index=5, + number=6, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='new_tasks_per_second', full_name='uber.cadence.api.v1.TaskListStatus.new_tasks_per_second', index=6, + number=7, type=1, cpp_type=5, label=1, + has_default_value=False, default_value=float(0), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='empty', full_name='uber.cadence.api.v1.TaskListStatus.empty', index=7, + number=8, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[_TASKLISTSTATUS_ISOLATIONGROUPMETRICSENTRY, ], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=456, + serialized_end=869, +) + + +_TASKIDBLOCK = _descriptor.Descriptor( + name='TaskIDBlock', + full_name='uber.cadence.api.v1.TaskIDBlock', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='start_id', full_name='uber.cadence.api.v1.TaskIDBlock.start_id', index=0, + number=1, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='end_id', full_name='uber.cadence.api.v1.TaskIDBlock.end_id', index=1, + number=2, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=871, + serialized_end=918, +) + + +_POLLERINFO = _descriptor.Descriptor( + name='PollerInfo', + full_name='uber.cadence.api.v1.PollerInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='last_access_time', full_name='uber.cadence.api.v1.PollerInfo.last_access_time', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='identity', full_name='uber.cadence.api.v1.PollerInfo.identity', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='rate_per_second', full_name='uber.cadence.api.v1.PollerInfo.rate_per_second', index=2, + number=3, type=1, cpp_type=5, label=1, + has_default_value=False, default_value=float(0), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=920, + serialized_end=1029, +) + + +_STICKYEXECUTIONATTRIBUTES = _descriptor.Descriptor( + name='StickyExecutionAttributes', + full_name='uber.cadence.api.v1.StickyExecutionAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='worker_task_list', full_name='uber.cadence.api.v1.StickyExecutionAttributes.worker_task_list', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='schedule_to_start_timeout', full_name='uber.cadence.api.v1.StickyExecutionAttributes.schedule_to_start_timeout', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1032, + serialized_end=1178, +) + + +_TASKLISTPARTITION = _descriptor.Descriptor( + name='TaskListPartition', + full_name='uber.cadence.api.v1.TaskListPartition', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='isolation_groups', full_name='uber.cadence.api.v1.TaskListPartition.isolation_groups', index=0, + number=1, type=9, cpp_type=9, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1180, + serialized_end=1225, +) + + +_TASKLISTPARTITIONCONFIG_READPARTITIONSENTRY = _descriptor.Descriptor( + name='ReadPartitionsEntry', + full_name='uber.cadence.api.v1.TaskListPartitionConfig.ReadPartitionsEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='uber.cadence.api.v1.TaskListPartitionConfig.ReadPartitionsEntry.key', index=0, + number=1, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='value', full_name='uber.cadence.api.v1.TaskListPartitionConfig.ReadPartitionsEntry.value', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'8\001', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1523, + serialized_end=1616, +) + +_TASKLISTPARTITIONCONFIG_WRITEPARTITIONSENTRY = _descriptor.Descriptor( + name='WritePartitionsEntry', + full_name='uber.cadence.api.v1.TaskListPartitionConfig.WritePartitionsEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='uber.cadence.api.v1.TaskListPartitionConfig.WritePartitionsEntry.key', index=0, + number=1, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='value', full_name='uber.cadence.api.v1.TaskListPartitionConfig.WritePartitionsEntry.value', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'8\001', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1618, + serialized_end=1712, +) + +_TASKLISTPARTITIONCONFIG = _descriptor.Descriptor( + name='TaskListPartitionConfig', + full_name='uber.cadence.api.v1.TaskListPartitionConfig', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='version', full_name='uber.cadence.api.v1.TaskListPartitionConfig.version', index=0, + number=1, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='num_read_partitions', full_name='uber.cadence.api.v1.TaskListPartitionConfig.num_read_partitions', index=1, + number=2, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=b'\030\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='num_write_partitions', full_name='uber.cadence.api.v1.TaskListPartitionConfig.num_write_partitions', index=2, + number=3, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=b'\030\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='read_partitions', full_name='uber.cadence.api.v1.TaskListPartitionConfig.read_partitions', index=3, + number=4, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='write_partitions', full_name='uber.cadence.api.v1.TaskListPartitionConfig.write_partitions', index=4, + number=5, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[_TASKLISTPARTITIONCONFIG_READPARTITIONSENTRY, _TASKLISTPARTITIONCONFIG_WRITEPARTITIONSENTRY, ], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1228, + serialized_end=1712, +) + +_TASKLIST.fields_by_name['kind'].enum_type = _TASKLISTKIND +_TASKLISTMETADATA.fields_by_name['max_tasks_per_second'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE +_TASKLISTSTATUS_ISOLATIONGROUPMETRICSENTRY.fields_by_name['value'].message_type = _ISOLATIONGROUPMETRICS +_TASKLISTSTATUS_ISOLATIONGROUPMETRICSENTRY.containing_type = _TASKLISTSTATUS +_TASKLISTSTATUS.fields_by_name['task_id_block'].message_type = _TASKIDBLOCK +_TASKLISTSTATUS.fields_by_name['isolation_group_metrics'].message_type = _TASKLISTSTATUS_ISOLATIONGROUPMETRICSENTRY +_POLLERINFO.fields_by_name['last_access_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_STICKYEXECUTIONATTRIBUTES.fields_by_name['worker_task_list'].message_type = _TASKLIST +_STICKYEXECUTIONATTRIBUTES.fields_by_name['schedule_to_start_timeout'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_TASKLISTPARTITIONCONFIG_READPARTITIONSENTRY.fields_by_name['value'].message_type = _TASKLISTPARTITION +_TASKLISTPARTITIONCONFIG_READPARTITIONSENTRY.containing_type = _TASKLISTPARTITIONCONFIG +_TASKLISTPARTITIONCONFIG_WRITEPARTITIONSENTRY.fields_by_name['value'].message_type = _TASKLISTPARTITION +_TASKLISTPARTITIONCONFIG_WRITEPARTITIONSENTRY.containing_type = _TASKLISTPARTITIONCONFIG +_TASKLISTPARTITIONCONFIG.fields_by_name['read_partitions'].message_type = _TASKLISTPARTITIONCONFIG_READPARTITIONSENTRY +_TASKLISTPARTITIONCONFIG.fields_by_name['write_partitions'].message_type = _TASKLISTPARTITIONCONFIG_WRITEPARTITIONSENTRY +DESCRIPTOR.message_types_by_name['TaskList'] = _TASKLIST +DESCRIPTOR.message_types_by_name['TaskListMetadata'] = _TASKLISTMETADATA +DESCRIPTOR.message_types_by_name['TaskListPartitionMetadata'] = _TASKLISTPARTITIONMETADATA +DESCRIPTOR.message_types_by_name['IsolationGroupMetrics'] = _ISOLATIONGROUPMETRICS +DESCRIPTOR.message_types_by_name['TaskListStatus'] = _TASKLISTSTATUS +DESCRIPTOR.message_types_by_name['TaskIDBlock'] = _TASKIDBLOCK +DESCRIPTOR.message_types_by_name['PollerInfo'] = _POLLERINFO +DESCRIPTOR.message_types_by_name['StickyExecutionAttributes'] = _STICKYEXECUTIONATTRIBUTES +DESCRIPTOR.message_types_by_name['TaskListPartition'] = _TASKLISTPARTITION +DESCRIPTOR.message_types_by_name['TaskListPartitionConfig'] = _TASKLISTPARTITIONCONFIG +DESCRIPTOR.enum_types_by_name['TaskListKind'] = _TASKLISTKIND +DESCRIPTOR.enum_types_by_name['TaskListType'] = _TASKLISTTYPE +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +TaskList = _reflection.GeneratedProtocolMessageType('TaskList', (_message.Message,), { + 'DESCRIPTOR' : _TASKLIST, + '__module__' : 'uber.cadence.api.v1.tasklist_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.TaskList) + }) +_sym_db.RegisterMessage(TaskList) + +TaskListMetadata = _reflection.GeneratedProtocolMessageType('TaskListMetadata', (_message.Message,), { + 'DESCRIPTOR' : _TASKLISTMETADATA, + '__module__' : 'uber.cadence.api.v1.tasklist_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.TaskListMetadata) + }) +_sym_db.RegisterMessage(TaskListMetadata) + +TaskListPartitionMetadata = _reflection.GeneratedProtocolMessageType('TaskListPartitionMetadata', (_message.Message,), { + 'DESCRIPTOR' : _TASKLISTPARTITIONMETADATA, + '__module__' : 'uber.cadence.api.v1.tasklist_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.TaskListPartitionMetadata) + }) +_sym_db.RegisterMessage(TaskListPartitionMetadata) + +IsolationGroupMetrics = _reflection.GeneratedProtocolMessageType('IsolationGroupMetrics', (_message.Message,), { + 'DESCRIPTOR' : _ISOLATIONGROUPMETRICS, + '__module__' : 'uber.cadence.api.v1.tasklist_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.IsolationGroupMetrics) + }) +_sym_db.RegisterMessage(IsolationGroupMetrics) + +TaskListStatus = _reflection.GeneratedProtocolMessageType('TaskListStatus', (_message.Message,), { + + 'IsolationGroupMetricsEntry' : _reflection.GeneratedProtocolMessageType('IsolationGroupMetricsEntry', (_message.Message,), { + 'DESCRIPTOR' : _TASKLISTSTATUS_ISOLATIONGROUPMETRICSENTRY, + '__module__' : 'uber.cadence.api.v1.tasklist_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.TaskListStatus.IsolationGroupMetricsEntry) + }) + , + 'DESCRIPTOR' : _TASKLISTSTATUS, + '__module__' : 'uber.cadence.api.v1.tasklist_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.TaskListStatus) + }) +_sym_db.RegisterMessage(TaskListStatus) +_sym_db.RegisterMessage(TaskListStatus.IsolationGroupMetricsEntry) + +TaskIDBlock = _reflection.GeneratedProtocolMessageType('TaskIDBlock', (_message.Message,), { + 'DESCRIPTOR' : _TASKIDBLOCK, + '__module__' : 'uber.cadence.api.v1.tasklist_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.TaskIDBlock) + }) +_sym_db.RegisterMessage(TaskIDBlock) + +PollerInfo = _reflection.GeneratedProtocolMessageType('PollerInfo', (_message.Message,), { + 'DESCRIPTOR' : _POLLERINFO, + '__module__' : 'uber.cadence.api.v1.tasklist_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.PollerInfo) + }) +_sym_db.RegisterMessage(PollerInfo) + +StickyExecutionAttributes = _reflection.GeneratedProtocolMessageType('StickyExecutionAttributes', (_message.Message,), { + 'DESCRIPTOR' : _STICKYEXECUTIONATTRIBUTES, + '__module__' : 'uber.cadence.api.v1.tasklist_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.StickyExecutionAttributes) + }) +_sym_db.RegisterMessage(StickyExecutionAttributes) + +TaskListPartition = _reflection.GeneratedProtocolMessageType('TaskListPartition', (_message.Message,), { + 'DESCRIPTOR' : _TASKLISTPARTITION, + '__module__' : 'uber.cadence.api.v1.tasklist_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.TaskListPartition) + }) +_sym_db.RegisterMessage(TaskListPartition) + +TaskListPartitionConfig = _reflection.GeneratedProtocolMessageType('TaskListPartitionConfig', (_message.Message,), { + + 'ReadPartitionsEntry' : _reflection.GeneratedProtocolMessageType('ReadPartitionsEntry', (_message.Message,), { + 'DESCRIPTOR' : _TASKLISTPARTITIONCONFIG_READPARTITIONSENTRY, + '__module__' : 'uber.cadence.api.v1.tasklist_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.TaskListPartitionConfig.ReadPartitionsEntry) + }) + , + + 'WritePartitionsEntry' : _reflection.GeneratedProtocolMessageType('WritePartitionsEntry', (_message.Message,), { + 'DESCRIPTOR' : _TASKLISTPARTITIONCONFIG_WRITEPARTITIONSENTRY, + '__module__' : 'uber.cadence.api.v1.tasklist_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.TaskListPartitionConfig.WritePartitionsEntry) + }) + , + 'DESCRIPTOR' : _TASKLISTPARTITIONCONFIG, + '__module__' : 'uber.cadence.api.v1.tasklist_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.TaskListPartitionConfig) + }) +_sym_db.RegisterMessage(TaskListPartitionConfig) +_sym_db.RegisterMessage(TaskListPartitionConfig.ReadPartitionsEntry) +_sym_db.RegisterMessage(TaskListPartitionConfig.WritePartitionsEntry) + + +DESCRIPTOR._options = None +_TASKLISTSTATUS_ISOLATIONGROUPMETRICSENTRY._options = None +_TASKLISTPARTITIONCONFIG_READPARTITIONSENTRY._options = None +_TASKLISTPARTITIONCONFIG_WRITEPARTITIONSENTRY._options = None +_TASKLISTPARTITIONCONFIG.fields_by_name['num_read_partitions']._options = None +_TASKLISTPARTITIONCONFIG.fields_by_name['num_write_partitions']._options = None +# @@protoc_insertion_point(module_scope) diff --git a/cadence/shared/api/v1/tasklist_pb2.pyi b/cadence/shared/api/v1/tasklist_pb2.pyi new file mode 100644 index 0000000..4a344b5 --- /dev/null +++ b/cadence/shared/api/v1/tasklist_pb2.pyi @@ -0,0 +1,147 @@ +from google.protobuf import duration_pb2 as _duration_pb2 +from google.protobuf import timestamp_pb2 as _timestamp_pb2 +from google.protobuf import wrappers_pb2 as _wrappers_pb2 +from google.protobuf.internal import containers as _containers +from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union + +DESCRIPTOR: _descriptor.FileDescriptor + +class TaskListKind(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = () + TASK_LIST_KIND_INVALID: _ClassVar[TaskListKind] + TASK_LIST_KIND_NORMAL: _ClassVar[TaskListKind] + TASK_LIST_KIND_STICKY: _ClassVar[TaskListKind] + TASK_LIST_KIND_EPHEMERAL: _ClassVar[TaskListKind] + +class TaskListType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = () + TASK_LIST_TYPE_INVALID: _ClassVar[TaskListType] + TASK_LIST_TYPE_DECISION: _ClassVar[TaskListType] + TASK_LIST_TYPE_ACTIVITY: _ClassVar[TaskListType] +TASK_LIST_KIND_INVALID: TaskListKind +TASK_LIST_KIND_NORMAL: TaskListKind +TASK_LIST_KIND_STICKY: TaskListKind +TASK_LIST_KIND_EPHEMERAL: TaskListKind +TASK_LIST_TYPE_INVALID: TaskListType +TASK_LIST_TYPE_DECISION: TaskListType +TASK_LIST_TYPE_ACTIVITY: TaskListType + +class TaskList(_message.Message): + __slots__ = ("name", "kind") + NAME_FIELD_NUMBER: _ClassVar[int] + KIND_FIELD_NUMBER: _ClassVar[int] + name: str + kind: TaskListKind + def __init__(self, name: _Optional[str] = ..., kind: _Optional[_Union[TaskListKind, str]] = ...) -> None: ... + +class TaskListMetadata(_message.Message): + __slots__ = ("max_tasks_per_second",) + MAX_TASKS_PER_SECOND_FIELD_NUMBER: _ClassVar[int] + max_tasks_per_second: _wrappers_pb2.DoubleValue + def __init__(self, max_tasks_per_second: _Optional[_Union[_wrappers_pb2.DoubleValue, _Mapping]] = ...) -> None: ... + +class TaskListPartitionMetadata(_message.Message): + __slots__ = ("key", "owner_host_name") + KEY_FIELD_NUMBER: _ClassVar[int] + OWNER_HOST_NAME_FIELD_NUMBER: _ClassVar[int] + key: str + owner_host_name: str + def __init__(self, key: _Optional[str] = ..., owner_host_name: _Optional[str] = ...) -> None: ... + +class IsolationGroupMetrics(_message.Message): + __slots__ = ("new_tasks_per_second", "poller_count") + NEW_TASKS_PER_SECOND_FIELD_NUMBER: _ClassVar[int] + POLLER_COUNT_FIELD_NUMBER: _ClassVar[int] + new_tasks_per_second: float + poller_count: int + def __init__(self, new_tasks_per_second: _Optional[float] = ..., poller_count: _Optional[int] = ...) -> None: ... + +class TaskListStatus(_message.Message): + __slots__ = ("backlog_count_hint", "read_level", "ack_level", "rate_per_second", "task_id_block", "isolation_group_metrics", "new_tasks_per_second", "empty") + class IsolationGroupMetricsEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: IsolationGroupMetrics + def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[IsolationGroupMetrics, _Mapping]] = ...) -> None: ... + BACKLOG_COUNT_HINT_FIELD_NUMBER: _ClassVar[int] + READ_LEVEL_FIELD_NUMBER: _ClassVar[int] + ACK_LEVEL_FIELD_NUMBER: _ClassVar[int] + RATE_PER_SECOND_FIELD_NUMBER: _ClassVar[int] + TASK_ID_BLOCK_FIELD_NUMBER: _ClassVar[int] + ISOLATION_GROUP_METRICS_FIELD_NUMBER: _ClassVar[int] + NEW_TASKS_PER_SECOND_FIELD_NUMBER: _ClassVar[int] + EMPTY_FIELD_NUMBER: _ClassVar[int] + backlog_count_hint: int + read_level: int + ack_level: int + rate_per_second: float + task_id_block: TaskIDBlock + isolation_group_metrics: _containers.MessageMap[str, IsolationGroupMetrics] + new_tasks_per_second: float + empty: bool + def __init__(self, backlog_count_hint: _Optional[int] = ..., read_level: _Optional[int] = ..., ack_level: _Optional[int] = ..., rate_per_second: _Optional[float] = ..., task_id_block: _Optional[_Union[TaskIDBlock, _Mapping]] = ..., isolation_group_metrics: _Optional[_Mapping[str, IsolationGroupMetrics]] = ..., new_tasks_per_second: _Optional[float] = ..., empty: bool = ...) -> None: ... + +class TaskIDBlock(_message.Message): + __slots__ = ("start_id", "end_id") + START_ID_FIELD_NUMBER: _ClassVar[int] + END_ID_FIELD_NUMBER: _ClassVar[int] + start_id: int + end_id: int + def __init__(self, start_id: _Optional[int] = ..., end_id: _Optional[int] = ...) -> None: ... + +class PollerInfo(_message.Message): + __slots__ = ("last_access_time", "identity", "rate_per_second") + LAST_ACCESS_TIME_FIELD_NUMBER: _ClassVar[int] + IDENTITY_FIELD_NUMBER: _ClassVar[int] + RATE_PER_SECOND_FIELD_NUMBER: _ClassVar[int] + last_access_time: _timestamp_pb2.Timestamp + identity: str + rate_per_second: float + def __init__(self, last_access_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., identity: _Optional[str] = ..., rate_per_second: _Optional[float] = ...) -> None: ... + +class StickyExecutionAttributes(_message.Message): + __slots__ = ("worker_task_list", "schedule_to_start_timeout") + WORKER_TASK_LIST_FIELD_NUMBER: _ClassVar[int] + SCHEDULE_TO_START_TIMEOUT_FIELD_NUMBER: _ClassVar[int] + worker_task_list: TaskList + schedule_to_start_timeout: _duration_pb2.Duration + def __init__(self, worker_task_list: _Optional[_Union[TaskList, _Mapping]] = ..., schedule_to_start_timeout: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ...) -> None: ... + +class TaskListPartition(_message.Message): + __slots__ = ("isolation_groups",) + ISOLATION_GROUPS_FIELD_NUMBER: _ClassVar[int] + isolation_groups: _containers.RepeatedScalarFieldContainer[str] + def __init__(self, isolation_groups: _Optional[_Iterable[str]] = ...) -> None: ... + +class TaskListPartitionConfig(_message.Message): + __slots__ = ("version", "num_read_partitions", "num_write_partitions", "read_partitions", "write_partitions") + class ReadPartitionsEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: int + value: TaskListPartition + def __init__(self, key: _Optional[int] = ..., value: _Optional[_Union[TaskListPartition, _Mapping]] = ...) -> None: ... + class WritePartitionsEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: int + value: TaskListPartition + def __init__(self, key: _Optional[int] = ..., value: _Optional[_Union[TaskListPartition, _Mapping]] = ...) -> None: ... + VERSION_FIELD_NUMBER: _ClassVar[int] + NUM_READ_PARTITIONS_FIELD_NUMBER: _ClassVar[int] + NUM_WRITE_PARTITIONS_FIELD_NUMBER: _ClassVar[int] + READ_PARTITIONS_FIELD_NUMBER: _ClassVar[int] + WRITE_PARTITIONS_FIELD_NUMBER: _ClassVar[int] + version: int + num_read_partitions: int + num_write_partitions: int + read_partitions: _containers.MessageMap[int, TaskListPartition] + write_partitions: _containers.MessageMap[int, TaskListPartition] + def __init__(self, version: _Optional[int] = ..., num_read_partitions: _Optional[int] = ..., num_write_partitions: _Optional[int] = ..., read_partitions: _Optional[_Mapping[int, TaskListPartition]] = ..., write_partitions: _Optional[_Mapping[int, TaskListPartition]] = ...) -> None: ... diff --git a/cadence/shared/api/v1/visibility_pb2.py b/cadence/shared/api/v1/visibility_pb2.py new file mode 100644 index 0000000..e1eee5f --- /dev/null +++ b/cadence/shared/api/v1/visibility_pb2.py @@ -0,0 +1,271 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: uber/cadence/api/v1/visibility.proto +"""Generated protocol buffer code.""" +from google.protobuf.internal import enum_type_wrapper +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from uber.cadence.api.v1 import workflow_pb2 as uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='uber/cadence/api/v1/visibility.proto', + package='uber.cadence.api.v1', + syntax='proto3', + serialized_options=b'\n\027com.uber.cadence.api.v1B\017VisibilityProtoP\001Z1github.com/uber/cadence-idl/go/proto/api/v1;apiv1', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n$uber/cadence/api/v1/visibility.proto\x12\x13uber.cadence.api.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\"uber/cadence/api/v1/workflow.proto\">\n\x17WorkflowExecutionFilter\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\"\"\n\x12WorkflowTypeFilter\x12\x0c\n\x04name\x18\x01 \x01(\t\"u\n\x0fStartTimeFilter\x12\x31\n\rearliest_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0blatest_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"Q\n\x0cStatusFilter\x12\x41\n\x06status\x18\x01 \x01(\x0e\x32\x31.uber.cadence.api.v1.WorkflowExecutionCloseStatus*\xea\x01\n\x10IndexedValueType\x12\x1e\n\x1aINDEXED_VALUE_TYPE_INVALID\x10\x00\x12\x1d\n\x19INDEXED_VALUE_TYPE_STRING\x10\x01\x12\x1e\n\x1aINDEXED_VALUE_TYPE_KEYWORD\x10\x02\x12\x1a\n\x16INDEXED_VALUE_TYPE_INT\x10\x03\x12\x1d\n\x19INDEXED_VALUE_TYPE_DOUBLE\x10\x04\x12\x1b\n\x17INDEXED_VALUE_TYPE_BOOL\x10\x05\x12\x1f\n\x1bINDEXED_VALUE_TYPE_DATETIME\x10\x06\x42_\n\x17\x63om.uber.cadence.api.v1B\x0fVisibilityProtoP\x01Z1github.com/uber/cadence-idl/go/proto/api/v1;apiv1b\x06proto3' + , + dependencies=[google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2.DESCRIPTOR,]) + +_INDEXEDVALUETYPE = _descriptor.EnumDescriptor( + name='IndexedValueType', + full_name='uber.cadence.api.v1.IndexedValueType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='INDEXED_VALUE_TYPE_INVALID', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INDEXED_VALUE_TYPE_STRING', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INDEXED_VALUE_TYPE_KEYWORD', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INDEXED_VALUE_TYPE_INT', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INDEXED_VALUE_TYPE_DOUBLE', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INDEXED_VALUE_TYPE_BOOL', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INDEXED_VALUE_TYPE_DATETIME', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=433, + serialized_end=667, +) +_sym_db.RegisterEnumDescriptor(_INDEXEDVALUETYPE) + +IndexedValueType = enum_type_wrapper.EnumTypeWrapper(_INDEXEDVALUETYPE) +INDEXED_VALUE_TYPE_INVALID = 0 +INDEXED_VALUE_TYPE_STRING = 1 +INDEXED_VALUE_TYPE_KEYWORD = 2 +INDEXED_VALUE_TYPE_INT = 3 +INDEXED_VALUE_TYPE_DOUBLE = 4 +INDEXED_VALUE_TYPE_BOOL = 5 +INDEXED_VALUE_TYPE_DATETIME = 6 + + + +_WORKFLOWEXECUTIONFILTER = _descriptor.Descriptor( + name='WorkflowExecutionFilter', + full_name='uber.cadence.api.v1.WorkflowExecutionFilter', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='workflow_id', full_name='uber.cadence.api.v1.WorkflowExecutionFilter.workflow_id', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='run_id', full_name='uber.cadence.api.v1.WorkflowExecutionFilter.run_id', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=130, + serialized_end=192, +) + + +_WORKFLOWTYPEFILTER = _descriptor.Descriptor( + name='WorkflowTypeFilter', + full_name='uber.cadence.api.v1.WorkflowTypeFilter', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='name', full_name='uber.cadence.api.v1.WorkflowTypeFilter.name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=194, + serialized_end=228, +) + + +_STARTTIMEFILTER = _descriptor.Descriptor( + name='StartTimeFilter', + full_name='uber.cadence.api.v1.StartTimeFilter', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='earliest_time', full_name='uber.cadence.api.v1.StartTimeFilter.earliest_time', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='latest_time', full_name='uber.cadence.api.v1.StartTimeFilter.latest_time', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=230, + serialized_end=347, +) + + +_STATUSFILTER = _descriptor.Descriptor( + name='StatusFilter', + full_name='uber.cadence.api.v1.StatusFilter', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='status', full_name='uber.cadence.api.v1.StatusFilter.status', index=0, + number=1, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=349, + serialized_end=430, +) + +_STARTTIMEFILTER.fields_by_name['earliest_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_STARTTIMEFILTER.fields_by_name['latest_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_STATUSFILTER.fields_by_name['status'].enum_type = uber_dot_cadence_dot_api_dot_v1_dot_workflow__pb2._WORKFLOWEXECUTIONCLOSESTATUS +DESCRIPTOR.message_types_by_name['WorkflowExecutionFilter'] = _WORKFLOWEXECUTIONFILTER +DESCRIPTOR.message_types_by_name['WorkflowTypeFilter'] = _WORKFLOWTYPEFILTER +DESCRIPTOR.message_types_by_name['StartTimeFilter'] = _STARTTIMEFILTER +DESCRIPTOR.message_types_by_name['StatusFilter'] = _STATUSFILTER +DESCRIPTOR.enum_types_by_name['IndexedValueType'] = _INDEXEDVALUETYPE +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +WorkflowExecutionFilter = _reflection.GeneratedProtocolMessageType('WorkflowExecutionFilter', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWEXECUTIONFILTER, + '__module__' : 'uber.cadence.api.v1.visibility_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.WorkflowExecutionFilter) + }) +_sym_db.RegisterMessage(WorkflowExecutionFilter) + +WorkflowTypeFilter = _reflection.GeneratedProtocolMessageType('WorkflowTypeFilter', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWTYPEFILTER, + '__module__' : 'uber.cadence.api.v1.visibility_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.WorkflowTypeFilter) + }) +_sym_db.RegisterMessage(WorkflowTypeFilter) + +StartTimeFilter = _reflection.GeneratedProtocolMessageType('StartTimeFilter', (_message.Message,), { + 'DESCRIPTOR' : _STARTTIMEFILTER, + '__module__' : 'uber.cadence.api.v1.visibility_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.StartTimeFilter) + }) +_sym_db.RegisterMessage(StartTimeFilter) + +StatusFilter = _reflection.GeneratedProtocolMessageType('StatusFilter', (_message.Message,), { + 'DESCRIPTOR' : _STATUSFILTER, + '__module__' : 'uber.cadence.api.v1.visibility_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.StatusFilter) + }) +_sym_db.RegisterMessage(StatusFilter) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/cadence/shared/api/v1/visibility_pb2.pyi b/cadence/shared/api/v1/visibility_pb2.pyi new file mode 100644 index 0000000..4ddd2ab --- /dev/null +++ b/cadence/shared/api/v1/visibility_pb2.pyi @@ -0,0 +1,53 @@ +from google.protobuf import timestamp_pb2 as _timestamp_pb2 +from uber.cadence.api.v1 import workflow_pb2 as _workflow_pb2 +from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Optional, Union as _Union + +DESCRIPTOR: _descriptor.FileDescriptor + +class IndexedValueType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = () + INDEXED_VALUE_TYPE_INVALID: _ClassVar[IndexedValueType] + INDEXED_VALUE_TYPE_STRING: _ClassVar[IndexedValueType] + INDEXED_VALUE_TYPE_KEYWORD: _ClassVar[IndexedValueType] + INDEXED_VALUE_TYPE_INT: _ClassVar[IndexedValueType] + INDEXED_VALUE_TYPE_DOUBLE: _ClassVar[IndexedValueType] + INDEXED_VALUE_TYPE_BOOL: _ClassVar[IndexedValueType] + INDEXED_VALUE_TYPE_DATETIME: _ClassVar[IndexedValueType] +INDEXED_VALUE_TYPE_INVALID: IndexedValueType +INDEXED_VALUE_TYPE_STRING: IndexedValueType +INDEXED_VALUE_TYPE_KEYWORD: IndexedValueType +INDEXED_VALUE_TYPE_INT: IndexedValueType +INDEXED_VALUE_TYPE_DOUBLE: IndexedValueType +INDEXED_VALUE_TYPE_BOOL: IndexedValueType +INDEXED_VALUE_TYPE_DATETIME: IndexedValueType + +class WorkflowExecutionFilter(_message.Message): + __slots__ = ("workflow_id", "run_id") + WORKFLOW_ID_FIELD_NUMBER: _ClassVar[int] + RUN_ID_FIELD_NUMBER: _ClassVar[int] + workflow_id: str + run_id: str + def __init__(self, workflow_id: _Optional[str] = ..., run_id: _Optional[str] = ...) -> None: ... + +class WorkflowTypeFilter(_message.Message): + __slots__ = ("name",) + NAME_FIELD_NUMBER: _ClassVar[int] + name: str + def __init__(self, name: _Optional[str] = ...) -> None: ... + +class StartTimeFilter(_message.Message): + __slots__ = ("earliest_time", "latest_time") + EARLIEST_TIME_FIELD_NUMBER: _ClassVar[int] + LATEST_TIME_FIELD_NUMBER: _ClassVar[int] + earliest_time: _timestamp_pb2.Timestamp + latest_time: _timestamp_pb2.Timestamp + def __init__(self, earliest_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., latest_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ... + +class StatusFilter(_message.Message): + __slots__ = ("status",) + STATUS_FIELD_NUMBER: _ClassVar[int] + status: _workflow_pb2.WorkflowExecutionCloseStatus + def __init__(self, status: _Optional[_Union[_workflow_pb2.WorkflowExecutionCloseStatus, str]] = ...) -> None: ... diff --git a/cadence/shared/api/v1/workflow_pb2.py b/cadence/shared/api/v1/workflow_pb2.py new file mode 100644 index 0000000..f6a62e9 --- /dev/null +++ b/cadence/shared/api/v1/workflow_pb2.py @@ -0,0 +1,1544 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: uber/cadence/api/v1/workflow.proto +"""Generated protocol buffer code.""" +from google.protobuf.internal import enum_type_wrapper +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from uber.cadence.api.v1 import common_pb2 as uber_dot_cadence_dot_api_dot_v1_dot_common__pb2 +from uber.cadence.api.v1 import tasklist_pb2 as uber_dot_cadence_dot_api_dot_v1_dot_tasklist__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='uber/cadence/api/v1/workflow.proto', + package='uber.cadence.api.v1', + syntax='proto3', + serialized_options=b'\n\027com.uber.cadence.api.v1B\rWorkflowProtoP\001Z1github.com/uber/cadence-idl/go/proto/api/v1;apiv1', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n\"uber/cadence/api/v1/workflow.proto\x12\x13uber.cadence.api.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a uber/cadence/api/v1/common.proto\x1a\"uber/cadence/api/v1/tasklist.proto\"\xb2\x08\n\x15WorkflowExecutionInfo\x12\x42\n\x12workflow_execution\x18\x01 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12/\n\x04type\x18\x02 \x01(\x0b\x32!.uber.cadence.api.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\x12G\n\x0c\x63lose_status\x18\x05 \x01(\x0e\x32\x31.uber.cadence.api.v1.WorkflowExecutionCloseStatus\x12\x16\n\x0ehistory_length\x18\x06 \x01(\x03\x12G\n\x15parent_execution_info\x18\x07 \x01(\x0b\x32(.uber.cadence.api.v1.ParentExecutionInfo\x12\x32\n\x0e\x65xecution_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\'\n\x04memo\x18\t \x01(\x0b\x32\x19.uber.cadence.api.v1.Memo\x12@\n\x11search_attributes\x18\n \x01(\x0b\x32%.uber.cadence.api.v1.SearchAttributes\x12;\n\x11\x61uto_reset_points\x18\x0b \x01(\x0b\x32 .uber.cadence.api.v1.ResetPoints\x12\x11\n\ttask_list\x18\x0c \x01(\t\x12\x35\n\x0etask_list_info\x18\x11 \x01(\x0b\x32\x1d.uber.cadence.api.v1.TaskList\x12\x0f\n\x07is_cron\x18\r \x01(\x08\x12/\n\x0bupdate_time\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12Y\n\x10partition_config\x18\x0f \x03(\x0b\x32?.uber.cadence.api.v1.WorkflowExecutionInfo.PartitionConfigEntry\x12\x43\n\x13\x63ron_overlap_policy\x18\x10 \x01(\x0e\x32&.uber.cadence.api.v1.CronOverlapPolicy\x12Z\n\x1f\x61\x63tive_cluster_selection_policy\x18\x12 \x01(\x0b\x32\x31.uber.cadence.api.v1.ActiveClusterSelectionPolicy\x1a\x36\n\x14PartitionConfigEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xd7\x01\n\x1eWorkflowExecutionConfiguration\x12\x30\n\ttask_list\x18\x01 \x01(\x0b\x32\x1d.uber.cadence.api.v1.TaskList\x12\x43\n execution_start_to_close_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12>\n\x1btask_start_to_close_timeout\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\"\x97\x01\n\x13ParentExecutionInfo\x12\x11\n\tdomain_id\x18\x01 \x01(\t\x12\x13\n\x0b\x64omain_name\x18\x02 \x01(\t\x12\x42\n\x12workflow_execution\x18\x03 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x14\n\x0cinitiated_id\x18\x04 \x01(\x03\"q\n\x15\x45xternalExecutionInfo\x12\x42\n\x12workflow_execution\x18\x01 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x14\n\x0cinitiated_id\x18\x02 \x01(\x03\"\xe3\x04\n\x13PendingActivityInfo\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12\x38\n\ractivity_type\x18\x02 \x01(\x0b\x32!.uber.cadence.api.v1.ActivityType\x12\x38\n\x05state\x18\x03 \x01(\x0e\x32).uber.cadence.api.v1.PendingActivityState\x12\x37\n\x11heartbeat_details\x18\x04 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\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\x32\n\x0clast_failure\x18\x0b \x01(\x0b\x32\x1c.uber.cadence.api.v1.Failure\x12\x1c\n\x14last_worker_identity\x18\x0c \x01(\t\x12\x1f\n\x17started_worker_identity\x18\r \x01(\t\x12\x13\n\x0bschedule_id\x18\x0e \x01(\x03\"\xe6\x01\n\x19PendingChildExecutionInfo\x12\x42\n\x12workflow_execution\x18\x01 \x01(\x0b\x32&.uber.cadence.api.v1.WorkflowExecution\x12\x1a\n\x12workflow_type_name\x18\x02 \x01(\t\x12\x14\n\x0cinitiated_id\x18\x03 \x01(\x03\x12\x43\n\x13parent_close_policy\x18\x04 \x01(\x0e\x32&.uber.cadence.api.v1.ParentClosePolicy\x12\x0e\n\x06\x64omain\x18\x05 \x01(\t\"\x98\x02\n\x13PendingDecisionInfo\x12\x38\n\x05state\x18\x01 \x01(\x0e\x32).uber.cadence.api.v1.PendingDecisionState\x12\x32\n\x0escheduled_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cstarted_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x61ttempt\x18\x04 \x01(\x05\x12;\n\x17original_scheduled_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0bschedule_id\x18\x06 \x01(\x03\"\xee\x01\n\x19\x41\x63tivityLocalDispatchInfo\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12\x32\n\x0escheduled_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cstarted_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x42\n\x1escheduled_time_of_this_attempt\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\ntask_token\x18\x05 \x01(\x0c\"B\n\x0bResetPoints\x12\x33\n\x06points\x18\x01 \x03(\x0b\x32#.uber.cadence.api.v1.ResetPointInfo\"\xd7\x01\n\x0eResetPointInfo\x12\x17\n\x0f\x62inary_checksum\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\x12#\n\x1b\x66irst_decision_completed_id\x18\x03 \x01(\x03\x12\x30\n\x0c\x63reated_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x31\n\rexpiring_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nresettable\x18\x06 \x01(\x08*\xb1\x01\n\x14PendingActivityState\x12\"\n\x1ePENDING_ACTIVITY_STATE_INVALID\x10\x00\x12$\n PENDING_ACTIVITY_STATE_SCHEDULED\x10\x01\x12\"\n\x1ePENDING_ACTIVITY_STATE_STARTED\x10\x02\x12+\n\'PENDING_ACTIVITY_STATE_CANCEL_REQUESTED\x10\x03*\x84\x01\n\x14PendingDecisionState\x12\"\n\x1ePENDING_DECISION_STATE_INVALID\x10\x00\x12$\n PENDING_DECISION_STATE_SCHEDULED\x10\x01\x12\"\n\x1ePENDING_DECISION_STATE_STARTED\x10\x02*\x87\x02\n\x15WorkflowIdReusePolicy\x12$\n WORKFLOW_ID_REUSE_POLICY_INVALID\x10\x00\x12\x38\n4WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY\x10\x01\x12,\n(WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE\x10\x02\x12-\n)WORKFLOW_ID_REUSE_POLICY_REJECT_DUPLICATE\x10\x03\x12\x31\n-WORKFLOW_ID_REUSE_POLICY_TERMINATE_IF_RUNNING\x10\x04*y\n\x11\x43ronOverlapPolicy\x12\x1f\n\x1b\x43RON_OVERLAP_POLICY_INVALID\x10\x00\x12\x1f\n\x1b\x43RON_OVERLAP_POLICY_SKIPPED\x10\x01\x12\"\n\x1e\x43RON_OVERLAP_POLICY_BUFFER_ONE\x10\x02*\xa0\x01\n\x11ParentClosePolicy\x12\x1f\n\x1bPARENT_CLOSE_POLICY_INVALID\x10\x00\x12\x1f\n\x1bPARENT_CLOSE_POLICY_ABANDON\x10\x01\x12&\n\"PARENT_CLOSE_POLICY_REQUEST_CANCEL\x10\x02\x12!\n\x1dPARENT_CLOSE_POLICY_TERMINATE\x10\x03*\xe9\x02\n\x1cWorkflowExecutionCloseStatus\x12+\n\'WORKFLOW_EXECUTION_CLOSE_STATUS_INVALID\x10\x00\x12-\n)WORKFLOW_EXECUTION_CLOSE_STATUS_COMPLETED\x10\x01\x12*\n&WORKFLOW_EXECUTION_CLOSE_STATUS_FAILED\x10\x02\x12,\n(WORKFLOW_EXECUTION_CLOSE_STATUS_CANCELED\x10\x03\x12.\n*WORKFLOW_EXECUTION_CLOSE_STATUS_TERMINATED\x10\x04\x12\x34\n0WORKFLOW_EXECUTION_CLOSE_STATUS_CONTINUED_AS_NEW\x10\x05\x12-\n)WORKFLOW_EXECUTION_CLOSE_STATUS_TIMED_OUT\x10\x06*\xbf\x01\n\x16\x43ontinueAsNewInitiator\x12%\n!CONTINUE_AS_NEW_INITIATOR_INVALID\x10\x00\x12%\n!CONTINUE_AS_NEW_INITIATOR_DECIDER\x10\x01\x12*\n&CONTINUE_AS_NEW_INITIATOR_RETRY_POLICY\x10\x02\x12+\n\'CONTINUE_AS_NEW_INITIATOR_CRON_SCHEDULE\x10\x03*\xac\x01\n\x0bTimeoutType\x12\x18\n\x14TIMEOUT_TYPE_INVALID\x10\x00\x12\x1f\n\x1bTIMEOUT_TYPE_START_TO_CLOSE\x10\x01\x12\"\n\x1eTIMEOUT_TYPE_SCHEDULE_TO_START\x10\x02\x12\"\n\x1eTIMEOUT_TYPE_SCHEDULE_TO_CLOSE\x10\x03\x12\x1a\n\x16TIMEOUT_TYPE_HEARTBEAT\x10\x04*\x9a\x01\n\x19\x44\x65\x63isionTaskTimedOutCause\x12)\n%DECISION_TASK_TIMED_OUT_CAUSE_INVALID\x10\x00\x12)\n%DECISION_TASK_TIMED_OUT_CAUSE_TIMEOUT\x10\x01\x12\'\n#DECISION_TASK_TIMED_OUT_CAUSE_RESET\x10\x02*\xd6\x0b\n\x17\x44\x65\x63isionTaskFailedCause\x12&\n\"DECISION_TASK_FAILED_CAUSE_INVALID\x10\x00\x12\x31\n-DECISION_TASK_FAILED_CAUSE_UNHANDLED_DECISION\x10\x01\x12?\n;DECISION_TASK_FAILED_CAUSE_BAD_SCHEDULE_ACTIVITY_ATTRIBUTES\x10\x02\x12\x45\nADECISION_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_ACTIVITY_ATTRIBUTES\x10\x03\x12\x39\n5DECISION_TASK_FAILED_CAUSE_BAD_START_TIMER_ATTRIBUTES\x10\x04\x12:\n6DECISION_TASK_FAILED_CAUSE_BAD_CANCEL_TIMER_ATTRIBUTES\x10\x05\x12;\n7DECISION_TASK_FAILED_CAUSE_BAD_RECORD_MARKER_ATTRIBUTES\x10\x06\x12I\nEDECISION_TASK_FAILED_CAUSE_BAD_COMPLETE_WORKFLOW_EXECUTION_ATTRIBUTES\x10\x07\x12\x45\nADECISION_TASK_FAILED_CAUSE_BAD_FAIL_WORKFLOW_EXECUTION_ATTRIBUTES\x10\x08\x12G\nCDECISION_TASK_FAILED_CAUSE_BAD_CANCEL_WORKFLOW_EXECUTION_ATTRIBUTES\x10\t\x12X\nTDECISION_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_ATTRIBUTES\x10\n\x12=\n9DECISION_TASK_FAILED_CAUSE_BAD_CONTINUE_AS_NEW_ATTRIBUTES\x10\x0b\x12\x37\n3DECISION_TASK_FAILED_CAUSE_START_TIMER_DUPLICATE_ID\x10\x0c\x12\x35\n1DECISION_TASK_FAILED_CAUSE_RESET_STICKY_TASK_LIST\x10\r\x12@\nCHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_RUNNING\x10\x01*\x92\x02\n*CancelExternalWorkflowExecutionFailedCause\x12;\n7CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_INVALID\x10\x00\x12W\nSCANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION\x10\x01\x12N\nJCANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_COMPLETED\x10\x02*\x92\x02\n*SignalExternalWorkflowExecutionFailedCause\x12;\n7SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_INVALID\x10\x00\x12W\nSSIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION\x10\x01\x12N\nJSIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_COMPLETED\x10\x02\x42]\n\x17\x63om.uber.cadence.api.v1B\rWorkflowProtoP\x01Z1github.com/uber/cadence-idl/go/proto/api/v1;apiv1b\x06proto3' + , + dependencies=[google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,uber_dot_cadence_dot_api_dot_v1_dot_common__pb2.DESCRIPTOR,uber_dot_cadence_dot_api_dot_v1_dot_tasklist__pb2.DESCRIPTOR,]) + +_PENDINGACTIVITYSTATE = _descriptor.EnumDescriptor( + name='PendingActivityState', + full_name='uber.cadence.api.v1.PendingActivityState', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='PENDING_ACTIVITY_STATE_INVALID', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PENDING_ACTIVITY_STATE_SCHEDULED', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PENDING_ACTIVITY_STATE_STARTED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PENDING_ACTIVITY_STATE_CANCEL_REQUESTED', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=3416, + serialized_end=3593, +) +_sym_db.RegisterEnumDescriptor(_PENDINGACTIVITYSTATE) + +PendingActivityState = enum_type_wrapper.EnumTypeWrapper(_PENDINGACTIVITYSTATE) +_PENDINGDECISIONSTATE = _descriptor.EnumDescriptor( + name='PendingDecisionState', + full_name='uber.cadence.api.v1.PendingDecisionState', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='PENDING_DECISION_STATE_INVALID', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PENDING_DECISION_STATE_SCHEDULED', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PENDING_DECISION_STATE_STARTED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=3596, + serialized_end=3728, +) +_sym_db.RegisterEnumDescriptor(_PENDINGDECISIONSTATE) + +PendingDecisionState = enum_type_wrapper.EnumTypeWrapper(_PENDINGDECISIONSTATE) +_WORKFLOWIDREUSEPOLICY = _descriptor.EnumDescriptor( + name='WorkflowIdReusePolicy', + full_name='uber.cadence.api.v1.WorkflowIdReusePolicy', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='WORKFLOW_ID_REUSE_POLICY_INVALID', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='WORKFLOW_ID_REUSE_POLICY_REJECT_DUPLICATE', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='WORKFLOW_ID_REUSE_POLICY_TERMINATE_IF_RUNNING', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=3731, + serialized_end=3994, +) +_sym_db.RegisterEnumDescriptor(_WORKFLOWIDREUSEPOLICY) + +WorkflowIdReusePolicy = enum_type_wrapper.EnumTypeWrapper(_WORKFLOWIDREUSEPOLICY) +_CRONOVERLAPPOLICY = _descriptor.EnumDescriptor( + name='CronOverlapPolicy', + full_name='uber.cadence.api.v1.CronOverlapPolicy', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='CRON_OVERLAP_POLICY_INVALID', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CRON_OVERLAP_POLICY_SKIPPED', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CRON_OVERLAP_POLICY_BUFFER_ONE', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=3996, + serialized_end=4117, +) +_sym_db.RegisterEnumDescriptor(_CRONOVERLAPPOLICY) + +CronOverlapPolicy = enum_type_wrapper.EnumTypeWrapper(_CRONOVERLAPPOLICY) +_PARENTCLOSEPOLICY = _descriptor.EnumDescriptor( + name='ParentClosePolicy', + full_name='uber.cadence.api.v1.ParentClosePolicy', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='PARENT_CLOSE_POLICY_INVALID', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PARENT_CLOSE_POLICY_ABANDON', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PARENT_CLOSE_POLICY_REQUEST_CANCEL', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PARENT_CLOSE_POLICY_TERMINATE', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=4120, + serialized_end=4280, +) +_sym_db.RegisterEnumDescriptor(_PARENTCLOSEPOLICY) + +ParentClosePolicy = enum_type_wrapper.EnumTypeWrapper(_PARENTCLOSEPOLICY) +_WORKFLOWEXECUTIONCLOSESTATUS = _descriptor.EnumDescriptor( + name='WorkflowExecutionCloseStatus', + full_name='uber.cadence.api.v1.WorkflowExecutionCloseStatus', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='WORKFLOW_EXECUTION_CLOSE_STATUS_INVALID', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='WORKFLOW_EXECUTION_CLOSE_STATUS_COMPLETED', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='WORKFLOW_EXECUTION_CLOSE_STATUS_FAILED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='WORKFLOW_EXECUTION_CLOSE_STATUS_CANCELED', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='WORKFLOW_EXECUTION_CLOSE_STATUS_TERMINATED', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='WORKFLOW_EXECUTION_CLOSE_STATUS_CONTINUED_AS_NEW', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='WORKFLOW_EXECUTION_CLOSE_STATUS_TIMED_OUT', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=4283, + serialized_end=4644, +) +_sym_db.RegisterEnumDescriptor(_WORKFLOWEXECUTIONCLOSESTATUS) + +WorkflowExecutionCloseStatus = enum_type_wrapper.EnumTypeWrapper(_WORKFLOWEXECUTIONCLOSESTATUS) +_CONTINUEASNEWINITIATOR = _descriptor.EnumDescriptor( + name='ContinueAsNewInitiator', + full_name='uber.cadence.api.v1.ContinueAsNewInitiator', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='CONTINUE_AS_NEW_INITIATOR_INVALID', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CONTINUE_AS_NEW_INITIATOR_DECIDER', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CONTINUE_AS_NEW_INITIATOR_RETRY_POLICY', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CONTINUE_AS_NEW_INITIATOR_CRON_SCHEDULE', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=4647, + serialized_end=4838, +) +_sym_db.RegisterEnumDescriptor(_CONTINUEASNEWINITIATOR) + +ContinueAsNewInitiator = enum_type_wrapper.EnumTypeWrapper(_CONTINUEASNEWINITIATOR) +_TIMEOUTTYPE = _descriptor.EnumDescriptor( + name='TimeoutType', + full_name='uber.cadence.api.v1.TimeoutType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='TIMEOUT_TYPE_INVALID', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TIMEOUT_TYPE_START_TO_CLOSE', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TIMEOUT_TYPE_SCHEDULE_TO_START', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TIMEOUT_TYPE_SCHEDULE_TO_CLOSE', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TIMEOUT_TYPE_HEARTBEAT', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=4841, + serialized_end=5013, +) +_sym_db.RegisterEnumDescriptor(_TIMEOUTTYPE) + +TimeoutType = enum_type_wrapper.EnumTypeWrapper(_TIMEOUTTYPE) +_DECISIONTASKTIMEDOUTCAUSE = _descriptor.EnumDescriptor( + name='DecisionTaskTimedOutCause', + full_name='uber.cadence.api.v1.DecisionTaskTimedOutCause', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='DECISION_TASK_TIMED_OUT_CAUSE_INVALID', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DECISION_TASK_TIMED_OUT_CAUSE_TIMEOUT', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DECISION_TASK_TIMED_OUT_CAUSE_RESET', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=5016, + serialized_end=5170, +) +_sym_db.RegisterEnumDescriptor(_DECISIONTASKTIMEDOUTCAUSE) + +DecisionTaskTimedOutCause = enum_type_wrapper.EnumTypeWrapper(_DECISIONTASKTIMEDOUTCAUSE) +_DECISIONTASKFAILEDCAUSE = _descriptor.EnumDescriptor( + name='DecisionTaskFailedCause', + full_name='uber.cadence.api.v1.DecisionTaskFailedCause', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='DECISION_TASK_FAILED_CAUSE_INVALID', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DECISION_TASK_FAILED_CAUSE_UNHANDLED_DECISION', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DECISION_TASK_FAILED_CAUSE_BAD_SCHEDULE_ACTIVITY_ATTRIBUTES', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DECISION_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_ACTIVITY_ATTRIBUTES', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DECISION_TASK_FAILED_CAUSE_BAD_START_TIMER_ATTRIBUTES', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DECISION_TASK_FAILED_CAUSE_BAD_CANCEL_TIMER_ATTRIBUTES', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DECISION_TASK_FAILED_CAUSE_BAD_RECORD_MARKER_ATTRIBUTES', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DECISION_TASK_FAILED_CAUSE_BAD_COMPLETE_WORKFLOW_EXECUTION_ATTRIBUTES', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DECISION_TASK_FAILED_CAUSE_BAD_FAIL_WORKFLOW_EXECUTION_ATTRIBUTES', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DECISION_TASK_FAILED_CAUSE_BAD_CANCEL_WORKFLOW_EXECUTION_ATTRIBUTES', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DECISION_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_ATTRIBUTES', index=10, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DECISION_TASK_FAILED_CAUSE_BAD_CONTINUE_AS_NEW_ATTRIBUTES', index=11, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DECISION_TASK_FAILED_CAUSE_START_TIMER_DUPLICATE_ID', index=12, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DECISION_TASK_FAILED_CAUSE_RESET_STICKY_TASK_LIST', index=13, number=13, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DECISION_TASK_FAILED_CAUSE_WORKFLOW_WORKER_UNHANDLED_FAILURE', index=14, number=14, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DECISION_TASK_FAILED_CAUSE_BAD_SIGNAL_WORKFLOW_EXECUTION_ATTRIBUTES', index=15, number=15, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DECISION_TASK_FAILED_CAUSE_BAD_START_CHILD_EXECUTION_ATTRIBUTES', index=16, number=16, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DECISION_TASK_FAILED_CAUSE_FORCE_CLOSE_DECISION', index=17, number=17, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DECISION_TASK_FAILED_CAUSE_FAILOVER_CLOSE_DECISION', index=18, number=18, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DECISION_TASK_FAILED_CAUSE_BAD_SIGNAL_INPUT_SIZE', index=19, number=19, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DECISION_TASK_FAILED_CAUSE_RESET_WORKFLOW', index=20, number=20, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DECISION_TASK_FAILED_CAUSE_BAD_BINARY', index=21, number=21, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DECISION_TASK_FAILED_CAUSE_SCHEDULE_ACTIVITY_DUPLICATE_ID', index=22, number=22, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DECISION_TASK_FAILED_CAUSE_BAD_SEARCH_ATTRIBUTES', index=23, number=23, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=5173, + serialized_end=6667, +) +_sym_db.RegisterEnumDescriptor(_DECISIONTASKFAILEDCAUSE) + +DecisionTaskFailedCause = enum_type_wrapper.EnumTypeWrapper(_DECISIONTASKFAILEDCAUSE) +_CHILDWORKFLOWEXECUTIONFAILEDCAUSE = _descriptor.EnumDescriptor( + name='ChildWorkflowExecutionFailedCause', + full_name='uber.cadence.api.v1.ChildWorkflowExecutionFailedCause', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_INVALID', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_RUNNING', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=6670, + serialized_end=6824, +) +_sym_db.RegisterEnumDescriptor(_CHILDWORKFLOWEXECUTIONFAILEDCAUSE) + +ChildWorkflowExecutionFailedCause = enum_type_wrapper.EnumTypeWrapper(_CHILDWORKFLOWEXECUTIONFAILEDCAUSE) +_CANCELEXTERNALWORKFLOWEXECUTIONFAILEDCAUSE = _descriptor.EnumDescriptor( + name='CancelExternalWorkflowExecutionFailedCause', + full_name='uber.cadence.api.v1.CancelExternalWorkflowExecutionFailedCause', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_INVALID', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_COMPLETED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=6827, + serialized_end=7101, +) +_sym_db.RegisterEnumDescriptor(_CANCELEXTERNALWORKFLOWEXECUTIONFAILEDCAUSE) + +CancelExternalWorkflowExecutionFailedCause = enum_type_wrapper.EnumTypeWrapper(_CANCELEXTERNALWORKFLOWEXECUTIONFAILEDCAUSE) +_SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDCAUSE = _descriptor.EnumDescriptor( + name='SignalExternalWorkflowExecutionFailedCause', + full_name='uber.cadence.api.v1.SignalExternalWorkflowExecutionFailedCause', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_INVALID', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_COMPLETED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=7104, + serialized_end=7378, +) +_sym_db.RegisterEnumDescriptor(_SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDCAUSE) + +SignalExternalWorkflowExecutionFailedCause = enum_type_wrapper.EnumTypeWrapper(_SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDCAUSE) +PENDING_ACTIVITY_STATE_INVALID = 0 +PENDING_ACTIVITY_STATE_SCHEDULED = 1 +PENDING_ACTIVITY_STATE_STARTED = 2 +PENDING_ACTIVITY_STATE_CANCEL_REQUESTED = 3 +PENDING_DECISION_STATE_INVALID = 0 +PENDING_DECISION_STATE_SCHEDULED = 1 +PENDING_DECISION_STATE_STARTED = 2 +WORKFLOW_ID_REUSE_POLICY_INVALID = 0 +WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY = 1 +WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE = 2 +WORKFLOW_ID_REUSE_POLICY_REJECT_DUPLICATE = 3 +WORKFLOW_ID_REUSE_POLICY_TERMINATE_IF_RUNNING = 4 +CRON_OVERLAP_POLICY_INVALID = 0 +CRON_OVERLAP_POLICY_SKIPPED = 1 +CRON_OVERLAP_POLICY_BUFFER_ONE = 2 +PARENT_CLOSE_POLICY_INVALID = 0 +PARENT_CLOSE_POLICY_ABANDON = 1 +PARENT_CLOSE_POLICY_REQUEST_CANCEL = 2 +PARENT_CLOSE_POLICY_TERMINATE = 3 +WORKFLOW_EXECUTION_CLOSE_STATUS_INVALID = 0 +WORKFLOW_EXECUTION_CLOSE_STATUS_COMPLETED = 1 +WORKFLOW_EXECUTION_CLOSE_STATUS_FAILED = 2 +WORKFLOW_EXECUTION_CLOSE_STATUS_CANCELED = 3 +WORKFLOW_EXECUTION_CLOSE_STATUS_TERMINATED = 4 +WORKFLOW_EXECUTION_CLOSE_STATUS_CONTINUED_AS_NEW = 5 +WORKFLOW_EXECUTION_CLOSE_STATUS_TIMED_OUT = 6 +CONTINUE_AS_NEW_INITIATOR_INVALID = 0 +CONTINUE_AS_NEW_INITIATOR_DECIDER = 1 +CONTINUE_AS_NEW_INITIATOR_RETRY_POLICY = 2 +CONTINUE_AS_NEW_INITIATOR_CRON_SCHEDULE = 3 +TIMEOUT_TYPE_INVALID = 0 +TIMEOUT_TYPE_START_TO_CLOSE = 1 +TIMEOUT_TYPE_SCHEDULE_TO_START = 2 +TIMEOUT_TYPE_SCHEDULE_TO_CLOSE = 3 +TIMEOUT_TYPE_HEARTBEAT = 4 +DECISION_TASK_TIMED_OUT_CAUSE_INVALID = 0 +DECISION_TASK_TIMED_OUT_CAUSE_TIMEOUT = 1 +DECISION_TASK_TIMED_OUT_CAUSE_RESET = 2 +DECISION_TASK_FAILED_CAUSE_INVALID = 0 +DECISION_TASK_FAILED_CAUSE_UNHANDLED_DECISION = 1 +DECISION_TASK_FAILED_CAUSE_BAD_SCHEDULE_ACTIVITY_ATTRIBUTES = 2 +DECISION_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_ACTIVITY_ATTRIBUTES = 3 +DECISION_TASK_FAILED_CAUSE_BAD_START_TIMER_ATTRIBUTES = 4 +DECISION_TASK_FAILED_CAUSE_BAD_CANCEL_TIMER_ATTRIBUTES = 5 +DECISION_TASK_FAILED_CAUSE_BAD_RECORD_MARKER_ATTRIBUTES = 6 +DECISION_TASK_FAILED_CAUSE_BAD_COMPLETE_WORKFLOW_EXECUTION_ATTRIBUTES = 7 +DECISION_TASK_FAILED_CAUSE_BAD_FAIL_WORKFLOW_EXECUTION_ATTRIBUTES = 8 +DECISION_TASK_FAILED_CAUSE_BAD_CANCEL_WORKFLOW_EXECUTION_ATTRIBUTES = 9 +DECISION_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_ATTRIBUTES = 10 +DECISION_TASK_FAILED_CAUSE_BAD_CONTINUE_AS_NEW_ATTRIBUTES = 11 +DECISION_TASK_FAILED_CAUSE_START_TIMER_DUPLICATE_ID = 12 +DECISION_TASK_FAILED_CAUSE_RESET_STICKY_TASK_LIST = 13 +DECISION_TASK_FAILED_CAUSE_WORKFLOW_WORKER_UNHANDLED_FAILURE = 14 +DECISION_TASK_FAILED_CAUSE_BAD_SIGNAL_WORKFLOW_EXECUTION_ATTRIBUTES = 15 +DECISION_TASK_FAILED_CAUSE_BAD_START_CHILD_EXECUTION_ATTRIBUTES = 16 +DECISION_TASK_FAILED_CAUSE_FORCE_CLOSE_DECISION = 17 +DECISION_TASK_FAILED_CAUSE_FAILOVER_CLOSE_DECISION = 18 +DECISION_TASK_FAILED_CAUSE_BAD_SIGNAL_INPUT_SIZE = 19 +DECISION_TASK_FAILED_CAUSE_RESET_WORKFLOW = 20 +DECISION_TASK_FAILED_CAUSE_BAD_BINARY = 21 +DECISION_TASK_FAILED_CAUSE_SCHEDULE_ACTIVITY_DUPLICATE_ID = 22 +DECISION_TASK_FAILED_CAUSE_BAD_SEARCH_ATTRIBUTES = 23 +CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_INVALID = 0 +CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_RUNNING = 1 +CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_INVALID = 0 +CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION = 1 +CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_COMPLETED = 2 +SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_INVALID = 0 +SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION = 1 +SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_COMPLETED = 2 + + + +_WORKFLOWEXECUTIONINFO_PARTITIONCONFIGENTRY = _descriptor.Descriptor( + name='PartitionConfigEntry', + full_name='uber.cadence.api.v1.WorkflowExecutionInfo.PartitionConfigEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='uber.cadence.api.v1.WorkflowExecutionInfo.PartitionConfigEntry.key', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='value', full_name='uber.cadence.api.v1.WorkflowExecutionInfo.PartitionConfigEntry.value', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'8\001', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1215, + serialized_end=1269, +) + +_WORKFLOWEXECUTIONINFO = _descriptor.Descriptor( + name='WorkflowExecutionInfo', + full_name='uber.cadence.api.v1.WorkflowExecutionInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='workflow_execution', full_name='uber.cadence.api.v1.WorkflowExecutionInfo.workflow_execution', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='type', full_name='uber.cadence.api.v1.WorkflowExecutionInfo.type', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='start_time', full_name='uber.cadence.api.v1.WorkflowExecutionInfo.start_time', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='close_time', full_name='uber.cadence.api.v1.WorkflowExecutionInfo.close_time', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='close_status', full_name='uber.cadence.api.v1.WorkflowExecutionInfo.close_status', index=4, + number=5, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='history_length', full_name='uber.cadence.api.v1.WorkflowExecutionInfo.history_length', index=5, + number=6, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='parent_execution_info', full_name='uber.cadence.api.v1.WorkflowExecutionInfo.parent_execution_info', index=6, + number=7, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='execution_time', full_name='uber.cadence.api.v1.WorkflowExecutionInfo.execution_time', index=7, + number=8, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='memo', full_name='uber.cadence.api.v1.WorkflowExecutionInfo.memo', index=8, + number=9, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='search_attributes', full_name='uber.cadence.api.v1.WorkflowExecutionInfo.search_attributes', index=9, + number=10, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='auto_reset_points', full_name='uber.cadence.api.v1.WorkflowExecutionInfo.auto_reset_points', index=10, + number=11, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='task_list', full_name='uber.cadence.api.v1.WorkflowExecutionInfo.task_list', index=11, + number=12, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='task_list_info', full_name='uber.cadence.api.v1.WorkflowExecutionInfo.task_list_info', index=12, + number=17, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='is_cron', full_name='uber.cadence.api.v1.WorkflowExecutionInfo.is_cron', index=13, + number=13, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='update_time', full_name='uber.cadence.api.v1.WorkflowExecutionInfo.update_time', index=14, + number=14, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='partition_config', full_name='uber.cadence.api.v1.WorkflowExecutionInfo.partition_config', index=15, + number=15, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cron_overlap_policy', full_name='uber.cadence.api.v1.WorkflowExecutionInfo.cron_overlap_policy', index=16, + number=16, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='active_cluster_selection_policy', full_name='uber.cadence.api.v1.WorkflowExecutionInfo.active_cluster_selection_policy', index=17, + number=18, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[_WORKFLOWEXECUTIONINFO_PARTITIONCONFIGENTRY, ], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=195, + serialized_end=1269, +) + + +_WORKFLOWEXECUTIONCONFIGURATION = _descriptor.Descriptor( + name='WorkflowExecutionConfiguration', + full_name='uber.cadence.api.v1.WorkflowExecutionConfiguration', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='task_list', full_name='uber.cadence.api.v1.WorkflowExecutionConfiguration.task_list', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='execution_start_to_close_timeout', full_name='uber.cadence.api.v1.WorkflowExecutionConfiguration.execution_start_to_close_timeout', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='task_start_to_close_timeout', full_name='uber.cadence.api.v1.WorkflowExecutionConfiguration.task_start_to_close_timeout', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1272, + serialized_end=1487, +) + + +_PARENTEXECUTIONINFO = _descriptor.Descriptor( + name='ParentExecutionInfo', + full_name='uber.cadence.api.v1.ParentExecutionInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain_id', full_name='uber.cadence.api.v1.ParentExecutionInfo.domain_id', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='domain_name', full_name='uber.cadence.api.v1.ParentExecutionInfo.domain_name', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_execution', full_name='uber.cadence.api.v1.ParentExecutionInfo.workflow_execution', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='initiated_id', full_name='uber.cadence.api.v1.ParentExecutionInfo.initiated_id', index=3, + number=4, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1490, + serialized_end=1641, +) + + +_EXTERNALEXECUTIONINFO = _descriptor.Descriptor( + name='ExternalExecutionInfo', + full_name='uber.cadence.api.v1.ExternalExecutionInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='workflow_execution', full_name='uber.cadence.api.v1.ExternalExecutionInfo.workflow_execution', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='initiated_id', full_name='uber.cadence.api.v1.ExternalExecutionInfo.initiated_id', index=1, + number=2, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1643, + serialized_end=1756, +) + + +_PENDINGACTIVITYINFO = _descriptor.Descriptor( + name='PendingActivityInfo', + full_name='uber.cadence.api.v1.PendingActivityInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='activity_id', full_name='uber.cadence.api.v1.PendingActivityInfo.activity_id', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='activity_type', full_name='uber.cadence.api.v1.PendingActivityInfo.activity_type', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='state', full_name='uber.cadence.api.v1.PendingActivityInfo.state', index=2, + number=3, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='heartbeat_details', full_name='uber.cadence.api.v1.PendingActivityInfo.heartbeat_details', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='last_heartbeat_time', full_name='uber.cadence.api.v1.PendingActivityInfo.last_heartbeat_time', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='last_started_time', full_name='uber.cadence.api.v1.PendingActivityInfo.last_started_time', index=5, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='attempt', full_name='uber.cadence.api.v1.PendingActivityInfo.attempt', index=6, + number=7, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='maximum_attempts', full_name='uber.cadence.api.v1.PendingActivityInfo.maximum_attempts', index=7, + number=8, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='scheduled_time', full_name='uber.cadence.api.v1.PendingActivityInfo.scheduled_time', index=8, + number=9, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='expiration_time', full_name='uber.cadence.api.v1.PendingActivityInfo.expiration_time', index=9, + number=10, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='last_failure', full_name='uber.cadence.api.v1.PendingActivityInfo.last_failure', index=10, + number=11, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='last_worker_identity', full_name='uber.cadence.api.v1.PendingActivityInfo.last_worker_identity', index=11, + number=12, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='started_worker_identity', full_name='uber.cadence.api.v1.PendingActivityInfo.started_worker_identity', index=12, + number=13, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='schedule_id', full_name='uber.cadence.api.v1.PendingActivityInfo.schedule_id', index=13, + number=14, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1759, + serialized_end=2370, +) + + +_PENDINGCHILDEXECUTIONINFO = _descriptor.Descriptor( + name='PendingChildExecutionInfo', + full_name='uber.cadence.api.v1.PendingChildExecutionInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='workflow_execution', full_name='uber.cadence.api.v1.PendingChildExecutionInfo.workflow_execution', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='workflow_type_name', full_name='uber.cadence.api.v1.PendingChildExecutionInfo.workflow_type_name', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='initiated_id', full_name='uber.cadence.api.v1.PendingChildExecutionInfo.initiated_id', index=2, + number=3, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='parent_close_policy', full_name='uber.cadence.api.v1.PendingChildExecutionInfo.parent_close_policy', index=3, + number=4, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='domain', full_name='uber.cadence.api.v1.PendingChildExecutionInfo.domain', index=4, + number=5, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2373, + serialized_end=2603, +) + + +_PENDINGDECISIONINFO = _descriptor.Descriptor( + name='PendingDecisionInfo', + full_name='uber.cadence.api.v1.PendingDecisionInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='state', full_name='uber.cadence.api.v1.PendingDecisionInfo.state', index=0, + number=1, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='scheduled_time', full_name='uber.cadence.api.v1.PendingDecisionInfo.scheduled_time', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='started_time', full_name='uber.cadence.api.v1.PendingDecisionInfo.started_time', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='attempt', full_name='uber.cadence.api.v1.PendingDecisionInfo.attempt', index=3, + number=4, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='original_scheduled_time', full_name='uber.cadence.api.v1.PendingDecisionInfo.original_scheduled_time', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='schedule_id', full_name='uber.cadence.api.v1.PendingDecisionInfo.schedule_id', index=5, + number=6, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2606, + serialized_end=2886, +) + + +_ACTIVITYLOCALDISPATCHINFO = _descriptor.Descriptor( + name='ActivityLocalDispatchInfo', + full_name='uber.cadence.api.v1.ActivityLocalDispatchInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='activity_id', full_name='uber.cadence.api.v1.ActivityLocalDispatchInfo.activity_id', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='scheduled_time', full_name='uber.cadence.api.v1.ActivityLocalDispatchInfo.scheduled_time', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='started_time', full_name='uber.cadence.api.v1.ActivityLocalDispatchInfo.started_time', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='scheduled_time_of_this_attempt', full_name='uber.cadence.api.v1.ActivityLocalDispatchInfo.scheduled_time_of_this_attempt', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='task_token', full_name='uber.cadence.api.v1.ActivityLocalDispatchInfo.task_token', index=4, + number=5, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2889, + serialized_end=3127, +) + + +_RESETPOINTS = _descriptor.Descriptor( + name='ResetPoints', + full_name='uber.cadence.api.v1.ResetPoints', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='points', full_name='uber.cadence.api.v1.ResetPoints.points', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=3129, + serialized_end=3195, +) + + +_RESETPOINTINFO = _descriptor.Descriptor( + name='ResetPointInfo', + full_name='uber.cadence.api.v1.ResetPointInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='binary_checksum', full_name='uber.cadence.api.v1.ResetPointInfo.binary_checksum', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='run_id', full_name='uber.cadence.api.v1.ResetPointInfo.run_id', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=b"".decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='first_decision_completed_id', full_name='uber.cadence.api.v1.ResetPointInfo.first_decision_completed_id', index=2, + number=3, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='created_time', full_name='uber.cadence.api.v1.ResetPointInfo.created_time', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='expiring_time', full_name='uber.cadence.api.v1.ResetPointInfo.expiring_time', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='resettable', full_name='uber.cadence.api.v1.ResetPointInfo.resettable', index=5, + number=6, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=3198, + serialized_end=3413, +) + +_WORKFLOWEXECUTIONINFO_PARTITIONCONFIGENTRY.containing_type = _WORKFLOWEXECUTIONINFO +_WORKFLOWEXECUTIONINFO.fields_by_name['workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_WORKFLOWEXECUTIONINFO.fields_by_name['type'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWTYPE +_WORKFLOWEXECUTIONINFO.fields_by_name['start_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_WORKFLOWEXECUTIONINFO.fields_by_name['close_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_WORKFLOWEXECUTIONINFO.fields_by_name['close_status'].enum_type = _WORKFLOWEXECUTIONCLOSESTATUS +_WORKFLOWEXECUTIONINFO.fields_by_name['parent_execution_info'].message_type = _PARENTEXECUTIONINFO +_WORKFLOWEXECUTIONINFO.fields_by_name['execution_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_WORKFLOWEXECUTIONINFO.fields_by_name['memo'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._MEMO +_WORKFLOWEXECUTIONINFO.fields_by_name['search_attributes'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._SEARCHATTRIBUTES +_WORKFLOWEXECUTIONINFO.fields_by_name['auto_reset_points'].message_type = _RESETPOINTS +_WORKFLOWEXECUTIONINFO.fields_by_name['task_list_info'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_tasklist__pb2._TASKLIST +_WORKFLOWEXECUTIONINFO.fields_by_name['update_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_WORKFLOWEXECUTIONINFO.fields_by_name['partition_config'].message_type = _WORKFLOWEXECUTIONINFO_PARTITIONCONFIGENTRY +_WORKFLOWEXECUTIONINFO.fields_by_name['cron_overlap_policy'].enum_type = _CRONOVERLAPPOLICY +_WORKFLOWEXECUTIONINFO.fields_by_name['active_cluster_selection_policy'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._ACTIVECLUSTERSELECTIONPOLICY +_WORKFLOWEXECUTIONCONFIGURATION.fields_by_name['task_list'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_tasklist__pb2._TASKLIST +_WORKFLOWEXECUTIONCONFIGURATION.fields_by_name['execution_start_to_close_timeout'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_WORKFLOWEXECUTIONCONFIGURATION.fields_by_name['task_start_to_close_timeout'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_PARENTEXECUTIONINFO.fields_by_name['workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_EXTERNALEXECUTIONINFO.fields_by_name['workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_PENDINGACTIVITYINFO.fields_by_name['activity_type'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._ACTIVITYTYPE +_PENDINGACTIVITYINFO.fields_by_name['state'].enum_type = _PENDINGACTIVITYSTATE +_PENDINGACTIVITYINFO.fields_by_name['heartbeat_details'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._PAYLOAD +_PENDINGACTIVITYINFO.fields_by_name['last_heartbeat_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_PENDINGACTIVITYINFO.fields_by_name['last_started_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_PENDINGACTIVITYINFO.fields_by_name['scheduled_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_PENDINGACTIVITYINFO.fields_by_name['expiration_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_PENDINGACTIVITYINFO.fields_by_name['last_failure'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._FAILURE +_PENDINGCHILDEXECUTIONINFO.fields_by_name['workflow_execution'].message_type = uber_dot_cadence_dot_api_dot_v1_dot_common__pb2._WORKFLOWEXECUTION +_PENDINGCHILDEXECUTIONINFO.fields_by_name['parent_close_policy'].enum_type = _PARENTCLOSEPOLICY +_PENDINGDECISIONINFO.fields_by_name['state'].enum_type = _PENDINGDECISIONSTATE +_PENDINGDECISIONINFO.fields_by_name['scheduled_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_PENDINGDECISIONINFO.fields_by_name['started_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_PENDINGDECISIONINFO.fields_by_name['original_scheduled_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_ACTIVITYLOCALDISPATCHINFO.fields_by_name['scheduled_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_ACTIVITYLOCALDISPATCHINFO.fields_by_name['started_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_ACTIVITYLOCALDISPATCHINFO.fields_by_name['scheduled_time_of_this_attempt'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_RESETPOINTS.fields_by_name['points'].message_type = _RESETPOINTINFO +_RESETPOINTINFO.fields_by_name['created_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_RESETPOINTINFO.fields_by_name['expiring_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +DESCRIPTOR.message_types_by_name['WorkflowExecutionInfo'] = _WORKFLOWEXECUTIONINFO +DESCRIPTOR.message_types_by_name['WorkflowExecutionConfiguration'] = _WORKFLOWEXECUTIONCONFIGURATION +DESCRIPTOR.message_types_by_name['ParentExecutionInfo'] = _PARENTEXECUTIONINFO +DESCRIPTOR.message_types_by_name['ExternalExecutionInfo'] = _EXTERNALEXECUTIONINFO +DESCRIPTOR.message_types_by_name['PendingActivityInfo'] = _PENDINGACTIVITYINFO +DESCRIPTOR.message_types_by_name['PendingChildExecutionInfo'] = _PENDINGCHILDEXECUTIONINFO +DESCRIPTOR.message_types_by_name['PendingDecisionInfo'] = _PENDINGDECISIONINFO +DESCRIPTOR.message_types_by_name['ActivityLocalDispatchInfo'] = _ACTIVITYLOCALDISPATCHINFO +DESCRIPTOR.message_types_by_name['ResetPoints'] = _RESETPOINTS +DESCRIPTOR.message_types_by_name['ResetPointInfo'] = _RESETPOINTINFO +DESCRIPTOR.enum_types_by_name['PendingActivityState'] = _PENDINGACTIVITYSTATE +DESCRIPTOR.enum_types_by_name['PendingDecisionState'] = _PENDINGDECISIONSTATE +DESCRIPTOR.enum_types_by_name['WorkflowIdReusePolicy'] = _WORKFLOWIDREUSEPOLICY +DESCRIPTOR.enum_types_by_name['CronOverlapPolicy'] = _CRONOVERLAPPOLICY +DESCRIPTOR.enum_types_by_name['ParentClosePolicy'] = _PARENTCLOSEPOLICY +DESCRIPTOR.enum_types_by_name['WorkflowExecutionCloseStatus'] = _WORKFLOWEXECUTIONCLOSESTATUS +DESCRIPTOR.enum_types_by_name['ContinueAsNewInitiator'] = _CONTINUEASNEWINITIATOR +DESCRIPTOR.enum_types_by_name['TimeoutType'] = _TIMEOUTTYPE +DESCRIPTOR.enum_types_by_name['DecisionTaskTimedOutCause'] = _DECISIONTASKTIMEDOUTCAUSE +DESCRIPTOR.enum_types_by_name['DecisionTaskFailedCause'] = _DECISIONTASKFAILEDCAUSE +DESCRIPTOR.enum_types_by_name['ChildWorkflowExecutionFailedCause'] = _CHILDWORKFLOWEXECUTIONFAILEDCAUSE +DESCRIPTOR.enum_types_by_name['CancelExternalWorkflowExecutionFailedCause'] = _CANCELEXTERNALWORKFLOWEXECUTIONFAILEDCAUSE +DESCRIPTOR.enum_types_by_name['SignalExternalWorkflowExecutionFailedCause'] = _SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDCAUSE +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +WorkflowExecutionInfo = _reflection.GeneratedProtocolMessageType('WorkflowExecutionInfo', (_message.Message,), { + + 'PartitionConfigEntry' : _reflection.GeneratedProtocolMessageType('PartitionConfigEntry', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWEXECUTIONINFO_PARTITIONCONFIGENTRY, + '__module__' : 'uber.cadence.api.v1.workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.WorkflowExecutionInfo.PartitionConfigEntry) + }) + , + 'DESCRIPTOR' : _WORKFLOWEXECUTIONINFO, + '__module__' : 'uber.cadence.api.v1.workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.WorkflowExecutionInfo) + }) +_sym_db.RegisterMessage(WorkflowExecutionInfo) +_sym_db.RegisterMessage(WorkflowExecutionInfo.PartitionConfigEntry) + +WorkflowExecutionConfiguration = _reflection.GeneratedProtocolMessageType('WorkflowExecutionConfiguration', (_message.Message,), { + 'DESCRIPTOR' : _WORKFLOWEXECUTIONCONFIGURATION, + '__module__' : 'uber.cadence.api.v1.workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.WorkflowExecutionConfiguration) + }) +_sym_db.RegisterMessage(WorkflowExecutionConfiguration) + +ParentExecutionInfo = _reflection.GeneratedProtocolMessageType('ParentExecutionInfo', (_message.Message,), { + 'DESCRIPTOR' : _PARENTEXECUTIONINFO, + '__module__' : 'uber.cadence.api.v1.workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ParentExecutionInfo) + }) +_sym_db.RegisterMessage(ParentExecutionInfo) + +ExternalExecutionInfo = _reflection.GeneratedProtocolMessageType('ExternalExecutionInfo', (_message.Message,), { + 'DESCRIPTOR' : _EXTERNALEXECUTIONINFO, + '__module__' : 'uber.cadence.api.v1.workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ExternalExecutionInfo) + }) +_sym_db.RegisterMessage(ExternalExecutionInfo) + +PendingActivityInfo = _reflection.GeneratedProtocolMessageType('PendingActivityInfo', (_message.Message,), { + 'DESCRIPTOR' : _PENDINGACTIVITYINFO, + '__module__' : 'uber.cadence.api.v1.workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.PendingActivityInfo) + }) +_sym_db.RegisterMessage(PendingActivityInfo) + +PendingChildExecutionInfo = _reflection.GeneratedProtocolMessageType('PendingChildExecutionInfo', (_message.Message,), { + 'DESCRIPTOR' : _PENDINGCHILDEXECUTIONINFO, + '__module__' : 'uber.cadence.api.v1.workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.PendingChildExecutionInfo) + }) +_sym_db.RegisterMessage(PendingChildExecutionInfo) + +PendingDecisionInfo = _reflection.GeneratedProtocolMessageType('PendingDecisionInfo', (_message.Message,), { + 'DESCRIPTOR' : _PENDINGDECISIONINFO, + '__module__' : 'uber.cadence.api.v1.workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.PendingDecisionInfo) + }) +_sym_db.RegisterMessage(PendingDecisionInfo) + +ActivityLocalDispatchInfo = _reflection.GeneratedProtocolMessageType('ActivityLocalDispatchInfo', (_message.Message,), { + 'DESCRIPTOR' : _ACTIVITYLOCALDISPATCHINFO, + '__module__' : 'uber.cadence.api.v1.workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ActivityLocalDispatchInfo) + }) +_sym_db.RegisterMessage(ActivityLocalDispatchInfo) + +ResetPoints = _reflection.GeneratedProtocolMessageType('ResetPoints', (_message.Message,), { + 'DESCRIPTOR' : _RESETPOINTS, + '__module__' : 'uber.cadence.api.v1.workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ResetPoints) + }) +_sym_db.RegisterMessage(ResetPoints) + +ResetPointInfo = _reflection.GeneratedProtocolMessageType('ResetPointInfo', (_message.Message,), { + 'DESCRIPTOR' : _RESETPOINTINFO, + '__module__' : 'uber.cadence.api.v1.workflow_pb2' + # @@protoc_insertion_point(class_scope:uber.cadence.api.v1.ResetPointInfo) + }) +_sym_db.RegisterMessage(ResetPointInfo) + + +DESCRIPTOR._options = None +_WORKFLOWEXECUTIONINFO_PARTITIONCONFIGENTRY._options = None +# @@protoc_insertion_point(module_scope) diff --git a/cadence/shared/api/v1/workflow_pb2.pyi b/cadence/shared/api/v1/workflow_pb2.pyi new file mode 100644 index 0000000..12e74df --- /dev/null +++ b/cadence/shared/api/v1/workflow_pb2.pyi @@ -0,0 +1,365 @@ +from google.protobuf import duration_pb2 as _duration_pb2 +from google.protobuf import timestamp_pb2 as _timestamp_pb2 +from uber.cadence.api.v1 import common_pb2 as _common_pb2 +from uber.cadence.api.v1 import tasklist_pb2 as _tasklist_pb2 +from google.protobuf.internal import containers as _containers +from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union + +DESCRIPTOR: _descriptor.FileDescriptor + +class PendingActivityState(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = () + PENDING_ACTIVITY_STATE_INVALID: _ClassVar[PendingActivityState] + PENDING_ACTIVITY_STATE_SCHEDULED: _ClassVar[PendingActivityState] + PENDING_ACTIVITY_STATE_STARTED: _ClassVar[PendingActivityState] + PENDING_ACTIVITY_STATE_CANCEL_REQUESTED: _ClassVar[PendingActivityState] + +class PendingDecisionState(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = () + PENDING_DECISION_STATE_INVALID: _ClassVar[PendingDecisionState] + PENDING_DECISION_STATE_SCHEDULED: _ClassVar[PendingDecisionState] + PENDING_DECISION_STATE_STARTED: _ClassVar[PendingDecisionState] + +class WorkflowIdReusePolicy(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = () + WORKFLOW_ID_REUSE_POLICY_INVALID: _ClassVar[WorkflowIdReusePolicy] + WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY: _ClassVar[WorkflowIdReusePolicy] + WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE: _ClassVar[WorkflowIdReusePolicy] + WORKFLOW_ID_REUSE_POLICY_REJECT_DUPLICATE: _ClassVar[WorkflowIdReusePolicy] + WORKFLOW_ID_REUSE_POLICY_TERMINATE_IF_RUNNING: _ClassVar[WorkflowIdReusePolicy] + +class CronOverlapPolicy(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = () + CRON_OVERLAP_POLICY_INVALID: _ClassVar[CronOverlapPolicy] + CRON_OVERLAP_POLICY_SKIPPED: _ClassVar[CronOverlapPolicy] + CRON_OVERLAP_POLICY_BUFFER_ONE: _ClassVar[CronOverlapPolicy] + +class ParentClosePolicy(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = () + PARENT_CLOSE_POLICY_INVALID: _ClassVar[ParentClosePolicy] + PARENT_CLOSE_POLICY_ABANDON: _ClassVar[ParentClosePolicy] + PARENT_CLOSE_POLICY_REQUEST_CANCEL: _ClassVar[ParentClosePolicy] + PARENT_CLOSE_POLICY_TERMINATE: _ClassVar[ParentClosePolicy] + +class WorkflowExecutionCloseStatus(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = () + WORKFLOW_EXECUTION_CLOSE_STATUS_INVALID: _ClassVar[WorkflowExecutionCloseStatus] + WORKFLOW_EXECUTION_CLOSE_STATUS_COMPLETED: _ClassVar[WorkflowExecutionCloseStatus] + WORKFLOW_EXECUTION_CLOSE_STATUS_FAILED: _ClassVar[WorkflowExecutionCloseStatus] + WORKFLOW_EXECUTION_CLOSE_STATUS_CANCELED: _ClassVar[WorkflowExecutionCloseStatus] + WORKFLOW_EXECUTION_CLOSE_STATUS_TERMINATED: _ClassVar[WorkflowExecutionCloseStatus] + WORKFLOW_EXECUTION_CLOSE_STATUS_CONTINUED_AS_NEW: _ClassVar[WorkflowExecutionCloseStatus] + WORKFLOW_EXECUTION_CLOSE_STATUS_TIMED_OUT: _ClassVar[WorkflowExecutionCloseStatus] + +class ContinueAsNewInitiator(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = () + CONTINUE_AS_NEW_INITIATOR_INVALID: _ClassVar[ContinueAsNewInitiator] + CONTINUE_AS_NEW_INITIATOR_DECIDER: _ClassVar[ContinueAsNewInitiator] + CONTINUE_AS_NEW_INITIATOR_RETRY_POLICY: _ClassVar[ContinueAsNewInitiator] + CONTINUE_AS_NEW_INITIATOR_CRON_SCHEDULE: _ClassVar[ContinueAsNewInitiator] + +class TimeoutType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = () + TIMEOUT_TYPE_INVALID: _ClassVar[TimeoutType] + TIMEOUT_TYPE_START_TO_CLOSE: _ClassVar[TimeoutType] + TIMEOUT_TYPE_SCHEDULE_TO_START: _ClassVar[TimeoutType] + TIMEOUT_TYPE_SCHEDULE_TO_CLOSE: _ClassVar[TimeoutType] + TIMEOUT_TYPE_HEARTBEAT: _ClassVar[TimeoutType] + +class DecisionTaskTimedOutCause(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = () + DECISION_TASK_TIMED_OUT_CAUSE_INVALID: _ClassVar[DecisionTaskTimedOutCause] + DECISION_TASK_TIMED_OUT_CAUSE_TIMEOUT: _ClassVar[DecisionTaskTimedOutCause] + DECISION_TASK_TIMED_OUT_CAUSE_RESET: _ClassVar[DecisionTaskTimedOutCause] + +class DecisionTaskFailedCause(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = () + DECISION_TASK_FAILED_CAUSE_INVALID: _ClassVar[DecisionTaskFailedCause] + DECISION_TASK_FAILED_CAUSE_UNHANDLED_DECISION: _ClassVar[DecisionTaskFailedCause] + DECISION_TASK_FAILED_CAUSE_BAD_SCHEDULE_ACTIVITY_ATTRIBUTES: _ClassVar[DecisionTaskFailedCause] + DECISION_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_ACTIVITY_ATTRIBUTES: _ClassVar[DecisionTaskFailedCause] + DECISION_TASK_FAILED_CAUSE_BAD_START_TIMER_ATTRIBUTES: _ClassVar[DecisionTaskFailedCause] + DECISION_TASK_FAILED_CAUSE_BAD_CANCEL_TIMER_ATTRIBUTES: _ClassVar[DecisionTaskFailedCause] + DECISION_TASK_FAILED_CAUSE_BAD_RECORD_MARKER_ATTRIBUTES: _ClassVar[DecisionTaskFailedCause] + DECISION_TASK_FAILED_CAUSE_BAD_COMPLETE_WORKFLOW_EXECUTION_ATTRIBUTES: _ClassVar[DecisionTaskFailedCause] + DECISION_TASK_FAILED_CAUSE_BAD_FAIL_WORKFLOW_EXECUTION_ATTRIBUTES: _ClassVar[DecisionTaskFailedCause] + DECISION_TASK_FAILED_CAUSE_BAD_CANCEL_WORKFLOW_EXECUTION_ATTRIBUTES: _ClassVar[DecisionTaskFailedCause] + DECISION_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_ATTRIBUTES: _ClassVar[DecisionTaskFailedCause] + DECISION_TASK_FAILED_CAUSE_BAD_CONTINUE_AS_NEW_ATTRIBUTES: _ClassVar[DecisionTaskFailedCause] + DECISION_TASK_FAILED_CAUSE_START_TIMER_DUPLICATE_ID: _ClassVar[DecisionTaskFailedCause] + DECISION_TASK_FAILED_CAUSE_RESET_STICKY_TASK_LIST: _ClassVar[DecisionTaskFailedCause] + DECISION_TASK_FAILED_CAUSE_WORKFLOW_WORKER_UNHANDLED_FAILURE: _ClassVar[DecisionTaskFailedCause] + DECISION_TASK_FAILED_CAUSE_BAD_SIGNAL_WORKFLOW_EXECUTION_ATTRIBUTES: _ClassVar[DecisionTaskFailedCause] + DECISION_TASK_FAILED_CAUSE_BAD_START_CHILD_EXECUTION_ATTRIBUTES: _ClassVar[DecisionTaskFailedCause] + DECISION_TASK_FAILED_CAUSE_FORCE_CLOSE_DECISION: _ClassVar[DecisionTaskFailedCause] + DECISION_TASK_FAILED_CAUSE_FAILOVER_CLOSE_DECISION: _ClassVar[DecisionTaskFailedCause] + DECISION_TASK_FAILED_CAUSE_BAD_SIGNAL_INPUT_SIZE: _ClassVar[DecisionTaskFailedCause] + DECISION_TASK_FAILED_CAUSE_RESET_WORKFLOW: _ClassVar[DecisionTaskFailedCause] + DECISION_TASK_FAILED_CAUSE_BAD_BINARY: _ClassVar[DecisionTaskFailedCause] + DECISION_TASK_FAILED_CAUSE_SCHEDULE_ACTIVITY_DUPLICATE_ID: _ClassVar[DecisionTaskFailedCause] + DECISION_TASK_FAILED_CAUSE_BAD_SEARCH_ATTRIBUTES: _ClassVar[DecisionTaskFailedCause] + +class ChildWorkflowExecutionFailedCause(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = () + CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_INVALID: _ClassVar[ChildWorkflowExecutionFailedCause] + CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_RUNNING: _ClassVar[ChildWorkflowExecutionFailedCause] + +class CancelExternalWorkflowExecutionFailedCause(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = () + CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_INVALID: _ClassVar[CancelExternalWorkflowExecutionFailedCause] + CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION: _ClassVar[CancelExternalWorkflowExecutionFailedCause] + CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_COMPLETED: _ClassVar[CancelExternalWorkflowExecutionFailedCause] + +class SignalExternalWorkflowExecutionFailedCause(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = () + SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_INVALID: _ClassVar[SignalExternalWorkflowExecutionFailedCause] + SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION: _ClassVar[SignalExternalWorkflowExecutionFailedCause] + SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_COMPLETED: _ClassVar[SignalExternalWorkflowExecutionFailedCause] +PENDING_ACTIVITY_STATE_INVALID: PendingActivityState +PENDING_ACTIVITY_STATE_SCHEDULED: PendingActivityState +PENDING_ACTIVITY_STATE_STARTED: PendingActivityState +PENDING_ACTIVITY_STATE_CANCEL_REQUESTED: PendingActivityState +PENDING_DECISION_STATE_INVALID: PendingDecisionState +PENDING_DECISION_STATE_SCHEDULED: PendingDecisionState +PENDING_DECISION_STATE_STARTED: PendingDecisionState +WORKFLOW_ID_REUSE_POLICY_INVALID: WorkflowIdReusePolicy +WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY: WorkflowIdReusePolicy +WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE: WorkflowIdReusePolicy +WORKFLOW_ID_REUSE_POLICY_REJECT_DUPLICATE: WorkflowIdReusePolicy +WORKFLOW_ID_REUSE_POLICY_TERMINATE_IF_RUNNING: WorkflowIdReusePolicy +CRON_OVERLAP_POLICY_INVALID: CronOverlapPolicy +CRON_OVERLAP_POLICY_SKIPPED: CronOverlapPolicy +CRON_OVERLAP_POLICY_BUFFER_ONE: CronOverlapPolicy +PARENT_CLOSE_POLICY_INVALID: ParentClosePolicy +PARENT_CLOSE_POLICY_ABANDON: ParentClosePolicy +PARENT_CLOSE_POLICY_REQUEST_CANCEL: ParentClosePolicy +PARENT_CLOSE_POLICY_TERMINATE: ParentClosePolicy +WORKFLOW_EXECUTION_CLOSE_STATUS_INVALID: WorkflowExecutionCloseStatus +WORKFLOW_EXECUTION_CLOSE_STATUS_COMPLETED: WorkflowExecutionCloseStatus +WORKFLOW_EXECUTION_CLOSE_STATUS_FAILED: WorkflowExecutionCloseStatus +WORKFLOW_EXECUTION_CLOSE_STATUS_CANCELED: WorkflowExecutionCloseStatus +WORKFLOW_EXECUTION_CLOSE_STATUS_TERMINATED: WorkflowExecutionCloseStatus +WORKFLOW_EXECUTION_CLOSE_STATUS_CONTINUED_AS_NEW: WorkflowExecutionCloseStatus +WORKFLOW_EXECUTION_CLOSE_STATUS_TIMED_OUT: WorkflowExecutionCloseStatus +CONTINUE_AS_NEW_INITIATOR_INVALID: ContinueAsNewInitiator +CONTINUE_AS_NEW_INITIATOR_DECIDER: ContinueAsNewInitiator +CONTINUE_AS_NEW_INITIATOR_RETRY_POLICY: ContinueAsNewInitiator +CONTINUE_AS_NEW_INITIATOR_CRON_SCHEDULE: ContinueAsNewInitiator +TIMEOUT_TYPE_INVALID: TimeoutType +TIMEOUT_TYPE_START_TO_CLOSE: TimeoutType +TIMEOUT_TYPE_SCHEDULE_TO_START: TimeoutType +TIMEOUT_TYPE_SCHEDULE_TO_CLOSE: TimeoutType +TIMEOUT_TYPE_HEARTBEAT: TimeoutType +DECISION_TASK_TIMED_OUT_CAUSE_INVALID: DecisionTaskTimedOutCause +DECISION_TASK_TIMED_OUT_CAUSE_TIMEOUT: DecisionTaskTimedOutCause +DECISION_TASK_TIMED_OUT_CAUSE_RESET: DecisionTaskTimedOutCause +DECISION_TASK_FAILED_CAUSE_INVALID: DecisionTaskFailedCause +DECISION_TASK_FAILED_CAUSE_UNHANDLED_DECISION: DecisionTaskFailedCause +DECISION_TASK_FAILED_CAUSE_BAD_SCHEDULE_ACTIVITY_ATTRIBUTES: DecisionTaskFailedCause +DECISION_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_ACTIVITY_ATTRIBUTES: DecisionTaskFailedCause +DECISION_TASK_FAILED_CAUSE_BAD_START_TIMER_ATTRIBUTES: DecisionTaskFailedCause +DECISION_TASK_FAILED_CAUSE_BAD_CANCEL_TIMER_ATTRIBUTES: DecisionTaskFailedCause +DECISION_TASK_FAILED_CAUSE_BAD_RECORD_MARKER_ATTRIBUTES: DecisionTaskFailedCause +DECISION_TASK_FAILED_CAUSE_BAD_COMPLETE_WORKFLOW_EXECUTION_ATTRIBUTES: DecisionTaskFailedCause +DECISION_TASK_FAILED_CAUSE_BAD_FAIL_WORKFLOW_EXECUTION_ATTRIBUTES: DecisionTaskFailedCause +DECISION_TASK_FAILED_CAUSE_BAD_CANCEL_WORKFLOW_EXECUTION_ATTRIBUTES: DecisionTaskFailedCause +DECISION_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_ATTRIBUTES: DecisionTaskFailedCause +DECISION_TASK_FAILED_CAUSE_BAD_CONTINUE_AS_NEW_ATTRIBUTES: DecisionTaskFailedCause +DECISION_TASK_FAILED_CAUSE_START_TIMER_DUPLICATE_ID: DecisionTaskFailedCause +DECISION_TASK_FAILED_CAUSE_RESET_STICKY_TASK_LIST: DecisionTaskFailedCause +DECISION_TASK_FAILED_CAUSE_WORKFLOW_WORKER_UNHANDLED_FAILURE: DecisionTaskFailedCause +DECISION_TASK_FAILED_CAUSE_BAD_SIGNAL_WORKFLOW_EXECUTION_ATTRIBUTES: DecisionTaskFailedCause +DECISION_TASK_FAILED_CAUSE_BAD_START_CHILD_EXECUTION_ATTRIBUTES: DecisionTaskFailedCause +DECISION_TASK_FAILED_CAUSE_FORCE_CLOSE_DECISION: DecisionTaskFailedCause +DECISION_TASK_FAILED_CAUSE_FAILOVER_CLOSE_DECISION: DecisionTaskFailedCause +DECISION_TASK_FAILED_CAUSE_BAD_SIGNAL_INPUT_SIZE: DecisionTaskFailedCause +DECISION_TASK_FAILED_CAUSE_RESET_WORKFLOW: DecisionTaskFailedCause +DECISION_TASK_FAILED_CAUSE_BAD_BINARY: DecisionTaskFailedCause +DECISION_TASK_FAILED_CAUSE_SCHEDULE_ACTIVITY_DUPLICATE_ID: DecisionTaskFailedCause +DECISION_TASK_FAILED_CAUSE_BAD_SEARCH_ATTRIBUTES: DecisionTaskFailedCause +CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_INVALID: ChildWorkflowExecutionFailedCause +CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_RUNNING: ChildWorkflowExecutionFailedCause +CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_INVALID: CancelExternalWorkflowExecutionFailedCause +CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION: CancelExternalWorkflowExecutionFailedCause +CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_COMPLETED: CancelExternalWorkflowExecutionFailedCause +SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_INVALID: SignalExternalWorkflowExecutionFailedCause +SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION: SignalExternalWorkflowExecutionFailedCause +SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_COMPLETED: SignalExternalWorkflowExecutionFailedCause + +class WorkflowExecutionInfo(_message.Message): + __slots__ = ("workflow_execution", "type", "start_time", "close_time", "close_status", "history_length", "parent_execution_info", "execution_time", "memo", "search_attributes", "auto_reset_points", "task_list", "task_list_info", "is_cron", "update_time", "partition_config", "cron_overlap_policy", "active_cluster_selection_policy") + class PartitionConfigEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: str + def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ... + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + TYPE_FIELD_NUMBER: _ClassVar[int] + START_TIME_FIELD_NUMBER: _ClassVar[int] + CLOSE_TIME_FIELD_NUMBER: _ClassVar[int] + CLOSE_STATUS_FIELD_NUMBER: _ClassVar[int] + HISTORY_LENGTH_FIELD_NUMBER: _ClassVar[int] + PARENT_EXECUTION_INFO_FIELD_NUMBER: _ClassVar[int] + EXECUTION_TIME_FIELD_NUMBER: _ClassVar[int] + MEMO_FIELD_NUMBER: _ClassVar[int] + SEARCH_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + AUTO_RESET_POINTS_FIELD_NUMBER: _ClassVar[int] + TASK_LIST_FIELD_NUMBER: _ClassVar[int] + TASK_LIST_INFO_FIELD_NUMBER: _ClassVar[int] + IS_CRON_FIELD_NUMBER: _ClassVar[int] + UPDATE_TIME_FIELD_NUMBER: _ClassVar[int] + PARTITION_CONFIG_FIELD_NUMBER: _ClassVar[int] + CRON_OVERLAP_POLICY_FIELD_NUMBER: _ClassVar[int] + ACTIVE_CLUSTER_SELECTION_POLICY_FIELD_NUMBER: _ClassVar[int] + workflow_execution: _common_pb2.WorkflowExecution + type: _common_pb2.WorkflowType + start_time: _timestamp_pb2.Timestamp + close_time: _timestamp_pb2.Timestamp + close_status: WorkflowExecutionCloseStatus + history_length: int + parent_execution_info: ParentExecutionInfo + execution_time: _timestamp_pb2.Timestamp + memo: _common_pb2.Memo + search_attributes: _common_pb2.SearchAttributes + auto_reset_points: ResetPoints + task_list: str + task_list_info: _tasklist_pb2.TaskList + is_cron: bool + update_time: _timestamp_pb2.Timestamp + partition_config: _containers.ScalarMap[str, str] + cron_overlap_policy: CronOverlapPolicy + active_cluster_selection_policy: _common_pb2.ActiveClusterSelectionPolicy + def __init__(self, workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., type: _Optional[_Union[_common_pb2.WorkflowType, _Mapping]] = ..., start_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., close_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., close_status: _Optional[_Union[WorkflowExecutionCloseStatus, str]] = ..., history_length: _Optional[int] = ..., parent_execution_info: _Optional[_Union[ParentExecutionInfo, _Mapping]] = ..., execution_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., memo: _Optional[_Union[_common_pb2.Memo, _Mapping]] = ..., search_attributes: _Optional[_Union[_common_pb2.SearchAttributes, _Mapping]] = ..., auto_reset_points: _Optional[_Union[ResetPoints, _Mapping]] = ..., task_list: _Optional[str] = ..., task_list_info: _Optional[_Union[_tasklist_pb2.TaskList, _Mapping]] = ..., is_cron: bool = ..., update_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., partition_config: _Optional[_Mapping[str, str]] = ..., cron_overlap_policy: _Optional[_Union[CronOverlapPolicy, str]] = ..., active_cluster_selection_policy: _Optional[_Union[_common_pb2.ActiveClusterSelectionPolicy, _Mapping]] = ...) -> None: ... + +class WorkflowExecutionConfiguration(_message.Message): + __slots__ = ("task_list", "execution_start_to_close_timeout", "task_start_to_close_timeout") + TASK_LIST_FIELD_NUMBER: _ClassVar[int] + EXECUTION_START_TO_CLOSE_TIMEOUT_FIELD_NUMBER: _ClassVar[int] + TASK_START_TO_CLOSE_TIMEOUT_FIELD_NUMBER: _ClassVar[int] + task_list: _tasklist_pb2.TaskList + execution_start_to_close_timeout: _duration_pb2.Duration + task_start_to_close_timeout: _duration_pb2.Duration + def __init__(self, task_list: _Optional[_Union[_tasklist_pb2.TaskList, _Mapping]] = ..., execution_start_to_close_timeout: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., task_start_to_close_timeout: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ...) -> None: ... + +class ParentExecutionInfo(_message.Message): + __slots__ = ("domain_id", "domain_name", "workflow_execution", "initiated_id") + DOMAIN_ID_FIELD_NUMBER: _ClassVar[int] + DOMAIN_NAME_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + INITIATED_ID_FIELD_NUMBER: _ClassVar[int] + domain_id: str + domain_name: str + workflow_execution: _common_pb2.WorkflowExecution + initiated_id: int + def __init__(self, domain_id: _Optional[str] = ..., domain_name: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., initiated_id: _Optional[int] = ...) -> None: ... + +class ExternalExecutionInfo(_message.Message): + __slots__ = ("workflow_execution", "initiated_id") + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + INITIATED_ID_FIELD_NUMBER: _ClassVar[int] + workflow_execution: _common_pb2.WorkflowExecution + initiated_id: int + def __init__(self, workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., initiated_id: _Optional[int] = ...) -> None: ... + +class PendingActivityInfo(_message.Message): + __slots__ = ("activity_id", "activity_type", "state", "heartbeat_details", "last_heartbeat_time", "last_started_time", "attempt", "maximum_attempts", "scheduled_time", "expiration_time", "last_failure", "last_worker_identity", "started_worker_identity", "schedule_id") + ACTIVITY_ID_FIELD_NUMBER: _ClassVar[int] + ACTIVITY_TYPE_FIELD_NUMBER: _ClassVar[int] + STATE_FIELD_NUMBER: _ClassVar[int] + HEARTBEAT_DETAILS_FIELD_NUMBER: _ClassVar[int] + LAST_HEARTBEAT_TIME_FIELD_NUMBER: _ClassVar[int] + LAST_STARTED_TIME_FIELD_NUMBER: _ClassVar[int] + ATTEMPT_FIELD_NUMBER: _ClassVar[int] + MAXIMUM_ATTEMPTS_FIELD_NUMBER: _ClassVar[int] + SCHEDULED_TIME_FIELD_NUMBER: _ClassVar[int] + EXPIRATION_TIME_FIELD_NUMBER: _ClassVar[int] + LAST_FAILURE_FIELD_NUMBER: _ClassVar[int] + LAST_WORKER_IDENTITY_FIELD_NUMBER: _ClassVar[int] + STARTED_WORKER_IDENTITY_FIELD_NUMBER: _ClassVar[int] + SCHEDULE_ID_FIELD_NUMBER: _ClassVar[int] + activity_id: str + activity_type: _common_pb2.ActivityType + state: PendingActivityState + heartbeat_details: _common_pb2.Payload + last_heartbeat_time: _timestamp_pb2.Timestamp + last_started_time: _timestamp_pb2.Timestamp + attempt: int + maximum_attempts: int + scheduled_time: _timestamp_pb2.Timestamp + expiration_time: _timestamp_pb2.Timestamp + last_failure: _common_pb2.Failure + last_worker_identity: str + started_worker_identity: str + schedule_id: int + def __init__(self, activity_id: _Optional[str] = ..., activity_type: _Optional[_Union[_common_pb2.ActivityType, _Mapping]] = ..., state: _Optional[_Union[PendingActivityState, str]] = ..., heartbeat_details: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., last_heartbeat_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., last_started_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., attempt: _Optional[int] = ..., maximum_attempts: _Optional[int] = ..., scheduled_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., expiration_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., last_failure: _Optional[_Union[_common_pb2.Failure, _Mapping]] = ..., last_worker_identity: _Optional[str] = ..., started_worker_identity: _Optional[str] = ..., schedule_id: _Optional[int] = ...) -> None: ... + +class PendingChildExecutionInfo(_message.Message): + __slots__ = ("workflow_execution", "workflow_type_name", "initiated_id", "parent_close_policy", "domain") + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_TYPE_NAME_FIELD_NUMBER: _ClassVar[int] + INITIATED_ID_FIELD_NUMBER: _ClassVar[int] + PARENT_CLOSE_POLICY_FIELD_NUMBER: _ClassVar[int] + DOMAIN_FIELD_NUMBER: _ClassVar[int] + workflow_execution: _common_pb2.WorkflowExecution + workflow_type_name: str + initiated_id: int + parent_close_policy: ParentClosePolicy + domain: str + def __init__(self, workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., workflow_type_name: _Optional[str] = ..., initiated_id: _Optional[int] = ..., parent_close_policy: _Optional[_Union[ParentClosePolicy, str]] = ..., domain: _Optional[str] = ...) -> None: ... + +class PendingDecisionInfo(_message.Message): + __slots__ = ("state", "scheduled_time", "started_time", "attempt", "original_scheduled_time", "schedule_id") + STATE_FIELD_NUMBER: _ClassVar[int] + SCHEDULED_TIME_FIELD_NUMBER: _ClassVar[int] + STARTED_TIME_FIELD_NUMBER: _ClassVar[int] + ATTEMPT_FIELD_NUMBER: _ClassVar[int] + ORIGINAL_SCHEDULED_TIME_FIELD_NUMBER: _ClassVar[int] + SCHEDULE_ID_FIELD_NUMBER: _ClassVar[int] + state: PendingDecisionState + scheduled_time: _timestamp_pb2.Timestamp + started_time: _timestamp_pb2.Timestamp + attempt: int + original_scheduled_time: _timestamp_pb2.Timestamp + schedule_id: int + def __init__(self, state: _Optional[_Union[PendingDecisionState, str]] = ..., scheduled_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., started_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., attempt: _Optional[int] = ..., original_scheduled_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., schedule_id: _Optional[int] = ...) -> None: ... + +class ActivityLocalDispatchInfo(_message.Message): + __slots__ = ("activity_id", "scheduled_time", "started_time", "scheduled_time_of_this_attempt", "task_token") + ACTIVITY_ID_FIELD_NUMBER: _ClassVar[int] + SCHEDULED_TIME_FIELD_NUMBER: _ClassVar[int] + STARTED_TIME_FIELD_NUMBER: _ClassVar[int] + SCHEDULED_TIME_OF_THIS_ATTEMPT_FIELD_NUMBER: _ClassVar[int] + TASK_TOKEN_FIELD_NUMBER: _ClassVar[int] + activity_id: str + scheduled_time: _timestamp_pb2.Timestamp + started_time: _timestamp_pb2.Timestamp + scheduled_time_of_this_attempt: _timestamp_pb2.Timestamp + task_token: bytes + def __init__(self, activity_id: _Optional[str] = ..., scheduled_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., started_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., scheduled_time_of_this_attempt: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., task_token: _Optional[bytes] = ...) -> None: ... + +class ResetPoints(_message.Message): + __slots__ = ("points",) + POINTS_FIELD_NUMBER: _ClassVar[int] + points: _containers.RepeatedCompositeFieldContainer[ResetPointInfo] + def __init__(self, points: _Optional[_Iterable[_Union[ResetPointInfo, _Mapping]]] = ...) -> None: ... + +class ResetPointInfo(_message.Message): + __slots__ = ("binary_checksum", "run_id", "first_decision_completed_id", "created_time", "expiring_time", "resettable") + BINARY_CHECKSUM_FIELD_NUMBER: _ClassVar[int] + RUN_ID_FIELD_NUMBER: _ClassVar[int] + FIRST_DECISION_COMPLETED_ID_FIELD_NUMBER: _ClassVar[int] + CREATED_TIME_FIELD_NUMBER: _ClassVar[int] + EXPIRING_TIME_FIELD_NUMBER: _ClassVar[int] + RESETTABLE_FIELD_NUMBER: _ClassVar[int] + binary_checksum: str + run_id: str + first_decision_completed_id: int + created_time: _timestamp_pb2.Timestamp + expiring_time: _timestamp_pb2.Timestamp + resettable: bool + def __init__(self, binary_checksum: _Optional[str] = ..., run_id: _Optional[str] = ..., first_decision_completed_id: _Optional[int] = ..., created_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., expiring_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., resettable: bool = ...) -> None: ...